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