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