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