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