]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
reverse rotation/page when getting the area for select_all.
[evince.git] / ChangeLog
1 Sun Aug  7 02:06:08 2005  Jonathan Blandford  <jrb@redhat.com>
2
3         * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
4         getting the area for select_all.
5
6 2005-08-06  Kristian Høgsberg  <krh@redhat.com>
7
8         * backend/ev-selection.c: (ev_selection_render_selection):
9         * backend/ev-selection.h:
10         * pdf/ev-poppler.cc:
11         * shell/ev-jobs.c: (ev_job_render_new):
12         * shell/ev-jobs.h:
13         * shell/ev-pixbuf-cache.c: (get_selection_colors),
14         (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
15         * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
16         (ev_view_class_init):
17
18         Change selection color on focus in and focus out events.  Also,
19         poppler now uses GdkColor for specifying the selection colors, so
20         drop some awkward conversion code.
21
22 2005-08-06  Yair Hershkovitz  <yairhr@gmail.com>
23
24         * configure.ac: Added Hebrew translation
25
26 Sat Aug  6 01:12:44 2005  Jonathan Blandford  <jrb@redhat.com>
27
28         * NOTES:
29         * backend/ev-selection.c: (ev_selection_render_selection):
30         * backend/ev-selection.h:
31         * pdf/ev-poppler.cc:
32         * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
33         (ev_job_render_run):
34         * shell/ev-jobs.h:
35         * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
36         (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
37         (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
38         (ev_pixbuf_cache_style_changed),
39         (ev_pixbuf_cache_get_selection_pixbuf),
40         (ev_pixbuf_cache_set_selection_list),
41         (ev_pixbuf_cache_get_selection_list):
42         * shell/ev-pixbuf-cache.h:
43         * shell/ev-utils.c: (ev_print_region_contents):
44         * shell/ev-utils.h:
45         * shell/ev-view.c: (ev_view_queue_draw_page),
46         (selection_update_idle_cb), (ev_view_motion_notify_event),
47         (ev_view_style_set), (draw_one_page), (ev_view_class_init),
48         (setup_caches), (ev_view_find_next), (merge_selection_region),
49         (selection_free):
50         * shell/ev-window.c: (ev_window_update_fullscreen_popup):
51
52         Clean up selection to be much smoother!
53
54 2005-08-05  Kristian Høgsberg  <krh@redhat.com>
55
56         * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
57         to poppler_page_render_selection().
58
59 2005-08-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
60
61         * ps/ps-document.c: (save_page_list): Use
62         unzipped document when printing. Thanks to 
63         Colin Slater <kiltedtaco@gmail.com>. Fix for bug
64         311016.
65
66 2005-08-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
67
68         * shell/ev-window.c: (update_action_sensitivity):
69         
70         Disable print and save respect to lockdown gconf keys. Fix
71         for 312342.
72
73 2005-08-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
74
75         * configure.ac:
76         * shell/ev-utils.c: (rename_file), (set_umask_permissions),
77         (write_to_temp_file), (ev_file_set_contents):
78         * shell/ev-utils.h:
79         * shell/ev-window.c: (save_print_config_to_file):
80         
81         Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
82         Fix for bug 312238
83
84 2005-07-31  Christian Persch  <chpe@cvs.gnome.org>
85
86         * shell/ev-window.c: (load_print_config_from_file),
87         (save_print_config_to_file), (ev_window_print_range):
88
89         Persist the print settings. Fixes bug #311578.
90
91 2005-07-31  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
92
93         * djvu/djvu-document.c: (djvu_document_get_page_size),
94         (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
95         (djvu_document_thumbnails_get_thumbnail):
96         * dvi/dvi-document.c: (dvi_document_get_page_size),
97         (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
98         (dvi_document_thumbnails_get_dimensions),
99         (dvi_document_thumbnails_get_thumbnail):
100         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
101         (pixbuf_document_render_pixbuf),
102         (pixbuf_document_document_iface_init),
103         (pixbuf_document_thumbnails_get_thumbnail):
104         
105         Update backends to make them build with new rotation system.
106
107 2005-07-31  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
108
109         * help/C/figures/evince_start_window.png:
110         
111         Update documentation image from Luca Ferretti <elle.uca@libero.it>
112
113 Sat Jul 30 19:09:34 2005  Jonathan Blandford  <jrb@redhat.com>
114
115         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
116         * shell/ev-pixbuf-cache.h:
117         * shell/ev-sidebar-thumbnails.c:
118         (ev_sidebar_thumbnails_get_property), (add_range),
119         (adjustment_changed_cb):
120         * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
121         pixbuf cache.  Make thumbnailing work again.  Also, fix bug where
122         we were thumbnailing the entire docment on startup, slowing us
123         down hugely. 
124
125 Fri Jul 29 23:14:28 2005  Jonathan Blandford  <jrb@redhat.com>
126
127         * shell/ev-page-cache.c: (ev_page_cache_new):
128         * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
129         == 0, fixes #310306.
130
131 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
132
133         * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
134         (ev_view_rotate_left):
135
136         Account rotation in doc_rect_to_view_rect.
137         Ensure rotation doesnt go out of bounds.
138
139 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
140
141         * shell/ev-page-cache.c: (ev_page_cache_get_size):
142
143         Correct and cleanup w/h swapping
144
145 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
146
147         * backend/ev-document-thumbnails.c:
148         (ev_document_thumbnails_get_thumbnail):
149         * backend/ev-document-thumbnails.h:
150         * backend/ev-document.c:
151         * backend/ev-document.h:
152         * backend/ev-render-context.c: (ev_render_context_new),
153         (ev_render_context_set_rotation):
154         * backend/ev-render-context.h:
155         * pdf/ev-poppler.cc:
156         * ps/ps-document.c: (ps_document_document_iface_init):
157         * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
158         * shell/ev-jobs.h:
159         * shell/ev-page-cache.c: (build_height_to_page),
160         (ev_page_cache_new), (ev_page_cache_get_size),
161         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
162         (ev_page_cache_get_height_to_page):
163         * shell/ev-page-cache.h:
164         * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
165         (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
166         (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
167         (ev_pixbuf_cache_get_selection_pixbuf):
168         * shell/ev-pixbuf-cache.h:
169         * shell/ev-print-job.c: (idle_print_handler):
170         * shell/ev-sidebar-thumbnails.c: (add_range):
171         * shell/ev-view.c: (view_update_range_and_current_page),
172         (get_page_y_offset), (get_page_extents),
173         (ev_view_size_request_continuous_dual_page),
174         (ev_view_size_request_continuous),
175         (ev_view_size_request_dual_page),
176         (ev_view_size_request_single_page), (draw_one_page),
177         (ev_view_set_rotation), (ev_view_rotate_right),
178         (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
179         (ev_view_zoom_for_size_continuous_and_dual_page),
180         (ev_view_zoom_for_size_continuous),
181         (ev_view_zoom_for_size_dual_page),
182         (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
183         (ev_view_select_all):
184         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
185         * tiff/tiff-document.c: (tiff_document_render_pixbuf),
186         (tiff_document_document_iface_init),
187         (tiff_document_thumbnails_get_thumbnail):
188
189         Use rotation rather than orientation. It's easier and enough
190         for our needs.
191
192 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
193
194         * shell/ev-page-cache.c: (build_height_to_page),
195         (ev_page_cache_new), (ev_page_cache_get_size),
196         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
197         (ev_page_cache_get_height_to_page):
198         * shell/ev-page-cache.h:
199         * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
200         (ev_view_size_request_continuous_dual_page),
201         (ev_view_size_request_continuous),
202         (ev_view_zoom_for_size_continuous_and_dual_page),
203         (ev_view_zoom_for_size_continuous):
204
205         Make the page cache aware of page orientation.
206
207 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
208
209         * backend/ev-document-thumbnails.c:
210         (ev_document_thumbnails_get_thumbnail):
211         * backend/ev-document-thumbnails.h:
212         * backend/ev-document.c:
213         * backend/ev-document.h:
214         * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
215         * backend/ev-ps-exporter.h:
216         * pdf/ev-poppler.cc:
217         * ps/ps-document.c: (ps_document_document_iface_init),
218         (ps_document_ps_export_do_page):
219         * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
220         * shell/ev-jobs.h:
221         * shell/ev-page-cache.c: (ev_page_cache_get_size),
222         (ev_page_cache_get):
223         * shell/ev-page-cache.h:
224         * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
225         (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
226         (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
227         * shell/ev-pixbuf-cache.h:
228         * shell/ev-print-job.c: (idle_print_handler):
229         * shell/ev-sidebar-thumbnails.c: (add_range):
230         * shell/ev-view.c: (view_update_range_and_current_page),
231         (get_page_extents), (ev_view_size_request_dual_page),
232         (ev_view_size_request_single_page), (draw_one_page),
233         (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
234         (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
235         (ev_view_zoom_for_size_dual_page),
236         (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
237         (ev_view_select_all):
238         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
239         * tiff/tiff-document.c: (tiff_document_get_page_size),
240         (tiff_document_get_orientation), (rotate_pixbuf),
241         (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
242         (tiff_document_thumbnails_get_thumbnail),
243         (tiff_document_ps_export_do_page), (tiff_document_init):
244
245         Really make use of the orientation bit of the render context.
246         Use the render context in a few more places in the backend API.
247         This regress orientation, but now it's done right. Will try to
248         fix it up asap...
249
250 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
251
252         * shell/ev-view.c: (ensure_rectangle_is_visible):
253
254         Patch by Nickolay V. Shmyrev to fix find flickering
255
256 2005-07-27  Martin Kretzschmar  <martink@gnome.org>
257
258         * backend/ev-ps-exporter.h: add paper_width, paper_height, and
259         duplex parameters to ::begin.
260
261         * tiff/tiff-document.c (tiff_document_ps_export_begin): 
262         * shell/ev-print-job.c (idle_print_handler): 
263         * ps/ps-document.c (ps_document_ps_export_begin): 
264         * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin): 
265         * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
266         implementations. Poppler backend needs poppler cvs. Rest has
267         unchanged behavior.
268
269 2005-07-25  Martin Kretzschmar  <martink@gnome.org>
270
271         * shell/ev-window.c (using_pdf_printer): new function.
272         (ev_window_print_range): print a less techy message if someone
273         tries to print to PDF.
274
275 2005-07-25  Martin Kretzschmar  <martink@gnome.org>
276
277         * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
278         from "unknown font" string. Bug #311431
279
280 2005-07-24  Martin Kretzschmar  <martink@gnome.org>
281
282         * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
283
284 2005-07-24  Martin Kretzschmar  <martink@gnome.org>
285
286         Bug #311280
287         
288         * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
289         name for PopplerFontTypes
290         (pdf_document_fonts_fill_model): add font type to the detail column
291
292         * backend/ev-document-fonts.h: added
293         EV_DOCUMENT_FONTS_COLUMN_DETAILS.
294
295         * shell/ev-properties-fonts.c (font_cell_data_func): glue together
296         font name and font details, add a little markup.
297         (ev_properties_fonts_init): use the new cell data func, specify ypad
298         property for the cell renderer.
299         (ev_properties_fonts_set_document): add the details column.
300
301 2005-07-24  Artur Flinta  <aflinta@cvs.gnome.org>
302
303         * configure.ac: Added "pl" to ALL_LINGUAS.
304
305 2005-07-24  Danilo Šegan  <danilo@gnome.org>
306
307         * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
308
309 2005-07-23  Tommi Vainikainen  <thv@iki.fi>
310
311         * help/ChangeLog: Started this for translations of manual.
312         * configure.ac, autogen.sh, .cvsignore: Migrated to
313         gnome-doc-utils. Patch in bug #311222.
314
315 2005-07-22  Martin Kretzschmar  <martink@gnome.org>
316
317         * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf): 
318         #ifdef this away to fix an unused-function warning.
319
320 2005-07-22  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>
321
322         * configure.ac: Added 'gl' to ALL_LINGUAS.
323
324 2005-07-22  Pawan Chitrakar  <pawan@nplinux.org>
325
326         * configure.ac: Added ne in ALL_LINGUAS
327         
328 2005-07-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
329
330         * shell/ev-view.c: (ev_view_leave_notify_event):
331         
332         Clear status message when pointer leaves view. Fix for bug
333         #310818 
334
335 2005-07-20 Ankit Patel <ankit644@yahoo.com>
336
337         * configure.ac: Gujarati (gu) added to ALL_LINGUAS
338
339 2005-07-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
340
341         * shell/ev-view.c: (ev_view_leave_notify_event),
342         (ev_view_class_init):
343         
344         Set cursor to normal then leaving view.
345
346 2005-07-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
347
348         * configure.ac:
349         
350         Fix required djvulibre version.
351
352 2005-07-15  Rajesh Ranjan <rajeshkajha@yahoo.com>
353
354         *configure.ac: Hindi (hi) language added
355
356 2005-07-15  Amanpreet Singh Brar <amanpreetalam@yahoo.com>
357
358         *configure.ac: Punjabi (pa) Language added
359
360 2005-07-12  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
361
362         * data/evince-ui.xml, shell/ev-window.c:
363         
364         Add keypad accelerators for zooming. Fix for bug 308128.
365
366 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
367
368         * Makefile.am:
369         * backend/Makefile.am:
370         * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
371         * configure.ac:
372         * shell/ev-document-types.c: (ev_document_types_add_filters):
373
374         Allow to enable/disable the pixbuf backend.
375         Default to off for now. If we want it enabled we should
376         really put mime types in the desktop, implement properties etc.
377
378         * properties/evince-properties.c:
379
380         Initialize error to NULL.
381         Check error is not NULL before freeing.
382
383 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
384
385         * shell/ev-window.c:
386
387         Use F5 as presentation accell
388
389 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
390
391         * shell/ev-window.c: (update_chrome_visibility),
392         (ev_window_create_fullscreen_popup), (ev_window_init):
393
394         Do not leak the fullscreen toolbar
395
396 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
397
398         * shell/ev-window.c: (view_actions_focus_in_cb),
399         (view_actions_focus_out_cb):
400
401         These has a return value! Fix totally random focus
402         issues we was seeing.
403
404 2005-07-11  Carlos Garcia Campos  <carlosgc@gnome.org>
405
406         * shell/main.c: (load_files_remote):
407
408         Allow open more than one file
409
410 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
411
412         * shell/main.c: (load_files_remote):
413
414         Fix for dbus 0.33. bug #309975
415
416 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
417
418         * properties/ev-properties-main.c: (ev_properties_get_pages):
419
420         Actually return NULL for types we dont support
421
422 2005-07-08  Christian Persch  <chpe@cvs.gnome.org>
423
424         * po/POTFILES.in:
425
426         Remove empty lines.
427
428 2005-07-08  Marco Pesenti Gritti  <marco@gnome.org>
429
430         * backend/ev-document-factory.c:
431         (ev_document_factory_get_document):
432
433         Do not try to create the object if type
434         is invalid.
435
436 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
437
438         * ps/ps-document.c: (ps_document_dispose),
439         (ps_async_renderer_render_pixbuf):
440         * ps/ps-document.h:
441
442         Do not leak the target window
443
444 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
445
446         * shell/ev-application.c: (ev_application_init):
447
448         Let tbe check file existence for us.
449         Add a comment about eggrecent mime filter.
450
451 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
452
453         * data/evince-ui.xml:
454         * shell/ev-application.c: (ev_application_shutdown),
455         (ev_application_init), (ev_application_get_toolbars_model),
456         (ev_application_get_recent_model),
457         (ev_application_save_toolbars_model):
458         * shell/ev-application.h:
459         * shell/ev-window.c: (ev_window_add_recent),
460         (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
461         (ev_window_cmd_edit_toolbar), (ev_window_dispose),
462         (ev_window_init):
463
464         Use common toolbar and recent models for all windows.
465         Patch by Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
466
467 Thu Jul  7 23:10:01 2005  Jonathan Blandford  <jrb@redhat.com>
468
469         * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
470         successfully check for gtk_icon_view_get_visible_range.
471
472 2005-07-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
473
474         * djvu/Makefile.am:
475         * dvi/Makefile.am:
476         
477         Fix djvu and dvi backend build.
478
479 2005-07-07  Christian Persch  <chpe@cvs.gnome.org>
480
481         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
482         (new_separator_pixbuf):
483
484         Don't leak windows.
485
486 2005-07-07  Christian Persch  <chpe@cvs.gnome.org>
487
488         * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
489
490         HIGification of toolbar editor dialogue.
491
492 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
493
494         * configure.ac:
495         * shell/Makefile.am:
496
497         Ever build metadata manager since it's just
498         disabled at runtime now.
499
500 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
501
502         * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
503         (ev_metadata_manager_get), (ev_metadata_manager_set):
504         * shell/ev-metadata-manager.h:
505
506         Add an _init functions that enabled metadata management
507         at runtime.
508
509         * shell/ev-window.c: (page_changed_cb),
510         (setup_document_from_metadata), (ev_window_setup_document),
511         (setup_view_from_metadata), (ev_window_open_uri),
512         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
513         (ev_window_run_presentation), (ev_window_stop_presentation),
514         (save_sizing_mode), (ev_window_zoom_changed_cb),
515         (ev_window_continuous_changed_cb),
516         (ev_window_dual_mode_changed_cb), (window_state_event_cb),
517         (window_configure_event_cb):
518
519         Remove all ugly metadata define since we deal with it
520         at runtime now.
521
522         * shell/main.c: (load_files_remote), (main):
523
524         Add support for dbus cvs head. Hopefully didnt break one
525         of the other versions now!
526
527         If we dont get a response from the dbus server just
528         give up with it and not enable metadata.
529
530 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
531
532         * Makefile.am:
533         * backend/Makefile.am:
534         * configure.ac:
535         * cut-n-paste/recent-files/Makefile.am:
536         * cut-n-paste/toolbar-editor/Makefile.am:
537         * cut-n-paste/zoom-control/Makefile.am:
538         * lib/Makefile.am:
539         * pdf/Makefile.am:
540         * pixbuf/Makefile.am:
541         * properties/Makefile.am:
542         * ps/Makefile.am:
543         * shell/Makefile.am:
544         * thumbnailer/Makefile.am:
545         * tiff/Makefile.am:
546
547         Make frontends depend on just libev.
548         Rework and group CFLAGS/LIBS definitions.
549         Cleanups.
550
551 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
552
553         * shell/ev-window:
554
555         do not unnecessarily save zoom
556
557         * configure.ac:
558         * lib/ev-file-helpers.c: (ev_dot_dir):
559         * shell/Makefile.am:
560         * shell/dummy.cc:
561
562         Some cleanups
563
564 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
565
566         * configure.ac:
567         
568         Remove unnecessary dependencies
569
570 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
571
572         * properties/Makefile.am:
573         * thumbnailer/Makefile.am:
574         * tiff/Makefile.am:
575
576         Some more cleanups. Was really necessary
577         but I probably introduced bugs, feel free
578         to flame :)
579
580 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
581
582         * backend/Makefile.am:
583         * configure.ac:
584         * cut-n-paste/recent-files/Makefile.am:
585         * cut-n-paste/toolbar-editor/Makefile.am:
586         * cut-n-paste/zoom-control/Makefile.am:
587         * lib/Makefile.am:
588         * pdf/Makefile.am:
589         * pixbuf/Makefile.am:
590         * properties/Makefile.am:
591         * ps/Makefile.am:
592         * shell/Makefile.am:
593         * thumbnailer/Makefile.am:
594         * tiff/Makefile.am:
595
596         Use gnome-common macros when possible.
597         Cleanup dependencies.
598         Actually disable deprecated where possible.
599
600 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
601
602         * Makefile.am:
603         * backend/Makefile.am:
604         * properties/Makefile.am:
605         * shell/Makefile.am:
606         * thumbnailer/Makefile.am:
607
608         This should solve the circular dep without
609         requiring dir reorg!
610
611         * shell/ev-window.c: (setup_view_from_metadata):
612
613         Never restore window size/position when the
614         window is already visible.
615
616 2005-07-06  Christian Persch  <chpe@cvs.gnome.org>
617
618         * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
619
620         Return a boolean from timeout func. Fix ported from gedit.
621
622 2005-07-07  Iñaki Larrañaga  <dooteo@euskalgnu.org>
623
624         * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
625
626 2005-07-06  Carlos Garcia Campos  <carlosgc@gnome.org>
627
628         * shell/ev-document-types.c: set "All Documents" as default filter in
629         open dialog
630
631 2005-07-06  Martin Kretzschmar  <martink@gnome.org>
632
633         * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
634         (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
635         (ev_metadata_manager_set_boolean): fix value/val thinko.
636
637 2005-07-06  Marco Pesenti Gritti  <mpg@redhat.com>
638
639         * shell/ev-window.c: (setup_view_from_metadata),
640         (window_state_event_cb), (window_configure_event_cb),
641         (ev_window_init):
642
643         Remember window position and maximized state
644
645 2005-07-06  Christian Persch  <chpe@cvs.gnome.org>
646
647         * configure.ac:
648
649         Fix DBUS configure checks.
650
651         * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
652         (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
653         (ev_metadata_manager_set_boolean):
654
655         Plug mem leaks.
656
657         * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
658         (ev_window_stop_fullscreen), (ev_window_run_presentation),
659         (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
660         (ev_window_continuous_changed_cb),
661         (ev_window_dual_mode_changed_cb), (ev_window_new):
662
663         Fix the build without DBUS.
664
665 2005-07-06  Marco Pesenti Gritti  <mpg@redhat.com>
666
667         * shell/ev-metadata-manager.c: (parse_value), (save_values),
668         (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
669         (ev_metadata_manager_set_string),
670         (ev_metadata_manager_set_boolean):
671         * shell/ev-metadata-manager.h:
672
673         Add support for some more types
674
675         * shell/ev-view.c: (scroll_to_current_page),
676         (ev_view_get_continuous), (ev_view_set_continuous),
677         (ev_view_get_dual_page):
678         * shell/ev-view.h:
679         * shell/ev-window.c: (page_changed_cb),
680         (setup_document_from_metadata), (ev_window_setup_document),
681         (setup_view_from_metadata), (ev_window_open_uri),
682         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
683         (ev_window_run_presentation), (ev_window_stop_presentation),
684         (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
685         (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
686         (ev_window_update_dual_page_action),
687         (ev_window_continuous_changed_cb),
688         (ev_window_dual_mode_changed_cb), (ev_window_init):
689
690         Remember a bunch of view/document properties. Prolly some
691         are still missing but it's getting interesting.
692
693 2005-07-05  Martin Kretzschmar  <martink@gnome.org>
694
695         * configure.ac: check if dbus-binding-tool is installed. Not the
696         case on current Ubuntu breezy, it seems.
697
698 2005-07-05  Luca Ferretti <elle.uca@libero.it>
699
700         * data/evince.desktop.in.in:
701         
702         Allow open uri lists and add TryExec field.
703
704 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
705
706         * configure.ac:
707
708         Enable dbus when available, do not require a configure
709         option.
710
711 2005-07-05  Christian Persch  <chpe@cvs.gnome.org>
712
713         * configure.ac:
714
715         Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
716         disabled.
717
718 2005-07-05  Carlos Garcia Campos  <carlosgc@gnome.org>
719             Marco Pesenti Gritti  <mpg@redhat.com>
720
721         * shell/Makefile.am: Add --prefix for dbus-binding-tool script
722         
723         * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC 
724         functions to the format required by dbus
725
726         * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
727         errors. Use the RPC parameters in the expected way
728
729 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
730
731         * Makefile.am:
732         * properties/Makefile.am:
733         * properties/ev-properties-main.c: (ev_properties_get_pages):
734
735         Support all mime types
736
737         * shell/Makefile.am:
738         * thumbnailer/Makefile.am:
739         * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
740         (evince_thumbnail_pngenc_get):
741
742         Use the document factory
743
744 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
745
746         * backend/Makefile.am:
747         * backend/ev-document-factory.c:
748         (mime_type_supported_by_gdk_pixbuf),
749         (ev_document_type_get_from_mime),
750         (ev_document_factory_get_document),
751         (ev_document_factory_get_backend),
752         (ev_document_factory_get_mime_types),
753         (ev_document_factory_get_all_mime_types):
754         * backend/ev-document-factory.h:
755         * shell/Makefile.am:
756         * shell/ev-document-types.c: (get_document_from_uri),
757         (ev_document_types_get_document),
758         (file_filter_add_mime_list_and_free),
759         (ev_document_types_add_filters):
760         * shell/ev-document-types.h:
761         * shell/ev-job-xfer.c: (ev_job_xfer_run):
762         * shell/ev-properties-dialog.c:
763         (ev_properties_dialog_set_document):
764         * shell/ev-window.c: (ev_window_cmd_file_open),
765         (ev_window_cmd_save_as):
766         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
767
768         Rework document types managing to avoid code duplication
769         and actually abstract from backend implementations.
770         Also provide a minimal factory api that can be used by
771         thumbnailer/properties.
772
773 2005-07-05  Christian Persch  <chpe@cvs.gnome.org>
774
775         * properties/ev-properties-view.c: (ev_properties_view_set_info):
776         Plug a mem leak.
777         * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
778         HIG spacings.
779
780 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
781
782         * shell/ev-properties-dialog.c
783         (ev_properties_dialog_set_document): only call
784         ev_properties_fonts_set_document() if the document implements the
785         fonts interface
786
787 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
788
789         * configure.ac:
790         * properties/Makefile.am:
791         * properties/ev-properties-view.c:
792         (ev_properties_view_register_type):
793         * properties/ev-properties-view.h:
794         * properties/ev-properties-main.h:
795
796         Implement nautilus plugin for properties.
797         Works only for pdf atm, I need to rework the
798         document types stuff to get this to work
799         for all backends...
800
801 2005-07-04  Martin Kretzschmar  <martink@gnome.org>
802
803         * shell/ev-properties-fonts.c (enum): kill redundant columns enum
804         (ev_properties_fonts_set_document): use
805         EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
806
807 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
808
809         * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
810         them
811         (PlaceImage, tiff2ps_process_page): use
812         g_ascii_dtostr to convert floats to strings in a locale-safe way.
813
814
815 2005-07-04  Martin Kretzschmar  <martink@gnome.org>
816
817         * shell/main.c: include libgnomeui/gnome-authentication-manager.h
818         (main): to call gnome_authentication_manager_init. Should fix
819         Bug #308510
820
821         * configure.ac: that requires libgnomeui 2.6.0.
822
823 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
824
825         * tiff/tiff-document.c (tiff_document_ps_export_begin) 
826         (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
827         use the new tiff2ps interfaces
828
829         * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page) 
830         (tiff2ps_context_finalize): implement new interfaces for tiff2ps
831
832         * tiff/tiff2ps.c: refactor tiff2ps code to use a context
833         structure instead of global variables.  Remove use of static
834         variables in functions.
835
836 2005-07-04  Carlos Garcia Campos <carlosgc@gnome.org>
837
838         * shell/ev-page-action.c: unref the completion after setting it to the
839         entry
840
841 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
842
843         * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
844         postscript files
845
846 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
847
848         * shell/ev-window.c (update_action_sensitivity): disable
849         File->Print if the document does not implement the ps exporter
850         interface
851
852 2005-07-04  Marco Pesenti Gritti  <mpg@redhat.com>
853
854         * Makefile.am:
855         * configure.ac:
856         * data/evince-properties.glade:
857         * properties/.cvsignore:
858         * properties/Makefile.am:
859         * properties/ev-properties-view.c: (ev_properties_view_dispose),
860         (ev_properties_view_class_init), (ev_properties_view_format_date),
861         (make_valid_utf8), (set_property), (ev_properties_view_set_info),
862         (ev_properties_view_init), (ev_properties_view_new):
863         * properties/ev-properties-view.h:
864         * shell/Makefile.am:
865         * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
866         (ev_properties_dialog_init), (ev_properties_dialog_set_document),
867         (ev_properties_dialog_new):
868         * shell/ev-properties-dialog.h:
869         * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
870         (ev_properties_fonts_class_init), (ev_properties_fonts_init),
871         (update_progress_label), (job_fonts_finished_cb),
872         (ev_properties_fonts_set_document), (ev_properties_fonts_new):
873         * shell/ev-properties-fonts.h:
874         * shell/ev-properties.c:
875         * shell/ev-properties.h:
876         * shell/ev-window.c: (ev_window_setup_document),
877         (ev_window_cmd_file_properties):
878
879         Split the properties pages in two different objects, depend
880         only on the backend where possible, use widgets instead
881         of gobject for the glade part, reimplement the dialog
882         itself with gtk.
883         I need this to implement nautilus properties page.
884
885 2005-07-03  Matthew S. Wilson  <msw@rpath.com>
886
887         * tiff/tiff-document.c (tiff_document_ps_export_begin) 
888         (tiff_document_ps_export_do_page, tiff_document_ps_export_end) 
889         (tiff_document_document_ps_exporter_iface_init): implement the ps
890         exporter interface for tiff documents
891
892         * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
893         libtiff to implement TIFF postscript export
894
895         * tiff/tiff2ps.h: added a header file for external tiff2ps
896         functions.
897
898         * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
899         tiff2ps.h
900
901 2005-07-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
902
903         * shell/ev-view.c: (scroll_to_current_page),
904         (ev_view_set_fullscreen), (ev_view_set_presentation):
905         
906         Scroll to current page when exit from presentation
907
908 2005-07-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
909
910         * shell/ev-window.c: (update_document_mode),
911         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
912         (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
913         (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
914         
915         Exit from fullscreen mode when switch to presentation. Fix for
916         bug 309365
917
918 2005-07-02  Matthew S. Wilson  <msw@rpath.com>
919
920         * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
921         return NULL if the document does not implement the selection
922         interface.
923
924 2005-07-02  Matthew S. Wilson  <msw@rpath.com>
925
926         * tiff/tiff-document.c (tiff_document_get_page_size): scale the
927         reported height by using the resolution aspect ratio
928         (tiff_document_render_pixbuf): scale the pixbuf using the
929         resolution aspect ratio
930
931 2005-07-01  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
932
933         * configure.ac:
934         
935         Require libgnomeprint >= 2.5.1. Thanks to Colin Slater 
936         <kiltedaco@gmail.com>
937         
938         * djvu/djvu-document.c: (djvu_document_get_orientation),
939         (djvu_document_set_orientation), (djvu_document_get_page_size),
940         (rotate_pixbuf), (djvu_document_render_pixbuf),
941         (djvu_document_document_iface_init):
942         * dvi/dvi-document.c: (dvi_document_get_orientation),
943         (dvi_document_set_orientation), (dvi_document_get_page_size),
944         (rotate_pixbuf), (dvi_document_render_pixbuf),
945         (dvi_document_document_iface_init):
946         
947         Dvi and djvu backends are ported to new API
948
949 Fri Jul  1 00:10:15 2005  Jonathan Blandford  <jrb@redhat.com>
950
951         * backend/ev-selection.c: (ev_selection_get_selection_region),
952         (ev_selection_get_selection_map):
953         * backend/ev-selection.h:
954         * pdf/ev-poppler.cc:
955         * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
956         * shell/ev-jobs.h:
957         * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
958         (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
959         (ev_pixbuf_cache_get_text_mapping):
960         * shell/ev-pixbuf-cache.h:
961         * shell/ev-view.c: (location_in_text),
962         (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
963         support to EvView.  Now we can see where we can select!  Sweet!
964
965 2005-06-30  Kristian Høgsberg  <krh@redhat.com>
966
967         * shell/ev-view.c (ev_view_button_press_event): Fix
968         event->y + view->scroll_x typo.
969
970 2005-06-30  Kristian Høgsberg  <krh@redhat.com>
971
972         * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
973         sub-GdkPixbuf instead of passing dest_x and dest_y.
974         
975         * shell/ev-view.c: (view_point_to_doc_point),
976         (view_rect_to_doc_rect), (ev_view_button_press_event),
977         (ev_view_motion_notify_event), (compute_new_selection_rect),
978         (gdk_rectangle_point_in), (compute_new_selection_text),
979         (compute_selections): Update selection code to keep the selection
980         around as two points and not as a normalized rectangle, and fix
981         page level selection in two-column mode.
982
983 2005-06-30  Alex Duggan  <aldug@astrolinux.com>
984
985         * shell/ev-window.c: (window_configure_event_cb): 
986         
987         Fix compilation
988         
989 2005-06-30  Marco Pesenti Gritti  <mpg@redhat.com>
990
991         * pdf/ev-poppler.cc:
992
993         Fix compilation
994
995 2005-06-30  Marco Pesenti Gritti  <mpg@redhat.com>
996
997         * shell/Makefile.am:
998         * shell/ev-metadata-manager.c: (item_free),
999         (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
1000         (parse_value), (parseItem), (load_values),
1001         (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
1002         (save_values), (save_item), (get_oldest), (resize_items),
1003         (ev_metadata_manager_save), (ev_metadata_manager_set_int):
1004         * shell/ev-metadata-manager.h:
1005
1006         Metadata manager from gedit but modified to use GValue, so that
1007         we dont need to keep converting from strings.
1008
1009         * configure.ac:
1010
1011         ENABLE_METADATA conditional, on when dbus is on
1012
1013         * shell/ev-application.c: (ev_application_open_uri):
1014
1015         Show the window after load so that we can initialize
1016         window size before it's showed.
1017
1018         * shell/ev-window.c: (ev_window_setup_from_metadata),
1019         (ev_window_open_uri), (window_configure_event_cb),
1020         (ev_window_init):
1021
1022         Save and load metadata information about window size.
1023         Not yet keeping states in account.
1024
1025         * shell/main.c: (main):
1026
1027         Shutdown metadata manager.
1028
1029 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
1030
1031         * shell/ev-application-service.xml:
1032         * configure.ac:
1033         * shell/Makefile.am:
1034         * shell/ev-application.c:
1035         * shell/ev-application.h:
1036         * shell/ev-window.c:
1037         * shell/ev-window.h:
1038         * shell/main.c:
1039
1040         Add an optional dbus interface (--enable-dbus).
1041         Rework application code, mainly to be easier to
1042         use "remotely".
1043         Do not open multiple windows with the same document,
1044         spatial evince!
1045
1046 Thu Jun 30 01:50:14 2005  Jonathan Blandford  <jrb@redhat.com>
1047
1048         * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
1049         pixbuf iff it exists.
1050
1051 Thu Jun 30 01:43:00 2005  Jonathan Blandford  <jrb@redhat.com>
1052
1053         * shell/*:
1054         * backend/ev-render-context.[ch]:
1055         * backend/ev-selection.[ch]:
1056
1057         Massive changes.  We now support text selection of pdfs, and not
1058         just rectangular selection.  This is pretty broken still, but I
1059         want to get something into CVS.
1060
1061 2005-06-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1062
1063         * pdf/ev-poppler.cc:
1064         
1065         Fix for Bug 309080: crash on window close.
1066         
1067         * shell/ev-page-action.c: (page_changed_cb):
1068         
1069         Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
1070         jensgr@gmx.net (Jens Granseuer).
1071
1072 2005-06-25  Marcel Telka  <marcel@telka.sk>
1073
1074         * configure.in (ALL_LINGUAS): Added sk.
1075
1076 2005-06-24  Carlos Garcia Campos  <carlosgc@gnome.org>
1077
1078         * shell/ev-window.c: Make rotate menu entries unsensitive if there is
1079         not a document open
1080
1081 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
1082
1083         * NEWS:
1084         * configure.ac:
1085
1086         Release 0.3.2
1087
1088         * cut-n-paste/recent-files/Makefile.am:
1089
1090         Fix make distcheck
1091
1092 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
1093
1094         * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
1095         (pixbuf_document_set_orientation), (rotate_pixbuf),
1096         (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
1097         (pixbuf_document_document_iface_init), (pixbuf_document_init):
1098
1099         Implement rotation and cleanup the code a bit.
1100
1101         * tiff/tiff-document.c: (tiff_document_get_page_size),
1102         (tiff_document_get_orientation), (tiff_document_set_orientation),
1103         (rotate_pixbuf), (tiff_document_render_pixbuf),
1104         (tiff_document_document_iface_init), (tiff_document_init):
1105
1106         Implement rotation. Was the quicker solution for the release
1107         but we really need to share this code in the shell.
1108
1109 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
1110
1111         * pdf/ev-poppler.cc:
1112
1113         Enable rotation, require poppler cvs. Fix a leak.
1114
1115 2005-06-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1116
1117         * shell/ev-window.c: (update_action_sensitivity):
1118         
1119         Make properties unsensitive if document backend doesn't provide
1120         any info
1121
1122 2005-06-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1123
1124         * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1125         (bitmap_flip_horizontally), (bitmap_flip_vertically),
1126         (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1127         (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1128         (bitmap_flip_rotate_counter_clockwise):
1129         * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1130         * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1131         (buff_gets):
1132         * dvi/mdvi-lib/common.h:
1133         * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1134         * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1135         (opendvi), (mdvi_reload), (mdvi_init_context),
1136         (mdvi_destroy_context), (mdvi_dopage), (special):
1137         * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1138         * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1139         (file_hash_free), (register_encoding), (parse_spec),
1140         (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1141         (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1142         (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1143         * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1144         (mdvi_register_font_type), (mdvi_unregister_font_type),
1145         (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1146         * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1147         * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1148         (mdvi_hash_destroy_key), (mdvi_hash_reset):
1149         * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1150         (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1151         * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1152         * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1153         * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1154         * dvi/mdvi-lib/special.c: (mdvi_register_special),
1155         (mdvi_unregister_special), (mdvi_flush_specials):
1156         * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1157         (t1_font_remove):
1158         * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1159         * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1160         (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1161         (free_font_metrics), (flush_font_metrics):
1162         * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1163         (tt_font_remove):
1164         * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1165         (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1166         (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1167         (dstring_insert), (dstring_new), (dstring_reset):
1168         * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1169         
1170         Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1171         avoid conflict with libtool on FC4
1172         
1173         * shell/ev-window.c: (ev_window_cmd_help_about):
1174         
1175         Update copyright year. Fix for bug 308828.
1176
1177 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
1178
1179         * shell/ev-view.c: (add_scroll_binding_keypad),
1180         (ev_view_binding_activated), (ev_view_class_init),
1181         (on_adjustment_value_changed):
1182         
1183         Bug 170874: Arrow keys switch pages in presentation mode
1184
1185 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
1186
1187         * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1188         
1189         Fix for Bug 308265: Sidebar dissappears coming out of 
1190         Presentation mode
1191
1192 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
1193
1194         * shell/ev-application.c: (ev_application_open):
1195         * shell/ev-document-types.c: (ev_document_types_add_filters),
1196         (ev_document_types_add_filters_for_type):
1197         * shell/ev-document-types.h:
1198         * shell/ev-window.c: (ev_window_cmd_save_as):
1199         
1200         Suggest basename as template when saving, provide filters
1201         for save dialog. It's bug 308402
1202
1203 2005-06-20  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1204
1205         * pdf/ev-poppler.cc:
1206         * shell/ev-sidebar-links.c: (job_finished_callback):
1207         * shell/ev-view.c: (update_find_status_message):
1208         
1209         Some leaks fixed
1210
1211 2005-06-19  Christian Persch  <chpe@cvs.gnome.org>
1212
1213         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1214         (egg_recent_view_uimanager_set_list):
1215
1216         Fix buglet in !show_numbers case.
1217
1218 2005-06-19  Christian Persch  <chpe@cvs.gnome.org>
1219
1220         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1221         (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1222
1223         Use pango ellipsisation.
1224
1225         * pdf/ev-poppler.cc:
1226
1227         Fix refcount leak, from nsh.
1228
1229 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1230
1231         * cut-n-paste/recent-files/Makefile.am:
1232         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1233         * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1234         
1235         Removed EggRecentViewGtk
1236         
1237         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1238         * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1239         * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1240         (ev_window_setup_recent):
1241         
1242         Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1243         with other projects
1244
1245 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1246
1247         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1248         (egg_recent_view_gtk_finalize):
1249
1250         Fix memory leak
1251
1252         * cut-n-paste/toolbar-editor/Makefile.am:
1253         
1254         Fix location of cursor icon.
1255         
1256         * pdf/ev-poppler.cc:
1257         * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1258         (display_completion_text), (match_completion):
1259         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1260         (selection_changed_callback), (create_loading_model),
1261         (print_section_cb), (links_page_num_func),
1262         (update_page_callback_foreach):
1263         * shell/ev-window.c: (ev_window_dispose):
1264         
1265         Small memory fixes. Links model now store objects instead
1266         of pointers to improve memory management. 
1267
1268 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1269
1270         * shell/ev-window.c: (zoom_control_changed_cb):
1271         
1272         Fix update of zoom control (bug 308268).
1273
1274 Sat Jun 18 22:46:42 2005  Jonathan Blandford  <jrb@redhat.com>
1275
1276         * shell/ev-properties.c (set_property): escape the text correctly.
1277         Handles non-UTF-8 properties and escaped properties.  Also, sets
1278         the text to "<i>None</i>" if the property isn't set.
1279
1280         * data/evince-properties.glade: Change the label to be ellipsized,
1281         and give it a minimum size.
1282
1283 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1284
1285         * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1286         * shell/ev-sidebar-links.c: (create_loading_model):
1287         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1288         * shell/ev-view.c: (ev_view_set_document):
1289         * shell/ev-window.c: (ev_window_dispose):
1290         
1291         Various small fixes, mostly memory leaks. Thanks to valgrind.
1292
1293 2005-06-19  Martin Kretzschmar  <martink@gnome.org>
1294
1295         * ps/ps-document.c: remove the locale.h include again ;-). And
1296         kill the (bogus) setlocale/savelocale business.
1297
1298 2005-06-19   Jaap A. Haitsma <jaap@haitsma.org>
1299
1300         * ps/ps-document.c:
1301         
1302         Include locale.h to fix build
1303         
1304         * shell/ev-sidebar.c:
1305         
1306         Remove unnecessary includes
1307
1308 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1309
1310         * dvi/dvi-document.c: (dvi_document_load):
1311         * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1312         * po/POTFILES.in:
1313         
1314         Check for incorrect dvi files. Fix parsing dvi on AMD64
1315         platform. Thanks to tester@tester.ca (Olivier Crete).
1316
1317 2005-06-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1318
1319         * shell/ev-page-action.c: (match_selected_cb),
1320         (display_completion_text), (match_completion), (update_model):
1321         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1322         (expand_open_links):
1323         * shell/ev-sidebar.c: (ev_sidebar_destroy),
1324         (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1325         (ev_sidebar_set_document):
1326         * shell/ev-window.c: (ev_window_xfer_job_cb),
1327         (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1328         
1329         Fixed lot's of memory leaks, for example, memory leak on reload, 
1330         described in bug 307793.
1331
1332 2005-06-18  Marco Pesenti Gritti  <mpg@redhat.com>
1333
1334         * pdf/ev-poppler.cc:
1335         * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1336         (update_visible_range), (adjustment_changed_cb),
1337         (ev_sidebar_thumbnails_fill_model),
1338         (ev_sidebar_thumbnails_refresh),
1339         (ev_sidebar_tree_selection_changed),
1340         (ev_sidebar_icon_selection_changed),
1341         (ev_sidebar_thumbnails_use_icon_view),
1342         (ev_sidebar_thumbnails_set_document):
1343         * shell/ev-sidebar-thumbnails.h:
1344         * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1345         (ev_window_cmd_edit_rotate_right), (ev_window_init):
1346
1347         Refresh thumbnails when changing orientation. Not fully
1348         working yet becuase of a sidebar bug.
1349
1350         Set page orientation to poppler page everywhere. This sucks
1351         really need to fix poppler.
1352
1353 2005-06-18  Marco Pesenti Gritti  <mpg@redhat.com>
1354
1355         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1356         (egg_recent_view_gtk_new_menu_item),
1357         (egg_recent_view_gtk_set_property),
1358         (egg_recent_view_gtk_get_property),
1359         (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1360         (egg_recent_view_gtk_set_tooltip_func),
1361         (egg_recent_view_gtk_set_label_width),
1362         (egg_recent_view_gtk_get_label_width):
1363         * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1364
1365         Sync with libegg (ellipsize labels)
1366
1367 2005-06-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1368
1369         * data/evince-ui.xml:
1370         * shell/ev-window.c: (ev_window_cmd_go_forward),
1371         (ev_window_cmd_go_backward):
1372         
1373         Shift + PageUp moves 10 Pages. Fix for 306125
1374
1375 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1376
1377         * pdf/ev-poppler.cc:
1378
1379         Add a flag to check if orientation has been overriden
1380
1381 2005-06-17  Martin Kretzschmar  <martink@gnome.org>
1382
1383         * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1384         field if necessary.
1385
1386         * ps/ps.h: add creator field to document.
1387
1388         * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1389         set creator field.
1390
1391 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1392
1393         * data/evince-properties.glade:
1394         * shell/ev-properties.c: (ev_properties_set_document):
1395
1396         s/PDF Version/Format
1397
1398 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1399
1400         * shell/ev-properties.c: (ev_properties_set_document):
1401
1402         Remove unnecessary translations
1403
1404 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1405
1406         * cut-n-paste/toolbar-editor/Makefile.am:
1407
1408         Correct library name    
1409
1410 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1411
1412         * configure.ac:
1413         * cut-n-paste/recent-files/egg-recent-model.c:
1414         (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1415         (egg_recent_model_unlock_file):
1416         * cut-n-paste/recent-files/egg-recent-util.c:
1417         (egg_recent_util_get_unique_id):
1418         * cut-n-paste/recent-files/update-from-egg.sh:
1419         * cut-n-paste/toolbar-editor/Makefile.am:
1420         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1421         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1422         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1423         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1424         (egg_toolbars_model_get_type):
1425         * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1426
1427         Better makefile for toolbar editor and update everything
1428         to latest libegg.
1429
1430 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1431
1432         * shell/ev-window.c: (update_document_mode):
1433
1434         Prefer presentation mode when the document
1435         require fullscreen.
1436
1437 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1438
1439         * data/evince-ui.xml:
1440         * shell/ev-window.c:
1441
1442         Add control-equal for zooming
1443
1444 2005-06-17  Theppitak Karoonboonyanan  <thep@linux.thai.net>
1445
1446         * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1447
1448 2005-06-16  Marco Pesenti Gritti  <mpg@redhat.com>
1449
1450         * backend/ev-document.c: (ev_document_get_orientation):
1451         * backend/ev-document.h:
1452         * pdf/ev-poppler.cc:
1453         * ps/ps-document.c: (ps_document_get_orientation),
1454         (ps_document_set_orientation), (ps_document_document_iface_init):
1455
1456         Add a get_orientation api. Improve set_orientation.
1457
1458         * data/evince-ui.xml:
1459         * shell/ev-view.c: (ev_view_set_orientation),
1460         (ev_view_rotate_right), (ev_view_rotate_left):
1461         * shell/ev-view.h:
1462         * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1463         (ev_window_cmd_edit_rotate_right):
1464
1465         Better ui for changing document orientation
1466
1467 2005-06-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1468
1469         * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1470         (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1471         * shell/ev-sidebar-links.h:
1472         * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1473         (ev_sidebar_page_iface_init):
1474         * shell/ev-sidebar-page.h:
1475         * shell/ev-sidebar-thumbnails.c:
1476         (ev_sidebar_thumbnails_get_property),
1477         (ev_sidebar_thumbnails_class_init),
1478         (ev_sidebar_thumbnails_set_document):
1479         * shell/ev-sidebar-thumbnails.h:
1480         * shell/ev-view.c: (ev_view_motion_notify_event):
1481         * shell/ev-window.c: (update_chrome_visibility),
1482         (ev_window_cmd_focus_page_selector),
1483         (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1484         (sidebar_page_main_widget_update_cb), (ev_window_init):
1485         
1486         Autoraise toolbar on GoToPage binding and fix bindings in
1487         EvSidebarThumbnails page.
1488
1489 2005-06-15  Christian Persch  <chpe@cvs.gnome.org>
1490
1491         * shell/ev-properties.c: (update_progress_label):
1492
1493         Hide the progress label when finished; bug #307697.
1494
1495 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
1496
1497         * pdf/ev-poppler.cc:
1498
1499         Enable is_open for links, you will need poppler cvs
1500
1501         * shell/ev-properties.c: (job_fonts_finished_cb):
1502
1503         Get a lock on the document when filling the tree view
1504
1505 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
1506
1507         * backend/ev-document-links.h:
1508         * pdf/ev-poppler.cc:
1509         * shell/ev-sidebar-links.c: (create_loading_model),
1510         (expand_open_links), (job_finished_callback):
1511
1512         Expand links when specified by the document.
1513         Depend on a poppler api (defined out for now)
1514
1515 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
1516
1517         * shell/ev-properties.c: (ev_properties_dispose),
1518         (ev_properties_class_init), (dialog_destroy_cb),
1519         (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1520         (ev_properties_set_document), (ev_properties_new),
1521         (ev_properties_show):
1522         * shell/ev-properties.h:
1523
1524         Make it an object, cleanup the code, api to show it as transient
1525         and to set the document.
1526
1527         * shell/ev-window.c: (ev_window_setup_document),
1528         (ev_window_cmd_file_properties):
1529
1530         Adapt to EvProperties changes, do not show multiple
1531         times, update it when document changes.
1532
1533 2005-06-14  Marco Pesenti Gritti <mpg@redhat.com>
1534
1535         * ps/gstypes.h:
1536         * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1537         (ps_document_set_orientation), (ps_document_document_iface_init):
1538         * ps/ps-document.h:
1539
1540         Implement orientation here too
1541
1542         * shell/ev-properties.c: (ev_properties_new):
1543         * data/evince-properties.glade:
1544
1545         Hide the fonts page for backends that doesnt
1546         support it.     
1547
1548 2005-06-14  Marco Pesenti Gritti <mpg@redhat.com>
1549
1550         * backend/ev-document.c: (ev_document_set_orientation):
1551         * backend/ev-document.h:
1552         * pdf/ev-poppler.cc:
1553
1554         Add orientation api. Currently poppler api is not optimal,
1555         we need to set orientation every time we _get a page.
1556         I will try to fix that at some point.
1557
1558         * data/evince-ui.xml:
1559         * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1560         (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1561
1562         Add orientation menu items
1563
1564         * shell/ev-page-cache.c: (ev_page_cache_clear):
1565         * shell/ev-page-cache.h:
1566
1567         Add api to clear the cache
1568
1569         * shell/ev-view.c: (setup_caches), (clear_caches),
1570         (ev_view_set_document), (ev_view_zoom_out),
1571         (ev_view_set_orientation):
1572         * shell/ev-view.h:
1573
1574         Implement orientation changing
1575
1576 2005-06-13  Marco Pesenti Gritti <mpg@redhat.com>
1577
1578         * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1579         (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1580         * backend/ev-document-fonts.h:
1581
1582         Separate scan and fill so that we can incrementally fill from
1583         the main thread. Add a progress api.
1584
1585         * data/evince-properties.glade:
1586         * pdf/ev-poppler.cc:
1587         * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1588         * shell/ev-jobs.h:
1589         * shell/ev-properties.c: (update_progress_label),
1590         (job_fonts_finished_cb), (setup_fonts_view):
1591
1592         Incrementally feel the list and show the progress
1593         percentage in a label like acrobat does.
1594
1595         You are going to need poppler cvs
1596
1597 2005-06-11  Marco Pesenti Gritti <mpg@redhat.com>
1598
1599         * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1600         * backend/ev-document-fonts.h:
1601         * pdf/ev-poppler.cc:
1602
1603         Make fonts model fill incrementally.
1604
1605         * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1606         (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1607         (ev_job_queue_remove_job):
1608         * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1609         (ev_job_fonts_new), (ev_job_fonts_run):
1610         * shell/ev-jobs.h:
1611
1612         New job for fonts scanning
1613
1614         * shell/ev-properties.c: (job_fonts_finished_cb),
1615         (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1616         * shell/ev-properties.h:
1617         * shell/ev-window.c: (ev_window_cmd_file_properties):
1618
1619         Incrementally feel the treeview using the new job. Show Loading...
1620         message until scanning is completed.
1621
1622         Hopefully I didnt break the build without the poppler patch.
1623
1624 2005-06-10  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1625
1626         * shell/ev-application.c: (ev_application_open):
1627         * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1628         (ev_document_type_get_type), (ev_document_type_lookup):
1629         * shell/ev-document-types.h:
1630         * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1631         * shell/ev-job-xfer.h:
1632         * shell/ev-window.c: (ev_window_clear_local_uri),
1633         (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1634         (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1635         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1636         
1637         Transfer remote documents to tmp directory to display them later.
1638
1639 2005-06-10  Marco Pesenti Gritti <mpg@redhat.com>
1640
1641         * backend/ev-document-info.h:
1642         * shell/ev-properties.c: (ev_properties_new):
1643
1644         s/GTime*/GTime. Not sure why we was using a pointer
1645         at all there!
1646
1647 Wed Jun  8 01:04:22 2005  Jonathan Blandford  <jrb@redhat.com>
1648
1649         * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1650         situations.  That situation is that you're using GTK+-HEAD with
1651         the patch at #306726 is applied, and you have a document with <
1652         1500 pages in it.  It's not quite as uniformly nice as the
1653         TreeView, but should be better in the long run.
1654
1655         I'm pretty sure I guarded against breaking compilation with
1656         HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1657         I missed some.
1658
1659         * shell/ev-window.c (ev_window_init): We don't have our tree/list
1660         widget yet, so I commented that code out
1661         enable_view_actions_for_widget() for now.  Need to figure this
1662         out.
1663
1664         * shell/ev-page-action.c (match_selected_cb): emit the right
1665         signals.  Our cool C-l completion now works.
1666
1667 2005-06-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1668
1669         * backend/Makefile.am:
1670         * backend/ev-document-fonts.c:
1671         * backend/ev-document-links.c:
1672         * backend/ev-document.c: (ev_document_load):
1673         * backend/ev-document.h:
1674         * backend/ev-job-queue.c:
1675         * backend/ev-job-queue.h:
1676         * backend/ev-jobs.c:
1677         * backend/ev-jobs.h:
1678         * backend/ev-page-cache.c:
1679         * backend/ev-page-cache.h:
1680
1681         EvPageCache and EvJobs are moved to shell.
1682
1683         * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1684         (ev_tmp_filename):
1685         * lib/ev-file-helpers.h:
1686         
1687         New helper to work with temporary files
1688         
1689         * shell/Makefile.am:
1690         * shell/ev-application.c: (ev_application_open):
1691         * shell/ev-application.h:
1692         * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1693         (remove_job_from_async_queue), (add_job_to_async_queue),
1694         (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1695         (handle_job), (search_for_jobs_unlocked),
1696         (no_jobs_available_unlocked), (ev_render_thread),
1697         (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1698         (ev_job_queue_add_job), (move_job_async), (move_job),
1699         (ev_job_queue_update_job), (ev_job_queue_remove_job):
1700         * shell/ev-job-queue.h:
1701         * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1702         (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1703         * shell/ev-job-xfer.h:
1704         * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1705         (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1706         (ev_job_links_class_init), (ev_job_render_init),
1707         (ev_job_render_dispose), (ev_job_render_class_init),
1708         (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1709         (ev_job_thumbnail_class_init), (ev_job_load_init),
1710         (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1711         (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1712         (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1713         (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1714         * shell/ev-jobs.h:
1715         * shell/ev-page-action.c: (ev_page_action_set_document):
1716         * shell/ev-page-cache.c: (ev_page_cache_init),
1717         (ev_page_cache_class_init), (ev_page_cache_finalize),
1718         (ev_page_cache_new), (ev_page_cache_get_n_pages),
1719         (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1720         (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1721         (ev_page_cache_get_title), (ev_page_cache_get_size),
1722         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1723         (ev_page_cache_get_height_to_page),
1724         (ev_page_cache_get_max_label_chars),
1725         (ev_page_cache_get_page_label),
1726         (ev_page_cache_has_nonnumeric_page_labels),
1727         (ev_page_cache_get_info), (ev_page_cache_next_page),
1728         (ev_page_cache_prev_page), (ev_page_cache_get):
1729         * shell/ev-page-cache.h:
1730         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1731         (ev_pixbuf_cache_clear_job_sizes),
1732         (ev_pixbuf_cache_add_jobs_if_needed),
1733         (ev_pixbuf_cache_set_page_range):
1734         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1735         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1736         * shell/ev-sidebar-thumbnails.c:
1737         (ev_sidebar_tree_selection_changed),
1738         (ev_sidebar_thumbnails_set_document):
1739         * shell/ev-statusbar.c: (ev_statusbar_destroy),
1740         (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1741         (ev_statusbar_get_context_id), (ev_statusbar_push),
1742         (ev_statusbar_pop), (ev_statusbar_set_maximized),
1743         (ev_statusbar_pulse), (ev_statusbar_show_progress),
1744         (ev_statusbar_set_progress):
1745         * shell/ev-statusbar.h:
1746         * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1747         (ev_view_find_previous):
1748         * shell/ev-window.c: (ev_window_is_empty),
1749         (ev_window_setup_document), (password_dialog_response),
1750         (ev_window_clear_jobs), (ev_window_load_job_cb),
1751         (ev_window_xfer_job_cb), (ev_window_open_uri),
1752         (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1753         (ev_window_print), (ev_window_print_range),
1754         (ev_window_state_event), (ev_window_cmd_view_reload),
1755         (menu_item_select_cb), (menu_item_deselect_cb),
1756         (view_status_changed_cb), (ev_window_dispose),
1757         (drag_data_received_cb), (ev_window_init):
1758         * shell/ev-window.h:
1759         * shell/main.c: (load_files):
1760         
1761         New statusbar to show progress on idle. Two new jobs - 
1762         xfer job and load job to load document in background. And update
1763         of page_cache clients to new location of code.
1764
1765 2005-06-08  Carlos Garcia Campos <carlosgc@gnome.org>
1766   
1767         * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1768         selection in open dialog. It also remembers the last visited directory 
1769         in the current session.
1770
1771 2005-06-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1772
1773         * shell/ev-properties.c: (ev_properties_new):
1774         * shell/ev-properties.h:
1775         * shell/ev-window.c: (ev_window_cmd_file_properties):
1776         
1777         Get document info from page cache instead of document itself.
1778         This should fix crash related to race conditions described in
1779         bug 306545.
1780
1781 2005-06-07  Marco Pesenti Gritti <mpg@redhat.com>
1782
1783         * ps/ps-document.c: (ps_document_init),
1784         (send_ps), (get_page_box), (output), (catchPipe), (input),
1785         (stop_interpreter), (file_length), (file_readable),
1786         (check_filecompressedb), (ps_document_enable_interpreter),
1787         (document_load), (ps_async_renderer_render_pixbuf):
1788         * ps/ps-document.h:
1789
1790         Big cleanup of the ps code
1791
1792 2005-06-07  Marco Pesenti Gritti <mpg@redhat.com>
1793
1794         * backend/Makefile.am:
1795         * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1796         (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1797         * backend/ev-async-renderer.h:
1798
1799         Add an async renderer interface (method + callback) which
1800         is useful for backends like ps.
1801
1802         * backend/ev-job-queue.c: (remove_job_from_async_queue),
1803         (add_job_to_async_queue), (job_finished_cb), (handle_job),
1804         (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1805         (ev_job_queue_add_job), (move_job_async), (move_job),
1806         (ev_job_queue_update_job), (ev_job_queue_remove_job):
1807
1808         Add queues for async renderer, these are executed on the
1809         main thread.
1810
1811         * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1812         (ev_job_render_run):
1813         * backend/ev-jobs.h:
1814
1815         If the backend support async renderer interface use it.
1816
1817         * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1818         (setup_pixmap), (ps_document_get_type),
1819         (ps_async_renderer_render_pixbuf),
1820         (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1821
1822         Implement async renderer interface.
1823
1824 2005-06-07  Nickolay V. Shmyrev  <<nshmyrev@yandex.ru>>
1825
1826         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1827
1828         Cleanup links job on exit.
1829
1830 2005-06-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1831
1832         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1833         (drag_data_get_cb), (drag_data_received_cb):
1834         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1835         (drag_data_get_cb), (parse_item_list),
1836         (egg_toolbar_editor_load_actions):
1837         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1838         (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1839         (parse_item_list), (parse_toolbars):
1840         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1841         (dvi_pixbuf_put_pixel):
1842         
1843         Fix gcc 4.0 warnings
1844
1845 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
1846
1847         * ps/ps-document.c: (start_interpreter):
1848
1849         Fix warning when loading ps
1850
1851 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
1852
1853         * ps/ps-document.c: (output):
1854
1855         Fix crash when priting gs error messages.
1856
1857 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
1858
1859         * backend/ev-page-cache.c: (_ev_page_cache_new):
1860         * backend/ev-page-cache.h:
1861
1862         Use a const to return title so that we dont double
1863         free it. Small cleanup and fix a leak.
1864
1865         * shell/ev-window.c: (update_window_title):
1866
1867         strdup value from get_title.
1868
1869 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
1870
1871         * shell/ev-sidebar-links.c: (job_finished_callback),
1872         (ev_sidebar_links_set_document):
1873
1874         Cleanup the old job when changing document
1875
1876 2005-06-05  Nickolay V. Shmyrev  <<nshmyrev@yandex.ru>>
1877
1878         * shell/ev-stock-icons.c:
1879         * shell/ev-stock-icons.h:
1880         * shell/ev-window.c:
1881         
1882         Add stock icons for actions that can appear in toolbar. Fix for
1883         bug 306566.
1884
1885 2005-06-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1886
1887         * backend/ev-page-cache.c: (ev_page_cache_finalize),
1888         (_ev_page_cache_new), (ev_page_cache_get_max_width),
1889         (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1890         * backend/ev-page-cache.h:
1891         * shell/ev-view.c: (scroll_to_current_page),
1892         (view_update_range_and_current_page), (get_page_y_offset),
1893         (get_page_extents), (ev_view_size_request_continuous_dual_page),
1894         (ev_view_size_request_continuous),
1895         (ev_view_zoom_for_size_continuous_and_dual_page),
1896         (ev_view_zoom_for_size_continuous):
1897         
1898         More compact EvView layout in document with pages of different size.
1899
1900 Sat Jun  4 19:20:57 2005  Jonathan Blandford  <jrb@redhat.com>
1901
1902         * shell/ev-window.c (ev_window_cmd_file_properties): fix
1903         compilation.
1904
1905 2005-06-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1906
1907         * shell/ev-view.c: (view_set_adjustment_values):
1908         * shell/ev-window.c: (ev_window_cmd_file_properties):
1909         
1910         A bit different fix for rounding problem but it has no
1911         problems on startup. Make properties window transient to parent.
1912
1913 2005-06-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1914
1915         * pdf/ev-poppler.cc:
1916         
1917         More commenting of font stuff.
1918
1919 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1920
1921         * pdf/ev-poppler.cc:
1922
1923         Comment out some more fonts stuff. Should really
1924         work without the poppler patch now.
1925
1926 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1927
1928         * pdf/ev-poppler.cc:
1929
1930         Adapt to api change
1931
1932 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1933
1934         * data/evince-properties.glade:
1935         * pdf/ev-poppler.cc:
1936         * shell/ev-properties.c: (setup_fonts_view):
1937
1938         Set the column title. Show the dialog only
1939         once everything is setup.
1940         Getting font info can be very slow... will
1941         prolly need to make this threaded too.
1942
1943 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1944
1945         * backend/Makefile.am:
1946         * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1947         (ev_document_fonts_get_fonts_model):
1948         * backend/ev-document-fonts.h:
1949         * data/evince-properties.glade:
1950         * pdf/ev-poppler.cc:
1951         * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1952         * shell/ev-properties.h:
1953         * shell/ev-window.c: (ev_window_cmd_file_properties):
1954
1955         Implement fonts list. Defined out for now, since it depends
1956         on a not yet committed poppler patch.
1957
1958 Fri Jun  3 21:07:57 2005  Jonathan Blandford  <jrb@redhat.com>
1959
1960         * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1961         page + 1.
1962
1963         * shell/ev-window.c: Make sure we add the timeout when we get a
1964         focus-in event.
1965
1966         * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1967         adjustment->value before calculating the zoom factor to average
1968         out all of our rounding errors.  The page no longer 'drifts' when
1969         resizing.
1970
1971 2005-06-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1972
1973         * data/evince-properties.glade:
1974         * shell/ev-properties.c: (ev_properties_format_date),
1975         (set_property):
1976         
1977         Labels don't expand when the dialogue is resized.
1978         strftime result needs to be converted to UTF-8. Thanks
1979         to Christian Persch <chpe@gnome.org>.
1980
1981 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1982
1983         * data/evince-properties.glade:
1984
1985         Hide the fonts tab
1986
1987 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1988
1989         * backend/ev-document-info.h:
1990         * backend/ev-document.c: (ev_document_info_free):
1991         * data/evince-properties.glade:
1992         * pdf/ev-poppler.cc:
1993         * ps/ps-document.c: (ps_document_get_info):
1994         * shell/ev-properties.c: (ev_properties_format_date),
1995         (set_property), (ev_properties_new):
1996         * shell/ev-properties.h:
1997         * shell/ev-window.c: (ev_window_cmd_file_properties):
1998
1999         Rework properties code to take only EvPropertyInfo
2000         in the constructor so that it can be useful for
2001         nautilus plugin too.
2002
2003         Deal with backends that doesnt support some properties.
2004         Make set property code generic.
2005
2006 2005-06-04  Christian Persch <chpe@gnome.org>
2007
2008         * data/evince-properties.glade:
2009
2010         fix spacings, make resizeable, and make data labels
2011         selectable + ellipsised
2012
2013 2005-06-03  Marco Pesenti Gritti <mpg@redhat.com>
2014
2015         * backend/ev-document-info.h:
2016         * data/Makefile.am:
2017         * data/evince-ui.xml:
2018         * pdf/ev-poppler.cc:
2019         * shell/Makefile.am:
2020         * shell/ev-window.c: (update_action_sensitivity),
2021         (ev_window_cmd_file_properties):
2022
2023         Initial go at file properties. Patch by
2024         Emil Soleyman-Zomalan <emil@soleyman.com>.
2025         Needs love see #169583
2026
2027 2005-06-02  Marco Pesenti Gritti <mpg@redhat.com>
2028
2029         * ps/ps-document.c: (output):
2030         * ps/ps.c: (psscan):
2031
2032         Try to render even if psscan fails.
2033
2034 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
2035
2036         * ps/ps.c: (psscan), (pscopydoc):
2037
2038         Port buffered reading code from gv
2039
2040 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
2041
2042         * ps/ps-document.c: (interpreter_message), (output):
2043
2044         Do not fail on interpreter messages
2045
2046 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
2047
2048         * backend/ev-document-misc.c:
2049         (ev_document_misc_get_thumbnail_frame):
2050
2051         Pages can be 0 x 0, dont assert on this case
2052
2053 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
2054
2055         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
2056         (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
2057
2058         Correctly manage our reference on document. Finally the reload
2059         huge leak is gone...
2060
2061 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
2062
2063         * ps/ps-document.c: (ps_document_dispose):
2064
2065         Forgot to chain it to the parent. Thanks chpe.
2066
2067 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
2068
2069         * ps/ps-document.c: (ps_document_dispose),
2070         (ps_document_class_init), (stop_interpreter), (document_load):
2071
2072         Cleanup dispose a bit. Dont leak the whole pixmap.
2073
2074 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
2075
2076         * pdf/ev-poppler.cc:
2077
2078         Release the poppler document on dispose
2079
2080 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
2081
2082         * shell/ev-view.c: (ev_view_set_document):
2083
2084         Release ref on the pixbuf cache when changing
2085         document.
2086
2087 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
2088
2089         * ps/ps-document.c: (ps_document_get_info):
2090
2091         Fix a double free
2092
2093 2005-05-31  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
2094
2095         * backend/ev-page-cache.c: (ev_page_cache_init),
2096         (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
2097         * backend/ev-page-cache.h:
2098         * shell/ev-page-action.c: (page_changed_cb):
2099         
2100         Set page action entry width depending on labels width. Fix
2101         for bug 305202.
2102
2103 2005-05-31  Marco Pesenti Gritti  <mpg@redhat.com>
2104
2105         * backend/ev-link.c: (ev_link_class_init):
2106
2107         Allow -1 as page value (error)
2108
2109 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
2110
2111         * shell/ev-sidebar-thumbnails.c:
2112         (ev_sidebar_thumbnails_set_document):
2113         * shell/ev-view.c: (scroll_to_current_page),
2114         (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
2115         (page_changed_cb), (on_adjustment_value_changed),
2116         (ev_view_set_document):
2117
2118         Slightly modified patch by Nickolay V. Shmyrev  <nshmyrev@yandex.ru>.
2119         Fix bug 305377
2120
2121 2005-05-29  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2122
2123         * configure.ac:
2124         * djvu/djvu-document.c: (djvu_document_get_page_size):
2125
2126         Require djvulibre CVS. Now djvu loading is much faster. Fix for
2127         bug 301993.
2128
2129 Sat May 28 07:38:03 2005  Jonathan Blandford  <jrb@redhat.com>
2130
2131         * shell/ev-view.c (draw_one_page): modify the expose handling to
2132         get the shadows.
2133
2134         * shell/ev-window.c (update_action_sensitivity): Respect
2135         permissions field.  Kowtow to the man.
2136
2137         * pdf/ev-poppler.cc: Get the permissions field.
2138
2139         * tiff/*c: Make a tiny bit more robust.
2140
2141 2005-05-26  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2142
2143         * djvu/djvu-document.c:
2144         
2145         Pop messages from djvu context message queue.
2146
2147 2005-05-24  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2148
2149         * configure.ac, Makefile.am, shell/Makefile.am:
2150         * tiff/Makefile.am, shell/ev-document-types.c:
2151         
2152         Cleanup tiff configure checks. Fix for bug 305218.
2153
2154 2005-05-24  Maxim V. Dziumanenko <mvd@mylinux.ua>
2155
2156         * configure.ac: Added "uk" to ALL_LINGUAS.
2157
2158 2005-05-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2159
2160         * cut-n-paste/zoom-control/ephy-zoom.c:
2161         (ephy_zoom_get_changed_zoom_level):
2162         * cut-n-paste/zoom-control/ephy-zoom.h:
2163         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2164         (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2165         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2166         (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2167         (zoom_control_changed_cb), (ev_window_init):
2168         
2169         Fix minor points related to moving best fit up. Introduce
2170         "zoom" property and make zoom control change it's value on
2171         notify::zoom signals. Fix for 305080.
2172
2173 2005-05-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2174
2175         * data/evince-ui.xml:
2176         * shell/ev-window.c: (set_view_actions_sensitivity):
2177         
2178         Use + and - as accels for zoom in and zoom out. Fix for 305001.
2179
2180 2005-05-22  Marco Pesenti Gritti  <mpg@redhat.com>
2181
2182         * configure.ac:
2183
2184         Depends on poppler 0.3.2
2185
2186 2005-05-22  Marco Pesenti Gritti  <mpg@redhat.com>
2187
2188         * cut-n-paste/recent-files/egg-recent-item.c:
2189         (egg_recent_item_get_short_name):
2190         * cut-n-paste/toolbar-editor/Makefile.am:
2191         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2192         (new_pixbuf_from_widget):
2193         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2194         * cut-n-paste/toolbar-editor/egg-marshal.c:
2195         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2196         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2197
2198         Sync
2199
2200 Sat May 21 23:18:30 2005  Jonathan Blandford  <jrb@redhat.com>
2201
2202         * tiff/tiff-document.c: Rough TIFF backend.
2203
2204 2005-05-21  Marco Pesenti Gritti  <mpg@redhat.com>
2205
2206         * NEWS:
2207         * configure.ac:
2208         * cut-n-paste/toolbar-editor/Makefile.am:
2209
2210         Release 0.3.1
2211
2212 2005-05-21  Marco Pesenti Gritti  <mpg@redhat.com>
2213
2214         * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2215         (ev_view_find_next), (ev_view_find_previous):
2216
2217         Remove the locks around get_n_results   
2218
2219 2005-05-21  Juerg Billeter  <j@bitron.ch>
2220
2221         * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2222
2223         Pass correct number of pages to poppler.
2224
2225 2005-05-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2226
2227         * configure.ac:
2228         * data/Makefile.am:
2229         * data/evince.desktop.in: 
2230         * data/evince.desktop.in.in:
2231         * po/POTFILES.in:
2232         
2233         Add conditionally dvi and djvu to desktop types. Fix for 304658.
2234
2235 Sat May 21 00:21:30 2005  Jonathan Blandford  <jrb@redhat.com>
2236
2237         * shell/ev-view.c: (view_update_adjustments),
2238         (view_set_adjustment_values): cast adjustmen->value to (int)
2239         before using it.  Otherwise, we get off by a pixel in some
2240         situations.
2241
2242         (draw_one_page): Draw the border on expose.
2243
2244 Fri May 20 22:05:25 2005  Jonathan Blandford  <jrb@redhat.com>
2245
2246         * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2247         adjustment when the mode changes, #304923
2248
2249 Fri May 20 02:00:03 2005  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2250
2251         * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2252         flickering on resize but still use gdk_window_scroll on
2253         scrolling
2254
2255 Fri May 20 01:46:57 2005  Jonathan Blandford  <jrb@redhat.com>
2256
2257         * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2258         option, #170458
2259
2260 Fri May 20 01:27:01 2005  Jonathan Blandford  <jrb@redhat.com>
2261
2262         * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2263         second page on page_changed if possible, #304669
2264
2265 Fri May 20 01:07:15 2005  Jonathan Blandford  <jrb@redhat.com>
2266
2267         * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2268         instead of gtk_widget_queue_draw.  Massive speedups in scrolling.
2269
2270 Fri May 20 01:05:10 2005  Jonathan Blandford  <jrb@redhat.com>
2271
2272         * .cvsignore:
2273         * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2274         (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2275         (ev_view_zoom_for_size_presentation),
2276         (ev_view_zoom_for_size_continuous_and_dual_page),
2277         (ev_view_zoom_for_size_continuous),
2278         (ev_view_zoom_for_size_dual_page),
2279         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2280         * shell/ev-view.h:
2281         * shell/ev-window.c: (update_view_size),
2282         (ev_window_sizing_mode_changed_cb):
2283
2284         Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2285         the scrollbars.  It's not 100% right, but it's much closer.  Kills
2286         an infinite loop, #304769
2287
2288
2289 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
2290
2291         * data/evince-ui.xml:
2292         * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2293         * shell/ev-window.c: (set_view_actions_sensitivity):
2294
2295         Make PgUp/Down behave like Space
2296
2297 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
2298
2299         * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2300         * backend/ev-ps-exporter.h:
2301         * pdf/ev-poppler.cc:
2302         * ps/ps-document.c: (ps_document_ps_export_begin):
2303         * shell/ev-print-job.c: (idle_print_handler):
2304
2305         Adapt to new poppler api
2306
2307 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
2308
2309         * cut-n-paste/zoom-control/ephy-zoom-control.c:
2310         (ephy_zoom_control_init):
2311
2312         Translate zoom levels
2313
2314 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
2315
2316         * cut-n-paste/zoom-control/ephy-zoom.c:
2317         (ephy_zoom_get_zoom_level_index):
2318
2319         Fix current zoom -> zoom control match
2320
2321 2005-05-18  James Bowes  <bowes@cs.dal.ca>
2322
2323         * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2324         rather than the scrolled_window that it's in. Fixes bug #304655.
2325
2326 Tue May 17 22:54:17 2005  Jonathan Blandford  <jrb@redhat.com>
2327
2328         * shell/ev-view.c: (view_update_adjustments),
2329         (view_set_adjustment_values), (view_update_range_and_current_page),
2330         (view_scroll_to_page), (set_scroll_adjustment),
2331         (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2332         (ev_view_scroll), (ev_view_scroll_view),
2333         (ensure_rectangle_is_visible), (find_page_at_location),
2334         (get_link_at_location), (go_to_link), (status_message_from_link),
2335         (ev_view_size_request_continuous_dual_page),
2336         (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2337         (ev_view_unrealize), (ev_view_expose_event),
2338         (ev_view_button_press_event), (ev_view_motion_notify_event),
2339         (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2340         (draw_rubberband), (highlight_find_results), (draw_one_page),
2341         (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2342         (ev_view_init), (find_changed_cb), (page_changed_cb),
2343         (on_adjustment_value_changed), (ev_view_new),
2344         (ev_view_set_document), (ev_view_set_zoom),
2345         (ev_view_set_continuous), (ev_view_set_dual_page),
2346         (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2347         (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2348         (ev_view_zoom_for_size_presentation),
2349         (ev_view_zoom_for_size_continuous_dual_page),
2350         (ev_view_zoom_for_size_continuous),
2351         (ev_view_zoom_for_size_dual_page),
2352         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2353         (ev_view_get_status), (ev_view_set_status),
2354         (update_find_status_message), (ev_view_get_find_status),
2355         (ev_view_set_find_status), (jump_to_find_result),
2356         (jump_to_find_page), (compute_selections), (clear_selection),
2357         (ev_view_select_all), (get_selected_text), (ev_view_copy),
2358         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2359         (ev_view_update_primary_selection),
2360         (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2361         * shell/ev-view.h:
2362         * shell/ev-window.c: (ev_window_open_page_label),
2363         (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2364         (ev_window_init):
2365         * shell/ev-window.h:
2366         * shell/main.c: (load_files):
2367
2368         Massive code clean up from Nickolay Shmyrev.  Keep page offset
2369         when resizing.  Remove the bin_window().  Also, patch from James
2370         Bowes to fix command line page, #300641
2371         
2372 2005-05-17  Marco Pesenti Gritti  <mpg@redhat.com>
2373
2374         * data/evince-ui.xml:
2375         * shell/ev-view.c:
2376         * shell/ev-view.h:
2377         * shell/ev-window.c: (update_action_sensitivity):
2378
2379         Get rid of View->Normal Size, it's just confusing
2380
2381 Tue May 17 00:51:21 2005  Jonathan Blandford  <jrb@redhat.com>
2382
2383         * backend/ev-document-info.h:
2384         * backend/ev-document.c: (ev_document_info_free): Free the
2385         EvDocumentInfo.
2386
2387         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2388         (clear_range), (add_range), (update_visible_range),
2389         (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2390         (ev_sidebar_thumbnails_set_document):
2391         * shell/ev-window.c: (ev_window_setup_document): Only render the
2392         visible thumbnails.  It takes an instant to render, but it uses
2393         much less memory.
2394
2395 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
2396
2397         * shell/ev-sidebar-links.c: (popup_menu_cb):
2398
2399         Select first item
2400
2401 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
2402
2403         * lib/Makefile.am:
2404         * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2405         (button_press_cb), (ev_sidebar_links_construct):
2406
2407         Show the popup menu also on keybindings
2408
2409 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
2410
2411         * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2412         * shell/ev-window.h:
2413
2414         Expose api to print a range (with dialog). Make private _print use
2415         it.
2416
2417         * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2418         (ev_sidebar_links_construct):
2419
2420         Show a print context menu on linkx, it prints the selected
2421         section.
2422
2423 2005-05-15  Carlos Garcia Campos <carlosgc@gnome.org>
2424
2425         * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2426         button.
2427
2428 2005-05-12  Marco Pesenti Gritti  <mpg@redhat.com>
2429
2430         * AUTHORS:
2431
2432         Update
2433
2434         * shell/ev-window.c: (build_comments_string),
2435         (ev_window_cmd_help_about):
2436
2437         Show poppler version/backend and authors
2438
2439 2005-05-11  Marco Pesenti Gritti  <mpg@redhat.com>
2440
2441         * cut-n-paste/zoom-control/ephy-zoom.c:
2442         (ephy_zoom_get_zoom_level_index):
2443         * cut-n-paste/zoom-control/ephy-zoom.h:
2444
2445         Move the best fit items at the top of the list
2446
2447 2005-05-11  Marco Pesenti Gritti  <mpg@redhat.com>
2448
2449         * shell/ev-marshal.list:
2450         * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2451         (activate_cb), (match_selected_cb), (activate_link_cb),
2452         (connect_proxy), (ev_page_action_class_init):
2453         * shell/ev-page-action.h:
2454
2455         Use signals to notify action activation. Hopefully
2456         I did not break completion since I cant test...
2457
2458         * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2459         (register_custom_actions):
2460
2461         Connect to page selector actions and also grab focus on
2462         the view when activated.
2463
2464 Wed May 11 01:18:29 2005  Jonathan Blandford  <jrb@redhat.com>
2465
2466         * pdf/ev-poppler.cc:
2467         * backend/ev-page-cache.c: make page size calculation consistent
2468         and set it to (int)( width * scale + 0.5).  This makes the weird
2469         line going through the middle of the page go away.
2470
2471         * shell/ev-view.c: move painting the background page after
2472         checking the expose area covers us.
2473
2474 2005-05-11  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2475
2476         * data/evince-password.glade:
2477         
2478         Mark labels as not translatable. Fix for bug 302842.
2479
2480 2005-05-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
2481
2482         * configure.ac: Added "es" to ALL_LINGUAS.
2483
2484 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2485
2486         * data/evince-toolbar.xml:
2487         * shell/ev-window.c: (update_action_sensitivity),
2488         (ev_window_setup_document), (ev_window_set_page_mode),
2489         (ev_window_init):
2490
2491         Remove some leftover code from jrb first continous
2492         attempt. Use the new actions, we still need good icons
2493         though...
2494
2495 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2496
2497         * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2498
2499         Update label when connecting proxy. Fix a warning with NULL
2500         page_cache.
2501
2502 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2503
2504         * data/evince-ui.xml:
2505         * shell/ev-page-action.c: (ev_page_action_grab_focus):
2506         * shell/ev-page-action.h:
2507         * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2508
2509         Add mnemonic for edit toolbar.
2510         ctrl+l focus the page entry.
2511
2512 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2513
2514         * lib/Makefile.am:
2515         * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2516         (ev_window_init):
2517         * shell/main.c: (main):
2518
2519         Put the toolbar xml in evince own dot dir
2520
2521 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2522
2523         * shell/ev-window.c: (ev_window_init):
2524
2525         Make the toolbar not removable
2526
2527 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2528
2529         * data/evince-ui.xml:
2530         * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2531         * shell/ev-sidebar-links.h:
2532         * shell/ev-sidebar-thumbnails.c:
2533         (ev_sidebar_thumbnails_get_treeview):
2534         * shell/ev-sidebar-thumbnails.h:
2535         * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2536         (ev_view_class_init):
2537         * shell/ev-view.h:
2538         * shell/ev-window.c: (update_action_sensitivity),
2539         (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2540         (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2541         (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2542         (ev_window_init):
2543
2544         This is evil... Make space/backspace global accelerators but
2545         enable them only for some widgets (sidebars and view).
2546         I dont like it, but I dont know a better way... :/
2547
2548 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2549
2550         * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2551         (ev_page_action_widget_finalize),
2552         (ev_page_action_widget_class_init), (update_page_cache):
2553
2554         Keep a weak reference on proxy->page_cache so that we
2555         dont try to disconnect the signal if the object is already
2556         gone. Maybe there is a better way to cleanup reference handling
2557         in page action though...
2558
2559 2005-05-10  Juerg Billeter  <j@bitron.ch>
2560
2561         * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2562         * backend/ev-ps-exporter.h:
2563         * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2564         * ps/ps-document.c: (ps_document_ps_export_begin):
2565         
2566         Change api to pass print range to ps_exporter_begin. The pdf backend
2567         requires this information.
2568         
2569         * shell/ev-print-job.c: (idle_print_handler):
2570         
2571         Adapt to api change
2572
2573 2005-05-10  Juerg Billeter  <j@bitron.ch>
2574
2575         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2576         (idle_print_handler)
2577         * shell/ev-window.c: (ev_window_print):
2578
2579         Support printing page range, based on patch by Amaury Jacquot
2580
2581 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2582
2583         * data/evince-toolbar.xml:
2584
2585         Add zoom control to available items
2586
2587 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2588
2589         * shell/ev-window.c: (update_action_sensitivity):
2590
2591         Set slash action insensitive when appropriate
2592
2593 2005-05-10  Christian Persch <chpe@gnome.org>
2594
2595         * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2596
2597         Fix warning on the overflow menu
2598
2599 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2600
2601         * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2602
2603         Check for uri correctness/existence
2604
2605 2005-05-09  Juerg Billeter  <j@bitron.ch>
2606
2607         * shell/ev-window.c: (using_postscript_printer):
2608
2609         LPD printers use postscript, too
2610
2611 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2612
2613         * shell/ev-window.c: (register_custom_actions):
2614
2615         The zoom one is actually sort of useful,
2616         put it back
2617
2618 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2619
2620         * shell/ev-window.c: (register_custom_actions):
2621
2622         Hide page/zoom controls from overflow, they
2623         are useless.
2624
2625 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2626
2627         * cut-n-paste/update-from-egg.sh:
2628         
2629         Share it between all cut-n-paste subdirs
2630
2631         * cut-n-paste/recent-files/Makefile.am:
2632
2633         Fix to use "global" update-from-egg.sh
2634
2635         * cut-n-paste/recent-files/egg-recent-model.c:
2636         (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2637         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2638         (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2639         (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2640
2641         Update from libegg
2642
2643         * cut-n-paste/toolbar-editor/Makefile.am:
2644
2645         Fix to use "global" update-from-egg.sh
2646
2647         * cut-n-paste/toolbar-editor/eggmarshalers.list:
2648
2649         Update from libegg
2650
2651 2005-05-09  Marco Pesenti Gritti <mpg@redhat.com>
2652
2653         * configure.ac:
2654         * cut-n-paste/Makefile.am:
2655         * cut-n-paste/recent-files/Makefile.am:
2656         * cut-n-paste/toolbar-editor/.cvsignore:
2657         * cut-n-paste/toolbar-editor/Makefile.am:
2658         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2659         (egg_editable_toolbar_get_type), (get_toolbar_position),
2660         (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2661         (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2662         (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2663         (set_item_drag_source), (create_item_from_action), (create_item),
2664         (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2665         (popup_toolbar_context_menu_cb), (free_dragged_item),
2666         (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2667         (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2668         (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2669         (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2670         (item_added_cb), (item_removed_cb),
2671         (egg_editable_toolbar_construct),
2672         (egg_editable_toolbar_disconnect_model),
2673         (egg_editable_toolbar_deconstruct),
2674         (egg_editable_toolbar_set_model),
2675         (egg_editable_toolbar_set_ui_manager),
2676         (egg_editable_toolbar_set_property),
2677         (egg_editable_toolbar_get_property),
2678         (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2679         (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2680         (egg_editable_toolbar_new_with_model),
2681         (egg_editable_toolbar_get_edit_mode),
2682         (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2683         (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2684         (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2685         (new_pixbuf_from_widget), (new_separator_pixbuf),
2686         (update_separator_image), (style_set_cb),
2687         (_egg_editable_toolbar_new_separator_image),
2688         (egg_editable_toolbar_get_model):
2689         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2690         * cut-n-paste/toolbar-editor/egg-marshal.c:
2691         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2692         (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2693         (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2694         (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2695         (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2696         (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2697         (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2698         (editor_drag_data_delete_cb), (drag_data_get_cb),
2699         (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2700         (editor_create_item), (update_editor_sheet), (setup_editor),
2701         (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2702         (parse_item_list), (model_has_action), (update_actions_list),
2703         (egg_toolbar_editor_load_actions):
2704         * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2705         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2706         (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2707         (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2708         (toolbars_item_new), (free_toolbar_node), (free_item_node),
2709         (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2710         (egg_toolbars_model_add_separator), (impl_add_item),
2711         (parse_item_list), (egg_toolbars_model_add_toolbar),
2712         (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2713         (impl_get_item_data), (impl_get_item_type),
2714         (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2715         (egg_toolbars_model_init), (free_toolbar),
2716         (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2717         (egg_toolbars_model_remove_toolbar),
2718         (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2719         (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2720         (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2721         (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2722         (egg_toolbars_model_get_item_data),
2723         (egg_toolbars_model_get_item_type):
2724         * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2725         * cut-n-paste/toolbar-editor/eggmarshalers.list:
2726         * data/Makefile.am:
2727         * data/evince-toolbar.xml:
2728         * data/evince-ui.xml:
2729         * data/hand-open.png:
2730         * po/POTFILES.in:
2731         * shell/Makefile.am:
2732         * shell/ev-window.c: (update_chrome_visibility),
2733         (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2734         (ev_window_dispose), (ev_window_init):
2735
2736         Implement epiphany like toolbar editor. Based on patch by
2737         Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2738
2739 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2740
2741         * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2742
2743         Use set_cursor instead of set_selection, so that
2744         the keyboard focus moves too.
2745
2746 2005-05-09  Aleksey Kliger <akliger@gmail.com>
2747
2748         * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2749
2750         Fix infinite loop when loading Type1 fonts
2751
2752 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2753
2754         * data/evince-ui.xml:
2755         * shell/ev-window.c:
2756
2757         Slash -> Find
2758
2759 2005-05-09  Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2760
2761         * configure.ac:
2762
2763         Make --disable really disable
2764
2765 2005-05-07  Juerg Billeter  <j@bitron.ch>
2766
2767         * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2768
2769         Compare page labels even without has_labels set, fixes setting page
2770         with entry
2771
2772 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2773
2774         * shell/ev-view.c: (ev_view_create_invisible_cursor),
2775         (ev_view_set_cursor), (ev_view_button_press_event),
2776         (ev_view_motion_notify_event), (ev_view_button_release_event),
2777         (ev_view_init):
2778
2779         Implement middle button scrolling. Based on a patch
2780         by Tommi Komulainen <tommi.komulainen@iki.fi>.
2781
2782 2005-05-08  Marco Pesenti Gritti  <mpg@redhat.com>
2783
2784         * shell/ev-document-types.c: (get_slow_mime_type),
2785         (get_document_type_from_mime), (ev_document_type_lookup):
2786         * shell/ev-document-types.h:
2787
2788         Change api to lookup from uri. Do fast lookup first, if the
2789         type is unknown try with data sniffing.
2790
2791         * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2792         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2793
2794         Adapt to api change
2795
2796 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2797
2798         * thumbnailer/Makefile.am:
2799
2800         Fix distcheck
2801
2802 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2803
2804         * NEWS:
2805         * configure.ac:
2806
2807         Release 0.3.0
2808
2809         * data/evince-ui.xml:
2810
2811         Hide presentation mode for now
2812
2813         * shell/ev-view.c: (highlight_find_results):
2814
2815         Show current find selection only on current page
2816
2817 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2818
2819         * shell/ev-view.c: (ev_view_select_all):
2820
2821         Compute size of the actual page, not of
2822         the current one.
2823
2824 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2825
2826         * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2827         (view_rect_to_doc_rect), (compute_selections),
2828         (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2829         (ev_view_copy), (ev_view_primary_get_cb),
2830         (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2831         (ev_view_button_press_event), (ev_view_motion_notify_event),
2832         (ev_view_button_release_event), (page_changed_cb):
2833
2834         Fix text selection
2835
2836 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2837
2838         * shell/ev-view.c: (compute_border), (get_page_extents),
2839         (doc_rect_to_view_rect), (highlight_find_results),
2840         (ev_view_bin_expose), (ev_view_select_all),
2841         (ev_view_motion_notify_event), (update_find_status_message),
2842         (jump_to_find_result), (jump_to_find_page):
2843
2844         First go at fixing search, still buggy
2845
2846 2005-05-04  Kristian Høgsberg  <krh@redhat.com>
2847
2848         * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2849         dropdown box and button at the top of the sidebar.
2850
2851 2005-05-02  James Bowes  <bowes@cs.dal.ca>
2852
2853         * configure.ac: Output zoom-control Makefile.
2854         * cut-n-paste/Makefile.am: build zoom-control subdir.
2855         * cut-n-paste/zoom-control/ephy-zoom-action.c:
2856         * cut-n-paste/zoom-control/ephy-zoom-action.h:
2857         * cut-n-paste/zoom-control/ephy-zoom-control.c:
2858         * cut-n-paste/zoom-control/ephy-zoom-control.h:
2859         * cut-n-paste/zoom-control/ephy-zoom.c:
2860         * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2861         from epiphany, and modified to add a separator into the menu.
2862         * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2863         * data/evince-ui.xml: Replace old zoom toolbar actions with new
2864         zoom-control action.
2865         * shell/Makefile.am: Include zoom-control flags.
2866         * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2867         (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2868         (ev_view_zoom_for_size_presentation),
2869         (ev_view_zoom_for_size_continuous_and_dual_page),
2870         (ev_view_zoom_for_size_continuous),
2871         (ev_view_zoom_for_size_dual_page),
2872         (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal): 
2873         s/ev_view_zoom/ev_view_set_zoom/ and make public, add 
2874         ev_view_get_zoom and ev_view_get_sizing_mode.
2875         * shell/ev-view.h:
2876         * shell/ev-window.c: (update_action_sensitivity),
2877         (update_sizing_buttons), (zoom_control_changed_cb),
2878         (register_custom_actions): Initialize and use the zoom-control 
2879         widget.
2880
2881 Sun May  1 00:46:47 2005  Jonathan Blandford  <jrb@redhat.com>
2882
2883         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2884         preview cache back to 1.  Don't know when it got set to 0.
2885         
2886         * shell/ev-view.c: (compute_border), (ev_view_realize),
2887         (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2888         (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2889         (ev_view_get_fullscreen), (ev_view_set_presentation),
2890         (ev_view_get_presentation), (ev_view_set_sizing_mode),
2891         (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2892         * shell/ev-view.h:
2893         * shell/ev-window.c:
2894         (update_chrome_visibility),
2895         (ev_window_cmd_continuous), (ev_window_cmd_dual),
2896         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2897         (update_document_mode), (ev_window_update_fullscreen_action),
2898         (ev_window_fullscreen), (ev_window_unfullscreen),
2899         (ev_window_cmd_view_fullscreen),
2900         (ev_window_update_presentation_action),
2901         (ev_window_run_presentation), (ev_window_stop_presentation),
2902         (ev_window_cmd_view_presentation), (ev_window_state_event),
2903         (ev_window_focus_in_event), (ev_window_focus_out_event),
2904         (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2905         * data/evince-ui.xml: Initial presentation mode.  We should
2906         probably hide this until it's done, as it's quite rough.  Also,
2907         change full-screen to fullscreen and add two getters to EvView.
2908
2909 2005-04-29  Marco Pesenti Gritti  <mpg@redhat.com>
2910
2911         * shell/ev-page-action.c: (update_page_cache),
2912         (ev_page_action_dispose):
2913         * shell/ev-window.c: (destroy_fullscreen_popup),
2914         (ev_window_create_fullscreen_popup):
2915
2916         Use connect_object rather than explicitly
2917         disconnect on dispose.
2918
2919 2005-04-29  Marco Pesenti Gritti  <mpg@redhat.com>
2920
2921         * shell/ev-page-action.c: (update_page_cache),
2922         (ev_page_action_dispose):
2923
2924 2005-04-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2925
2926         * backend/ev-page-cache.c: (_ev_page_cache_new),
2927         (ev_page_cache_set_page_label),
2928         (ev_page_cache_has_nonnumeric_page_labels):
2929         * backend/ev-page-cache.h:
2930         * shell/ev-page-action.c: (update_pages_label):
2931         
2932         If all page labels are numeric, fallback to default
2933         way to display number of pages. See bug 173185.
2934
2935 2005-04-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2936
2937         * shell/ev-page-action.c: (ev_page_action_dispose):
2938         * shell/ev-view.c: (view_update_range_and_current_page):
2939         * shell/ev-window.c: (ev_window_dispose):
2940         
2941         Set page on scroll in continuous mode. Fixes bug 301986.
2942         Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2943
2944 2005-04-26  Marco Pesenti Gritti <mpg@redhat.com>
2945
2946         * configure.ac:
2947
2948         Require poppler 0.3.0
2949
2950 2005-04-26  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2951         
2952         * shell/Makefile.am, configure.ac: Fix build problems
2953         with t1lib. Bug 301996.
2954
2955 2005-04-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2956
2957         * shell/ev-view.c: (ev_view_scroll_event):
2958         
2959         Scroll up increase zoom
2960
2961 2005-04-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2962
2963         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2964         (ev_view_set_sizing_mode),
2965         (ev_view_zoom_for_size_continuous_and_dual_page),
2966         (ev_view_zoom_for_size_continuous):
2967         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2968         (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2969         (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2970         (ev_window_init):
2971
2972         Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2973         Fix for 165473 and 165472.
2974
2975 2005-04-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2976
2977         * po/POTFILES.in:
2978         * thumbnailer/Makefile.am:
2979         * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2980         * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2981         * thumbnailer/evince-thumbnailer.schemas.in:
2982         
2983         Make thumbnailer schemas translatable. Fix for bug 301773
2984         
2985         * thumbnailer/evince-thumbnailer-djvu.schemas:
2986         * thumbnailer/evince-thumbnailer-dvi.schemas:
2987         * thumbnailer/evince-thumbnailer.schemas:
2988
2989         Removed files
2990
2991 Sun Apr 24 01:37:39 2005  Jonathan Blandford  <jrb@redhat.com>
2992
2993         * shell/ev-view.c (ev_view_init): forgot to set this.
2994
2995 Sun Apr 24 01:07:27 2005  Jonathan Blandford  <jrb@redhat.com>
2996
2997         * shell/ev-view.c: (find_page_at_location),
2998         (get_link_at_location),
2999         (ev_view_set_show_border), (ev_view_set_spacing),
3000         (ev_view_zoom_for_size_continuous_and_dual_page),
3001         (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
3002         Also, add a quick fix measuring of widths.  Also, removed
3003         ev_view_set_spacing and ev_view_set_show_border.
3004         
3005         * shell/ev-window.c: (ev_window_unfullscreen),
3006         (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
3007
3008 2005-04-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3009
3010         * shell/ev-view.c: (view_update_range_and_current_page),
3011         (page_changed_cb):
3012         
3013         Fix crash on exit and scrolling to page in continuous view.
3014
3015 Sat Apr 23 13:13:04 2005  Jonathan Blandford  <jrb@redhat.com>
3016
3017         * TODO:
3018         * backend/ev-page-cache.c: (_ev_page_cache_new),
3019         (ev_page_cache_get_max_width_size),
3020         (ev_page_cache_get_max_height_size):
3021         * backend/ev-page-cache.h:
3022         * data/evince-ui.xml:
3023         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
3024         * shell/ev-view.c: (view_update_adjustments),
3025         (view_update_range_and_current_page), (get_bounding_box_size),
3026         (ev_view_size_request_continuous_and_dual_page),
3027         (ev_view_size_request_continuous),
3028         (ev_view_size_request_dual_page),
3029         (ev_view_size_request_single_page), (ev_view_size_request),
3030         (ev_view_size_allocate), (get_page_extents), (draw_one_page),
3031         (ev_view_bin_expose), (ev_view_expose_event),
3032         (ev_view_set_property), (ev_view_get_property),
3033         (ev_view_class_init), (ev_view_init), (ev_view_new),
3034         (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
3035         (ev_view_set_dual_page), (ev_view_set_full_screen),
3036         (ev_view_set_presentation), (ev_view_set_sizing_mode),
3037         (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
3038         (ev_view_zoom_out), (zoom_for_size_fit_width),
3039         (zoom_for_size_best_fit),
3040         (ev_view_zoom_for_size_continuous_and_dual_page),
3041         (ev_view_zoom_for_size_continuous),
3042         (ev_view_zoom_for_size_dual_page),
3043         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
3044         (ev_view_show_cursor), (ev_sizing_mode_get_type):
3045         * shell/ev-view.h:
3046         * shell/ev-window.c: (update_action_sensitivity),
3047         (ev_window_cmd_continuous), (ev_window_cmd_dual),
3048         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3049         (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
3050         (ev_window_cmd_view_zoom_out), (update_view_size),
3051         (ev_window_set_sizing_mode), (ev_window_init):
3052
3053         Add Continuous and Dual page modes.
3054
3055 2005-04-23  James Bowes  <bowes@cs.dal.ca>
3056
3057         * dvi/dvi-document.c: (dvi_document_load),
3058         (dvi_document_thumbnails_get_thumbnail),
3059         (dvi_document_init_params): Fix up some mixups between
3060         width and height to correct thumbnail rendering.
3061
3062 2005-04-23  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3063
3064         * dvi/mdvi-lib/private.h:
3065         * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
3066         
3067         Suppess output for kpathsea during font generation. Thanks to
3068         James Bowes
3069
3070 Fri Apr 22 19:57:46 2005  Jonathan Blandford  <jrb@redhat.com>
3071
3072         * NEWS:
3073         * configure.ac:
3074
3075         Release 0.2.1
3076
3077         * Makefile.am: fix distcheck.
3078
3079 2005-04-23  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3080
3081         * shell/ev-sidebar-links.c: (selection_changed_callback),
3082         (update_page_callback), (row_activated_callback),
3083         (job_finished_callback), (ev_sidebar_links_set_document):
3084         
3085         Fix for bug #169901. Double click on links expands tree.
3086
3087 2005-03-14  Bryan Clark  <clarkbw@cvs.gnome.org>
3088
3089         * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
3090         hard-coded style. Fix for bug 170111
3091
3092 2005-04-22  Kristian Høgsberg  <krh@redhat.com>
3093
3094         * shell/ev-view.c (highlight_find_results): Remove unnecessary
3095         locking.
3096
3097 2005-04-22  Bryan Clark  <clarkbw@cvs.gnome.org>
3098
3099         * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
3100
3101 2005-04-22  Marco Pesenti Gritti  <mpg@redhat.com>
3102
3103         * pdf/ev-poppler.cc:
3104         * shell/ev-view.c: (highlight_find_results):
3105
3106         Fix find on single page documents
3107
3108 2005-04-22  Bryan Clark  <clarkbw@cvs.gnome.org>
3109
3110         * data/evince.schemas.in: fix for bug 301390
3111
3112 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
3113
3114         * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
3115         (ev_view_zoom_out), (ev_view_zoom_normal):
3116         * shell/ev-view.h:
3117         * shell/ev-window.c: (update_action_sensitivity),
3118         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
3119         (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
3120         (ev_window_cmd_view_normal_size):
3121
3122         Fix normal size zoom. Make zoom in/zoom out unsensitive when
3123         they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3124         better than oom. 
3125
3126 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
3127
3128         * configure.ac:
3129
3130         Depend on 2.57, 2.59 doesnt seem to be necessary
3131
3132 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
3133
3134         * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3135         (create_tool_item):
3136
3137         Put back total number of pages as (1 of 1234)
3138
3139 Thu Apr 21 23:37:52 2005  Jonathan Blandford  <jrb@redhat.com>
3140
3141         * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3142         remove the job.
3143
3144         * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3145         function.  This helps debugging.
3146
3147 2005-04-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3148
3149         * djvu/djvu-document.c: (djvu_document_class_init),
3150         (djvu_document_get_info), (djvu_document_document_iface_init):
3151         * dvi/dvi-document.c: (dvi_document_class_init),
3152         (dvi_document_get_info), (dvi_document_document_iface_init):
3153
3154        Dummy implementation of get_info method for dvi and djvu. Fix
3155        crashes with those backends
3156
3157 2005-04-20  Marco Pesenti Gritti <mpg@redhat.com>
3158
3159         * data/evince.desktop.in:
3160
3161         Add application/x-gzpostscript
3162
3163 2005-04-20  Bryan Clark  <clarkbw@cvs.gnome.org>
3164
3165         * data/evince.schemas.in: Added real long descriptions, 
3166         closes bug 172496 
3167
3168         * README: Added actual text, closes bug 171869
3169
3170 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
3171
3172         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3173
3174         Thumbnail page 0
3175
3176 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
3177
3178         * backend/ev-document-info.h:
3179
3180         s/GDate */GDate so we can just use g_free
3181
3182 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
3183
3184         * shell/ev-window.c: (update_document_mode),
3185         (ev_window_setup_document):
3186
3187         Show the window in fullscreen when specified by
3188         the document
3189
3190 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
3191
3192         * backend/ev-document.c: (ev_document_class_init),
3193         (ev_document_get_info), (ev_document_render_pixbuf):
3194         * backend/ev-document.h:
3195         * backend/ev-page-cache.c: (_ev_page_cache_new):
3196         * pdf/ev-poppler.cc:
3197         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3198         (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3199         * ps/ps-document.c: (ps_document_class_init), (document_load),
3200         (ps_document_get_info), (ps_document_document_iface_init):
3201
3202         Remove get_title from the interface, we can just use document info
3203
3204 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
3205
3206         * backend/Makefile.am:
3207         * backend/ev-document.c: (ev_document_render_get_info):
3208         * backend/ev-document.h:
3209         * pdf/ev-poppler.cc:
3210
3211         Initial support for document info. Based on jrb patch.
3212
3213 2005-04-19  Paolo Borelli <pborelli@katamail.com>
3214
3215         * shell/ev-window.c: (ev_window_state_event),
3216         (ev_window_class_init), (ev_window_init):
3217         
3218         Doesn't show resize grip when maximized. See bug #301053
3219
3220 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3221
3222         * po/POTFILES.in:
3223         
3224         ev-sidebar-thumbnails now has translatable labels
3225         
3226         * shell/Makefile.am:
3227         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3228         (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3229         (ev_sidebar_links_page_iface_init):
3230         * shell/ev-sidebar-links.h:
3231         * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3232         (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3233         (ev_sidebar_page_get_label):
3234         * shell/ev-sidebar-page.h:
3235         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3236         (ev_sidebar_thumbnails_set_document),
3237         (ev_sidebar_thumbnails_support_document),
3238         (ev_sidebar_thumbnails_get_label),
3239         (ev_sidebar_thumbnails_page_iface_init):
3240         * shell/ev-sidebar-thumbnails.h:
3241         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3242         (ev_sidebar_set_document):
3243         * shell/ev-sidebar.h:
3244         * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3245         
3246         Small rework of sidebar code. Now sidebar pages should implement
3247         EvSidebarPage interface. That makes page management in EvSidebar
3248         easier. See bug #164811 for details
3249
3250 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3251
3252         * shell/ev-application.c: (ev_application_open):
3253         * shell/ev-document-types.c:
3254         
3255         Fix build error and small problem with application exit
3256
3257 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3258
3259         * thumbnailer/Makefile.am:
3260         * thumbnailer/evince-thumbnailer-djvu.schemas:
3261         * thumbnailer/evince-thumbnailer-dvi.schemas:
3262         
3263         Conditionally install schemas for djvu/dvi thumbnailer
3264
3265 2005-04-18  David Malcolm  <dmalcolm@redhat.com>
3266
3267         * shell/ev-document-types.h: 
3268         * shell/ev-document-types.c: 
3269         New files, handling the mapping from mimetypes to backends
3270         
3271         * shell/ev-window.c: 
3272         * thumbnailer/evince-thumbnailer.c:     
3273         Use the ev-document-types code
3274         
3275         * shell/Makefile.am: 
3276         Added new convenience library libevbackendfactory_la, containing
3277         the new mimetype->backend logic; moved the backends into it.
3278
3279         * thumbnailer/Makefile.am:
3280         Make the thumbnailer link with the libevbackend.la convenience
3281         library, rather than having a duplicate of the backend logic here.
3282
3283 2005-04-18  Paolo Borelli  <pborelli@katamail.com>
3284
3285         * shell/ev-stock-icons.c: constify some vars.
3286         * shell/ev-window.c: ditto.
3287
3288 2005-04-18  Marco Pesenti Gritti  <mpg@redhat.com>
3289
3290         * ps/ps-document.c (get_page_orientation):
3291
3292         Respect document orientation 
3293
3294 2005-04-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3295
3296         * djvu/Makefile.am:
3297         * dvi/Makefile.am:
3298         * shell/Makefile.am:
3299         
3300         Move library dependencies to components.
3301         
3302         * shell/ev-window.c: (update_window_title),
3303         (start_loading_document):
3304         
3305         Fix display of uris with spaces. Bug 168358.
3306
3307 Sat Apr 16 18:53:47 2005  Jonathan Blandford  <jrb@redhat.com>
3308
3309         * shell/ev-sidebar-links.c: (selection_changed_cb):
3310         * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3311         (ev_view_button_release_event), (ev_view_set_document):
3312         * shell/ev-view.h:
3313         * shell/ev-window.c: (find_bar_search_changed_cb):
3314         * shell/ev-window.h: Minor cleanups removing some dead code.
3315
3316 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3317
3318         * backend/ev-page-cache.c: (_ev_page_cache_new):
3319         
3320         Set current page to 0 if document has pages.
3321
3322 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
3323
3324         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3325
3326         Initialize GError to NULL, fix a crash when loading fails.
3327
3328 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
3329
3330         * shell/ev-window.c: (update_view_size):
3331
3332         Calculate shadow size only when there is actually
3333         a shadow.
3334
3335 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
3336
3337         * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3338         * shell/ev-view.h:
3339
3340         Allow setting view spacing, default to 0
3341
3342         * shell/ev-window.c: (ev_window_unfullscreen),
3343         (ev_window_cmd_view_fullscreen), (ev_window_init):
3344
3345         Remove spacing in fullscreen mode
3346
3347 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
3348
3349         * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3350         (ev_view_size_request), (expose_bin_window),
3351         (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3352         * shell/ev-view.h:
3353         * shell/ev-window.c: (ev_window_unfullscreen),
3354         (ev_window_cmd_view_fullscreen):
3355
3356         Do not draw the border in fulscreen
3357
3358 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
3359
3360         * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3361         (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3362         (find_page_at_location), (page_changed_cb):
3363
3364         Rework border calculation, so that I can more easily disable it.
3365         Code somewhat cleaner too.
3366
3367 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
3368
3369         * backend/ev-page-cache.c: (ev_page_cache_init),
3370         (_ev_page_cache_new):
3371
3372         Remove some assertions, documents can have 0 pages.
3373         Make initial current page -1.
3374
3375         * shell/ev-page-action.c: (page_changed_cb):
3376
3377         Show "" if current page is -1
3378
3379         * shell/ev-window.c: (update_action_sensitivity),
3380         (ev_window_setup_document):
3381
3382         When document has 0 pages do not set the view
3383         and make nearly everything insensitive.
3384
3385 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3386
3387         * shell/ev-page-view.c:
3388         * shell/ev-page-view.h:
3389
3390         Remove unused files.
3391         
3392         * shell/ev-sidebar-thumbnails.c:
3393         (ev_sidebar_thumbnails_set_document):
3394         * shell/ev-sidebar.c: (ev_sidebar_set_document),
3395         (ev_sidebar_supports_document):
3396         * shell/ev-sidebar.h:
3397         * shell/ev-window.c: (ev_window_setup_document):
3398         
3399         Doesn't show thumbnails if document has 1 page. Make
3400         sidebar menu entries sensitive only if if they have 
3401         sense. Fix bug 164811. 
3402
3403 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
3404
3405         * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3406         (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3407         (ev_view_zoom_out), (ev_view_set_size):
3408
3409         Rework sizing to deal with documents with not uniform page
3410         size.
3411
3412 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
3413
3414         * backend/ev-page-cache.c: (_ev_page_cache_new):
3415
3416         Fix several page size caching bugs
3417
3418 2005-04-15  Luca Ferretti <elle.uca@libero.it>
3419
3420         * shell/ev-window.c: (set_action_properties):
3421
3422         Make all toolbar items translatable
3423
3424 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
3425
3426         * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3427         (save_page_list), (ps_document_save),
3428         (ps_document_document_iface_init), (ps_document_ps_export_begin),
3429         (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3430         (ps_document_ps_exporter_iface_init):
3431         * ps/ps-document.h:
3432
3433         Based on a patch by J�rg Billeter <j@bitron.ch>
3434         
3435         Implement print and save a copy for the ps backend.
3436
3437 2005-04-14   Marco Pesenti Gritti <mpg@redhat.com>
3438
3439         * backend/ev-document.h:
3440         * djvu/djvu-document.c: (djvu_document_can_get_text),
3441         (djvu_document_document_iface_init):
3442         * dvi/dvi-document.c: (dvi_document_can_get_text),
3443         (dvi_document_document_iface_init):
3444         * pdf/ev-poppler.cc:
3445         * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3446         (pixbuf_document_document_iface_init):
3447         * ps/ps-document.c: (ps_document_can_get_text),
3448         (ps_document_document_iface_init):
3449         * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3450         * shell/ev-window.c: (update_action_sensitivity):
3451
3452         Fix the crash when trying to copy in backends that doesnt
3453         support it. We can implement a better solution once we
3454         do real text selection.
3455
3456 2005-04-12  Marco Pesenti Gritti <mpg@redhat.com>
3457
3458         * data/evince-ui.xml:
3459         * shell/ev-window.c: (ev_window_cmd_escape):
3460         
3461         Work around the Escape conflict (find bar and unfullscreen)
3462
3463 2005-04-12  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
3464
3465         * backend/ev-page-cache.c: (ev_page_cache_next_page):
3466         
3467         Fix for #300233. Next page correctly handles document end.
3468         
3469         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3470         (ev_sidebar_thumbnails_class_init),
3471         (ev_sidebar_thumbnails_set_document),
3472         (ev_sidebar_thumbnails_clear_job),
3473         (ev_sidebar_thumbnails_clear_model):
3474         
3475         Cleanup thumbnail jobs on document changes.
3476         
3477         * shell/ev-view.c: (add_scroll_binding_keypad),
3478         (add_scroll_binding_shifted), (ev_view_class_init):
3479         
3480         Shift + Space scrolls up. Fix for #173184
3481         
3482         * shell/ev-window.c: (ev_window_open_page),
3483         (ev_window_cmd_view_reload):
3484         
3485         Fix reload (Bug #300094)
3486
3487 2005-04-09  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3488
3489         
3490         * dvi/mdvi-lib/assoc.c:
3491         * dvi/mdvi-lib/assoc.h: Removed garbage files
3492         
3493         * dvi/mdvi-lib/bitmap.c:
3494         * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3495         (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3496         * dvi/mdvi-lib/color.h: Antialias of rules
3497         
3498         * dvi/mdvi-lib/common.h:
3499         * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3500         (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3501         * dvi/mdvi-lib/files.c:
3502         * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3503         * dvi/mdvi-lib/mdvi.h:
3504         * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3505         * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3506         * dvi/mdvi-lib/util.c: Fix compile warnings
3507         
3508         * dvi/dvi-document.c:
3509         (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3510         (dvi_document_thumbnails_get_thumbnail),
3511         (dvi_document_document_thumbnails_iface_init):
3512         * dvi/mdvi-lib/Makefile.am:
3513         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3514         (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3515         
3516         Dvi backend now renders thumbnails
3517
3518 2005-04-09  Christian Persch  <chpe@cvs.gnome.org>
3519
3520         * shell/main.c: (main): 
3521         
3522         Save accelerators on exit. Fixes bug #172095.
3523
3524 Sat Apr  9 01:05:09 2005  Jonathan Blandford  <jrb@redhat.com>
3525
3526         * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3527         update priority" comment.
3528
3529         * backend/ev-job-queue.c: Give a way to change priority.
3530
3531 Sat Apr  9 00:05:36 2005  Jonathan Blandford  <jrb@redhat.com>
3532
3533         * shell/ev-page-action.c: Fix logic.
3534
3535 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
3536
3537         * shell/ev-view.c: (ev_view_can_find_next):
3538         * shell/ev-window.c: (ev_window_setup_document):
3539
3540         Check that the document supports find
3541
3542 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
3543
3544         * data/evince-ui.xml:
3545         * shell/ev-view.c: (ev_view_can_find_next):
3546         * shell/ev-view.h:
3547         * shell/ev-window.c: (update_action_sensitivity),
3548         (find_changed_cb), (ev_window_setup_document),
3549         (ev_window_cmd_edit_find_next):
3550
3551         Add Edit->Find Next
3552
3553 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
3554
3555         * pdf/ev-poppler.cc:
3556         * shell/ev-print-job.c: (idle_print_handler):
3557
3558         Make printing work again
3559
3560 Fri Apr  8 01:12:24 2005  Jonathan Blandford  <jrb@redhat.com>
3561
3562         * shell/ev-page-action.h:
3563         * shell/ev-page-action.c: (ev_page_action_widget_init),
3564         (ev_page_action_widget_class_init), (page_changed_cb),
3565         (create_tool_item), (update_page_cache), (build_new_tree_cb),
3566         (get_filter_model_from_model), (match_selected_cb),
3567         (display_completion_text), (match_completion), (update_model),
3568         (connect_proxy), (ev_page_action_set_property),
3569         (ev_page_action_get_property), (ev_page_action_set_document),
3570         (ev_page_action_set_model), (ev_page_action_class_init): Big
3571         reworking to make completions work iff we have >= GTK-2.7.0
3572                 
3573         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3574         (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3575         (job_finished_cb): We now have a 'model' property that is set when
3576         the links are loaded.  This can be caught with "notify::model"
3577
3578         * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3579         listen for the model to be set, and propagate it to the action.
3580
3581 2005-04-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3582
3583         * cut-n-paste/recent-files/egg-recent-item.c:
3584         (egg_recent_item_set_uri), (make_valid_utf8),
3585         (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3586         * cut-n-paste/recent-files/egg-recent-item.h:
3587         
3588         Update egg-recent from libegg. This should fix long
3589         startup problem. For details see
3590         http://bugzilla.gnome.org/show_bug.cgi?id=160531
3591
3592 2005-04-07  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3593
3594         * cut-n-paste/recent-files/Makefile.am:
3595         * data/evince-ui.xml, shell/Makefile.am:
3596         * shell/ev-application.c, shell/ev-application.h:
3597         * shell/ev-window.c: Recent files support.
3598         
3599         * configure.ac: Added "ru" to ALL_LINGUAS.
3600         
3601         * dvju: new backend to support DJVU files.
3602         * dvi: new backend to support DVI.
3603
3604         * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3605         * ev-application.c: Support for new backends.
3606         
3607         * help, ev-window.c, main.c shell/Makefile.am: 
3608         Evince user documentation.
3609
3610 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
3611
3612         * po/POTFILES.in:
3613         * shell/ev-window.c:
3614         * thumbnailer/evince-thumbnailer.c:
3615
3616         s/pdf-document/ev-poppler
3617
3618 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
3619
3620         * NEWS:
3621         * configure.ac:
3622
3623         Release 0.2.0
3624
3625         * ps/ps-document.c: (setup_pixmap):
3626
3627         Remove debug code
3628
3629 2005-04-05  Kristian Høgsberg  <krh@redhat.com>
3630
3631         * backend/ev-page-cache.c (ev_page_cache_next_page): 
3632         * shell/ev-window.c (ev_window_cmd_go_next_page) 
3633         (ev_window_cmd_go_first_page): Fix of by one errors.
3634
3635 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
3636
3637         * ps/ps-document.c: (get_page_box):
3638
3639         Fix page size calculation
3640
3641 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
3642
3643         * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3644         (ps_document_cleanup), (setup_pixmap), (get_page_box),
3645         (get_page_orientation), (setup_page), (document_load),
3646         (ps_document_get_page_size), (render_pixbuf_idle):
3647         * ps/ps-document.h:
3648
3649         More refactoring to adapt to EvDocument changes
3650
3651 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
3652
3653         * ps/ps-document.c: (start_interpreter):
3654
3655         Actually add alpha args
3656
3657 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
3658
3659         * pdf/ev-poppler.cc:
3660
3661         Make clipboard work again
3662
3663 2005-04-04  Kristian Høgsberg  <krh@redhat.com>
3664
3665         Make searching work again.
3666         
3667         * backend/ev-document.c:
3668         * backend/ev-document.h:
3669         * backend/ev-document-find.c:
3670         * backend/ev-document-find.h: Change EvDocumentIface so we no
3671         longer store the current page or zoom level in the document.  The
3672         consequence is that all calls that operate on the current page now
3673         instead take the page number as an extra argument, and all
3674         coordinates are now doubles in document coordinate system.
3675
3676         * pdf/ev-poppler.cc:
3677         * pixbuf/pixbuf-document.c:
3678         * ps/ps-document.c: Update backends accordingly.
3679
3680 2005-04-04  Marco Pesenti Gritti <marco@gnome.org>
3681
3682         * autogen.sh:
3683
3684         Add required gettext version
3685
3686 Sat Apr  2 18:57:00 2005  Jonathan Blandford  <jrb@redhat.com>
3687
3688         * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3689         make F1 bring up non-existent help.
3690
3691         * shell/eggfindbar.c: Patch from Christian Persch to sync to
3692         epiphany's find bar, #167477
3693
3694         * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3695         <emil@nishra.com> to add space-bar scrolling, 
3696
3697         * shell/ev-window.c (static GtkActionEntry entries): add default
3698         keybinding for Help (F1)
3699         Fixes #171068
3700
3701         * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3702         changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3703         170110
3704
3705 2005-04-01  David Malcolm  <dmalcolm@redhat.com>
3706
3707         * Makefile.am: 
3708         * pixbuf/pixbuf-document.c: 
3709
3710         Got pixbuf backend working again
3711
3712 2005-04-01  Steve Murphy  <murf@e-tools.com>
3713
3714         * configure.in: Added "rw" to ALL_LINGUAS.
3715
3716 Fri Apr  1 02:33:41 2005  Jonathan Blandford  <jrb@redhat.com>
3717
3718         * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3719         model types, noticed by Martin Kretzschmar.
3720
3721 2005-04-01  Kristian Høgsberg  <krh@redhat.com>
3722
3723         * pdf/ev-poppler.cc: Implement search based on
3724         poppler_page_find_text().  Currently a bit crude since we remember
3725         all matches from all pages.  Also, we grab the big document lock
3726         when we search since searching changes the underlying stream and
3727         thus conflicts with the rendering thread.
3728         
3729         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3730         (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3731         (ev_view_find_previous): Fix some page indexes to be 0 based,
3732         offset rubber band by view offset,
3733
3734 Fri Apr 01 09:21:12 2005  Pablo Saratxaga  <pablo@mandrakesoft.com>
3735
3736         * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3737
3738 Fri Apr  1 01:59:39 2005  Jonathan Blandford  <jrb@redhat.com>
3739
3740         * shell/ev-page-action.c: Changed to use page labels now.  Rewrote
3741         completely because I didn't understand GtkActions.  I should
3742         read Marco's code more carefully in the future.
3743
3744         * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3745         function
3746
3747 2005-03-31  Kristian Høgsberg  <krh@redhat.com>
3748
3749         * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3750         PopplerRectangle change from poppler CVS.
3751
3752 Thu Mar 31 13:27:50 2005  Jonathan Blandford  <jrb@redhat.com>
3753
3754         * backend/ev-document.c: (ev_document_get_page_label):
3755         * backend/ev-document.h:
3756         * backend/ev-page-cache.c: (_ev_page_cache_new),
3757         (ev_page_cache_get_page_label):
3758         * backend/ev-page-cache.h:
3759         * pdf/ev-poppler.cc:
3760         * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3761         (links_page_num_func):
3762         * shell/ev-sidebar-thumbnails.c:
3763         (ev_sidebar_thumbnails_set_document):
3764         * shell/ev-view.c: (status_message_from_link),
3765         (ev_view_motion_notify_event):
3766         * shell/ev-window.c: (document_supports_sidebar): Add in page
3767         label support.  It's not perfect yet, but it's the first 'feature'
3768         in a while.
3769         Also, fix a bogus comment noticed by crispin. 
3770
3771 Thu Mar 31 01:21:58 2005  Jonathan Blandford  <jrb@redhat.com>
3772
3773         * Makefile.am: Remove pixbuf backend for now
3774
3775         * configure.ac: Require poppler-glib instead of just poppler.
3776
3777         * backend/ev-document-thumbnails.h: Add a comment
3778
3779         * backend/ev-document.h:
3780         * backend/ev-document.c: (ev_document_class_init),
3781         (ev_document_load), (ev_document_get_link),
3782         (ev_document_get_links): Remove 3 methods and add get_links.
3783         Also, made 0 based.
3784
3785         * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3786         * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3787
3788         * backend/ev-link.c: (ev_link_set_title),
3789         (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3790         (ev_link_mapping_find):
3791         * backend/ev-link.h: Allow NULL titles.  Also, introduce a mapping link.
3792         
3793         * backend/ev-page-cache.c: (ev_page_cache_init),
3794         (_ev_page_cache_new), (ev_page_cache_set_current_page),
3795         (ev_page_cache_get_size), (ev_page_cache_next_page),
3796         (ev_page_cache_prev_page): Fix to be 0 based.
3797
3798         * pdf/Makefile.am: 
3799         * pdf/ev-poppler.h:
3800         * pdf/ev-poppler.cc: New backend.
3801         
3802         * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3803         (ps_document_get_page), (ps_document_document_iface_init):
3804
3805         * shell/ev-pixbuf-cache.h:
3806         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3807         (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3808         (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3809         (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3810         (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3811         Fix up code to grab a page cache per each doc.  Also, fix to be 0
3812         based.
3813         
3814         * shell/ev-sidebar-thumbnails.c:
3815         (ev_sidebar_tree_selection_changed), (page_changed_cb),
3816         (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3817
3818         * shell/ev-view.c: (status_message_from_link),
3819         (find_page_at_location), (get_link_at_location),
3820         (ev_view_motion_notify_event), (ev_view_button_release_event),
3821         (ev_view_init): Use the new link code.  Fix to be 0 based.
3822
3823         * shell/ev-window.c: (update_action_sensitivity),
3824         (document_supports_sidebar): 0 based.
3825
3826 Fri Mar 25 16:55:58 2005  Jonathan Blandford  <jrb@redhat.com>
3827
3828         * pdf/pdf-document.cc: Patch from Fernando Herrera
3829         <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3830         *blush*
3831
3832 Wed Mar 23 23:49:41 2005  Jonathan Blandford  <jrb@redhat.com>
3833
3834         * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3835         1 to the page, as this seems to be 1 based.  I thought we has this
3836         fixed.  grump.
3837
3838 2005-03-23  Marco Pesenti Gritti <marco@gnome.org>
3839
3840         * TODO:
3841         * backend/Makefile.am:
3842         * backend/ev-document-links.c:
3843         (ev_document_links_has_document_links),
3844         (ev_document_links_get_links_model):
3845         * backend/ev-document-links.h:
3846         * backend/ev-document.c: (ev_document_get_page_cache),
3847         (ev_document_get_doc_mutex), (ev_document_load),
3848         (ev_document_save), (ev_document_get_title),
3849         (ev_document_get_n_pages), (ev_document_set_page),
3850         (ev_document_get_page), (ev_document_set_target),
3851         (ev_document_set_scale), (ev_document_set_page_offset),
3852         (ev_document_get_page_size), (ev_document_get_text),
3853         (ev_document_get_link), (ev_document_render),
3854         (ev_document_render_pixbuf), (ev_document_scale_changed):
3855         * backend/ev-document.h:
3856         * backend/ev-job-queue.c: (remove_object_from_queue),
3857         (notify_finished), (handle_job), (search_for_jobs_unlocked),
3858         (no_jobs_available_unlocked), (ev_render_thread),
3859         (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3860         (ev_job_queue_remove_job):
3861         * backend/ev-job-queue.h:
3862         * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3863         (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3864         (ev_job_links_class_init), (ev_job_render_init),
3865         (ev_job_render_dispose), (ev_job_render_class_init),
3866         (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3867         (ev_job_thumbnail_class_init), (ev_job_finished),
3868         (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3869         (ev_job_render_run), (ev_job_thumbnail_new),
3870         (ev_job_thumbnail_run):
3871         * backend/ev-jobs.h:
3872         * backend/ev-link.c:
3873         * backend/ev-link.h:
3874         * backend/ev-page-cache.c: (ev_page_cache_init),
3875         (ev_page_cache_class_init), (ev_page_cache_finalize),
3876         (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3877         (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3878         (ev_page_cache_set_link), (ev_page_cache_get_title),
3879         (ev_page_cache_get_size), (ev_page_cache_next_page),
3880         (ev_page_cache_prev_page):
3881         * backend/ev-page-cache.h:
3882         * pdf/pdf-document.cc:
3883         * ps/gsdefaults.c:
3884         * ps/gsdefaults.h:
3885         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3886         (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3887         (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3888         (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3889         (is_interpreter_ready), (output), (catchPipe), (input),
3890         (start_interpreter), (check_filecompressed), (compute_dimensions),
3891         (ps_document_enable_interpreter), (document_load),
3892         (ps_document_next_page), (render_page), (ps_document_set_page),
3893         (ps_document_set_scale), (render_pixbuf_idle),
3894         (ps_document_render_pixbuf), (ps_document_document_iface_init):
3895         * ps/ps-document.h:
3896         * shell/Makefile.am:
3897         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3898         (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3899         (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3900         (ev_pixbuf_cache_new), (job_finished_cb),
3901         (check_job_size_and_unref), (move_one_job),
3902         (ev_pixbuf_cache_update_range), (find_job_cache),
3903         (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3904         (ev_pixbuf_cache_add_jobs_if_needed),
3905         (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3906         * shell/ev-pixbuf-cache.h:
3907         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3908         (idle_print_handler):
3909         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3910         (selection_changed_cb), (create_loading_model),
3911         (ev_sidebar_links_construct), (links_page_num_func),
3912         (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3913         (update_page_callback), (job_finished_cb),
3914         (ev_sidebar_links_set_document):
3915         * shell/ev-sidebar-thumbnails.c:
3916         (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3917         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3918         (page_changed_cb), (thumbnail_job_completed_callback),
3919         (ev_sidebar_thumbnails_set_document):
3920         * shell/ev-sidebar-thumbnails.h:
3921         * shell/ev-sidebar.c: (ev_sidebar_set_document):
3922         * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3923         (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3924         (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3925         (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3926         (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3927         (ev_view_button_release_event), (ev_view_scroll_view),
3928         (ev_view_class_init), (ev_view_init), (update_find_status_message),
3929         (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3930         (ev_view_new), (job_finished_cb), (page_changed_cb),
3931         (ev_view_set_document), (go_to_link), (ev_view_zoom),
3932         (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3933         (ev_view_find_previous):
3934         * shell/ev-view.h:
3935         * shell/ev-window.c: (update_action_sensitivity),
3936         (ev_window_open_page), (update_window_title), (update_total_pages),
3937         (page_changed_cb), (ev_window_setup_document),
3938         (password_dialog_response), (ev_window_cmd_save_as),
3939         (ev_window_print), (ev_window_cmd_go_previous_page),
3940         (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3941         (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3942         (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3943         * shell/main.c: (main):
3944
3945         Merge evince-threads branch
3946
3947 2005-03-16  Žygimantas Beručka  <uid0@akl.lt>
3948
3949         * configure.ac: Added "lt" to ALL_LINGUAS.
3950
3951 2005-03-14  Marco Pesenti Gritti  <marco@gnome.org>
3952
3953         * NEWS:
3954         * configure.ac:
3955
3956         Release 0.1.9
3957
3958 2005-03-13  Fernando Herrera  <fherrera@onirica.com>
3959
3960         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3961
3962         Fix here also the thumbnails 1-basedness :)
3963
3964 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
3965
3966         * NEWS:
3967         * configure.ac:
3968
3969         Release 0.1.8
3970
3971 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
3972
3973         * pdf/pdf-document.cc:
3974         * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3975         (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3976
3977         Fix the mess we did with thumbnails and 1-basedness
3978
3979 2005-03-12  Changwoo Ryu  <cwryu@debian.org>
3980
3981         * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3982
3983 2005-03-09  Marco Pesenti Gritti  <marco@gnome.org>
3984
3985         * NEWS:
3986         * configure.ac:
3987
3988         Release 0.1.7
3989
3990 2005-03-08  Marco Pesenti Gritti  <marco@gnome.org>
3991
3992         * ps/Makefile.am:
3993         * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3994         (gtk_gs_defaults_get_alpha_parameters),
3995         (gtk_gs_defaults_get_ungzip_cmd),
3996         (gtk_gs_defaults_get_unbzip2_cmd):
3997         * ps/gsdefaults.h:
3998         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3999         (ps_document_get_orientation), (document_load),
4000         (ps_document_goto_page), (ps_document_set_page_size):
4001         * ps/ps-document.h:
4002
4003         Some more sanitization of the ps backend. Remove a lot
4004         of unused code and do not base our defaults on ggv
4005         preferences (ugh!)
4006
4007 2005-03-08  Fernando Herrera  <fherrera@onirica.com>
4008
4009         * thumbnailer/evince-thumbnailer.schemas:
4010         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4011         (main): add -s option for thumbnail size.
4012
4013 2005-03-07  Christian Persch  <chpe@cvs.gnome.org>
4014
4015         * configure.ac:
4016
4017         AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
4018         remove it.
4019
4020 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
4021
4022         * pdf/pdf-document.cc:
4023
4024         Remove 4 pixels of useless border from the
4025         thumbnail.
4026
4027 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
4028
4029         * backend/ev-document-thumbnails.c:
4030         (ev_document_thumbnails_get_thumbnail):
4031         * backend/ev-document-thumbnails.h:
4032
4033         Rework API a bit. Add a border flag and
4034         change sizing logic (now the size we specify
4035         applies to the bigger dimension).
4036
4037         * pdf/pdf-document.cc:
4038         * pixbuf/pixbuf-document.c:
4039         (pixbuf_document_thumbnails_get_thumbnail):
4040         * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
4041         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4042
4043         Adapt to the new API and do not draw a border for nautilus
4044         thumbnailer.
4045
4046 2005-03-03  Fernando Herrera  <fherrera@onirica.com>
4047
4048         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4049         take thumbnails from page "0" instead of "1". Added a copyright header.
4050
4051 2005-03-03  Jens Granseuer  <jensgr@gmx.net>
4052
4053         * ps/ps-document.c: (set_up_page), (start_interpreter):
4054
4055         Make it C89 compliant
4056
4057 2005-03-03  Marco Pesenti Gritti  <marco@gnome.org>
4058
4059         * Makefile.am:
4060         * configure.ac:
4061         * pdf/.cvsignore:
4062         * pdf/pdf-document.cc:
4063         * thumbnailer/Makefile.am:
4064         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
4065         (main):
4066         * thumbnailer/evince-thumbnailer.schemas:
4067         * thumbnailer/pdf-icon.png:
4068
4069         Add a nautilus thumbnailer.
4070         Based on patch by Fernando Herrera <fherrera@onirica.com>.
4071
4072 2005-03-02  Marco Pesenti Gritti  <marco@gnome.org>
4073
4074         * NEWS:
4075         * configure.ac:
4076         * po/POTFILES.in:
4077
4078         Release 0.1.6
4079
4080 2005-03-01  Kristian Høgsberg  <krh@redhat.com>
4081
4082         Use poppler instead of including xpdf source code.  Poppler is a
4083         fork of xpdf to build it as a shared library. See
4084         http://freedesktop.org/wiki/Software/poppler.
4085
4086         * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
4087         xpdf fork.
4088         
4089         * pdf/Makefile.am: Build libpdfdocument.a here.
4090         
4091         * pdf/GDKSplashOutputDev.cc:
4092         * pdf/GDKSplashOutputDev.h:
4093         * pdf/GnomeVFSStream.cc:
4094         * pdf/GnomeVFSStream.h:
4095         * pdf-document.cc:
4096         * pdf-document.h:
4097         * test-gdk-output-dev.cc
4098         * Thumb.cc:
4099         * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
4100         against poppler.
4101
4102 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
4103
4104         * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
4105
4106         Clear idle stack before unsetting the document
4107
4108 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
4109
4110         * ps/ps-document.c: (ps_document_widget_event),
4111         (ps_document_set_target), (ps_document_finalize),
4112         (ps_document_get_page):
4113
4114         Disconnect the widget event signal on finalize.
4115         Some code cleanups.
4116
4117 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
4118
4119         * ps/ps-document.c: (set_up_page):
4120
4121         If there is no bpixmap create one, even if size
4122         is not changed.
4123
4124 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
4125
4126         * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4127         (set_up_page), (document_load), (ps_document_set_zoom):
4128
4129         Default page is 0. Calculate size even when we have no
4130         target yet.
4131
4132 2005-02-28  Carlos Garcia Campos <carlosgc@gnome.org>
4133
4134         * shell/ev-sidebar.c: expand the selection widget to be always as
4135         wide as the sidebar
4136
4137 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
4138
4139         * shell/ev-sidebar-thumbnails.c:
4140         (ev_sidebar_thumbnails_set_document):
4141
4142         Clear the list store when setting document
4143
4144 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
4145
4146         * shell/ev-page-action.c: (update_entry), (sync_entry),
4147         (activate_cb), (entry_size_request_cb), (create_tool_item),
4148         (connect_proxy):
4149
4150         Use an entry for the page control instead of spinbuttons
4151
4152 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
4153
4154         * data/evince.schemas.in:
4155
4156         Correct confusing string
4157
4158 Sun Feb 27 23:00:31 2005  Jonathan Blandford  <jrb@redhat.com>
4159
4160         * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4161         for real.  Gosh, how long has this been broken.
4162
4163         * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4164         check for a NULL link.  We crash otherwise.
4165
4166 2005-02-27  Marco Pesenti Gritti  <marco@gnome.org>
4167
4168         * NEWS:
4169         * configure.ac:
4170
4171         Release 0.1.5
4172
4173 2005-02-25  Sebastien Bacher  <seb128@debian.org>
4174
4175         * configure.ac: add the french translation.
4176
4177 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
4178
4179         * shell/ev-window.c:
4180
4181         Remove unused header -> fix distcheck
4182
4183 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
4184
4185         * shell/ev-window.c: (update_window_title),
4186         (ev_window_popup_password_dialog):
4187
4188         Unescape filename for display
4189
4190 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
4191
4192         * pdf/xpdf/pdf-document.cc:
4193
4194         In get_page_size deal with rotation. Also
4195         cleanup the function a bit.
4196
4197 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
4198
4199         * pdf/xpdf/pdf-document.cc:
4200
4201         Fix crash when opening in new window
4202
4203 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
4204
4205         * configure.ac:
4206
4207         Check ghostscript >= 7
4208
4209 2005-02-25  Pedro Villavicencio <pvillavi@gnome.cl>
4210
4211         * shell/ev-window.c:
4212
4213         Make page width the default sizing mode
4214
4215 2005-02-25  Carlos Garcia Campos <carlosgc@gnome.org>
4216             Marco Pesenti Gritti <marco@gnome.org>
4217
4218         * shell/ev-window.c: Remember the sidebar size
4219
4220         * data/evince.schemas.in: Add a new gconf key to store the size of
4221         the sidebar
4222
4223 2005-02-24  Kai Willadsen  <kaiw@itee.uq.edu.au>
4224
4225         * data/evince-ui.xml:
4226         * shell/ev-window.c: (update_action_sensitivity),
4227         (ev_window_cmd_view_reload):
4228         
4229         Add a "Reload" action and menu entry
4230
4231 Thu Feb 24 23:07:33 2005  Jonathan Blandford  <jrb@redhat.com>
4232
4233         * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4234         iff the type doesn't support thumbnailing and indexing.
4235
4236 2005-02-24  Martin Kretzschmar  <martink@gnome.org>
4237
4238         * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4239
4240 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4241
4242         * pdf/splash/Splash.cc:
4243
4244         Port fix for a crasher from kde bug
4245         http://bugs.kde.org/show_bug.cgi?id=97131
4246
4247 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4248
4249         * pdf/xpdf/pdf-document.cc:
4250
4251         Return a link even if it's of an unrecognized
4252         type. Otherwise we go in an infinte cycle.
4253
4254 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4255
4256         * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4257         (size_allocate_cb), (ev_window_set_sizing_mode):
4258
4259         Update size when switching mode
4260
4261 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4262
4263         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4264         (ev_window_cmd_view_page_width), (update_sizing_buttons),
4265         (ev_window_cmd_view_normal_size):
4266
4267         Fix size toggle buttons behavior
4268
4269 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4270
4271         * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4272         (doc_rect_to_view_rect), (ev_view_size_allocate),
4273         (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4274         (scale_changed_callback):
4275
4276         Do not cache offsets in size_allocate.
4277
4278 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4279
4280         * shell/ev-view.c: (ev_view_size_allocate):
4281
4282         Calculate offsets before calling the parent
4283         class (which does a redraw)
4284
4285 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4286
4287         * pdf/xpdf/pdf-document.cc:
4288
4289         Fix a crasher on exit. Unused code, put a TODO
4290
4291 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4292
4293         * backend/ev-document.c: (ev_document_class_init),
4294         (ev_document_page_changed), (ev_document_scale_changed):
4295         * backend/ev-document.h:
4296
4297         Separate page/scale notifications
4298
4299         * pdf/xpdf/pdf-document.cc:
4300
4301         Emit the new signals.
4302         Do not display the pdf page in _render, do it
4303         when scale/page are requested.
4304
4305         * ps/ps-document.c: (ps_document_set_zoom),
4306         (ps_document_widget_event):
4307         * ps/ps-document.h:
4308
4309         Emit the new signals.
4310
4311         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4312         (ev_view_init), (page_changed_callback), (scale_changed_callback),
4313         (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4314         (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4315         * shell/ev-view.h:
4316         * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4317         (ev_window_cmd_view_page_width), (size_allocate_cb),
4318         (ev_window_set_sizing_mode):
4319
4320         Rework sizing to be pixel based.
4321         There are bugs but should be already way better.
4322
4323 2005-02-23  Marco Pesenti Gritti  <marco@gnome.org>
4324
4325         * shell/ev-window.c: (ev_window_init):
4326
4327         Do not allow to shrink sidebar smaller then
4328         child requisition
4329
4330 2005-02-23  Carlos Garcia Campos <carlosgc@gnome.org> 
4331
4332         * shell/ev-sidebar.[ch]
4333         * shell/ev-window.c:
4334
4335         Improved sidebar widget. Fixes #166683
4336
4337 2005-02-23  Tommi Vainikainen  <thv@iki.fi>
4338
4339         * shell/ev-view.c (update_find_status_message): Give translators
4340         more flexibility with ngettext plural handling.
4341
4342 Mon Feb 21 17:52:08 2005  Jonathan Blandford  <jrb@redhat.com>
4343
4344         * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4345         from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4346         page when we get the page size.
4347
4348 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
4349
4350         * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4351
4352         ps pages are 0 based, convert 
4353
4354 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
4355
4356         * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4357
4358         Initialize correct parent class. Set GError on document load
4359
4360 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
4361
4362         * pdf/xpdf/pdf-document.cc:
4363
4364         Fixup selection offset calculation
4365
4366         * shell/ev-view.c: (view_rect_to_doc_rect),
4367         (doc_rect_to_view_rect), (ev_view_size_allocate),
4368         (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4369         (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4370
4371         Store selection as document relative, so that zooming
4372         and offset changing doesnt break it.
4373
4374 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
4375
4376         * shell/ev-view.c: (ev_view_best_fit):
4377
4378         Do not try to best fit if the view is not realized
4379
4380 2005-02-20  Kostas Papadimas <pkst@gnome.org>
4381           
4382         * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4383
4384 Fri Feb 18 16:06:39 2005  Jonathan Blandford  <jrb@redhat.com>
4385
4386         * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4387
4388 Fri Feb 18 15:32:57 2005  Jonathan Blandford  <jrb@redhat.com>
4389
4390         * shell/ev-window.c: Change the fullscreen toolbar to always be in
4391         the popup window.  That prevents it resizing when in full screen
4392         mode.
4393
4394         * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4395         multiple rerenders.  This pretty much sucks.
4396
4397         * data/evince-ui.xml: Change the fullscreen toolbar to include the
4398         rest of the toolbar.
4399
4400 2005-02-18  Tommi Vainikainen  <thv@iki.fi>
4401
4402         * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4403
4404 2005-02-17  Alexander Shopov  <ash@contact.bg>
4405
4406         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4407
4408 2005-02-16  Bryan Clark  <clarkbw@cvs.gnome.org>
4409
4410         * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4411
4412 2005-02-16  Marco Pesenti Gritti  <marco@gnome.org>
4413
4414         * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4415         (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4416         (set_document_page), (document_changed_callback),
4417         (ev_view_set_document), (ev_view_find_previous),
4418         (ev_view_hide_cursor), (ev_view_show_cursor):
4419         * shell/ev-view.h:
4420         * shell/ev-window.c: (update_chrome_visibility),
4421         (fullscreen_timeout_cb), (fullscreen_set_timeout),
4422         (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4423         (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4424         (ev_window_unfullscreen):
4425         * shell/main.c: (main):
4426
4427         Automatically hide the fullscreen button.
4428         Patch by Kristian Høgsberg <krh@redhat.com>
4429
4430 2005-02-16  Vincent Noel  <vnoel@cox.net>
4431
4432         * shell/main.c (main): Specify an icon for the window. Patch by
4433         Jaap A. Haitsma. Fixes #166177.
4434
4435 Wed Feb 16 06:30:13 2005  Jonathan Blandford  <jrb@redhat.com>
4436
4437         * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4438
4439 Tue Feb 15 22:27:13 2005  Jonathan Blandford  <jrb@redhat.com>
4440
4441         * backend/ev-document-misc.h:
4442         * backend/ev-document-misc.c:
4443         (ev_document_misc_get_page_border_size),
4444         (ev_document_misc_paint_one_page): New function to canonicalize
4445         sizing/painting a border.
4446
4447         * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4448         used.
4449
4450         * pdf/xpdf/pdf-document.cc: use new function
4451
4452         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4453         (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4454         (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4455         shell/ev-window.c: (update_sizing_buttons),
4456         (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4457         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4458         (ev_window_cmd_view_page_width), (size_allocate_cb),
4459         (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4460         and "fit width" values act as toggle buttons so they stay
4461         toggled.  It's not 100% perfect, and it's a little slow, but it's
4462         good enough to commit I think.
4463
4464 2005-02-15  David Lodge  <dave@cirt.net>
4465
4466         * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4467
4468 2005-02-15  Martin Kretzschmar  <martink@gnome.org>
4469
4470         * shell/ev-window.c (update_window_title): replace newlines in
4471         the title by spaces. Bug #166107.
4472
4473 2005-02-14  Martin Kretzschmar  <martink@gnome.org>
4474
4475         * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4476         parameters providing allocation width and height without
4477         scrollbars and width of a possible vertical scrollbar. With this
4478         additional information the functions can work as
4479         intended. Unfortunately they're not idempotent. We should
4480         transform these commands to toggles. Fixes Bug #164976
4481         Initial patch by Stephane Loeuillet, then heavily modified.
4482
4483         * shell/ev-view.h: update prototypes.
4484
4485         * shell/ev-window.c (ev_window_cmd_view_best_fit)
4486         (ev_window_cmd_view_page_width): provide EvView fit functions with
4487         all the information they need. Formulas to calculate this
4488         information taken from GtkScrolledWindow.
4489
4490 2005-02-14  Crispin Flowerday  <gnome@flowerday.cx>
4491
4492         * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4493         created a thumbnail, the list store is updated to know
4494         that the thumbnail is set. Fixes bug #166792
4495
4496 2005-02-11  Bryan Clark  <clarkbw@cvs.gnome.org>
4497
4498         * shell/ev-window.c: fixed typo, closes bug 166897
4499
4500         * TODO: updated TODO with bug numbers that are relevant
4501
4502 2005-02-09  Carlos Garcia Campos <carlosgc@gnome.org>
4503
4504         * shell/ev-window.c: Support for DnD of files. Fixes #164813
4505
4506 2005-02-09  Vincent Noel  <vnoel@cox.net>
4507
4508         * shell/ev-window.c: (set_action_properties): Set the "Previous"
4509         and "Next" toolbar buttons as important to make them stand out.
4510
4511 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
4512
4513         * lib/ev-debug.c:
4514         * lib/ev-debug.h:
4515         * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4516         (start_interpreter), (stop_interpreter), (document_load),
4517         (ps_document_next_page), (ps_document_goto_page),
4518         (ps_document_set_page_size), (ps_document_widget_event),
4519         (ps_document_render):
4520         * shell/ev-page-view.c: (ev_page_view_dispose):
4521         * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4522
4523         Fix compilation on non-gcc platforms
4524
4525 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
4526
4527         * NEWS:
4528         * configure.ac:
4529
4530         Release 0.1.4
4531
4532         * pdf/xpdf/Catalog.cc:
4533         * pdf/xpdf/XRef.cc:
4534
4535         Fix the fix for CAN-2004-0888
4536
4537 2005-02-09  Luca Ferretti <elle.uca@libero.it>
4538
4539         * data/Makefile.am:
4540         * data/evince-ui.xml:
4541         * shell/ev-stock-icons.c: (ev_stock_icons_init):
4542         * shell/ev-stock-icons.h:
4543         * shell/ev-window.c: (update_action_sensitivity),
4544         (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4545         (set_action_properties):
4546
4547         Improve toolbar layout/icons
4548
4549 2005-02-08  Marco Pesenti Gritti  <marco@gnome.org>
4550
4551         * pdf/xpdf/pdf-document.cc:
4552
4553         Add warnings about unimplemented/unknown link
4554         types.
4555
4556 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
4557
4558         * ps/ps-document.c: (set_up_page):
4559
4560         Log gs property
4561
4562 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
4563
4564         * ps/ps-document.c: (start_interpreter):
4565
4566         Log gs env var
4567
4568 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
4569
4570         * shell/ev-page-view.c: (ev_page_view_dispose):
4571         * shell/ev-view.c: (ev_view_finalize):
4572         * shell/ev-window.c: (ev_window_setup_document),
4573         (ev_window_dispose), (ev_window_init):
4574
4575         Solve more refs issues.
4576
4577         I commented out the page_view initialization for now:
4578         it was never destroyed (because it's never added
4579         to a container). Because of that we was leaking
4580         gs processes. Couldnt think to a clean fix.
4581         We need to figure this out, password view has the
4582         same issue probably.
4583
4584 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
4585
4586         * ps/ps-document.c: (ps_document_finalize),
4587         (ps_document_get_n_pages), (ps_document_get_page):
4588
4589         Some cleanups, stop the interpreter on finalize
4590
4591         * shell/ev-page-view.c: (ev_page_view_dispose),
4592         (ev_page_view_class_init):
4593
4594         Release our reference on the document
4595
4596 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
4597
4598         * Makefile.am:
4599         * configure.ac:
4600         * doc/debugging.txt:
4601         * lib/.cvsignore:
4602         * lib/Makefile.am:
4603         * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4604         (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4605         (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4606         * lib/ev-debug.h:
4607
4608         Add debugging helpers
4609
4610         * ps/Makefile.am:
4611         * ps/ps-document.c: (set_up_page), (start_interpreter),
4612         (stop_interpreter), (document_load), (ps_document_next_page),
4613         (ps_document_goto_page), (ps_document_set_page_size),
4614         (ps_document_widget_event), (ps_document_render):
4615         * shell/Makefile.am:
4616         * shell/ev-view.c: (expose_bin_window):
4617         * shell/main.c: (main):
4618
4619         Add some logs
4620         
4621 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
4622
4623         * ps/ps-document.c: (ps_document_widget_event):
4624
4625         Initialize message_window, this should make ps
4626         rendering really work! (Never noticed because I was
4627         testing with a ps that is causing gs to exit every time!)
4628
4629 2005-02-07  Bryan Clark  <clarkbw@cvs.gnome.org>
4630
4631         * data/evince.schemas.in: updated simple error in applyto closing tag
4632
4633 2005-02-07  Christian Persch  <chpe@cvs.gnome.org>
4634
4635         * Makefile.am:
4636         * configure.ac:
4637         * data/.cvsignore:
4638         * data/Makefile.am:
4639         * data/evince-ui.xml:
4640         A data/evince.schemas.in:
4641         * po/POTFILES.in:
4642         * shell/ev-stock-icons.c: (ev_stock_icons_init):
4643         * shell/ev-stock-icons.h:
4644         * shell/ev-window.c: (update_chrome_visibility),
4645         (update_chrome_flag), (ev_window_cmd_edit_find),
4646         (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4647         (ev_window_unfullscreen), (ev_window_focus_in_event),
4648         (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4649         (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4650         (ev_window_view_sidebar_cb), (find_bar_close_cb),
4651         (ev_window_dispose), (ev_window_class_init),
4652         (set_action_properties), (set_chrome_actions), (load_chrome),
4653         (ev_window_init):
4654
4655         Implement fullscreen mode changes from bug #164776.
4656         Also implement persistent chrome toggles.
4657
4658 2005-02-07  Jordi Mallach  <jordi@sindominio.net>
4659
4660         * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4661
4662 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
4663
4664         * NEWS:
4665         * configure.ac:
4666         * shell/ev-view.c:
4667
4668         Add another check for find interface
4669
4670         Release 0.1.3
4671
4672 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
4673
4674         * shell/ev-application.c: (ev_application_open):
4675         * shell/ev-window.c: (ev_window_open):
4676
4677         Open gzipped ps documents
4678
4679 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
4680
4681         * TODO:
4682         * shell/ev-view.c: (set_document_page):
4683
4684         Clamp page number, dont try to move to
4685         not existant pages.
4686
4687 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
4688
4689         * backend/ev-document-find.c: (ev_document_find_changed):
4690         * backend/ev-document-find.h:
4691         * pdf/xpdf/pdf-document.cc:
4692         * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4693         * shell/ev-window.c: (find_bar_search_changed_cb):
4694
4695         Fix several bugs with find
4696
4697 2005-02-04  Martin Kretzschmar  <martink@gnome.org>
4698
4699         * shell/ev-sidebar-thumbnails.c
4700         (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4701         document. Prevents warning from scroll_to_cell.
4702
4703 2005-02-02  Kjartan Maraas  <kmaraas@gnome.org>
4704
4705         * configure.ac: Add «nb» to ALL_LINGUAS too.
4706
4707 Wed Feb  2 21:13:11 2005  Jonathan Blandford  <jrb@redhat.com>
4708
4709         * NOTES: New file with some random thoughts.
4710
4711         * TODO: Update.
4712
4713         * backend/ev-document-misc.c:
4714         (ev_document_misc_get_page_border_size): New function to
4715         canonicalize shadow drawing sizes.  Possibly goofy.
4716
4717         * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4718         (ev_view_best_fit), (ev_view_fit_width):
4719         * pdf/xpdf/pdf-document.cc:
4720         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4721         * ps/ps-document.c: (ps_document_get_page_size):
4722         * backend/ev-document-misc.h:
4723         * backend/ev-document.c: (ev_document_get_page_size):
4724         * backend/ev-document.h: get_page_size now takes a page number
4725         parameter.  Made all the backends/frontends honor it.
4726
4727         * data/evince-ui.xml: Added a multiple-page mode.  Uncomment to
4728         see.  Doesn't work yet.
4729
4730         * shell/Makefile.am:
4731         * shell/ev-page-view.[ch]: New multi-page view.  Really rough.
4732         Doesn't do anything yet.
4733
4734         * shell/ev-sidebar-thumbnails.c:
4735         (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4736         [0..n_pages-1]
4737
4738         * shell/ev-window.c: (update_action_sensitivity),
4739         (ev_window_setup_document), (ev_window_set_page_mode),
4740         (ev_window_page_mode_cb), (ev_window_init): Clean up the
4741         view-swapping code a bit so we can have multiple views on a
4742         document.  Add the multi-page view, though it can't be turned on
4743         yet.
4744
4745 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
4746
4747         * shell/ev-application.c: (ev_application_open):
4748         * shell/ev-view.c: (expose_bin_window):
4749         * shell/ev-window.c: (ev_window_open):
4750
4751         Support eps and check document supports find
4752         before drawing highlightings in expose.
4753
4754 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
4755
4756         * pixbuf/pixbuf-document.c:
4757         (pixbuf_document_thumbnails_get_dimensions),
4758         (pixbuf_document_document_thumbnails_iface_init):
4759
4760         implement get_dimensions
4761
4762 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
4763
4764         * NEWS:
4765         * configure.ac:
4766
4767         Release 0.1.2
4768
4769 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
4770
4771         * shell/ev-view.c: (set_document_page):
4772
4773         Scroll at the top of the page when changing page
4774
4775 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
4776
4777         * shell/ev-view.c: (ev_view_motion_notify_event):
4778
4779         Do not redraw unnecessarily
4780
4781 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
4782
4783         * pdf/xpdf/pdf-document.cc:
4784         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4785         (expose_bin_window), (find_changed_cb):
4786
4787         Yay! find works now... Now to find bugs...
4788
4789 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
4790
4791         * backend/ev-document-find.c: (ev_document_find_base_init),
4792         (ev_document_find_changed):
4793         * backend/ev-document-find.h:
4794         * pdf/xpdf/pdf-document.cc:
4795         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4796         (expose_bin_window), (ev_view_init), (set_document_page),
4797         (ensure_rectangle_is_visible), (jump_to_find_result),
4798         (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4799         (ev_view_find_next), (ev_view_find_previous):
4800         * shell/ev-view.h:
4801         * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4802
4803         More work on find implementation, mostly there now
4804
4805 2005-01-29  Marco Pesenti Gritti  <marco@gnome.org>
4806
4807         * backend/ev-backend-marshalers.list:
4808         * backend/ev-document-find.c: (ev_document_find_base_init),
4809         (ev_document_find_cancel), (ev_document_find_page_has_results),
4810         (ev_document_find_get_n_results), (ev_document_find_get_result),
4811         (ev_document_find_get_progress), (ev_document_find_changed):
4812         * backend/ev-document-find.h:
4813
4814         Enanche the find interface to be really able to do
4815         multi page find.
4816
4817         * pdf/xpdf/pdf-document.cc:
4818
4819         Implement
4820
4821         * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4822         (expose_bin_window), (ev_view_init),
4823         (ev_view_get_find_status_message), (find_changed_cb),
4824         (ev_view_set_document), (set_document_page):
4825
4826         Adapt to the new interface. A few things are regressed sorry,
4827         I will finish it soon.
4828
4829 2005-01-28  Martin Kretzschmar  <martink@gnome.org>
4830
4831         * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4832         (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4833         ev_sidebar_thumbnails_parent_class variable, don't define another
4834         parent_class variable.
4835
4836         * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4837         (ev_page_action_class_init): ditto.
4838
4839         * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4840         (pixbuf_document_class_init): ditto.
4841
4842         * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4843         ditto.
4844
4845         * .cvsignore: ignore various valgrind output files.
4846
4847 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
4848
4849         * data/evince-ui.xml:
4850         * shell/Makefile.am:
4851         * shell/ev-history.c:
4852         * shell/ev-history.h:
4853         * shell/ev-navigation-action.c:
4854         * shell/ev-navigation-action.h:
4855         * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4856         (ev_view_set_page), (ev_view_fit_width):
4857         * shell/ev-view.h:
4858         * shell/ev-window.c: (update_action_sensitivity),
4859         (ev_window_setup_document), (register_custom_actions):
4860
4861         Kill session history
4862
4863 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
4864
4865         * shell/ev-window.c: (update_action_sensitivity):
4866
4867         Fix inverted up/down buttons
4868
4869 2005-01-27  Martin Kretzschmar  <martink@gnome.org>
4870
4871         * shell/ev-sidebar-thumbnails.c
4872         (ev_sidebar_thumbnails_select_page): make sure the selected
4873         thumbnail stays visible.
4874
4875 2005-01-26  Martin Kretzschmar  <martink@gnome.org>
4876
4877         * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4878         scrolled window for Federico.
4879
4880 2005-01-26  Ole Laursen  <olau@hardworking.dk>
4881
4882         * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4883
4884 2005-01-26  Marco Pesenti Gritti  <marco@gnome.org>
4885
4886         * configure.ac:
4887         * pdf/splash/SplashFTFontEngine.cc:
4888
4889         Fix CID fonts with freetype 2.1.9
4890
4891 2005-01-26  Bryan Clark  <clarkbw@cvs.gnome.org>
4892
4893         * TODO: added item for desktop icon thumbnailer
4894
4895 Tue Jan 25 00:59:34 2005  Jonathan Blandford  <jrb@redhat.com>
4896
4897         * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4898         unloaded docs when the title is accessed.
4899
4900         * shell/ev-password-view.[hc]: New widget for displaying password
4901         state.
4902
4903         * shell/ev-window.[ch]: Refactor password handling code to handle
4904         the new view.
4905
4906 2005-01-24  Marco Pesenti Gritti  <marco@gnome.org>
4907
4908         * NEWS:
4909         * configure.ac:
4910         * data/Makefile.am:
4911
4912         Release 0.1.1
4913
4914 2005-01-23  Stephane LOEUILLET  <stephane.loeuillet@tiscali.fr>
4915
4916         * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4917         ignore page offset here, to make search results independent of it,
4918
4919         * shell/ev-view.c (expose_bin_window): but take offsets into
4920         account here. Bug #164932
4921
4922         * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4923         scale at the right time. Bug #164996
4924
4925 2005-01-22  Martin Kretzschmar  <martink@gnome.org>
4926
4927         * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4928         fix the problem. Now I just removed the Adobe font names and hope
4929         that the URW fonts are always in outline format. Bug #164934
4930
4931         * shell/ev-window.c (update_window_title): empty titles are
4932         useless, use filename in that case too.
4933
4934         * NEWS: Add some content.
4935
4936 2005-01-21  Bryan Clark  <clarkbw@cvs.gnome.org>
4937
4938         * TODO: added one more TODO item and a TODONE section :)
4939
4940 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
4941
4942         * ps/ps-document.h: add page_[xy]_offset fields.
4943
4944         * ps/ps-document.c (ps_document_set_page_offset)
4945         (ps_document_render): Keep offset in consideration in a few
4946         places. Bug #164752 "postscript documents are not centered in
4947         window"
4948
4949         * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4950         s/gpdf/evince/. Spotted by Stephane Loeuillet.
4951
4952         * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4953         (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4954         stub out missing methods for complete EvDocument implementation.
4955         Fixes segfaults with Save A Copy and Copy actions.
4956
4957         * ps/ps-document.c (ps_document_save, ps_document_get_text) 
4958         (ps_document_document_iface_init): ditto.
4959         
4960 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
4961
4962         * data/.cvsignore:
4963         * data/Makefile.am:
4964         * data/evince.desktop.in:
4965
4966         Add desktop file
4967
4968 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
4969
4970         * shell/ev-view.c: (ev_view_button_press_event),
4971         (ev_view_motion_notify_event):
4972
4973         Make selection work in any direction
4974
4975 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
4976
4977         * TODO:
4978         * shell/ev-window.c: (set_short_labels), (ev_window_init):
4979
4980         Use shorter labels for some of the toolbars items
4981
4982 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
4983
4984         * pdf/xpdf/pdf-document.cc:
4985
4986         Check the links info is initialized before
4987         using it. Should fix a crash on startup.
4988
4989 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
4990
4991         * pixbuf/pixbuf-document.c
4992         (pixbuf_document_thumbnails_get_dimensions): force floating point
4993         division to calculate page_ratio. Fixes crash with landscape
4994         format pixbufs.
4995
4996 Thu Jan 20 18:56:35 2005  Jonathan Blandford  <jrb@redhat.com>
4997
4998         * shell/ev-view.c (ev_view_realize): make the bg color darker.
4999
5000 2005-01-20  Martin Kretzschmar  <martink@gnome.org>
5001
5002         * shell/ev-view.c (set_document_page): unset has_selection when
5003         the page changes.
5004         (set_document_page): handle paper size changes when the page
5005         changes (test with Free Culture, page 2).
5006
5007 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
5008
5009         * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
5010         (expose_bin_window), (ev_view_class_init), (ev_view_init):
5011
5012         Use normal style color for the widget background and
5013         draw a black box around the page.
5014
5015 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
5016
5017         * pdf/xpdf/pdf-document.cc:
5018
5019         Keep offset in consideration in a few places
5020
5021         * shell/ev-view.c: (expose_bin_window):
5022
5023         Set the offsets so that the document is ever centered
5024
5025 2005-01-20  Bryan Clark  <clarkbw@cvs.gnome.org>
5026
5027         * TODO: Added TODO items and finished off the first todo item
5028
5029         * AUTHORS: Updated AUTHORS section with piece from gpdf file and
5030         reflect current authors
5031
5032 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
5033
5034         * pdf/xpdf/pdf-document.cc:
5035         * shell/ev-view.c: (ev_view_set_cursor),
5036         (ev_view_motion_notify_event), (document_changed_callback),
5037         (set_document_page):
5038
5039         Show a wait cursor while the page is rendering
5040
5041 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
5042
5043         * shell/ev-sidebar-thumbnails.c:
5044         (ev_sidebar_tree_selection_changed),
5045         (ev_sidebar_thumbnails_select_page):
5046         * shell/ev-sidebar-thumbnails.h:
5047         * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
5048         (ev_view_can_go_forward):
5049         * shell/ev-window.c: (ev_window_open_page),
5050         (ev_window_setup_document), (update_current_page),
5051         (view_page_changed_cb), (ev_window_init):
5052         * shell/ev-window.h:
5053
5054         Ensure thumbnails selection, toolbar page control and
5055         current page are in sync.
5056
5057 2005-01-19  Marco Pesenti Gritti  <marco@gnome.org>
5058
5059         * pdf/xpdf/XRef.cc:
5060
5061         Fix CAN-2005-0064
5062
5063 Wed Jan 19 01:10:57 2005  Jonathan Blandford  <jrb@redhat.com>
5064
5065         * backend/Makefile.am:
5066         * backend/ev-document-links.h:
5067         * backend/ev-document-security.c: (ev_document_security_get_type),
5068         (ev_document_security_has_document_security),
5069         (ev_document_security_set_password):
5070         * backend/ev-document-security.h:
5071         * backend/ev-document.c: (ev_document_error_quark):
5072         * backend/ev-document.h:
5073         * data/Makefile.am:
5074         * data/evince-password.glade:
5075         * pdf/xpdf/pdf-document.cc:
5076         * shell/Makefile.am:
5077         * shell/ev-password.c: (ev_password_set_bad_password_label),
5078         (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
5079         (ev_password_dialog_get_password),
5080         (ev_password_dialog_set_bad_pass):
5081         * shell/ev-password.h:
5082         * shell/ev-window.c: (ev_window_get_attribute),
5083         (ev_window_set_property), (update_action_sensitivity),
5084         (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
5085         (ev_window_setup_document), (ev_window_get_password),
5086         (ev_window_open), (ev_window_cmd_save_as),
5087         (using_postscript_printer), (ev_window_print),
5088         (find_not_supported_dialog), (ev_window_cmd_edit_find),
5089         (update_fullscreen_popup), (ev_window_fullscreen),
5090         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5091         (ev_window_focus_out_cb), (ev_window_cmd_help_about),
5092         (menu_item_select_cb), (find_bar_search_changed_cb),
5093         (ev_window_dispose), (ev_window_init):
5094
5095         Add initial support for password-supported dialogs.  This could be
5096         a lot cooler, but it'll do for now.
5097
5098 2005-01-18  Marco Pesenti Gritti  <marco@gnome.org>
5099
5100         * pdf/xpdf/pdf-document.cc:
5101         * shell/ev-view.c: (status_message_from_link),
5102         (ev_view_set_status), (ev_view_set_cursor),
5103         (ev_view_motion_notify_event), (ev_view_init):
5104         * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
5105
5106         Fix bugs in the links implementation and change cursor
5107         when hovering a link.
5108
5109 2005-01-17  Bryan Clark  <clarkbw@cvs.gnome.org>
5110
5111         * viewer/.cvsignore: added cvsignore file for viewer directory
5112
5113         * TODO: created TODO document
5114
5115 2005-01-14  Dave Malcolm  <dmalcolm@redhat.com>
5116
5117         * shell/ev-view.h:
5118         * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):      
5119         new functions to help with implementation of sensitivity code
5120         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5121         of all actions that might require it.  Fixes a crash when you
5122         click on the Zoom actions in a window lacking a document.
5123
5124 2005-01-13  Dave Malcolm  <dmalcolm@redhat.com>
5125
5126         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5127         of the Find action
5128
5129 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
5130
5131         * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5132         (pixbuf_document_document_iface_init):
5133         * ps/ps-document.c: (ps_document_get_link),
5134         (ps_document_document_iface_init):
5135         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5136         (status_message_from_link), (ev_view_set_status),
5137         (ev_view_set_find_status), (ev_view_motion_notify_event),
5138         (ev_view_button_release_event), (ev_view_set_property),
5139         (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5140         (ev_view_get_find_status_message), (update_find_results),
5141         (ev_view_get_status), (ev_view_get_find_status):
5142         * shell/ev-view.h:
5143         * shell/ev-window.c: (view_status_changed_cb),
5144         (view_find_status_changed_cb), (ev_window_init):
5145
5146         View status message support, use it to show the links.
5147         Needs work...
5148
5149 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
5150
5151         * backend/ev-document.c: (ev_document_get_link):
5152         * backend/ev-document.h:
5153         * pdf/xpdf/pdf-document.cc:
5154         * shell/ev-application.c: (ev_application_open):
5155         * shell/ev-application.h:
5156         * shell/ev-sidebar-links.c: (selection_changed_cb):
5157         * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5158         (ev_view_go_to_link):
5159
5160         Add support for document links
5161
5162 2005-01-13  Anders Carlsson  <andersca@gnome.org>
5163
5164         * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5165         (create_tool_item):
5166         Set the spin button limits correctly.
5167         
5168         * shell/ev-sidebar-thumbnails.c:
5169         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5170         Support changing pages by clicking on the thumbnails.
5171         
5172 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
5173
5174         * pixbuf/pixbuf-document.c:
5175         (pixbuf_document_thumbnails_get_dimensions),
5176         (pixbuf_document_document_thumbnails_iface_init):
5177
5178         implement get_dimensions
5179
5180 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
5181
5182         * ps/ps-document.c: (ps_document_goto_page):
5183
5184         Fix page switching on multipage documents
5185
5186 2005-01-12  Jeff Muizelaar  <jrmuizel@nit.ca>
5187
5188         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5189         
5190         check for NULL before assigning to width and height parameters
5191
5192 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
5193
5194         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5195         (pixbuf_document_set_property), (pixbuf_document_get_property):
5196
5197         implement get/set properties
5198
5199 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
5200
5201         * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5202         
5203         return NULL instead of "Unknown", letting the title get set to
5204         the filename when the pdf has no title.
5205
5206 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
5207
5208         * ps/ps-document.c: (ps_document_get_page_count),
5209         (ps_document_goto_page):
5210
5211 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
5212
5213         * shell/ev-history.c: (ev_history_get_property),
5214         (ev_history_set_property), (ev_history_class_init),
5215         (ev_history_add_page), (ev_history_set_current_index):
5216         * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5217         (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5218         (ev_navigation_action_finalize):
5219         * shell/ev-navigation-action.h:
5220         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5221         (ev_view_go_forward), (ev_view_get_find_status_message),
5222         (history_index_changed_cb), (ev_view_set_history):
5223         * shell/ev-view.h:
5224         * shell/ev-window.c: (update_total_pages), (ev_window_open),
5225         (update_current_page), (register_custom_actions):
5226
5227         Implement history dropdowns
5228
5229 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
5230
5231         * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5232         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5233         (ev_view_go_forward):
5234         * shell/ev-window.c: (register_custom_actions):
5235
5236         Fix several history bugs
5237
5238 2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>
5239
5240         * configure.ac: Add «nb» to ALL_LINGUAS.
5241
5242 2005-01-10  Marco Pesenti Gritti  <marco@gnome.org>
5243
5244         * backend/Makefile.am:
5245         * backend/ev-bookmark.c:
5246         * backend/ev-bookmark.h:
5247         * backend/ev-document-bookmarks.c:
5248         * backend/ev-document-bookmarks.h:
5249         * backend/ev-document-links.c: (ev_document_links_get_type),
5250         (ev_document_links_has_document_links),
5251         (ev_document_links_begin_read), (ev_document_links_get_link),
5252         (ev_document_links_get_child), (ev_document_links_next),
5253         (ev_document_links_free_iter):
5254         * backend/ev-document-links.h:
5255         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5256         (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5257         (ev_link_get_link_type), (ev_link_set_link_type),
5258         (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5259         (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5260         (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5261         (ev_link_new_external):
5262         * backend/ev-link.h:
5263         * pdf/xpdf/pdf-document.cc:
5264         * shell/Makefile.am:
5265         * shell/ev-application.c: (ev_application_open_link):
5266         * shell/ev-application.h:
5267         * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5268         (ev_history_get_link_nth):
5269         * shell/ev-history.h:
5270         * shell/ev-sidebar-bookmarks.c:
5271         * shell/ev-sidebar-bookmarks.h:
5272         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5273         (ev_sidebar_links_class_init), (selection_changed_cb),
5274         (ev_sidebar_links_construct), (ev_sidebar_links_init),
5275         (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5276         (do_one_iteration), (populate_links_idle),
5277         (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5278         * shell/ev-sidebar-links.h:
5279         * shell/ev-sidebar.c: (ev_sidebar_set_document):
5280         * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5281         (go_to_index):
5282         * shell/ev-view.h:
5283         * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5284         * shell/ev-window.h:
5285
5286         Rename bookmark to link, and use "Index" for the sidebar panel.
5287
5288 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
5289
5290         * shell/Makefile.am:
5291         * shell/ev-application.c: (ev_application_open_bookmark):
5292         * shell/ev-application.h:
5293         * shell/ev-history.c: (ev_history_init), (free_links_list),
5294         (ev_history_finalize), (ev_history_class_init),
5295         (ev_history_add_link), (ev_history_add_page),
5296         (ev_history_get_link_nth), (ev_history_get_n_links),
5297         (ev_history_get_current_index), (ev_history_set_current_index),
5298         (ev_history_new):
5299         * shell/ev-history.h:
5300         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5301         * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5302         (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5303         (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5304         (ev_view_set_page):
5305         * shell/ev-view.h:
5306         * shell/ev-window.c: (ev_window_open_bookmark),
5307         (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5308         (goto_page_cb), (register_custom_actions):
5309         * shell/ev-window.h:
5310
5311         Initial history implementation. Needs work.
5312
5313 2005-01-09  Martin Kretzschmar  <martink@gnome.org>
5314
5315         * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5316
5317 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
5318
5319         * cut-n-paste/recent-files/egg-recent-item.c:
5320         * cut-n-paste/recent-files/egg-recent-item.h:
5321         * cut-n-paste/recent-files/egg-recent-model.c:
5322         * cut-n-paste/recent-files/egg-recent-util.c:
5323         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5324         * cut-n-paste/recent-files/egg-recent-view.c:
5325
5326         Update
5327
5328 2005-01-08  Martin Kretzschmar  <martink@gnome.org>
5329
5330         * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5331         (fillGlyph, fillImageMask, drawImage):
5332         pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5333         pdf/splash/SplashTypes.h:
5334         pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5335         packed mode for Splash.
5336
5337         * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5338         RGB8 packed mode, eliminates the pixbuf data creation loop.
5339
5340         * shell/ev-print-job.c (ev_print_job_finalize)
5341         (ev_print_job_set_property, ev_print_job_get_property)
5342         (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5343         (ev_print_job_use_print_dialog_settings, idle_print_handler)
5344         (print_closure_finalize, ev_print_job_print): implement
5345         printing (for backends with EvPsExporter)
5346
5347         * shell/ev_print_job.h: update prototypes.
5348
5349         * shell/ev-window.c (ev_window_print): unref print job after
5350         printing.
5351
5352         * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5353         unless the document implements the EvDocumentFind interface.
5354
5355 2005-01-08  Satoru SATOH <ss@gnome.gr.jp>
5356
5357         * configure.ac: Added ja to ALL_LINGUAS.
5358
5359 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
5360
5361         * pdf/xpdf/pdf-document.cc:
5362
5363         add a FIXME. We should probably not allocate
5364         a bookmark object every time
5365
5366 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
5367
5368         * shell/ev-application.c: (ev_application_open),
5369         (ev_application_open_bookmark):
5370         * shell/ev-application.h:
5371         
5372         Add a way to open bookmarks
5373
5374         * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5375         (ev_bookmark_set_uri), (ev_bookmark_get_property),
5376         (ev_bookmark_set_property), (ev_bookmark_class_init),
5377         (ev_bookmark_new_title), (ev_bookmark_new_link),
5378         (ev_bookmark_new_external):
5379
5380         Support for external uris, better constructors.
5381
5382         * backend/ev-bookmark.h:
5383         * pdf/xpdf/pdf-document.cc:
5384         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5385
5386         Handle external uris
5387
5388 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
5389
5390         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5391         (ev_sidebar_bookmarks_construct), (do_one_iteration):
5392
5393         Hook up bookmarks navigation
5394
5395 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
5396
5397         * backend/Makefile.am:
5398         * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5399         (ev_bookmark_get_title), (ev_bookmark_set_title),
5400         (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5401         (ev_bookmark_get_page), (ev_bookmark_set_page),
5402         (ev_bookmark_get_property), (ev_bookmark_set_property),
5403         (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5404         (ev_bookmark_new):
5405         * backend/ev-bookmark.h:
5406         * backend/ev-document-bookmarks.c:
5407         (ev_document_bookmarks_get_bookmark):
5408         * backend/ev-document-bookmarks.h:
5409         * pdf/xpdf/pdf-document.cc:
5410         * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5411
5412         Add a bookmark object to the backend and use it instead of get_values
5413
5414 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
5415
5416         * data/evince-ui.xml:
5417
5418         Cleanup and add select all.
5419
5420         * shell/ev-view.c: (ev_view_select_all),
5421         (ev_view_button_press_event):
5422         * shell/ev-view.h:
5423         * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5424
5425         Add select all.
5426         Clear selection on click.
5427
5428 Fri Jan  7 01:28:58 2005  Jonathan Blandford  <jrb@redhat.com>
5429
5430         * shell/ev-sidebar-thumbnails.c
5431         (ev_sidebar_thumbnails_set_document): forgot to unref the
5432         loading_icon.
5433
5434 Fri Jan  7 01:22:48 2005  Jonathan Blandford  <jrb@redhat.com>
5435
5436         * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5437         at the visible page, not just linearly.  This makes it look fast.
5438
5439 Thu Jan  6 18:48:11 2005  Jonathan Blandford  <jrb@redhat.com>
5440
5441         * backend/ev-document-misc.c
5442         (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5443         white.
5444         * backend/ev-document-thumbnails.h: New interface to get the size
5445         of a page.
5446
5447 2005-01-06  Jeremy Katz  <katzj@redhat.com>
5448
5449         * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5450         make dist works
5451
5452 Wed Jan  5 15:38:28 2005  Jonathan Blandford  <jrb@redhat.com>
5453
5454         * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5455         GDKSplashOutputDev and just use a normal SplashOutputDev.  Speeds
5456         things up a bit.
5457
5458         * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5459
5460 2005-01-05  Martin Kretzschmar  <martink@gnome.org>
5461
5462         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5463         fonts. Should fix font problems on systems that have the base
5464         fonts in bitmap format. Reported by James Henstridge
5465         <james@jamesh.id.au>.
5466
5467 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
5468
5469         * pdf/xpdf/Gfx.cc:
5470         * pdf/xpdf/GfxState.cc:
5471
5472         Fix for CAN-2004-1125
5473
5474 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
5475
5476         * shell/ev-view.c: (ev_view_copy):
5477         * shell/ev-view.h:
5478         * shell/ev-window.c: (ev_window_cmd_edit_copy):
5479
5480         Implement Edit->Copy
5481
5482 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
5483
5484         * backend/ev-document.c: (ev_document_get_text):
5485         * backend/ev-document.h:
5486         * pdf/xpdf/pdf-document.cc:
5487         * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5488         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5489         (ev_view_update_primary_selection), (ev_view_button_press_event),
5490         (ev_view_motion_notify_event), (ev_view_button_release_event):
5491
5492         Beginnings of clipboard support. Incomplete but primary sort
5493         of work.
5494
5495 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
5496
5497         * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5498         (expose_bin_window):
5499
5500         Nicer rubberband drawing, from GtkIconView.
5501
5502 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
5503
5504         * backend/ev-document.c: (ev_document_save):
5505         * backend/ev-document.h:
5506         * data/evince-ui.xml:
5507         * pdf/xpdf/pdf-document.cc:
5508         * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5509
5510         Implement "Save a copy..." menu item
5511
5512 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
5513
5514         * shell/ev-view.c: (ev_view_zoom):
5515
5516         Queue a resize when zoom changes
5517
5518 Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>
5519
5520         * backend/ev-document-misc.[ch]: New misc file to do simple drop
5521         shadows.
5522
5523         * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5524         thumbnails..
5525
5526 Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
5527
5528         * pdf/xpdf/pdf-document.cc
5529         (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5530
5531 Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>
5532
5533         * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5534         It's slow, but I'll speed it up next!
5535
5536 2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>
5537
5538         * shell/main.c (load_files):
5539
5540         use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5541         from the command line and because it seems more appropriate.
5542
5543 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
5544
5545         * data/evince-ui.xml:
5546         * shell/ev-window.c: (update_action_sensitivity),
5547         (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5548
5549         s/next page/page down
5550         s/previous page/page up
5551
5552 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
5553
5554         * data/evince-ui.xml:
5555
5556         Change the layout to match clarkbw design.
5557
5558         * shell/Makefile.am:
5559         * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5560         (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5561         (ev_navigation_action_finalize),
5562         (ev_navigation_action_set_property),
5563         (ev_navigation_action_get_property),
5564         (ev_navigation_action_class_init):
5565         * shell/ev-navigation-action.h:
5566
5567         Implement clarkbw toolbar navigation controls (incomplete)
5568
5569         * shell/ev-page-action.c: (update_label), (update_spin),
5570         (value_changed_cb), (create_tool_item), (connect_proxy),
5571         (ev_page_action_init), (ev_page_action_finalize),
5572         (ev_page_action_set_property), (ev_page_action_get_property),
5573         (ev_page_action_set_current_page),
5574         (ev_page_action_set_total_pages), (ev_page_action_class_init):
5575         * shell/ev-page-action.h:
5576
5577         Implement a page switcher in the toolbar
5578
5579         * shell/ev-view.c: (ev_view_scroll_view):
5580         * shell/ev-window.c: (update_total_pages), (ev_window_open),
5581         (update_current_page), (view_page_changed_cb), (goto_page_cb),
5582         (register_custom_actions), (ev_window_init):
5583
5584         Change page on PageUp/Down.
5585
5586 Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>
5587
5588         * pdf/xpdf/pdf-document.cc
5589         (pdf_document_thumbnails_get_thumbnail): initial stab at
5590         implementing thumbnail support for pdfs.  It only does documents
5591         with precached pdfs now.
5592
5593 Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>
5594
5595         * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5596         thumbnail code into a time-based idle as well.  Also, turn off the
5597         shadow temporarily as it's really slow.
5598
5599 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
5600
5601         * backend/ev-document.c: (ev_document_class_init):
5602         * pdf/xpdf/pdf-document.cc:
5603         * shell/ev-window.c: (ev_window_open):
5604
5605         Fix document title bugs and fallback to
5606         filename when not available.
5607
5608 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
5609
5610         * backend/ev-document.c: (ev_document_get_type),
5611         (ev_document_class_init), (ev_document_load),
5612         (ev_document_get_title):
5613         * backend/ev-document.h:
5614         * pdf/xpdf/pdf-document.cc:
5615         * ps/ps-document.c: (ps_document_set_property),
5616         (ps_document_get_property), (ps_document_class_init),
5617         (document_load):
5618         * ps/ps-document.h:
5619         * ps/ps.h:
5620         * shell/ev-window.c: (update_window_title), (ev_window_open),
5621         (ev_window_init):
5622
5623         Initial support for document title. Not working yet.
5624
5625 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
5626
5627         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5628
5629         Grab focus on the view when clicking it
5630
5631 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
5632
5633         * shell/ev-marshal.list:
5634         * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5635         (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5636
5637         Add key bindings to the view. Now if the focus would work
5638         right...
5639
5640 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
5641
5642         * Makefile.am:
5643         * backend/Makefile.am:
5644         * data/Makefile.am:
5645         * dvi/Makefile.am:
5646         * dvi/dvilib/Makefile.am:
5647         * pdf/xpdf/Makefile.am:
5648         * po/POTFILES.in:
5649         * ps/Makefile.am:
5650
5651         Fix distcheck
5652
5653 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5654
5655         * shell/ev-view.c: (ev_view_realize):
5656
5657         Fix mouse wheel scrolling
5658
5659 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5660
5661         * ps/Makefile.am:
5662         * ps/gstypes.h:
5663         * ps/gtkgs.c:
5664         * ps/gtkgs.h:
5665         * ps/ps-document.c: (catchPipe), (ps_document_init),
5666         (ps_document_class_init), (ps_document_cleanup),
5667         (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5668         (set_up_page), (close_pipe), (is_interpreter_ready),
5669         (interpreter_failed), (output), (input), (start_interpreter),
5670         (stop_interpreter), (file_length), (file_readable),
5671         (check_filecompressed), (check_pdf), (compute_xdpi),
5672         (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5673         (ps_document_get_type), (ps_document_emit_error_msg),
5674         (document_load), (ps_document_next_page),
5675         (ps_document_get_current_page), (ps_document_get_page_count),
5676         (ps_document_goto_page), (ps_document_set_page_size),
5677         (ps_document_zoom_to_fit), (ps_document_set_zoom),
5678         (ps_document_load), (ps_document_get_n_pages),
5679         (ps_document_set_page), (ps_document_get_page),
5680         (ps_document_widget_event), (ps_document_set_target),
5681         (ps_document_set_scale), (ps_document_set_page_offset),
5682         (ps_document_get_page_size), (ps_document_render),
5683         (ps_document_document_iface_init):
5684         * ps/ps-document.h:
5685         * ps/ps.c:
5686         * shell/ev-window.c: (ev_window_open):
5687
5688         Rename GtkGS to PSDocument
5689
5690 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5691
5692         * ps/gtkgs.c: (gtk_gs_class_init):
5693         * ps/gtkgs.h:
5694
5695         Some more leftover...
5696
5697 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5698
5699         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5700         (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5701         (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5702         * ps/gtkgs.h:
5703
5704         Remove unused code and make a lot of stuff private
5705
5706 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5707
5708         * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5709         (gtk_gs_defaults_changed):
5710         * ps/gsdefaults.h:
5711         * ps/gtkgs.c:
5712         * ps/gtkgs.h:
5713         * ps/ps.h:
5714
5715         Cleanup headers dependencies
5716
5717 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5718
5719         * ps/Makefile.am:
5720         * ps/ggvutils.c:
5721         * ps/ggvutils.h:
5722         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5723         * ps/gsdefaults.h:
5724         * ps/gtkgs.c: (file_length), (file_readable),
5725         (check_filecompressed), (check_pdf), (gtk_gs_load),
5726         (gtk_gs_get_postscript):
5727
5728         Get rid of ggvutils
5729
5730 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
5731
5732         * ps/ggvutils.c:
5733         * ps/ggvutils.h:
5734         * ps/gsio.h:
5735         * ps/gtkgs.c: (gtk_gs_set_zoom):
5736
5737         Cleanups
5738
5739 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
5740
5741         * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5742
5743         Ensure the page is rerendered when changing zoom
5744
5745 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
5746
5747         * backend/ev-document.c: (ev_document_base_init),
5748         (ev_document_changed):
5749         * backend/ev-document.h:
5750
5751         Add a changed event that is emitted when the page content
5752         changes. This is necessary to deal with the fact that
5753         in ps backend rendering happen asycrounously.
5754         This makes the ps backend mostly work.
5755
5756         * pdf/xpdf/pdf-document.cc:
5757
5758         Emit changed event
5759
5760         * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5761         (ps_document_set_target):
5762
5763         Emit changed event
5764
5765         * shell/ev-view.c: (document_changed_callback),
5766         (ev_view_set_document), (ev_view_set_page):
5767
5768         Redraw on the changed signal
5769
5770 2004-12-25  Raphael Higino  <raphaelh@cvs.gnome.org>
5771
5772         * configure.ac: Added pt_BR to ALL_LINGUAS.
5773
5774 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
5775
5776         * backend/ev-document-bookmarks.c:
5777         (ev_document_bookmarks_get_child): *
5778         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5779         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5780         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5781         (ev_sidebar_bookmarks_destroy),
5782         (ev_sidebar_bookmarks_class_init),
5783         (ev_sidebar_bookmarks_construct), (stack_data_free),
5784         (do_one_iteration), (populate_bookmarks_idle),
5785         (ev_sidebar_bookmarks_clear_document),
5786         (ev_sidebar_bookmarks_set_document): *
5787         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5788         (ev_sidebar_add_page),
5789         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5790         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
5791         it displays both the topics and the page numbers.
5792
5793 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
5794
5795         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5796         toggle.
5797         * shell/ev-window.c (toggle_entries): Set sidebar default value to
5798         visible.
5799
5800 2004-12-23  Adam Weinberger  <adamw@gnome.org>
5801
5802         * configure.ac: Added en_CA to ALL_LINGUAS.
5803
5804 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
5805
5806         * ChangeLog: replace bottom of this ChangeLog (merged history of
5807         ggv and gpdf; where all paths were wrong and most of the files are
5808         not even in this tree) with ChangeLog (from arch) of the shell
5809         code.
5810
5811 2004-12-23  Havoc Pennington  <hp@redhat.com>
5812
5813         * shell/ev-window.c: hook up potentially-questionable "find
5814         results status text" feature - something involving the sidebar or
5815         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5816         might be better in the end.
5817
5818         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
5819         with corresponding signal when it should be updated
5820
5821         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5822
5823 2004-12-22  Havoc Pennington  <hp@redhat.com>
5824
5825         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5826         find stuff on other pages, sort of (only returns one result on
5827         invisible pages, to show they have results; updates full results
5828         for a page when you view it). Currently repaints the current page
5829         every time a new result is found on any page, which isn't so nice.
5830
5831 2004-12-22  Havoc Pennington  <hp@redhat.com>
5832
5833         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5834         the document doesn't support find (better ideas?)
5835         (find_bar_search_changed_cb): handle missing document or document
5836         that doesn't support find
5837
5838         * pdf/xpdf/pdf-document.cc: port to implement the new
5839         EvDocumentFindIface
5840
5841         * backend/ev-document-find.c: create a new interface for searching
5842
5843         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5844
5845 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
5846
5847         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5848         libevbackend.la.
5849
5850         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5851         EvPrintJob constructor arguments.
5852
5853         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5854         for documents that can export PostScript (page by page).
5855
5856         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5857         
5858         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5859         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5860         (pdf_document_ps_exporter_iface_init:
5861         Implement EvPSExporter.
5862
5863         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5864
5865 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5866
5867         * backend/Makefile.am:
5868         * backend/ev-document-thumbnails.c:
5869         (ev_document_thumbnails_get_type),
5870         (ev_document_thumbnails_get_thumbnail):
5871         * backend/ev-document-thumbnails.h:
5872         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5873         (pixbuf_document_thumbnails_get_thumbnail),
5874         (pixbuf_document_document_thumbnails_iface_init):
5875         * shell/Makefile.am:
5876         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5877         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5878         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5879         * shell/ev-sidebar-thumbnails.h:
5880         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5881         (ev_sidebar_set_document):
5882         * shell/ev-utils.c: (gaussian), (create_blur_filter),
5883         (create_shadow), (ev_pixbuf_add_shadow):
5884         * shell/ev-utils.h:
5885         Add thumbnail support.
5886         
5887 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
5888
5889         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5890         (using_postscript_printer): Set up a print dialog for "PostScript
5891         injection" method.
5892
5893         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5894         EvPrintJob.
5895
5896         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5897
5898 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5899
5900         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5901         (ps_document_set_target), (ps_document_get_page_size),
5902         (ps_document_render):
5903         * ps/gtkgs.h:
5904
5905         Fix a few bugs
5906
5907 2004-12-22  Christian Rose  <menthos@menthos.com>
5908
5909         * configure.ac: Added "sv" to ALL_LINGUAS.
5910
5911 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
5912
5913         * backend/ev-document-bookmarks.[ch]: new interface to indicate
5914         document supports bookmarks.
5915
5916 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5917
5918         * ps/ggvutils.c: (ggv_file_readable):
5919         * ps/ggvutils.h:
5920         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5921         (gtk_gs_get_postscript):
5922
5923         Remove unused utils
5924
5925 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5926
5927         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5928         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5929         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5930         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5931         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5932         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5933         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5934         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5935         (gtk_gs_set_antialiasing), (ps_document_load),
5936         (ps_document_render):
5937         * ps/gtkgs.h:
5938
5939         Another check point for the ps backend. Now I can get it to show
5940         pages!
5941
5942 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
5943
5944         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5945         document setting code.
5946
5947 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5948
5949         * shell/eggfindbar.c: (entry_activate_callback):
5950         Animate the next button when activate is pressed.
5951         
5952 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5953
5954         * shell/ev-window.c: (ev_window_cmd_edit_find),
5955         (update_fullscreen_popup), (ev_window_fullscreen),
5956         (ev_window_unfullscreen), (ev_window_state_event_cb),
5957         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5958         Fix bugs in fullscreen code.
5959         
5960 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5961
5962         * Makefile.am:
5963         * configure.ac:
5964         * pixbuf/Makefile.am:
5965         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5966         (pixbuf_document_load), (pixbuf_document_get_n_pages),
5967         (pixbuf_document_set_page), (pixbuf_document_get_page),
5968         (pixbuf_document_set_target), (pixbuf_document_set_scale),
5969         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5970         (pixbuf_document_render), (pixbuf_document_begin_find),
5971         (pixbuf_document_end_find), (pixbuf_document_finalize),
5972         (pixbuf_document_class_init),
5973         (pixbuf_document_document_iface_init), (pixbuf_document_init):
5974         * pixbuf/pixbuf-document.h:
5975         * shell/Makefile.am:
5976         * shell/ev-application.c: (ev_application_open):
5977         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5978         (ev_window_open):
5979         Add pixbuf backend.
5980         
5981 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
5982
5983         * Makefile.am: 
5984         * dvi/dvilib/Makefile.am:
5985         * dvi/Makefile.am:
5986         * configure.ac: Auto*ify dvi and dvi/dvilib
5987
5988         * dvi/Makefile: Remove from CVS
5989         
5990         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5991         confusion.
5992
5993         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5994         
5995         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5996         
5997 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5998
5999         * ps/Makefile.am:
6000         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
6001         (gtk_gs_value_adjustment_changed), (compute_size),
6002         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
6003         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
6004         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
6005         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
6006         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
6007         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
6008         (ps_document_load), (ps_document_get_n_pages),
6009         (ps_document_set_page), (ps_document_get_page),
6010         (ps_document_set_target), (ps_document_set_scale),
6011         (ps_document_set_page_offset), (ps_document_get_page_size),
6012         (ps_document_render), (ps_document_begin_find),
6013         (ps_document_end_find), (ps_document_document_iface_init):
6014         * ps/gtkgs.h:
6015         * shell/Makefile.am:
6016         * shell/ev-window.c: (ev_window_open):
6017
6018         Some work to integrate gtkgs with EvDocument
6019
6020 2004-12-22  Anders Carlsson  <andersca@gnome.org>
6021
6022         * shell/ev-window.c: (update_fullscreen_popup),
6023         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
6024         (exit_fullscreen_button_clicked_cb),
6025         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
6026         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6027         (ev_window_state_event_cb), (ev_window_init):
6028         Add fullscreen support from Epiphany.
6029         
6030 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
6031
6032         * data/ev-stock-zoom-fit-width.png: fit-width
6033         stock icon from gpdf.
6034         
6035         * shell/ev-stock-icons.[ch]: copied from gpdf.
6036         
6037         * shell/main.c: (main): init stock icons.
6038         
6039         * shell/ev-window.c: use the fit-width icon.
6040         
6041         * data/evince-ui.xml: add zooming toolbar items.
6042
6043 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
6044
6045         * shell/ev-view.c: 
6046         (ev_view_best_fit), (ev_view_fit_width): because
6047         get_page_size() returns the scaled page size, we
6048         need to calculate the scale factor relative to
6049         the previous scale factor. Should really just
6050         add get_real_page_size().
6051
6052 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
6053
6054         * shell/ev-view.[ch]:
6055         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
6056         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
6057         add zooming.
6058         
6059         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
6060         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
6061         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
6062         hook it up.
6063         
6064         * pdf/xpdf/pdf-document.cc:
6065         (pdf_document_begin_find),
6066         (pdf_document_end_find): make static.
6067
6068 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
6069
6070         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
6071
6072         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
6073         names to fontconfig patterns.
6074         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
6075
6076         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
6077         setupBaseFontsFc.
6078
6079 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
6080
6081         * Makefile.am:
6082         * configure.ac:
6083         * ps/Makefile.am:
6084         * ps/ggvutils.c:
6085         * ps/ggvutils.h:
6086         * ps/gsdefaults.c:
6087         * ps/gsdefaults.h:
6088         * ps/gsio.c:
6089         * ps/gsio.h:
6090         * ps/gtkgs.c:
6091         * ps/gtkgs.h:
6092         * ps/ps.c:
6093         * ps/ps.h:
6094
6095         Import ggv backend. Not hooked up yet.
6096
6097 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
6098
6099         * shell/main.c: (load_files), (main): load files
6100         from the command line.
6101
6102 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
6103
6104         * configure.ac: don't require bonobo.
6105         
6106         * cut-n-paste/recent-files/*: kill bonobo recent
6107         view.
6108
6109         * shell/ev-window.c:
6110         (ev_window_is_empty): upd.
6111         (unable_to_load), (ev_window_open): load backend
6112         based on the mime type.
6113
6114 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
6115
6116         * backend/.cvsignore: ignore generated marshalers source.
6117
6118         * shell/main.c (main): this is not epiphany.
6119
6120 2004-12-22  Havoc Pennington  <hp@redhat.com>
6121
6122         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6123         (expose_bin_window): draw find highlights
6124
6125         * shell/ev-window.c (find_bar_search_changed_cb): implement 
6126         
6127         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
6128         (pdf_document_end_find): implement this interface
6129
6130         * backend/ev-document.c (ev_document_found): add this to emit
6131         signal
6132
6133 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
6134
6135         * data/evince-ui.xml: Add a few more toolbar items.
6136
6137         * shell/ev-window.c: Hook up page navigation toolbar 
6138         items.
6139
6140         * shell/ev-view.[ch]: add ev_view_set/get_page and 
6141         a page-changed signal.
6142
6143         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6144         Add ev_document_get_page().
6145
6146         * shell/ev-window.c: Sensitize/desensitize navigation
6147         actions.
6148
6149 2004-12-21  Havoc Pennington  <hp@redhat.com>
6150
6151         * backend/ev-backend-marshal.c,
6152         backend/ev-backend-marshalers.list, backend/Makefile.am: add
6153         marshaler-generator thingy. I'm sure there's a better way to do
6154         this in the modern world.
6155
6156         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6157         end_find methods and "found" signal.
6158
6159         * configure.ac: find glib-genmarshal
6160
6161 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
6162
6163         * shell/ev-sidebar.c: Construct an actual sidebar.
6164         * shell/ev-sidebar-bookmarks.[ch]:
6165         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6166
6167 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
6168
6169         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6170         Redo size handling.
6171         
6172         * shell/ev-view.c: Track the size from the document.
6173
6174 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
6175
6176         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6177         constructor assumes ownership of the string passed in.
6178         
6179         * shell/ev-window.c (ev_window_open): Destroy the error
6180         dialog once we've displayed it.
6181
6182 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
6183
6184         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
6185         a bit, it works! (sort of)
6186
6187         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6188         Move to .cc since we need to use C++ in the implementation.
6189
6190         * shell/dummy.cc: Add a CC file to force evince
6191         to be linked as a C++ program.
6192
6193 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
6194
6195         * shell/ev-view.[ch]: Start of content-area widget.
6196
6197         * shell/ev-window.c: Create a EvView, update it
6198         as we change documents.
6199
6200         * shell/Makefile.am shell/ev-marshal.list: Add
6201         generated marshalers.
6202
6203 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
6204
6205         * Makefile.am (SUBDIRS): move shell.
6206
6207 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
6208
6209         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6210         .a to libtool convenience libraries.
6211
6212         * shell/ev-window.c (ev_window_open): Hard code loading
6213         a PDF document.
6214         
6215         * backend/ev-document.h: Add a boolean return to load(),
6216         fix GError * to GError **.
6217
6218         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6219         object for a PDF backend EvDocument.
6220
6221 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
6222
6223         * dvi/*: New directory with the beginning of a .dvi backend.
6224
6225 2004-12-21  Havoc Pennington  <hp@redhat.com>
6226
6227         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6228         previous/next instead of back/forward
6229
6230 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
6231
6232         * backend/ev-document.[ch]: Fix a couple of problems so
6233         it compile.
6234
6235 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
6236
6237         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
6238         to backend/ directory, rename EvViewer to EvDocument.
6239
6240 2004-12-21  Havoc Pennington  <hp@redhat.com>
6241
6242         * shell/ev-window.c: hook up the find bar widget; now we just need
6243         a document to find things in
6244
6245         * shell/eggfindbar.c: a find bar widget
6246
6247 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
6248
6249         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6250
6251 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
6252
6253         * pdf/**: Import of xpdf code from gpdf. 
6254
6255         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6256
6257         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6258         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
6259         Fix FreeType includes.
6260
6261         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6262         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6263         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6264         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6265         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6266         Include xpdfconfig.h
6267         
6268 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
6269
6270         * shell/ev-window.c (ev_window_dispose): dispose can be called
6271         multiple times.
6272
6273 2004-12-21  Havoc Pennington  <hp@redhat.com>
6274
6275         * shell/ev-window.c (ev_window_init): set title to Document Viewer
6276         rather than Evince
6277
6278         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6279         items; really they should be synced with the strings, etc. from
6280         current gpdf, but just getting the boring typing out of the way 
6281
6282 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
6283
6284         * po/POTFILES.in:
6285         * shell/ev-application.c: (window_destroy_cb):
6286         * shell/ev-window.c:
6287         * shell/main.c: (main):
6288
6289         Actually show the window...
6290
6291 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
6292
6293         * Makefile.am:
6294         * shell/Makefile.am:
6295         * shell/ev-application.c: (ev_application_class_init):
6296         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6297
6298         Make it build again
6299
6300 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
6301
6302         Import to gnome cvs.
6303         
6304         * Remove copies of gpdf and ggv trees.
6305         * Rip out all the recursive configure code.
6306         * Remove bonobo machinery.
6307         * viewer/*: GInterfaces that backends should/can implement.
6308
6309 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6310
6311         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6312         typo
6313
6314 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6315
6316         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6317         (ev_application_finalize, ev_application_class_init)
6318         (ev_application_init): use GType instance private data for priv.
6319     
6320         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6321         (ev_window_finalize, ev_window_class_init)
6322         (ev_window_init): ditto.
6323
6324 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6325
6326         * shell/ev-application.c (ev_application_new_window): make public
6327         (ev_application_show_initial_window): kill.
6328     
6329         * shell/ev-application.h: update prototypes.
6330     
6331         * shell/main.cc (main): inline ev_application_show_initial_window.
6332
6333 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6334
6335         * shell/ev-application.c (ev_application_new_window): impl.
6336         (ev_application_show_initial_window): use it.
6337         (is_window_empty, ev_application_get_empty_window): returns an
6338         existing empty window or a new one.
6339         (ev_application_open): from ev_window_cmd_file_open.
6340     
6341         * shell/ev-application.h: update prototypes
6342     
6343         * shell/ev-window.c (ev_window_is_empty): impl.
6344         (ev_window_open): make public.
6345         (ev_window_cmd_file_open): use ev_application_open
6346     
6347         * shell/ev-window.h: update prototypes, remove unused.
6348
6349 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6350
6351         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6352         move destroy handler out of here...
6353     
6354         * shell/ev-application.c, shell/ev-application.h: ...into this new
6355         class. Also handles initial window creation.
6356     
6357         * shell/main.cc (main): use EvApplication to create initial
6358         window.
6359
6360 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6361
6362         * Makefile.am (SUBDIRS): add cut-n-paste
6363     
6364         * cut-n-paste/Makefile.am: add
6365     
6366         * configure.ac: generate Makefiles in cut-n-paste
6367
6368 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6369
6370         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6371         (ev_window_class_init): install ev_window_dispose.
6372
6373 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6374
6375         * shell/ev-window.h, shell/ev-window.c: replace gchar with
6376         char (gchar looks stupid).
6377
6378 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6379
6380         * po/de.po: updated German translation.
6381
6382 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6383
6384         * configure.ac: add more pkg-config library checks for gnome-vfs,
6385         bonobo etc.
6386     
6387         * gpdf/configure.in: temporarily disable libpaper
6388         checks. Otherwise I'd have to add the checks for the shell, too.
6389
6390 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6391
6392         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6393         and * file filters to the file choose.
6394
6395 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6396
6397         * po/de.po: Updated German translation.
6398
6399 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6400
6401         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6402
6403 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6404
6405         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6406     
6407         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6408         (ev_window_init): implement those menuitems.
6409
6410 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6411
6412         * data/evince-ui.xml: add a toolbar (with FileOpen action)
6413     
6414         * shell/ev-window.c (ev_window_init): use the toolbar.
6415
6416 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6417
6418         * shell/ev-window.c (ev_window_init): use menu translations
6419
6420 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6421
6422         * configure.ac: add "de" to ALL_LINGUAS.
6423     
6424         * po/de.po: add German translation.
6425
6426 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6427
6428         * Makefile.am (SUBDIRS): add po
6429     
6430         * configure.ac: check intltool, glib-gettext etc, generate
6431         po/Makefile.in
6432     
6433         * po, po/POTFILES.in, po/POTFILES.skip: new.
6434
6435 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6436
6437         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6438         already use (#ifdef ENABLE_NLS)
6439     
6440         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6441         pointer indirection thinko.
6442     
6443         * shell/main.c: include gi18n.h for bindtextdomain etc.
6444
6445 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6446
6447         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6448         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6449         tooltips for menu items in the statusbar.
6450
6451 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6452
6453         * configure.ac, data/Makefile.am, shell/Makefile.am: use
6454         pkgdatadir drop UIDIR
6455
6456 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6457
6458         * data/evince-ui.xml: Add File->Open menu item
6459     
6460         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6461         chooser), hook it up in the ui manager.
6462
6463 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6464
6465         * shell/ev-window.c: fix Help->About tooltip.
6466
6467 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
6468
6469         * configure.ac: set CFLAGS for libevprivate.
6470     
6471         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6472         definitions, factory etc.
6473     
6474         * lib/Makefile.am: build libevprivate.a (only stock icon code).
6475     
6476         * shell/Makefile.am: link against libevprivate.a.
6477     
6478         * shell/ev-window.c (entries): add stock icon to Help->About.
6479     
6480         * shell/main.c (main): init stock icon code.
6481
6482 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6483
6484         * lib/recent-files: egg recent files code
6485     
6486         * lib/Makefile.am: add.
6487     
6488         * Makefile.am: add lib subdir.
6489     
6490         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6491         set CFLAGS for recent-files.
6492
6493 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6494
6495         * configure.ac: disable -ansi and -pedantic gcc flags. They
6496         disable POSIX stuff in stdio.h, but egg-recent uses them.
6497
6498 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
6499
6500         * configure.ac: add --disable-deprecated flag (defaults to on in
6501         "cvs" builds).
6502     
6503         * shell/Makefile.am (INCLUDES): use it.
6504
6505 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6506
6507         * shell/main.c: add missing #include.
6508     
6509         * shell/ev-window.c: fix for pedantic gcc.
6510         (ev_window_cmd_help_about): split license into paragraphs for
6511         translators and pedantic compilers.
6512
6513 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6514
6515         * configure.ac: add more warning flags if compiling with gcc from
6516         cvs (or explicitly requested with --enable-more-warnings).
6517
6518 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6519
6520         * data/evince-ui.xml: add File and File->Close menu.
6521     
6522         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6523         (ev_window_destroy): quit after destroy.
6524         (ev_window_class_init): override GtkObject::destroy.
6525         (entries): install close_window callback.
6526
6527 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6528
6529         * Makefile.am (SUBDIRS): add data subdir.
6530     
6531         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
6532         gtk+ 2.5.0 for GtkAboutDialog.
6533     
6534         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6535         main window.
6536     
6537         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6538     
6539         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6540         manager.
6541         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6542
6543 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6544
6545         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6546
6547 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6548
6549         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6550
6551 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6552
6553         * shell/*: Added shell directory boilerplate, build it.
6554
6555 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6556
6557         * configure.ac, Makefile.am: Added top-level configure.ac and
6558         Makefile.am