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