1 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3 * shell/ev-window.c: (ev_window_cmd_escape):
5 Return focus back to view on escape. Fix for bug 313295.
7 2005-08-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
9 * shell/ev-window.c: (update_window_title),
10 (ev_window_popup_password_dialog), (ev_window_load_job_cb),
11 (ev_window_cmd_save_as):
13 Correct conversion from uri to displayable string. Fix for
16 2005-08-16 Carlos Garcia Campos <carlosgc@gnome.org>
18 * ps/ps-document.c: convert filename to utf8 when there is an error
19 loading document. Fixes #309915
21 2005-08-16 Marco Pesenti Gritti <mpg@redhat.com>
25 We depend on poppler 0.4.0
27 Mon Aug 15 21:53:05 2005 Jonathan Blandford <jrb@redhat.com>
30 * NEWS: Release 0.3.3.
31 * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
33 2005-08-14 Dennis Cranston <dennis_cranston@yahoo.com>
35 * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:
36 add a couple missing mnemonics to menu items, use title
37 capitalization for menu items and window titles, and add
38 ellipsis to open menu item.
40 Mon Aug 15 00:40:21 2005 Jonathan Blandford <jrb@redhat.com>
43 * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
44 * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
45 (ev_view_get_rotation):
47 * shell/ev-window.c: (setup_view_from_metadata),
48 (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
49 (ev_window_cmd_edit_rotate_right): Fix rotation. Save it to
52 2005-08-14 Baris Cicek <baris@teamforce.name.tr>
54 * configure.ac: Added tr to ALL_LINGUAS
56 2005-08-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
58 * shell/ev-view.c: Fix for bug Bug 311838. Search backward
59 requires several clicks to find word. Thanks to
60 Colin Slater <kiltedtaco@gmail.com>.
62 2005-08-11 Bryan Clark <clarkbw@cvs.gnome.org>
64 * data/evince.desktop.in.in: Hide menu entry and
65 rename it to "Document Viewer". Fix for bug
68 2005-08-11 Crispin Flowerday <gnome@flowerday.cx>
70 * shell/ev-page-action.c (ev_page_action_class_init):
72 Point to the correct function in constructor of the
75 Tue Aug 9 02:17:13 2005 Jonathan Blandford <jrb@redhat.com>
77 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
78 * shell/ev-jobs.h: Make thread safe.
80 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
82 * shell/ev-view.c: (view_update_range_and_current_page):
83 Don't update page range if we are scrolling to some document
86 2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
88 * shell/ev-view.c: (get_page_extents): reverse rotation/scale
89 when getting max_page_width, fix drawing in dual mode.
91 Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com>
93 * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
94 getting the area for select_all.
96 2005-08-06 Kristian Høgsberg <krh@redhat.com>
98 * backend/ev-selection.c: (ev_selection_render_selection):
99 * backend/ev-selection.h:
101 * shell/ev-jobs.c: (ev_job_render_new):
103 * shell/ev-pixbuf-cache.c: (get_selection_colors),
104 (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
105 * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
106 (ev_view_class_init):
108 Change selection color on focus in and focus out events. Also,
109 poppler now uses GdkColor for specifying the selection colors, so
110 drop some awkward conversion code.
112 2005-08-06 Yair Hershkovitz <yairhr@gmail.com>
114 * configure.ac: Added Hebrew translation
116 Sat Aug 6 01:12:44 2005 Jonathan Blandford <jrb@redhat.com>
119 * backend/ev-selection.c: (ev_selection_render_selection):
120 * backend/ev-selection.h:
122 * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
125 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
126 (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
127 (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
128 (ev_pixbuf_cache_style_changed),
129 (ev_pixbuf_cache_get_selection_pixbuf),
130 (ev_pixbuf_cache_set_selection_list),
131 (ev_pixbuf_cache_get_selection_list):
132 * shell/ev-pixbuf-cache.h:
133 * shell/ev-utils.c: (ev_print_region_contents):
135 * shell/ev-view.c: (ev_view_queue_draw_page),
136 (selection_update_idle_cb), (ev_view_motion_notify_event),
137 (ev_view_style_set), (draw_one_page), (ev_view_class_init),
138 (setup_caches), (ev_view_find_next), (merge_selection_region),
140 * shell/ev-window.c: (ev_window_update_fullscreen_popup):
142 Clean up selection to be much smoother!
144 2005-08-05 Kristian Høgsberg <krh@redhat.com>
146 * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
147 to poppler_page_render_selection().
149 2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
151 * ps/ps-document.c: (save_page_list): Use
152 unzipped document when printing. Thanks to
153 Colin Slater <kiltedtaco@gmail.com>. Fix for bug
156 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
158 * shell/ev-window.c: (update_action_sensitivity):
160 Disable print and save respect to lockdown gconf keys. Fix
163 2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
166 * shell/ev-utils.c: (rename_file), (set_umask_permissions),
167 (write_to_temp_file), (ev_file_set_contents):
169 * shell/ev-window.c: (save_print_config_to_file):
171 Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
174 2005-07-31 Christian Persch <chpe@cvs.gnome.org>
176 * shell/ev-window.c: (load_print_config_from_file),
177 (save_print_config_to_file), (ev_window_print_range):
179 Persist the print settings. Fixes bug #311578.
181 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
183 * djvu/djvu-document.c: (djvu_document_get_page_size),
184 (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
185 (djvu_document_thumbnails_get_thumbnail):
186 * dvi/dvi-document.c: (dvi_document_get_page_size),
187 (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
188 (dvi_document_thumbnails_get_dimensions),
189 (dvi_document_thumbnails_get_thumbnail):
190 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
191 (pixbuf_document_render_pixbuf),
192 (pixbuf_document_document_iface_init),
193 (pixbuf_document_thumbnails_get_thumbnail):
195 Update backends to make them build with new rotation system.
197 2005-07-31 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
199 * help/C/figures/evince_start_window.png:
201 Update documentation image from Luca Ferretti <elle.uca@libero.it>
203 Sat Jul 30 19:09:34 2005 Jonathan Blandford <jrb@redhat.com>
205 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
206 * shell/ev-pixbuf-cache.h:
207 * shell/ev-sidebar-thumbnails.c:
208 (ev_sidebar_thumbnails_get_property), (add_range),
209 (adjustment_changed_cb):
210 * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
211 pixbuf cache. Make thumbnailing work again. Also, fix bug where
212 we were thumbnailing the entire docment on startup, slowing us
215 Fri Jul 29 23:14:28 2005 Jonathan Blandford <jrb@redhat.com>
217 * shell/ev-page-cache.c: (ev_page_cache_new):
218 * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
221 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
223 * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
224 (ev_view_rotate_left):
226 Account rotation in doc_rect_to_view_rect.
227 Ensure rotation doesnt go out of bounds.
229 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
231 * shell/ev-page-cache.c: (ev_page_cache_get_size):
233 Correct and cleanup w/h swapping
235 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
237 * backend/ev-document-thumbnails.c:
238 (ev_document_thumbnails_get_thumbnail):
239 * backend/ev-document-thumbnails.h:
240 * backend/ev-document.c:
241 * backend/ev-document.h:
242 * backend/ev-render-context.c: (ev_render_context_new),
243 (ev_render_context_set_rotation):
244 * backend/ev-render-context.h:
246 * ps/ps-document.c: (ps_document_document_iface_init):
247 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
249 * shell/ev-page-cache.c: (build_height_to_page),
250 (ev_page_cache_new), (ev_page_cache_get_size),
251 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
252 (ev_page_cache_get_height_to_page):
253 * shell/ev-page-cache.h:
254 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
255 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
256 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
257 (ev_pixbuf_cache_get_selection_pixbuf):
258 * shell/ev-pixbuf-cache.h:
259 * shell/ev-print-job.c: (idle_print_handler):
260 * shell/ev-sidebar-thumbnails.c: (add_range):
261 * shell/ev-view.c: (view_update_range_and_current_page),
262 (get_page_y_offset), (get_page_extents),
263 (ev_view_size_request_continuous_dual_page),
264 (ev_view_size_request_continuous),
265 (ev_view_size_request_dual_page),
266 (ev_view_size_request_single_page), (draw_one_page),
267 (ev_view_set_rotation), (ev_view_rotate_right),
268 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
269 (ev_view_zoom_for_size_continuous_and_dual_page),
270 (ev_view_zoom_for_size_continuous),
271 (ev_view_zoom_for_size_dual_page),
272 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
273 (ev_view_select_all):
274 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
275 * tiff/tiff-document.c: (tiff_document_render_pixbuf),
276 (tiff_document_document_iface_init),
277 (tiff_document_thumbnails_get_thumbnail):
279 Use rotation rather than orientation. It's easier and enough
282 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
284 * shell/ev-page-cache.c: (build_height_to_page),
285 (ev_page_cache_new), (ev_page_cache_get_size),
286 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
287 (ev_page_cache_get_height_to_page):
288 * shell/ev-page-cache.h:
289 * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
290 (ev_view_size_request_continuous_dual_page),
291 (ev_view_size_request_continuous),
292 (ev_view_zoom_for_size_continuous_and_dual_page),
293 (ev_view_zoom_for_size_continuous):
295 Make the page cache aware of page orientation.
297 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
299 * backend/ev-document-thumbnails.c:
300 (ev_document_thumbnails_get_thumbnail):
301 * backend/ev-document-thumbnails.h:
302 * backend/ev-document.c:
303 * backend/ev-document.h:
304 * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
305 * backend/ev-ps-exporter.h:
307 * ps/ps-document.c: (ps_document_document_iface_init),
308 (ps_document_ps_export_do_page):
309 * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
311 * shell/ev-page-cache.c: (ev_page_cache_get_size),
313 * shell/ev-page-cache.h:
314 * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
315 (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
316 (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
317 * shell/ev-pixbuf-cache.h:
318 * shell/ev-print-job.c: (idle_print_handler):
319 * shell/ev-sidebar-thumbnails.c: (add_range):
320 * shell/ev-view.c: (view_update_range_and_current_page),
321 (get_page_extents), (ev_view_size_request_dual_page),
322 (ev_view_size_request_single_page), (draw_one_page),
323 (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
324 (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
325 (ev_view_zoom_for_size_dual_page),
326 (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
327 (ev_view_select_all):
328 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
329 * tiff/tiff-document.c: (tiff_document_get_page_size),
330 (tiff_document_get_orientation), (rotate_pixbuf),
331 (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
332 (tiff_document_thumbnails_get_thumbnail),
333 (tiff_document_ps_export_do_page), (tiff_document_init):
335 Really make use of the orientation bit of the render context.
336 Use the render context in a few more places in the backend API.
337 This regress orientation, but now it's done right. Will try to
340 2005-07-29 Marco Pesenti Gritti <mpg@redhat.com>
342 * shell/ev-view.c: (ensure_rectangle_is_visible):
344 Patch by Nickolay V. Shmyrev to fix find flickering
346 2005-07-27 Martin Kretzschmar <martink@gnome.org>
348 * backend/ev-ps-exporter.h: add paper_width, paper_height, and
349 duplex parameters to ::begin.
351 * tiff/tiff-document.c (tiff_document_ps_export_begin):
352 * shell/ev-print-job.c (idle_print_handler):
353 * ps/ps-document.c (ps_document_ps_export_begin):
354 * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin):
355 * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
356 implementations. Poppler backend needs poppler cvs. Rest has
359 2005-07-25 Martin Kretzschmar <martink@gnome.org>
361 * shell/ev-window.c (using_pdf_printer): new function.
362 (ev_window_print_range): print a less techy message if someone
363 tries to print to PDF.
365 2005-07-25 Martin Kretzschmar <martink@gnome.org>
367 * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
368 from "unknown font" string. Bug #311431
370 2005-07-24 Martin Kretzschmar <martink@gnome.org>
372 * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
374 2005-07-24 Martin Kretzschmar <martink@gnome.org>
378 * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
379 name for PopplerFontTypes
380 (pdf_document_fonts_fill_model): add font type to the detail column
382 * backend/ev-document-fonts.h: added
383 EV_DOCUMENT_FONTS_COLUMN_DETAILS.
385 * shell/ev-properties-fonts.c (font_cell_data_func): glue together
386 font name and font details, add a little markup.
387 (ev_properties_fonts_init): use the new cell data func, specify ypad
388 property for the cell renderer.
389 (ev_properties_fonts_set_document): add the details column.
391 2005-07-24 Artur Flinta <aflinta@cvs.gnome.org>
393 * configure.ac: Added "pl" to ALL_LINGUAS.
395 2005-07-24 Danilo Šegan <danilo@gnome.org>
397 * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
399 2005-07-23 Tommi Vainikainen <thv@iki.fi>
401 * help/ChangeLog: Started this for translations of manual.
402 * configure.ac, autogen.sh, .cvsignore: Migrated to
403 gnome-doc-utils. Patch in bug #311222.
405 2005-07-22 Martin Kretzschmar <martink@gnome.org>
407 * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf):
408 #ifdef this away to fix an unused-function warning.
410 2005-07-22 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
412 * configure.ac: Added 'gl' to ALL_LINGUAS.
414 2005-07-22 Pawan Chitrakar <pawan@nplinux.org>
416 * configure.ac: Added ne in ALL_LINGUAS
418 2005-07-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
420 * shell/ev-view.c: (ev_view_leave_notify_event):
422 Clear status message when pointer leaves view. Fix for bug
425 2005-07-20 Ankit Patel <ankit644@yahoo.com>
427 * configure.ac: Gujarati (gu) added to ALL_LINGUAS
429 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
431 * shell/ev-view.c: (ev_view_leave_notify_event),
432 (ev_view_class_init):
434 Set cursor to normal then leaving view.
436 2005-07-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
440 Fix required djvulibre version.
442 2005-07-15 Rajesh Ranjan <rajeshkajha@yahoo.com>
444 *configure.ac: Hindi (hi) language added
446 2005-07-15 Amanpreet Singh Brar <amanpreetalam@yahoo.com>
448 *configure.ac: Punjabi (pa) Language added
450 2005-07-12 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
452 * data/evince-ui.xml, shell/ev-window.c:
454 Add keypad accelerators for zooming. Fix for bug 308128.
456 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
459 * backend/Makefile.am:
460 * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
462 * shell/ev-document-types.c: (ev_document_types_add_filters):
464 Allow to enable/disable the pixbuf backend.
465 Default to off for now. If we want it enabled we should
466 really put mime types in the desktop, implement properties etc.
468 * properties/evince-properties.c:
470 Initialize error to NULL.
471 Check error is not NULL before freeing.
473 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
477 Use F5 as presentation accell
479 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
481 * shell/ev-window.c: (update_chrome_visibility),
482 (ev_window_create_fullscreen_popup), (ev_window_init):
484 Do not leak the fullscreen toolbar
486 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
488 * shell/ev-window.c: (view_actions_focus_in_cb),
489 (view_actions_focus_out_cb):
491 These has a return value! Fix totally random focus
492 issues we was seeing.
494 2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
496 * shell/main.c: (load_files_remote):
498 Allow open more than one file
500 2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
502 * shell/main.c: (load_files_remote):
504 Fix for dbus 0.33. bug #309975
506 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
508 * properties/ev-properties-main.c: (ev_properties_get_pages):
510 Actually return NULL for types we dont support
512 2005-07-08 Christian Persch <chpe@cvs.gnome.org>
518 2005-07-08 Marco Pesenti Gritti <marco@gnome.org>
520 * backend/ev-document-factory.c:
521 (ev_document_factory_get_document):
523 Do not try to create the object if type
526 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
528 * ps/ps-document.c: (ps_document_dispose),
529 (ps_async_renderer_render_pixbuf):
532 Do not leak the target window
534 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
536 * shell/ev-application.c: (ev_application_init):
538 Let tbe check file existence for us.
539 Add a comment about eggrecent mime filter.
541 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
543 * data/evince-ui.xml:
544 * shell/ev-application.c: (ev_application_shutdown),
545 (ev_application_init), (ev_application_get_toolbars_model),
546 (ev_application_get_recent_model),
547 (ev_application_save_toolbars_model):
548 * shell/ev-application.h:
549 * shell/ev-window.c: (ev_window_add_recent),
550 (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
551 (ev_window_cmd_edit_toolbar), (ev_window_dispose),
554 Use common toolbar and recent models for all windows.
555 Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
557 Thu Jul 7 23:10:01 2005 Jonathan Blandford <jrb@redhat.com>
559 * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
560 successfully check for gtk_icon_view_get_visible_range.
562 2005-07-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
567 Fix djvu and dvi backend build.
569 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
571 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
572 (new_separator_pixbuf):
576 2005-07-07 Christian Persch <chpe@cvs.gnome.org>
578 * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
580 HIGification of toolbar editor dialogue.
582 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
587 Ever build metadata manager since it's just
588 disabled at runtime now.
590 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
592 * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
593 (ev_metadata_manager_get), (ev_metadata_manager_set):
594 * shell/ev-metadata-manager.h:
596 Add an _init functions that enabled metadata management
599 * shell/ev-window.c: (page_changed_cb),
600 (setup_document_from_metadata), (ev_window_setup_document),
601 (setup_view_from_metadata), (ev_window_open_uri),
602 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
603 (ev_window_run_presentation), (ev_window_stop_presentation),
604 (save_sizing_mode), (ev_window_zoom_changed_cb),
605 (ev_window_continuous_changed_cb),
606 (ev_window_dual_mode_changed_cb), (window_state_event_cb),
607 (window_configure_event_cb):
609 Remove all ugly metadata define since we deal with it
612 * shell/main.c: (load_files_remote), (main):
614 Add support for dbus cvs head. Hopefully didnt break one
615 of the other versions now!
617 If we dont get a response from the dbus server just
618 give up with it and not enable metadata.
620 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
623 * backend/Makefile.am:
625 * cut-n-paste/recent-files/Makefile.am:
626 * cut-n-paste/toolbar-editor/Makefile.am:
627 * cut-n-paste/zoom-control/Makefile.am:
630 * pixbuf/Makefile.am:
631 * properties/Makefile.am:
634 * thumbnailer/Makefile.am:
637 Make frontends depend on just libev.
638 Rework and group CFLAGS/LIBS definitions.
641 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
645 do not unnecessarily save zoom
648 * lib/ev-file-helpers.c: (ev_dot_dir):
654 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
658 Remove unnecessary dependencies
660 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
662 * properties/Makefile.am:
663 * thumbnailer/Makefile.am:
666 Some more cleanups. Was really necessary
667 but I probably introduced bugs, feel free
670 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
672 * backend/Makefile.am:
674 * cut-n-paste/recent-files/Makefile.am:
675 * cut-n-paste/toolbar-editor/Makefile.am:
676 * cut-n-paste/zoom-control/Makefile.am:
679 * pixbuf/Makefile.am:
680 * properties/Makefile.am:
683 * thumbnailer/Makefile.am:
686 Use gnome-common macros when possible.
687 Cleanup dependencies.
688 Actually disable deprecated where possible.
690 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
693 * backend/Makefile.am:
694 * properties/Makefile.am:
696 * thumbnailer/Makefile.am:
698 This should solve the circular dep without
701 * shell/ev-window.c: (setup_view_from_metadata):
703 Never restore window size/position when the
704 window is already visible.
706 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
708 * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
710 Return a boolean from timeout func. Fix ported from gedit.
712 2005-07-07 Iñaki Larrañaga <dooteo@euskalgnu.org>
714 * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
716 2005-07-06 Carlos Garcia Campos <carlosgc@gnome.org>
718 * shell/ev-document-types.c: set "All Documents" as default filter in
721 2005-07-06 Martin Kretzschmar <martink@gnome.org>
723 * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
724 (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
725 (ev_metadata_manager_set_boolean): fix value/val thinko.
727 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
729 * shell/ev-window.c: (setup_view_from_metadata),
730 (window_state_event_cb), (window_configure_event_cb),
733 Remember window position and maximized state
735 2005-07-06 Christian Persch <chpe@cvs.gnome.org>
739 Fix DBUS configure checks.
741 * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
742 (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
743 (ev_metadata_manager_set_boolean):
747 * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
748 (ev_window_stop_fullscreen), (ev_window_run_presentation),
749 (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
750 (ev_window_continuous_changed_cb),
751 (ev_window_dual_mode_changed_cb), (ev_window_new):
753 Fix the build without DBUS.
755 2005-07-06 Marco Pesenti Gritti <mpg@redhat.com>
757 * shell/ev-metadata-manager.c: (parse_value), (save_values),
758 (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
759 (ev_metadata_manager_set_string),
760 (ev_metadata_manager_set_boolean):
761 * shell/ev-metadata-manager.h:
763 Add support for some more types
765 * shell/ev-view.c: (scroll_to_current_page),
766 (ev_view_get_continuous), (ev_view_set_continuous),
767 (ev_view_get_dual_page):
769 * shell/ev-window.c: (page_changed_cb),
770 (setup_document_from_metadata), (ev_window_setup_document),
771 (setup_view_from_metadata), (ev_window_open_uri),
772 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
773 (ev_window_run_presentation), (ev_window_stop_presentation),
774 (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
775 (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
776 (ev_window_update_dual_page_action),
777 (ev_window_continuous_changed_cb),
778 (ev_window_dual_mode_changed_cb), (ev_window_init):
780 Remember a bunch of view/document properties. Prolly some
781 are still missing but it's getting interesting.
783 2005-07-05 Martin Kretzschmar <martink@gnome.org>
785 * configure.ac: check if dbus-binding-tool is installed. Not the
786 case on current Ubuntu breezy, it seems.
788 2005-07-05 Luca Ferretti <elle.uca@libero.it>
790 * data/evince.desktop.in.in:
792 Allow open uri lists and add TryExec field.
794 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
798 Enable dbus when available, do not require a configure
801 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
805 Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
808 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org>
809 Marco Pesenti Gritti <mpg@redhat.com>
811 * shell/Makefile.am: Add --prefix for dbus-binding-tool script
813 * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC
814 functions to the format required by dbus
816 * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
817 errors. Use the RPC parameters in the expected way
819 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
822 * properties/Makefile.am:
823 * properties/ev-properties-main.c: (ev_properties_get_pages):
825 Support all mime types
828 * thumbnailer/Makefile.am:
829 * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
830 (evince_thumbnail_pngenc_get):
832 Use the document factory
834 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
836 * backend/Makefile.am:
837 * backend/ev-document-factory.c:
838 (mime_type_supported_by_gdk_pixbuf),
839 (ev_document_type_get_from_mime),
840 (ev_document_factory_get_document),
841 (ev_document_factory_get_backend),
842 (ev_document_factory_get_mime_types),
843 (ev_document_factory_get_all_mime_types):
844 * backend/ev-document-factory.h:
846 * shell/ev-document-types.c: (get_document_from_uri),
847 (ev_document_types_get_document),
848 (file_filter_add_mime_list_and_free),
849 (ev_document_types_add_filters):
850 * shell/ev-document-types.h:
851 * shell/ev-job-xfer.c: (ev_job_xfer_run):
852 * shell/ev-properties-dialog.c:
853 (ev_properties_dialog_set_document):
854 * shell/ev-window.c: (ev_window_cmd_file_open),
855 (ev_window_cmd_save_as):
856 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
858 Rework document types managing to avoid code duplication
859 and actually abstract from backend implementations.
860 Also provide a minimal factory api that can be used by
861 thumbnailer/properties.
863 2005-07-05 Christian Persch <chpe@cvs.gnome.org>
865 * properties/ev-properties-view.c: (ev_properties_view_set_info):
867 * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
870 2005-07-04 Matthew S. Wilson <msw@rpath.com>
872 * shell/ev-properties-dialog.c
873 (ev_properties_dialog_set_document): only call
874 ev_properties_fonts_set_document() if the document implements the
877 2005-07-05 Marco Pesenti Gritti <mpg@redhat.com>
880 * properties/Makefile.am:
881 * properties/ev-properties-view.c:
882 (ev_properties_view_register_type):
883 * properties/ev-properties-view.h:
884 * properties/ev-properties-main.h:
886 Implement nautilus plugin for properties.
887 Works only for pdf atm, I need to rework the
888 document types stuff to get this to work
891 2005-07-04 Martin Kretzschmar <martink@gnome.org>
893 * shell/ev-properties-fonts.c (enum): kill redundant columns enum
894 (ev_properties_fonts_set_document): use
895 EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
897 2005-07-04 Matthew S. Wilson <msw@rpath.com>
899 * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
901 (PlaceImage, tiff2ps_process_page): use
902 g_ascii_dtostr to convert floats to strings in a locale-safe way.
905 2005-07-04 Martin Kretzschmar <martink@gnome.org>
907 * shell/main.c: include libgnomeui/gnome-authentication-manager.h
908 (main): to call gnome_authentication_manager_init. Should fix
911 * configure.ac: that requires libgnomeui 2.6.0.
913 2005-07-04 Matthew S. Wilson <msw@rpath.com>
915 * tiff/tiff-document.c (tiff_document_ps_export_begin)
916 (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
917 use the new tiff2ps interfaces
919 * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page)
920 (tiff2ps_context_finalize): implement new interfaces for tiff2ps
922 * tiff/tiff2ps.c: refactor tiff2ps code to use a context
923 structure instead of global variables. Remove use of static
924 variables in functions.
926 2005-07-04 Carlos Garcia Campos <carlosgc@gnome.org>
928 * shell/ev-page-action.c: unref the completion after setting it to the
931 2005-07-04 Matthew S. Wilson <msw@rpath.com>
933 * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
936 2005-07-04 Matthew S. Wilson <msw@rpath.com>
938 * shell/ev-window.c (update_action_sensitivity): disable
939 File->Print if the document does not implement the ps exporter
942 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
946 * data/evince-properties.glade:
947 * properties/.cvsignore:
948 * properties/Makefile.am:
949 * properties/ev-properties-view.c: (ev_properties_view_dispose),
950 (ev_properties_view_class_init), (ev_properties_view_format_date),
951 (make_valid_utf8), (set_property), (ev_properties_view_set_info),
952 (ev_properties_view_init), (ev_properties_view_new):
953 * properties/ev-properties-view.h:
955 * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
956 (ev_properties_dialog_init), (ev_properties_dialog_set_document),
957 (ev_properties_dialog_new):
958 * shell/ev-properties-dialog.h:
959 * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
960 (ev_properties_fonts_class_init), (ev_properties_fonts_init),
961 (update_progress_label), (job_fonts_finished_cb),
962 (ev_properties_fonts_set_document), (ev_properties_fonts_new):
963 * shell/ev-properties-fonts.h:
964 * shell/ev-properties.c:
965 * shell/ev-properties.h:
966 * shell/ev-window.c: (ev_window_setup_document),
967 (ev_window_cmd_file_properties):
969 Split the properties pages in two different objects, depend
970 only on the backend where possible, use widgets instead
971 of gobject for the glade part, reimplement the dialog
973 I need this to implement nautilus properties page.
975 2005-07-03 Matthew S. Wilson <msw@rpath.com>
977 * tiff/tiff-document.c (tiff_document_ps_export_begin)
978 (tiff_document_ps_export_do_page, tiff_document_ps_export_end)
979 (tiff_document_document_ps_exporter_iface_init): implement the ps
980 exporter interface for tiff documents
982 * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
983 libtiff to implement TIFF postscript export
985 * tiff/tiff2ps.h: added a header file for external tiff2ps
988 * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
991 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
993 * shell/ev-view.c: (scroll_to_current_page),
994 (ev_view_set_fullscreen), (ev_view_set_presentation):
996 Scroll to current page when exit from presentation
998 2005-07-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1000 * shell/ev-window.c: (update_document_mode),
1001 (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1002 (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
1003 (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
1005 Exit from fullscreen mode when switch to presentation. Fix for
1008 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1010 * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
1011 return NULL if the document does not implement the selection
1014 2005-07-02 Matthew S. Wilson <msw@rpath.com>
1016 * tiff/tiff-document.c (tiff_document_get_page_size): scale the
1017 reported height by using the resolution aspect ratio
1018 (tiff_document_render_pixbuf): scale the pixbuf using the
1019 resolution aspect ratio
1021 2005-07-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1025 Require libgnomeprint >= 2.5.1. Thanks to Colin Slater
1026 <kiltedaco@gmail.com>
1028 * djvu/djvu-document.c: (djvu_document_get_orientation),
1029 (djvu_document_set_orientation), (djvu_document_get_page_size),
1030 (rotate_pixbuf), (djvu_document_render_pixbuf),
1031 (djvu_document_document_iface_init):
1032 * dvi/dvi-document.c: (dvi_document_get_orientation),
1033 (dvi_document_set_orientation), (dvi_document_get_page_size),
1034 (rotate_pixbuf), (dvi_document_render_pixbuf),
1035 (dvi_document_document_iface_init):
1037 Dvi and djvu backends are ported to new API
1039 Fri Jul 1 00:10:15 2005 Jonathan Blandford <jrb@redhat.com>
1041 * backend/ev-selection.c: (ev_selection_get_selection_region),
1042 (ev_selection_get_selection_map):
1043 * backend/ev-selection.h:
1044 * pdf/ev-poppler.cc:
1045 * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1047 * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1048 (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
1049 (ev_pixbuf_cache_get_text_mapping):
1050 * shell/ev-pixbuf-cache.h:
1051 * shell/ev-view.c: (location_in_text),
1052 (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
1053 support to EvView. Now we can see where we can select! Sweet!
1055 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1057 * shell/ev-view.c (ev_view_button_press_event): Fix
1058 event->y + view->scroll_x typo.
1060 2005-06-30 Kristian Høgsberg <krh@redhat.com>
1062 * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
1063 sub-GdkPixbuf instead of passing dest_x and dest_y.
1065 * shell/ev-view.c: (view_point_to_doc_point),
1066 (view_rect_to_doc_rect), (ev_view_button_press_event),
1067 (ev_view_motion_notify_event), (compute_new_selection_rect),
1068 (gdk_rectangle_point_in), (compute_new_selection_text),
1069 (compute_selections): Update selection code to keep the selection
1070 around as two points and not as a normalized rectangle, and fix
1071 page level selection in two-column mode.
1073 2005-06-30 Alex Duggan <aldug@astrolinux.com>
1075 * shell/ev-window.c: (window_configure_event_cb):
1079 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1081 * pdf/ev-poppler.cc:
1085 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com>
1087 * shell/Makefile.am:
1088 * shell/ev-metadata-manager.c: (item_free),
1089 (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1090 (parse_value), (parseItem), (load_values),
1091 (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1092 (save_values), (save_item), (get_oldest), (resize_items),
1093 (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1094 * shell/ev-metadata-manager.h:
1096 Metadata manager from gedit but modified to use GValue, so that
1097 we dont need to keep converting from strings.
1101 ENABLE_METADATA conditional, on when dbus is on
1103 * shell/ev-application.c: (ev_application_open_uri):
1105 Show the window after load so that we can initialize
1106 window size before it's showed.
1108 * shell/ev-window.c: (ev_window_setup_from_metadata),
1109 (ev_window_open_uri), (window_configure_event_cb),
1112 Save and load metadata information about window size.
1113 Not yet keeping states in account.
1115 * shell/main.c: (main):
1117 Shutdown metadata manager.
1119 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1121 * shell/ev-application-service.xml:
1123 * shell/Makefile.am:
1124 * shell/ev-application.c:
1125 * shell/ev-application.h:
1126 * shell/ev-window.c:
1127 * shell/ev-window.h:
1130 Add an optional dbus interface (--enable-dbus).
1131 Rework application code, mainly to be easier to
1133 Do not open multiple windows with the same document,
1136 Thu Jun 30 01:50:14 2005 Jonathan Blandford <jrb@redhat.com>
1138 * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1139 pixbuf iff it exists.
1141 Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
1144 * backend/ev-render-context.[ch]:
1145 * backend/ev-selection.[ch]:
1147 Massive changes. We now support text selection of pdfs, and not
1148 just rectangular selection. This is pretty broken still, but I
1149 want to get something into CVS.
1151 2005-06-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1153 * pdf/ev-poppler.cc:
1155 Fix for Bug 309080: crash on window close.
1157 * shell/ev-page-action.c: (page_changed_cb):
1159 Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1160 jensgr@gmx.net (Jens Granseuer).
1162 2005-06-25 Marcel Telka <marcel@telka.sk>
1164 * configure.in (ALL_LINGUAS): Added sk.
1166 2005-06-24 Carlos Garcia Campos <carlosgc@gnome.org>
1168 * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1171 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1178 * cut-n-paste/recent-files/Makefile.am:
1182 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1184 * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1185 (pixbuf_document_set_orientation), (rotate_pixbuf),
1186 (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1187 (pixbuf_document_document_iface_init), (pixbuf_document_init):
1189 Implement rotation and cleanup the code a bit.
1191 * tiff/tiff-document.c: (tiff_document_get_page_size),
1192 (tiff_document_get_orientation), (tiff_document_set_orientation),
1193 (rotate_pixbuf), (tiff_document_render_pixbuf),
1194 (tiff_document_document_iface_init), (tiff_document_init):
1196 Implement rotation. Was the quicker solution for the release
1197 but we really need to share this code in the shell.
1199 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com>
1201 * pdf/ev-poppler.cc:
1203 Enable rotation, require poppler cvs. Fix a leak.
1205 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1207 * shell/ev-window.c: (update_action_sensitivity):
1209 Make properties unsensitive if document backend doesn't provide
1212 2005-06-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1214 * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1215 (bitmap_flip_horizontally), (bitmap_flip_vertically),
1216 (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1217 (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1218 (bitmap_flip_rotate_counter_clockwise):
1219 * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1220 * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1222 * dvi/mdvi-lib/common.h:
1223 * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1224 * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1225 (opendvi), (mdvi_reload), (mdvi_init_context),
1226 (mdvi_destroy_context), (mdvi_dopage), (special):
1227 * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1228 * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1229 (file_hash_free), (register_encoding), (parse_spec),
1230 (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1231 (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1232 (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1233 * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1234 (mdvi_register_font_type), (mdvi_unregister_font_type),
1235 (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1236 * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1237 * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1238 (mdvi_hash_destroy_key), (mdvi_hash_reset):
1239 * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1240 (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1241 * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1242 * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1243 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1244 * dvi/mdvi-lib/special.c: (mdvi_register_special),
1245 (mdvi_unregister_special), (mdvi_flush_specials):
1246 * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1248 * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1249 * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1250 (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1251 (free_font_metrics), (flush_font_metrics):
1252 * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1254 * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1255 (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1256 (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1257 (dstring_insert), (dstring_new), (dstring_reset):
1258 * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1260 Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1261 avoid conflict with libtool on FC4
1263 * shell/ev-window.c: (ev_window_cmd_help_about):
1265 Update copyright year. Fix for bug 308828.
1267 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1269 * shell/ev-view.c: (add_scroll_binding_keypad),
1270 (ev_view_binding_activated), (ev_view_class_init),
1271 (on_adjustment_value_changed):
1273 Bug 170874: Arrow keys switch pages in presentation mode
1275 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1277 * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1279 Fix for Bug 308265: Sidebar dissappears coming out of
1282 2005-06-23 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
1284 * shell/ev-application.c: (ev_application_open):
1285 * shell/ev-document-types.c: (ev_document_types_add_filters),
1286 (ev_document_types_add_filters_for_type):
1287 * shell/ev-document-types.h:
1288 * shell/ev-window.c: (ev_window_cmd_save_as):
1290 Suggest basename as template when saving, provide filters
1291 for save dialog. It's bug 308402
1293 2005-06-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1295 * pdf/ev-poppler.cc:
1296 * shell/ev-sidebar-links.c: (job_finished_callback):
1297 * shell/ev-view.c: (update_find_status_message):
1301 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1303 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1304 (egg_recent_view_uimanager_set_list):
1306 Fix buglet in !show_numbers case.
1308 2005-06-19 Christian Persch <chpe@cvs.gnome.org>
1310 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1311 (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1313 Use pango ellipsisation.
1315 * pdf/ev-poppler.cc:
1317 Fix refcount leak, from nsh.
1319 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1321 * cut-n-paste/recent-files/Makefile.am:
1322 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1323 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1325 Removed EggRecentViewGtk
1327 * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1328 * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1329 * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1330 (ev_window_setup_recent):
1332 Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1335 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1337 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1338 (egg_recent_view_gtk_finalize):
1342 * cut-n-paste/toolbar-editor/Makefile.am:
1344 Fix location of cursor icon.
1346 * pdf/ev-poppler.cc:
1347 * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1348 (display_completion_text), (match_completion):
1349 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1350 (selection_changed_callback), (create_loading_model),
1351 (print_section_cb), (links_page_num_func),
1352 (update_page_callback_foreach):
1353 * shell/ev-window.c: (ev_window_dispose):
1355 Small memory fixes. Links model now store objects instead
1356 of pointers to improve memory management.
1358 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1360 * shell/ev-window.c: (zoom_control_changed_cb):
1362 Fix update of zoom control (bug 308268).
1364 Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
1366 * shell/ev-properties.c (set_property): escape the text correctly.
1367 Handles non-UTF-8 properties and escaped properties. Also, sets
1368 the text to "<i>None</i>" if the property isn't set.
1370 * data/evince-properties.glade: Change the label to be ellipsized,
1371 and give it a minimum size.
1373 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1375 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1376 * shell/ev-sidebar-links.c: (create_loading_model):
1377 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1378 * shell/ev-view.c: (ev_view_set_document):
1379 * shell/ev-window.c: (ev_window_dispose):
1381 Various small fixes, mostly memory leaks. Thanks to valgrind.
1383 2005-06-19 Martin Kretzschmar <martink@gnome.org>
1385 * ps/ps-document.c: remove the locale.h include again ;-). And
1386 kill the (bogus) setlocale/savelocale business.
1388 2005-06-19 Jaap A. Haitsma <jaap@haitsma.org>
1392 Include locale.h to fix build
1394 * shell/ev-sidebar.c:
1396 Remove unnecessary includes
1398 2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1400 * dvi/dvi-document.c: (dvi_document_load):
1401 * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1404 Check for incorrect dvi files. Fix parsing dvi on AMD64
1405 platform. Thanks to tester@tester.ca (Olivier Crete).
1407 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1409 * shell/ev-page-action.c: (match_selected_cb),
1410 (display_completion_text), (match_completion), (update_model):
1411 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1412 (expand_open_links):
1413 * shell/ev-sidebar.c: (ev_sidebar_destroy),
1414 (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1415 (ev_sidebar_set_document):
1416 * shell/ev-window.c: (ev_window_xfer_job_cb),
1417 (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1419 Fixed lot's of memory leaks, for example, memory leak on reload,
1420 described in bug 307793.
1422 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1424 * pdf/ev-poppler.cc:
1425 * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1426 (update_visible_range), (adjustment_changed_cb),
1427 (ev_sidebar_thumbnails_fill_model),
1428 (ev_sidebar_thumbnails_refresh),
1429 (ev_sidebar_tree_selection_changed),
1430 (ev_sidebar_icon_selection_changed),
1431 (ev_sidebar_thumbnails_use_icon_view),
1432 (ev_sidebar_thumbnails_set_document):
1433 * shell/ev-sidebar-thumbnails.h:
1434 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1435 (ev_window_cmd_edit_rotate_right), (ev_window_init):
1437 Refresh thumbnails when changing orientation. Not fully
1438 working yet becuase of a sidebar bug.
1440 Set page orientation to poppler page everywhere. This sucks
1441 really need to fix poppler.
1443 2005-06-18 Marco Pesenti Gritti <mpg@redhat.com>
1445 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1446 (egg_recent_view_gtk_new_menu_item),
1447 (egg_recent_view_gtk_set_property),
1448 (egg_recent_view_gtk_get_property),
1449 (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1450 (egg_recent_view_gtk_set_tooltip_func),
1451 (egg_recent_view_gtk_set_label_width),
1452 (egg_recent_view_gtk_get_label_width):
1453 * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1455 Sync with libegg (ellipsize labels)
1457 2005-06-18 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1459 * data/evince-ui.xml:
1460 * shell/ev-window.c: (ev_window_cmd_go_forward),
1461 (ev_window_cmd_go_backward):
1463 Shift + PageUp moves 10 Pages. Fix for 306125
1465 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1467 * pdf/ev-poppler.cc:
1469 Add a flag to check if orientation has been overriden
1471 2005-06-17 Martin Kretzschmar <martink@gnome.org>
1473 * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1476 * ps/ps.h: add creator field to document.
1478 * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1481 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1483 * data/evince-properties.glade:
1484 * shell/ev-properties.c: (ev_properties_set_document):
1486 s/PDF Version/Format
1488 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1490 * shell/ev-properties.c: (ev_properties_set_document):
1492 Remove unnecessary translations
1494 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1496 * cut-n-paste/toolbar-editor/Makefile.am:
1498 Correct library name
1500 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1503 * cut-n-paste/recent-files/egg-recent-model.c:
1504 (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1505 (egg_recent_model_unlock_file):
1506 * cut-n-paste/recent-files/egg-recent-util.c:
1507 (egg_recent_util_get_unique_id):
1508 * cut-n-paste/recent-files/update-from-egg.sh:
1509 * cut-n-paste/toolbar-editor/Makefile.am:
1510 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1511 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1512 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1513 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1514 (egg_toolbars_model_get_type):
1515 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1517 Better makefile for toolbar editor and update everything
1520 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1522 * shell/ev-window.c: (update_document_mode):
1524 Prefer presentation mode when the document
1527 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
1529 * data/evince-ui.xml:
1530 * shell/ev-window.c:
1532 Add control-equal for zooming
1534 2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
1536 * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1538 2005-06-16 Marco Pesenti Gritti <mpg@redhat.com>
1540 * backend/ev-document.c: (ev_document_get_orientation):
1541 * backend/ev-document.h:
1542 * pdf/ev-poppler.cc:
1543 * ps/ps-document.c: (ps_document_get_orientation),
1544 (ps_document_set_orientation), (ps_document_document_iface_init):
1546 Add a get_orientation api. Improve set_orientation.
1548 * data/evince-ui.xml:
1549 * shell/ev-view.c: (ev_view_set_orientation),
1550 (ev_view_rotate_right), (ev_view_rotate_left):
1552 * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1553 (ev_window_cmd_edit_rotate_right):
1555 Better ui for changing document orientation
1557 2005-06-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1559 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1560 (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1561 * shell/ev-sidebar-links.h:
1562 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1563 (ev_sidebar_page_iface_init):
1564 * shell/ev-sidebar-page.h:
1565 * shell/ev-sidebar-thumbnails.c:
1566 (ev_sidebar_thumbnails_get_property),
1567 (ev_sidebar_thumbnails_class_init),
1568 (ev_sidebar_thumbnails_set_document):
1569 * shell/ev-sidebar-thumbnails.h:
1570 * shell/ev-view.c: (ev_view_motion_notify_event):
1571 * shell/ev-window.c: (update_chrome_visibility),
1572 (ev_window_cmd_focus_page_selector),
1573 (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1574 (sidebar_page_main_widget_update_cb), (ev_window_init):
1576 Autoraise toolbar on GoToPage binding and fix bindings in
1577 EvSidebarThumbnails page.
1579 2005-06-15 Christian Persch <chpe@cvs.gnome.org>
1581 * shell/ev-properties.c: (update_progress_label):
1583 Hide the progress label when finished; bug #307697.
1585 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1587 * pdf/ev-poppler.cc:
1589 Enable is_open for links, you will need poppler cvs
1591 * shell/ev-properties.c: (job_fonts_finished_cb):
1593 Get a lock on the document when filling the tree view
1595 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1597 * backend/ev-document-links.h:
1598 * pdf/ev-poppler.cc:
1599 * shell/ev-sidebar-links.c: (create_loading_model),
1600 (expand_open_links), (job_finished_callback):
1602 Expand links when specified by the document.
1603 Depend on a poppler api (defined out for now)
1605 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com>
1607 * shell/ev-properties.c: (ev_properties_dispose),
1608 (ev_properties_class_init), (dialog_destroy_cb),
1609 (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1610 (ev_properties_set_document), (ev_properties_new),
1611 (ev_properties_show):
1612 * shell/ev-properties.h:
1614 Make it an object, cleanup the code, api to show it as transient
1615 and to set the document.
1617 * shell/ev-window.c: (ev_window_setup_document),
1618 (ev_window_cmd_file_properties):
1620 Adapt to EvProperties changes, do not show multiple
1621 times, update it when document changes.
1623 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1626 * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1627 (ps_document_set_orientation), (ps_document_document_iface_init):
1630 Implement orientation here too
1632 * shell/ev-properties.c: (ev_properties_new):
1633 * data/evince-properties.glade:
1635 Hide the fonts page for backends that doesnt
1638 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
1640 * backend/ev-document.c: (ev_document_set_orientation):
1641 * backend/ev-document.h:
1642 * pdf/ev-poppler.cc:
1644 Add orientation api. Currently poppler api is not optimal,
1645 we need to set orientation every time we _get a page.
1646 I will try to fix that at some point.
1648 * data/evince-ui.xml:
1649 * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1650 (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1652 Add orientation menu items
1654 * shell/ev-page-cache.c: (ev_page_cache_clear):
1655 * shell/ev-page-cache.h:
1657 Add api to clear the cache
1659 * shell/ev-view.c: (setup_caches), (clear_caches),
1660 (ev_view_set_document), (ev_view_zoom_out),
1661 (ev_view_set_orientation):
1664 Implement orientation changing
1666 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com>
1668 * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1669 (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1670 * backend/ev-document-fonts.h:
1672 Separate scan and fill so that we can incrementally fill from
1673 the main thread. Add a progress api.
1675 * data/evince-properties.glade:
1676 * pdf/ev-poppler.cc:
1677 * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1679 * shell/ev-properties.c: (update_progress_label),
1680 (job_fonts_finished_cb), (setup_fonts_view):
1682 Incrementally feel the list and show the progress
1683 percentage in a label like acrobat does.
1685 You are going to need poppler cvs
1687 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com>
1689 * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1690 * backend/ev-document-fonts.h:
1691 * pdf/ev-poppler.cc:
1693 Make fonts model fill incrementally.
1695 * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1696 (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1697 (ev_job_queue_remove_job):
1698 * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1699 (ev_job_fonts_new), (ev_job_fonts_run):
1702 New job for fonts scanning
1704 * shell/ev-properties.c: (job_fonts_finished_cb),
1705 (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1706 * shell/ev-properties.h:
1707 * shell/ev-window.c: (ev_window_cmd_file_properties):
1709 Incrementally feel the treeview using the new job. Show Loading...
1710 message until scanning is completed.
1712 Hopefully I didnt break the build without the poppler patch.
1714 2005-06-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1716 * shell/ev-application.c: (ev_application_open):
1717 * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1718 (ev_document_type_get_type), (ev_document_type_lookup):
1719 * shell/ev-document-types.h:
1720 * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1721 * shell/ev-job-xfer.h:
1722 * shell/ev-window.c: (ev_window_clear_local_uri),
1723 (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1724 (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1725 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1727 Transfer remote documents to tmp directory to display them later.
1729 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
1731 * backend/ev-document-info.h:
1732 * shell/ev-properties.c: (ev_properties_new):
1734 s/GTime*/GTime. Not sure why we was using a pointer
1737 Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
1739 * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1740 situations. That situation is that you're using GTK+-HEAD with
1741 the patch at #306726 is applied, and you have a document with <
1742 1500 pages in it. It's not quite as uniformly nice as the
1743 TreeView, but should be better in the long run.
1745 I'm pretty sure I guarded against breaking compilation with
1746 HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1749 * shell/ev-window.c (ev_window_init): We don't have our tree/list
1750 widget yet, so I commented that code out
1751 enable_view_actions_for_widget() for now. Need to figure this
1754 * shell/ev-page-action.c (match_selected_cb): emit the right
1755 signals. Our cool C-l completion now works.
1757 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1759 * backend/Makefile.am:
1760 * backend/ev-document-fonts.c:
1761 * backend/ev-document-links.c:
1762 * backend/ev-document.c: (ev_document_load):
1763 * backend/ev-document.h:
1764 * backend/ev-job-queue.c:
1765 * backend/ev-job-queue.h:
1766 * backend/ev-jobs.c:
1767 * backend/ev-jobs.h:
1768 * backend/ev-page-cache.c:
1769 * backend/ev-page-cache.h:
1771 EvPageCache and EvJobs are moved to shell.
1773 * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1775 * lib/ev-file-helpers.h:
1777 New helper to work with temporary files
1779 * shell/Makefile.am:
1780 * shell/ev-application.c: (ev_application_open):
1781 * shell/ev-application.h:
1782 * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1783 (remove_job_from_async_queue), (add_job_to_async_queue),
1784 (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1785 (handle_job), (search_for_jobs_unlocked),
1786 (no_jobs_available_unlocked), (ev_render_thread),
1787 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1788 (ev_job_queue_add_job), (move_job_async), (move_job),
1789 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1790 * shell/ev-job-queue.h:
1791 * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1792 (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1793 * shell/ev-job-xfer.h:
1794 * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1795 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1796 (ev_job_links_class_init), (ev_job_render_init),
1797 (ev_job_render_dispose), (ev_job_render_class_init),
1798 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1799 (ev_job_thumbnail_class_init), (ev_job_load_init),
1800 (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1801 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1802 (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1803 (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1805 * shell/ev-page-action.c: (ev_page_action_set_document):
1806 * shell/ev-page-cache.c: (ev_page_cache_init),
1807 (ev_page_cache_class_init), (ev_page_cache_finalize),
1808 (ev_page_cache_new), (ev_page_cache_get_n_pages),
1809 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1810 (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1811 (ev_page_cache_get_title), (ev_page_cache_get_size),
1812 (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1813 (ev_page_cache_get_height_to_page),
1814 (ev_page_cache_get_max_label_chars),
1815 (ev_page_cache_get_page_label),
1816 (ev_page_cache_has_nonnumeric_page_labels),
1817 (ev_page_cache_get_info), (ev_page_cache_next_page),
1818 (ev_page_cache_prev_page), (ev_page_cache_get):
1819 * shell/ev-page-cache.h:
1820 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1821 (ev_pixbuf_cache_clear_job_sizes),
1822 (ev_pixbuf_cache_add_jobs_if_needed),
1823 (ev_pixbuf_cache_set_page_range):
1824 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1825 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1826 * shell/ev-sidebar-thumbnails.c:
1827 (ev_sidebar_tree_selection_changed),
1828 (ev_sidebar_thumbnails_set_document):
1829 * shell/ev-statusbar.c: (ev_statusbar_destroy),
1830 (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1831 (ev_statusbar_get_context_id), (ev_statusbar_push),
1832 (ev_statusbar_pop), (ev_statusbar_set_maximized),
1833 (ev_statusbar_pulse), (ev_statusbar_show_progress),
1834 (ev_statusbar_set_progress):
1835 * shell/ev-statusbar.h:
1836 * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1837 (ev_view_find_previous):
1838 * shell/ev-window.c: (ev_window_is_empty),
1839 (ev_window_setup_document), (password_dialog_response),
1840 (ev_window_clear_jobs), (ev_window_load_job_cb),
1841 (ev_window_xfer_job_cb), (ev_window_open_uri),
1842 (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1843 (ev_window_print), (ev_window_print_range),
1844 (ev_window_state_event), (ev_window_cmd_view_reload),
1845 (menu_item_select_cb), (menu_item_deselect_cb),
1846 (view_status_changed_cb), (ev_window_dispose),
1847 (drag_data_received_cb), (ev_window_init):
1848 * shell/ev-window.h:
1849 * shell/main.c: (load_files):
1851 New statusbar to show progress on idle. Two new jobs -
1852 xfer job and load job to load document in background. And update
1853 of page_cache clients to new location of code.
1855 2005-06-08 Carlos Garcia Campos <carlosgc@gnome.org>
1857 * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1858 selection in open dialog. It also remembers the last visited directory
1859 in the current session.
1861 2005-06-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1863 * shell/ev-properties.c: (ev_properties_new):
1864 * shell/ev-properties.h:
1865 * shell/ev-window.c: (ev_window_cmd_file_properties):
1867 Get document info from page cache instead of document itself.
1868 This should fix crash related to race conditions described in
1871 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1873 * ps/ps-document.c: (ps_document_init),
1874 (send_ps), (get_page_box), (output), (catchPipe), (input),
1875 (stop_interpreter), (file_length), (file_readable),
1876 (check_filecompressedb), (ps_document_enable_interpreter),
1877 (document_load), (ps_async_renderer_render_pixbuf):
1880 Big cleanup of the ps code
1882 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com>
1884 * backend/Makefile.am:
1885 * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1886 (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1887 * backend/ev-async-renderer.h:
1889 Add an async renderer interface (method + callback) which
1890 is useful for backends like ps.
1892 * backend/ev-job-queue.c: (remove_job_from_async_queue),
1893 (add_job_to_async_queue), (job_finished_cb), (handle_job),
1894 (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1895 (ev_job_queue_add_job), (move_job_async), (move_job),
1896 (ev_job_queue_update_job), (ev_job_queue_remove_job):
1898 Add queues for async renderer, these are executed on the
1901 * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1902 (ev_job_render_run):
1903 * backend/ev-jobs.h:
1905 If the backend support async renderer interface use it.
1907 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1908 (setup_pixmap), (ps_document_get_type),
1909 (ps_async_renderer_render_pixbuf),
1910 (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1912 Implement async renderer interface.
1914 2005-06-07 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1916 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1918 Cleanup links job on exit.
1920 2005-06-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1922 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1923 (drag_data_get_cb), (drag_data_received_cb):
1924 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1925 (drag_data_get_cb), (parse_item_list),
1926 (egg_toolbar_editor_load_actions):
1927 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1928 (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1929 (parse_item_list), (parse_toolbars):
1930 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1931 (dvi_pixbuf_put_pixel):
1933 Fix gcc 4.0 warnings
1935 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1937 * ps/ps-document.c: (start_interpreter):
1939 Fix warning when loading ps
1941 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1943 * ps/ps-document.c: (output):
1945 Fix crash when priting gs error messages.
1947 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1949 * backend/ev-page-cache.c: (_ev_page_cache_new):
1950 * backend/ev-page-cache.h:
1952 Use a const to return title so that we dont double
1953 free it. Small cleanup and fix a leak.
1955 * shell/ev-window.c: (update_window_title):
1957 strdup value from get_title.
1959 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com>
1961 * shell/ev-sidebar-links.c: (job_finished_callback),
1962 (ev_sidebar_links_set_document):
1964 Cleanup the old job when changing document
1966 2005-06-05 Nickolay V. Shmyrev <<nshmyrev@yandex.ru>>
1968 * shell/ev-stock-icons.c:
1969 * shell/ev-stock-icons.h:
1970 * shell/ev-window.c:
1972 Add stock icons for actions that can appear in toolbar. Fix for
1975 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1977 * backend/ev-page-cache.c: (ev_page_cache_finalize),
1978 (_ev_page_cache_new), (ev_page_cache_get_max_width),
1979 (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1980 * backend/ev-page-cache.h:
1981 * shell/ev-view.c: (scroll_to_current_page),
1982 (view_update_range_and_current_page), (get_page_y_offset),
1983 (get_page_extents), (ev_view_size_request_continuous_dual_page),
1984 (ev_view_size_request_continuous),
1985 (ev_view_zoom_for_size_continuous_and_dual_page),
1986 (ev_view_zoom_for_size_continuous):
1988 More compact EvView layout in document with pages of different size.
1990 Sat Jun 4 19:20:57 2005 Jonathan Blandford <jrb@redhat.com>
1992 * shell/ev-window.c (ev_window_cmd_file_properties): fix
1995 2005-06-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1997 * shell/ev-view.c: (view_set_adjustment_values):
1998 * shell/ev-window.c: (ev_window_cmd_file_properties):
2000 A bit different fix for rounding problem but it has no
2001 problems on startup. Make properties window transient to parent.
2003 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005 * pdf/ev-poppler.cc:
2007 More commenting of font stuff.
2009 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2011 * pdf/ev-poppler.cc:
2013 Comment out some more fonts stuff. Should really
2014 work without the poppler patch now.
2016 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2018 * pdf/ev-poppler.cc:
2022 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2024 * data/evince-properties.glade:
2025 * pdf/ev-poppler.cc:
2026 * shell/ev-properties.c: (setup_fonts_view):
2028 Set the column title. Show the dialog only
2029 once everything is setup.
2030 Getting font info can be very slow... will
2031 prolly need to make this threaded too.
2033 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2035 * backend/Makefile.am:
2036 * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
2037 (ev_document_fonts_get_fonts_model):
2038 * backend/ev-document-fonts.h:
2039 * data/evince-properties.glade:
2040 * pdf/ev-poppler.cc:
2041 * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
2042 * shell/ev-properties.h:
2043 * shell/ev-window.c: (ev_window_cmd_file_properties):
2045 Implement fonts list. Defined out for now, since it depends
2046 on a not yet committed poppler patch.
2048 Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com>
2050 * shell/ev-view.c (get_page_extents): other_page isn't necessarily
2053 * shell/ev-window.c: Make sure we add the timeout when we get a
2056 * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
2057 adjustment->value before calculating the zoom factor to average
2058 out all of our rounding errors. The page no longer 'drifts' when
2061 2005-06-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2063 * data/evince-properties.glade:
2064 * shell/ev-properties.c: (ev_properties_format_date),
2067 Labels don't expand when the dialogue is resized.
2068 strftime result needs to be converted to UTF-8. Thanks
2069 to Christian Persch <chpe@gnome.org>.
2071 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2073 * data/evince-properties.glade:
2077 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
2079 * backend/ev-document-info.h:
2080 * backend/ev-document.c: (ev_document_info_free):
2081 * data/evince-properties.glade:
2082 * pdf/ev-poppler.cc:
2083 * ps/ps-document.c: (ps_document_get_info):
2084 * shell/ev-properties.c: (ev_properties_format_date),
2085 (set_property), (ev_properties_new):
2086 * shell/ev-properties.h:
2087 * shell/ev-window.c: (ev_window_cmd_file_properties):
2089 Rework properties code to take only EvPropertyInfo
2090 in the constructor so that it can be useful for
2091 nautilus plugin too.
2093 Deal with backends that doesnt support some properties.
2094 Make set property code generic.
2096 2005-06-04 Christian Persch <chpe@gnome.org>
2098 * data/evince-properties.glade:
2100 fix spacings, make resizeable, and make data labels
2101 selectable + ellipsised
2103 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com>
2105 * backend/ev-document-info.h:
2107 * data/evince-ui.xml:
2108 * pdf/ev-poppler.cc:
2109 * shell/Makefile.am:
2110 * shell/ev-window.c: (update_action_sensitivity),
2111 (ev_window_cmd_file_properties):
2113 Initial go at file properties. Patch by
2114 Emil Soleyman-Zomalan <emil@soleyman.com>.
2115 Needs love see #169583
2117 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com>
2119 * ps/ps-document.c: (output):
2120 * ps/ps.c: (psscan):
2122 Try to render even if psscan fails.
2124 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2126 * ps/ps.c: (psscan), (pscopydoc):
2128 Port buffered reading code from gv
2130 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2132 * ps/ps-document.c: (interpreter_message), (output):
2134 Do not fail on interpreter messages
2136 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com>
2138 * backend/ev-document-misc.c:
2139 (ev_document_misc_get_thumbnail_frame):
2141 Pages can be 0 x 0, dont assert on this case
2143 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2145 * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2146 (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2148 Correctly manage our reference on document. Finally the reload
2149 huge leak is gone...
2151 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2153 * ps/ps-document.c: (ps_document_dispose):
2155 Forgot to chain it to the parent. Thanks chpe.
2157 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2159 * ps/ps-document.c: (ps_document_dispose),
2160 (ps_document_class_init), (stop_interpreter), (document_load):
2162 Cleanup dispose a bit. Dont leak the whole pixmap.
2164 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2166 * pdf/ev-poppler.cc:
2168 Release the poppler document on dispose
2170 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2172 * shell/ev-view.c: (ev_view_set_document):
2174 Release ref on the pixbuf cache when changing
2177 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2179 * ps/ps-document.c: (ps_document_get_info):
2183 2005-05-31 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
2185 * backend/ev-page-cache.c: (ev_page_cache_init),
2186 (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2187 * backend/ev-page-cache.h:
2188 * shell/ev-page-action.c: (page_changed_cb):
2190 Set page action entry width depending on labels width. Fix
2193 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2195 * backend/ev-link.c: (ev_link_class_init):
2197 Allow -1 as page value (error)
2199 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com>
2201 * shell/ev-sidebar-thumbnails.c:
2202 (ev_sidebar_thumbnails_set_document):
2203 * shell/ev-view.c: (scroll_to_current_page),
2204 (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2205 (page_changed_cb), (on_adjustment_value_changed),
2206 (ev_view_set_document):
2208 Slightly modified patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>.
2211 2005-05-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2214 * djvu/djvu-document.c: (djvu_document_get_page_size):
2216 Require djvulibre CVS. Now djvu loading is much faster. Fix for
2219 Sat May 28 07:38:03 2005 Jonathan Blandford <jrb@redhat.com>
2221 * shell/ev-view.c (draw_one_page): modify the expose handling to
2224 * shell/ev-window.c (update_action_sensitivity): Respect
2225 permissions field. Kowtow to the man.
2227 * pdf/ev-poppler.cc: Get the permissions field.
2229 * tiff/*c: Make a tiny bit more robust.
2231 2005-05-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2233 * djvu/djvu-document.c:
2235 Pop messages from djvu context message queue.
2237 2005-05-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2239 * configure.ac, Makefile.am, shell/Makefile.am:
2240 * tiff/Makefile.am, shell/ev-document-types.c:
2242 Cleanup tiff configure checks. Fix for bug 305218.
2244 2005-05-24 Maxim V. Dziumanenko <mvd@mylinux.ua>
2246 * configure.ac: Added "uk" to ALL_LINGUAS.
2248 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2250 * cut-n-paste/zoom-control/ephy-zoom.c:
2251 (ephy_zoom_get_changed_zoom_level):
2252 * cut-n-paste/zoom-control/ephy-zoom.h:
2253 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2254 (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2255 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2256 (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2257 (zoom_control_changed_cb), (ev_window_init):
2259 Fix minor points related to moving best fit up. Introduce
2260 "zoom" property and make zoom control change it's value on
2261 notify::zoom signals. Fix for 305080.
2263 2005-05-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2265 * data/evince-ui.xml:
2266 * shell/ev-window.c: (set_view_actions_sensitivity):
2268 Use + and - as accels for zoom in and zoom out. Fix for 305001.
2270 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2274 Depends on poppler 0.3.2
2276 2005-05-22 Marco Pesenti Gritti <mpg@redhat.com>
2278 * cut-n-paste/recent-files/egg-recent-item.c:
2279 (egg_recent_item_get_short_name):
2280 * cut-n-paste/toolbar-editor/Makefile.am:
2281 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2282 (new_pixbuf_from_widget):
2283 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2284 * cut-n-paste/toolbar-editor/egg-marshal.c:
2285 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2286 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2290 Sat May 21 23:18:30 2005 Jonathan Blandford <jrb@redhat.com>
2292 * tiff/tiff-document.c: Rough TIFF backend.
2294 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2298 * cut-n-paste/toolbar-editor/Makefile.am:
2302 2005-05-21 Marco Pesenti Gritti <mpg@redhat.com>
2304 * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2305 (ev_view_find_next), (ev_view_find_previous):
2307 Remove the locks around get_n_results
2309 2005-05-21 Juerg Billeter <j@bitron.ch>
2311 * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2313 Pass correct number of pages to poppler.
2315 2005-05-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2319 * data/evince.desktop.in:
2320 * data/evince.desktop.in.in:
2323 Add conditionally dvi and djvu to desktop types. Fix for 304658.
2325 Sat May 21 00:21:30 2005 Jonathan Blandford <jrb@redhat.com>
2327 * shell/ev-view.c: (view_update_adjustments),
2328 (view_set_adjustment_values): cast adjustmen->value to (int)
2329 before using it. Otherwise, we get off by a pixel in some
2332 (draw_one_page): Draw the border on expose.
2334 Fri May 20 22:05:25 2005 Jonathan Blandford <jrb@redhat.com>
2336 * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2337 adjustment when the mode changes, #304923
2339 Fri May 20 02:00:03 2005 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2341 * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2342 flickering on resize but still use gdk_window_scroll on
2345 Fri May 20 01:46:57 2005 Jonathan Blandford <jrb@redhat.com>
2347 * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2350 Fri May 20 01:27:01 2005 Jonathan Blandford <jrb@redhat.com>
2352 * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2353 second page on page_changed if possible, #304669
2355 Fri May 20 01:07:15 2005 Jonathan Blandford <jrb@redhat.com>
2357 * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2358 instead of gtk_widget_queue_draw. Massive speedups in scrolling.
2360 Fri May 20 01:05:10 2005 Jonathan Blandford <jrb@redhat.com>
2363 * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2364 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2365 (ev_view_zoom_for_size_presentation),
2366 (ev_view_zoom_for_size_continuous_and_dual_page),
2367 (ev_view_zoom_for_size_continuous),
2368 (ev_view_zoom_for_size_dual_page),
2369 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2371 * shell/ev-window.c: (update_view_size),
2372 (ev_window_sizing_mode_changed_cb):
2374 Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2375 the scrollbars. It's not 100% right, but it's much closer. Kills
2376 an infinite loop, #304769
2379 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2381 * data/evince-ui.xml:
2382 * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2383 * shell/ev-window.c: (set_view_actions_sensitivity):
2385 Make PgUp/Down behave like Space
2387 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2389 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2390 * backend/ev-ps-exporter.h:
2391 * pdf/ev-poppler.cc:
2392 * ps/ps-document.c: (ps_document_ps_export_begin):
2393 * shell/ev-print-job.c: (idle_print_handler):
2395 Adapt to new poppler api
2397 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2399 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2400 (ephy_zoom_control_init):
2402 Translate zoom levels
2404 2005-05-18 Marco Pesenti Gritti <mpg@redhat.com>
2406 * cut-n-paste/zoom-control/ephy-zoom.c:
2407 (ephy_zoom_get_zoom_level_index):
2409 Fix current zoom -> zoom control match
2411 2005-05-18 James Bowes <bowes@cs.dal.ca>
2413 * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2414 rather than the scrolled_window that it's in. Fixes bug #304655.
2416 Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com>
2418 * shell/ev-view.c: (view_update_adjustments),
2419 (view_set_adjustment_values), (view_update_range_and_current_page),
2420 (view_scroll_to_page), (set_scroll_adjustment),
2421 (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2422 (ev_view_scroll), (ev_view_scroll_view),
2423 (ensure_rectangle_is_visible), (find_page_at_location),
2424 (get_link_at_location), (go_to_link), (status_message_from_link),
2425 (ev_view_size_request_continuous_dual_page),
2426 (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2427 (ev_view_unrealize), (ev_view_expose_event),
2428 (ev_view_button_press_event), (ev_view_motion_notify_event),
2429 (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2430 (draw_rubberband), (highlight_find_results), (draw_one_page),
2431 (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2432 (ev_view_init), (find_changed_cb), (page_changed_cb),
2433 (on_adjustment_value_changed), (ev_view_new),
2434 (ev_view_set_document), (ev_view_set_zoom),
2435 (ev_view_set_continuous), (ev_view_set_dual_page),
2436 (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2437 (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2438 (ev_view_zoom_for_size_presentation),
2439 (ev_view_zoom_for_size_continuous_dual_page),
2440 (ev_view_zoom_for_size_continuous),
2441 (ev_view_zoom_for_size_dual_page),
2442 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2443 (ev_view_get_status), (ev_view_set_status),
2444 (update_find_status_message), (ev_view_get_find_status),
2445 (ev_view_set_find_status), (jump_to_find_result),
2446 (jump_to_find_page), (compute_selections), (clear_selection),
2447 (ev_view_select_all), (get_selected_text), (ev_view_copy),
2448 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2449 (ev_view_update_primary_selection),
2450 (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2452 * shell/ev-window.c: (ev_window_open_page_label),
2453 (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2455 * shell/ev-window.h:
2456 * shell/main.c: (load_files):
2458 Massive code clean up from Nickolay Shmyrev. Keep page offset
2459 when resizing. Remove the bin_window(). Also, patch from James
2460 Bowes to fix command line page, #300641
2462 2005-05-17 Marco Pesenti Gritti <mpg@redhat.com>
2464 * data/evince-ui.xml:
2467 * shell/ev-window.c: (update_action_sensitivity):
2469 Get rid of View->Normal Size, it's just confusing
2471 Tue May 17 00:51:21 2005 Jonathan Blandford <jrb@redhat.com>
2473 * backend/ev-document-info.h:
2474 * backend/ev-document.c: (ev_document_info_free): Free the
2477 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2478 (clear_range), (add_range), (update_visible_range),
2479 (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2480 (ev_sidebar_thumbnails_set_document):
2481 * shell/ev-window.c: (ev_window_setup_document): Only render the
2482 visible thumbnails. It takes an instant to render, but it uses
2485 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2487 * shell/ev-sidebar-links.c: (popup_menu_cb):
2491 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2494 * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2495 (button_press_cb), (ev_sidebar_links_construct):
2497 Show the popup menu also on keybindings
2499 2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
2501 * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2502 * shell/ev-window.h:
2504 Expose api to print a range (with dialog). Make private _print use
2507 * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2508 (ev_sidebar_links_construct):
2510 Show a print context menu on linkx, it prints the selected
2513 2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
2515 * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2518 2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
2524 * shell/ev-window.c: (build_comments_string),
2525 (ev_window_cmd_help_about):
2527 Show poppler version/backend and authors
2529 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2531 * cut-n-paste/zoom-control/ephy-zoom.c:
2532 (ephy_zoom_get_zoom_level_index):
2533 * cut-n-paste/zoom-control/ephy-zoom.h:
2535 Move the best fit items at the top of the list
2537 2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
2539 * shell/ev-marshal.list:
2540 * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2541 (activate_cb), (match_selected_cb), (activate_link_cb),
2542 (connect_proxy), (ev_page_action_class_init):
2543 * shell/ev-page-action.h:
2545 Use signals to notify action activation. Hopefully
2546 I did not break completion since I cant test...
2548 * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2549 (register_custom_actions):
2551 Connect to page selector actions and also grab focus on
2552 the view when activated.
2554 Wed May 11 01:18:29 2005 Jonathan Blandford <jrb@redhat.com>
2556 * pdf/ev-poppler.cc:
2557 * backend/ev-page-cache.c: make page size calculation consistent
2558 and set it to (int)( width * scale + 0.5). This makes the weird
2559 line going through the middle of the page go away.
2561 * shell/ev-view.c: move painting the background page after
2562 checking the expose area covers us.
2564 2005-05-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2566 * data/evince-password.glade:
2568 Mark labels as not translatable. Fix for bug 302842.
2570 2005-05-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
2572 * configure.ac: Added "es" to ALL_LINGUAS.
2574 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2576 * data/evince-toolbar.xml:
2577 * shell/ev-window.c: (update_action_sensitivity),
2578 (ev_window_setup_document), (ev_window_set_page_mode),
2581 Remove some leftover code from jrb first continous
2582 attempt. Use the new actions, we still need good icons
2585 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2587 * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2589 Update label when connecting proxy. Fix a warning with NULL
2592 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2594 * data/evince-ui.xml:
2595 * shell/ev-page-action.c: (ev_page_action_grab_focus):
2596 * shell/ev-page-action.h:
2597 * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2599 Add mnemonic for edit toolbar.
2600 ctrl+l focus the page entry.
2602 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2605 * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2607 * shell/main.c: (main):
2609 Put the toolbar xml in evince own dot dir
2611 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2613 * shell/ev-window.c: (ev_window_init):
2615 Make the toolbar not removable
2617 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2619 * data/evince-ui.xml:
2620 * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2621 * shell/ev-sidebar-links.h:
2622 * shell/ev-sidebar-thumbnails.c:
2623 (ev_sidebar_thumbnails_get_treeview):
2624 * shell/ev-sidebar-thumbnails.h:
2625 * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2626 (ev_view_class_init):
2628 * shell/ev-window.c: (update_action_sensitivity),
2629 (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2630 (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2631 (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2634 This is evil... Make space/backspace global accelerators but
2635 enable them only for some widgets (sidebars and view).
2636 I dont like it, but I dont know a better way... :/
2638 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2640 * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2641 (ev_page_action_widget_finalize),
2642 (ev_page_action_widget_class_init), (update_page_cache):
2644 Keep a weak reference on proxy->page_cache so that we
2645 dont try to disconnect the signal if the object is already
2646 gone. Maybe there is a better way to cleanup reference handling
2647 in page action though...
2649 2005-05-10 Juerg Billeter <j@bitron.ch>
2651 * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2652 * backend/ev-ps-exporter.h:
2653 * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2654 * ps/ps-document.c: (ps_document_ps_export_begin):
2656 Change api to pass print range to ps_exporter_begin. The pdf backend
2657 requires this information.
2659 * shell/ev-print-job.c: (idle_print_handler):
2663 2005-05-10 Juerg Billeter <j@bitron.ch>
2665 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2666 (idle_print_handler)
2667 * shell/ev-window.c: (ev_window_print):
2669 Support printing page range, based on patch by Amaury Jacquot
2671 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2673 * data/evince-toolbar.xml:
2675 Add zoom control to available items
2677 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2679 * shell/ev-window.c: (update_action_sensitivity):
2681 Set slash action insensitive when appropriate
2683 2005-05-10 Christian Persch <chpe@gnome.org>
2685 * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2687 Fix warning on the overflow menu
2689 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
2691 * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2693 Check for uri correctness/existence
2695 2005-05-09 Juerg Billeter <j@bitron.ch>
2697 * shell/ev-window.c: (using_postscript_printer):
2699 LPD printers use postscript, too
2701 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2703 * shell/ev-window.c: (register_custom_actions):
2705 The zoom one is actually sort of useful,
2708 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2710 * shell/ev-window.c: (register_custom_actions):
2712 Hide page/zoom controls from overflow, they
2715 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2717 * cut-n-paste/update-from-egg.sh:
2719 Share it between all cut-n-paste subdirs
2721 * cut-n-paste/recent-files/Makefile.am:
2723 Fix to use "global" update-from-egg.sh
2725 * cut-n-paste/recent-files/egg-recent-model.c:
2726 (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2727 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2728 (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2729 (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2733 * cut-n-paste/toolbar-editor/Makefile.am:
2735 Fix to use "global" update-from-egg.sh
2737 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2741 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2744 * cut-n-paste/Makefile.am:
2745 * cut-n-paste/recent-files/Makefile.am:
2746 * cut-n-paste/toolbar-editor/.cvsignore:
2747 * cut-n-paste/toolbar-editor/Makefile.am:
2748 * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2749 (egg_editable_toolbar_get_type), (get_toolbar_position),
2750 (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2751 (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2752 (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2753 (set_item_drag_source), (create_item_from_action), (create_item),
2754 (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2755 (popup_toolbar_context_menu_cb), (free_dragged_item),
2756 (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2757 (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2758 (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2759 (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2760 (item_added_cb), (item_removed_cb),
2761 (egg_editable_toolbar_construct),
2762 (egg_editable_toolbar_disconnect_model),
2763 (egg_editable_toolbar_deconstruct),
2764 (egg_editable_toolbar_set_model),
2765 (egg_editable_toolbar_set_ui_manager),
2766 (egg_editable_toolbar_set_property),
2767 (egg_editable_toolbar_get_property),
2768 (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2769 (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2770 (egg_editable_toolbar_new_with_model),
2771 (egg_editable_toolbar_get_edit_mode),
2772 (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2773 (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2774 (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2775 (new_pixbuf_from_widget), (new_separator_pixbuf),
2776 (update_separator_image), (style_set_cb),
2777 (_egg_editable_toolbar_new_separator_image),
2778 (egg_editable_toolbar_get_model):
2779 * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2780 * cut-n-paste/toolbar-editor/egg-marshal.c:
2781 * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2782 (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2783 (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2784 (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2785 (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2786 (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2787 (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2788 (editor_drag_data_delete_cb), (drag_data_get_cb),
2789 (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2790 (editor_create_item), (update_editor_sheet), (setup_editor),
2791 (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2792 (parse_item_list), (model_has_action), (update_actions_list),
2793 (egg_toolbar_editor_load_actions):
2794 * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2795 * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2796 (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2797 (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2798 (toolbars_item_new), (free_toolbar_node), (free_item_node),
2799 (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2800 (egg_toolbars_model_add_separator), (impl_add_item),
2801 (parse_item_list), (egg_toolbars_model_add_toolbar),
2802 (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2803 (impl_get_item_data), (impl_get_item_type),
2804 (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2805 (egg_toolbars_model_init), (free_toolbar),
2806 (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2807 (egg_toolbars_model_remove_toolbar),
2808 (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2809 (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2810 (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2811 (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2812 (egg_toolbars_model_get_item_data),
2813 (egg_toolbars_model_get_item_type):
2814 * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2815 * cut-n-paste/toolbar-editor/eggmarshalers.list:
2817 * data/evince-toolbar.xml:
2818 * data/evince-ui.xml:
2819 * data/hand-open.png:
2821 * shell/Makefile.am:
2822 * shell/ev-window.c: (update_chrome_visibility),
2823 (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2824 (ev_window_dispose), (ev_window_init):
2826 Implement epiphany like toolbar editor. Based on patch by
2827 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2829 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2831 * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2833 Use set_cursor instead of set_selection, so that
2834 the keyboard focus moves too.
2836 2005-05-09 Aleksey Kliger <akliger@gmail.com>
2838 * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2840 Fix infinite loop when loading Type1 fonts
2842 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2844 * data/evince-ui.xml:
2845 * shell/ev-window.c:
2849 2005-05-09 Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2853 Make --disable really disable
2855 2005-05-07 Juerg Billeter <j@bitron.ch>
2857 * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2859 Compare page labels even without has_labels set, fixes setting page
2862 2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
2864 * shell/ev-view.c: (ev_view_create_invisible_cursor),
2865 (ev_view_set_cursor), (ev_view_button_press_event),
2866 (ev_view_motion_notify_event), (ev_view_button_release_event),
2869 Implement middle button scrolling. Based on a patch
2870 by Tommi Komulainen <tommi.komulainen@iki.fi>.
2872 2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
2874 * shell/ev-document-types.c: (get_slow_mime_type),
2875 (get_document_type_from_mime), (ev_document_type_lookup):
2876 * shell/ev-document-types.h:
2878 Change api to lookup from uri. Do fast lookup first, if the
2879 type is unknown try with data sniffing.
2881 * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2882 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2886 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2888 * thumbnailer/Makefile.am:
2892 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2899 * data/evince-ui.xml:
2901 Hide presentation mode for now
2903 * shell/ev-view.c: (highlight_find_results):
2905 Show current find selection only on current page
2907 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2909 * shell/ev-view.c: (ev_view_select_all):
2911 Compute size of the actual page, not of
2914 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2916 * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2917 (view_rect_to_doc_rect), (compute_selections),
2918 (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2919 (ev_view_copy), (ev_view_primary_get_cb),
2920 (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2921 (ev_view_button_press_event), (ev_view_motion_notify_event),
2922 (ev_view_button_release_event), (page_changed_cb):
2926 2005-05-07 Marco Pesenti Gritti <mpg@redhat.com>
2928 * shell/ev-view.c: (compute_border), (get_page_extents),
2929 (doc_rect_to_view_rect), (highlight_find_results),
2930 (ev_view_bin_expose), (ev_view_select_all),
2931 (ev_view_motion_notify_event), (update_find_status_message),
2932 (jump_to_find_result), (jump_to_find_page):
2934 First go at fixing search, still buggy
2936 2005-05-04 Kristian Høgsberg <krh@redhat.com>
2938 * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2939 dropdown box and button at the top of the sidebar.
2941 2005-05-02 James Bowes <bowes@cs.dal.ca>
2943 * configure.ac: Output zoom-control Makefile.
2944 * cut-n-paste/Makefile.am: build zoom-control subdir.
2945 * cut-n-paste/zoom-control/ephy-zoom-action.c:
2946 * cut-n-paste/zoom-control/ephy-zoom-action.h:
2947 * cut-n-paste/zoom-control/ephy-zoom-control.c:
2948 * cut-n-paste/zoom-control/ephy-zoom-control.h:
2949 * cut-n-paste/zoom-control/ephy-zoom.c:
2950 * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2951 from epiphany, and modified to add a separator into the menu.
2952 * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2953 * data/evince-ui.xml: Replace old zoom toolbar actions with new
2954 zoom-control action.
2955 * shell/Makefile.am: Include zoom-control flags.
2956 * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2957 (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2958 (ev_view_zoom_for_size_presentation),
2959 (ev_view_zoom_for_size_continuous_and_dual_page),
2960 (ev_view_zoom_for_size_continuous),
2961 (ev_view_zoom_for_size_dual_page),
2962 (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
2963 s/ev_view_zoom/ev_view_set_zoom/ and make public, add
2964 ev_view_get_zoom and ev_view_get_sizing_mode.
2966 * shell/ev-window.c: (update_action_sensitivity),
2967 (update_sizing_buttons), (zoom_control_changed_cb),
2968 (register_custom_actions): Initialize and use the zoom-control
2971 Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
2973 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2974 preview cache back to 1. Don't know when it got set to 0.
2976 * shell/ev-view.c: (compute_border), (ev_view_realize),
2977 (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2978 (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2979 (ev_view_get_fullscreen), (ev_view_set_presentation),
2980 (ev_view_get_presentation), (ev_view_set_sizing_mode),
2981 (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2983 * shell/ev-window.c:
2984 (update_chrome_visibility),
2985 (ev_window_cmd_continuous), (ev_window_cmd_dual),
2986 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2987 (update_document_mode), (ev_window_update_fullscreen_action),
2988 (ev_window_fullscreen), (ev_window_unfullscreen),
2989 (ev_window_cmd_view_fullscreen),
2990 (ev_window_update_presentation_action),
2991 (ev_window_run_presentation), (ev_window_stop_presentation),
2992 (ev_window_cmd_view_presentation), (ev_window_state_event),
2993 (ev_window_focus_in_event), (ev_window_focus_out_event),
2994 (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2995 * data/evince-ui.xml: Initial presentation mode. We should
2996 probably hide this until it's done, as it's quite rough. Also,
2997 change full-screen to fullscreen and add two getters to EvView.
2999 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3001 * shell/ev-page-action.c: (update_page_cache),
3002 (ev_page_action_dispose):
3003 * shell/ev-window.c: (destroy_fullscreen_popup),
3004 (ev_window_create_fullscreen_popup):
3006 Use connect_object rather than explicitly
3007 disconnect on dispose.
3009 2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
3011 * shell/ev-page-action.c: (update_page_cache),
3012 (ev_page_action_dispose):
3014 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3016 * backend/ev-page-cache.c: (_ev_page_cache_new),
3017 (ev_page_cache_set_page_label),
3018 (ev_page_cache_has_nonnumeric_page_labels):
3019 * backend/ev-page-cache.h:
3020 * shell/ev-page-action.c: (update_pages_label):
3022 If all page labels are numeric, fallback to default
3023 way to display number of pages. See bug 173185.
3025 2005-04-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3027 * shell/ev-page-action.c: (ev_page_action_dispose):
3028 * shell/ev-view.c: (view_update_range_and_current_page):
3029 * shell/ev-window.c: (ev_window_dispose):
3031 Set page on scroll in continuous mode. Fixes bug 301986.
3032 Also cleanup callbacks on destroy of EvWindow and EvPageAction.
3034 2005-04-26 Marco Pesenti Gritti <mpg@redhat.com>
3038 Require poppler 0.3.0
3040 2005-04-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3042 * shell/Makefile.am, configure.ac: Fix build problems
3043 with t1lib. Bug 301996.
3045 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3047 * shell/ev-view.c: (ev_view_scroll_event):
3049 Scroll up increase zoom
3051 2005-04-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3053 * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
3054 (ev_view_set_sizing_mode),
3055 (ev_view_zoom_for_size_continuous_and_dual_page),
3056 (ev_view_zoom_for_size_continuous):
3057 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
3058 (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
3059 (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
3062 Control + Scroll does zooming, Shift + Scroll scrolls horizontally
3063 Fix for 165473 and 165472.
3065 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3068 * thumbnailer/Makefile.am:
3069 * thumbnailer/evince-thumbnailer-djvu.schemas.in:
3070 * thumbnailer/evince-thumbnailer-dvi.schemas.in:
3071 * thumbnailer/evince-thumbnailer.schemas.in:
3073 Make thumbnailer schemas translatable. Fix for bug 301773
3075 * thumbnailer/evince-thumbnailer-djvu.schemas:
3076 * thumbnailer/evince-thumbnailer-dvi.schemas:
3077 * thumbnailer/evince-thumbnailer.schemas:
3081 Sun Apr 24 01:37:39 2005 Jonathan Blandford <jrb@redhat.com>
3083 * shell/ev-view.c (ev_view_init): forgot to set this.
3085 Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
3087 * shell/ev-view.c: (find_page_at_location),
3088 (get_link_at_location),
3089 (ev_view_set_show_border), (ev_view_set_spacing),
3090 (ev_view_zoom_for_size_continuous_and_dual_page),
3091 (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3092 Also, add a quick fix measuring of widths. Also, removed
3093 ev_view_set_spacing and ev_view_set_show_border.
3095 * shell/ev-window.c: (ev_window_unfullscreen),
3096 (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3098 2005-04-24 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3100 * shell/ev-view.c: (view_update_range_and_current_page),
3103 Fix crash on exit and scrolling to page in continuous view.
3105 Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
3108 * backend/ev-page-cache.c: (_ev_page_cache_new),
3109 (ev_page_cache_get_max_width_size),
3110 (ev_page_cache_get_max_height_size):
3111 * backend/ev-page-cache.h:
3112 * data/evince-ui.xml:
3113 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3114 * shell/ev-view.c: (view_update_adjustments),
3115 (view_update_range_and_current_page), (get_bounding_box_size),
3116 (ev_view_size_request_continuous_and_dual_page),
3117 (ev_view_size_request_continuous),
3118 (ev_view_size_request_dual_page),
3119 (ev_view_size_request_single_page), (ev_view_size_request),
3120 (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3121 (ev_view_bin_expose), (ev_view_expose_event),
3122 (ev_view_set_property), (ev_view_get_property),
3123 (ev_view_class_init), (ev_view_init), (ev_view_new),
3124 (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3125 (ev_view_set_dual_page), (ev_view_set_full_screen),
3126 (ev_view_set_presentation), (ev_view_set_sizing_mode),
3127 (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3128 (ev_view_zoom_out), (zoom_for_size_fit_width),
3129 (zoom_for_size_best_fit),
3130 (ev_view_zoom_for_size_continuous_and_dual_page),
3131 (ev_view_zoom_for_size_continuous),
3132 (ev_view_zoom_for_size_dual_page),
3133 (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3134 (ev_view_show_cursor), (ev_sizing_mode_get_type):
3136 * shell/ev-window.c: (update_action_sensitivity),
3137 (ev_window_cmd_continuous), (ev_window_cmd_dual),
3138 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3139 (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3140 (ev_window_cmd_view_zoom_out), (update_view_size),
3141 (ev_window_set_sizing_mode), (ev_window_init):
3143 Add Continuous and Dual page modes.
3145 2005-04-23 James Bowes <bowes@cs.dal.ca>
3147 * dvi/dvi-document.c: (dvi_document_load),
3148 (dvi_document_thumbnails_get_thumbnail),
3149 (dvi_document_init_params): Fix up some mixups between
3150 width and height to correct thumbnail rendering.
3152 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3154 * dvi/mdvi-lib/private.h:
3155 * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3157 Suppess output for kpathsea during font generation. Thanks to
3160 Fri Apr 22 19:57:46 2005 Jonathan Blandford <jrb@redhat.com>
3167 * Makefile.am: fix distcheck.
3169 2005-04-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3171 * shell/ev-sidebar-links.c: (selection_changed_callback),
3172 (update_page_callback), (row_activated_callback),
3173 (job_finished_callback), (ev_sidebar_links_set_document):
3175 Fix for bug #169901. Double click on links expands tree.
3177 2005-03-14 Bryan Clark <clarkbw@cvs.gnome.org>
3179 * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3180 hard-coded style. Fix for bug 170111
3182 2005-04-22 Kristian Høgsberg <krh@redhat.com>
3184 * shell/ev-view.c (highlight_find_results): Remove unnecessary
3187 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3189 * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3191 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3193 * pdf/ev-poppler.cc:
3194 * shell/ev-view.c: (highlight_find_results):
3196 Fix find on single page documents
3198 2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
3200 * data/evince.schemas.in: fix for bug 301390
3202 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3204 * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3205 (ev_view_zoom_out), (ev_view_zoom_normal):
3207 * shell/ev-window.c: (update_action_sensitivity),
3208 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3209 (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3210 (ev_window_cmd_view_normal_size):
3212 Fix normal size zoom. Make zoom in/zoom out unsensitive when
3213 they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3216 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3220 Depend on 2.57, 2.59 doesnt seem to be necessary
3222 2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
3224 * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3227 Put back total number of pages as (1 of 1234)
3229 Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
3231 * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3234 * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3235 function. This helps debugging.
3237 2005-04-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3239 * djvu/djvu-document.c: (djvu_document_class_init),
3240 (djvu_document_get_info), (djvu_document_document_iface_init):
3241 * dvi/dvi-document.c: (dvi_document_class_init),
3242 (dvi_document_get_info), (dvi_document_document_iface_init):
3244 Dummy implementation of get_info method for dvi and djvu. Fix
3245 crashes with those backends
3247 2005-04-20 Marco Pesenti Gritti <mpg@redhat.com>
3249 * data/evince.desktop.in:
3251 Add application/x-gzpostscript
3253 2005-04-20 Bryan Clark <clarkbw@cvs.gnome.org>
3255 * data/evince.schemas.in: Added real long descriptions,
3258 * README: Added actual text, closes bug 171869
3260 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3262 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3266 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3268 * backend/ev-document-info.h:
3270 s/GDate */GDate so we can just use g_free
3272 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3274 * shell/ev-window.c: (update_document_mode),
3275 (ev_window_setup_document):
3277 Show the window in fullscreen when specified by
3280 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3282 * backend/ev-document.c: (ev_document_class_init),
3283 (ev_document_get_info), (ev_document_render_pixbuf):
3284 * backend/ev-document.h:
3285 * backend/ev-page-cache.c: (_ev_page_cache_new):
3286 * pdf/ev-poppler.cc:
3287 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3288 (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3289 * ps/ps-document.c: (ps_document_class_init), (document_load),
3290 (ps_document_get_info), (ps_document_document_iface_init):
3292 Remove get_title from the interface, we can just use document info
3294 2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
3296 * backend/Makefile.am:
3297 * backend/ev-document.c: (ev_document_render_get_info):
3298 * backend/ev-document.h:
3299 * pdf/ev-poppler.cc:
3301 Initial support for document info. Based on jrb patch.
3303 2005-04-19 Paolo Borelli <pborelli@katamail.com>
3305 * shell/ev-window.c: (ev_window_state_event),
3306 (ev_window_class_init), (ev_window_init):
3308 Doesn't show resize grip when maximized. See bug #301053
3310 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3314 ev-sidebar-thumbnails now has translatable labels
3316 * shell/Makefile.am:
3317 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3318 (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3319 (ev_sidebar_links_page_iface_init):
3320 * shell/ev-sidebar-links.h:
3321 * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3322 (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3323 (ev_sidebar_page_get_label):
3324 * shell/ev-sidebar-page.h:
3325 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3326 (ev_sidebar_thumbnails_set_document),
3327 (ev_sidebar_thumbnails_support_document),
3328 (ev_sidebar_thumbnails_get_label),
3329 (ev_sidebar_thumbnails_page_iface_init):
3330 * shell/ev-sidebar-thumbnails.h:
3331 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3332 (ev_sidebar_set_document):
3333 * shell/ev-sidebar.h:
3334 * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3336 Small rework of sidebar code. Now sidebar pages should implement
3337 EvSidebarPage interface. That makes page management in EvSidebar
3338 easier. See bug #164811 for details
3340 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3342 * shell/ev-application.c: (ev_application_open):
3343 * shell/ev-document-types.c:
3345 Fix build error and small problem with application exit
3347 2005-04-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3349 * thumbnailer/Makefile.am:
3350 * thumbnailer/evince-thumbnailer-djvu.schemas:
3351 * thumbnailer/evince-thumbnailer-dvi.schemas:
3353 Conditionally install schemas for djvu/dvi thumbnailer
3355 2005-04-18 David Malcolm <dmalcolm@redhat.com>
3357 * shell/ev-document-types.h:
3358 * shell/ev-document-types.c:
3359 New files, handling the mapping from mimetypes to backends
3361 * shell/ev-window.c:
3362 * thumbnailer/evince-thumbnailer.c:
3363 Use the ev-document-types code
3365 * shell/Makefile.am:
3366 Added new convenience library libevbackendfactory_la, containing
3367 the new mimetype->backend logic; moved the backends into it.
3369 * thumbnailer/Makefile.am:
3370 Make the thumbnailer link with the libevbackend.la convenience
3371 library, rather than having a duplicate of the backend logic here.
3373 2005-04-18 Paolo Borelli <pborelli@katamail.com>
3375 * shell/ev-stock-icons.c: constify some vars.
3376 * shell/ev-window.c: ditto.
3378 2005-04-18 Marco Pesenti Gritti <mpg@redhat.com>
3380 * ps/ps-document.c (get_page_orientation):
3382 Respect document orientation
3384 2005-04-17 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3388 * shell/Makefile.am:
3390 Move library dependencies to components.
3392 * shell/ev-window.c: (update_window_title),
3393 (start_loading_document):
3395 Fix display of uris with spaces. Bug 168358.
3397 Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
3399 * shell/ev-sidebar-links.c: (selection_changed_cb):
3400 * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3401 (ev_view_button_release_event), (ev_view_set_document):
3403 * shell/ev-window.c: (find_bar_search_changed_cb):
3404 * shell/ev-window.h: Minor cleanups removing some dead code.
3406 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3408 * backend/ev-page-cache.c: (_ev_page_cache_new):
3410 Set current page to 0 if document has pages.
3412 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3414 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3416 Initialize GError to NULL, fix a crash when loading fails.
3418 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3420 * shell/ev-window.c: (update_view_size):
3422 Calculate shadow size only when there is actually
3425 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3427 * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3430 Allow setting view spacing, default to 0
3432 * shell/ev-window.c: (ev_window_unfullscreen),
3433 (ev_window_cmd_view_fullscreen), (ev_window_init):
3435 Remove spacing in fullscreen mode
3437 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3439 * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3440 (ev_view_size_request), (expose_bin_window),
3441 (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3443 * shell/ev-window.c: (ev_window_unfullscreen),
3444 (ev_window_cmd_view_fullscreen):
3446 Do not draw the border in fulscreen
3448 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3450 * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3451 (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3452 (find_page_at_location), (page_changed_cb):
3454 Rework border calculation, so that I can more easily disable it.
3455 Code somewhat cleaner too.
3457 2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
3459 * backend/ev-page-cache.c: (ev_page_cache_init),
3460 (_ev_page_cache_new):
3462 Remove some assertions, documents can have 0 pages.
3463 Make initial current page -1.
3465 * shell/ev-page-action.c: (page_changed_cb):
3467 Show "" if current page is -1
3469 * shell/ev-window.c: (update_action_sensitivity),
3470 (ev_window_setup_document):
3472 When document has 0 pages do not set the view
3473 and make nearly everything insensitive.
3475 2005-04-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3477 * shell/ev-page-view.c:
3478 * shell/ev-page-view.h:
3480 Remove unused files.
3482 * shell/ev-sidebar-thumbnails.c:
3483 (ev_sidebar_thumbnails_set_document):
3484 * shell/ev-sidebar.c: (ev_sidebar_set_document),
3485 (ev_sidebar_supports_document):
3486 * shell/ev-sidebar.h:
3487 * shell/ev-window.c: (ev_window_setup_document):
3489 Doesn't show thumbnails if document has 1 page. Make
3490 sidebar menu entries sensitive only if if they have
3491 sense. Fix bug 164811.
3493 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3495 * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3496 (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3497 (ev_view_zoom_out), (ev_view_set_size):
3499 Rework sizing to deal with documents with not uniform page
3502 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3504 * backend/ev-page-cache.c: (_ev_page_cache_new):
3506 Fix several page size caching bugs
3508 2005-04-15 Luca Ferretti <elle.uca@libero.it>
3510 * shell/ev-window.c: (set_action_properties):
3512 Make all toolbar items translatable
3514 2005-04-15 Marco Pesenti Gritti <mpg@redhat.com>
3516 * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3517 (save_page_list), (ps_document_save),
3518 (ps_document_document_iface_init), (ps_document_ps_export_begin),
3519 (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3520 (ps_document_ps_exporter_iface_init):
3523 Based on a patch by J�rg Billeter <j@bitron.ch>
3525 Implement print and save a copy for the ps backend.
3527 2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
3529 * backend/ev-document.h:
3530 * djvu/djvu-document.c: (djvu_document_can_get_text),
3531 (djvu_document_document_iface_init):
3532 * dvi/dvi-document.c: (dvi_document_can_get_text),
3533 (dvi_document_document_iface_init):
3534 * pdf/ev-poppler.cc:
3535 * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3536 (pixbuf_document_document_iface_init):
3537 * ps/ps-document.c: (ps_document_can_get_text),
3538 (ps_document_document_iface_init):
3539 * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3540 * shell/ev-window.c: (update_action_sensitivity):
3542 Fix the crash when trying to copy in backends that doesnt
3543 support it. We can implement a better solution once we
3544 do real text selection.
3546 2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
3548 * data/evince-ui.xml:
3549 * shell/ev-window.c: (ev_window_cmd_escape):
3551 Work around the Escape conflict (find bar and unfullscreen)
3553 2005-04-12 Nikolay V. Shmyrev <nshmyrev@yandex.ru>
3555 * backend/ev-page-cache.c: (ev_page_cache_next_page):
3557 Fix for #300233. Next page correctly handles document end.
3559 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3560 (ev_sidebar_thumbnails_class_init),
3561 (ev_sidebar_thumbnails_set_document),
3562 (ev_sidebar_thumbnails_clear_job),
3563 (ev_sidebar_thumbnails_clear_model):
3565 Cleanup thumbnail jobs on document changes.
3567 * shell/ev-view.c: (add_scroll_binding_keypad),
3568 (add_scroll_binding_shifted), (ev_view_class_init):
3570 Shift + Space scrolls up. Fix for #173184
3572 * shell/ev-window.c: (ev_window_open_page),
3573 (ev_window_cmd_view_reload):
3575 Fix reload (Bug #300094)
3577 2005-04-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3580 * dvi/mdvi-lib/assoc.c:
3581 * dvi/mdvi-lib/assoc.h: Removed garbage files
3583 * dvi/mdvi-lib/bitmap.c:
3584 * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3585 (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3586 * dvi/mdvi-lib/color.h: Antialias of rules
3588 * dvi/mdvi-lib/common.h:
3589 * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3590 (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3591 * dvi/mdvi-lib/files.c:
3592 * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3593 * dvi/mdvi-lib/mdvi.h:
3594 * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3595 * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3596 * dvi/mdvi-lib/util.c: Fix compile warnings
3598 * dvi/dvi-document.c:
3599 (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3600 (dvi_document_thumbnails_get_thumbnail),
3601 (dvi_document_document_thumbnails_iface_init):
3602 * dvi/mdvi-lib/Makefile.am:
3603 * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3604 (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3606 Dvi backend now renders thumbnails
3608 2005-04-09 Christian Persch <chpe@cvs.gnome.org>
3610 * shell/main.c: (main):
3612 Save accelerators on exit. Fixes bug #172095.
3614 Sat Apr 9 01:05:09 2005 Jonathan Blandford <jrb@redhat.com>
3616 * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3617 update priority" comment.
3619 * backend/ev-job-queue.c: Give a way to change priority.
3621 Sat Apr 9 00:05:36 2005 Jonathan Blandford <jrb@redhat.com>
3623 * shell/ev-page-action.c: Fix logic.
3625 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3627 * shell/ev-view.c: (ev_view_can_find_next):
3628 * shell/ev-window.c: (ev_window_setup_document):
3630 Check that the document supports find
3632 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3634 * data/evince-ui.xml:
3635 * shell/ev-view.c: (ev_view_can_find_next):
3637 * shell/ev-window.c: (update_action_sensitivity),
3638 (find_changed_cb), (ev_window_setup_document),
3639 (ev_window_cmd_edit_find_next):
3643 2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
3645 * pdf/ev-poppler.cc:
3646 * shell/ev-print-job.c: (idle_print_handler):
3648 Make printing work again
3650 Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
3652 * shell/ev-page-action.h:
3653 * shell/ev-page-action.c: (ev_page_action_widget_init),
3654 (ev_page_action_widget_class_init), (page_changed_cb),
3655 (create_tool_item), (update_page_cache), (build_new_tree_cb),
3656 (get_filter_model_from_model), (match_selected_cb),
3657 (display_completion_text), (match_completion), (update_model),
3658 (connect_proxy), (ev_page_action_set_property),
3659 (ev_page_action_get_property), (ev_page_action_set_document),
3660 (ev_page_action_set_model), (ev_page_action_class_init): Big
3661 reworking to make completions work iff we have >= GTK-2.7.0
3663 * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3664 (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3665 (job_finished_cb): We now have a 'model' property that is set when
3666 the links are loaded. This can be caught with "notify::model"
3668 * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3669 listen for the model to be set, and propagate it to the action.
3671 2005-04-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3673 * cut-n-paste/recent-files/egg-recent-item.c:
3674 (egg_recent_item_set_uri), (make_valid_utf8),
3675 (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3676 * cut-n-paste/recent-files/egg-recent-item.h:
3678 Update egg-recent from libegg. This should fix long
3679 startup problem. For details see
3680 http://bugzilla.gnome.org/show_bug.cgi?id=160531
3682 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3684 * cut-n-paste/recent-files/Makefile.am:
3685 * data/evince-ui.xml, shell/Makefile.am:
3686 * shell/ev-application.c, shell/ev-application.h:
3687 * shell/ev-window.c: Recent files support.
3689 * configure.ac: Added "ru" to ALL_LINGUAS.
3691 * dvju: new backend to support DJVU files.
3692 * dvi: new backend to support DVI.
3694 * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3695 * ev-application.c: Support for new backends.
3697 * help, ev-window.c, main.c shell/Makefile.am:
3698 Evince user documentation.
3700 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3703 * shell/ev-window.c:
3704 * thumbnailer/evince-thumbnailer.c:
3706 s/pdf-document/ev-poppler
3708 2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
3715 * ps/ps-document.c: (setup_pixmap):
3719 2005-04-05 Kristian Høgsberg <krh@redhat.com>
3721 * backend/ev-page-cache.c (ev_page_cache_next_page):
3722 * shell/ev-window.c (ev_window_cmd_go_next_page)
3723 (ev_window_cmd_go_first_page): Fix of by one errors.
3725 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3727 * ps/ps-document.c: (get_page_box):
3729 Fix page size calculation
3731 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3733 * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3734 (ps_document_cleanup), (setup_pixmap), (get_page_box),
3735 (get_page_orientation), (setup_page), (document_load),
3736 (ps_document_get_page_size), (render_pixbuf_idle):
3739 More refactoring to adapt to EvDocument changes
3741 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3743 * ps/ps-document.c: (start_interpreter):
3745 Actually add alpha args
3747 2005-04-05 Marco Pesenti Gritti <mpg@redhat.com>
3749 * pdf/ev-poppler.cc:
3751 Make clipboard work again
3753 2005-04-04 Kristian Høgsberg <krh@redhat.com>
3755 Make searching work again.
3757 * backend/ev-document.c:
3758 * backend/ev-document.h:
3759 * backend/ev-document-find.c:
3760 * backend/ev-document-find.h: Change EvDocumentIface so we no
3761 longer store the current page or zoom level in the document. The
3762 consequence is that all calls that operate on the current page now
3763 instead take the page number as an extra argument, and all
3764 coordinates are now doubles in document coordinate system.
3766 * pdf/ev-poppler.cc:
3767 * pixbuf/pixbuf-document.c:
3768 * ps/ps-document.c: Update backends accordingly.
3770 2005-04-04 Marco Pesenti Gritti <marco@gnome.org>
3774 Add required gettext version
3776 Sat Apr 2 18:57:00 2005 Jonathan Blandford <jrb@redhat.com>
3778 * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3779 make F1 bring up non-existent help.
3781 * shell/eggfindbar.c: Patch from Christian Persch to sync to
3782 epiphany's find bar, #167477
3784 * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3785 <emil@nishra.com> to add space-bar scrolling,
3787 * shell/ev-window.c (static GtkActionEntry entries): add default
3788 keybinding for Help (F1)
3791 * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3792 changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3795 2005-04-01 David Malcolm <dmalcolm@redhat.com>
3798 * pixbuf/pixbuf-document.c:
3800 Got pixbuf backend working again
3802 2005-04-01 Steve Murphy <murf@e-tools.com>
3804 * configure.in: Added "rw" to ALL_LINGUAS.
3806 Fri Apr 1 02:33:41 2005 Jonathan Blandford <jrb@redhat.com>
3808 * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3809 model types, noticed by Martin Kretzschmar.
3811 2005-04-01 Kristian Høgsberg <krh@redhat.com>
3813 * pdf/ev-poppler.cc: Implement search based on
3814 poppler_page_find_text(). Currently a bit crude since we remember
3815 all matches from all pages. Also, we grab the big document lock
3816 when we search since searching changes the underlying stream and
3817 thus conflicts with the rendering thread.
3819 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3820 (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3821 (ev_view_find_previous): Fix some page indexes to be 0 based,
3822 offset rubber band by view offset,
3824 Fri Apr 01 09:21:12 2005 Pablo Saratxaga <pablo@mandrakesoft.com>
3826 * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3828 Fri Apr 1 01:59:39 2005 Jonathan Blandford <jrb@redhat.com>
3830 * shell/ev-page-action.c: Changed to use page labels now. Rewrote
3831 completely because I didn't understand GtkActions. I should
3832 read Marco's code more carefully in the future.
3834 * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3837 2005-03-31 Kristian Høgsberg <krh@redhat.com>
3839 * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3840 PopplerRectangle change from poppler CVS.
3842 Thu Mar 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
3844 * backend/ev-document.c: (ev_document_get_page_label):
3845 * backend/ev-document.h:
3846 * backend/ev-page-cache.c: (_ev_page_cache_new),
3847 (ev_page_cache_get_page_label):
3848 * backend/ev-page-cache.h:
3849 * pdf/ev-poppler.cc:
3850 * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3851 (links_page_num_func):
3852 * shell/ev-sidebar-thumbnails.c:
3853 (ev_sidebar_thumbnails_set_document):
3854 * shell/ev-view.c: (status_message_from_link),
3855 (ev_view_motion_notify_event):
3856 * shell/ev-window.c: (document_supports_sidebar): Add in page
3857 label support. It's not perfect yet, but it's the first 'feature'
3859 Also, fix a bogus comment noticed by crispin.
3861 Thu Mar 31 01:21:58 2005 Jonathan Blandford <jrb@redhat.com>
3863 * Makefile.am: Remove pixbuf backend for now
3865 * configure.ac: Require poppler-glib instead of just poppler.
3867 * backend/ev-document-thumbnails.h: Add a comment
3869 * backend/ev-document.h:
3870 * backend/ev-document.c: (ev_document_class_init),
3871 (ev_document_load), (ev_document_get_link),
3872 (ev_document_get_links): Remove 3 methods and add get_links.
3875 * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3876 * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3878 * backend/ev-link.c: (ev_link_set_title),
3879 (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3880 (ev_link_mapping_find):
3881 * backend/ev-link.h: Allow NULL titles. Also, introduce a mapping link.
3883 * backend/ev-page-cache.c: (ev_page_cache_init),
3884 (_ev_page_cache_new), (ev_page_cache_set_current_page),
3885 (ev_page_cache_get_size), (ev_page_cache_next_page),
3886 (ev_page_cache_prev_page): Fix to be 0 based.
3890 * pdf/ev-poppler.cc: New backend.
3892 * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3893 (ps_document_get_page), (ps_document_document_iface_init):
3895 * shell/ev-pixbuf-cache.h:
3896 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3897 (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3898 (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3899 (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3900 (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3901 Fix up code to grab a page cache per each doc. Also, fix to be 0
3904 * shell/ev-sidebar-thumbnails.c:
3905 (ev_sidebar_tree_selection_changed), (page_changed_cb),
3906 (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3908 * shell/ev-view.c: (status_message_from_link),
3909 (find_page_at_location), (get_link_at_location),
3910 (ev_view_motion_notify_event), (ev_view_button_release_event),
3911 (ev_view_init): Use the new link code. Fix to be 0 based.
3913 * shell/ev-window.c: (update_action_sensitivity),
3914 (document_supports_sidebar): 0 based.
3916 Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
3918 * pdf/pdf-document.cc: Patch from Fernando Herrera
3919 <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3922 Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
3924 * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3925 1 to the page, as this seems to be 1 based. I thought we has this
3928 2005-03-23 Marco Pesenti Gritti <marco@gnome.org>
3931 * backend/Makefile.am:
3932 * backend/ev-document-links.c:
3933 (ev_document_links_has_document_links),
3934 (ev_document_links_get_links_model):
3935 * backend/ev-document-links.h:
3936 * backend/ev-document.c: (ev_document_get_page_cache),
3937 (ev_document_get_doc_mutex), (ev_document_load),
3938 (ev_document_save), (ev_document_get_title),
3939 (ev_document_get_n_pages), (ev_document_set_page),
3940 (ev_document_get_page), (ev_document_set_target),
3941 (ev_document_set_scale), (ev_document_set_page_offset),
3942 (ev_document_get_page_size), (ev_document_get_text),
3943 (ev_document_get_link), (ev_document_render),
3944 (ev_document_render_pixbuf), (ev_document_scale_changed):
3945 * backend/ev-document.h:
3946 * backend/ev-job-queue.c: (remove_object_from_queue),
3947 (notify_finished), (handle_job), (search_for_jobs_unlocked),
3948 (no_jobs_available_unlocked), (ev_render_thread),
3949 (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3950 (ev_job_queue_remove_job):
3951 * backend/ev-job-queue.h:
3952 * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3953 (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3954 (ev_job_links_class_init), (ev_job_render_init),
3955 (ev_job_render_dispose), (ev_job_render_class_init),
3956 (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3957 (ev_job_thumbnail_class_init), (ev_job_finished),
3958 (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3959 (ev_job_render_run), (ev_job_thumbnail_new),
3960 (ev_job_thumbnail_run):
3961 * backend/ev-jobs.h:
3962 * backend/ev-link.c:
3963 * backend/ev-link.h:
3964 * backend/ev-page-cache.c: (ev_page_cache_init),
3965 (ev_page_cache_class_init), (ev_page_cache_finalize),
3966 (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3967 (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3968 (ev_page_cache_set_link), (ev_page_cache_get_title),
3969 (ev_page_cache_get_size), (ev_page_cache_next_page),
3970 (ev_page_cache_prev_page):
3971 * backend/ev-page-cache.h:
3972 * pdf/pdf-document.cc:
3975 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3976 (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3977 (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3978 (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3979 (is_interpreter_ready), (output), (catchPipe), (input),
3980 (start_interpreter), (check_filecompressed), (compute_dimensions),
3981 (ps_document_enable_interpreter), (document_load),
3982 (ps_document_next_page), (render_page), (ps_document_set_page),
3983 (ps_document_set_scale), (render_pixbuf_idle),
3984 (ps_document_render_pixbuf), (ps_document_document_iface_init):
3986 * shell/Makefile.am:
3987 * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3988 (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3989 (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3990 (ev_pixbuf_cache_new), (job_finished_cb),
3991 (check_job_size_and_unref), (move_one_job),
3992 (ev_pixbuf_cache_update_range), (find_job_cache),
3993 (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3994 (ev_pixbuf_cache_add_jobs_if_needed),
3995 (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3996 * shell/ev-pixbuf-cache.h:
3997 * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3998 (idle_print_handler):
3999 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
4000 (selection_changed_cb), (create_loading_model),
4001 (ev_sidebar_links_construct), (links_page_num_func),
4002 (ev_sidebar_links_clear_document), (update_page_callback_foreach),
4003 (update_page_callback), (job_finished_cb),
4004 (ev_sidebar_links_set_document):
4005 * shell/ev-sidebar-thumbnails.c:
4006 (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
4007 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
4008 (page_changed_cb), (thumbnail_job_completed_callback),
4009 (ev_sidebar_thumbnails_set_document):
4010 * shell/ev-sidebar-thumbnails.h:
4011 * shell/ev-sidebar.c: (ev_sidebar_set_document):
4012 * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
4013 (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
4014 (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
4015 (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
4016 (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
4017 (ev_view_button_release_event), (ev_view_scroll_view),
4018 (ev_view_class_init), (ev_view_init), (update_find_status_message),
4019 (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
4020 (ev_view_new), (job_finished_cb), (page_changed_cb),
4021 (ev_view_set_document), (go_to_link), (ev_view_zoom),
4022 (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
4023 (ev_view_find_previous):
4025 * shell/ev-window.c: (update_action_sensitivity),
4026 (ev_window_open_page), (update_window_title), (update_total_pages),
4027 (page_changed_cb), (ev_window_setup_document),
4028 (password_dialog_response), (ev_window_cmd_save_as),
4029 (ev_window_print), (ev_window_cmd_go_previous_page),
4030 (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
4031 (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
4032 (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
4033 * shell/main.c: (main):
4035 Merge evince-threads branch
4037 2005-03-16 Žygimantas Beručka <uid0@akl.lt>
4039 * configure.ac: Added "lt" to ALL_LINGUAS.
4041 2005-03-14 Marco Pesenti Gritti <marco@gnome.org>
4048 2005-03-13 Fernando Herrera <fherrera@onirica.com>
4050 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4052 Fix here also the thumbnails 1-basedness :)
4054 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4061 2005-03-12 Marco Pesenti Gritti <marco@gnome.org>
4063 * pdf/pdf-document.cc:
4064 * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
4065 (do_one_iteration), (ev_sidebar_thumbnails_set_document):
4067 Fix the mess we did with thumbnails and 1-basedness
4069 2005-03-12 Changwoo Ryu <cwryu@debian.org>
4071 * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
4073 2005-03-09 Marco Pesenti Gritti <marco@gnome.org>
4080 2005-03-08 Marco Pesenti Gritti <marco@gnome.org>
4083 * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
4084 (gtk_gs_defaults_get_alpha_parameters),
4085 (gtk_gs_defaults_get_ungzip_cmd),
4086 (gtk_gs_defaults_get_unbzip2_cmd):
4088 * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
4089 (ps_document_get_orientation), (document_load),
4090 (ps_document_goto_page), (ps_document_set_page_size):
4093 Some more sanitization of the ps backend. Remove a lot
4094 of unused code and do not base our defaults on ggv
4097 2005-03-08 Fernando Herrera <fherrera@onirica.com>
4099 * thumbnailer/evince-thumbnailer.schemas:
4100 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4101 (main): add -s option for thumbnail size.
4103 2005-03-07 Christian Persch <chpe@cvs.gnome.org>
4107 AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4110 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4112 * pdf/pdf-document.cc:
4114 Remove 4 pixels of useless border from the
4117 2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
4119 * backend/ev-document-thumbnails.c:
4120 (ev_document_thumbnails_get_thumbnail):
4121 * backend/ev-document-thumbnails.h:
4123 Rework API a bit. Add a border flag and
4124 change sizing logic (now the size we specify
4125 applies to the bigger dimension).
4127 * pdf/pdf-document.cc:
4128 * pixbuf/pixbuf-document.c:
4129 (pixbuf_document_thumbnails_get_thumbnail):
4130 * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4131 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4133 Adapt to the new API and do not draw a border for nautilus
4136 2005-03-03 Fernando Herrera <fherrera@onirica.com>
4138 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4139 take thumbnails from page "0" instead of "1". Added a copyright header.
4141 2005-03-03 Jens Granseuer <jensgr@gmx.net>
4143 * ps/ps-document.c: (set_up_page), (start_interpreter):
4145 Make it C89 compliant
4147 2005-03-03 Marco Pesenti Gritti <marco@gnome.org>
4152 * pdf/pdf-document.cc:
4153 * thumbnailer/Makefile.am:
4154 * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4156 * thumbnailer/evince-thumbnailer.schemas:
4157 * thumbnailer/pdf-icon.png:
4159 Add a nautilus thumbnailer.
4160 Based on patch by Fernando Herrera <fherrera@onirica.com>.
4162 2005-03-02 Marco Pesenti Gritti <marco@gnome.org>
4170 2005-03-01 Kristian Høgsberg <krh@redhat.com>
4172 Use poppler instead of including xpdf source code. Poppler is a
4173 fork of xpdf to build it as a shared library. See
4174 http://freedesktop.org/wiki/Software/poppler.
4176 * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4179 * pdf/Makefile.am: Build libpdfdocument.a here.
4181 * pdf/GDKSplashOutputDev.cc:
4182 * pdf/GDKSplashOutputDev.h:
4183 * pdf/GnomeVFSStream.cc:
4184 * pdf/GnomeVFSStream.h:
4187 * test-gdk-output-dev.cc
4189 * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4192 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4194 * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4196 Clear idle stack before unsetting the document
4198 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4200 * ps/ps-document.c: (ps_document_widget_event),
4201 (ps_document_set_target), (ps_document_finalize),
4202 (ps_document_get_page):
4204 Disconnect the widget event signal on finalize.
4207 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4209 * ps/ps-document.c: (set_up_page):
4211 If there is no bpixmap create one, even if size
4214 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4216 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4217 (set_up_page), (document_load), (ps_document_set_zoom):
4219 Default page is 0. Calculate size even when we have no
4222 2005-02-28 Carlos Garcia Campos <carlosgc@gnome.org>
4224 * shell/ev-sidebar.c: expand the selection widget to be always as
4227 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4229 * shell/ev-sidebar-thumbnails.c:
4230 (ev_sidebar_thumbnails_set_document):
4232 Clear the list store when setting document
4234 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4236 * shell/ev-page-action.c: (update_entry), (sync_entry),
4237 (activate_cb), (entry_size_request_cb), (create_tool_item),
4240 Use an entry for the page control instead of spinbuttons
4242 2005-02-28 Marco Pesenti Gritti <marco@gnome.org>
4244 * data/evince.schemas.in:
4246 Correct confusing string
4248 Sun Feb 27 23:00:31 2005 Jonathan Blandford <jrb@redhat.com>
4250 * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4251 for real. Gosh, how long has this been broken.
4253 * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4254 check for a NULL link. We crash otherwise.
4256 2005-02-27 Marco Pesenti Gritti <marco@gnome.org>
4263 2005-02-25 Sebastien Bacher <seb128@debian.org>
4265 * configure.ac: add the french translation.
4267 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4269 * shell/ev-window.c:
4271 Remove unused header -> fix distcheck
4273 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4275 * shell/ev-window.c: (update_window_title),
4276 (ev_window_popup_password_dialog):
4278 Unescape filename for display
4280 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4282 * pdf/xpdf/pdf-document.cc:
4284 In get_page_size deal with rotation. Also
4285 cleanup the function a bit.
4287 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4289 * pdf/xpdf/pdf-document.cc:
4291 Fix crash when opening in new window
4293 2005-02-25 Marco Pesenti Gritti <marco@gnome.org>
4297 Check ghostscript >= 7
4299 2005-02-25 Pedro Villavicencio <pvillavi@gnome.cl>
4301 * shell/ev-window.c:
4303 Make page width the default sizing mode
4305 2005-02-25 Carlos Garcia Campos <carlosgc@gnome.org>
4306 Marco Pesenti Gritti <marco@gnome.org>
4308 * shell/ev-window.c: Remember the sidebar size
4310 * data/evince.schemas.in: Add a new gconf key to store the size of
4313 2005-02-24 Kai Willadsen <kaiw@itee.uq.edu.au>
4315 * data/evince-ui.xml:
4316 * shell/ev-window.c: (update_action_sensitivity),
4317 (ev_window_cmd_view_reload):
4319 Add a "Reload" action and menu entry
4321 Thu Feb 24 23:07:33 2005 Jonathan Blandford <jrb@redhat.com>
4323 * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4324 iff the type doesn't support thumbnailing and indexing.
4326 2005-02-24 Martin Kretzschmar <martink@gnome.org>
4328 * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4330 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4332 * pdf/splash/Splash.cc:
4334 Port fix for a crasher from kde bug
4335 http://bugs.kde.org/show_bug.cgi?id=97131
4337 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4339 * pdf/xpdf/pdf-document.cc:
4341 Return a link even if it's of an unrecognized
4342 type. Otherwise we go in an infinte cycle.
4344 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4346 * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4347 (size_allocate_cb), (ev_window_set_sizing_mode):
4349 Update size when switching mode
4351 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4353 * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4354 (ev_window_cmd_view_page_width), (update_sizing_buttons),
4355 (ev_window_cmd_view_normal_size):
4357 Fix size toggle buttons behavior
4359 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4361 * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4362 (doc_rect_to_view_rect), (ev_view_size_allocate),
4363 (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4364 (scale_changed_callback):
4366 Do not cache offsets in size_allocate.
4368 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4370 * shell/ev-view.c: (ev_view_size_allocate):
4372 Calculate offsets before calling the parent
4373 class (which does a redraw)
4375 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4377 * pdf/xpdf/pdf-document.cc:
4379 Fix a crasher on exit. Unused code, put a TODO
4381 2005-02-24 Marco Pesenti Gritti <marco@gnome.org>
4383 * backend/ev-document.c: (ev_document_class_init),
4384 (ev_document_page_changed), (ev_document_scale_changed):
4385 * backend/ev-document.h:
4387 Separate page/scale notifications
4389 * pdf/xpdf/pdf-document.cc:
4391 Emit the new signals.
4392 Do not display the pdf page in _render, do it
4393 when scale/page are requested.
4395 * ps/ps-document.c: (ps_document_set_zoom),
4396 (ps_document_widget_event):
4399 Emit the new signals.
4401 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4402 (ev_view_init), (page_changed_callback), (scale_changed_callback),
4403 (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4404 (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4406 * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4407 (ev_window_cmd_view_page_width), (size_allocate_cb),
4408 (ev_window_set_sizing_mode):
4410 Rework sizing to be pixel based.
4411 There are bugs but should be already way better.
4413 2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
4415 * shell/ev-window.c: (ev_window_init):
4417 Do not allow to shrink sidebar smaller then
4420 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org>
4422 * shell/ev-sidebar.[ch]
4423 * shell/ev-window.c:
4425 Improved sidebar widget. Fixes #166683
4427 2005-02-23 Tommi Vainikainen <thv@iki.fi>
4429 * shell/ev-view.c (update_find_status_message): Give translators
4430 more flexibility with ngettext plural handling.
4432 Mon Feb 21 17:52:08 2005 Jonathan Blandford <jrb@redhat.com>
4434 * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4435 from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4436 page when we get the page size.
4438 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4440 * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4442 ps pages are 0 based, convert
4444 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4446 * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4448 Initialize correct parent class. Set GError on document load
4450 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4452 * pdf/xpdf/pdf-document.cc:
4454 Fixup selection offset calculation
4456 * shell/ev-view.c: (view_rect_to_doc_rect),
4457 (doc_rect_to_view_rect), (ev_view_size_allocate),
4458 (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4459 (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4461 Store selection as document relative, so that zooming
4462 and offset changing doesnt break it.
4464 2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
4466 * shell/ev-view.c: (ev_view_best_fit):
4468 Do not try to best fit if the view is not realized
4470 2005-02-20 Kostas Papadimas <pkst@gnome.org>
4472 * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4474 Fri Feb 18 16:06:39 2005 Jonathan Blandford <jrb@redhat.com>
4476 * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4478 Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com>
4480 * shell/ev-window.c: Change the fullscreen toolbar to always be in
4481 the popup window. That prevents it resizing when in full screen
4484 * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4485 multiple rerenders. This pretty much sucks.
4487 * data/evince-ui.xml: Change the fullscreen toolbar to include the
4488 rest of the toolbar.
4490 2005-02-18 Tommi Vainikainen <thv@iki.fi>
4492 * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4494 2005-02-17 Alexander Shopov <ash@contact.bg>
4496 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4498 2005-02-16 Bryan Clark <clarkbw@cvs.gnome.org>
4500 * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4502 2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
4504 * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4505 (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4506 (set_document_page), (document_changed_callback),
4507 (ev_view_set_document), (ev_view_find_previous),
4508 (ev_view_hide_cursor), (ev_view_show_cursor):
4510 * shell/ev-window.c: (update_chrome_visibility),
4511 (fullscreen_timeout_cb), (fullscreen_set_timeout),
4512 (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4513 (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4514 (ev_window_unfullscreen):
4515 * shell/main.c: (main):
4517 Automatically hide the fullscreen button.
4518 Patch by Kristian Høgsberg <krh@redhat.com>
4520 2005-02-16 Vincent Noel <vnoel@cox.net>
4522 * shell/main.c (main): Specify an icon for the window. Patch by
4523 Jaap A. Haitsma. Fixes #166177.
4525 Wed Feb 16 06:30:13 2005 Jonathan Blandford <jrb@redhat.com>
4527 * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4529 Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
4531 * backend/ev-document-misc.h:
4532 * backend/ev-document-misc.c:
4533 (ev_document_misc_get_page_border_size),
4534 (ev_document_misc_paint_one_page): New function to canonicalize
4535 sizing/painting a border.
4537 * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4540 * pdf/xpdf/pdf-document.cc: use new function
4542 * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4543 (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4544 (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4545 shell/ev-window.c: (update_sizing_buttons),
4546 (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4547 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4548 (ev_window_cmd_view_page_width), (size_allocate_cb),
4549 (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4550 and "fit width" values act as toggle buttons so they stay
4551 toggled. It's not 100% perfect, and it's a little slow, but it's
4552 good enough to commit I think.
4554 2005-02-15 David Lodge <dave@cirt.net>
4556 * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4558 2005-02-15 Martin Kretzschmar <martink@gnome.org>
4560 * shell/ev-window.c (update_window_title): replace newlines in
4561 the title by spaces. Bug #166107.
4563 2005-02-14 Martin Kretzschmar <martink@gnome.org>
4565 * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4566 parameters providing allocation width and height without
4567 scrollbars and width of a possible vertical scrollbar. With this
4568 additional information the functions can work as
4569 intended. Unfortunately they're not idempotent. We should
4570 transform these commands to toggles. Fixes Bug #164976
4571 Initial patch by Stephane Loeuillet, then heavily modified.
4573 * shell/ev-view.h: update prototypes.
4575 * shell/ev-window.c (ev_window_cmd_view_best_fit)
4576 (ev_window_cmd_view_page_width): provide EvView fit functions with
4577 all the information they need. Formulas to calculate this
4578 information taken from GtkScrolledWindow.
4580 2005-02-14 Crispin Flowerday <gnome@flowerday.cx>
4582 * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4583 created a thumbnail, the list store is updated to know
4584 that the thumbnail is set. Fixes bug #166792
4586 2005-02-11 Bryan Clark <clarkbw@cvs.gnome.org>
4588 * shell/ev-window.c: fixed typo, closes bug 166897
4590 * TODO: updated TODO with bug numbers that are relevant
4592 2005-02-09 Carlos Garcia Campos <carlosgc@gnome.org>
4594 * shell/ev-window.c: Support for DnD of files. Fixes #164813
4596 2005-02-09 Vincent Noel <vnoel@cox.net>
4598 * shell/ev-window.c: (set_action_properties): Set the "Previous"
4599 and "Next" toolbar buttons as important to make them stand out.
4601 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4605 * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4606 (start_interpreter), (stop_interpreter), (document_load),
4607 (ps_document_next_page), (ps_document_goto_page),
4608 (ps_document_set_page_size), (ps_document_widget_event),
4609 (ps_document_render):
4610 * shell/ev-page-view.c: (ev_page_view_dispose):
4611 * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4613 Fix compilation on non-gcc platforms
4615 2005-02-09 Marco Pesenti Gritti <marco@gnome.org>
4622 * pdf/xpdf/Catalog.cc:
4625 Fix the fix for CAN-2004-0888
4627 2005-02-09 Luca Ferretti <elle.uca@libero.it>
4630 * data/evince-ui.xml:
4631 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4632 * shell/ev-stock-icons.h:
4633 * shell/ev-window.c: (update_action_sensitivity),
4634 (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4635 (set_action_properties):
4637 Improve toolbar layout/icons
4639 2005-02-08 Marco Pesenti Gritti <marco@gnome.org>
4641 * pdf/xpdf/pdf-document.cc:
4643 Add warnings about unimplemented/unknown link
4646 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4648 * ps/ps-document.c: (set_up_page):
4652 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4654 * ps/ps-document.c: (start_interpreter):
4658 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4660 * shell/ev-page-view.c: (ev_page_view_dispose):
4661 * shell/ev-view.c: (ev_view_finalize):
4662 * shell/ev-window.c: (ev_window_setup_document),
4663 (ev_window_dispose), (ev_window_init):
4665 Solve more refs issues.
4667 I commented out the page_view initialization for now:
4668 it was never destroyed (because it's never added
4669 to a container). Because of that we was leaking
4670 gs processes. Couldnt think to a clean fix.
4671 We need to figure this out, password view has the
4672 same issue probably.
4674 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4676 * ps/ps-document.c: (ps_document_finalize),
4677 (ps_document_get_n_pages), (ps_document_get_page):
4679 Some cleanups, stop the interpreter on finalize
4681 * shell/ev-page-view.c: (ev_page_view_dispose),
4682 (ev_page_view_class_init):
4684 Release our reference on the document
4686 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4690 * doc/debugging.txt:
4693 * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4694 (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4695 (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4698 Add debugging helpers
4701 * ps/ps-document.c: (set_up_page), (start_interpreter),
4702 (stop_interpreter), (document_load), (ps_document_next_page),
4703 (ps_document_goto_page), (ps_document_set_page_size),
4704 (ps_document_widget_event), (ps_document_render):
4705 * shell/Makefile.am:
4706 * shell/ev-view.c: (expose_bin_window):
4707 * shell/main.c: (main):
4711 2005-02-07 Marco Pesenti Gritti <marco@gnome.org>
4713 * ps/ps-document.c: (ps_document_widget_event):
4715 Initialize message_window, this should make ps
4716 rendering really work! (Never noticed because I was
4717 testing with a ps that is causing gs to exit every time!)
4719 2005-02-07 Bryan Clark <clarkbw@cvs.gnome.org>
4721 * data/evince.schemas.in: updated simple error in applyto closing tag
4723 2005-02-07 Christian Persch <chpe@cvs.gnome.org>
4729 * data/evince-ui.xml:
4730 A data/evince.schemas.in:
4732 * shell/ev-stock-icons.c: (ev_stock_icons_init):
4733 * shell/ev-stock-icons.h:
4734 * shell/ev-window.c: (update_chrome_visibility),
4735 (update_chrome_flag), (ev_window_cmd_edit_find),
4736 (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4737 (ev_window_unfullscreen), (ev_window_focus_in_event),
4738 (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4739 (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4740 (ev_window_view_sidebar_cb), (find_bar_close_cb),
4741 (ev_window_dispose), (ev_window_class_init),
4742 (set_action_properties), (set_chrome_actions), (load_chrome),
4745 Implement fullscreen mode changes from bug #164776.
4746 Also implement persistent chrome toggles.
4748 2005-02-07 Jordi Mallach <jordi@sindominio.net>
4750 * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4752 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4758 Add another check for find interface
4762 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4764 * shell/ev-application.c: (ev_application_open):
4765 * shell/ev-window.c: (ev_window_open):
4767 Open gzipped ps documents
4769 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4772 * shell/ev-view.c: (set_document_page):
4774 Clamp page number, dont try to move to
4777 2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
4779 * backend/ev-document-find.c: (ev_document_find_changed):
4780 * backend/ev-document-find.h:
4781 * pdf/xpdf/pdf-document.cc:
4782 * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4783 * shell/ev-window.c: (find_bar_search_changed_cb):
4785 Fix several bugs with find
4787 2005-02-04 Martin Kretzschmar <martink@gnome.org>
4789 * shell/ev-sidebar-thumbnails.c
4790 (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4791 document. Prevents warning from scroll_to_cell.
4793 2005-02-02 Kjartan Maraas <kmaraas@gnome.org>
4795 * configure.ac: Add «nb» to ALL_LINGUAS too.
4797 Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com>
4799 * NOTES: New file with some random thoughts.
4803 * backend/ev-document-misc.c:
4804 (ev_document_misc_get_page_border_size): New function to
4805 canonicalize shadow drawing sizes. Possibly goofy.
4807 * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4808 (ev_view_best_fit), (ev_view_fit_width):
4809 * pdf/xpdf/pdf-document.cc:
4810 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4811 * ps/ps-document.c: (ps_document_get_page_size):
4812 * backend/ev-document-misc.h:
4813 * backend/ev-document.c: (ev_document_get_page_size):
4814 * backend/ev-document.h: get_page_size now takes a page number
4815 parameter. Made all the backends/frontends honor it.
4817 * data/evince-ui.xml: Added a multiple-page mode. Uncomment to
4818 see. Doesn't work yet.
4820 * shell/Makefile.am:
4821 * shell/ev-page-view.[ch]: New multi-page view. Really rough.
4822 Doesn't do anything yet.
4824 * shell/ev-sidebar-thumbnails.c:
4825 (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4828 * shell/ev-window.c: (update_action_sensitivity),
4829 (ev_window_setup_document), (ev_window_set_page_mode),
4830 (ev_window_page_mode_cb), (ev_window_init): Clean up the
4831 view-swapping code a bit so we can have multiple views on a
4832 document. Add the multi-page view, though it can't be turned on
4835 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4837 * shell/ev-application.c: (ev_application_open):
4838 * shell/ev-view.c: (expose_bin_window):
4839 * shell/ev-window.c: (ev_window_open):
4841 Support eps and check document supports find
4842 before drawing highlightings in expose.
4844 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
4846 * pixbuf/pixbuf-document.c:
4847 (pixbuf_document_thumbnails_get_dimensions),
4848 (pixbuf_document_document_thumbnails_iface_init):
4850 implement get_dimensions
4852 2005-02-01 Marco Pesenti Gritti <marco@gnome.org>
4859 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4861 * shell/ev-view.c: (set_document_page):
4863 Scroll at the top of the page when changing page
4865 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4867 * shell/ev-view.c: (ev_view_motion_notify_event):
4869 Do not redraw unnecessarily
4871 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4873 * pdf/xpdf/pdf-document.cc:
4874 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4875 (expose_bin_window), (find_changed_cb):
4877 Yay! find works now... Now to find bugs...
4879 2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
4881 * backend/ev-document-find.c: (ev_document_find_base_init),
4882 (ev_document_find_changed):
4883 * backend/ev-document-find.h:
4884 * pdf/xpdf/pdf-document.cc:
4885 * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4886 (expose_bin_window), (ev_view_init), (set_document_page),
4887 (ensure_rectangle_is_visible), (jump_to_find_result),
4888 (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4889 (ev_view_find_next), (ev_view_find_previous):
4891 * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4893 More work on find implementation, mostly there now
4895 2005-01-29 Marco Pesenti Gritti <marco@gnome.org>
4897 * backend/ev-backend-marshalers.list:
4898 * backend/ev-document-find.c: (ev_document_find_base_init),
4899 (ev_document_find_cancel), (ev_document_find_page_has_results),
4900 (ev_document_find_get_n_results), (ev_document_find_get_result),
4901 (ev_document_find_get_progress), (ev_document_find_changed):
4902 * backend/ev-document-find.h:
4904 Enanche the find interface to be really able to do
4907 * pdf/xpdf/pdf-document.cc:
4911 * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4912 (expose_bin_window), (ev_view_init),
4913 (ev_view_get_find_status_message), (find_changed_cb),
4914 (ev_view_set_document), (set_document_page):
4916 Adapt to the new interface. A few things are regressed sorry,
4917 I will finish it soon.
4919 2005-01-28 Martin Kretzschmar <martink@gnome.org>
4921 * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4922 (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4923 ev_sidebar_thumbnails_parent_class variable, don't define another
4924 parent_class variable.
4926 * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4927 (ev_page_action_class_init): ditto.
4929 * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4930 (pixbuf_document_class_init): ditto.
4932 * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4935 * .cvsignore: ignore various valgrind output files.
4937 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4939 * data/evince-ui.xml:
4940 * shell/Makefile.am:
4941 * shell/ev-history.c:
4942 * shell/ev-history.h:
4943 * shell/ev-navigation-action.c:
4944 * shell/ev-navigation-action.h:
4945 * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4946 (ev_view_set_page), (ev_view_fit_width):
4948 * shell/ev-window.c: (update_action_sensitivity),
4949 (ev_window_setup_document), (register_custom_actions):
4951 Kill session history
4953 2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
4955 * shell/ev-window.c: (update_action_sensitivity):
4957 Fix inverted up/down buttons
4959 2005-01-27 Martin Kretzschmar <martink@gnome.org>
4961 * shell/ev-sidebar-thumbnails.c
4962 (ev_sidebar_thumbnails_select_page): make sure the selected
4963 thumbnail stays visible.
4965 2005-01-26 Martin Kretzschmar <martink@gnome.org>
4967 * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4968 scrolled window for Federico.
4970 2005-01-26 Ole Laursen <olau@hardworking.dk>
4972 * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4974 2005-01-26 Marco Pesenti Gritti <marco@gnome.org>
4977 * pdf/splash/SplashFTFontEngine.cc:
4979 Fix CID fonts with freetype 2.1.9
4981 2005-01-26 Bryan Clark <clarkbw@cvs.gnome.org>
4983 * TODO: added item for desktop icon thumbnailer
4985 Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
4987 * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4988 unloaded docs when the title is accessed.
4990 * shell/ev-password-view.[hc]: New widget for displaying password
4993 * shell/ev-window.[ch]: Refactor password handling code to handle
4996 2005-01-24 Marco Pesenti Gritti <marco@gnome.org>
5004 2005-01-23 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5006 * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
5007 ignore page offset here, to make search results independent of it,
5009 * shell/ev-view.c (expose_bin_window): but take offsets into
5010 account here. Bug #164932
5012 * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
5013 scale at the right time. Bug #164996
5015 2005-01-22 Martin Kretzschmar <martink@gnome.org>
5017 * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
5018 fix the problem. Now I just removed the Adobe font names and hope
5019 that the URW fonts are always in outline format. Bug #164934
5021 * shell/ev-window.c (update_window_title): empty titles are
5022 useless, use filename in that case too.
5024 * NEWS: Add some content.
5026 2005-01-21 Bryan Clark <clarkbw@cvs.gnome.org>
5028 * TODO: added one more TODO item and a TODONE section :)
5030 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5032 * ps/ps-document.h: add page_[xy]_offset fields.
5034 * ps/ps-document.c (ps_document_set_page_offset)
5035 (ps_document_render): Keep offset in consideration in a few
5036 places. Bug #164752 "postscript documents are not centered in
5039 * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
5040 s/gpdf/evince/. Spotted by Stephane Loeuillet.
5042 * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
5043 (pixbuf_document_get_text, pixbuf_document_document_iface_init):
5044 stub out missing methods for complete EvDocument implementation.
5045 Fixes segfaults with Save A Copy and Copy actions.
5047 * ps/ps-document.c (ps_document_save, ps_document_get_text)
5048 (ps_document_document_iface_init): ditto.
5050 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5054 * data/evince.desktop.in:
5058 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5060 * shell/ev-view.c: (ev_view_button_press_event),
5061 (ev_view_motion_notify_event):
5063 Make selection work in any direction
5065 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5068 * shell/ev-window.c: (set_short_labels), (ev_window_init):
5070 Use shorter labels for some of the toolbars items
5072 2005-01-21 Marco Pesenti Gritti <marco@gnome.org>
5074 * pdf/xpdf/pdf-document.cc:
5076 Check the links info is initialized before
5077 using it. Should fix a crash on startup.
5079 2005-01-21 Martin Kretzschmar <martink@gnome.org>
5081 * pixbuf/pixbuf-document.c
5082 (pixbuf_document_thumbnails_get_dimensions): force floating point
5083 division to calculate page_ratio. Fixes crash with landscape
5086 Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com>
5088 * shell/ev-view.c (ev_view_realize): make the bg color darker.
5090 2005-01-20 Martin Kretzschmar <martink@gnome.org>
5092 * shell/ev-view.c (set_document_page): unset has_selection when
5094 (set_document_page): handle paper size changes when the page
5095 changes (test with Free Culture, page 2).
5097 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5099 * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5100 (expose_bin_window), (ev_view_class_init), (ev_view_init):
5102 Use normal style color for the widget background and
5103 draw a black box around the page.
5105 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5107 * pdf/xpdf/pdf-document.cc:
5109 Keep offset in consideration in a few places
5111 * shell/ev-view.c: (expose_bin_window):
5113 Set the offsets so that the document is ever centered
5115 2005-01-20 Bryan Clark <clarkbw@cvs.gnome.org>
5117 * TODO: Added TODO items and finished off the first todo item
5119 * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5120 reflect current authors
5122 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5124 * pdf/xpdf/pdf-document.cc:
5125 * shell/ev-view.c: (ev_view_set_cursor),
5126 (ev_view_motion_notify_event), (document_changed_callback),
5127 (set_document_page):
5129 Show a wait cursor while the page is rendering
5131 2005-01-20 Marco Pesenti Gritti <marco@gnome.org>
5133 * shell/ev-sidebar-thumbnails.c:
5134 (ev_sidebar_tree_selection_changed),
5135 (ev_sidebar_thumbnails_select_page):
5136 * shell/ev-sidebar-thumbnails.h:
5137 * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5138 (ev_view_can_go_forward):
5139 * shell/ev-window.c: (ev_window_open_page),
5140 (ev_window_setup_document), (update_current_page),
5141 (view_page_changed_cb), (ev_window_init):
5142 * shell/ev-window.h:
5144 Ensure thumbnails selection, toolbar page control and
5145 current page are in sync.
5147 2005-01-19 Marco Pesenti Gritti <marco@gnome.org>
5153 Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com>
5155 * backend/Makefile.am:
5156 * backend/ev-document-links.h:
5157 * backend/ev-document-security.c: (ev_document_security_get_type),
5158 (ev_document_security_has_document_security),
5159 (ev_document_security_set_password):
5160 * backend/ev-document-security.h:
5161 * backend/ev-document.c: (ev_document_error_quark):
5162 * backend/ev-document.h:
5164 * data/evince-password.glade:
5165 * pdf/xpdf/pdf-document.cc:
5166 * shell/Makefile.am:
5167 * shell/ev-password.c: (ev_password_set_bad_password_label),
5168 (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5169 (ev_password_dialog_get_password),
5170 (ev_password_dialog_set_bad_pass):
5171 * shell/ev-password.h:
5172 * shell/ev-window.c: (ev_window_get_attribute),
5173 (ev_window_set_property), (update_action_sensitivity),
5174 (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5175 (ev_window_setup_document), (ev_window_get_password),
5176 (ev_window_open), (ev_window_cmd_save_as),
5177 (using_postscript_printer), (ev_window_print),
5178 (find_not_supported_dialog), (ev_window_cmd_edit_find),
5179 (update_fullscreen_popup), (ev_window_fullscreen),
5180 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5181 (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5182 (menu_item_select_cb), (find_bar_search_changed_cb),
5183 (ev_window_dispose), (ev_window_init):
5185 Add initial support for password-supported dialogs. This could be
5186 a lot cooler, but it'll do for now.
5188 2005-01-18 Marco Pesenti Gritti <marco@gnome.org>
5190 * pdf/xpdf/pdf-document.cc:
5191 * shell/ev-view.c: (status_message_from_link),
5192 (ev_view_set_status), (ev_view_set_cursor),
5193 (ev_view_motion_notify_event), (ev_view_init):
5194 * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5196 Fix bugs in the links implementation and change cursor
5197 when hovering a link.
5199 2005-01-17 Bryan Clark <clarkbw@cvs.gnome.org>
5201 * viewer/.cvsignore: added cvsignore file for viewer directory
5203 * TODO: created TODO document
5205 2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
5208 * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
5209 new functions to help with implementation of sensitivity code
5210 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5211 of all actions that might require it. Fixes a crash when you
5212 click on the Zoom actions in a window lacking a document.
5214 2005-01-13 Dave Malcolm <dmalcolm@redhat.com>
5216 * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5219 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5221 * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5222 (pixbuf_document_document_iface_init):
5223 * ps/ps-document.c: (ps_document_get_link),
5224 (ps_document_document_iface_init):
5225 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5226 (status_message_from_link), (ev_view_set_status),
5227 (ev_view_set_find_status), (ev_view_motion_notify_event),
5228 (ev_view_button_release_event), (ev_view_set_property),
5229 (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5230 (ev_view_get_find_status_message), (update_find_results),
5231 (ev_view_get_status), (ev_view_get_find_status):
5233 * shell/ev-window.c: (view_status_changed_cb),
5234 (view_find_status_changed_cb), (ev_window_init):
5236 View status message support, use it to show the links.
5239 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5241 * backend/ev-document.c: (ev_document_get_link):
5242 * backend/ev-document.h:
5243 * pdf/xpdf/pdf-document.cc:
5244 * shell/ev-application.c: (ev_application_open):
5245 * shell/ev-application.h:
5246 * shell/ev-sidebar-links.c: (selection_changed_cb):
5247 * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5248 (ev_view_go_to_link):
5250 Add support for document links
5252 2005-01-13 Anders Carlsson <andersca@gnome.org>
5254 * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5256 Set the spin button limits correctly.
5258 * shell/ev-sidebar-thumbnails.c:
5259 (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5260 Support changing pages by clicking on the thumbnails.
5262 2005-01-13 Jeff Muizelaar <jeff@nit.ca>
5264 * pixbuf/pixbuf-document.c:
5265 (pixbuf_document_thumbnails_get_dimensions),
5266 (pixbuf_document_document_thumbnails_iface_init):
5268 implement get_dimensions
5270 2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
5272 * ps/ps-document.c: (ps_document_goto_page):
5274 Fix page switching on multipage documents
5276 2005-01-12 Jeff Muizelaar <jrmuizel@nit.ca>
5278 * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5280 check for NULL before assigning to width and height parameters
5282 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5284 * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5285 (pixbuf_document_set_property), (pixbuf_document_get_property):
5287 implement get/set properties
5289 2005-01-12 Jeff Muizelaar <jeff@nit.ca>
5291 * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5293 return NULL instead of "Unknown", letting the title get set to
5294 the filename when the pdf has no title.
5296 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5298 * ps/ps-document.c: (ps_document_get_page_count),
5299 (ps_document_goto_page):
5301 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5303 * shell/ev-history.c: (ev_history_get_property),
5304 (ev_history_set_property), (ev_history_class_init),
5305 (ev_history_add_page), (ev_history_set_current_index):
5306 * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5307 (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5308 (ev_navigation_action_finalize):
5309 * shell/ev-navigation-action.h:
5310 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5311 (ev_view_go_forward), (ev_view_get_find_status_message),
5312 (history_index_changed_cb), (ev_view_set_history):
5314 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5315 (update_current_page), (register_custom_actions):
5317 Implement history dropdowns
5319 2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
5321 * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5322 * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5323 (ev_view_go_forward):
5324 * shell/ev-window.c: (register_custom_actions):
5326 Fix several history bugs
5328 2005-01-11 Kjartan Maraas <kmaraas@gnome.org>
5330 * configure.ac: Add «nb» to ALL_LINGUAS.
5332 2005-01-10 Marco Pesenti Gritti <marco@gnome.org>
5334 * backend/Makefile.am:
5335 * backend/ev-bookmark.c:
5336 * backend/ev-bookmark.h:
5337 * backend/ev-document-bookmarks.c:
5338 * backend/ev-document-bookmarks.h:
5339 * backend/ev-document-links.c: (ev_document_links_get_type),
5340 (ev_document_links_has_document_links),
5341 (ev_document_links_begin_read), (ev_document_links_get_link),
5342 (ev_document_links_get_child), (ev_document_links_next),
5343 (ev_document_links_free_iter):
5344 * backend/ev-document-links.h:
5345 * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5346 (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5347 (ev_link_get_link_type), (ev_link_set_link_type),
5348 (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5349 (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5350 (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5351 (ev_link_new_external):
5352 * backend/ev-link.h:
5353 * pdf/xpdf/pdf-document.cc:
5354 * shell/Makefile.am:
5355 * shell/ev-application.c: (ev_application_open_link):
5356 * shell/ev-application.h:
5357 * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5358 (ev_history_get_link_nth):
5359 * shell/ev-history.h:
5360 * shell/ev-sidebar-bookmarks.c:
5361 * shell/ev-sidebar-bookmarks.h:
5362 * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5363 (ev_sidebar_links_class_init), (selection_changed_cb),
5364 (ev_sidebar_links_construct), (ev_sidebar_links_init),
5365 (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5366 (do_one_iteration), (populate_links_idle),
5367 (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5368 * shell/ev-sidebar-links.h:
5369 * shell/ev-sidebar.c: (ev_sidebar_set_document):
5370 * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5373 * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5374 * shell/ev-window.h:
5376 Rename bookmark to link, and use "Index" for the sidebar panel.
5378 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5380 * shell/Makefile.am:
5381 * shell/ev-application.c: (ev_application_open_bookmark):
5382 * shell/ev-application.h:
5383 * shell/ev-history.c: (ev_history_init), (free_links_list),
5384 (ev_history_finalize), (ev_history_class_init),
5385 (ev_history_add_link), (ev_history_add_page),
5386 (ev_history_get_link_nth), (ev_history_get_n_links),
5387 (ev_history_get_current_index), (ev_history_set_current_index),
5389 * shell/ev-history.h:
5390 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5391 * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5392 (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5393 (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5396 * shell/ev-window.c: (ev_window_open_bookmark),
5397 (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5398 (goto_page_cb), (register_custom_actions):
5399 * shell/ev-window.h:
5401 Initial history implementation. Needs work.
5403 2005-01-09 Martin Kretzschmar <martink@gnome.org>
5405 * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5407 2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
5409 * cut-n-paste/recent-files/egg-recent-item.c:
5410 * cut-n-paste/recent-files/egg-recent-item.h:
5411 * cut-n-paste/recent-files/egg-recent-model.c:
5412 * cut-n-paste/recent-files/egg-recent-util.c:
5413 * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5414 * cut-n-paste/recent-files/egg-recent-view.c:
5418 2005-01-08 Martin Kretzschmar <martink@gnome.org>
5420 * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5421 (fillGlyph, fillImageMask, drawImage):
5422 pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5423 pdf/splash/SplashTypes.h:
5424 pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5425 packed mode for Splash.
5427 * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5428 RGB8 packed mode, eliminates the pixbuf data creation loop.
5430 * shell/ev-print-job.c (ev_print_job_finalize)
5431 (ev_print_job_set_property, ev_print_job_get_property)
5432 (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5433 (ev_print_job_use_print_dialog_settings, idle_print_handler)
5434 (print_closure_finalize, ev_print_job_print): implement
5435 printing (for backends with EvPsExporter)
5437 * shell/ev_print_job.h: update prototypes.
5439 * shell/ev-window.c (ev_window_print): unref print job after
5442 * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5443 unless the document implements the EvDocumentFind interface.
5445 2005-01-08 Satoru SATOH <ss@gnome.gr.jp>
5447 * configure.ac: Added ja to ALL_LINGUAS.
5449 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5451 * pdf/xpdf/pdf-document.cc:
5453 add a FIXME. We should probably not allocate
5454 a bookmark object every time
5456 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5458 * shell/ev-application.c: (ev_application_open),
5459 (ev_application_open_bookmark):
5460 * shell/ev-application.h:
5462 Add a way to open bookmarks
5464 * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5465 (ev_bookmark_set_uri), (ev_bookmark_get_property),
5466 (ev_bookmark_set_property), (ev_bookmark_class_init),
5467 (ev_bookmark_new_title), (ev_bookmark_new_link),
5468 (ev_bookmark_new_external):
5470 Support for external uris, better constructors.
5472 * backend/ev-bookmark.h:
5473 * pdf/xpdf/pdf-document.cc:
5474 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5476 Handle external uris
5478 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5480 * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5481 (ev_sidebar_bookmarks_construct), (do_one_iteration):
5483 Hook up bookmarks navigation
5485 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5487 * backend/Makefile.am:
5488 * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5489 (ev_bookmark_get_title), (ev_bookmark_set_title),
5490 (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5491 (ev_bookmark_get_page), (ev_bookmark_set_page),
5492 (ev_bookmark_get_property), (ev_bookmark_set_property),
5493 (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5495 * backend/ev-bookmark.h:
5496 * backend/ev-document-bookmarks.c:
5497 (ev_document_bookmarks_get_bookmark):
5498 * backend/ev-document-bookmarks.h:
5499 * pdf/xpdf/pdf-document.cc:
5500 * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5502 Add a bookmark object to the backend and use it instead of get_values
5504 2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
5506 * data/evince-ui.xml:
5508 Cleanup and add select all.
5510 * shell/ev-view.c: (ev_view_select_all),
5511 (ev_view_button_press_event):
5513 * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5516 Clear selection on click.
5518 Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com>
5520 * shell/ev-sidebar-thumbnails.c
5521 (ev_sidebar_thumbnails_set_document): forgot to unref the
5524 Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com>
5526 * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5527 at the visible page, not just linearly. This makes it look fast.
5529 Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com>
5531 * backend/ev-document-misc.c
5532 (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5534 * backend/ev-document-thumbnails.h: New interface to get the size
5537 2005-01-06 Jeremy Katz <katzj@redhat.com>
5539 * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5542 Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com>
5544 * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5545 GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
5548 * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5550 2005-01-05 Martin Kretzschmar <martink@gnome.org>
5552 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5553 fonts. Should fix font problems on systems that have the base
5554 fonts in bitmap format. Reported by James Henstridge
5555 <james@jamesh.id.au>.
5557 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5560 * pdf/xpdf/GfxState.cc:
5562 Fix for CAN-2004-1125
5564 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5566 * shell/ev-view.c: (ev_view_copy):
5568 * shell/ev-window.c: (ev_window_cmd_edit_copy):
5570 Implement Edit->Copy
5572 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5574 * backend/ev-document.c: (ev_document_get_text):
5575 * backend/ev-document.h:
5576 * pdf/xpdf/pdf-document.cc:
5577 * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5578 (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5579 (ev_view_update_primary_selection), (ev_view_button_press_event),
5580 (ev_view_motion_notify_event), (ev_view_button_release_event):
5582 Beginnings of clipboard support. Incomplete but primary sort
5585 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5587 * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5588 (expose_bin_window):
5590 Nicer rubberband drawing, from GtkIconView.
5592 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5594 * backend/ev-document.c: (ev_document_save):
5595 * backend/ev-document.h:
5596 * data/evince-ui.xml:
5597 * pdf/xpdf/pdf-document.cc:
5598 * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5600 Implement "Save a copy..." menu item
5602 2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
5604 * shell/ev-view.c: (ev_view_zoom):
5606 Queue a resize when zoom changes
5608 Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com>
5610 * backend/ev-document-misc.[ch]: New misc file to do simple drop
5613 * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5616 Tue Jan 4 22:32:32 2005 Jonathan Blandford <jrb@redhat.com>
5618 * pdf/xpdf/pdf-document.cc
5619 (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5621 Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com>
5623 * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5624 It's slow, but I'll speed it up next!
5626 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca>
5628 * shell/main.c (load_files):
5630 use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5631 from the command line and because it seems more appropriate.
5633 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5635 * data/evince-ui.xml:
5636 * shell/ev-window.c: (update_action_sensitivity),
5637 (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5639 s/next page/page down
5640 s/previous page/page up
5642 2005-01-04 Marco Pesenti Gritti <marco@gnome.org>
5644 * data/evince-ui.xml:
5646 Change the layout to match clarkbw design.
5648 * shell/Makefile.am:
5649 * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5650 (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5651 (ev_navigation_action_finalize),
5652 (ev_navigation_action_set_property),
5653 (ev_navigation_action_get_property),
5654 (ev_navigation_action_class_init):
5655 * shell/ev-navigation-action.h:
5657 Implement clarkbw toolbar navigation controls (incomplete)
5659 * shell/ev-page-action.c: (update_label), (update_spin),
5660 (value_changed_cb), (create_tool_item), (connect_proxy),
5661 (ev_page_action_init), (ev_page_action_finalize),
5662 (ev_page_action_set_property), (ev_page_action_get_property),
5663 (ev_page_action_set_current_page),
5664 (ev_page_action_set_total_pages), (ev_page_action_class_init):
5665 * shell/ev-page-action.h:
5667 Implement a page switcher in the toolbar
5669 * shell/ev-view.c: (ev_view_scroll_view):
5670 * shell/ev-window.c: (update_total_pages), (ev_window_open),
5671 (update_current_page), (view_page_changed_cb), (goto_page_cb),
5672 (register_custom_actions), (ev_window_init):
5674 Change page on PageUp/Down.
5676 Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com>
5678 * pdf/xpdf/pdf-document.cc
5679 (pdf_document_thumbnails_get_thumbnail): initial stab at
5680 implementing thumbnail support for pdfs. It only does documents
5681 with precached pdfs now.
5683 Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com>
5685 * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5686 thumbnail code into a time-based idle as well. Also, turn off the
5687 shadow temporarily as it's really slow.
5689 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5691 * backend/ev-document.c: (ev_document_class_init):
5692 * pdf/xpdf/pdf-document.cc:
5693 * shell/ev-window.c: (ev_window_open):
5695 Fix document title bugs and fallback to
5696 filename when not available.
5698 2005-01-03 Marco Pesenti Gritti <marco@gnome.org>
5700 * backend/ev-document.c: (ev_document_get_type),
5701 (ev_document_class_init), (ev_document_load),
5702 (ev_document_get_title):
5703 * backend/ev-document.h:
5704 * pdf/xpdf/pdf-document.cc:
5705 * ps/ps-document.c: (ps_document_set_property),
5706 (ps_document_get_property), (ps_document_class_init),
5710 * shell/ev-window.c: (update_window_title), (ev_window_open),
5713 Initial support for document title. Not working yet.
5715 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5717 * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5719 Grab focus on the view when clicking it
5721 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5723 * shell/ev-marshal.list:
5724 * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5725 (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5727 Add key bindings to the view. Now if the focus would work
5730 2005-01-02 Marco Pesenti Gritti <marco@gnome.org>
5733 * backend/Makefile.am:
5736 * dvi/dvilib/Makefile.am:
5737 * pdf/xpdf/Makefile.am:
5743 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5745 * shell/ev-view.c: (ev_view_realize):
5747 Fix mouse wheel scrolling
5749 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5755 * ps/ps-document.c: (catchPipe), (ps_document_init),
5756 (ps_document_class_init), (ps_document_cleanup),
5757 (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5758 (set_up_page), (close_pipe), (is_interpreter_ready),
5759 (interpreter_failed), (output), (input), (start_interpreter),
5760 (stop_interpreter), (file_length), (file_readable),
5761 (check_filecompressed), (check_pdf), (compute_xdpi),
5762 (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5763 (ps_document_get_type), (ps_document_emit_error_msg),
5764 (document_load), (ps_document_next_page),
5765 (ps_document_get_current_page), (ps_document_get_page_count),
5766 (ps_document_goto_page), (ps_document_set_page_size),
5767 (ps_document_zoom_to_fit), (ps_document_set_zoom),
5768 (ps_document_load), (ps_document_get_n_pages),
5769 (ps_document_set_page), (ps_document_get_page),
5770 (ps_document_widget_event), (ps_document_set_target),
5771 (ps_document_set_scale), (ps_document_set_page_offset),
5772 (ps_document_get_page_size), (ps_document_render),
5773 (ps_document_document_iface_init):
5776 * shell/ev-window.c: (ev_window_open):
5778 Rename GtkGS to PSDocument
5780 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5782 * ps/gtkgs.c: (gtk_gs_class_init):
5785 Some more leftover...
5787 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5789 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5790 (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5791 (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5794 Remove unused code and make a lot of stuff private
5796 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5798 * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5799 (gtk_gs_defaults_changed):
5805 Cleanup headers dependencies
5807 2005-01-01 Marco Pesenti Gritti <marco@gnome.org>
5812 * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5814 * ps/gtkgs.c: (file_length), (file_readable),
5815 (check_filecompressed), (check_pdf), (gtk_gs_load),
5816 (gtk_gs_get_postscript):
5820 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5825 * ps/gtkgs.c: (gtk_gs_set_zoom):
5829 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5831 * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5833 Ensure the page is rerendered when changing zoom
5835 2004-12-31 Marco Pesenti Gritti <marco@gnome.org>
5837 * backend/ev-document.c: (ev_document_base_init),
5838 (ev_document_changed):
5839 * backend/ev-document.h:
5841 Add a changed event that is emitted when the page content
5842 changes. This is necessary to deal with the fact that
5843 in ps backend rendering happen asycrounously.
5844 This makes the ps backend mostly work.
5846 * pdf/xpdf/pdf-document.cc:
5850 * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5851 (ps_document_set_target):
5855 * shell/ev-view.c: (document_changed_callback),
5856 (ev_view_set_document), (ev_view_set_page):
5858 Redraw on the changed signal
5860 2004-12-25 Raphael Higino <raphaelh@cvs.gnome.org>
5862 * configure.ac: Added pt_BR to ALL_LINGUAS.
5864 Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com>
5866 * backend/ev-document-bookmarks.c:
5867 (ev_document_bookmarks_get_child): *
5868 backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5869 pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5870 shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5871 (ev_sidebar_bookmarks_destroy),
5872 (ev_sidebar_bookmarks_class_init),
5873 (ev_sidebar_bookmarks_construct), (stack_data_free),
5874 (do_one_iteration), (populate_bookmarks_idle),
5875 (ev_sidebar_bookmarks_clear_document),
5876 (ev_sidebar_bookmarks_set_document): *
5877 shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5878 (ev_sidebar_add_page),
5879 (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5880 Initial stab at a bookmarks sidebar. It doesn't navigate yet, but
5881 it displays both the topics and the page numbers.
5883 2004-12-23 Kristian Høgsberg <krh@redhat.com>
5885 * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5887 * shell/ev-window.c (toggle_entries): Set sidebar default value to
5890 2004-12-23 Adam Weinberger <adamw@gnome.org>
5892 * configure.ac: Added en_CA to ALL_LINGUAS.
5894 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5896 * ChangeLog: replace bottom of this ChangeLog (merged history of
5897 ggv and gpdf; where all paths were wrong and most of the files are
5898 not even in this tree) with ChangeLog (from arch) of the shell
5901 2004-12-23 Havoc Pennington <hp@redhat.com>
5903 * shell/ev-window.c: hook up potentially-questionable "find
5904 results status text" feature - something involving the sidebar or
5905 scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5906 might be better in the end.
5908 * shell/ev-view.c (ev_view_get_find_status_message): new function,
5909 with corresponding signal when it should be updated
5911 * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5913 2004-12-22 Havoc Pennington <hp@redhat.com>
5915 * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5916 find stuff on other pages, sort of (only returns one result on
5917 invisible pages, to show they have results; updates full results
5918 for a page when you view it). Currently repaints the current page
5919 every time a new result is found on any page, which isn't so nice.
5921 2004-12-22 Havoc Pennington <hp@redhat.com>
5923 * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5924 the document doesn't support find (better ideas?)
5925 (find_bar_search_changed_cb): handle missing document or document
5926 that doesn't support find
5928 * pdf/xpdf/pdf-document.cc: port to implement the new
5931 * backend/ev-document-find.c: create a new interface for searching
5933 * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5935 2004-12-23 Martin Kretzschmar <martink@gnome.org>
5937 * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5940 * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5941 EvPrintJob constructor arguments.
5943 * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5944 for documents that can export PostScript (page by page).
5946 * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5948 * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5949 (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5950 (pdf_document_ps_exporter_iface_init:
5951 Implement EvPSExporter.
5953 * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5955 2004-12-22 Anders Carlsson <andersca@gnome.org>
5957 * backend/Makefile.am:
5958 * backend/ev-document-thumbnails.c:
5959 (ev_document_thumbnails_get_type),
5960 (ev_document_thumbnails_get_thumbnail):
5961 * backend/ev-document-thumbnails.h:
5962 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5963 (pixbuf_document_thumbnails_get_thumbnail),
5964 (pixbuf_document_document_thumbnails_iface_init):
5965 * shell/Makefile.am:
5966 * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5967 (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5968 (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5969 * shell/ev-sidebar-thumbnails.h:
5970 * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5971 (ev_sidebar_set_document):
5972 * shell/ev-utils.c: (gaussian), (create_blur_filter),
5973 (create_shadow), (ev_pixbuf_add_shadow):
5975 Add thumbnail support.
5977 2004-12-22 Martin Kretzschmar <martink@gnome.org>
5979 * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5980 (using_postscript_printer): Set up a print dialog for "PostScript
5983 * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5986 * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5988 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
5990 * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5991 (ps_document_set_target), (ps_document_get_page_size),
5992 (ps_document_render):
5997 2004-12-22 Christian Rose <menthos@menthos.com>
5999 * configure.ac: Added "sv" to ALL_LINGUAS.
6001 Wed Dec 22 14:47:38 2004 Jonathan Blandford <jrb@redhat.com>
6003 * backend/ev-document-bookmarks.[ch]: new interface to indicate
6004 document supports bookmarks.
6006 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6008 * ps/ggvutils.c: (ggv_file_readable):
6010 * ps/gtkgs.c: (check_filecompressed), (check_pdf),
6011 (gtk_gs_get_postscript):
6015 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6017 * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
6018 (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
6019 (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
6020 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
6021 (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
6022 (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
6023 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6024 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6025 (gtk_gs_set_antialiasing), (ps_document_load),
6026 (ps_document_render):
6029 Another check point for the ps backend. Now I can get it to show
6032 Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com>
6034 * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
6035 document setting code.
6037 2004-12-22 Anders Carlsson <andersca@gnome.org>
6039 * shell/eggfindbar.c: (entry_activate_callback):
6040 Animate the next button when activate is pressed.
6042 2004-12-22 Anders Carlsson <andersca@gnome.org>
6044 * shell/ev-window.c: (ev_window_cmd_edit_find),
6045 (update_fullscreen_popup), (ev_window_fullscreen),
6046 (ev_window_unfullscreen), (ev_window_state_event_cb),
6047 (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
6048 Fix bugs in fullscreen code.
6050 2004-12-22 Anders Carlsson <andersca@gnome.org>
6054 * pixbuf/Makefile.am:
6055 * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
6056 (pixbuf_document_load), (pixbuf_document_get_n_pages),
6057 (pixbuf_document_set_page), (pixbuf_document_get_page),
6058 (pixbuf_document_set_target), (pixbuf_document_set_scale),
6059 (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
6060 (pixbuf_document_render), (pixbuf_document_begin_find),
6061 (pixbuf_document_end_find), (pixbuf_document_finalize),
6062 (pixbuf_document_class_init),
6063 (pixbuf_document_document_iface_init), (pixbuf_document_init):
6064 * pixbuf/pixbuf-document.h:
6065 * shell/Makefile.am:
6066 * shell/ev-application.c: (ev_application_open):
6067 * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
6071 Tue Dec 21 21:45:43 2004 Soeren Sandmann <sandmann@redhat.com>
6074 * dvi/dvilib/Makefile.am:
6076 * configure.ac: Auto*ify dvi and dvi/dvilib
6078 * dvi/Makefile: Remove from CVS
6080 * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
6083 * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
6085 * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
6087 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6090 * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6091 (gtk_gs_value_adjustment_changed), (compute_size),
6092 (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6093 (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6094 (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6095 (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6096 (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6097 (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6098 (ps_document_load), (ps_document_get_n_pages),
6099 (ps_document_set_page), (ps_document_get_page),
6100 (ps_document_set_target), (ps_document_set_scale),
6101 (ps_document_set_page_offset), (ps_document_get_page_size),
6102 (ps_document_render), (ps_document_begin_find),
6103 (ps_document_end_find), (ps_document_document_iface_init):
6105 * shell/Makefile.am:
6106 * shell/ev-window.c: (ev_window_open):
6108 Some work to integrate gtkgs with EvDocument
6110 2004-12-22 Anders Carlsson <andersca@gnome.org>
6112 * shell/ev-window.c: (update_fullscreen_popup),
6113 (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6114 (exit_fullscreen_button_clicked_cb),
6115 (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6116 (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6117 (ev_window_state_event_cb), (ev_window_init):
6118 Add fullscreen support from Epiphany.
6120 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6122 * data/ev-stock-zoom-fit-width.png: fit-width
6123 stock icon from gpdf.
6125 * shell/ev-stock-icons.[ch]: copied from gpdf.
6127 * shell/main.c: (main): init stock icons.
6129 * shell/ev-window.c: use the fit-width icon.
6131 * data/evince-ui.xml: add zooming toolbar items.
6133 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6136 (ev_view_best_fit), (ev_view_fit_width): because
6137 get_page_size() returns the scaled page size, we
6138 need to calculate the scale factor relative to
6139 the previous scale factor. Should really just
6140 add get_real_page_size().
6142 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6144 * shell/ev-view.[ch]:
6145 (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6146 (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6149 * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6150 (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6151 (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6154 * pdf/xpdf/pdf-document.cc:
6155 (pdf_document_begin_find),
6156 (pdf_document_end_find): make static.
6158 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6160 * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6162 * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6163 names to fontconfig patterns.
6164 (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6166 * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6169 2004-12-22 Marco Pesenti Gritti <marco@gnome.org>
6185 Import ggv backend. Not hooked up yet.
6187 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6189 * shell/main.c: (load_files), (main): load files
6190 from the command line.
6192 2004-12-22 Mark McLoughlin <mark@skynet.ie>
6194 * configure.ac: don't require bonobo.
6196 * cut-n-paste/recent-files/*: kill bonobo recent
6199 * shell/ev-window.c:
6200 (ev_window_is_empty): upd.
6201 (unable_to_load), (ev_window_open): load backend
6202 based on the mime type.
6204 2004-12-22 Martin Kretzschmar <martink@gnome.org>
6206 * backend/.cvsignore: ignore generated marshalers source.
6208 * shell/main.c (main): this is not epiphany.
6210 2004-12-22 Havoc Pennington <hp@redhat.com>
6212 * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6213 (expose_bin_window): draw find highlights
6215 * shell/ev-window.c (find_bar_search_changed_cb): implement
6217 * pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
6218 (pdf_document_end_find): implement this interface
6220 * backend/ev-document.c (ev_document_found): add this to emit
6223 Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
6225 * data/evince-ui.xml: Add a few more toolbar items.
6227 * shell/ev-window.c: Hook up page navigation toolbar
6230 * shell/ev-view.[ch]: add ev_view_set/get_page and
6231 a page-changed signal.
6233 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6234 Add ev_document_get_page().
6236 * shell/ev-window.c: Sensitize/desensitize navigation
6239 2004-12-21 Havoc Pennington <hp@redhat.com>
6241 * backend/ev-backend-marshal.c,
6242 backend/ev-backend-marshalers.list, backend/Makefile.am: add
6243 marshaler-generator thingy. I'm sure there's a better way to do
6244 this in the modern world.
6246 * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6247 end_find methods and "found" signal.
6249 * configure.ac: find glib-genmarshal
6251 Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com>
6253 * shell/ev-sidebar.c: Construct an actual sidebar.
6254 * shell/ev-sidebar-bookmarks.[ch]:
6255 * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6257 Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com>
6259 * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6262 * shell/ev-view.c: Track the size from the document.
6264 Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com>
6266 * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6267 constructor assumes ownership of the string passed in.
6269 * shell/ev-window.c (ev_window_open): Destroy the error
6270 dialog once we've displayed it.
6272 Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com>
6274 * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up
6275 a bit, it works! (sort of)
6277 * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6278 Move to .cc since we need to use C++ in the implementation.
6280 * shell/dummy.cc: Add a CC file to force evince
6281 to be linked as a C++ program.
6283 Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
6285 * shell/ev-view.[ch]: Start of content-area widget.
6287 * shell/ev-window.c: Create a EvView, update it
6288 as we change documents.
6290 * shell/Makefile.am shell/ev-marshal.list: Add
6291 generated marshalers.
6293 Tue Dec 21 20:28:11 2004 Jonathan Blandford <jrb@redhat.com>
6295 * Makefile.am (SUBDIRS): move shell.
6297 Tue Dec 21 19:28:55 2004 Owen Taylor <otaylor@redhat.com>
6299 * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6300 .a to libtool convenience libraries.
6302 * shell/ev-window.c (ev_window_open): Hard code loading
6305 * backend/ev-document.h: Add a boolean return to load(),
6306 fix GError * to GError **.
6308 * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6309 object for a PDF backend EvDocument.
6311 Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
6313 * dvi/*: New directory with the beginning of a .dvi backend.
6315 2004-12-21 Havoc Pennington <hp@redhat.com>
6317 * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6318 previous/next instead of back/forward
6320 Tue Dec 21 18:26:24 2004 Owen Taylor <otaylor@redhat.com>
6322 * backend/ev-document.[ch]: Fix a couple of problems so
6325 Tue Dec 21 18:20:40 2004 Owen Taylor <otaylor@redhat.com>
6327 * viewer/* backend/* configure.ac Makefile.am: Move viewer directory
6328 to backend/ directory, rename EvViewer to EvDocument.
6330 2004-12-21 Havoc Pennington <hp@redhat.com>
6332 * shell/ev-window.c: hook up the find bar widget; now we just need
6333 a document to find things in
6335 * shell/eggfindbar.c: a find bar widget
6337 Tue Dec 21 17:20:16 2004 Jonathan Blandford <jrb@redhat.com>
6339 * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6341 Tue Dec 21 16:30:58 2004 Owen Taylor <otaylor@redhat.com>
6343 * pdf/**: Import of xpdf code from gpdf.
6345 * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6347 * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6348 pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h:
6349 Fix FreeType includes.
6351 * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6352 pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6353 pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6354 Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6355 pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6356 Include xpdfconfig.h
6358 Tue Dec 21 16:08:17 2004 Jonathan Blandford <jrb@redhat.com>
6360 * shell/ev-window.c (ev_window_dispose): dispose can be called
6363 2004-12-21 Havoc Pennington <hp@redhat.com>
6365 * shell/ev-window.c (ev_window_init): set title to Document Viewer
6368 * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6369 items; really they should be synced with the strings, etc. from
6370 current gpdf, but just getting the boring typing out of the way
6372 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6375 * shell/ev-application.c: (window_destroy_cb):
6376 * shell/ev-window.c:
6377 * shell/main.c: (main):
6379 Actually show the window...
6381 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6384 * shell/Makefile.am:
6385 * shell/ev-application.c: (ev_application_class_init):
6386 * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6390 2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
6392 Import to gnome cvs.
6394 * Remove copies of gpdf and ggv trees.
6395 * Rip out all the recursive configure code.
6396 * Remove bonobo machinery.
6397 * viewer/*: GInterfaces that backends should/can implement.
6399 2004-11-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
6401 * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6404 2004-10-28 Martin Kretzschmar <m_kretzschmar@gmx.net>
6406 * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6407 (ev_application_finalize, ev_application_class_init)
6408 (ev_application_init): use GType instance private data for priv.
6410 * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6411 (ev_window_finalize, ev_window_class_init)
6412 (ev_window_init): ditto.
6414 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6416 * shell/ev-application.c (ev_application_new_window): make public
6417 (ev_application_show_initial_window): kill.
6419 * shell/ev-application.h: update prototypes.
6421 * shell/main.cc (main): inline ev_application_show_initial_window.
6423 2004-10-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
6425 * shell/ev-application.c (ev_application_new_window): impl.
6426 (ev_application_show_initial_window): use it.
6427 (is_window_empty, ev_application_get_empty_window): returns an
6428 existing empty window or a new one.
6429 (ev_application_open): from ev_window_cmd_file_open.
6431 * shell/ev-application.h: update prototypes
6433 * shell/ev-window.c (ev_window_is_empty): impl.
6434 (ev_window_open): make public.
6435 (ev_window_cmd_file_open): use ev_application_open
6437 * shell/ev-window.h: update prototypes, remove unused.
6439 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6441 * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6442 move destroy handler out of here...
6444 * shell/ev-application.c, shell/ev-application.h: ...into this new
6445 class. Also handles initial window creation.
6447 * shell/main.cc (main): use EvApplication to create initial
6450 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6452 * Makefile.am (SUBDIRS): add cut-n-paste
6454 * cut-n-paste/Makefile.am: add
6456 * configure.ac: generate Makefiles in cut-n-paste
6458 2004-10-26 Martin Kretzschmar <m_kretzschmar@gmx.net>
6460 * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6461 (ev_window_class_init): install ev_window_dispose.
6463 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6465 * shell/ev-window.h, shell/ev-window.c: replace gchar with
6466 char (gchar looks stupid).
6468 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6470 * po/de.po: updated German translation.
6472 2004-10-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
6474 * configure.ac: add more pkg-config library checks for gnome-vfs,
6477 * gpdf/configure.in: temporarily disable libpaper
6478 checks. Otherwise I'd have to add the checks for the shell, too.
6480 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6482 * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6483 and * file filters to the file choose.
6485 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6487 * po/de.po: Updated German translation.
6489 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6491 * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6493 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6495 * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6497 * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6498 (ev_window_init): implement those menuitems.
6500 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6502 * data/evince-ui.xml: add a toolbar (with FileOpen action)
6504 * shell/ev-window.c (ev_window_init): use the toolbar.
6506 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6508 * shell/ev-window.c (ev_window_init): use menu translations
6510 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6512 * configure.ac: add "de" to ALL_LINGUAS.
6514 * po/de.po: add German translation.
6516 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6518 * Makefile.am (SUBDIRS): add po
6520 * configure.ac: check intltool, glib-gettext etc, generate
6523 * po, po/POTFILES.in, po/POTFILES.skip: new.
6525 2004-10-24 Martin Kretzschmar <m_kretzschmar@gmx.net>
6527 * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6528 already use (#ifdef ENABLE_NLS)
6530 * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6531 pointer indirection thinko.
6533 * shell/main.c: include gi18n.h for bindtextdomain etc.
6535 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6537 * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6538 (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6539 tooltips for menu items in the statusbar.
6541 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6543 * configure.ac, data/Makefile.am, shell/Makefile.am: use
6544 pkgdatadir drop UIDIR
6546 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6548 * data/evince-ui.xml: Add File->Open menu item
6550 * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6551 chooser), hook it up in the ui manager.
6553 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6555 * shell/ev-window.c: fix Help->About tooltip.
6557 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6559 * configure.ac: set CFLAGS for libevprivate.
6561 * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6562 definitions, factory etc.
6564 * lib/Makefile.am: build libevprivate.a (only stock icon code).
6566 * shell/Makefile.am: link against libevprivate.a.
6568 * shell/ev-window.c (entries): add stock icon to Help->About.
6570 * shell/main.c (main): init stock icon code.
6572 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6574 * lib/recent-files: egg recent files code
6576 * lib/Makefile.am: add.
6578 * Makefile.am: add lib subdir.
6580 * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6581 set CFLAGS for recent-files.
6583 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6585 * configure.ac: disable -ansi and -pedantic gcc flags. They
6586 disable POSIX stuff in stdio.h, but egg-recent uses them.
6588 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6590 * configure.ac: add --disable-deprecated flag (defaults to on in
6593 * shell/Makefile.am (INCLUDES): use it.
6595 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6597 * shell/main.c: add missing #include.
6599 * shell/ev-window.c: fix for pedantic gcc.
6600 (ev_window_cmd_help_about): split license into paragraphs for
6601 translators and pedantic compilers.
6603 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6605 * configure.ac: add more warning flags if compiling with gcc from
6606 cvs (or explicitly requested with --enable-more-warnings).
6608 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6610 * data/evince-ui.xml: add File and File->Close menu.
6612 * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6613 (ev_window_destroy): quit after destroy.
6614 (ev_window_class_init): override GtkObject::destroy.
6615 (entries): install close_window callback.
6617 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6619 * Makefile.am (SUBDIRS): add data subdir.
6621 * configure.ac (UIDIR): gen data/Makefile, define UIDIR. Require
6622 gtk+ 2.5.0 for GtkAboutDialog.
6624 * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6627 * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6629 * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6631 (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6633 2004-10-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
6635 * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6637 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6639 * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6641 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6643 * shell/*: Added shell directory boilerplate, build it.
6645 2004-10-22 Martin Kretzschmar <m_kretzschmar@gmx.net>
6647 * configure.ac, Makefile.am: Added top-level configure.ac and