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