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