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