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