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