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