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