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