]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
Rework factory functions so they are placed now in a single file
[evince.git] / ChangeLog
1 2006-03-31  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2
3         * backend/ev-document-factory.c:
4         (ev_document_factory_get_from_mime),
5         (ev_document_factory_get_all_mime_types), (get_document_from_uri),
6         (ev_document_factory_get_document),
7         (file_filter_add_mime_list_and_free),
8         (ev_document_factory_add_filters):
9         * backend/ev-document-factory.h:
10         * properties/ev-properties-main.c: (ev_properties_get_pages):
11         * shell/Makefile.am:
12         * shell/ev-application.c:
13         * shell/ev-job-xfer.c: (ev_job_xfer_run):
14         * shell/ev-window.c: (ev_window_cmd_file_open),
15         (ev_window_cmd_save_as):
16         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
17         
18         Rework factory functions so they are placed now in a single 
19         file ev-document-factory.c
20
21 2006-03-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
22
23         * shell/ev-window.c: (update_chrome_visibility):
24         
25         Fix for the bug 166566 - don't show menubar in fullscreen
26         mode.
27
28 2006-03-22  Tommi Vainikainen  <thv@iki.fi>
29
30         * configure.ac (ALL_LINGUAS): Added Dzongkha (dz).
31
32 2006-03-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
33
34         * shell/ev-view.c: (ev_view_expose_event):
35         
36         More correctly draw loading text when document
37         is empty.
38
39 2006-03-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
40
41         * shell/ev-view.c: (ev_view_scroll):
42         
43         Fix for the bug #334854, page down and page up switch
44         pages in presentation mode.
45
46 2006-03-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
47
48         * shell/ev-window.c: (ev_window_set_action_sensitive),
49         (ev_window_setup_action_sensitivity), (ev_window_update_actions),
50         (ev_window_set_view_accels_sensitivity),
51         (update_chrome_visibility), (ev_window_cmd_focus_page_selector),
52         (ev_window_cmd_continuous), (ev_window_cmd_dual),
53         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
54         (find_changed_cb), (page_changed_cb), (ev_window_setup_document),
55         (ev_window_cmd_edit_find), (ev_window_set_page_mode),
56         (ev_window_cmd_edit_toolbar_cb), (ev_window_zoom_changed_cb),
57         (ev_window_has_selection_changed_cb), (find_bar_search_changed_cb),
58         (view_actions_focus_in_cb), (ev_window_init):
59         
60         Fix for the bug #333902, now it's possible to search
61         words with slash.
62
63 2006-03-16  Jérémy Ar Floc'h <jérémy.lefloch@gmail.com>
64
65         * configure.ac: Added Breton translation.
66         * po/br.po: Added Breton translation.
67
68 2006-03-14  Carlos Garcia Campos  <carlosgc@gnome.org>
69
70         * shell/ev-window-title (ev_window_title_update):
71
72         Fix memory leak in window title. Fixes bug #333944
73
74 2006-03-14  Carlos Garcia Campos  <carlosgc@gnome.org>
75
76         * shell/ev-metadata-manager.c (parseItem):
77
78         Fix memory leaks. Fixes bug #333945
79
80 2006-03-13  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
81         
82         * NEWS, configure.ac, TODO:
83         
84         Update for release 0.5.2.
85
86 2006-03-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
87
88         * shell/ev-view.c: (view_update_range_and_current_page),
89         (page_changed_cb):
90         
91         Don't jump on scrolling, fix for the bug #333127.
92
93 2006-03-01  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
94
95         * shell/ev-view.c: (ev_view_next_page), (ev_view_previous_page):
96         
97         Scroll by one page in presentation mode. Fix for the bug
98         #332993.
99
100 2006-03-01  Vladimer SIchinava <vlsichinava@gmail.com>
101
102         * configure.ac: Added ka (Georgian) to ALL_LINGUAS line.
103
104 2006-02-28  Clytie Siddall <clytie@riverland.net.au>
105
106         * configure.ac  Added lv in ALL_LINGUAS line.
107
108 2006-02-27  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
109         
110         * NEWS, configure.ac:
111         
112         Update for release 0.5.1
113
114 2006-02-24  Ricardo Markiewicz  <rmarkie@fi.uba.ar>
115
116         * backend/ev-document-misc.c: (ev_document_misc_paint_one_page):
117         * backend/ev-document-misc.h:
118         * shell/ev-view.c: (draw_one_page):
119         
120          Clairfy what page the toolbar page number applies to. Fix
121          for the bug #328102.
122
123 2006-02-24  Stanislav Slusny <slusnys@gmail.com>
124
125         * shell/ev-view-private.h:
126         * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_event),
127         (ev_view_init), (find_changed_cb), (ev_view_find_previous),
128         (ev_view_search_changed):
129         * shell/ev-view.h:
130         * shell/ev-window.c: (find_bar_search_changed_cb):
131         
132         Dont't jump to find result if window was scrolled during search.
133         Fix for the bug #313266.
134
135 2006-02-21  Stanislav Slusny <slusnys@gmail.com>
136
137         * shell/eggfindbar.c: (egg_find_bar_class_init):
138         * shell/eggfindbar.h:
139         * shell/ev-view-accessible.c: (ev_view_accessible_idle_do_action):
140         * shell/ev-view-private.h:
141         * shell/ev-view.c: (add_scroll_binding_keypad), (ev_view_scroll),
142         (ev_view_class_init), (ev_sizing_mode_get_type),
143         (ev_scroll_type_get_type):
144         * shell/ev-view.h:
145         * shell/ev-window.c: (ev_window_cmd_scroll_forward),
146         (ev_window_cmd_scroll_backward), (find_bar_scroll),
147         (ev_window_init):
148         
149         Fix for the bug 319133 - Find entry should allow text scroll.
150
151 2006-02-20  Antoine Dopffer <antoine.dopffer@free.fr>
152
153         * shell/ev-view-private.h:
154         * shell/ev-view.c: (view_update_range_and_current_page),
155         (highlight_find_results), (find_changed_cb), (page_changed_cb),
156         (ev_view_set_document), (update_find_status_message),
157         (jump_to_find_result), (jump_to_find_page), (ev_view_find_next),
158         (ev_view_find_previous):
159         
160         Fix for the bug #319137. Search now takes account for scrolling.
161
162 2006-02-19  Michael Hofmann <mh21@piware.de>
163
164         * configure.ac:
165         * djvu/Makefile.am:
166         * djvu/djvu-document-private.h:
167         * djvu/djvu-document.c: (G_DEFINE_TYPE_WITH_CODE),
168         (djvu_handle_events), (djvu_document_load), (djvu_document_save),
169         (djvu_document_get_page_size), (djvu_document_render_pixbuf),
170         (djvu_document_can_get_text), (djvu_document_get_text),
171         (djvu_document_document_iface_init),
172         (djvu_document_thumbnails_get_thumbnail),
173         (djvu_document_find_begin), (djvu_document_find_get_n_results),
174         (djvu_document_find_get_result),
175         (djvu_document_find_page_has_results),
176         (djvu_document_find_get_progress), (djvu_document_find_cancel),
177         (djvu_document_find_iface_init):
178         * djvu/djvu-text-page.c: (djvu_text_page_selection_process),
179         (djvu_text_page_selection), (djvu_text_page_limits_process),
180         (djvu_text_page_limits), (djvu_text_page_copy),
181         (djvu_text_page_position), (djvu_text_page_union),
182         (djvu_text_page_sexpr_process), (djvu_text_page_sexpr),
183         (djvu_text_page_box), (djvu_text_page_append_text),
184         (djvu_text_page_search), (djvu_text_page_prepare_search),
185         (djvu_text_page_new), (djvu_text_page_free):
186         * djvu/djvu-text-page.h:
187         * djvu/djvu-text.c: (djvu_text_idle_callback), (djvu_text_new),
188         (djvu_text_copy), (djvu_text_free), (djvu_text_get_text),
189         (djvu_text_n_results), (djvu_text_has_results),
190         (djvu_text_get_result), (djvu_text_get_progress):
191         * djvu/djvu-text.h:
192         
193         Text search in djvu. Fix for the bug #303415.
194
195 2006-02-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
196
197         * configure.ac:
198         * shell/ev-window.c: (ev_window_cmd_save_as):
199         
200         Ask filechooser to confirm overwrite. Fix for the bug #328266.
201         Thanks to Gary Coady <gary@lyranthe.org>
202
203 2006-02-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
204
205         * shell/ev-print-job.c: (idle_print_handler):
206         
207         Inverse order printing, bug #320919.
208
209 2006-02-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
210
211         * data/evince-toolbar.xml:
212         * shell/ev-window.c:
213         
214         Allow to add sidebar checkbutton on toolbar. Fix
215         for the bug #144577.
216
217 2006-02-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
218
219         * ps/ps-document.c: (push_pixbuf), (setup_pixmap):
220         
221         Add checks that have sense for empty ps document.
222
223 2006-02-15  Luca Ferretti <elle.uca@libero.it>
224
225         * configure.ac: Include PS in mime types list. 
226
227 2006-02-13  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
228
229         * configure.ac:
230         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
231         * ps/gsdefaults.h:
232         * ps/ps-document.c: (start_interpreter), (ps_document_load):
233         
234         Runtime check for gs interpreter. Fix for the bug #320868.
235         Thanks to Antoine Dopffer antoine.dopffer@free.fr
236
237 2006-02-12  Carlos Garcia Campos  <carlosgc@gnome.org>
238
239         * shell/ev-application.c: 
240
241         Use DBUS_NAME_FLAG_DO_NOT_QUEUE flag in RequestName method when
242         dbus>=0.60, so that the request is not queued. 
243
244 2006-02-10  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
245
246         * configure.ac:
247         * shell/Makefile.am:
248         * shell/ev-sidebar-links.c: (print_section_cb):
249         * shell/ev-utils.c:
250         * shell/ev-utils.h:
251         * shell/ev-window.c: (update_action_sensitivity),
252         (ev_window_close_dialogs), (ev_window_print):
253         * shell/ev-window.h:
254         
255         Make printing support optional. Patch from Eduardo de Barros Lima
256         <eduardo.lima@indt.org.br> for the bug #330546.
257
258 2006-02-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
259
260         * shell/ev-view-private.h:
261         * shell/ev-view.c: (ev_view_expose_event), (ev_view_set_loading),
262         (ev_view_set_document):
263         * shell/ev-view.h:
264         * shell/ev-window.c: (ev_window_load_job_cb),
265         (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_dispose),
266         (ev_window_init):
267
268         Draw Loading message during xfer job. Fix for the bug #329495.
269
270 2006-02-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
271
272         * comics/comics-document.c: (comics_regex_quote),
273         (comics_document_load), (extract_argv):
274         
275         Correcly quote regexp before passing it to unzip.
276
277 2006-02-01  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
278
279         * shell/ev-page-cache.c: (build_height_to_page),
280         (ev_page_cache_new), (ev_page_cache_get_max_label_chars),
281         (ev_page_cache_get_dual_even_left):
282         * shell/ev-page-cache.h:
283         * shell/ev-view.c: (view_update_range_and_current_page),
284         (get_page_y_offset), (get_page_extents):
285         
286         Place even pages to the left if document has less then
287         two pages. Fix for the bug #328856.
288
289 2006-01-31  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
290
291         * thumbnailer/evince-thumbnailer-comics.schemas.in:
292         
293         Correct comics scheme. This make evince create thumbnails
294         for comic books. Fix for the bug 329088.
295
296 2006-01-31  Christopher Aillon  <caillon@redhat.com>
297
298         * data/evince-password.glade: Don't explicitly set
299         invisible_char to the current default value in case
300         the default changes; let GTK+ do its magic.
301
302 2006-01-29  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
303
304         * shell/ev-job-xfer.c: (ev_job_xfer_run): Append
305         real filename to tmp filename since often document
306         type is determined by extension.
307
308 2006-01-24  Ricardo Markiewicz  <rmarkie@fi.uba.ar>
309
310         * shell/ev-view.c: (add_scroll_binding_keypad),
311         (ev_view_binding_activated), (ev_view_class_init):
312         
313         Add keybindings for percision-scrolling of display area. 
314         Fix for the bug #314072.
315
316 2006-01-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
317
318         * data/evince.desktop.in.in:
319         
320         Add GTK to the list of categories. Fix for the bug #328034.
321
322 2006-01-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
323
324         * shell/ev-application.c: (ev_application_shutdown),
325         (ev_application_set_chooser_uri), (ev_application_get_chooser_uri):
326         * shell/ev-application.h:
327         * shell/ev-window.c: (file_open_dialog_response_cb),
328         (ev_window_cmd_file_open):
329         
330         Save last uri in file chooser dialog. Fix for the bug #327950.
331
332 2006-01-20  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
333
334         * NEWS:
335         * README:
336         
337         Final update for release 0.5.0
338         
339         * shell/Makefile.am:
340         
341         Remove disable deprecated until we'll require libgnome-2.13.7
342         and port to GOption argument parsing. See bug 327518.
343
344 2006-01-19  Jani Monoses <jani.monoses@gmail.com>
345
346         * comics/comics-document.c: (comics_document_save):
347         * djvu/djvu-document.c: (djvu_document_save):
348         * dvi/dvi-document.c: (dvi_document_save):
349         * lib/ev-file-helpers.c: (ev_tmp_filename), (ev_xfer_uri_simple):
350         * lib/ev-file-helpers.h:
351         * pixbuf/pixbuf-document.c: (pixbuf_document_save):
352         * tiff/tiff-document.c: (tiff_document_save):
353         
354         Use common save function for backends.
355
356 2006-01-18  Jani Monoses <jani.monoses@gmail.com>
357
358         * backend/ev-document-types.c:
359         
360         Fix crash on saving pixbuf.
361
362 2006-01-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
363
364         * cut-n-paste/recent-files/egg-recent-item.c:
365         (get_uri_shortname_for_display), (egg_recent_item_get_short_name):
366         * cut-n-paste/recent-files/egg-recent-model.c: (parse_info_init),
367         (parse_info_free), (valid_element), (start_element_handler),
368         (end_element_handler), (text_handler), (egg_recent_model_filter),
369         (egg_recent_model_monitor_cb), (egg_recent_model_poll_timeout),
370         (egg_recent_model_monitor), (egg_recent_model_read),
371         (egg_recent_model_open_file), (egg_recent_model_lock_file),
372         (egg_recent_model_unlock_file), (egg_recent_model_finalize),
373         (egg_recent_model_set_property), (egg_recent_model_class_init),
374         (egg_recent_model_init), (egg_recent_model_add_full),
375         (egg_recent_model_delete), (egg_recent_model_get_list),
376         (egg_recent_model_clear), (egg_recent_model_clear_mime_filter),
377         (egg_recent_model_set_filter_mime_types),
378         (egg_recent_model_clear_group_filter),
379         (egg_recent_model_set_filter_groups),
380         (egg_recent_model_clear_scheme_filter),
381         (egg_recent_model_set_filter_uri_schemes),
382         (egg_recent_model_remove_expired):
383         * cut-n-paste/recent-files/egg-recent-util.c:
384         (egg_recent_util_get_icon):
385         * cut-n-paste/recent-files/egg-recent-util.h:
386         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
387         (connect_proxy_cb), (egg_recent_view_uimanager_set_list),
388         (egg_recent_view_uimanager_set_empty_list), (model_changed_cb),
389         (egg_recent_view_uimanager_set_property),
390         (egg_recent_view_uimanager_get_property),
391         (egg_recent_view_uimanager_class_init),
392         (egg_recent_view_uimanager_init),
393         (egg_recent_view_uimanager_set_label_width),
394         (egg_recent_view_uimanager_get_label_width):
395         * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
396         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
397         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
398         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
399         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
400         * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
401         
402         Update from libegg.
403
404 2006-01-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
405
406         * shell/ev-page-cache.c: (build_height_to_page),
407         (ev_page_cache_get_height_to_page):
408         * shell/ev-page-cache.h:
409         * shell/ev-view.c: (view_update_range_and_current_page),
410         (get_page_y_offset), (get_page_extents), (ev_view_next_page),
411         (ev_view_previous_page):
412         
413         Dual mode places even pages to the left. Fix for the bug #309393.
414
415         * shell/ev-view.h:
416         * shell/ev-window.c: (update_action_sensitivity),
417         (setup_view_from_metadata), (view_menu_popup_cb):
418         
419         Don't restore presentation in empty windows, more intelligent
420         next page behaviour in dual mode.
421
422         * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
423         (ev_pixbuf_cache_clear_job_sizes):
424         
425         Cleanup job callback on removal. Fix for the bug #325886.
426
427 2006-01-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
428
429         * ps/ps.c: (psscan):
430         
431         Commit workaround Mozilla problem. Fix for the bug #325919
432         
433         * shell/ev-metadata-manager.c: (parse_value), (parseItem),
434         (save_item):
435         
436         Fix for year 2038 problem.
437
438 2006-01-06  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
439
440         * shell/ev-window.c: (setup_document_from_metadata),
441         (ev_window_cmd_view_reload):
442
443         Clamp page recieved from metadata in valid values. Fix
444         for the bug #325986.
445
446 2006-01-06  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
447
448         * MAINTAINERS: 
449         Add MAINTAINERS as requested on desktop-devel-list.
450
451 2006-01-06  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
452
453         * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list),
454         (mime_type_supported_by_gdk_pixbuf),
455         (ev_document_factory_get_mime_types),
456         (ev_document_factory_get_all_mime_types):
457         
458         Don't add pixbuf mime types if pixbuf backend is disabled.
459         
460         * shell/ev-application.c: (ev_application_get_uri_window):
461         
462         Fix for the bug 325815 - unhandled MIME type message doesn't 
463         appear a second time. 
464         
465         * shell/ev-document-types.c: (ev_document_types_add_filters):
466         * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document),
467         (password_dialog_response), (ev_window_popup_password_dialog),
468         (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
469         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
470         (ev_window_run_presentation), (ev_window_stop_presentation),
471         (save_sizing_mode), (ev_window_zoom_changed_cb),
472         (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
473         (ev_window_dual_mode_changed_cb),
474         (ev_window_sidebar_current_page_changed_cb),
475         (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
476         (window_state_event_cb), (window_configure_event_cb):
477         
478         Cleanup additional uris holded by EvWindow.
479
480 2006-01-06  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
481
482         * shell/ev-view.c: (ev_view_scroll), (ev_view_previous_page),
483         (ev_view_can_previous_page), (ev_view_can_next_page):
484         * shell/ev-view.h:
485         * shell/ev-window.c: (update_action_sensitivity):
486         
487         Two page scrolling with Space and PageUp in dual mode. Second fix 
488         for the bug #316608.
489
490 2006-01-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
491
492         * shell/ev-view.c: (scroll_to_current_page):
493         
494         Correctly clamp adjustment value. Fix for the bug
495         #325808.
496
497 2006-01-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
498
499         * shell/ev-sidebar-links.c: (print_section_cb):
500         * shell/ev-window.c: (ev_window_get_uri),
501         (ev_window_close_dialogs), (ev_window_open_uri), (ev_window_print),
502         (ev_window_print_dialog_response_cb), (ev_window_print_range),
503         (ev_window_dispose):
504         
505         Make print dialog non-modal. Fix for the bug #325622.
506
507 2006-01-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
508
509         * shell/ev-metadata-manager.c:
510         * shell/ev-utils.c: (using_pdf_printer),
511         (using_postscript_printer), (load_print_config_from_file),
512         (save_print_config_to_file):
513         * shell/ev-utils.h:
514         * shell/ev-window.c: (update_sizing_buttons), (page_changed_cb),
515         (update_sidebar_visibility), (setup_sidebar_from_metadata),
516         (setup_view_from_metadata), (ev_window_setup_document),
517         (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb),
518         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
519         (ev_window_run_presentation), (ev_window_stop_presentation),
520         (save_sizing_mode), (ev_window_zoom_changed_cb),
521         (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb),
522         (ev_window_dual_mode_changed_cb),
523         (ev_window_sidebar_current_page_changed_cb),
524         (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose),
525         (window_state_event_cb), (window_configure_event_cb),
526         (ev_window_init):
527         
528         Setting saving behaviour fixes.
529
530 2005-12-30  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
531
532         * configure.ac:
533         
534         Make antialiasing gs options better and allow
535         to change them during configure. Fix for the 
536         bug #319049.
537
538 2005-12-29  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
539
540         * shell/ev-window.c: (setup_view_from_metadata):
541         
542         Remember if last window was maximized. Fix for the
543         bug #323797.
544
545 2005-12-28  Abel Cheung  <maddog@linuxhall.org>
546
547         * configure.ac: Added "zh_HK" to ALL_LINGUAS.
548
549 2005-12-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
550
551         * backend/ev-link.c: (ev_link_get_page), (ev_link_init):
552         * shell/ev-page-action.c: (build_new_tree_cb):
553         * shell/ev-sidebar-links.c: (links_page_num_func),
554         (update_page_callback_foreach), (update_page_callback):
555         * shell/ev-view.c: (scroll_to_current_page):
556         
557         Fix for the bug #325067 with more intelligent selection
558         of current link in sidebar. Make sidebar handle links
559         of FITR-like type more correctly.
560
561         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
562         (dvi_pixbuf_put_pixel):
563         
564         Fix memory consumtion with disabled alpha channel.
565
566 2005-12-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
567
568         * data/evince-ui.xml:
569         * shell/ev-window.c: (view_menu_popup_cb),
570         (ev_popup_cmd_open_link), (ev_window_init):
571         
572         Update context menu for internal links. Fix for the bug
573         #325066.
574
575 2005-12-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
576
577         * shell/ev-view.c: (ev_view_popup_menu), (ev_view_class_init):
578         
579         Bind context menu to keyboard also. Fix for the bug
580         #325065.
581
582 2005-12-27  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
583
584         * shell/ev-view.c: (selection_scroll_timeout_cb):
585         
586         Horizontal scroll on selection also.
587
588 2005-12-26  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
589
590         * shell/ev-metadata-manager.c: (parse_value):
591         * shell/ev-view.c: (goto_xyz_link):
592         
593         Correct zoom setup and metadata save broken in 
594         some locales.
595
596 2005-12-26  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
597
598         * shell/ev-view-private.h:
599         * shell/ev-view.c: (scroll_to_current_page),
600         (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link),
601         (goto_fith_link), (goto_fit_link), (goto_xyz_link),
602         (page_changed_cb), (ev_view_set_continuous),
603         (ev_view_set_dual_page), (ev_view_set_presentation):
604         
605         Delay scroll until allocation to correctly position page. Fix
606         for the bug #317334.
607
608 2005-12-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
609
610         * NEWS:
611         * configure.ac:
612         
613         Update NEWS and require poppler 0.5.0.
614
615 2005-12-25  Carlos Garcia Campos  <carlosgc@gnome.org>
616         
617         * data/evince-ui.xml:
618         * shell/ev-view-private.h:
619         * shell/ev-view.c: (ev_view_get_link_at_location),
620         (handle_link_over_xy), (ev_view_button_press_event),
621         (ev_view_button_release_event), (ev_view_class_init):
622         * shell/ev-window.c: (view_menu_popup_cb), (ev_window_dispose),
623         (ev_popup_cmd_open_link), (ev_popup_cmd_copy_link_address),
624         (ev_window_init):
625         
626         Implement right-click context menu.
627
628 2005-12-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
629
630         * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
631         * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
632         (mdvi_pixbuf_device_render):
633         * pdf/ev-poppler.cc:
634
635         Don't generate thumbnails with alpha. See bug #324077.
636         Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
637
638 2005-12-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
639
640         * shell/ev-window.c: (setup_chrome_from_metadata):
641         
642         Fix typo that was hiding toolbar.
643
644 2005-12-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
645
646         * shell/ev-view-private.h:
647         * shell/ev-view.c: (ev_view_realize), (selection_update_idle_cb),
648         (selection_scroll_timeout_cb), (ev_view_motion_notify_event),
649         (ev_view_button_release_event), (ev_view_destroy):
650         
651         Small cleanup and autoscrolling during selection. Thanks to 
652         Ricardo Markiewicz  <rmarkie@fi.uba.ar>.
653
654 2005-12-22  Jani Monoses <jani.monoses@gmail.com>
655
656         * configure.ac:
657         
658         Correctly check for comics option.
659
660 2005-12-21  Eduardo Lima <eduardo.lima@indt.org.br>
661         * Makefile.am:
662         * configure.ac:
663         * backend/Makefile.am:
664         * backend/ev-document-factory.c:
665         * shell/ev-document-types.c:
666
667         Included option in configure to make ps backend 
668         compilation optional with --disable-ps.
669
670 2005-12-20  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
671
672         * backend/ev-document-factory.c:
673         * comics/Makefile.am:
674         * comics/comics-document.c: (comics_document_load):
675         * comics/ev-cbr-mime.xml:
676         * configure.ac:
677         
678         Comics mime types are added to shared-mime-info CVS. Now
679         we don't need to install our own mime types.
680
681 2005-12-20  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
682
683         * shell/ev-window.c:
684         
685         Add shortcut for "save a copy" menu entry. Fix for
686         the bug #324582.
687
688 2005-12-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
689
690         * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
691         (job_finished_cb), (new_selection_pixbuf_needed),
692         (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
693         (clear_job_selection), (ev_pixbuf_cache_set_selection_list):
694         
695         Rework selection job info logic and fix critical warning.
696
697 2005-12-17  Abel Cheung  <maddog@linuxhall.org>
698
699         * configure.ac: Added "cy" "fa" "mk" "vi" to ALL_LINGUAS.
700
701 2005-11-27  Jaap A. Haitsma <jaap@haitsma.org>
702
703         * data/evince-ui.xml:
704         * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
705         
706         Enter as shortcut key for next page. Fix for the bug
707         #321394.
708
709 2005-11-18  Ales Nyakhaychyk  <nab@mail.by>
710
711         * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
712
713 2005-11-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
714
715         * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
716         (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
717         (new_selection_pixbuf_needed),
718         (ev_pixbuf_cache_get_selection_pixbuf), (update_job_selection),
719         (clear_job_selection):
720         
721         Too early for 0.5. Pixbuf cache code cleaned a bit.
722
723 2005-11-14  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
724
725         * NEWS:
726         * configure.ac:
727         
728         Release 0.5.0 preparation
729
730 2005-11-14  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
731
732         * comics/Makefile.am:
733         * configure.ac:
734         * shell/ev-document-types.c: (ev_document_types_add_filters):
735         
736         More advanced handling of custom mime type installation.
737
738 2005-11-14  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
739
740         * data/evince.schemas.in:
741         * shell/ev-metadata-manager.c: (value_free),
742         (ev_metadata_manager_get_last), (ev_metadata_manager_set_last),
743         (ev_metadata_manager_get), (ev_metadata_manager_set):
744         * shell/ev-metadata-manager.h:
745         * shell/ev-window.c: (update_chrome_flag),
746         (ev_window_cmd_focus_page_selector), (update_sidebar_visibility),
747         (setup_document_from_metadata), (setup_chrome_from_metadata),
748         (setup_sidebar_from_metadata), (setup_view_from_metadata),
749         (ev_window_cmd_edit_find), (ev_window_cmd_escape),
750         (ev_window_view_toolbar_cb),
751         (ev_window_sidebar_visibility_changed_cb), (find_bar_close_cb),
752         (view_actions_focus_in_cb), (ev_window_init), (ev_window_new):
753         
754         Save last document settings and reuse them for new documents.
755
756 2005-11-14  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
757
758         * Makefile.am:
759         * backend/Makefile.am:
760         * backend/ev-document-factory.c:
761         * backend/ev-document-factory.h:
762         * comics/Makefile.am:
763         * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE),
764         (comics_document_load), (comics_document_save),
765         (comics_document_get_n_pages), (comics_document_get_page_size),
766         (get_page_size_area_prepared_cb), (comics_document_render_pixbuf)       (render_pixbuf_size_prepared_cb), (comics_document_finalize),
767         (comics_document_class_init), (comics_document_can_get_text),
768         (comics_document_get_info), (comics_document_document_iface_init),
769         (comics_document_init), (get_supported_image_extensions),
770         (comics_document_thumbnails_get_geometry),
771         (comics_document_thumbnails_get_thumbnail),
772         (comics_document_thumbnails_get_dimensions),
773         (comics_document_document_thumbnails_iface_init), (extract_argv):
774         * comics/comics-document.h:
775         * comics/ev-cbr-mime.xml:
776         * configure.ac:
777         * po/POTFILES.in:
778         * shell/ev-application.c: (ev_application_register_service):
779         * shell/ev-document-types.c: (ev_document_types_add_filters):
780         * thumbnailer/Makefile.am:
781         * thumbnailer/evince-thumbnailer-comics.schemas.in:
782         
783         New CBR/CBZ backend for comic books.
784
785 2005-11-10  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
786
787         * shell/main.c: (load_files_remote):
788
789         Thanks to Robert McQueen <robot101@debian.org>. Dbus
790         warning on startup of second instance is fixed. It
791         is bug #320353.
792
793 2005-10-30  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
794
795         * shell/ev-window.c: (ev_window_finalize):
796         
797         Fix double free that cause crash.
798
799 2005-10-29  Bastien Nocera <hadess@hadess.net>
800
801         * tiff/tiff-document.c: (tiff_document_load):
802         
803         Fix memory leak.
804
805 2005-10-29  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
806
807         * po/POTFILES.in:
808         * shell/Makefile.am:
809         * shell/ev-view-accessible.c: (ev_view_accessible_get_priv),
810         (ev_view_accessible_free_priv), (ev_view_accessible_class_init),
811         (ev_view_accessible_get_text),
812         (ev_view_accessible_get_character_at_offset),
813         (ev_view_accessible_get_text_before_offset),
814         (ev_view_accessible_get_text_at_offset),
815         (ev_view_accessible_get_text_after_offset),
816         (ev_view_accessible_get_character_count),
817         (ev_view_accessible_get_caret_offset),
818         (ev_view_accessible_set_caret_offset),
819         (ev_view_accessible_get_run_attributes),
820         (ev_view_accessible_get_default_attributes),
821         (ev_view_accessible_get_character_extents),
822         (ev_view_accessible_get_offset_at_point),
823         (ev_view_accessible_get_n_selections),
824         (ev_view_accessible_get_selection),
825         (ev_view_accessible_add_selection),
826         (ev_view_accessible_remove_selection),
827         (ev_view_accessible_set_selection),
828         (ev_view_accessible_text_iface_init),
829         (ev_view_accessible_idle_do_action),
830         (ev_view_accessible_action_do_action),
831         (ev_view_accessible_action_get_n_actions),
832         (ev_view_accessible_action_get_description),
833         (ev_view_accessible_action_get_name),
834         (ev_view_accessible_action_set_description),
835         (ev_view_accessible_action_iface_init),
836         (ev_view_accessible_get_type), (ev_view_accessible_new),
837         (ev_view_accessible_factory_get_accessible_type),
838         (ev_view_accessible_factory_create_accessible),
839         (ev_view_accessible_factory_class_init),
840         (ev_view_accessible_factory_get_type):
841         * shell/ev-view-accessible.h:
842         * shell/ev-view-private.h:
843         * shell/ev-view.c: (ev_view_get_accessible), (ev_view_class_init):
844         * shell/ev-view.h:
845         
846         Initial accessibility support.
847
848 2005-10-27  Erdal Ronahi  <erdal.ronahi@gmail.com>
849
850         * configure.ac: Added ku (Kurdish) to ALL_LINGUAS
851
852 2005-10-26  Hubert Figuiere <hfiguiere@teaser.fr>
853
854         * shell/ev-print-job.c: (idle_print_handler):
855         
856         Fix for bug Bug 318916: Printing multiple pages.
857
858 2005-10-20  Runa Bhattacharjee  <runa@bengalinux.org>
859
860         * configure.ac: Added "bn" (Bengali) to ALL_LINGUAS.
861
862 2005-10-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
863
864         * pdf/ev-poppler.cc:
865         
866         Thumnail dimensions unified with other backends.
867         
868         * shell/ev-window-title.c: (ev_window_title_update):
869         
870         Fix warning.
871
872 2005-10-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
873
874         * data/ev-stock-zoom-fit-width.png:
875         
876         Remove unused file.
877
878 2005-10-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
879
880         * configure.ac:
881         * djvu/djvu-document.c: (djvu_document_load), (djvu_document_save),
882         (djvu_document_finalize):
883         * dvi/dvi-document.c: (dvi_document_load), (dvi_document_save),
884         (dvi_document_finalize):
885         * pixbuf/pixbuf-document.c: (pixbuf_document_load),
886         (pixbuf_document_save), (pixbuf_document_finalize):
887         * tiff/tiff-document.c: (tiff_document_load), (tiff_document_save),
888         (tiff_document_finalize):
889         
890         Save a copy implemented for various backends.
891
892 2005-10-17  Daniel Gryniewicz <dang@gentoo.org>
893
894         * configure.ac:
895         
896         Don't link with ltiff if tiff is disabled.
897
898 2005-10-14  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
899
900         * pdf/GDKSplashOutputDev.cc:
901         * pdf/GDKSplashOutputDev.h:
902         * pdf/Thumb.cc:
903         * pdf/Thumb.h:
904         * pdf/pdf-document.cc:
905         * pdf/pdf-document.h:
906         * pdf/test-gdk-output-dev.cc:
907         
908         Remove old unused files.
909
910 2005-10-12  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
911
912         * shell/ev-window.c: (ev_window_setup_document):
913         
914         Fixed warnings on reload and probably crash reason.
915
916 2005-10-12  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
917
918         * properties/ev-properties-view.c:
919         (ev_properties_view_format_date):
920         
921         Check if date is invalid. Fix for bug 318134.
922
923 2005-10-02  Wouter Bolsterlee <uws+gnome@xs4all.nl>
924
925         * shell/ev-window-title.c:
926         
927         Add .indd files (Adobe Indesign) to the list of "bad
928         extensions".
929
930 2005-10-02  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
931
932         * data/evince-ui.xml:
933         * shell/ev-window.c: (ev_window_set_view_accels_sensitivity):
934         
935         Add <ctrl>KP_Add and <ctrl>KP_Substract bindings.
936
937 2005-09-27  Christian Persch  <chpe@cvs.gnome.org>
938
939         * shell/ev-window.c: (launch_link), (launch_external_uri),
940         (view_external_link_cb):
941
942         URL-escape link before passing it to gnome_vfs_url_show.
943
944 2005-09-27  Carlos Garcia Campos  <carlosgc@gnome.org>
945
946         * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when
947         there isn't text selected.
948
949 2005-09-27  Marco Pesenti Gritti  <mpg@redhat.com>
950
951         * shell/ev-view.c: (handle_link_over_xy):
952
953         Check tooltip is valid utf8 before showing it
954
955 2005-09-27  Carlos Garcia Campos  <carlosgc@gnome.org>
956
957         * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
958
959 2005-09-27  Christian Persch  <chpe@cvs.gnome.org>
960
961         * shell/ev-window-title.c: (ev_window_title_update):
962
963         Guard against using g_strstrip on NULL. Fixes bug #317291.
964
965 2005-09-26  Marco Pesenti Gritti  <mpg@redhat.com>
966
967         * pdf/ev-poppler.cc:
968
969         Show title even for unknown links
970
971 2005-09-26  Marco Pesenti Gritti  <mpg@redhat.com>
972
973         * shell/ev-window-title.c: (ev_window_title_update):
974
975         Strip the title string
976
977 2005-09-26  Marco Pesenti Gritti  <mpg@redhat.com>
978
979         * shell/ev-window-title.c:
980
981         Add .rtf to the bad extensions list
982
983 2005-09-26  Marco Pesenti Gritti  <mpg@redhat.com>
984
985         * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link),
986         (goto_fitv_link), (goto_fith_link), (goto_xyz_link):
987
988         Ignore link coordinates if they are outside page bounds
989
990 2005-09-26  Marco Pesenti Gritti  <mpg@redhat.com>
991
992         * backend/ev-link.c: (ev_link_type_get_type),
993         (ev_link_get_filename), (ev_link_get_params),
994         (ev_link_get_property), (ev_link_set_property),
995         (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch):
996         * backend/ev-link.h:
997         * pdf/ev-poppler.cc:
998         * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init):
999         * shell/ev-window.c: (launch_link), (view_external_link_cb),
1000         (ev_window_init):
1001
1002         Implement launch links. Delegate external link opening to
1003         the window.
1004
1005 2005-09-24  Marco Pesenti Gritti  <mpg@redhat.com>
1006
1007         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom),
1008         (ev_link_get_right), (ev_link_get_property),
1009         (ev_link_set_property), (ev_link_class_init),
1010         (ev_link_new_page_fitv), (ev_link_new_page_fitr):
1011         * backend/ev-link.h:
1012         * pdf/ev-poppler.cc:
1013         * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link):
1014
1015         Implement fitr links
1016
1017 2005-09-24  Marco Pesenti Gritti  <mpg@redhat.com>
1018
1019         * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height),
1020         (goto_fitv_link), (goto_fith_link), (goto_fit_link),
1021         (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
1022         (ev_view_size_request_continuous),
1023         (ev_view_size_request_dual_page),
1024         (ev_view_size_request_single_page), (ev_view_size_allocate),
1025         (ev_view_zoom_for_size_continuous_and_dual_page),
1026         (ev_view_zoom_for_size_continuous),
1027         (ev_view_zoom_for_size_dual_page),
1028         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1029         (ev_sizing_mode_get_type):
1030         * shell/ev-view.h:
1031         * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
1032
1033         Do not use modes for link, we need to calculate size ad hoc.
1034         Still not perfect because of the usual scrollbar issues grrr.
1035
1036 2005-09-24  Marco Pesenti Gritti  <mpg@redhat.com>
1037
1038         * backend/ev-link.c: (ev_link_type_get_type),
1039         (ev_link_new_page_fith), (ev_link_new_page_fitv):
1040         * backend/ev-link.h:
1041         * pdf/ev-poppler.cc:
1042         * shell/ev-view.c: (goto_fitv_link), (goto_fith_link),
1043         (ev_view_goto_link), (ev_view_size_request_continuous_dual_page),
1044         (ev_view_size_request_continuous),
1045         (ev_view_size_request_dual_page),
1046         (ev_view_size_request_single_page), (ev_view_size_allocate),
1047         (zoom_for_size_fit_height),
1048         (ev_view_zoom_for_size_continuous_and_dual_page),
1049         (ev_view_zoom_for_size_continuous),
1050         (ev_view_zoom_for_size_dual_page),
1051         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
1052         (ev_sizing_mode_get_type):
1053         * shell/ev-view.h:
1054         * shell/ev-window.c: (ev_window_sizing_mode_changed_cb):
1055
1056         Implement FIT_HEIGHT mode (only for links).
1057         Implement FITH links
1058
1059 2005-09-24  Marco Pesenti Gritti  <mpg@redhat.com>
1060
1061         * shell/ev-window-title.c: (get_filename_from_uri),
1062         (ev_window_title_sanitize_extension), (ev_window_title_update),
1063         (ev_window_title_set_document), (ev_window_title_set_uri),
1064         (ev_window_title_free):
1065         * shell/ev-window-title.h:
1066         * shell/ev-window.c: (ev_window_setup_document),
1067         (ev_window_popup_password_dialog):
1068
1069         Refactor window title building while fixing it for
1070         password documents.
1071
1072 2005-09-24  Marco Pesenti Gritti  <mpg@redhat.com>
1073
1074         * pdf/ev-poppler.cc:
1075
1076         Escape link title before setting it in the model
1077
1078 2005-09-23  Marco Pesenti Gritti  <mpg@redhat.com>
1079
1080         * shell/ev-application.c: (removed_from_session), (save_session),
1081         (init_session), (ev_application_get_empty_window),
1082         (ev_application_init), (ev_application_get_windows):
1083         * shell/ev-application.h:
1084         * shell/ev-window.c: (ev_window_finalize):
1085
1086         Add a function to retrieve window list and share it where
1087         necessary.
1088         Implement session handling, works pretty well thanks to the
1089         metadata system.
1090
1091 2005-09-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1092
1093         * shell/ev-password.c: (ev_password_item_created_callback),
1094         (ev_password_dialog_save_password):
1095         
1096         Fix for bug 316972. Use async gnome-keyring API.
1097
1098 2005-09-22  Christian Persch  <chpe@cvs.gnome.org>
1099
1100         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init):
1101         Remove unused unrealize handler. Add scroll handling to
1102         ev_view_scroll_event for presentation mode (bug #316708),
1103         and fix the event state checks there.
1104
1105 2005-09-22  Marco Pesenti Gritti  <mpg@redhat.com>
1106
1107         * shell/ev-page-action.c: (page_changed_cb):
1108
1109         "marco, maybe we should be crazy and jump right to 6! :)"
1110
1111         Bryan Clark, Sep 2005
1112
1113 2005-09-22  Marco Pesenti Gritti  <mpg@redhat.com>
1114
1115         * ps/ps-document.c: (save_document), (ps_document_save),
1116         (ps_document_ps_export_begin), (ps_document_ps_export_do_page),
1117         (ps_document_ps_export_end):
1118
1119         Fix unstructured documents save and print
1120
1121 2005-09-22  Marco Pesenti Gritti  <mpg@redhat.com>
1122
1123         * shell/ev-application.c: (ev_application_open_uri):
1124
1125         Fix window size persistance
1126
1127 2005-09-22  Marco Pesenti Gritti  <mpg@redhat.com>
1128
1129         * shell/ev-view.c: (ev_view_button_release_event):
1130
1131         Based on a patch from carlosgc@gnome.org. Mouse buttons
1132         switch pages in presentation mode.
1133
1134 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
1135
1136         * shell/ev-page-cache.c: (ev_page_cache_get_size):
1137
1138         Dont cast to int before scaling
1139
1140 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
1141
1142         * backend/ev-link.c: (ev_link_type_get_type),
1143         (ev_link_new_page_xyz), (ev_link_new_page_fit),
1144         (ev_link_new_page_fith):
1145         * backend/ev-link.h:
1146         * pdf/ev-poppler.cc:
1147         * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
1148
1149         Implement FIT and FITH links
1150
1151 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
1152
1153         * pdf/ev-poppler.cc:
1154
1155         Return 0 results when search is not in progress.
1156
1157         * shell/ev-window.c: (ev_window_cmd_go_previous_page),
1158         (ev_window_cmd_go_next_page), (find_bar_search_changed_cb):
1159
1160         Update menu sensitivity when cancelling search
1161
1162 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
1163
1164         * shell/ev-view.c: (ev_view_can_find_next):
1165
1166         Take all pages in consideration, not just current one
1167
1168 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
1169
1170         * shell/ev-page-cache.c:
1171         * shell/ev-page-cache.h:
1172         * shell/ev-view.c: (ev_view_binding_activated),
1173         (ev_view_next_page), (ev_view_previous_page),
1174         (ev_sizing_mode_get_type):
1175         * shell/ev-view.h:
1176         * shell/ev-window.c: (ev_window_cmd_go_previous_page),
1177         (ev_window_cmd_go_next_page):
1178
1179         Move page next/previous functions from page chace to
1180         view and change it to move by 2 page steps in dual mode.
1181
1182 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
1183
1184         * shell/ev-window.c: (update_sidebar_visibility),
1185         (setup_sidebar_from_metadata), (ev_window_setup_document),
1186         (setup_view_from_metadata):
1187
1188         Show the index by default when there is one     
1189
1190 2005-09-19  Marco Pesenti Gritti  <mpg@redhat.com>
1191
1192         * shell/ev-window-title.c: (ev_window_title_set_document):
1193
1194         Missing null check
1195
1196 2005-09-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1197
1198         * shell/ev-view.c: (view_update_range_and_current_page):
1199         
1200         Allow display of last odd page in dual view. Fix for 316347.
1201
1202 2005-09-17  Wouter Bolsterlee  <uws+gnome@xs4all.nl>
1203
1204         * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
1205         
1206         Make close button default. Fix for 316383.
1207
1208 2005-09-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1209
1210         * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
1211         
1212         Mark close button as default. Fix for 316381.
1213
1214 2005-09-16  Marco Pesenti Gritti  <mpg@redhat.com>
1215
1216         * backend/ev-link.c: (ev_link_class_init):
1217
1218         Allow negative doubles in left/top properties
1219
1220 2005-09-16  Marco Pesenti Gritti  <mpg@redhat.com>
1221
1222         * shell/ev-window.c:
1223
1224         Remove a bunch of strings that was used only
1225         by the statusbar.
1226
1227 2005-09-16  Marco Pesenti Gritti  <mpg@redhat.com>
1228
1229         * shell/ev-window-title.c: (get_filename_from_uri),
1230         (ev_window_title_set_document):
1231
1232         When title has a confusing extension, show also
1233         the document filename inside ()
1234
1235 2005-09-16  Marco Pesenti Gritti  <mpg@redhat.com>
1236
1237         * shell/Makefile.am:
1238         * shell/ev-window-title.c: (ev_window_title_new),
1239         (ev_window_title_update), (ev_window_title_set_type),
1240         (ev_window_title_set_document), (ev_window_title_free):
1241         * shell/ev-window-title.h:
1242         * shell/ev-window.c: (ev_window_setup_document),
1243         (password_dialog_response), (ev_window_popup_password_dialog),
1244         (ev_window_dispose), (ev_window_init):
1245
1246         Factor out and cleanup window title code
1247
1248 2005-09-16  Marco Pesenti Gritti  <mpg@redhat.com>
1249
1250         * shell/ev-window.c: (unable_to_load_dialog_response_cb),
1251         (unable_to_load):
1252
1253         Make dialog transient so it doesnt block other windows
1254
1255 2005-09-13  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1256
1257         * pdf/ev-poppler.cc:
1258         
1259         Fix pdf thumbnails rendering.
1260
1261 2005-09-13  Wouter Bolsterlee  <uws+gnome@xs4all.nl>
1262
1263         * shell/ev-window.c: (fullscreen_set_timeout):
1264         
1265         Increase timeout to hide full screen popup. Bug 
1266         316123. 
1267
1268 2005-09-13  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1269
1270         * data/evince.schemas.in:
1271         * shell/ev-window.c: (update_action_sensitivity):
1272
1273         Allow the user to override document restrictions. Fix for bug
1274         305818.
1275
1276 2005-09-13  Christian Persch  <chpe@cvs.gnome.org>
1277
1278         * shell/ev-window.c: (ev_window_update_fullscreen_popup),
1279         (ev_window_create_fullscreen_popup), (ev_window_screen_changed),
1280         (ev_window_class_init): Fix multihead behaviour of fullscreen
1281         toolbar popup. Fixes bug #315451.
1282
1283 2005-09-13  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1284
1285         * configure.ac:
1286         * data/evince-password.glade:
1287         * shell/ev-password.c: (ev_password_dialog_set_property),
1288         (ev_password_dialog_finalize), (ev_password_dialog_class_init),
1289         (ev_password_dialog_init), (ev_password_set_bad_password_label),
1290         (ev_password_dialog_entry_changed_cb),
1291         (ev_password_dialog_entry_activated_cb),
1292         (ev_password_dialog_save_password), (ev_password_keyring_found_cb),
1293         (ev_password_search_in_keyring), (ev_password_dialog_get_password),
1294         (ev_password_dialog_set_bad_pass):
1295         * shell/ev-password.h:
1296         * shell/ev-window.c: (password_dialog_response),
1297         (ev_window_popup_password_dialog):
1298         
1299         Support for gnome-keyring for encrypted PDF's.
1300
1301 2005-09-11  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1302
1303         * shell/ev-view.c: (handle_link_over_xy), (ev_view_realize),
1304         (ev_view_motion_notify_event), (ev_view_leave_notify_event),
1305         (ev_view_enter_notify_event), (ev_view_class_init):
1306         
1307         More precise handling of enter_notify/leave_notify events
1308         in EvView. Fix for bug 315470.
1309
1310 2005-09-08  Christopher Aillon  <caillon@redhat.com>
1311
1312         * shell/ev-window.c: (fullscreen_timeout_cb),
1313         (fullscreen_set_timeout), (fullscreen_clear_timeout),
1314         (ev_window_dispose):
1315
1316         leak fix: unref fullscreen_timeout_source before clearing it
1317
1318 2005-09-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1319
1320         * configure.ac, dvi/mdvi/Makefile.am: 
1321         
1322         Use lt1 instead lt1lib. Thanks to yselkowitz@users.sourceforge.net
1323
1324 2005-09-08  Marco Pesenti Gritti  <mpg@redhat.com>
1325
1326         * backend/ev-link.c: (ev_link_new_page_xyz):
1327         * pdf/ev-poppler.cc:
1328         * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link):
1329
1330         Fix some bugs with xyz links, respect zoom
1331
1332 2005-09-08  Marco Pesenti Gritti  <mpg@redhat.com>
1333
1334         * shell/ev-window.c: (page_changed_cb),
1335         (setup_document_from_metadata), (update_sidebar_visibility),
1336         (setup_view_from_metadata), (ev_window_run_fullscreen),
1337         (ev_window_stop_fullscreen), (ev_window_run_presentation),
1338         (ev_window_stop_presentation), (ev_window_continuous_changed_cb),
1339         (ev_window_dual_mode_changed_cb),
1340         (ev_window_sidebar_current_page_changed_cb):
1341
1342         null check uri before setting and getting metadata
1343
1344 2005-09-08  Marco Pesenti Gritti  <mpg@redhat.com>
1345
1346         * dvi/Makefile.am:
1347         * properties/Makefile.am:
1348         * shell/Makefile.am:
1349         * thumbnailer/Makefile.am:
1350
1351         Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
1352
1353 2005-09-08  Marco Pesenti Gritti  <mpg@redhat.com>
1354
1355         * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init),
1356         (selection_changed_callback):
1357         * shell/ev-sidebar-links.h:
1358
1359         Add a signal for link activation.
1360
1361         * shell/ev-view.c: (ev_view_goto_link),
1362         (ev_view_button_release_event):
1363         * shell/ev-view.h:
1364         * shell/ev-window.c: (sidebar_links_link_activated_cb),
1365         (ev_window_init):
1366
1367         Implement the signal so that we can handle all link types.
1368
1369         * shell/ev-page-cache.c:
1370
1371         Remove unused set_link function
1372
1373 2005-09-08  Marco Pesenti Gritti  <mpg@redhat.com>
1374
1375         * lib/ev-tooltip.c: (ev_tooltip_set_position):
1376
1377         Add some space from the cursor, hardcoded but I couldnt
1378         find a better way.
1379
1380 2005-09-07  Marco Pesenti Gritti  <mpg@redhat.com>
1381
1382         * lib/ev-tooltip.c:
1383
1384         Use mozilla style vs gtk style, way better for links.
1385
1386         * shell/ev-view.c: (ev_view_motion_notify_event),
1387         (ev_view_destroy), (ev_view_init):
1388
1389         Deactive tooltip when the link hovered is changed.
1390
1391 2005-09-07  Marco Pesenti Gritti  <mpg@redhat.com>
1392
1393         * backend/ev-document.h:
1394         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top),
1395         (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property),
1396         (ev_link_set_property), (ev_window_dispose), (ev_link_class_init),
1397         (ev_link_new_page), (ev_link_new_page_xyz):
1398         * backend/ev-link.h:
1399         * pdf/ev-poppler.cc:
1400         * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link),
1401         (go_to_link), (tip_from_link):
1402
1403         Implement xyz links, still not functional. Links are a total
1404         mess, will need to refactor and bugfix a lot :(
1405
1406 2005-09-05  Alessio Frusciante  <algol@firenze.linux.it>
1407
1408         * configure.ac: Added "it" (Italian) to ALL_LINGUAS.
1409
1410 2005-09-05  Marco Pesenti Gritti <mpg@redhat.com>
1411
1412         * data/evince-ui.xml:
1413         * data/evince.schemas.in:
1414         * shell/Makefile.am:
1415         * shell/ev-window.c: (update_chrome_visibility),
1416         (password_dialog_response), (ev_window_load_job_cb),
1417         (ev_window_xfer_job_cb), (ev_window_open_uri),
1418         (ev_window_class_init), (set_chrome_actions), (load_chrome),
1419         (ev_window_init):
1420
1421         Remove the statusbar. This regress loading feedback, need to
1422         check with Bryan what we want to do there...
1423
1424 2005-09-05  Marco Pesenti Gritti  <mpg@redhat.com>
1425
1426         * lib/ev-tooltip.c: (ev_tooltip_init):
1427
1428         Fix tooltip border and size handling
1429
1430 2005-09-05  Marco Pesenti Gritti  <mpg@redhat.com>
1431
1432         * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init),
1433         (ev_tooltip_set_position), (ev_tooltip_recently_shown),
1434         (ev_tooltip_timeout), (ev_tooltip_activate),
1435         (ev_tooltip_deactivate):
1436         * lib/ev-tooltip.h:
1437         * shell/ev-view.c: (ev_view_motion_notify_event):
1438
1439         Delay popup showing. Mirror gtk logic/times.
1440
1441 2005-09-03  Marco Pesenti Gritti  <mpg@redhat.com>
1442
1443         * lib/Makefile.am:
1444         * lib/ev-tooltip.c: (ev_tooltip_expose_event),
1445         (ev_tooltip_class_init), (ev_tooltip_init), (ev_tooltip_new),
1446         (ev_tooltip_set_text), (ev_tooltip_set_position):
1447         * lib/ev-tooltip.h:
1448
1449         Simple widget to show tooltips at a custom position
1450
1451         * shell/ev-view.c: (tip_from_link), (ev_view_motion_notify_event),
1452         (ev_view_destroy):
1453
1454         Use it for links. First go, needs work
1455
1456 2005-08-17  Dennis Cranston  <dennis_cranston@yahoo.com>
1457
1458         * shell/ev-window.c: (ev_window_cmd_edit_toolbar): A couple small 
1459         HIG fixes.  Use title capitalization for window title. Use 12 
1460         pixels of space between the dialog's vbox and action area.
1461
1462 2005-09-02  Marco Pesenti Gritti  <mpg@redhat.com>
1463
1464         * shell/ev-window.c: (file_open_dialog_response_cb),
1465         (ev_window_cmd_file_open), (file_save_dialog_response_cb),
1466         (ev_window_cmd_save_as):
1467
1468         Make file pickers not modal and refactor code some
1469
1470 2005-09-02  Marco Pesenti Gritti  <mpg@redhat.com>
1471
1472         * shell/ev-sidebar.h:
1473         * shell/ev-sidebar.c: (ev_sidebar_set_property),
1474         (ev_sidebar_get_current_page), (ev_sidebar_get_property),
1475         (ev_sidebar_class_init), (ev_sidebar_select_page),
1476         (ev_sidebar_menu_item_activate_cb), (ev_sidebar_new),
1477         (ev_sidebar_set_page):
1478
1479         Add a current page property and allow to get/set it
1480
1481         * shell/ev-window.c: (setup_view_from_metadata),
1482         (ev_window_sidebar_current_page_changed_cb), (ev_window_init):
1483
1484         Persist current sidebar page per document
1485
1486 2005-09-02  Marco Pesenti Gritti  <mpg@redhat.com>
1487
1488         * data/evince.schemas.in:
1489         * shell/ev-window.c: (update_chrome_visibility),
1490         (setup_document_from_metadata), (update_sidebar_visibility),
1491         (setup_view_from_metadata), (ev_window_sidebar_position_change_cb),
1492         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
1493         (ev_window_run_presentation), (ev_window_stop_presentation),
1494         (ev_window_view_sidebar_cb),
1495         (ev_window_sidebar_visibility_changed_cb), (set_chrome_actions),
1496         (load_chrome), (ev_window_init):
1497
1498         Persist size/visibility of sidebar per document
1499
1500 Fri Sep  2 00:59:55 2005  Jonathan Blandford  <jrb@redhat.com>
1501
1502         * shell/ev-view.c (draw_loading_text): Draw loading text.
1503
1504 2005-09-02  Dan Damian  <dand@gnome.ro>
1505
1506         * configure.in: Added "ro" to ALL_LINGUAS.
1507
1508 2005-09-01  Marco Pesenti Gritti  <mpg@redhat.com>
1509
1510         * shell/ev-view.c: (clear_caches):
1511
1512         ev_page_cache_get doesnt return a reference,
1513         dont try to unref it.
1514
1515 2005-09-01  Marco Pesenti Gritti  <mpg@redhat.com>
1516
1517         * shell/main.c: (load_files_remote):
1518
1519         Fix timestamp parameter with dbus <= 0.33
1520
1521 2005-08-31  Marco Pesenti Gritti  <mpg@redhat.com>
1522
1523         * data/evince.schemas.in:
1524
1525         Add missing full stop
1526
1527 2005-08-31  Hiroyuki Ikezoe  <poincare@ikezoe.net>
1528
1529         * shell/ev-pixbuf-cache.c: (dispose_cache_job_info):
1530         * shell/ev-window.c: (ev_window_print_range), (ev_window_dispose):
1531
1532         Plug some memory leaks
1533
1534 2005-08-29  Christian Persch  <chpe@cvs.gnome.org>
1535
1536         * configure.ac:
1537         * lib/ev-debug.c: (trap_handler):
1538
1539         Check for execinfo.h and use it only if it exists.
1540         Ported from Epiphany (bug #314776).
1541
1542 2005-08-29  Duarte Loreto <happyguy_pt@hotmail.com>
1543
1544         * configure.ac: Added Portuguese (pt) to ALL_LINGUAS.
1545
1546 2005-08-27  Mohammad DAMT  <mdamt@gnome.org>
1547
1548         * configure.ac: Added Indonesian "id" to ALL_LINGUAS
1549         * po/id.po      : Added Indonesian translation
1550
1551 Fri Aug 26 00:45:09 2005  Jonathan Blandford  <jrb@redhat.com>
1552
1553         * shell/main.c:
1554         * shell/ev-application.c: Last minute GTK-2.6 fixes.
1555         * NEWS: Release 0.4.0
1556
1557 Thu Aug 25 23:40:23 2005  Jonathan Blandford  <jrb@redhat.com>
1558
1559         * configure.ac: catch another gtk+-2.8ism
1560         * shell/main.c: Make work with gtk+-2.6
1561
1562 2005-08-25  Ryan Lortie  <desrt@desrt.ca>
1563
1564         * shell/ev-application-service.xml: Add 'timestamp' argument to
1565           ev_application_open_window and ev_application_open_uri methods.
1566
1567         * shell/ev-application.h: Add 'timestamp' argument to
1568           ev_application_open_window, ev_application_open_uri,
1569           and ev_application_open_uri_list functions.
1570
1571         * shell/ev-application.c (ev_application_open_window,
1572           ev_application_open_uri, ev_application_open_uri_list): Change
1573           functions that show/present windows to use a timestamp if one
1574           is passed in.
1575
1576         * shell/ev-window.c (ev_window_cmd_file_open,
1577           ev_window_cmd_recent_file_activate, drag_data_received_cb):
1578         * shell/main.c (load_files): Modify calls to ev_application to
1579           include GDK_CURRENT_TIME as timestamp.
1580
1581         * shell/main.c (load_files_remote): Obtain timestamp for client
1582           instance from GDK and pass to server instance so new windows are
1583           focused properly.  Fix dbus_g_proxy_call() calls by including second
1584           G_TYPE_INVALID.
1585           
1586         Closes bug #314475.
1587
1588 Thu Aug 25 22:13:08 2005  Jonathan Blandford  <jrb@redhat.com>
1589
1590         * shell/ev-window.c (ev_window_finalize): Check for
1591         avail. EvWindows when quiting to handle the finalize better,
1592         #314497
1593
1594 2005-08-26  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1595         
1596         * properties/ev-properties-view.c: 
1597         
1598         Set textdomain to libglade. Fixes translation problem in property page.
1599
1600 2005-08-26  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1601
1602         * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
1603         * dvi/Makefile.am:
1604         * dvi/dvi-document.c: (dvi_document_thumbnails_get_thumbnail):
1605         * dvi/mdvi-lib/Makefile.am:
1606         
1607         Fix rotation of thumbnails, ported to new API. Moved library
1608         dependencies earlier, probably it will fix linkage problem.
1609
1610 Thu Aug 25 02:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
1611
1612         * backend/ev-document-misc.c:
1613         (ev_document_misc_get_thumbnail_frame):
1614         * backend/ev-document-misc.h:
1615         * configure.ac:
1616         * pdf/ev-poppler.cc:
1617         * shell/Makefile.am:
1618         * shell/ev-sidebar-thumbnails.c: (add_range),
1619         (ev_sidebar_thumbnails_set_loading_icon),
1620         (ev_sidebar_thumbnails_refresh),
1621         (ev_sidebar_thumbnails_set_document):
1622         * shell/ev-sidebar-thumbnails.h:
1623         * shell/ev-view.c: (ev_view_motion_notify_event),
1624         (ev_view_set_property), (ev_view_get_property),
1625         (ev_view_class_init), (ev_view_set_rotation):
1626         * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1627         (ev_window_cmd_edit_rotate_right), (ev_window_rotation_changed_cb),
1628         (ev_window_init):
1629         * tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail):
1630         Redo rotation (again).  prepare for 0.4.0
1631
1632 2005-08-24  Kristian Høgsberg  <krh@redhat.com>
1633
1634         * configure.ac: Bump poppler requirement to 0.4.1.
1635
1636         * pdf/ev-poppler.cc (pdf_selection_render_selection): Add rotation
1637         argument to poppler_page_render_selection() call.
1638
1639 2005-08-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1640
1641         * djvu/djvu-document.c: (djvu_document_render_pixbuf),
1642         (djvu_document_thumbnails_get_thumbnail):
1643         * dvi/dvi-document.c: (dvi_document_render_pixbuf),
1644         (dvi_document_thumbnails_get_thumbnail):
1645         * pixbuf/pixbuf-document.c: (pixbuf_document_render_pixbuf),
1646         (pixbuf_document_thumbnails_get_thumbnail):
1647         * tiff/tiff-document.c: (tiff_document_render_pixbuf):
1648         
1649         Update rotation direction of backends to fit with pdf and ps.
1650
1651 2005-08-24  Marco Pesenti Gritti  <mpg@redhat.com>
1652
1653         * backend/ev-async-renderer.c: (ev_async_renderer_render_pixbuf):
1654         * backend/ev-async-renderer.h:
1655         * ps/ps-document.c: (ps_document_init), (setup_pixmap),
1656         (setup_page), (ps_document_get_page_size),
1657         (ps_async_renderer_render_pixbuf):
1658         * ps/ps-document.h:
1659         * shell/ev-jobs.c: (ev_job_render_run):
1660
1661         Fix orientation in the postscript document
1662
1663 2005-08-23  Marco Pesenti Gritti  <mpg@redhat.com>
1664
1665         * pdf/ev-poppler.cc:
1666         * ps/ps-document.c: (push_pixbuf), (ps_document_widget_event):
1667         * shell/ev-view.c: (highlight_find_results):
1668
1669         Adapt to the new poppler rotation API. Fix text maps on landscape
1670         documents.
1671
1672 Sat Aug 20 17:13:48 2005  Jonathan Blandford  <jrb@redhat.com>
1673
1674         * shell/ev-view.c (compute_new_selection_text): get the correct
1675         region when selecting in modes other than continuous.
1676
1677 Sat Aug 20 13:10:01 2005  Jonathan Blandford  <jrb@redhat.com>
1678
1679         * shell/main.c (main): remove redundant g_warnings.
1680
1681 2005-08-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1682
1683         * shell/Makefile.am: Don't include autogenerated
1684         file ev-application-service.h into distribution, since
1685         it causes dbus crash. Fix for bugs 313724 and 313443. 
1686
1687 2005-08-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1688
1689         * configure.ac: Fix sed expression for FreeBSD. Thanks
1690         to Joe Marcus Clark <marcus@freebsd.org>
1691         
1692         * shell/eggfindbar.c: (entry_activate_callback),
1693         (entry_changed_callback), (egg_find_bar_init),
1694         (egg_find_bar_set_search_string):
1695         
1696         Made findbar buttons unsensitive if there is no text in
1697         entry. Fix for the bug 313285.
1698
1699 2005-08-17  Carlos Garcia Campos  <carlosgc@gnome.org>
1700
1701         * ps/ps-document.c: Use g_filename_display_name for displaying
1702         filenames and revert string freeze breackage
1703
1704 2005-08-17  Marco Pesenti Gritti  <mpg@redhat.com>
1705
1706         * NEWS:
1707         * configure.ac:
1708
1709         Update for 0.3.4
1710
1711         * shell/Makefile.am:
1712
1713         Add ev-application-service.xml to extra dist
1714
1715         * shell/ev-view.c: (find_page_at_location):
1716
1717         Remove unused function (fix warning)
1718
1719 2005-08-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1720
1721         * dvi/mdvi-lib/t1.c: (t1_reset_resolution), (t1_really_load_font),
1722         (t1_load_font), (t1_glyph_bitmap), (t1_font_remove):
1723         
1724         Fix warnings and compilation with t1lib-5.0 and newer. Fix for 
1725         bug 313623.
1726
1727 2005-08-16  Nickolay V. Shmyrev   <nshmyrev@yandex.ru>
1728
1729         * shell/ev-utils.c: (set_umask_permissions), (write_to_temp_file):
1730         * shell/ev-window.c:
1731         Fix build warnings
1732
1733 2005-08-16  Carlos Garcia Campos  <carlosgc@gnome.org>
1734
1735         * configure.ac: Update script to get dbus version.
1736         Fix for the bug #313443.
1737
1738 2005-08-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1739
1740         * shell/ev-window.c: (ev_window_cmd_escape):
1741         
1742         Return focus back to view on escape. Fix for bug 313295.
1743
1744 2005-08-16  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1745
1746         * shell/ev-window.c: (update_window_title),
1747         (ev_window_popup_password_dialog), (ev_window_load_job_cb),
1748         (ev_window_cmd_save_as):
1749         
1750         Correct conversion from uri to displayable string. Fix for
1751         bug 313296.
1752
1753 2005-08-16  Carlos Garcia Campos  <carlosgc@gnome.org>
1754
1755         * ps/ps-document.c: convert filename to utf8 when there is an error
1756         loading document. Fixes #309915
1757
1758 2005-08-16  Marco Pesenti Gritti  <mpg@redhat.com>
1759
1760         * configure.ac:
1761
1762         We depend on poppler 0.4.0
1763
1764 Mon Aug 15 21:53:05 2005  Jonathan Blandford  <jrb@redhat.com>
1765
1766         * configure.ac:
1767         * NEWS: Release 0.3.3.
1768         * thumbnailer/evince-thumbnailer.c: Remove pdf icon.
1769
1770 2005-08-14  Dennis Cranston  <dennis_cranston@yahoo.com>
1771
1772         * shell/ev-window.c: (ev_window_cmd_file_open): HIG fixes:  
1773         add a couple missing mnemonics to menu items, use title 
1774         capitalization for menu items and window titles, and add 
1775         ellipsis to open menu item.     
1776
1777 Mon Aug 15 00:40:21 2005  Jonathan Blandford  <jrb@redhat.com>
1778
1779         * pdf/ev-poppler.cc:
1780         * shell/ev-metadata-manager.c: (ev_metadata_manager_init):
1781         * shell/ev-view.c: (ev_view_rotate_left), (ev_view_set_rotation),
1782         (ev_view_get_rotation):
1783         * shell/ev-view.h:
1784         * shell/ev-window.c: (setup_view_from_metadata),
1785         (save_rotation_to_file), (ev_window_cmd_edit_rotate_left),
1786         (ev_window_cmd_edit_rotate_right): Fix rotation.  Save it to
1787         disk.
1788
1789 2005-08-14  Baris Cicek <baris@teamforce.name.tr>
1790
1791         * configure.ac: Added tr to ALL_LINGUAS
1792
1793 2005-08-12  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1794
1795         * shell/ev-view.c: Fix for bug Bug 311838. Search backward
1796         requires several clicks to find word. Thanks to 
1797         Colin Slater <kiltedtaco@gmail.com>.
1798
1799 2005-08-11  Bryan Clark  <clarkbw@cvs.gnome.org>
1800
1801         * data/evince.desktop.in.in: Hide menu entry and
1802         rename it to "Document Viewer". Fix for bug 
1803         #312399.
1804
1805 2005-08-11  Crispin Flowerday  <gnome@flowerday.cx>
1806
1807         * shell/ev-page-action.c (ev_page_action_class_init): 
1808
1809         Point to the correct function in constructor of the
1810         activate_label signal
1811
1812 Tue Aug  9 02:17:13 2005  Jonathan Blandford  <jrb@redhat.com>
1813
1814         * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1815         * shell/ev-jobs.h: Make thread safe.
1816
1817 2005-08-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1818
1819         * shell/ev-view.c: (view_update_range_and_current_page):
1820         Don't update page range if we are scrolling to some document
1821         point.
1822
1823 2005-08-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1824
1825         * shell/ev-view.c: (get_page_extents): reverse rotation/scale
1826         when getting max_page_width, fix drawing in dual mode.
1827
1828 Sun Aug  7 02:06:08 2005  Jonathan Blandford  <jrb@redhat.com>
1829
1830         * shell/ev-view.c (ev_view_select_all): reverse rotation/page when
1831         getting the area for select_all.
1832
1833 2005-08-06  Kristian Høgsberg  <krh@redhat.com>
1834
1835         * backend/ev-selection.c: (ev_selection_render_selection):
1836         * backend/ev-selection.h:
1837         * pdf/ev-poppler.cc:
1838         * shell/ev-jobs.c: (ev_job_render_new):
1839         * shell/ev-jobs.h:
1840         * shell/ev-pixbuf-cache.c: (get_selection_colors),
1841         (add_job_if_needed), (ev_pixbuf_cache_get_selection_pixbuf):
1842         * shell/ev-view.c: (ev_view_focus_in), (ev_view_focus_out),
1843         (ev_view_class_init):
1844
1845         Change selection color on focus in and focus out events.  Also,
1846         poppler now uses GdkColor for specifying the selection colors, so
1847         drop some awkward conversion code.
1848
1849 2005-08-06  Yair Hershkovitz  <yairhr@gmail.com>
1850
1851         * configure.ac: Added Hebrew translation
1852
1853 Sat Aug  6 01:12:44 2005  Jonathan Blandford  <jrb@redhat.com>
1854
1855         * NOTES:
1856         * backend/ev-selection.c: (ev_selection_render_selection):
1857         * backend/ev-selection.h:
1858         * pdf/ev-poppler.cc:
1859         * shell/ev-jobs.c: (ev_job_render_dispose), (ev_job_render_new),
1860         (ev_job_render_run):
1861         * shell/ev-jobs.h:
1862         * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
1863         (ev_pixbuf_cache_new), (job_finished_cb), (add_job_if_needed),
1864         (convert_gdk_color_to_uint), (ev_pixbuf_cache_get_text_mapping),
1865         (ev_pixbuf_cache_style_changed),
1866         (ev_pixbuf_cache_get_selection_pixbuf),
1867         (ev_pixbuf_cache_set_selection_list),
1868         (ev_pixbuf_cache_get_selection_list):
1869         * shell/ev-pixbuf-cache.h:
1870         * shell/ev-utils.c: (ev_print_region_contents):
1871         * shell/ev-utils.h:
1872         * shell/ev-view.c: (ev_view_queue_draw_page),
1873         (selection_update_idle_cb), (ev_view_motion_notify_event),
1874         (ev_view_style_set), (draw_one_page), (ev_view_class_init),
1875         (setup_caches), (ev_view_find_next), (merge_selection_region),
1876         (selection_free):
1877         * shell/ev-window.c: (ev_window_update_fullscreen_popup):
1878
1879         Clean up selection to be much smoother!
1880
1881 2005-08-05  Kristian Høgsberg  <krh@redhat.com>
1882
1883         * pdf/ev-poppler.cc (pdf_selection_render_selection): Pass colors
1884         to poppler_page_render_selection().
1885
1886 2005-08-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1887
1888         * ps/ps-document.c: (save_page_list): Use
1889         unzipped document when printing. Thanks to 
1890         Colin Slater <kiltedtaco@gmail.com>. Fix for bug
1891         311016.
1892
1893 2005-08-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1894
1895         * shell/ev-window.c: (update_action_sensitivity):
1896         
1897         Disable print and save respect to lockdown gconf keys. Fix
1898         for 312342.
1899
1900 2005-08-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1901
1902         * configure.ac:
1903         * shell/ev-utils.c: (rename_file), (set_umask_permissions),
1904         (write_to_temp_file), (ev_file_set_contents):
1905         * shell/ev-utils.h:
1906         * shell/ev-window.c: (save_print_config_to_file):
1907         
1908         Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
1909         Fix for bug 312238
1910
1911 2005-07-31  Christian Persch  <chpe@cvs.gnome.org>
1912
1913         * shell/ev-window.c: (load_print_config_from_file),
1914         (save_print_config_to_file), (ev_window_print_range):
1915
1916         Persist the print settings. Fixes bug #311578.
1917
1918 2005-07-31  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1919
1920         * djvu/djvu-document.c: (djvu_document_get_page_size),
1921         (djvu_document_render_pixbuf), (djvu_document_document_iface_init),
1922         (djvu_document_thumbnails_get_thumbnail):
1923         * dvi/dvi-document.c: (dvi_document_get_page_size),
1924         (dvi_document_render_pixbuf), (dvi_document_document_iface_init),
1925         (dvi_document_thumbnails_get_dimensions),
1926         (dvi_document_thumbnails_get_thumbnail):
1927         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size),
1928         (pixbuf_document_render_pixbuf),
1929         (pixbuf_document_document_iface_init),
1930         (pixbuf_document_thumbnails_get_thumbnail):
1931         
1932         Update backends to make them build with new rotation system.
1933
1934 2005-07-31  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1935
1936         * help/C/figures/evince_start_window.png:
1937         
1938         Update documentation image from Luca Ferretti <elle.uca@libero.it>
1939
1940 Sat Jul 30 19:09:34 2005  Jonathan Blandford  <jrb@redhat.com>
1941
1942         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_clear):
1943         * shell/ev-pixbuf-cache.h:
1944         * shell/ev-sidebar-thumbnails.c:
1945         (ev_sidebar_thumbnails_get_property), (add_range),
1946         (adjustment_changed_cb):
1947         * shell/ev-view.c: (ev_view_set_rotation): Fix rotation and the
1948         pixbuf cache.  Make thumbnailing work again.  Also, fix bug where
1949         we were thumbnailing the entire docment on startup, slowing us
1950         down hugely. 
1951
1952 Fri Jul 29 23:14:28 2005  Jonathan Blandford  <jrb@redhat.com>
1953
1954         * shell/ev-page-cache.c: (ev_page_cache_new):
1955         * shell/ev-window.c: (update_action_sensitivity): Handle n_pages
1956         == 0, fixes #310306.
1957
1958 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
1959
1960         * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
1961         (ev_view_rotate_left):
1962
1963         Account rotation in doc_rect_to_view_rect.
1964         Ensure rotation doesnt go out of bounds.
1965
1966 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
1967
1968         * shell/ev-page-cache.c: (ev_page_cache_get_size):
1969
1970         Correct and cleanup w/h swapping
1971
1972 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
1973
1974         * backend/ev-document-thumbnails.c:
1975         (ev_document_thumbnails_get_thumbnail):
1976         * backend/ev-document-thumbnails.h:
1977         * backend/ev-document.c:
1978         * backend/ev-document.h:
1979         * backend/ev-render-context.c: (ev_render_context_new),
1980         (ev_render_context_set_rotation):
1981         * backend/ev-render-context.h:
1982         * pdf/ev-poppler.cc:
1983         * ps/ps-document.c: (ps_document_document_iface_init):
1984         * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
1985         * shell/ev-jobs.h:
1986         * shell/ev-page-cache.c: (build_height_to_page),
1987         (ev_page_cache_new), (ev_page_cache_get_size),
1988         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1989         (ev_page_cache_get_height_to_page):
1990         * shell/ev-page-cache.h:
1991         * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
1992         (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
1993         (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
1994         (ev_pixbuf_cache_get_selection_pixbuf):
1995         * shell/ev-pixbuf-cache.h:
1996         * shell/ev-print-job.c: (idle_print_handler):
1997         * shell/ev-sidebar-thumbnails.c: (add_range):
1998         * shell/ev-view.c: (view_update_range_and_current_page),
1999         (get_page_y_offset), (get_page_extents),
2000         (ev_view_size_request_continuous_dual_page),
2001         (ev_view_size_request_continuous),
2002         (ev_view_size_request_dual_page),
2003         (ev_view_size_request_single_page), (draw_one_page),
2004         (ev_view_set_rotation), (ev_view_rotate_right),
2005         (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
2006         (ev_view_zoom_for_size_continuous_and_dual_page),
2007         (ev_view_zoom_for_size_continuous),
2008         (ev_view_zoom_for_size_dual_page),
2009         (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
2010         (ev_view_select_all):
2011         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2012         * tiff/tiff-document.c: (tiff_document_render_pixbuf),
2013         (tiff_document_document_iface_init),
2014         (tiff_document_thumbnails_get_thumbnail):
2015
2016         Use rotation rather than orientation. It's easier and enough
2017         for our needs.
2018
2019 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
2020
2021         * shell/ev-page-cache.c: (build_height_to_page),
2022         (ev_page_cache_new), (ev_page_cache_get_size),
2023         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
2024         (ev_page_cache_get_height_to_page):
2025         * shell/ev-page-cache.h:
2026         * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
2027         (ev_view_size_request_continuous_dual_page),
2028         (ev_view_size_request_continuous),
2029         (ev_view_zoom_for_size_continuous_and_dual_page),
2030         (ev_view_zoom_for_size_continuous):
2031
2032         Make the page cache aware of page orientation.
2033
2034 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
2035
2036         * backend/ev-document-thumbnails.c:
2037         (ev_document_thumbnails_get_thumbnail):
2038         * backend/ev-document-thumbnails.h:
2039         * backend/ev-document.c:
2040         * backend/ev-document.h:
2041         * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
2042         * backend/ev-ps-exporter.h:
2043         * pdf/ev-poppler.cc:
2044         * ps/ps-document.c: (ps_document_document_iface_init),
2045         (ps_document_ps_export_do_page):
2046         * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
2047         * shell/ev-jobs.h:
2048         * shell/ev-page-cache.c: (ev_page_cache_get_size),
2049         (ev_page_cache_get):
2050         * shell/ev-page-cache.h:
2051         * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
2052         (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
2053         (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
2054         * shell/ev-pixbuf-cache.h:
2055         * shell/ev-print-job.c: (idle_print_handler):
2056         * shell/ev-sidebar-thumbnails.c: (add_range):
2057         * shell/ev-view.c: (view_update_range_and_current_page),
2058         (get_page_extents), (ev_view_size_request_dual_page),
2059         (ev_view_size_request_single_page), (draw_one_page),
2060         (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
2061         (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
2062         (ev_view_zoom_for_size_dual_page),
2063         (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
2064         (ev_view_select_all):
2065         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2066         * tiff/tiff-document.c: (tiff_document_get_page_size),
2067         (tiff_document_get_orientation), (rotate_pixbuf),
2068         (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
2069         (tiff_document_thumbnails_get_thumbnail),
2070         (tiff_document_ps_export_do_page), (tiff_document_init):
2071
2072         Really make use of the orientation bit of the render context.
2073         Use the render context in a few more places in the backend API.
2074         This regress orientation, but now it's done right. Will try to
2075         fix it up asap...
2076
2077 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
2078
2079         * shell/ev-view.c: (ensure_rectangle_is_visible):
2080
2081         Patch by Nickolay V. Shmyrev to fix find flickering
2082
2083 2005-07-27  Martin Kretzschmar  <martink@gnome.org>
2084
2085         * backend/ev-ps-exporter.h: add paper_width, paper_height, and
2086         duplex parameters to ::begin.
2087
2088         * tiff/tiff-document.c (tiff_document_ps_export_begin): 
2089         * shell/ev-print-job.c (idle_print_handler): 
2090         * ps/ps-document.c (ps_document_ps_export_begin): 
2091         * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin): 
2092         * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
2093         implementations. Poppler backend needs poppler cvs. Rest has
2094         unchanged behavior.
2095
2096 2005-07-25  Martin Kretzschmar  <martink@gnome.org>
2097
2098         * shell/ev-window.c (using_pdf_printer): new function.
2099         (ev_window_print_range): print a less techy message if someone
2100         tries to print to PDF.
2101
2102 2005-07-25  Martin Kretzschmar  <martink@gnome.org>
2103
2104         * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
2105         from "unknown font" string. Bug #311431
2106
2107 2005-07-24  Martin Kretzschmar  <martink@gnome.org>
2108
2109         * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
2110
2111 2005-07-24  Martin Kretzschmar  <martink@gnome.org>
2112
2113         Bug #311280
2114         
2115         * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
2116         name for PopplerFontTypes
2117         (pdf_document_fonts_fill_model): add font type to the detail column
2118
2119         * backend/ev-document-fonts.h: added
2120         EV_DOCUMENT_FONTS_COLUMN_DETAILS.
2121
2122         * shell/ev-properties-fonts.c (font_cell_data_func): glue together
2123         font name and font details, add a little markup.
2124         (ev_properties_fonts_init): use the new cell data func, specify ypad
2125         property for the cell renderer.
2126         (ev_properties_fonts_set_document): add the details column.
2127
2128 2005-07-24  Artur Flinta  <aflinta@cvs.gnome.org>
2129
2130         * configure.ac: Added "pl" to ALL_LINGUAS.
2131
2132 2005-07-24  Danilo Šegan  <danilo@gnome.org>
2133
2134         * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2135
2136 2005-07-23  Tommi Vainikainen  <thv@iki.fi>
2137
2138         * help/ChangeLog: Started this for translations of manual.
2139         * configure.ac, autogen.sh, .cvsignore: Migrated to
2140         gnome-doc-utils. Patch in bug #311222.
2141
2142 2005-07-22  Martin Kretzschmar  <martink@gnome.org>
2143
2144         * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf): 
2145         #ifdef this away to fix an unused-function warning.
2146
2147 2005-07-22  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>
2148
2149         * configure.ac: Added 'gl' to ALL_LINGUAS.
2150
2151 2005-07-22  Pawan Chitrakar  <pawan@nplinux.org>
2152
2153         * configure.ac: Added ne in ALL_LINGUAS
2154         
2155 2005-07-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2156
2157         * shell/ev-view.c: (ev_view_leave_notify_event):
2158         
2159         Clear status message when pointer leaves view. Fix for bug
2160         #310818 
2161
2162 2005-07-20 Ankit Patel <ankit644@yahoo.com>
2163
2164         * configure.ac: Gujarati (gu) added to ALL_LINGUAS
2165
2166 2005-07-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2167
2168         * shell/ev-view.c: (ev_view_leave_notify_event),
2169         (ev_view_class_init):
2170         
2171         Set cursor to normal then leaving view.
2172
2173 2005-07-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2174
2175         * configure.ac:
2176         
2177         Fix required djvulibre version.
2178
2179 2005-07-15  Rajesh Ranjan <rajeshkajha@yahoo.com>
2180
2181         *configure.ac: Hindi (hi) language added
2182
2183 2005-07-15  Amanpreet Singh Brar <amanpreetalam@yahoo.com>
2184
2185         *configure.ac: Punjabi (pa) Language added
2186
2187 2005-07-12  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2188
2189         * data/evince-ui.xml, shell/ev-window.c:
2190         
2191         Add keypad accelerators for zooming. Fix for bug 308128.
2192
2193 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
2194
2195         * Makefile.am:
2196         * backend/Makefile.am:
2197         * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
2198         * configure.ac:
2199         * shell/ev-document-types.c: (ev_document_types_add_filters):
2200
2201         Allow to enable/disable the pixbuf backend.
2202         Default to off for now. If we want it enabled we should
2203         really put mime types in the desktop, implement properties etc.
2204
2205         * properties/evince-properties.c:
2206
2207         Initialize error to NULL.
2208         Check error is not NULL before freeing.
2209
2210 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
2211
2212         * shell/ev-window.c:
2213
2214         Use F5 as presentation accell
2215
2216 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
2217
2218         * shell/ev-window.c: (update_chrome_visibility),
2219         (ev_window_create_fullscreen_popup), (ev_window_init):
2220
2221         Do not leak the fullscreen toolbar
2222
2223 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
2224
2225         * shell/ev-window.c: (view_actions_focus_in_cb),
2226         (view_actions_focus_out_cb):
2227
2228         These has a return value! Fix totally random focus
2229         issues we was seeing.
2230
2231 2005-07-11  Carlos Garcia Campos  <carlosgc@gnome.org>
2232
2233         * shell/main.c: (load_files_remote):
2234
2235         Allow open more than one file
2236
2237 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
2238
2239         * shell/main.c: (load_files_remote):
2240
2241         Fix for dbus 0.33. bug #309975
2242
2243 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
2244
2245         * properties/ev-properties-main.c: (ev_properties_get_pages):
2246
2247         Actually return NULL for types we dont support
2248
2249 2005-07-08  Christian Persch  <chpe@cvs.gnome.org>
2250
2251         * po/POTFILES.in:
2252
2253         Remove empty lines.
2254
2255 2005-07-08  Marco Pesenti Gritti  <marco@gnome.org>
2256
2257         * backend/ev-document-factory.c:
2258         (ev_document_factory_get_document):
2259
2260         Do not try to create the object if type
2261         is invalid.
2262
2263 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
2264
2265         * ps/ps-document.c: (ps_document_dispose),
2266         (ps_async_renderer_render_pixbuf):
2267         * ps/ps-document.h:
2268
2269         Do not leak the target window
2270
2271 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
2272
2273         * shell/ev-application.c: (ev_application_init):
2274
2275         Let tbe check file existence for us.
2276         Add a comment about eggrecent mime filter.
2277
2278 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
2279
2280         * data/evince-ui.xml:
2281         * shell/ev-application.c: (ev_application_shutdown),
2282         (ev_application_init), (ev_application_get_toolbars_model),
2283         (ev_application_get_recent_model),
2284         (ev_application_save_toolbars_model):
2285         * shell/ev-application.h:
2286         * shell/ev-window.c: (ev_window_add_recent),
2287         (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
2288         (ev_window_cmd_edit_toolbar), (ev_window_dispose),
2289         (ev_window_init):
2290
2291         Use common toolbar and recent models for all windows.
2292         Patch by Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2293
2294 Thu Jul  7 23:10:01 2005  Jonathan Blandford  <jrb@redhat.com>
2295
2296         * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
2297         successfully check for gtk_icon_view_get_visible_range.
2298
2299 2005-07-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2300
2301         * djvu/Makefile.am:
2302         * dvi/Makefile.am:
2303         
2304         Fix djvu and dvi backend build.
2305
2306 2005-07-07  Christian Persch  <chpe@cvs.gnome.org>
2307
2308         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
2309         (new_separator_pixbuf):
2310
2311         Don't leak windows.
2312
2313 2005-07-07  Christian Persch  <chpe@cvs.gnome.org>
2314
2315         * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
2316
2317         HIGification of toolbar editor dialogue.
2318
2319 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
2320
2321         * configure.ac:
2322         * shell/Makefile.am:
2323
2324         Ever build metadata manager since it's just
2325         disabled at runtime now.
2326
2327 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
2328
2329         * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
2330         (ev_metadata_manager_get), (ev_metadata_manager_set):
2331         * shell/ev-metadata-manager.h:
2332
2333         Add an _init functions that enabled metadata management
2334         at runtime.
2335
2336         * shell/ev-window.c: (page_changed_cb),
2337         (setup_document_from_metadata), (ev_window_setup_document),
2338         (setup_view_from_metadata), (ev_window_open_uri),
2339         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2340         (ev_window_run_presentation), (ev_window_stop_presentation),
2341         (save_sizing_mode), (ev_window_zoom_changed_cb),
2342         (ev_window_continuous_changed_cb),
2343         (ev_window_dual_mode_changed_cb), (window_state_event_cb),
2344         (window_configure_event_cb):
2345
2346         Remove all ugly metadata define since we deal with it
2347         at runtime now.
2348
2349         * shell/main.c: (load_files_remote), (main):
2350
2351         Add support for dbus cvs head. Hopefully didnt break one
2352         of the other versions now!
2353
2354         If we dont get a response from the dbus server just
2355         give up with it and not enable metadata.
2356
2357 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
2358
2359         * Makefile.am:
2360         * backend/Makefile.am:
2361         * configure.ac:
2362         * cut-n-paste/recent-files/Makefile.am:
2363         * cut-n-paste/toolbar-editor/Makefile.am:
2364         * cut-n-paste/zoom-control/Makefile.am:
2365         * lib/Makefile.am:
2366         * pdf/Makefile.am:
2367         * pixbuf/Makefile.am:
2368         * properties/Makefile.am:
2369         * ps/Makefile.am:
2370         * shell/Makefile.am:
2371         * thumbnailer/Makefile.am:
2372         * tiff/Makefile.am:
2373
2374         Make frontends depend on just libev.
2375         Rework and group CFLAGS/LIBS definitions.
2376         Cleanups.
2377
2378 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
2379
2380         * shell/ev-window:
2381
2382         do not unnecessarily save zoom
2383
2384         * configure.ac:
2385         * lib/ev-file-helpers.c: (ev_dot_dir):
2386         * shell/Makefile.am:
2387         * shell/dummy.cc:
2388
2389         Some cleanups
2390
2391 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
2392
2393         * configure.ac:
2394         
2395         Remove unnecessary dependencies
2396
2397 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
2398
2399         * properties/Makefile.am:
2400         * thumbnailer/Makefile.am:
2401         * tiff/Makefile.am:
2402
2403         Some more cleanups. Was really necessary
2404         but I probably introduced bugs, feel free
2405         to flame :)
2406
2407 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
2408
2409         * backend/Makefile.am:
2410         * configure.ac:
2411         * cut-n-paste/recent-files/Makefile.am:
2412         * cut-n-paste/toolbar-editor/Makefile.am:
2413         * cut-n-paste/zoom-control/Makefile.am:
2414         * lib/Makefile.am:
2415         * pdf/Makefile.am:
2416         * pixbuf/Makefile.am:
2417         * properties/Makefile.am:
2418         * ps/Makefile.am:
2419         * shell/Makefile.am:
2420         * thumbnailer/Makefile.am:
2421         * tiff/Makefile.am:
2422
2423         Use gnome-common macros when possible.
2424         Cleanup dependencies.
2425         Actually disable deprecated where possible.
2426
2427 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
2428
2429         * Makefile.am:
2430         * backend/Makefile.am:
2431         * properties/Makefile.am:
2432         * shell/Makefile.am:
2433         * thumbnailer/Makefile.am:
2434
2435         This should solve the circular dep without
2436         requiring dir reorg!
2437
2438         * shell/ev-window.c: (setup_view_from_metadata):
2439
2440         Never restore window size/position when the
2441         window is already visible.
2442
2443 2005-07-06  Christian Persch  <chpe@cvs.gnome.org>
2444
2445         * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
2446
2447         Return a boolean from timeout func. Fix ported from gedit.
2448
2449 2005-07-07  Iñaki Larrañaga  <dooteo@euskalgnu.org>
2450
2451         * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2452
2453 2005-07-06  Carlos Garcia Campos  <carlosgc@gnome.org>
2454
2455         * shell/ev-document-types.c: set "All Documents" as default filter in
2456         open dialog
2457
2458 2005-07-06  Martin Kretzschmar  <martink@gnome.org>
2459
2460         * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
2461         (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
2462         (ev_metadata_manager_set_boolean): fix value/val thinko.
2463
2464 2005-07-06  Marco Pesenti Gritti  <mpg@redhat.com>
2465
2466         * shell/ev-window.c: (setup_view_from_metadata),
2467         (window_state_event_cb), (window_configure_event_cb),
2468         (ev_window_init):
2469
2470         Remember window position and maximized state
2471
2472 2005-07-06  Christian Persch  <chpe@cvs.gnome.org>
2473
2474         * configure.ac:
2475
2476         Fix DBUS configure checks.
2477
2478         * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
2479         (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
2480         (ev_metadata_manager_set_boolean):
2481
2482         Plug mem leaks.
2483
2484         * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
2485         (ev_window_stop_fullscreen), (ev_window_run_presentation),
2486         (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
2487         (ev_window_continuous_changed_cb),
2488         (ev_window_dual_mode_changed_cb), (ev_window_new):
2489
2490         Fix the build without DBUS.
2491
2492 2005-07-06  Marco Pesenti Gritti  <mpg@redhat.com>
2493
2494         * shell/ev-metadata-manager.c: (parse_value), (save_values),
2495         (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
2496         (ev_metadata_manager_set_string),
2497         (ev_metadata_manager_set_boolean):
2498         * shell/ev-metadata-manager.h:
2499
2500         Add support for some more types
2501
2502         * shell/ev-view.c: (scroll_to_current_page),
2503         (ev_view_get_continuous), (ev_view_set_continuous),
2504         (ev_view_get_dual_page):
2505         * shell/ev-view.h:
2506         * shell/ev-window.c: (page_changed_cb),
2507         (setup_document_from_metadata), (ev_window_setup_document),
2508         (setup_view_from_metadata), (ev_window_open_uri),
2509         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2510         (ev_window_run_presentation), (ev_window_stop_presentation),
2511         (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
2512         (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
2513         (ev_window_update_dual_page_action),
2514         (ev_window_continuous_changed_cb),
2515         (ev_window_dual_mode_changed_cb), (ev_window_init):
2516
2517         Remember a bunch of view/document properties. Prolly some
2518         are still missing but it's getting interesting.
2519
2520 2005-07-05  Martin Kretzschmar  <martink@gnome.org>
2521
2522         * configure.ac: check if dbus-binding-tool is installed. Not the
2523         case on current Ubuntu breezy, it seems.
2524
2525 2005-07-05  Luca Ferretti <elle.uca@libero.it>
2526
2527         * data/evince.desktop.in.in:
2528         
2529         Allow open uri lists and add TryExec field.
2530
2531 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
2532
2533         * configure.ac:
2534
2535         Enable dbus when available, do not require a configure
2536         option.
2537
2538 2005-07-05  Christian Persch  <chpe@cvs.gnome.org>
2539
2540         * configure.ac:
2541
2542         Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
2543         disabled.
2544
2545 2005-07-05  Carlos Garcia Campos  <carlosgc@gnome.org>
2546             Marco Pesenti Gritti  <mpg@redhat.com>
2547
2548         * shell/Makefile.am: Add --prefix for dbus-binding-tool script
2549         
2550         * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC 
2551         functions to the format required by dbus
2552
2553         * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
2554         errors. Use the RPC parameters in the expected way
2555
2556 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
2557
2558         * Makefile.am:
2559         * properties/Makefile.am:
2560         * properties/ev-properties-main.c: (ev_properties_get_pages):
2561
2562         Support all mime types
2563
2564         * shell/Makefile.am:
2565         * thumbnailer/Makefile.am:
2566         * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
2567         (evince_thumbnail_pngenc_get):
2568
2569         Use the document factory
2570
2571 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
2572
2573         * backend/Makefile.am:
2574         * backend/ev-document-factory.c:
2575         (mime_type_supported_by_gdk_pixbuf),
2576         (ev_document_type_get_from_mime),
2577         (ev_document_factory_get_document),
2578         (ev_document_factory_get_backend),
2579         (ev_document_factory_get_mime_types),
2580         (ev_document_factory_get_all_mime_types):
2581         * backend/ev-document-factory.h:
2582         * shell/Makefile.am:
2583         * shell/ev-document-types.c: (get_document_from_uri),
2584         (ev_document_types_get_document),
2585         (file_filter_add_mime_list_and_free),
2586         (ev_document_types_add_filters):
2587         * shell/ev-document-types.h:
2588         * shell/ev-job-xfer.c: (ev_job_xfer_run):
2589         * shell/ev-properties-dialog.c:
2590         (ev_properties_dialog_set_document):
2591         * shell/ev-window.c: (ev_window_cmd_file_open),
2592         (ev_window_cmd_save_as):
2593         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2594
2595         Rework document types managing to avoid code duplication
2596         and actually abstract from backend implementations.
2597         Also provide a minimal factory api that can be used by
2598         thumbnailer/properties.
2599
2600 2005-07-05  Christian Persch  <chpe@cvs.gnome.org>
2601
2602         * properties/ev-properties-view.c: (ev_properties_view_set_info):
2603         Plug a mem leak.
2604         * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
2605         HIG spacings.
2606
2607 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
2608
2609         * shell/ev-properties-dialog.c
2610         (ev_properties_dialog_set_document): only call
2611         ev_properties_fonts_set_document() if the document implements the
2612         fonts interface
2613
2614 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
2615
2616         * configure.ac:
2617         * properties/Makefile.am:
2618         * properties/ev-properties-view.c:
2619         (ev_properties_view_register_type):
2620         * properties/ev-properties-view.h:
2621         * properties/ev-properties-main.h:
2622
2623         Implement nautilus plugin for properties.
2624         Works only for pdf atm, I need to rework the
2625         document types stuff to get this to work
2626         for all backends...
2627
2628 2005-07-04  Martin Kretzschmar  <martink@gnome.org>
2629
2630         * shell/ev-properties-fonts.c (enum): kill redundant columns enum
2631         (ev_properties_fonts_set_document): use
2632         EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
2633
2634 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
2635
2636         * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
2637         them
2638         (PlaceImage, tiff2ps_process_page): use
2639         g_ascii_dtostr to convert floats to strings in a locale-safe way.
2640
2641
2642 2005-07-04  Martin Kretzschmar  <martink@gnome.org>
2643
2644         * shell/main.c: include libgnomeui/gnome-authentication-manager.h
2645         (main): to call gnome_authentication_manager_init. Should fix
2646         Bug #308510
2647
2648         * configure.ac: that requires libgnomeui 2.6.0.
2649
2650 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
2651
2652         * tiff/tiff-document.c (tiff_document_ps_export_begin) 
2653         (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
2654         use the new tiff2ps interfaces
2655
2656         * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page) 
2657         (tiff2ps_context_finalize): implement new interfaces for tiff2ps
2658
2659         * tiff/tiff2ps.c: refactor tiff2ps code to use a context
2660         structure instead of global variables.  Remove use of static
2661         variables in functions.
2662
2663 2005-07-04  Carlos Garcia Campos <carlosgc@gnome.org>
2664
2665         * shell/ev-page-action.c: unref the completion after setting it to the
2666         entry
2667
2668 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
2669
2670         * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
2671         postscript files
2672
2673 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
2674
2675         * shell/ev-window.c (update_action_sensitivity): disable
2676         File->Print if the document does not implement the ps exporter
2677         interface
2678
2679 2005-07-04  Marco Pesenti Gritti  <mpg@redhat.com>
2680
2681         * Makefile.am:
2682         * configure.ac:
2683         * data/evince-properties.glade:
2684         * properties/.cvsignore:
2685         * properties/Makefile.am:
2686         * properties/ev-properties-view.c: (ev_properties_view_dispose),
2687         (ev_properties_view_class_init), (ev_properties_view_format_date),
2688         (make_valid_utf8), (set_property), (ev_properties_view_set_info),
2689         (ev_properties_view_init), (ev_properties_view_new):
2690         * properties/ev-properties-view.h:
2691         * shell/Makefile.am:
2692         * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
2693         (ev_properties_dialog_init), (ev_properties_dialog_set_document),
2694         (ev_properties_dialog_new):
2695         * shell/ev-properties-dialog.h:
2696         * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
2697         (ev_properties_fonts_class_init), (ev_properties_fonts_init),
2698         (update_progress_label), (job_fonts_finished_cb),
2699         (ev_properties_fonts_set_document), (ev_properties_fonts_new):
2700         * shell/ev-properties-fonts.h:
2701         * shell/ev-properties.c:
2702         * shell/ev-properties.h:
2703         * shell/ev-window.c: (ev_window_setup_document),
2704         (ev_window_cmd_file_properties):
2705
2706         Split the properties pages in two different objects, depend
2707         only on the backend where possible, use widgets instead
2708         of gobject for the glade part, reimplement the dialog
2709         itself with gtk.
2710         I need this to implement nautilus properties page.
2711
2712 2005-07-03  Matthew S. Wilson  <msw@rpath.com>
2713
2714         * tiff/tiff-document.c (tiff_document_ps_export_begin) 
2715         (tiff_document_ps_export_do_page, tiff_document_ps_export_end) 
2716         (tiff_document_document_ps_exporter_iface_init): implement the ps
2717         exporter interface for tiff documents
2718
2719         * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
2720         libtiff to implement TIFF postscript export
2721
2722         * tiff/tiff2ps.h: added a header file for external tiff2ps
2723         functions.
2724
2725         * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
2726         tiff2ps.h
2727
2728 2005-07-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2729
2730         * shell/ev-view.c: (scroll_to_current_page),
2731         (ev_view_set_fullscreen), (ev_view_set_presentation):
2732         
2733         Scroll to current page when exit from presentation
2734
2735 2005-07-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2736
2737         * shell/ev-window.c: (update_document_mode),
2738         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
2739         (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
2740         (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
2741         
2742         Exit from fullscreen mode when switch to presentation. Fix for
2743         bug 309365
2744
2745 2005-07-02  Matthew S. Wilson  <msw@rpath.com>
2746
2747         * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
2748         return NULL if the document does not implement the selection
2749         interface.
2750
2751 2005-07-02  Matthew S. Wilson  <msw@rpath.com>
2752
2753         * tiff/tiff-document.c (tiff_document_get_page_size): scale the
2754         reported height by using the resolution aspect ratio
2755         (tiff_document_render_pixbuf): scale the pixbuf using the
2756         resolution aspect ratio
2757
2758 2005-07-01  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2759
2760         * configure.ac:
2761         
2762         Require libgnomeprint >= 2.5.1. Thanks to Colin Slater 
2763         <kiltedaco@gmail.com>
2764         
2765         * djvu/djvu-document.c: (djvu_document_get_orientation),
2766         (djvu_document_set_orientation), (djvu_document_get_page_size),
2767         (rotate_pixbuf), (djvu_document_render_pixbuf),
2768         (djvu_document_document_iface_init):
2769         * dvi/dvi-document.c: (dvi_document_get_orientation),
2770         (dvi_document_set_orientation), (dvi_document_get_page_size),
2771         (rotate_pixbuf), (dvi_document_render_pixbuf),
2772         (dvi_document_document_iface_init):
2773         
2774         Dvi and djvu backends are ported to new API
2775
2776 Fri Jul  1 00:10:15 2005  Jonathan Blandford  <jrb@redhat.com>
2777
2778         * backend/ev-selection.c: (ev_selection_get_selection_region),
2779         (ev_selection_get_selection_map):
2780         * backend/ev-selection.h:
2781         * pdf/ev-poppler.cc:
2782         * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
2783         * shell/ev-jobs.h:
2784         * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
2785         (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
2786         (ev_pixbuf_cache_get_text_mapping):
2787         * shell/ev-pixbuf-cache.h:
2788         * shell/ev-view.c: (location_in_text),
2789         (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
2790         support to EvView.  Now we can see where we can select!  Sweet!
2791
2792 2005-06-30  Kristian Høgsberg  <krh@redhat.com>
2793
2794         * shell/ev-view.c (ev_view_button_press_event): Fix
2795         event->y + view->scroll_x typo.
2796
2797 2005-06-30  Kristian Høgsberg  <krh@redhat.com>
2798
2799         * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
2800         sub-GdkPixbuf instead of passing dest_x and dest_y.
2801         
2802         * shell/ev-view.c: (view_point_to_doc_point),
2803         (view_rect_to_doc_rect), (ev_view_button_press_event),
2804         (ev_view_motion_notify_event), (compute_new_selection_rect),
2805         (gdk_rectangle_point_in), (compute_new_selection_text),
2806         (compute_selections): Update selection code to keep the selection
2807         around as two points and not as a normalized rectangle, and fix
2808         page level selection in two-column mode.
2809
2810 2005-06-30  Alex Duggan  <aldug@astrolinux.com>
2811
2812         * shell/ev-window.c: (window_configure_event_cb): 
2813         
2814         Fix compilation
2815         
2816 2005-06-30  Marco Pesenti Gritti  <mpg@redhat.com>
2817
2818         * pdf/ev-poppler.cc:
2819
2820         Fix compilation
2821
2822 2005-06-30  Marco Pesenti Gritti  <mpg@redhat.com>
2823
2824         * shell/Makefile.am:
2825         * shell/ev-metadata-manager.c: (item_free),
2826         (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
2827         (parse_value), (parseItem), (load_values),
2828         (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
2829         (save_values), (save_item), (get_oldest), (resize_items),
2830         (ev_metadata_manager_save), (ev_metadata_manager_set_int):
2831         * shell/ev-metadata-manager.h:
2832
2833         Metadata manager from gedit but modified to use GValue, so that
2834         we dont need to keep converting from strings.
2835
2836         * configure.ac:
2837
2838         ENABLE_METADATA conditional, on when dbus is on
2839
2840         * shell/ev-application.c: (ev_application_open_uri):
2841
2842         Show the window after load so that we can initialize
2843         window size before it's showed.
2844
2845         * shell/ev-window.c: (ev_window_setup_from_metadata),
2846         (ev_window_open_uri), (window_configure_event_cb),
2847         (ev_window_init):
2848
2849         Save and load metadata information about window size.
2850         Not yet keeping states in account.
2851
2852         * shell/main.c: (main):
2853
2854         Shutdown metadata manager.
2855
2856 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
2857
2858         * shell/ev-application-service.xml:
2859         * configure.ac:
2860         * shell/Makefile.am:
2861         * shell/ev-application.c:
2862         * shell/ev-application.h:
2863         * shell/ev-window.c:
2864         * shell/ev-window.h:
2865         * shell/main.c:
2866
2867         Add an optional dbus interface (--enable-dbus).
2868         Rework application code, mainly to be easier to
2869         use "remotely".
2870         Do not open multiple windows with the same document,
2871         spatial evince!
2872
2873 Thu Jun 30 01:50:14 2005  Jonathan Blandford  <jrb@redhat.com>
2874
2875         * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
2876         pixbuf iff it exists.
2877
2878 Thu Jun 30 01:43:00 2005  Jonathan Blandford  <jrb@redhat.com>
2879
2880         * shell/*:
2881         * backend/ev-render-context.[ch]:
2882         * backend/ev-selection.[ch]:
2883
2884         Massive changes.  We now support text selection of pdfs, and not
2885         just rectangular selection.  This is pretty broken still, but I
2886         want to get something into CVS.
2887
2888 2005-06-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2889
2890         * pdf/ev-poppler.cc:
2891         
2892         Fix for Bug 309080: crash on window close.
2893         
2894         * shell/ev-page-action.c: (page_changed_cb):
2895         
2896         Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
2897         jensgr@gmx.net (Jens Granseuer).
2898
2899 2005-06-25  Marcel Telka  <marcel@telka.sk>
2900
2901         * configure.in (ALL_LINGUAS): Added sk.
2902
2903 2005-06-24  Carlos Garcia Campos  <carlosgc@gnome.org>
2904
2905         * shell/ev-window.c: Make rotate menu entries unsensitive if there is
2906         not a document open
2907
2908 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
2909
2910         * NEWS:
2911         * configure.ac:
2912
2913         Release 0.3.2
2914
2915         * cut-n-paste/recent-files/Makefile.am:
2916
2917         Fix make distcheck
2918
2919 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
2920
2921         * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
2922         (pixbuf_document_set_orientation), (rotate_pixbuf),
2923         (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
2924         (pixbuf_document_document_iface_init), (pixbuf_document_init):
2925
2926         Implement rotation and cleanup the code a bit.
2927
2928         * tiff/tiff-document.c: (tiff_document_get_page_size),
2929         (tiff_document_get_orientation), (tiff_document_set_orientation),
2930         (rotate_pixbuf), (tiff_document_render_pixbuf),
2931         (tiff_document_document_iface_init), (tiff_document_init):
2932
2933         Implement rotation. Was the quicker solution for the release
2934         but we really need to share this code in the shell.
2935
2936 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
2937
2938         * pdf/ev-poppler.cc:
2939
2940         Enable rotation, require poppler cvs. Fix a leak.
2941
2942 2005-06-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2943
2944         * shell/ev-window.c: (update_action_sensitivity):
2945         
2946         Make properties unsensitive if document backend doesn't provide
2947         any info
2948
2949 2005-06-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2950
2951         * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
2952         (bitmap_flip_horizontally), (bitmap_flip_vertically),
2953         (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
2954         (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
2955         (bitmap_flip_rotate_counter_clockwise):
2956         * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
2957         * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
2958         (buff_gets):
2959         * dvi/mdvi-lib/common.h:
2960         * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
2961         * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
2962         (opendvi), (mdvi_reload), (mdvi_init_context),
2963         (mdvi_destroy_context), (mdvi_dopage), (special):
2964         * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
2965         * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
2966         (file_hash_free), (register_encoding), (parse_spec),
2967         (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
2968         (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
2969         (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
2970         * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
2971         (mdvi_register_font_type), (mdvi_unregister_font_type),
2972         (lookup_font), (mdvi_add_font), (mdvi_font_retry):
2973         * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
2974         * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
2975         (mdvi_hash_destroy_key), (mdvi_hash_reset):
2976         * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
2977         (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
2978         * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
2979         * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
2980         * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
2981         * dvi/mdvi-lib/special.c: (mdvi_register_special),
2982         (mdvi_unregister_special), (mdvi_flush_specials):
2983         * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
2984         (t1_font_remove):
2985         * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
2986         * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
2987         (ofm1_load_file), (ofm_load_file), (get_font_metrics),
2988         (free_font_metrics), (flush_font_metrics):
2989         * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
2990         (tt_font_remove):
2991         * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
2992         (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
2993         (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
2994         (dstring_insert), (dstring_new), (dstring_reset):
2995         * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
2996         
2997         Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
2998         avoid conflict with libtool on FC4
2999         
3000         * shell/ev-window.c: (ev_window_cmd_help_about):
3001         
3002         Update copyright year. Fix for bug 308828.
3003
3004 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
3005
3006         * shell/ev-view.c: (add_scroll_binding_keypad),
3007         (ev_view_binding_activated), (ev_view_class_init),
3008         (on_adjustment_value_changed):
3009         
3010         Bug 170874: Arrow keys switch pages in presentation mode
3011
3012 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
3013
3014         * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
3015         
3016         Fix for Bug 308265: Sidebar dissappears coming out of 
3017         Presentation mode
3018
3019 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
3020
3021         * shell/ev-application.c: (ev_application_open):
3022         * shell/ev-document-types.c: (ev_document_types_add_filters),
3023         (ev_document_types_add_filters_for_type):
3024         * shell/ev-document-types.h:
3025         * shell/ev-window.c: (ev_window_cmd_save_as):
3026         
3027         Suggest basename as template when saving, provide filters
3028         for save dialog. It's bug 308402
3029
3030 2005-06-20  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3031
3032         * pdf/ev-poppler.cc:
3033         * shell/ev-sidebar-links.c: (job_finished_callback):
3034         * shell/ev-view.c: (update_find_status_message):
3035         
3036         Some leaks fixed
3037
3038 2005-06-19  Christian Persch  <chpe@cvs.gnome.org>
3039
3040         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
3041         (egg_recent_view_uimanager_set_list):
3042
3043         Fix buglet in !show_numbers case.
3044
3045 2005-06-19  Christian Persch  <chpe@cvs.gnome.org>
3046
3047         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
3048         (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
3049
3050         Use pango ellipsisation.
3051
3052         * pdf/ev-poppler.cc:
3053
3054         Fix refcount leak, from nsh.
3055
3056 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3057
3058         * cut-n-paste/recent-files/Makefile.am:
3059         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3060         * cut-n-paste/recent-files/egg-recent-view-gtk.h:
3061         
3062         Removed EggRecentViewGtk
3063         
3064         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
3065         * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
3066         * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
3067         (ev_window_setup_recent):
3068         
3069         Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
3070         with other projects
3071
3072 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3073
3074         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3075         (egg_recent_view_gtk_finalize):
3076
3077         Fix memory leak
3078
3079         * cut-n-paste/toolbar-editor/Makefile.am:
3080         
3081         Fix location of cursor icon.
3082         
3083         * pdf/ev-poppler.cc:
3084         * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
3085         (display_completion_text), (match_completion):
3086         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3087         (selection_changed_callback), (create_loading_model),
3088         (print_section_cb), (links_page_num_func),
3089         (update_page_callback_foreach):
3090         * shell/ev-window.c: (ev_window_dispose):
3091         
3092         Small memory fixes. Links model now store objects instead
3093         of pointers to improve memory management. 
3094
3095 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3096
3097         * shell/ev-window.c: (zoom_control_changed_cb):
3098         
3099         Fix update of zoom control (bug 308268).
3100
3101 Sat Jun 18 22:46:42 2005  Jonathan Blandford  <jrb@redhat.com>
3102
3103         * shell/ev-properties.c (set_property): escape the text correctly.
3104         Handles non-UTF-8 properties and escaped properties.  Also, sets
3105         the text to "<i>None</i>" if the property isn't set.
3106
3107         * data/evince-properties.glade: Change the label to be ellipsized,
3108         and give it a minimum size.
3109
3110 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3111
3112         * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
3113         * shell/ev-sidebar-links.c: (create_loading_model):
3114         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
3115         * shell/ev-view.c: (ev_view_set_document):
3116         * shell/ev-window.c: (ev_window_dispose):
3117         
3118         Various small fixes, mostly memory leaks. Thanks to valgrind.
3119
3120 2005-06-19  Martin Kretzschmar  <martink@gnome.org>
3121
3122         * ps/ps-document.c: remove the locale.h include again ;-). And
3123         kill the (bogus) setlocale/savelocale business.
3124
3125 2005-06-19   Jaap A. Haitsma <jaap@haitsma.org>
3126
3127         * ps/ps-document.c:
3128         
3129         Include locale.h to fix build
3130         
3131         * shell/ev-sidebar.c:
3132         
3133         Remove unnecessary includes
3134
3135 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3136
3137         * dvi/dvi-document.c: (dvi_document_load):
3138         * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
3139         * po/POTFILES.in:
3140         
3141         Check for incorrect dvi files. Fix parsing dvi on AMD64
3142         platform. Thanks to tester@tester.ca (Olivier Crete).
3143
3144 2005-06-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3145
3146         * shell/ev-page-action.c: (match_selected_cb),
3147         (display_completion_text), (match_completion), (update_model):
3148         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3149         (expand_open_links):
3150         * shell/ev-sidebar.c: (ev_sidebar_destroy),
3151         (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
3152         (ev_sidebar_set_document):
3153         * shell/ev-window.c: (ev_window_xfer_job_cb),
3154         (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
3155         
3156         Fixed lot's of memory leaks, for example, memory leak on reload, 
3157         described in bug 307793.
3158
3159 2005-06-18  Marco Pesenti Gritti  <mpg@redhat.com>
3160
3161         * pdf/ev-poppler.cc:
3162         * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
3163         (update_visible_range), (adjustment_changed_cb),
3164         (ev_sidebar_thumbnails_fill_model),
3165         (ev_sidebar_thumbnails_refresh),
3166         (ev_sidebar_tree_selection_changed),
3167         (ev_sidebar_icon_selection_changed),
3168         (ev_sidebar_thumbnails_use_icon_view),
3169         (ev_sidebar_thumbnails_set_document):
3170         * shell/ev-sidebar-thumbnails.h:
3171         * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
3172         (ev_window_cmd_edit_rotate_right), (ev_window_init):
3173
3174         Refresh thumbnails when changing orientation. Not fully
3175         working yet becuase of a sidebar bug.
3176
3177         Set page orientation to poppler page everywhere. This sucks
3178         really need to fix poppler.
3179
3180 2005-06-18  Marco Pesenti Gritti  <mpg@redhat.com>
3181
3182         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
3183         (egg_recent_view_gtk_new_menu_item),
3184         (egg_recent_view_gtk_set_property),
3185         (egg_recent_view_gtk_get_property),
3186         (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
3187         (egg_recent_view_gtk_set_tooltip_func),
3188         (egg_recent_view_gtk_set_label_width),
3189         (egg_recent_view_gtk_get_label_width):
3190         * cut-n-paste/recent-files/egg-recent-view-gtk.h:
3191
3192         Sync with libegg (ellipsize labels)
3193
3194 2005-06-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3195
3196         * data/evince-ui.xml:
3197         * shell/ev-window.c: (ev_window_cmd_go_forward),
3198         (ev_window_cmd_go_backward):
3199         
3200         Shift + PageUp moves 10 Pages. Fix for 306125
3201
3202 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
3203
3204         * pdf/ev-poppler.cc:
3205
3206         Add a flag to check if orientation has been overriden
3207
3208 2005-06-17  Martin Kretzschmar  <martink@gnome.org>
3209
3210         * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
3211         field if necessary.
3212
3213         * ps/ps.h: add creator field to document.
3214
3215         * ps/ps-document.c (ps_document_get_info): set format to PostScript,
3216         set creator field.
3217
3218 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
3219
3220         * data/evince-properties.glade:
3221         * shell/ev-properties.c: (ev_properties_set_document):
3222
3223         s/PDF Version/Format
3224
3225 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
3226
3227         * shell/ev-properties.c: (ev_properties_set_document):
3228
3229         Remove unnecessary translations
3230
3231 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
3232
3233         * cut-n-paste/toolbar-editor/Makefile.am:
3234
3235         Correct library name    
3236
3237 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
3238
3239         * configure.ac:
3240         * cut-n-paste/recent-files/egg-recent-model.c:
3241         (egg_recent_model_write_raw), (egg_recent_model_lock_file),
3242         (egg_recent_model_unlock_file):
3243         * cut-n-paste/recent-files/egg-recent-util.c:
3244         (egg_recent_util_get_unique_id):
3245         * cut-n-paste/recent-files/update-from-egg.sh:
3246         * cut-n-paste/toolbar-editor/Makefile.am:
3247         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3248         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
3249         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3250         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3251         (egg_toolbars_model_get_type):
3252         * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
3253
3254         Better makefile for toolbar editor and update everything
3255         to latest libegg.
3256
3257 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
3258
3259         * shell/ev-window.c: (update_document_mode):
3260
3261         Prefer presentation mode when the document
3262         require fullscreen.
3263
3264 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
3265
3266         * data/evince-ui.xml:
3267         * shell/ev-window.c:
3268
3269         Add control-equal for zooming
3270
3271 2005-06-17  Theppitak Karoonboonyanan  <thep@linux.thai.net>
3272
3273         * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
3274
3275 2005-06-16  Marco Pesenti Gritti  <mpg@redhat.com>
3276
3277         * backend/ev-document.c: (ev_document_get_orientation):
3278         * backend/ev-document.h:
3279         * pdf/ev-poppler.cc:
3280         * ps/ps-document.c: (ps_document_get_orientation),
3281         (ps_document_set_orientation), (ps_document_document_iface_init):
3282
3283         Add a get_orientation api. Improve set_orientation.
3284
3285         * data/evince-ui.xml:
3286         * shell/ev-view.c: (ev_view_set_orientation),
3287         (ev_view_rotate_right), (ev_view_rotate_left):
3288         * shell/ev-view.h:
3289         * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
3290         (ev_window_cmd_edit_rotate_right):
3291
3292         Better ui for changing document orientation
3293
3294 2005-06-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3295
3296         * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
3297         (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
3298         * shell/ev-sidebar-links.h:
3299         * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3300         (ev_sidebar_page_iface_init):
3301         * shell/ev-sidebar-page.h:
3302         * shell/ev-sidebar-thumbnails.c:
3303         (ev_sidebar_thumbnails_get_property),
3304         (ev_sidebar_thumbnails_class_init),
3305         (ev_sidebar_thumbnails_set_document):
3306         * shell/ev-sidebar-thumbnails.h:
3307         * shell/ev-view.c: (ev_view_motion_notify_event):
3308         * shell/ev-window.c: (update_chrome_visibility),
3309         (ev_window_cmd_focus_page_selector),
3310         (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
3311         (sidebar_page_main_widget_update_cb), (ev_window_init):
3312         
3313         Autoraise toolbar on GoToPage binding and fix bindings in
3314         EvSidebarThumbnails page.
3315
3316 2005-06-15  Christian Persch  <chpe@cvs.gnome.org>
3317
3318         * shell/ev-properties.c: (update_progress_label):
3319
3320         Hide the progress label when finished; bug #307697.
3321
3322 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
3323
3324         * pdf/ev-poppler.cc:
3325
3326         Enable is_open for links, you will need poppler cvs
3327
3328         * shell/ev-properties.c: (job_fonts_finished_cb):
3329
3330         Get a lock on the document when filling the tree view
3331
3332 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
3333
3334         * backend/ev-document-links.h:
3335         * pdf/ev-poppler.cc:
3336         * shell/ev-sidebar-links.c: (create_loading_model),
3337         (expand_open_links), (job_finished_callback):
3338
3339         Expand links when specified by the document.
3340         Depend on a poppler api (defined out for now)
3341
3342 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
3343
3344         * shell/ev-properties.c: (ev_properties_dispose),
3345         (ev_properties_class_init), (dialog_destroy_cb),
3346         (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
3347         (ev_properties_set_document), (ev_properties_new),
3348         (ev_properties_show):
3349         * shell/ev-properties.h:
3350
3351         Make it an object, cleanup the code, api to show it as transient
3352         and to set the document.
3353
3354         * shell/ev-window.c: (ev_window_setup_document),
3355         (ev_window_cmd_file_properties):
3356
3357         Adapt to EvProperties changes, do not show multiple
3358         times, update it when document changes.
3359
3360 2005-06-14  Marco Pesenti Gritti <mpg@redhat.com>
3361
3362         * ps/gstypes.h:
3363         * ps/ps-document.c: (ps_document_init), (get_page_orientation),
3364         (ps_document_set_orientation), (ps_document_document_iface_init):
3365         * ps/ps-document.h:
3366
3367         Implement orientation here too
3368
3369         * shell/ev-properties.c: (ev_properties_new):
3370         * data/evince-properties.glade:
3371
3372         Hide the fonts page for backends that doesnt
3373         support it.     
3374
3375 2005-06-14  Marco Pesenti Gritti <mpg@redhat.com>
3376
3377         * backend/ev-document.c: (ev_document_set_orientation):
3378         * backend/ev-document.h:
3379         * pdf/ev-poppler.cc:
3380
3381         Add orientation api. Currently poppler api is not optimal,
3382         we need to set orientation every time we _get a page.
3383         I will try to fix that at some point.
3384
3385         * data/evince-ui.xml:
3386         * shell/ev-window.c: (ev_window_cmd_edit_landscape),
3387         (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
3388
3389         Add orientation menu items
3390
3391         * shell/ev-page-cache.c: (ev_page_cache_clear):
3392         * shell/ev-page-cache.h:
3393
3394         Add api to clear the cache
3395
3396         * shell/ev-view.c: (setup_caches), (clear_caches),
3397         (ev_view_set_document), (ev_view_zoom_out),
3398         (ev_view_set_orientation):
3399         * shell/ev-view.h:
3400
3401         Implement orientation changing
3402
3403 2005-06-13  Marco Pesenti Gritti <mpg@redhat.com>
3404
3405         * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
3406         (ev_document_fonts_scan), (ev_document_fonts_fill_model):
3407         * backend/ev-document-fonts.h:
3408
3409         Separate scan and fill so that we can incrementally fill from
3410         the main thread. Add a progress api.
3411
3412         * data/evince-properties.glade:
3413         * pdf/ev-poppler.cc:
3414         * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
3415         * shell/ev-jobs.h:
3416         * shell/ev-properties.c: (update_progress_label),
3417         (job_fonts_finished_cb), (setup_fonts_view):
3418
3419         Incrementally feel the list and show the progress
3420         percentage in a label like acrobat does.
3421
3422         You are going to need poppler cvs
3423
3424 2005-06-11  Marco Pesenti Gritti <mpg@redhat.com>
3425
3426         * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
3427         * backend/ev-document-fonts.h:
3428         * pdf/ev-poppler.cc:
3429
3430         Make fonts model fill incrementally.
3431
3432         * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
3433         (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
3434         (ev_job_queue_remove_job):
3435         * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
3436         (ev_job_fonts_new), (ev_job_fonts_run):
3437         * shell/ev-jobs.h:
3438
3439         New job for fonts scanning
3440
3441         * shell/ev-properties.c: (job_fonts_finished_cb),
3442         (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
3443         * shell/ev-properties.h:
3444         * shell/ev-window.c: (ev_window_cmd_file_properties):
3445
3446         Incrementally feel the treeview using the new job. Show Loading...
3447         message until scanning is completed.
3448
3449         Hopefully I didnt break the build without the poppler patch.
3450
3451 2005-06-10  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3452
3453         * shell/ev-application.c: (ev_application_open):
3454         * shell/ev-document-types.c: (ev_document_type_from_from_mime),
3455         (ev_document_type_get_type), (ev_document_type_lookup):
3456         * shell/ev-document-types.h:
3457         * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
3458         * shell/ev-job-xfer.h:
3459         * shell/ev-window.c: (ev_window_clear_local_uri),
3460         (ev_window_load_job_cb), (ev_window_xfer_job_cb),
3461         (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
3462         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3463         
3464         Transfer remote documents to tmp directory to display them later.
3465
3466 2005-06-10  Marco Pesenti Gritti <mpg@redhat.com>
3467
3468         * backend/ev-document-info.h:
3469         * shell/ev-properties.c: (ev_properties_new):
3470
3471         s/GTime*/GTime. Not sure why we was using a pointer
3472         at all there!
3473
3474 Wed Jun  8 01:04:22 2005  Jonathan Blandford  <jrb@redhat.com>
3475
3476         * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
3477         situations.  That situation is that you're using GTK+-HEAD with
3478         the patch at #306726 is applied, and you have a document with <
3479         1500 pages in it.  It's not quite as uniformly nice as the
3480         TreeView, but should be better in the long run.
3481
3482         I'm pretty sure I guarded against breaking compilation with
3483         HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
3484         I missed some.
3485
3486         * shell/ev-window.c (ev_window_init): We don't have our tree/list
3487         widget yet, so I commented that code out
3488         enable_view_actions_for_widget() for now.  Need to figure this
3489         out.
3490
3491         * shell/ev-page-action.c (match_selected_cb): emit the right
3492         signals.  Our cool C-l completion now works.
3493
3494 2005-06-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3495
3496         * backend/Makefile.am:
3497         * backend/ev-document-fonts.c:
3498         * backend/ev-document-links.c:
3499         * backend/ev-document.c: (ev_document_load):
3500         * backend/ev-document.h:
3501         * backend/ev-job-queue.c:
3502         * backend/ev-job-queue.h:
3503         * backend/ev-jobs.c:
3504         * backend/ev-jobs.h:
3505         * backend/ev-page-cache.c:
3506         * backend/ev-page-cache.h:
3507
3508         EvPageCache and EvJobs are moved to shell.
3509
3510         * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
3511         (ev_tmp_filename):
3512         * lib/ev-file-helpers.h:
3513         
3514         New helper to work with temporary files
3515         
3516         * shell/Makefile.am:
3517         * shell/ev-application.c: (ev_application_open):
3518         * shell/ev-application.h:
3519         * shell/ev-job-queue.c: (remove_job_from_queue_locked),
3520         (remove_job_from_async_queue), (add_job_to_async_queue),
3521         (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
3522         (handle_job), (search_for_jobs_unlocked),
3523         (no_jobs_available_unlocked), (ev_render_thread),
3524         (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3525         (ev_job_queue_add_job), (move_job_async), (move_job),
3526         (ev_job_queue_update_job), (ev_job_queue_remove_job):
3527         * shell/ev-job-queue.h:
3528         * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
3529         (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
3530         * shell/ev-job-xfer.h:
3531         * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3532         (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3533         (ev_job_links_class_init), (ev_job_render_init),
3534         (ev_job_render_dispose), (ev_job_render_class_init),
3535         (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3536         (ev_job_thumbnail_class_init), (ev_job_load_init),
3537         (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
3538         (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3539         (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
3540         (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
3541         * shell/ev-jobs.h:
3542         * shell/ev-page-action.c: (ev_page_action_set_document):
3543         * shell/ev-page-cache.c: (ev_page_cache_init),
3544         (ev_page_cache_class_init), (ev_page_cache_finalize),
3545         (ev_page_cache_new), (ev_page_cache_get_n_pages),
3546         (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3547         (ev_page_cache_set_page_label), (ev_page_cache_set_link),
3548         (ev_page_cache_get_title), (ev_page_cache_get_size),
3549         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
3550         (ev_page_cache_get_height_to_page),
3551         (ev_page_cache_get_max_label_chars),
3552         (ev_page_cache_get_page_label),
3553         (ev_page_cache_has_nonnumeric_page_labels),
3554         (ev_page_cache_get_info), (ev_page_cache_next_page),
3555         (ev_page_cache_prev_page), (ev_page_cache_get):
3556         * shell/ev-page-cache.h:
3557         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
3558         (ev_pixbuf_cache_clear_job_sizes),
3559         (ev_pixbuf_cache_add_jobs_if_needed),
3560         (ev_pixbuf_cache_set_page_range):
3561         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
3562         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
3563         * shell/ev-sidebar-thumbnails.c:
3564         (ev_sidebar_tree_selection_changed),
3565         (ev_sidebar_thumbnails_set_document):
3566         * shell/ev-statusbar.c: (ev_statusbar_destroy),
3567         (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
3568         (ev_statusbar_get_context_id), (ev_statusbar_push),
3569         (ev_statusbar_pop), (ev_statusbar_set_maximized),
3570         (ev_statusbar_pulse), (ev_statusbar_show_progress),
3571         (ev_statusbar_set_progress):
3572         * shell/ev-statusbar.h:
3573         * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
3574         (ev_view_find_previous):
3575         * shell/ev-window.c: (ev_window_is_empty),
3576         (ev_window_setup_document), (password_dialog_response),
3577         (ev_window_clear_jobs), (ev_window_load_job_cb),
3578         (ev_window_xfer_job_cb), (ev_window_open_uri),
3579         (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
3580         (ev_window_print), (ev_window_print_range),
3581         (ev_window_state_event), (ev_window_cmd_view_reload),
3582         (menu_item_select_cb), (menu_item_deselect_cb),
3583         (view_status_changed_cb), (ev_window_dispose),
3584         (drag_data_received_cb), (ev_window_init):
3585         * shell/ev-window.h:
3586         * shell/main.c: (load_files):
3587         
3588         New statusbar to show progress on idle. Two new jobs - 
3589         xfer job and load job to load document in background. And update
3590         of page_cache clients to new location of code.
3591
3592 2005-06-08  Carlos Garcia Campos <carlosgc@gnome.org>
3593   
3594         * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
3595         selection in open dialog. It also remembers the last visited directory 
3596         in the current session.
3597
3598 2005-06-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3599
3600         * shell/ev-properties.c: (ev_properties_new):
3601         * shell/ev-properties.h:
3602         * shell/ev-window.c: (ev_window_cmd_file_properties):
3603         
3604         Get document info from page cache instead of document itself.
3605         This should fix crash related to race conditions described in
3606         bug 306545.
3607
3608 2005-06-07  Marco Pesenti Gritti <mpg@redhat.com>
3609
3610         * ps/ps-document.c: (ps_document_init),
3611         (send_ps), (get_page_box), (output), (catchPipe), (input),
3612         (stop_interpreter), (file_length), (file_readable),
3613         (check_filecompressedb), (ps_document_enable_interpreter),
3614         (document_load), (ps_async_renderer_render_pixbuf):
3615         * ps/ps-document.h:
3616
3617         Big cleanup of the ps code
3618
3619 2005-06-07  Marco Pesenti Gritti <mpg@redhat.com>
3620
3621         * backend/Makefile.am:
3622         * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
3623         (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
3624         * backend/ev-async-renderer.h:
3625
3626         Add an async renderer interface (method + callback) which
3627         is useful for backends like ps.
3628
3629         * backend/ev-job-queue.c: (remove_job_from_async_queue),
3630         (add_job_to_async_queue), (job_finished_cb), (handle_job),
3631         (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
3632         (ev_job_queue_add_job), (move_job_async), (move_job),
3633         (ev_job_queue_update_job), (ev_job_queue_remove_job):
3634
3635         Add queues for async renderer, these are executed on the
3636         main thread.
3637
3638         * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
3639         (ev_job_render_run):
3640         * backend/ev-jobs.h:
3641
3642         If the backend support async renderer interface use it.
3643
3644         * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3645         (setup_pixmap), (ps_document_get_type),
3646         (ps_async_renderer_render_pixbuf),
3647         (ps_document_document_iface_init), (ps_async_renderer_iface_init):
3648
3649         Implement async renderer interface.
3650
3651 2005-06-07  Nickolay V. Shmyrev  <<nshmyrev@yandex.ru>>
3652
3653         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
3654
3655         Cleanup links job on exit.
3656
3657 2005-06-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3658
3659         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
3660         (drag_data_get_cb), (drag_data_received_cb):
3661         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
3662         (drag_data_get_cb), (parse_item_list),
3663         (egg_toolbar_editor_load_actions):
3664         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
3665         (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
3666         (parse_item_list), (parse_toolbars):
3667         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3668         (dvi_pixbuf_put_pixel):
3669         
3670         Fix gcc 4.0 warnings
3671
3672 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
3673
3674         * ps/ps-document.c: (start_interpreter):
3675
3676         Fix warning when loading ps
3677
3678 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
3679
3680         * ps/ps-document.c: (output):
3681
3682         Fix crash when priting gs error messages.
3683
3684 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
3685
3686         * backend/ev-page-cache.c: (_ev_page_cache_new):
3687         * backend/ev-page-cache.h:
3688
3689         Use a const to return title so that we dont double
3690         free it. Small cleanup and fix a leak.
3691
3692         * shell/ev-window.c: (update_window_title):
3693
3694         strdup value from get_title.
3695
3696 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
3697
3698         * shell/ev-sidebar-links.c: (job_finished_callback),
3699         (ev_sidebar_links_set_document):
3700
3701         Cleanup the old job when changing document
3702
3703 2005-06-05  Nickolay V. Shmyrev  <<nshmyrev@yandex.ru>>
3704
3705         * shell/ev-stock-icons.c:
3706         * shell/ev-stock-icons.h:
3707         * shell/ev-window.c:
3708         
3709         Add stock icons for actions that can appear in toolbar. Fix for
3710         bug 306566.
3711
3712 2005-06-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3713
3714         * backend/ev-page-cache.c: (ev_page_cache_finalize),
3715         (_ev_page_cache_new), (ev_page_cache_get_max_width),
3716         (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
3717         * backend/ev-page-cache.h:
3718         * shell/ev-view.c: (scroll_to_current_page),
3719         (view_update_range_and_current_page), (get_page_y_offset),
3720         (get_page_extents), (ev_view_size_request_continuous_dual_page),
3721         (ev_view_size_request_continuous),
3722         (ev_view_zoom_for_size_continuous_and_dual_page),
3723         (ev_view_zoom_for_size_continuous):
3724         
3725         More compact EvView layout in document with pages of different size.
3726
3727 Sat Jun  4 19:20:57 2005  Jonathan Blandford  <jrb@redhat.com>
3728
3729         * shell/ev-window.c (ev_window_cmd_file_properties): fix
3730         compilation.
3731
3732 2005-06-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3733
3734         * shell/ev-view.c: (view_set_adjustment_values):
3735         * shell/ev-window.c: (ev_window_cmd_file_properties):
3736         
3737         A bit different fix for rounding problem but it has no
3738         problems on startup. Make properties window transient to parent.
3739
3740 2005-06-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3741
3742         * pdf/ev-poppler.cc:
3743         
3744         More commenting of font stuff.
3745
3746 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
3747
3748         * pdf/ev-poppler.cc:
3749
3750         Comment out some more fonts stuff. Should really
3751         work without the poppler patch now.
3752
3753 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
3754
3755         * pdf/ev-poppler.cc:
3756
3757         Adapt to api change
3758
3759 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
3760
3761         * data/evince-properties.glade:
3762         * pdf/ev-poppler.cc:
3763         * shell/ev-properties.c: (setup_fonts_view):
3764
3765         Set the column title. Show the dialog only
3766         once everything is setup.
3767         Getting font info can be very slow... will
3768         prolly need to make this threaded too.
3769
3770 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
3771
3772         * backend/Makefile.am:
3773         * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
3774         (ev_document_fonts_get_fonts_model):
3775         * backend/ev-document-fonts.h:
3776         * data/evince-properties.glade:
3777         * pdf/ev-poppler.cc:
3778         * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
3779         * shell/ev-properties.h:
3780         * shell/ev-window.c: (ev_window_cmd_file_properties):
3781
3782         Implement fonts list. Defined out for now, since it depends
3783         on a not yet committed poppler patch.
3784
3785 Fri Jun  3 21:07:57 2005  Jonathan Blandford  <jrb@redhat.com>
3786
3787         * shell/ev-view.c (get_page_extents): other_page isn't necessarily
3788         page + 1.
3789
3790         * shell/ev-window.c: Make sure we add the timeout when we get a
3791         focus-in event.
3792
3793         * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
3794         adjustment->value before calculating the zoom factor to average
3795         out all of our rounding errors.  The page no longer 'drifts' when
3796         resizing.
3797
3798 2005-06-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3799
3800         * data/evince-properties.glade:
3801         * shell/ev-properties.c: (ev_properties_format_date),
3802         (set_property):
3803         
3804         Labels don't expand when the dialogue is resized.
3805         strftime result needs to be converted to UTF-8. Thanks
3806         to Christian Persch <chpe@gnome.org>.
3807
3808 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
3809
3810         * data/evince-properties.glade:
3811
3812         Hide the fonts tab
3813
3814 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
3815
3816         * backend/ev-document-info.h:
3817         * backend/ev-document.c: (ev_document_info_free):
3818         * data/evince-properties.glade:
3819         * pdf/ev-poppler.cc:
3820         * ps/ps-document.c: (ps_document_get_info):
3821         * shell/ev-properties.c: (ev_properties_format_date),
3822         (set_property), (ev_properties_new):
3823         * shell/ev-properties.h:
3824         * shell/ev-window.c: (ev_window_cmd_file_properties):
3825
3826         Rework properties code to take only EvPropertyInfo
3827         in the constructor so that it can be useful for
3828         nautilus plugin too.
3829
3830         Deal with backends that doesnt support some properties.
3831         Make set property code generic.
3832
3833 2005-06-04  Christian Persch <chpe@gnome.org>
3834
3835         * data/evince-properties.glade:
3836
3837         fix spacings, make resizeable, and make data labels
3838         selectable + ellipsised
3839
3840 2005-06-03  Marco Pesenti Gritti <mpg@redhat.com>
3841
3842         * backend/ev-document-info.h:
3843         * data/Makefile.am:
3844         * data/evince-ui.xml:
3845         * pdf/ev-poppler.cc:
3846         * shell/Makefile.am:
3847         * shell/ev-window.c: (update_action_sensitivity),
3848         (ev_window_cmd_file_properties):
3849
3850         Initial go at file properties. Patch by
3851         Emil Soleyman-Zomalan <emil@soleyman.com>.
3852         Needs love see #169583
3853
3854 2005-06-02  Marco Pesenti Gritti <mpg@redhat.com>
3855
3856         * ps/ps-document.c: (output):
3857         * ps/ps.c: (psscan):
3858
3859         Try to render even if psscan fails.
3860
3861 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
3862
3863         * ps/ps.c: (psscan), (pscopydoc):
3864
3865         Port buffered reading code from gv
3866
3867 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
3868
3869         * ps/ps-document.c: (interpreter_message), (output):
3870
3871         Do not fail on interpreter messages
3872
3873 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
3874
3875         * backend/ev-document-misc.c:
3876         (ev_document_misc_get_thumbnail_frame):
3877
3878         Pages can be 0 x 0, dont assert on this case
3879
3880 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3881
3882         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
3883         (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
3884
3885         Correctly manage our reference on document. Finally the reload
3886         huge leak is gone...
3887
3888 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3889
3890         * ps/ps-document.c: (ps_document_dispose):
3891
3892         Forgot to chain it to the parent. Thanks chpe.
3893
3894 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3895
3896         * ps/ps-document.c: (ps_document_dispose),
3897         (ps_document_class_init), (stop_interpreter), (document_load):
3898
3899         Cleanup dispose a bit. Dont leak the whole pixmap.
3900
3901 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3902
3903         * pdf/ev-poppler.cc:
3904
3905         Release the poppler document on dispose
3906
3907 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3908
3909         * shell/ev-view.c: (ev_view_set_document):
3910
3911         Release ref on the pixbuf cache when changing
3912         document.
3913
3914 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3915
3916         * ps/ps-document.c: (ps_document_get_info):
3917
3918         Fix a double free
3919
3920 2005-05-31  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
3921
3922         * backend/ev-page-cache.c: (ev_page_cache_init),
3923         (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
3924         * backend/ev-page-cache.h:
3925         * shell/ev-page-action.c: (page_changed_cb):
3926         
3927         Set page action entry width depending on labels width. Fix
3928         for bug 305202.
3929
3930 2005-05-31  Marco Pesenti Gritti  <mpg@redhat.com>
3931
3932         * backend/ev-link.c: (ev_link_class_init):
3933
3934         Allow -1 as page value (error)
3935
3936 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
3937
3938         * shell/ev-sidebar-thumbnails.c:
3939         (ev_sidebar_thumbnails_set_document):
3940         * shell/ev-view.c: (scroll_to_current_page),
3941         (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
3942         (page_changed_cb), (on_adjustment_value_changed),
3943         (ev_view_set_document):
3944
3945         Slightly modified patch by Nickolay V. Shmyrev  <nshmyrev@yandex.ru>.
3946         Fix bug 305377
3947
3948 2005-05-29  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3949
3950         * configure.ac:
3951         * djvu/djvu-document.c: (djvu_document_get_page_size):
3952
3953         Require djvulibre CVS. Now djvu loading is much faster. Fix for
3954         bug 301993.
3955
3956 Sat May 28 07:38:03 2005  Jonathan Blandford  <jrb@redhat.com>
3957
3958         * shell/ev-view.c (draw_one_page): modify the expose handling to
3959         get the shadows.
3960
3961         * shell/ev-window.c (update_action_sensitivity): Respect
3962         permissions field.  Kowtow to the man.
3963
3964         * pdf/ev-poppler.cc: Get the permissions field.
3965
3966         * tiff/*c: Make a tiny bit more robust.
3967
3968 2005-05-26  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3969
3970         * djvu/djvu-document.c:
3971         
3972         Pop messages from djvu context message queue.
3973
3974 2005-05-24  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3975
3976         * configure.ac, Makefile.am, shell/Makefile.am:
3977         * tiff/Makefile.am, shell/ev-document-types.c:
3978         
3979         Cleanup tiff configure checks. Fix for bug 305218.
3980
3981 2005-05-24  Maxim V. Dziumanenko <mvd@mylinux.ua>
3982
3983         * configure.ac: Added "uk" to ALL_LINGUAS.
3984
3985 2005-05-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3986
3987         * cut-n-paste/zoom-control/ephy-zoom.c:
3988         (ephy_zoom_get_changed_zoom_level):
3989         * cut-n-paste/zoom-control/ephy-zoom.h:
3990         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
3991         (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
3992         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3993         (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
3994         (zoom_control_changed_cb), (ev_window_init):
3995         
3996         Fix minor points related to moving best fit up. Introduce
3997         "zoom" property and make zoom control change it's value on
3998         notify::zoom signals. Fix for 305080.
3999
4000 2005-05-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4001
4002         * data/evince-ui.xml:
4003         * shell/ev-window.c: (set_view_actions_sensitivity):
4004         
4005         Use + and - as accels for zoom in and zoom out. Fix for 305001.
4006
4007 2005-05-22  Marco Pesenti Gritti  <mpg@redhat.com>
4008
4009         * configure.ac:
4010
4011         Depends on poppler 0.3.2
4012
4013 2005-05-22  Marco Pesenti Gritti  <mpg@redhat.com>
4014
4015         * cut-n-paste/recent-files/egg-recent-item.c:
4016         (egg_recent_item_get_short_name):
4017         * cut-n-paste/toolbar-editor/Makefile.am:
4018         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4019         (new_pixbuf_from_widget):
4020         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4021         * cut-n-paste/toolbar-editor/egg-marshal.c:
4022         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4023         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4024
4025         Sync
4026
4027 Sat May 21 23:18:30 2005  Jonathan Blandford  <jrb@redhat.com>
4028
4029         * tiff/tiff-document.c: Rough TIFF backend.
4030
4031 2005-05-21  Marco Pesenti Gritti  <mpg@redhat.com>
4032
4033         * NEWS:
4034         * configure.ac:
4035         * cut-n-paste/toolbar-editor/Makefile.am:
4036
4037         Release 0.3.1
4038
4039 2005-05-21  Marco Pesenti Gritti  <mpg@redhat.com>
4040
4041         * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
4042         (ev_view_find_next), (ev_view_find_previous):
4043
4044         Remove the locks around get_n_results   
4045
4046 2005-05-21  Juerg Billeter  <j@bitron.ch>
4047
4048         * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
4049
4050         Pass correct number of pages to poppler.
4051
4052 2005-05-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4053
4054         * configure.ac:
4055         * data/Makefile.am:
4056         * data/evince.desktop.in: 
4057         * data/evince.desktop.in.in:
4058         * po/POTFILES.in:
4059         
4060         Add conditionally dvi and djvu to desktop types. Fix for 304658.
4061
4062 Sat May 21 00:21:30 2005  Jonathan Blandford  <jrb@redhat.com>
4063
4064         * shell/ev-view.c: (view_update_adjustments),
4065         (view_set_adjustment_values): cast adjustmen->value to (int)
4066         before using it.  Otherwise, we get off by a pixel in some
4067         situations.
4068
4069         (draw_one_page): Draw the border on expose.
4070
4071 Fri May 20 22:05:25 2005  Jonathan Blandford  <jrb@redhat.com>
4072
4073         * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
4074         adjustment when the mode changes, #304923
4075
4076 Fri May 20 02:00:03 2005  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4077
4078         * shell/ev-view.c: Use gdk_widget_queue_draw to remove
4079         flickering on resize but still use gdk_window_scroll on
4080         scrolling
4081
4082 Fri May 20 01:46:57 2005  Jonathan Blandford  <jrb@redhat.com>
4083
4084         * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
4085         option, #170458
4086
4087 Fri May 20 01:27:01 2005  Jonathan Blandford  <jrb@redhat.com>
4088
4089         * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
4090         second page on page_changed if possible, #304669
4091
4092 Fri May 20 01:07:15 2005  Jonathan Blandford  <jrb@redhat.com>
4093
4094         * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
4095         instead of gtk_widget_queue_draw.  Massive speedups in scrolling.
4096
4097 Fri May 20 01:05:10 2005  Jonathan Blandford  <jrb@redhat.com>
4098
4099         * .cvsignore:
4100         * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
4101         (zoom_for_size_fit_width), (zoom_for_size_best_fit),
4102         (ev_view_zoom_for_size_presentation),
4103         (ev_view_zoom_for_size_continuous_and_dual_page),
4104         (ev_view_zoom_for_size_continuous),
4105         (ev_view_zoom_for_size_dual_page),
4106         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
4107         * shell/ev-view.h:
4108         * shell/ev-window.c: (update_view_size),
4109         (ev_window_sizing_mode_changed_cb):
4110
4111         Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
4112         the scrollbars.  It's not 100% right, but it's much closer.  Kills
4113         an infinite loop, #304769
4114
4115
4116 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
4117
4118         * data/evince-ui.xml:
4119         * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
4120         * shell/ev-window.c: (set_view_actions_sensitivity):
4121
4122         Make PgUp/Down behave like Space
4123
4124 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
4125
4126         * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
4127         * backend/ev-ps-exporter.h:
4128         * pdf/ev-poppler.cc:
4129         * ps/ps-document.c: (ps_document_ps_export_begin):
4130         * shell/ev-print-job.c: (idle_print_handler):
4131
4132         Adapt to new poppler api
4133
4134 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
4135
4136         * cut-n-paste/zoom-control/ephy-zoom-control.c:
4137         (ephy_zoom_control_init):
4138
4139         Translate zoom levels
4140
4141 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
4142
4143         * cut-n-paste/zoom-control/ephy-zoom.c:
4144         (ephy_zoom_get_zoom_level_index):
4145
4146         Fix current zoom -> zoom control match
4147
4148 2005-05-18  James Bowes  <bowes@cs.dal.ca>
4149
4150         * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
4151         rather than the scrolled_window that it's in. Fixes bug #304655.
4152
4153 Tue May 17 22:54:17 2005  Jonathan Blandford  <jrb@redhat.com>
4154
4155         * shell/ev-view.c: (view_update_adjustments),
4156         (view_set_adjustment_values), (view_update_range_and_current_page),
4157         (view_scroll_to_page), (set_scroll_adjustment),
4158         (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
4159         (ev_view_scroll), (ev_view_scroll_view),
4160         (ensure_rectangle_is_visible), (find_page_at_location),
4161         (get_link_at_location), (go_to_link), (status_message_from_link),
4162         (ev_view_size_request_continuous_dual_page),
4163         (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
4164         (ev_view_unrealize), (ev_view_expose_event),
4165         (ev_view_button_press_event), (ev_view_motion_notify_event),
4166         (ev_view_button_release_event), (ev_gdk_color_to_rgb),
4167         (draw_rubberband), (highlight_find_results), (draw_one_page),
4168         (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
4169         (ev_view_init), (find_changed_cb), (page_changed_cb),
4170         (on_adjustment_value_changed), (ev_view_new),
4171         (ev_view_set_document), (ev_view_set_zoom),
4172         (ev_view_set_continuous), (ev_view_set_dual_page),
4173         (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
4174         (zoom_for_size_fit_width), (zoom_for_size_best_fit),
4175         (ev_view_zoom_for_size_presentation),
4176         (ev_view_zoom_for_size_continuous_dual_page),
4177         (ev_view_zoom_for_size_continuous),
4178         (ev_view_zoom_for_size_dual_page),
4179         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4180         (ev_view_get_status), (ev_view_set_status),
4181         (update_find_status_message), (ev_view_get_find_status),
4182         (ev_view_set_find_status), (jump_to_find_result),
4183         (jump_to_find_page), (compute_selections), (clear_selection),
4184         (ev_view_select_all), (get_selected_text), (ev_view_copy),
4185         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
4186         (ev_view_update_primary_selection),
4187         (ev_view_create_invisible_cursor), (ev_view_set_cursor):
4188         * shell/ev-view.h:
4189         * shell/ev-window.c: (ev_window_open_page_label),
4190         (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
4191         (ev_window_init):
4192         * shell/ev-window.h:
4193         * shell/main.c: (load_files):
4194
4195         Massive code clean up from Nickolay Shmyrev.  Keep page offset
4196         when resizing.  Remove the bin_window().  Also, patch from James
4197         Bowes to fix command line page, #300641
4198         
4199 2005-05-17  Marco Pesenti Gritti  <mpg@redhat.com>
4200
4201         * data/evince-ui.xml:
4202         * shell/ev-view.c:
4203         * shell/ev-view.h:
4204         * shell/ev-window.c: (update_action_sensitivity):
4205
4206         Get rid of View->Normal Size, it's just confusing
4207
4208 Tue May 17 00:51:21 2005  Jonathan Blandford  <jrb@redhat.com>
4209
4210         * backend/ev-document-info.h:
4211         * backend/ev-document.c: (ev_document_info_free): Free the
4212         EvDocumentInfo.
4213
4214         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
4215         (clear_range), (add_range), (update_visible_range),
4216         (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
4217         (ev_sidebar_thumbnails_set_document):
4218         * shell/ev-window.c: (ev_window_setup_document): Only render the
4219         visible thumbnails.  It takes an instant to render, but it uses
4220         much less memory.
4221
4222 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
4223
4224         * shell/ev-sidebar-links.c: (popup_menu_cb):
4225
4226         Select first item
4227
4228 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
4229
4230         * lib/Makefile.am:
4231         * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
4232         (button_press_cb), (ev_sidebar_links_construct):
4233
4234         Show the popup menu also on keybindings
4235
4236 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
4237
4238         * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
4239         * shell/ev-window.h:
4240
4241         Expose api to print a range (with dialog). Make private _print use
4242         it.
4243
4244         * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
4245         (ev_sidebar_links_construct):
4246
4247         Show a print context menu on linkx, it prints the selected
4248         section.
4249
4250 2005-05-15  Carlos Garcia Campos <carlosgc@gnome.org>
4251
4252         * shell/ev-sidebar.c: make the drop down menu as width as the toggle
4253         button.
4254
4255 2005-05-12  Marco Pesenti Gritti  <mpg@redhat.com>
4256
4257         * AUTHORS:
4258
4259         Update
4260
4261         * shell/ev-window.c: (build_comments_string),
4262         (ev_window_cmd_help_about):
4263
4264         Show poppler version/backend and authors
4265
4266 2005-05-11  Marco Pesenti Gritti  <mpg@redhat.com>
4267
4268         * cut-n-paste/zoom-control/ephy-zoom.c:
4269         (ephy_zoom_get_zoom_level_index):
4270         * cut-n-paste/zoom-control/ephy-zoom.h:
4271
4272         Move the best fit items at the top of the list
4273
4274 2005-05-11  Marco Pesenti Gritti  <mpg@redhat.com>
4275
4276         * shell/ev-marshal.list:
4277         * shell/ev-page-action.c: (ev_page_action_widget_class_init),
4278         (activate_cb), (match_selected_cb), (activate_link_cb),
4279         (connect_proxy), (ev_page_action_class_init):
4280         * shell/ev-page-action.h:
4281
4282         Use signals to notify action activation. Hopefully
4283         I did not break completion since I cant test...
4284
4285         * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
4286         (register_custom_actions):
4287
4288         Connect to page selector actions and also grab focus on
4289         the view when activated.
4290
4291 Wed May 11 01:18:29 2005  Jonathan Blandford  <jrb@redhat.com>
4292
4293         * pdf/ev-poppler.cc:
4294         * backend/ev-page-cache.c: make page size calculation consistent
4295         and set it to (int)( width * scale + 0.5).  This makes the weird
4296         line going through the middle of the page go away.
4297
4298         * shell/ev-view.c: move painting the background page after
4299         checking the expose area covers us.
4300
4301 2005-05-11  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4302
4303         * data/evince-password.glade:
4304         
4305         Mark labels as not translatable. Fix for bug 302842.
4306
4307 2005-05-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
4308
4309         * configure.ac: Added "es" to ALL_LINGUAS.
4310
4311 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
4312
4313         * data/evince-toolbar.xml:
4314         * shell/ev-window.c: (update_action_sensitivity),
4315         (ev_window_setup_document), (ev_window_set_page_mode),
4316         (ev_window_init):
4317
4318         Remove some leftover code from jrb first continous
4319         attempt. Use the new actions, we still need good icons
4320         though...
4321
4322 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
4323
4324         * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
4325
4326         Update label when connecting proxy. Fix a warning with NULL
4327         page_cache.
4328
4329 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
4330
4331         * data/evince-ui.xml:
4332         * shell/ev-page-action.c: (ev_page_action_grab_focus):
4333         * shell/ev-page-action.h:
4334         * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
4335
4336         Add mnemonic for edit toolbar.
4337         ctrl+l focus the page entry.
4338
4339 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
4340
4341         * lib/Makefile.am:
4342         * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
4343         (ev_window_init):
4344         * shell/main.c: (main):
4345
4346         Put the toolbar xml in evince own dot dir
4347
4348 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
4349
4350         * shell/ev-window.c: (ev_window_init):
4351
4352         Make the toolbar not removable
4353
4354 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
4355
4356         * data/evince-ui.xml:
4357         * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
4358         * shell/ev-sidebar-links.h:
4359         * shell/ev-sidebar-thumbnails.c:
4360         (ev_sidebar_thumbnails_get_treeview):
4361         * shell/ev-sidebar-thumbnails.h:
4362         * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
4363         (ev_view_class_init):
4364         * shell/ev-view.h:
4365         * shell/ev-window.c: (update_action_sensitivity),
4366         (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
4367         (set_view_actions_sensitivity), (view_actions_focus_in_cb),
4368         (view_actions_focus_out_cb), (enable_view_actions_for_widget),
4369         (ev_window_init):
4370
4371         This is evil... Make space/backspace global accelerators but
4372         enable them only for some widgets (sidebars and view).
4373         I dont like it, but I dont know a better way... :/
4374
4375 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
4376
4377         * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
4378         (ev_page_action_widget_finalize),
4379         (ev_page_action_widget_class_init), (update_page_cache):
4380
4381         Keep a weak reference on proxy->page_cache so that we
4382         dont try to disconnect the signal if the object is already
4383         gone. Maybe there is a better way to cleanup reference handling
4384         in page action though...
4385
4386 2005-05-10  Juerg Billeter  <j@bitron.ch>
4387
4388         * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
4389         * backend/ev-ps-exporter.h:
4390         * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
4391         * ps/ps-document.c: (ps_document_ps_export_begin):
4392         
4393         Change api to pass print range to ps_exporter_begin. The pdf backend
4394         requires this information.
4395         
4396         * shell/ev-print-job.c: (idle_print_handler):
4397         
4398         Adapt to api change
4399
4400 2005-05-10  Juerg Billeter  <j@bitron.ch>
4401
4402         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
4403         (idle_print_handler)
4404         * shell/ev-window.c: (ev_window_print):
4405
4406         Support printing page range, based on patch by Amaury Jacquot
4407
4408 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
4409
4410         * data/evince-toolbar.xml:
4411
4412         Add zoom control to available items
4413
4414 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
4415
4416         * shell/ev-window.c: (update_action_sensitivity):
4417
4418         Set slash action insensitive when appropriate
4419
4420 2005-05-10  Christian Persch <chpe@gnome.org>
4421
4422         * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
4423
4424         Fix warning on the overflow menu
4425
4426 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
4427
4428         * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
4429
4430         Check for uri correctness/existence
4431
4432 2005-05-09  Juerg Billeter  <j@bitron.ch>
4433
4434         * shell/ev-window.c: (using_postscript_printer):
4435
4436         LPD printers use postscript, too
4437
4438 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
4439
4440         * shell/ev-window.c: (register_custom_actions):
4441
4442         The zoom one is actually sort of useful,
4443         put it back
4444
4445 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
4446
4447         * shell/ev-window.c: (register_custom_actions):
4448
4449         Hide page/zoom controls from overflow, they
4450         are useless.
4451
4452 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
4453
4454         * cut-n-paste/update-from-egg.sh:
4455         
4456         Share it between all cut-n-paste subdirs
4457
4458         * cut-n-paste/recent-files/Makefile.am:
4459
4460         Fix to use "global" update-from-egg.sh
4461
4462         * cut-n-paste/recent-files/egg-recent-model.c:
4463         (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
4464         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
4465         (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
4466         (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
4467
4468         Update from libegg
4469
4470         * cut-n-paste/toolbar-editor/Makefile.am:
4471
4472         Fix to use "global" update-from-egg.sh
4473
4474         * cut-n-paste/toolbar-editor/eggmarshalers.list:
4475
4476         Update from libegg
4477
4478 2005-05-09  Marco Pesenti Gritti <mpg@redhat.com>
4479
4480         * configure.ac:
4481         * cut-n-paste/Makefile.am:
4482         * cut-n-paste/recent-files/Makefile.am:
4483         * cut-n-paste/toolbar-editor/.cvsignore:
4484         * cut-n-paste/toolbar-editor/Makefile.am:
4485         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
4486         (egg_editable_toolbar_get_type), (get_toolbar_position),
4487         (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
4488         (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
4489         (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
4490         (set_item_drag_source), (create_item_from_action), (create_item),
4491         (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
4492         (popup_toolbar_context_menu_cb), (free_dragged_item),
4493         (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
4494         (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
4495         (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
4496         (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
4497         (item_added_cb), (item_removed_cb),
4498         (egg_editable_toolbar_construct),
4499         (egg_editable_toolbar_disconnect_model),
4500         (egg_editable_toolbar_deconstruct),
4501         (egg_editable_toolbar_set_model),
4502         (egg_editable_toolbar_set_ui_manager),
4503         (egg_editable_toolbar_set_property),
4504         (egg_editable_toolbar_get_property),
4505         (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
4506         (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
4507         (egg_editable_toolbar_new_with_model),
4508         (egg_editable_toolbar_get_edit_mode),
4509         (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
4510         (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
4511         (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
4512         (new_pixbuf_from_widget), (new_separator_pixbuf),
4513         (update_separator_image), (style_set_cb),
4514         (_egg_editable_toolbar_new_separator_image),
4515         (egg_editable_toolbar_get_model):
4516         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
4517         * cut-n-paste/toolbar-editor/egg-marshal.c:
4518         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
4519         (egg_toolbar_editor_get_type), (compare_actions), (find_action),
4520         (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
4521         (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
4522         (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
4523         (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
4524         (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
4525         (editor_drag_data_delete_cb), (drag_data_get_cb),
4526         (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
4527         (editor_create_item), (update_editor_sheet), (setup_editor),
4528         (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
4529         (parse_item_list), (model_has_action), (update_actions_list),
4530         (egg_toolbar_editor_load_actions):
4531         * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
4532         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
4533         (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
4534         (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
4535         (toolbars_item_new), (free_toolbar_node), (free_item_node),
4536         (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
4537         (egg_toolbars_model_add_separator), (impl_add_item),
4538         (parse_item_list), (egg_toolbars_model_add_toolbar),
4539         (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
4540         (impl_get_item_data), (impl_get_item_type),
4541         (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
4542         (egg_toolbars_model_init), (free_toolbar),
4543         (egg_toolbars_model_finalize), (egg_toolbars_model_new),
4544         (egg_toolbars_model_remove_toolbar),
4545         (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
4546         (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
4547         (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
4548         (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
4549         (egg_toolbars_model_get_item_data),
4550         (egg_toolbars_model_get_item_type):
4551         * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
4552         * cut-n-paste/toolbar-editor/eggmarshalers.list:
4553         * data/Makefile.am:
4554         * data/evince-toolbar.xml:
4555         * data/evince-ui.xml:
4556         * data/hand-open.png:
4557         * po/POTFILES.in:
4558         * shell/Makefile.am:
4559         * shell/ev-window.c: (update_chrome_visibility),
4560         (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
4561         (ev_window_dispose), (ev_window_init):
4562
4563         Implement epiphany like toolbar editor. Based on patch by
4564         Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4565
4566 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
4567
4568         * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
4569
4570         Use set_cursor instead of set_selection, so that
4571         the keyboard focus moves too.
4572
4573 2005-05-09  Aleksey Kliger <akliger@gmail.com>
4574
4575         * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
4576
4577         Fix infinite loop when loading Type1 fonts
4578
4579 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
4580
4581         * data/evince-ui.xml:
4582         * shell/ev-window.c:
4583
4584         Slash -> Find
4585
4586 2005-05-09  Thomas de Grenier de Latour <degrenier@easyconnect.fr>
4587
4588         * configure.ac:
4589
4590         Make --disable really disable
4591
4592 2005-05-07  Juerg Billeter  <j@bitron.ch>
4593
4594         * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
4595
4596         Compare page labels even without has_labels set, fixes setting page
4597         with entry
4598
4599 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
4600
4601         * shell/ev-view.c: (ev_view_create_invisible_cursor),
4602         (ev_view_set_cursor), (ev_view_button_press_event),
4603         (ev_view_motion_notify_event), (ev_view_button_release_event),
4604         (ev_view_init):
4605
4606         Implement middle button scrolling. Based on a patch
4607         by Tommi Komulainen <tommi.komulainen@iki.fi>.
4608
4609 2005-05-08  Marco Pesenti Gritti  <mpg@redhat.com>
4610
4611         * shell/ev-document-types.c: (get_slow_mime_type),
4612         (get_document_type_from_mime), (ev_document_type_lookup):
4613         * shell/ev-document-types.h:
4614
4615         Change api to lookup from uri. Do fast lookup first, if the
4616         type is unknown try with data sniffing.
4617
4618         * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
4619         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
4620
4621         Adapt to api change
4622
4623 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
4624
4625         * thumbnailer/Makefile.am:
4626
4627         Fix distcheck
4628
4629 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
4630
4631         * NEWS:
4632         * configure.ac:
4633
4634         Release 0.3.0
4635
4636         * data/evince-ui.xml:
4637
4638         Hide presentation mode for now
4639
4640         * shell/ev-view.c: (highlight_find_results):
4641
4642         Show current find selection only on current page
4643
4644 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
4645
4646         * shell/ev-view.c: (ev_view_select_all):
4647
4648         Compute size of the actual page, not of
4649         the current one.
4650
4651 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
4652
4653         * shell/ev-view.c: (clear_selection), (ev_view_finalize),
4654         (view_rect_to_doc_rect), (compute_selections),
4655         (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
4656         (ev_view_copy), (ev_view_primary_get_cb),
4657         (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
4658         (ev_view_button_press_event), (ev_view_motion_notify_event),
4659         (ev_view_button_release_event), (page_changed_cb):
4660
4661         Fix text selection
4662
4663 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
4664
4665         * shell/ev-view.c: (compute_border), (get_page_extents),
4666         (doc_rect_to_view_rect), (highlight_find_results),
4667         (ev_view_bin_expose), (ev_view_select_all),
4668         (ev_view_motion_notify_event), (update_find_status_message),
4669         (jump_to_find_result), (jump_to_find_page):
4670
4671         First go at fixing search, still buggy
4672
4673 2005-05-04  Kristian Høgsberg  <krh@redhat.com>
4674
4675         * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
4676         dropdown box and button at the top of the sidebar.
4677
4678 2005-05-02  James Bowes  <bowes@cs.dal.ca>
4679
4680         * configure.ac: Output zoom-control Makefile.
4681         * cut-n-paste/Makefile.am: build zoom-control subdir.
4682         * cut-n-paste/zoom-control/ephy-zoom-action.c:
4683         * cut-n-paste/zoom-control/ephy-zoom-action.h:
4684         * cut-n-paste/zoom-control/ephy-zoom-control.c:
4685         * cut-n-paste/zoom-control/ephy-zoom-control.h:
4686         * cut-n-paste/zoom-control/ephy-zoom.c:
4687         * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
4688         from epiphany, and modified to add a separator into the menu.
4689         * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
4690         * data/evince-ui.xml: Replace old zoom toolbar actions with new
4691         zoom-control action.
4692         * shell/Makefile.am: Include zoom-control flags.
4693         * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
4694         (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
4695         (ev_view_zoom_for_size_presentation),
4696         (ev_view_zoom_for_size_continuous_and_dual_page),
4697         (ev_view_zoom_for_size_continuous),
4698         (ev_view_zoom_for_size_dual_page),
4699         (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal): 
4700         s/ev_view_zoom/ev_view_set_zoom/ and make public, add 
4701         ev_view_get_zoom and ev_view_get_sizing_mode.
4702         * shell/ev-view.h:
4703         * shell/ev-window.c: (update_action_sensitivity),
4704         (update_sizing_buttons), (zoom_control_changed_cb),
4705         (register_custom_actions): Initialize and use the zoom-control 
4706         widget.
4707
4708 Sun May  1 00:46:47 2005  Jonathan Blandford  <jrb@redhat.com>
4709
4710         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
4711         preview cache back to 1.  Don't know when it got set to 0.
4712         
4713         * shell/ev-view.c: (compute_border), (ev_view_realize),
4714         (draw_one_page), (ev_view_set_property), (ev_view_get_property),
4715         (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
4716         (ev_view_get_fullscreen), (ev_view_set_presentation),
4717         (ev_view_get_presentation), (ev_view_set_sizing_mode),
4718         (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
4719         * shell/ev-view.h:
4720         * shell/ev-window.c:
4721         (update_chrome_visibility),
4722         (ev_window_cmd_continuous), (ev_window_cmd_dual),
4723         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4724         (update_document_mode), (ev_window_update_fullscreen_action),
4725         (ev_window_fullscreen), (ev_window_unfullscreen),
4726         (ev_window_cmd_view_fullscreen),
4727         (ev_window_update_presentation_action),
4728         (ev_window_run_presentation), (ev_window_stop_presentation),
4729         (ev_window_cmd_view_presentation), (ev_window_state_event),
4730         (ev_window_focus_in_event), (ev_window_focus_out_event),
4731         (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
4732         * data/evince-ui.xml: Initial presentation mode.  We should
4733         probably hide this until it's done, as it's quite rough.  Also,
4734         change full-screen to fullscreen and add two getters to EvView.
4735
4736 2005-04-29  Marco Pesenti Gritti  <mpg@redhat.com>
4737
4738         * shell/ev-page-action.c: (update_page_cache),
4739         (ev_page_action_dispose):
4740         * shell/ev-window.c: (destroy_fullscreen_popup),
4741         (ev_window_create_fullscreen_popup):
4742
4743         Use connect_object rather than explicitly
4744         disconnect on dispose.
4745
4746 2005-04-29  Marco Pesenti Gritti  <mpg@redhat.com>
4747
4748         * shell/ev-page-action.c: (update_page_cache),
4749         (ev_page_action_dispose):
4750
4751 2005-04-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4752
4753         * backend/ev-page-cache.c: (_ev_page_cache_new),
4754         (ev_page_cache_set_page_label),
4755         (ev_page_cache_has_nonnumeric_page_labels):
4756         * backend/ev-page-cache.h:
4757         * shell/ev-page-action.c: (update_pages_label):
4758         
4759         If all page labels are numeric, fallback to default
4760         way to display number of pages. See bug 173185.
4761
4762 2005-04-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4763
4764         * shell/ev-page-action.c: (ev_page_action_dispose):
4765         * shell/ev-view.c: (view_update_range_and_current_page):
4766         * shell/ev-window.c: (ev_window_dispose):
4767         
4768         Set page on scroll in continuous mode. Fixes bug 301986.
4769         Also cleanup callbacks on destroy of EvWindow and EvPageAction.
4770
4771 2005-04-26  Marco Pesenti Gritti <mpg@redhat.com>
4772
4773         * configure.ac:
4774
4775         Require poppler 0.3.0
4776
4777 2005-04-26  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
4778         
4779         * shell/Makefile.am, configure.ac: Fix build problems
4780         with t1lib. Bug 301996.
4781
4782 2005-04-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4783
4784         * shell/ev-view.c: (ev_view_scroll_event):
4785         
4786         Scroll up increase zoom
4787
4788 2005-04-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4789
4790         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
4791         (ev_view_set_sizing_mode),
4792         (ev_view_zoom_for_size_continuous_and_dual_page),
4793         (ev_view_zoom_for_size_continuous):
4794         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4795         (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
4796         (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
4797         (ev_window_init):
4798
4799         Control + Scroll does zooming, Shift + Scroll scrolls horizontally
4800         Fix for 165473 and 165472.
4801
4802 2005-04-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4803
4804         * po/POTFILES.in:
4805         * thumbnailer/Makefile.am:
4806         * thumbnailer/evince-thumbnailer-djvu.schemas.in:
4807         * thumbnailer/evince-thumbnailer-dvi.schemas.in:
4808         * thumbnailer/evince-thumbnailer.schemas.in:
4809         
4810         Make thumbnailer schemas translatable. Fix for bug 301773
4811         
4812         * thumbnailer/evince-thumbnailer-djvu.schemas:
4813         * thumbnailer/evince-thumbnailer-dvi.schemas:
4814         * thumbnailer/evince-thumbnailer.schemas:
4815
4816         Removed files
4817
4818 Sun Apr 24 01:37:39 2005  Jonathan Blandford  <jrb@redhat.com>
4819
4820         * shell/ev-view.c (ev_view_init): forgot to set this.
4821
4822 Sun Apr 24 01:07:27 2005  Jonathan Blandford  <jrb@redhat.com>
4823
4824         * shell/ev-view.c: (find_page_at_location),
4825         (get_link_at_location),
4826         (ev_view_set_show_border), (ev_view_set_spacing),
4827         (ev_view_zoom_for_size_continuous_and_dual_page),
4828         (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
4829         Also, add a quick fix measuring of widths.  Also, removed
4830         ev_view_set_spacing and ev_view_set_show_border.
4831         
4832         * shell/ev-window.c: (ev_window_unfullscreen),
4833         (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
4834
4835 2005-04-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4836
4837         * shell/ev-view.c: (view_update_range_and_current_page),
4838         (page_changed_cb):
4839         
4840         Fix crash on exit and scrolling to page in continuous view.
4841
4842 Sat Apr 23 13:13:04 2005  Jonathan Blandford  <jrb@redhat.com>
4843
4844         * TODO:
4845         * backend/ev-page-cache.c: (_ev_page_cache_new),
4846         (ev_page_cache_get_max_width_size),
4847         (ev_page_cache_get_max_height_size):
4848         * backend/ev-page-cache.h:
4849         * data/evince-ui.xml:
4850         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
4851         * shell/ev-view.c: (view_update_adjustments),
4852         (view_update_range_and_current_page), (get_bounding_box_size),
4853         (ev_view_size_request_continuous_and_dual_page),
4854         (ev_view_size_request_continuous),
4855         (ev_view_size_request_dual_page),
4856         (ev_view_size_request_single_page), (ev_view_size_request),
4857         (ev_view_size_allocate), (get_page_extents), (draw_one_page),
4858         (ev_view_bin_expose), (ev_view_expose_event),
4859         (ev_view_set_property), (ev_view_get_property),
4860         (ev_view_class_init), (ev_view_init), (ev_view_new),
4861         (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
4862         (ev_view_set_dual_page), (ev_view_set_full_screen),
4863         (ev_view_set_presentation), (ev_view_set_sizing_mode),
4864         (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
4865         (ev_view_zoom_out), (zoom_for_size_fit_width),
4866         (zoom_for_size_best_fit),
4867         (ev_view_zoom_for_size_continuous_and_dual_page),
4868         (ev_view_zoom_for_size_continuous),
4869         (ev_view_zoom_for_size_dual_page),
4870         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
4871         (ev_view_show_cursor), (ev_sizing_mode_get_type):
4872         * shell/ev-view.h:
4873         * shell/ev-window.c: (update_action_sensitivity),
4874         (ev_window_cmd_continuous), (ev_window_cmd_dual),
4875         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4876         (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
4877         (ev_window_cmd_view_zoom_out), (update_view_size),
4878         (ev_window_set_sizing_mode), (ev_window_init):
4879
4880         Add Continuous and Dual page modes.
4881
4882 2005-04-23  James Bowes  <bowes@cs.dal.ca>
4883
4884         * dvi/dvi-document.c: (dvi_document_load),
4885         (dvi_document_thumbnails_get_thumbnail),
4886         (dvi_document_init_params): Fix up some mixups between
4887         width and height to correct thumbnail rendering.
4888
4889 2005-04-23  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4890
4891         * dvi/mdvi-lib/private.h:
4892         * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
4893         
4894         Suppess output for kpathsea during font generation. Thanks to
4895         James Bowes
4896
4897 Fri Apr 22 19:57:46 2005  Jonathan Blandford  <jrb@redhat.com>
4898
4899         * NEWS:
4900         * configure.ac:
4901
4902         Release 0.2.1
4903
4904         * Makefile.am: fix distcheck.
4905
4906 2005-04-23  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4907
4908         * shell/ev-sidebar-links.c: (selection_changed_callback),
4909         (update_page_callback), (row_activated_callback),
4910         (job_finished_callback), (ev_sidebar_links_set_document):
4911         
4912         Fix for bug #169901. Double click on links expands tree.
4913
4914 2005-03-14  Bryan Clark  <clarkbw@cvs.gnome.org>
4915
4916         * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
4917         hard-coded style. Fix for bug 170111
4918
4919 2005-04-22  Kristian Høgsberg  <krh@redhat.com>
4920
4921         * shell/ev-view.c (highlight_find_results): Remove unnecessary
4922         locking.
4923
4924 2005-04-22  Bryan Clark  <clarkbw@cvs.gnome.org>
4925
4926         * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
4927
4928 2005-04-22  Marco Pesenti Gritti  <mpg@redhat.com>
4929
4930         * pdf/ev-poppler.cc:
4931         * shell/ev-view.c: (highlight_find_results):
4932
4933         Fix find on single page documents
4934
4935 2005-04-22  Bryan Clark  <clarkbw@cvs.gnome.org>
4936
4937         * data/evince.schemas.in: fix for bug 301390
4938
4939 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
4940
4941         * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
4942         (ev_view_zoom_out), (ev_view_zoom_normal):
4943         * shell/ev-view.h:
4944         * shell/ev-window.c: (update_action_sensitivity),
4945         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
4946         (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
4947         (ev_window_cmd_view_normal_size):
4948
4949         Fix normal size zoom. Make zoom in/zoom out unsensitive when
4950         they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
4951         better than oom. 
4952
4953 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
4954
4955         * configure.ac:
4956
4957         Depend on 2.57, 2.59 doesnt seem to be necessary
4958
4959 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
4960
4961         * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
4962         (create_tool_item):
4963
4964         Put back total number of pages as (1 of 1234)
4965
4966 Thu Apr 21 23:37:52 2005  Jonathan Blandford  <jrb@redhat.com>
4967
4968         * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
4969         remove the job.
4970
4971         * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
4972         function.  This helps debugging.
4973
4974 2005-04-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
4975
4976         * djvu/djvu-document.c: (djvu_document_class_init),
4977         (djvu_document_get_info), (djvu_document_document_iface_init):
4978         * dvi/dvi-document.c: (dvi_document_class_init),
4979         (dvi_document_get_info), (dvi_document_document_iface_init):
4980
4981        Dummy implementation of get_info method for dvi and djvu. Fix
4982        crashes with those backends
4983
4984 2005-04-20  Marco Pesenti Gritti <mpg@redhat.com>
4985
4986         * data/evince.desktop.in:
4987
4988         Add application/x-gzpostscript
4989
4990 2005-04-20  Bryan Clark  <clarkbw@cvs.gnome.org>
4991
4992         * data/evince.schemas.in: Added real long descriptions, 
4993         closes bug 172496 
4994
4995         * README: Added actual text, closes bug 171869
4996
4997 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
4998
4999         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5000
5001         Thumbnail page 0
5002
5003 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
5004
5005         * backend/ev-document-info.h:
5006
5007         s/GDate */GDate so we can just use g_free
5008
5009 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
5010
5011         * shell/ev-window.c: (update_document_mode),
5012         (ev_window_setup_document):
5013
5014         Show the window in fullscreen when specified by
5015         the document
5016
5017 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
5018
5019         * backend/ev-document.c: (ev_document_class_init),
5020         (ev_document_get_info), (ev_document_render_pixbuf):
5021         * backend/ev-document.h:
5022         * backend/ev-page-cache.c: (_ev_page_cache_new):
5023         * pdf/ev-poppler.cc:
5024         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5025         (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
5026         * ps/ps-document.c: (ps_document_class_init), (document_load),
5027         (ps_document_get_info), (ps_document_document_iface_init):
5028
5029         Remove get_title from the interface, we can just use document info
5030
5031 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
5032
5033         * backend/Makefile.am:
5034         * backend/ev-document.c: (ev_document_render_get_info):
5035         * backend/ev-document.h:
5036         * pdf/ev-poppler.cc:
5037
5038         Initial support for document info. Based on jrb patch.
5039
5040 2005-04-19  Paolo Borelli <pborelli@katamail.com>
5041
5042         * shell/ev-window.c: (ev_window_state_event),
5043         (ev_window_class_init), (ev_window_init):
5044         
5045         Doesn't show resize grip when maximized. See bug #301053
5046
5047 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
5048
5049         * po/POTFILES.in:
5050         
5051         ev-sidebar-thumbnails now has translatable labels
5052         
5053         * shell/Makefile.am:
5054         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
5055         (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
5056         (ev_sidebar_links_page_iface_init):
5057         * shell/ev-sidebar-links.h:
5058         * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
5059         (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
5060         (ev_sidebar_page_get_label):
5061         * shell/ev-sidebar-page.h:
5062         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
5063         (ev_sidebar_thumbnails_set_document),
5064         (ev_sidebar_thumbnails_support_document),
5065         (ev_sidebar_thumbnails_get_label),
5066         (ev_sidebar_thumbnails_page_iface_init):
5067         * shell/ev-sidebar-thumbnails.h:
5068         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5069         (ev_sidebar_set_document):
5070         * shell/ev-sidebar.h:
5071         * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
5072         
5073         Small rework of sidebar code. Now sidebar pages should implement
5074         EvSidebarPage interface. That makes page management in EvSidebar
5075         easier. See bug #164811 for details
5076
5077 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
5078
5079         * shell/ev-application.c: (ev_application_open):
5080         * shell/ev-document-types.c:
5081         
5082         Fix build error and small problem with application exit
5083
5084 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
5085
5086         * thumbnailer/Makefile.am:
5087         * thumbnailer/evince-thumbnailer-djvu.schemas:
5088         * thumbnailer/evince-thumbnailer-dvi.schemas:
5089         
5090         Conditionally install schemas for djvu/dvi thumbnailer
5091
5092 2005-04-18  David Malcolm  <dmalcolm@redhat.com>
5093
5094         * shell/ev-document-types.h: 
5095         * shell/ev-document-types.c: 
5096         New files, handling the mapping from mimetypes to backends
5097         
5098         * shell/ev-window.c: 
5099         * thumbnailer/evince-thumbnailer.c:     
5100         Use the ev-document-types code
5101         
5102         * shell/Makefile.am: 
5103         Added new convenience library libevbackendfactory_la, containing
5104         the new mimetype->backend logic; moved the backends into it.
5105
5106         * thumbnailer/Makefile.am:
5107         Make the thumbnailer link with the libevbackend.la convenience
5108         library, rather than having a duplicate of the backend logic here.
5109
5110 2005-04-18  Paolo Borelli  <pborelli@katamail.com>
5111
5112         * shell/ev-stock-icons.c: constify some vars.
5113         * shell/ev-window.c: ditto.
5114
5115 2005-04-18  Marco Pesenti Gritti  <mpg@redhat.com>
5116
5117         * ps/ps-document.c (get_page_orientation):
5118
5119         Respect document orientation 
5120
5121 2005-04-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
5122
5123         * djvu/Makefile.am:
5124         * dvi/Makefile.am:
5125         * shell/Makefile.am:
5126         
5127         Move library dependencies to components.
5128         
5129         * shell/ev-window.c: (update_window_title),
5130         (start_loading_document):
5131         
5132         Fix display of uris with spaces. Bug 168358.
5133
5134 Sat Apr 16 18:53:47 2005  Jonathan Blandford  <jrb@redhat.com>
5135
5136         * shell/ev-sidebar-links.c: (selection_changed_cb):
5137         * shell/ev-view.c: (ev_view_finalize), (go_to_link),
5138         (ev_view_button_release_event), (ev_view_set_document):
5139         * shell/ev-view.h:
5140         * shell/ev-window.c: (find_bar_search_changed_cb):
5141         * shell/ev-window.h: Minor cleanups removing some dead code.
5142
5143 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
5144
5145         * backend/ev-page-cache.c: (_ev_page_cache_new):
5146         
5147         Set current page to 0 if document has pages.
5148
5149 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
5150
5151         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5152
5153         Initialize GError to NULL, fix a crash when loading fails.
5154
5155 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
5156
5157         * shell/ev-window.c: (update_view_size):
5158
5159         Calculate shadow size only when there is actually
5160         a shadow.
5161
5162 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
5163
5164         * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
5165         * shell/ev-view.h:
5166
5167         Allow setting view spacing, default to 0
5168
5169         * shell/ev-window.c: (ev_window_unfullscreen),
5170         (ev_window_cmd_view_fullscreen), (ev_window_init):
5171
5172         Remove spacing in fullscreen mode
5173
5174 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
5175
5176         * shell/ev-view.c: (compute_border), (compute_zoom_factor),
5177         (ev_view_size_request), (expose_bin_window),
5178         (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
5179         * shell/ev-view.h:
5180         * shell/ev-window.c: (ev_window_unfullscreen),
5181         (ev_window_cmd_view_fullscreen):
5182
5183         Do not draw the border in fulscreen
5184
5185 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
5186
5187         * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
5188         (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
5189         (find_page_at_location), (page_changed_cb):
5190
5191         Rework border calculation, so that I can more easily disable it.
5192         Code somewhat cleaner too.
5193
5194 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
5195
5196         * backend/ev-page-cache.c: (ev_page_cache_init),
5197         (_ev_page_cache_new):
5198
5199         Remove some assertions, documents can have 0 pages.
5200         Make initial current page -1.
5201
5202         * shell/ev-page-action.c: (page_changed_cb):
5203
5204         Show "" if current page is -1
5205
5206         * shell/ev-window.c: (update_action_sensitivity),
5207         (ev_window_setup_document):
5208
5209         When document has 0 pages do not set the view
5210         and make nearly everything insensitive.
5211
5212 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
5213
5214         * shell/ev-page-view.c:
5215         * shell/ev-page-view.h:
5216
5217         Remove unused files.
5218         
5219         * shell/ev-sidebar-thumbnails.c:
5220         (ev_sidebar_thumbnails_set_document):
5221         * shell/ev-sidebar.c: (ev_sidebar_set_document),
5222         (ev_sidebar_supports_document):
5223         * shell/ev-sidebar.h:
5224         * shell/ev-window.c: (ev_window_setup_document):
5225         
5226         Doesn't show thumbnails if document has 1 page. Make
5227         sidebar menu entries sensitive only if if they have 
5228         sense. Fix bug 164811. 
5229
5230 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
5231
5232         * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
5233         (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
5234         (ev_view_zoom_out), (ev_view_set_size):
5235
5236         Rework sizing to deal with documents with not uniform page
5237         size.
5238
5239 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
5240
5241         * backend/ev-page-cache.c: (_ev_page_cache_new):
5242
5243         Fix several page size caching bugs
5244
5245 2005-04-15  Luca Ferretti <elle.uca@libero.it>
5246
5247         * shell/ev-window.c: (set_action_properties):
5248
5249         Make all toolbar items translatable
5250
5251 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
5252
5253         * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
5254         (save_page_list), (ps_document_save),
5255         (ps_document_document_iface_init), (ps_document_ps_export_begin),
5256         (ps_document_ps_export_do_page), (ps_document_ps_export_end),
5257         (ps_document_ps_exporter_iface_init):
5258         * ps/ps-document.h:
5259
5260         Based on a patch by J�rg Billeter <j@bitron.ch>
5261         
5262         Implement print and save a copy for the ps backend.
5263
5264 2005-04-14   Marco Pesenti Gritti <mpg@redhat.com>
5265
5266         * backend/ev-document.h:
5267         * djvu/djvu-document.c: (djvu_document_can_get_text),
5268         (djvu_document_document_iface_init):
5269         * dvi/dvi-document.c: (dvi_document_can_get_text),
5270         (dvi_document_document_iface_init):
5271         * pdf/ev-poppler.cc:
5272         * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
5273         (pixbuf_document_document_iface_init):
5274         * ps/ps-document.c: (ps_document_can_get_text),
5275         (ps_document_document_iface_init):
5276         * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
5277         * shell/ev-window.c: (update_action_sensitivity):
5278
5279         Fix the crash when trying to copy in backends that doesnt
5280         support it. We can implement a better solution once we
5281         do real text selection.
5282
5283 2005-04-12  Marco Pesenti Gritti <mpg@redhat.com>
5284
5285         * data/evince-ui.xml:
5286         * shell/ev-window.c: (ev_window_cmd_escape):
5287         
5288         Work around the Escape conflict (find bar and unfullscreen)
5289
5290 2005-04-12  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
5291
5292         * backend/ev-page-cache.c: (ev_page_cache_next_page):
5293         
5294         Fix for #300233. Next page correctly handles document end.
5295         
5296         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
5297         (ev_sidebar_thumbnails_class_init),
5298         (ev_sidebar_thumbnails_set_document),
5299         (ev_sidebar_thumbnails_clear_job),
5300         (ev_sidebar_thumbnails_clear_model):
5301         
5302         Cleanup thumbnail jobs on document changes.
5303         
5304         * shell/ev-view.c: (add_scroll_binding_keypad),
5305         (add_scroll_binding_shifted), (ev_view_class_init):
5306         
5307         Shift + Space scrolls up. Fix for #173184
5308         
5309         * shell/ev-window.c: (ev_window_open_page),
5310         (ev_window_cmd_view_reload):
5311         
5312         Fix reload (Bug #300094)
5313
5314 2005-04-09  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
5315
5316         
5317         * dvi/mdvi-lib/assoc.c:
5318         * dvi/mdvi-lib/assoc.h: Removed garbage files
5319         
5320         * dvi/mdvi-lib/bitmap.c:
5321         * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
5322         (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
5323         * dvi/mdvi-lib/color.h: Antialias of rules
5324         
5325         * dvi/mdvi-lib/common.h:
5326         * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
5327         (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
5328         * dvi/mdvi-lib/files.c:
5329         * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
5330         * dvi/mdvi-lib/mdvi.h:
5331         * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
5332         * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
5333         * dvi/mdvi-lib/util.c: Fix compile warnings
5334         
5335         * dvi/dvi-document.c:
5336         (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
5337         (dvi_document_thumbnails_get_thumbnail),
5338         (dvi_document_document_thumbnails_iface_init):
5339         * dvi/mdvi-lib/Makefile.am:
5340         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
5341         (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
5342         
5343         Dvi backend now renders thumbnails
5344
5345 2005-04-09  Christian Persch  <chpe@cvs.gnome.org>
5346
5347         * shell/main.c: (main): 
5348         
5349         Save accelerators on exit. Fixes bug #172095.
5350
5351 Sat Apr  9 01:05:09 2005  Jonathan Blandford  <jrb@redhat.com>
5352
5353         * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
5354         update priority" comment.
5355
5356         * backend/ev-job-queue.c: Give a way to change priority.
5357
5358 Sat Apr  9 00:05:36 2005  Jonathan Blandford  <jrb@redhat.com>
5359
5360         * shell/ev-page-action.c: Fix logic.
5361
5362 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
5363
5364         * shell/ev-view.c: (ev_view_can_find_next):
5365         * shell/ev-window.c: (ev_window_setup_document):
5366
5367         Check that the document supports find
5368
5369 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
5370
5371         * data/evince-ui.xml:
5372         * shell/ev-view.c: (ev_view_can_find_next):
5373         * shell/ev-view.h:
5374         * shell/ev-window.c: (update_action_sensitivity),
5375         (find_changed_cb), (ev_window_setup_document),
5376         (ev_window_cmd_edit_find_next):
5377
5378         Add Edit->Find Next
5379
5380 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
5381
5382         * pdf/ev-poppler.cc:
5383         * shell/ev-print-job.c: (idle_print_handler):
5384
5385         Make printing work again
5386
5387 Fri Apr  8 01:12:24 2005  Jonathan Blandford  <jrb@redhat.com>
5388
5389         * shell/ev-page-action.h:
5390         * shell/ev-page-action.c: (ev_page_action_widget_init),
5391         (ev_page_action_widget_class_init), (page_changed_cb),
5392         (create_tool_item), (update_page_cache), (build_new_tree_cb),
5393         (get_filter_model_from_model), (match_selected_cb),
5394         (display_completion_text), (match_completion), (update_model),
5395         (connect_proxy), (ev_page_action_set_property),
5396         (ev_page_action_get_property), (ev_page_action_set_document),
5397         (ev_page_action_set_model), (ev_page_action_class_init): Big
5398         reworking to make completions work iff we have >= GTK-2.7.0
5399                 
5400         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
5401         (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
5402         (job_finished_cb): We now have a 'model' property that is set when
5403         the links are loaded.  This can be caught with "notify::model"
5404
5405         * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
5406         listen for the model to be set, and propagate it to the action.
5407
5408 2005-04-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
5409
5410         * cut-n-paste/recent-files/egg-recent-item.c:
5411         (egg_recent_item_set_uri), (make_valid_utf8),
5412         (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
5413         * cut-n-paste/recent-files/egg-recent-item.h:
5414         
5415         Update egg-recent from libegg. This should fix long
5416         startup problem. For details see
5417         http://bugzilla.gnome.org/show_bug.cgi?id=160531
5418
5419 2005-04-07  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
5420
5421         * cut-n-paste/recent-files/Makefile.am:
5422         * data/evince-ui.xml, shell/Makefile.am:
5423         * shell/ev-application.c, shell/ev-application.h:
5424         * shell/ev-window.c: Recent files support.
5425         
5426         * configure.ac: Added "ru" to ALL_LINGUAS.
5427         
5428         * dvju: new backend to support DJVU files.
5429         * dvi: new backend to support DVI.
5430
5431         * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
5432         * ev-application.c: Support for new backends.
5433         
5434         * help, ev-window.c, main.c shell/Makefile.am: 
5435         Evince user documentation.
5436
5437 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
5438
5439         * po/POTFILES.in:
5440         * shell/ev-window.c:
5441         * thumbnailer/evince-thumbnailer.c:
5442
5443         s/pdf-document/ev-poppler
5444
5445 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
5446
5447         * NEWS:
5448         * configure.ac:
5449
5450         Release 0.2.0
5451
5452         * ps/ps-document.c: (setup_pixmap):
5453
5454         Remove debug code
5455
5456 2005-04-05  Kristian Høgsberg  <krh@redhat.com>
5457
5458         * backend/ev-page-cache.c (ev_page_cache_next_page): 
5459         * shell/ev-window.c (ev_window_cmd_go_next_page) 
5460         (ev_window_cmd_go_first_page): Fix of by one errors.
5461
5462 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
5463
5464         * ps/ps-document.c: (get_page_box):
5465
5466         Fix page size calculation
5467
5468 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
5469
5470         * ps/ps-document.c: (ps_document_init), (push_pixbuf),
5471         (ps_document_cleanup), (setup_pixmap), (get_page_box),
5472         (get_page_orientation), (setup_page), (document_load),
5473         (ps_document_get_page_size), (render_pixbuf_idle):
5474         * ps/ps-document.h:
5475
5476         More refactoring to adapt to EvDocument changes
5477
5478 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
5479
5480         * ps/ps-document.c: (start_interpreter):
5481
5482         Actually add alpha args
5483
5484 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
5485
5486         * pdf/ev-poppler.cc:
5487
5488         Make clipboard work again
5489
5490 2005-04-04  Kristian Høgsberg  <krh@redhat.com>
5491
5492         Make searching work again.
5493         
5494         * backend/ev-document.c:
5495         * backend/ev-document.h:
5496         * backend/ev-document-find.c:
5497         * backend/ev-document-find.h: Change EvDocumentIface so we no
5498         longer store the current page or zoom level in the document.  The
5499         consequence is that all calls that operate on the current page now
5500         instead take the page number as an extra argument, and all
5501         coordinates are now doubles in document coordinate system.
5502
5503         * pdf/ev-poppler.cc:
5504         * pixbuf/pixbuf-document.c:
5505         * ps/ps-document.c: Update backends accordingly.
5506
5507 2005-04-04  Marco Pesenti Gritti <marco@gnome.org>
5508
5509         * autogen.sh:
5510
5511         Add required gettext version
5512
5513 Sat Apr  2 18:57:00 2005  Jonathan Blandford  <jrb@redhat.com>
5514
5515         * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
5516         make F1 bring up non-existent help.
5517
5518         * shell/eggfindbar.c: Patch from Christian Persch to sync to
5519         epiphany's find bar, #167477
5520
5521         * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
5522         <emil@nishra.com> to add space-bar scrolling, 
5523
5524         * shell/ev-window.c (static GtkActionEntry entries): add default
5525         keybinding for Help (F1)
5526         Fixes #171068
5527
5528         * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
5529         changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
5530         170110
5531
5532 2005-04-01  David Malcolm  <dmalcolm@redhat.com>
5533
5534         * Makefile.am: 
5535         * pixbuf/pixbuf-document.c: 
5536
5537         Got pixbuf backend working again
5538
5539 2005-04-01  Steve Murphy  <murf@e-tools.com>
5540
5541         * configure.in: Added "rw" to ALL_LINGUAS.
5542
5543 Fri Apr  1 02:33:41 2005  Jonathan Blandford  <jrb@redhat.com>
5544
5545         * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
5546         model types, noticed by Martin Kretzschmar.
5547
5548 2005-04-01  Kristian Høgsberg  <krh@redhat.com>
5549
5550         * pdf/ev-poppler.cc: Implement search based on
5551         poppler_page_find_text().  Currently a bit crude since we remember
5552         all matches from all pages.  Also, we grab the big document lock
5553         when we search since searching changes the underlying stream and
5554         thus conflicts with the rendering thread.
5555         
5556         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
5557         (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
5558         (ev_view_find_previous): Fix some page indexes to be 0 based,
5559         offset rubber band by view offset,
5560
5561 Fri Apr 01 09:21:12 2005  Pablo Saratxaga  <pablo@mandrakesoft.com>
5562
5563         * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
5564
5565 Fri Apr  1 01:59:39 2005  Jonathan Blandford  <jrb@redhat.com>
5566
5567         * shell/ev-page-action.c: Changed to use page labels now.  Rewrote
5568         completely because I didn't understand GtkActions.  I should
5569         read Marco's code more carefully in the future.
5570
5571         * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
5572         function
5573
5574 2005-03-31  Kristian Høgsberg  <krh@redhat.com>
5575
5576         * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
5577         PopplerRectangle change from poppler CVS.
5578
5579 Thu Mar 31 13:27:50 2005  Jonathan Blandford  <jrb@redhat.com>
5580
5581         * backend/ev-document.c: (ev_document_get_page_label):
5582         * backend/ev-document.h:
5583         * backend/ev-page-cache.c: (_ev_page_cache_new),
5584         (ev_page_cache_get_page_label):
5585         * backend/ev-page-cache.h:
5586         * pdf/ev-poppler.cc:
5587         * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
5588         (links_page_num_func):
5589         * shell/ev-sidebar-thumbnails.c:
5590         (ev_sidebar_thumbnails_set_document):
5591         * shell/ev-view.c: (status_message_from_link),
5592         (ev_view_motion_notify_event):
5593         * shell/ev-window.c: (document_supports_sidebar): Add in page
5594         label support.  It's not perfect yet, but it's the first 'feature'
5595         in a while.
5596         Also, fix a bogus comment noticed by crispin. 
5597
5598 Thu Mar 31 01:21:58 2005  Jonathan Blandford  <jrb@redhat.com>
5599
5600         * Makefile.am: Remove pixbuf backend for now
5601
5602         * configure.ac: Require poppler-glib instead of just poppler.
5603
5604         * backend/ev-document-thumbnails.h: Add a comment
5605
5606         * backend/ev-document.h:
5607         * backend/ev-document.c: (ev_document_class_init),
5608         (ev_document_load), (ev_document_get_link),
5609         (ev_document_get_links): Remove 3 methods and add get_links.
5610         Also, made 0 based.
5611
5612         * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
5613         * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
5614
5615         * backend/ev-link.c: (ev_link_set_title),
5616         (ev_link_mapping_free_foreach), (ev_link_mapping_free),
5617         (ev_link_mapping_find):
5618         * backend/ev-link.h: Allow NULL titles.  Also, introduce a mapping link.
5619         
5620         * backend/ev-page-cache.c: (ev_page_cache_init),
5621         (_ev_page_cache_new), (ev_page_cache_set_current_page),
5622         (ev_page_cache_get_size), (ev_page_cache_next_page),
5623         (ev_page_cache_prev_page): Fix to be 0 based.
5624
5625         * pdf/Makefile.am: 
5626         * pdf/ev-poppler.h:
5627         * pdf/ev-poppler.cc: New backend.
5628         
5629         * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
5630         (ps_document_get_page), (ps_document_document_iface_init):
5631
5632         * shell/ev-pixbuf-cache.h:
5633         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5634         (dispose_cache_job_info), (job_finished_cb), (move_one_job),
5635         (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
5636         (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
5637         (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
5638         Fix up code to grab a page cache per each doc.  Also, fix to be 0
5639         based.
5640         
5641         * shell/ev-sidebar-thumbnails.c:
5642         (ev_sidebar_tree_selection_changed), (page_changed_cb),
5643         (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
5644
5645         * shell/ev-view.c: (status_message_from_link),
5646         (find_page_at_location), (get_link_at_location),
5647         (ev_view_motion_notify_event), (ev_view_button_release_event),
5648         (ev_view_init): Use the new link code.  Fix to be 0 based.
5649
5650         * shell/ev-window.c: (update_action_sensitivity),
5651         (document_supports_sidebar): 0 based.
5652
5653 Fri Mar 25 16:55:58 2005  Jonathan Blandford  <jrb@redhat.com>
5654
5655         * pdf/pdf-document.cc: Patch from Fernando Herrera
5656         <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
5657         *blush*
5658
5659 Wed Mar 23 23:49:41 2005  Jonathan Blandford  <jrb@redhat.com>
5660
5661         * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
5662         1 to the page, as this seems to be 1 based.  I thought we has this
5663         fixed.  grump.
5664
5665 2005-03-23  Marco Pesenti Gritti <marco@gnome.org>
5666
5667         * TODO:
5668         * backend/Makefile.am:
5669         * backend/ev-document-links.c:
5670         (ev_document_links_has_document_links),
5671         (ev_document_links_get_links_model):
5672         * backend/ev-document-links.h:
5673         * backend/ev-document.c: (ev_document_get_page_cache),
5674         (ev_document_get_doc_mutex), (ev_document_load),
5675         (ev_document_save), (ev_document_get_title),
5676         (ev_document_get_n_pages), (ev_document_set_page),
5677         (ev_document_get_page), (ev_document_set_target),
5678         (ev_document_set_scale), (ev_document_set_page_offset),
5679         (ev_document_get_page_size), (ev_document_get_text),
5680         (ev_document_get_link), (ev_document_render),
5681         (ev_document_render_pixbuf), (ev_document_scale_changed):
5682         * backend/ev-document.h:
5683         * backend/ev-job-queue.c: (remove_object_from_queue),
5684         (notify_finished), (handle_job), (search_for_jobs_unlocked),
5685         (no_jobs_available_unlocked), (ev_render_thread),
5686         (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
5687         (ev_job_queue_remove_job):
5688         * backend/ev-job-queue.h:
5689         * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
5690         (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
5691         (ev_job_links_class_init), (ev_job_render_init),
5692         (ev_job_render_dispose), (ev_job_render_class_init),
5693         (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
5694         (ev_job_thumbnail_class_init), (ev_job_finished),
5695         (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
5696         (ev_job_render_run), (ev_job_thumbnail_new),
5697         (ev_job_thumbnail_run):
5698         * backend/ev-jobs.h:
5699         * backend/ev-link.c:
5700         * backend/ev-link.h:
5701         * backend/ev-page-cache.c: (ev_page_cache_init),
5702         (ev_page_cache_class_init), (ev_page_cache_finalize),
5703         (_ev_page_cache_new), (ev_page_cache_get_n_pages),
5704         (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
5705         (ev_page_cache_set_link), (ev_page_cache_get_title),
5706         (ev_page_cache_get_size), (ev_page_cache_next_page),
5707         (ev_page_cache_prev_page):
5708         * backend/ev-page-cache.h:
5709         * pdf/pdf-document.cc:
5710         * ps/gsdefaults.c:
5711         * ps/gsdefaults.h:
5712         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5713         (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
5714         (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
5715         (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
5716         (is_interpreter_ready), (output), (catchPipe), (input),
5717         (start_interpreter), (check_filecompressed), (compute_dimensions),
5718         (ps_document_enable_interpreter), (document_load),
5719         (ps_document_next_page), (render_page), (ps_document_set_page),
5720         (ps_document_set_scale), (render_pixbuf_idle),
5721         (ps_document_render_pixbuf), (ps_document_document_iface_init):
5722         * ps/ps-document.h:
5723         * shell/Makefile.am:
5724         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
5725         (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
5726         (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
5727         (ev_pixbuf_cache_new), (job_finished_cb),
5728         (check_job_size_and_unref), (move_one_job),
5729         (ev_pixbuf_cache_update_range), (find_job_cache),
5730         (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
5731         (ev_pixbuf_cache_add_jobs_if_needed),
5732         (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
5733         * shell/ev-pixbuf-cache.h:
5734         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
5735         (idle_print_handler):
5736         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5737         (selection_changed_cb), (create_loading_model),
5738         (ev_sidebar_links_construct), (links_page_num_func),
5739         (ev_sidebar_links_clear_document), (update_page_callback_foreach),
5740         (update_page_callback), (job_finished_cb),
5741         (ev_sidebar_links_set_document):
5742         * shell/ev-sidebar-thumbnails.c:
5743         (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
5744         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
5745         (page_changed_cb), (thumbnail_job_completed_callback),
5746         (ev_sidebar_thumbnails_set_document):
5747         * shell/ev-sidebar-thumbnails.h:
5748         * shell/ev-sidebar.c: (ev_sidebar_set_document):
5749         * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
5750         (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
5751         (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
5752         (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
5753         (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
5754         (ev_view_button_release_event), (ev_view_scroll_view),
5755         (ev_view_class_init), (ev_view_init), (update_find_status_message),
5756         (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
5757         (ev_view_new), (job_finished_cb), (page_changed_cb),
5758         (ev_view_set_document), (go_to_link), (ev_view_zoom),
5759         (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
5760         (ev_view_find_previous):
5761         * shell/ev-view.h:
5762         * shell/ev-window.c: (update_action_sensitivity),
5763         (ev_window_open_page), (update_window_title), (update_total_pages),
5764         (page_changed_cb), (ev_window_setup_document),
5765         (password_dialog_response), (ev_window_cmd_save_as),
5766         (ev_window_print), (ev_window_cmd_go_previous_page),
5767         (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
5768         (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
5769         (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
5770         * shell/main.c: (main):
5771
5772         Merge evince-threads branch
5773
5774 2005-03-16  Žygimantas Beručka  <uid0@akl.lt>
5775
5776         * configure.ac: Added "lt" to ALL_LINGUAS.
5777
5778 2005-03-14  Marco Pesenti Gritti  <marco@gnome.org>
5779
5780         * NEWS:
5781         * configure.ac:
5782
5783         Release 0.1.9
5784
5785 2005-03-13  Fernando Herrera  <fherrera@onirica.com>
5786
5787         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5788
5789         Fix here also the thumbnails 1-basedness :)
5790
5791 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
5792
5793         * NEWS:
5794         * configure.ac:
5795
5796         Release 0.1.8
5797
5798 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
5799
5800         * pdf/pdf-document.cc:
5801         * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
5802         (do_one_iteration), (ev_sidebar_thumbnails_set_document):
5803
5804         Fix the mess we did with thumbnails and 1-basedness
5805
5806 2005-03-12  Changwoo Ryu  <cwryu@debian.org>
5807
5808         * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
5809
5810 2005-03-09  Marco Pesenti Gritti  <marco@gnome.org>
5811
5812         * NEWS:
5813         * configure.ac:
5814
5815         Release 0.1.7
5816
5817 2005-03-08  Marco Pesenti Gritti  <marco@gnome.org>
5818
5819         * ps/Makefile.am:
5820         * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
5821         (gtk_gs_defaults_get_alpha_parameters),
5822         (gtk_gs_defaults_get_ungzip_cmd),
5823         (gtk_gs_defaults_get_unbzip2_cmd):
5824         * ps/gsdefaults.h:
5825         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
5826         (ps_document_get_orientation), (document_load),
5827         (ps_document_goto_page), (ps_document_set_page_size):
5828         * ps/ps-document.h:
5829
5830         Some more sanitization of the ps backend. Remove a lot
5831         of unused code and do not base our defaults on ggv
5832         preferences (ugh!)
5833
5834 2005-03-08  Fernando Herrera  <fherrera@onirica.com>
5835
5836         * thumbnailer/evince-thumbnailer.schemas:
5837         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5838         (main): add -s option for thumbnail size.
5839
5840 2005-03-07  Christian Persch  <chpe@cvs.gnome.org>
5841
5842         * configure.ac:
5843
5844         AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
5845         remove it.
5846
5847 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
5848
5849         * pdf/pdf-document.cc:
5850
5851         Remove 4 pixels of useless border from the
5852         thumbnail.
5853
5854 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
5855
5856         * backend/ev-document-thumbnails.c:
5857         (ev_document_thumbnails_get_thumbnail):
5858         * backend/ev-document-thumbnails.h:
5859
5860         Rework API a bit. Add a border flag and
5861         change sizing logic (now the size we specify
5862         applies to the bigger dimension).
5863
5864         * pdf/pdf-document.cc:
5865         * pixbuf/pixbuf-document.c:
5866         (pixbuf_document_thumbnails_get_thumbnail):
5867         * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
5868         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5869
5870         Adapt to the new API and do not draw a border for nautilus
5871         thumbnailer.
5872
5873 2005-03-03  Fernando Herrera  <fherrera@onirica.com>
5874
5875         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
5876         take thumbnails from page "0" instead of "1". Added a copyright header.
5877
5878 2005-03-03  Jens Granseuer  <jensgr@gmx.net>
5879
5880         * ps/ps-document.c: (set_up_page), (start_interpreter):
5881
5882         Make it C89 compliant
5883
5884 2005-03-03  Marco Pesenti Gritti  <marco@gnome.org>
5885
5886         * Makefile.am:
5887         * configure.ac:
5888         * pdf/.cvsignore:
5889         * pdf/pdf-document.cc:
5890         * thumbnailer/Makefile.am:
5891         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
5892         (main):
5893         * thumbnailer/evince-thumbnailer.schemas:
5894         * thumbnailer/pdf-icon.png:
5895
5896         Add a nautilus thumbnailer.
5897         Based on patch by Fernando Herrera <fherrera@onirica.com>.
5898
5899 2005-03-02  Marco Pesenti Gritti  <marco@gnome.org>
5900
5901         * NEWS:
5902         * configure.ac:
5903         * po/POTFILES.in:
5904
5905         Release 0.1.6
5906
5907 2005-03-01  Kristian Høgsberg  <krh@redhat.com>
5908
5909         Use poppler instead of including xpdf source code.  Poppler is a
5910         fork of xpdf to build it as a shared library. See
5911         http://freedesktop.org/wiki/Software/poppler.
5912
5913         * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
5914         xpdf fork.
5915         
5916         * pdf/Makefile.am: Build libpdfdocument.a here.
5917         
5918         * pdf/GDKSplashOutputDev.cc:
5919         * pdf/GDKSplashOutputDev.h:
5920         * pdf/GnomeVFSStream.cc:
5921         * pdf/GnomeVFSStream.h:
5922         * pdf-document.cc:
5923         * pdf-document.h:
5924         * test-gdk-output-dev.cc
5925         * Thumb.cc:
5926         * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
5927         against poppler.
5928
5929 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5930
5931         * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
5932
5933         Clear idle stack before unsetting the document
5934
5935 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5936
5937         * ps/ps-document.c: (ps_document_widget_event),
5938         (ps_document_set_target), (ps_document_finalize),
5939         (ps_document_get_page):
5940
5941         Disconnect the widget event signal on finalize.
5942         Some code cleanups.
5943
5944 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5945
5946         * ps/ps-document.c: (set_up_page):
5947
5948         If there is no bpixmap create one, even if size
5949         is not changed.
5950
5951 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5952
5953         * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
5954         (set_up_page), (document_load), (ps_document_set_zoom):
5955
5956         Default page is 0. Calculate size even when we have no
5957         target yet.
5958
5959 2005-02-28  Carlos Garcia Campos <carlosgc@gnome.org>
5960
5961         * shell/ev-sidebar.c: expand the selection widget to be always as
5962         wide as the sidebar
5963
5964 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5965
5966         * shell/ev-sidebar-thumbnails.c:
5967         (ev_sidebar_thumbnails_set_document):
5968
5969         Clear the list store when setting document
5970
5971 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5972
5973         * shell/ev-page-action.c: (update_entry), (sync_entry),
5974         (activate_cb), (entry_size_request_cb), (create_tool_item),
5975         (connect_proxy):
5976
5977         Use an entry for the page control instead of spinbuttons
5978
5979 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
5980
5981         * data/evince.schemas.in:
5982
5983         Correct confusing string
5984
5985 Sun Feb 27 23:00:31 2005  Jonathan Blandford  <jrb@redhat.com>
5986
5987         * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
5988         for real.  Gosh, how long has this been broken.
5989
5990         * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
5991         check for a NULL link.  We crash otherwise.
5992
5993 2005-02-27  Marco Pesenti Gritti  <marco@gnome.org>
5994
5995         * NEWS:
5996         * configure.ac:
5997
5998         Release 0.1.5
5999
6000 2005-02-25  Sebastien Bacher  <seb128@debian.org>
6001
6002         * configure.ac: add the french translation.
6003
6004 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
6005
6006         * shell/ev-window.c:
6007
6008         Remove unused header -> fix distcheck
6009
6010 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
6011
6012         * shell/ev-window.c: (update_window_title),
6013         (ev_window_popup_password_dialog):
6014
6015         Unescape filename for display
6016
6017 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
6018
6019         * pdf/xpdf/pdf-document.cc:
6020
6021         In get_page_size deal with rotation. Also
6022         cleanup the function a bit.
6023
6024 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
6025
6026         * pdf/xpdf/pdf-document.cc:
6027
6028         Fix crash when opening in new window
6029
6030 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
6031
6032         * configure.ac:
6033
6034         Check ghostscript >= 7
6035
6036 2005-02-25  Pedro Villavicencio <pvillavi@gnome.cl>
6037
6038         * shell/ev-window.c:
6039
6040         Make page width the default sizing mode
6041
6042 2005-02-25  Carlos Garcia Campos <carlosgc@gnome.org>
6043             Marco Pesenti Gritti <marco@gnome.org>
6044
6045         * shell/ev-window.c: Remember the sidebar size
6046
6047         * data/evince.schemas.in: Add a new gconf key to store the size of
6048         the sidebar
6049
6050 2005-02-24  Kai Willadsen  <kaiw@itee.uq.edu.au>
6051
6052         * data/evince-ui.xml:
6053         * shell/ev-window.c: (update_action_sensitivity),
6054         (ev_window_cmd_view_reload):
6055         
6056         Add a "Reload" action and menu entry
6057
6058 Thu Feb 24 23:07:33 2005  Jonathan Blandford  <jrb@redhat.com>
6059
6060         * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
6061         iff the type doesn't support thumbnailing and indexing.
6062
6063 2005-02-24  Martin Kretzschmar  <martink@gnome.org>
6064
6065         * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
6066
6067 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
6068
6069         * pdf/splash/Splash.cc:
6070
6071         Port fix for a crasher from kde bug
6072         http://bugs.kde.org/show_bug.cgi?id=97131
6073
6074 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
6075
6076         * pdf/xpdf/pdf-document.cc:
6077
6078         Return a link even if it's of an unrecognized
6079         type. Otherwise we go in an infinte cycle.
6080
6081 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
6082
6083         * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
6084         (size_allocate_cb), (ev_window_set_sizing_mode):
6085
6086         Update size when switching mode
6087
6088 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
6089
6090         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
6091         (ev_window_cmd_view_page_width), (update_sizing_buttons),
6092         (ev_window_cmd_view_normal_size):
6093
6094         Fix size toggle buttons behavior
6095
6096 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
6097
6098         * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
6099         (doc_rect_to_view_rect), (ev_view_size_allocate),
6100         (expose_bin_window), (ev_view_select_all), (page_changed_callback),
6101         (scale_changed_callback):
6102
6103         Do not cache offsets in size_allocate.
6104
6105 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
6106
6107         * shell/ev-view.c: (ev_view_size_allocate):
6108
6109         Calculate offsets before calling the parent
6110         class (which does a redraw)
6111
6112 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
6113
6114         * pdf/xpdf/pdf-document.cc:
6115
6116         Fix a crasher on exit. Unused code, put a TODO
6117
6118 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
6119
6120         * backend/ev-document.c: (ev_document_class_init),
6121         (ev_document_page_changed), (ev_document_scale_changed):
6122         * backend/ev-document.h:
6123
6124         Separate page/scale notifications
6125
6126         * pdf/xpdf/pdf-document.cc:
6127
6128         Emit the new signals.
6129         Do not display the pdf page in _render, do it
6130         when scale/page are requested.
6131
6132         * ps/ps-document.c: (ps_document_set_zoom),
6133         (ps_document_widget_event):
6134         * ps/ps-document.h:
6135
6136         Emit the new signals.
6137
6138         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
6139         (ev_view_init), (page_changed_callback), (scale_changed_callback),
6140         (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
6141         (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
6142         * shell/ev-view.h:
6143         * shell/ev-window.c: (ev_window_cmd_view_normal_size),
6144         (ev_window_cmd_view_page_width), (size_allocate_cb),
6145         (ev_window_set_sizing_mode):
6146
6147         Rework sizing to be pixel based.
6148         There are bugs but should be already way better.
6149
6150 2005-02-23  Marco Pesenti Gritti  <marco@gnome.org>
6151
6152         * shell/ev-window.c: (ev_window_init):
6153
6154         Do not allow to shrink sidebar smaller then
6155         child requisition
6156
6157 2005-02-23  Carlos Garcia Campos <carlosgc@gnome.org> 
6158
6159         * shell/ev-sidebar.[ch]
6160         * shell/ev-window.c:
6161
6162         Improved sidebar widget. Fixes #166683
6163
6164 2005-02-23  Tommi Vainikainen  <thv@iki.fi>
6165
6166         * shell/ev-view.c (update_find_status_message): Give translators
6167         more flexibility with ngettext plural handling.
6168
6169 Mon Feb 21 17:52:08 2005  Jonathan Blandford  <jrb@redhat.com>
6170
6171         * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
6172         from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
6173         page when we get the page size.
6174
6175 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
6176
6177         * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
6178
6179         ps pages are 0 based, convert 
6180
6181 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
6182
6183         * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
6184
6185         Initialize correct parent class. Set GError on document load
6186
6187 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
6188
6189         * pdf/xpdf/pdf-document.cc:
6190
6191         Fixup selection offset calculation
6192
6193         * shell/ev-view.c: (view_rect_to_doc_rect),
6194         (doc_rect_to_view_rect), (ev_view_size_allocate),
6195         (expose_bin_window), (ev_view_select_all), (ev_view_copy),
6196         (ev_view_primary_get_cb), (ev_view_motion_notify_event):
6197
6198         Store selection as document relative, so that zooming
6199         and offset changing doesnt break it.
6200
6201 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
6202
6203         * shell/ev-view.c: (ev_view_best_fit):
6204
6205         Do not try to best fit if the view is not realized
6206
6207 2005-02-20  Kostas Papadimas <pkst@gnome.org>
6208           
6209         * configure.ac (ALL_LINGUAS): Added "el" (Greek).
6210
6211 Fri Feb 18 16:06:39 2005  Jonathan Blandford  <jrb@redhat.com>
6212
6213         * shell/ev-window.c (ev_window_focus_in_event): missed a case.
6214
6215 Fri Feb 18 15:32:57 2005  Jonathan Blandford  <jrb@redhat.com>
6216
6217         * shell/ev-window.c: Change the fullscreen toolbar to always be in
6218         the popup window.  That prevents it resizing when in full screen
6219         mode.
6220
6221         * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
6222         multiple rerenders.  This pretty much sucks.
6223
6224         * data/evince-ui.xml: Change the fullscreen toolbar to include the
6225         rest of the toolbar.
6226
6227 2005-02-18  Tommi Vainikainen  <thv@iki.fi>
6228
6229         * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
6230
6231 2005-02-17  Alexander Shopov  <ash@contact.bg>
6232
6233         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
6234
6235 2005-02-16  Bryan Clark  <clarkbw@cvs.gnome.org>
6236
6237         * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
6238
6239 2005-02-16  Marco Pesenti Gritti  <marco@gnome.org>
6240
6241         * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
6242         (ev_view_create_invisible_cursor), (ev_view_set_cursor),
6243         (set_document_page), (document_changed_callback),
6244         (ev_view_set_document), (ev_view_find_previous),
6245         (ev_view_hide_cursor), (ev_view_show_cursor):
6246         * shell/ev-view.h:
6247         * shell/ev-window.c: (update_chrome_visibility),
6248         (fullscreen_timeout_cb), (fullscreen_set_timeout),
6249         (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
6250         (fullscreen_leave_notify_cb), (ev_window_fullscreen),
6251         (ev_window_unfullscreen):
6252         * shell/main.c: (main):
6253
6254         Automatically hide the fullscreen button.
6255         Patch by Kristian Høgsberg <krh@redhat.com>
6256
6257 2005-02-16  Vincent Noel  <vnoel@cox.net>
6258
6259         * shell/main.c (main): Specify an icon for the window. Patch by
6260         Jaap A. Haitsma. Fixes #166177.
6261
6262 Wed Feb 16 06:30:13 2005  Jonathan Blandford  <jrb@redhat.com>
6263
6264         * shell/ev-view.c (ev_view_realize): get rid of the black flash.
6265
6266 Tue Feb 15 22:27:13 2005  Jonathan Blandford  <jrb@redhat.com>
6267
6268         * backend/ev-document-misc.h:
6269         * backend/ev-document-misc.c:
6270         (ev_document_misc_get_page_border_size),
6271         (ev_document_misc_paint_one_page): New function to canonicalize
6272         sizing/painting a border.
6273
6274         * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
6275         used.
6276
6277         * pdf/xpdf/pdf-document.cc: use new function
6278
6279         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
6280         (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
6281         (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
6282         shell/ev-window.c: (update_sizing_buttons),
6283         (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
6284         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
6285         (ev_window_cmd_view_page_width), (size_allocate_cb),
6286         (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
6287         and "fit width" values act as toggle buttons so they stay
6288         toggled.  It's not 100% perfect, and it's a little slow, but it's
6289         good enough to commit I think.
6290
6291 2005-02-15  David Lodge  <dave@cirt.net>
6292
6293         * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
6294
6295 2005-02-15  Martin Kretzschmar  <martink@gnome.org>
6296
6297         * shell/ev-window.c (update_window_title): replace newlines in
6298         the title by spaces. Bug #166107.
6299
6300 2005-02-14  Martin Kretzschmar  <martink@gnome.org>
6301
6302         * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
6303         parameters providing allocation width and height without
6304         scrollbars and width of a possible vertical scrollbar. With this
6305         additional information the functions can work as
6306         intended. Unfortunately they're not idempotent. We should
6307         transform these commands to toggles. Fixes Bug #164976
6308         Initial patch by Stephane Loeuillet, then heavily modified.
6309
6310         * shell/ev-view.h: update prototypes.
6311
6312         * shell/ev-window.c (ev_window_cmd_view_best_fit)
6313         (ev_window_cmd_view_page_width): provide EvView fit functions with
6314         all the information they need. Formulas to calculate this
6315         information taken from GtkScrolledWindow.
6316
6317 2005-02-14  Crispin Flowerday  <gnome@flowerday.cx>
6318
6319         * shell/ev-sidebar-thumbnails.c: Ensure that after we have
6320         created a thumbnail, the list store is updated to know
6321         that the thumbnail is set. Fixes bug #166792
6322
6323 2005-02-11  Bryan Clark  <clarkbw@cvs.gnome.org>
6324
6325         * shell/ev-window.c: fixed typo, closes bug 166897
6326
6327         * TODO: updated TODO with bug numbers that are relevant
6328
6329 2005-02-09  Carlos Garcia Campos <carlosgc@gnome.org>
6330
6331         * shell/ev-window.c: Support for DnD of files. Fixes #164813
6332
6333 2005-02-09  Vincent Noel  <vnoel@cox.net>
6334
6335         * shell/ev-window.c: (set_action_properties): Set the "Previous"
6336         and "Next" toolbar buttons as important to make them stand out.
6337
6338 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
6339
6340         * lib/ev-debug.c:
6341         * lib/ev-debug.h:
6342         * ps/ps-document.c: (ps_document_finalize), (set_up_page),
6343         (start_interpreter), (stop_interpreter), (document_load),
6344         (ps_document_next_page), (ps_document_goto_page),
6345         (ps_document_set_page_size), (ps_document_widget_event),
6346         (ps_document_render):
6347         * shell/ev-page-view.c: (ev_page_view_dispose):
6348         * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
6349
6350         Fix compilation on non-gcc platforms
6351
6352 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
6353
6354         * NEWS:
6355         * configure.ac:
6356
6357         Release 0.1.4
6358
6359         * pdf/xpdf/Catalog.cc:
6360         * pdf/xpdf/XRef.cc:
6361
6362         Fix the fix for CAN-2004-0888
6363
6364 2005-02-09  Luca Ferretti <elle.uca@libero.it>
6365
6366         * data/Makefile.am:
6367         * data/evince-ui.xml:
6368         * shell/ev-stock-icons.c: (ev_stock_icons_init):
6369         * shell/ev-stock-icons.h:
6370         * shell/ev-window.c: (update_action_sensitivity),
6371         (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
6372         (set_action_properties):
6373
6374         Improve toolbar layout/icons
6375
6376 2005-02-08  Marco Pesenti Gritti  <marco@gnome.org>
6377
6378         * pdf/xpdf/pdf-document.cc:
6379
6380         Add warnings about unimplemented/unknown link
6381         types.
6382
6383 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
6384
6385         * ps/ps-document.c: (set_up_page):
6386
6387         Log gs property
6388
6389 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
6390
6391         * ps/ps-document.c: (start_interpreter):
6392
6393         Log gs env var
6394
6395 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
6396
6397         * shell/ev-page-view.c: (ev_page_view_dispose):
6398         * shell/ev-view.c: (ev_view_finalize):
6399         * shell/ev-window.c: (ev_window_setup_document),
6400         (ev_window_dispose), (ev_window_init):
6401
6402         Solve more refs issues.
6403
6404         I commented out the page_view initialization for now:
6405         it was never destroyed (because it's never added
6406         to a container). Because of that we was leaking
6407         gs processes. Couldnt think to a clean fix.
6408         We need to figure this out, password view has the
6409         same issue probably.
6410
6411 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
6412
6413         * ps/ps-document.c: (ps_document_finalize),
6414         (ps_document_get_n_pages), (ps_document_get_page):
6415
6416         Some cleanups, stop the interpreter on finalize
6417
6418         * shell/ev-page-view.c: (ev_page_view_dispose),
6419         (ev_page_view_class_init):
6420
6421         Release our reference on the document
6422
6423 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
6424
6425         * Makefile.am:
6426         * configure.ac:
6427         * doc/debugging.txt:
6428         * lib/.cvsignore:
6429         * lib/Makefile.am:
6430         * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
6431         (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
6432         (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
6433         * lib/ev-debug.h:
6434
6435         Add debugging helpers
6436
6437         * ps/Makefile.am:
6438         * ps/ps-document.c: (set_up_page), (start_interpreter),
6439         (stop_interpreter), (document_load), (ps_document_next_page),
6440         (ps_document_goto_page), (ps_document_set_page_size),
6441         (ps_document_widget_event), (ps_document_render):
6442         * shell/Makefile.am:
6443         * shell/ev-view.c: (expose_bin_window):
6444         * shell/main.c: (main):
6445
6446         Add some logs
6447         
6448 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
6449
6450         * ps/ps-document.c: (ps_document_widget_event):
6451
6452         Initialize message_window, this should make ps
6453         rendering really work! (Never noticed because I was
6454         testing with a ps that is causing gs to exit every time!)
6455
6456 2005-02-07  Bryan Clark  <clarkbw@cvs.gnome.org>
6457
6458         * data/evince.schemas.in: updated simple error in applyto closing tag
6459
6460 2005-02-07  Christian Persch  <chpe@cvs.gnome.org>
6461
6462         * Makefile.am:
6463         * configure.ac:
6464         * data/.cvsignore:
6465         * data/Makefile.am:
6466         * data/evince-ui.xml:
6467         A data/evince.schemas.in:
6468         * po/POTFILES.in:
6469         * shell/ev-stock-icons.c: (ev_stock_icons_init):
6470         * shell/ev-stock-icons.h:
6471         * shell/ev-window.c: (update_chrome_visibility),
6472         (update_chrome_flag), (ev_window_cmd_edit_find),
6473         (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
6474         (ev_window_unfullscreen), (ev_window_focus_in_event),
6475         (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
6476         (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
6477         (ev_window_view_sidebar_cb), (find_bar_close_cb),
6478         (ev_window_dispose), (ev_window_class_init),
6479         (set_action_properties), (set_chrome_actions), (load_chrome),
6480         (ev_window_init):
6481
6482         Implement fullscreen mode changes from bug #164776.
6483         Also implement persistent chrome toggles.
6484
6485 2005-02-07  Jordi Mallach  <jordi@sindominio.net>
6486
6487         * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
6488
6489 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
6490
6491         * NEWS:
6492         * configure.ac:
6493         * shell/ev-view.c:
6494
6495         Add another check for find interface
6496
6497         Release 0.1.3
6498
6499 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
6500
6501         * shell/ev-application.c: (ev_application_open):
6502         * shell/ev-window.c: (ev_window_open):
6503
6504         Open gzipped ps documents
6505
6506 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
6507
6508         * TODO:
6509         * shell/ev-view.c: (set_document_page):
6510
6511         Clamp page number, dont try to move to
6512         not existant pages.
6513
6514 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
6515
6516         * backend/ev-document-find.c: (ev_document_find_changed):
6517         * backend/ev-document-find.h:
6518         * pdf/xpdf/pdf-document.cc:
6519         * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
6520         * shell/ev-window.c: (find_bar_search_changed_cb):
6521
6522         Fix several bugs with find
6523
6524 2005-02-04  Martin Kretzschmar  <martink@gnome.org>
6525
6526         * shell/ev-sidebar-thumbnails.c
6527         (ev_sidebar_thumbnails_select_page): do nothing unless we have a
6528         document. Prevents warning from scroll_to_cell.
6529
6530 2005-02-02  Kjartan Maraas  <kmaraas@gnome.org>
6531
6532         * configure.ac: Add «nb» to ALL_LINGUAS too.
6533
6534 Wed Feb  2 21:13:11 2005  Jonathan Blandford  <jrb@redhat.com>
6535
6536         * NOTES: New file with some random thoughts.
6537
6538         * TODO: Update.
6539
6540         * backend/ev-document-misc.c:
6541         (ev_document_misc_get_page_border_size): New function to
6542         canonicalize shadow drawing sizes.  Possibly goofy.
6543
6544         * shell/ev-view.c: (ev_view_size_request), (set_document_page),
6545         (ev_view_best_fit), (ev_view_fit_width):
6546         * pdf/xpdf/pdf-document.cc:
6547         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
6548         * ps/ps-document.c: (ps_document_get_page_size):
6549         * backend/ev-document-misc.h:
6550         * backend/ev-document.c: (ev_document_get_page_size):
6551         * backend/ev-document.h: get_page_size now takes a page number
6552         parameter.  Made all the backends/frontends honor it.
6553
6554         * data/evince-ui.xml: Added a multiple-page mode.  Uncomment to
6555         see.  Doesn't work yet.
6556
6557         * shell/Makefile.am:
6558         * shell/ev-page-view.[ch]: New multi-page view.  Really rough.
6559         Doesn't do anything yet.
6560
6561         * shell/ev-sidebar-thumbnails.c:
6562         (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
6563         [0..n_pages-1]
6564
6565         * shell/ev-window.c: (update_action_sensitivity),
6566         (ev_window_setup_document), (ev_window_set_page_mode),
6567         (ev_window_page_mode_cb), (ev_window_init): Clean up the
6568         view-swapping code a bit so we can have multiple views on a
6569         document.  Add the multi-page view, though it can't be turned on
6570         yet.
6571
6572 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
6573
6574         * shell/ev-application.c: (ev_application_open):
6575         * shell/ev-view.c: (expose_bin_window):
6576         * shell/ev-window.c: (ev_window_open):
6577
6578         Support eps and check document supports find
6579         before drawing highlightings in expose.
6580
6581 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
6582
6583         * pixbuf/pixbuf-document.c:
6584         (pixbuf_document_thumbnails_get_dimensions),
6585         (pixbuf_document_document_thumbnails_iface_init):
6586
6587         implement get_dimensions
6588
6589 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
6590
6591         * NEWS:
6592         * configure.ac:
6593
6594         Release 0.1.2
6595
6596 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
6597
6598         * shell/ev-view.c: (set_document_page):
6599
6600         Scroll at the top of the page when changing page
6601
6602 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
6603
6604         * shell/ev-view.c: (ev_view_motion_notify_event):
6605
6606         Do not redraw unnecessarily
6607
6608 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
6609
6610         * pdf/xpdf/pdf-document.cc:
6611         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6612         (expose_bin_window), (find_changed_cb):
6613
6614         Yay! find works now... Now to find bugs...
6615
6616 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
6617
6618         * backend/ev-document-find.c: (ev_document_find_base_init),
6619         (ev_document_find_changed):
6620         * backend/ev-document-find.h:
6621         * pdf/xpdf/pdf-document.cc:
6622         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
6623         (expose_bin_window), (ev_view_init), (set_document_page),
6624         (ensure_rectangle_is_visible), (jump_to_find_result),
6625         (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
6626         (ev_view_find_next), (ev_view_find_previous):
6627         * shell/ev-view.h:
6628         * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
6629
6630         More work on find implementation, mostly there now
6631
6632 2005-01-29  Marco Pesenti Gritti  <marco@gnome.org>
6633
6634         * backend/ev-backend-marshalers.list:
6635         * backend/ev-document-find.c: (ev_document_find_base_init),
6636         (ev_document_find_cancel), (ev_document_find_page_has_results),
6637         (ev_document_find_get_n_results), (ev_document_find_get_result),
6638         (ev_document_find_get_progress), (ev_document_find_changed):
6639         * backend/ev-document-find.h:
6640
6641         Enanche the find interface to be really able to do
6642         multi page find.
6643
6644         * pdf/xpdf/pdf-document.cc:
6645
6646         Implement
6647
6648         * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
6649         (expose_bin_window), (ev_view_init),
6650         (ev_view_get_find_status_message), (find_changed_cb),
6651         (ev_view_set_document), (set_document_page):
6652
6653         Adapt to the new interface. A few things are regressed sorry,
6654         I will finish it soon.
6655
6656 2005-01-28  Martin Kretzschmar  <martink@gnome.org>
6657
6658         * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
6659         (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
6660         ev_sidebar_thumbnails_parent_class variable, don't define another
6661         parent_class variable.
6662
6663         * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
6664         (ev_page_action_class_init): ditto.
6665
6666         * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
6667         (pixbuf_document_class_init): ditto.
6668
6669         * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
6670         ditto.
6671
6672         * .cvsignore: ignore various valgrind output files.
6673
6674 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
6675
6676         * data/evince-ui.xml:
6677         * shell/Makefile.am:
6678         * shell/ev-history.c:
6679         * shell/ev-history.h:
6680         * shell/ev-navigation-action.c:
6681         * shell/ev-navigation-action.h:
6682         * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
6683         (ev_view_set_page), (ev_view_fit_width):
6684         * shell/ev-view.h:
6685         * shell/ev-window.c: (update_action_sensitivity),
6686         (ev_window_setup_document), (register_custom_actions):
6687
6688         Kill session history
6689
6690 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
6691
6692         * shell/ev-window.c: (update_action_sensitivity):
6693
6694         Fix inverted up/down buttons
6695
6696 2005-01-27  Martin Kretzschmar  <martink@gnome.org>
6697
6698         * shell/ev-sidebar-thumbnails.c
6699         (ev_sidebar_thumbnails_select_page): make sure the selected
6700         thumbnail stays visible.
6701
6702 2005-01-26  Martin Kretzschmar  <martink@gnome.org>
6703
6704         * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
6705         scrolled window for Federico.
6706
6707 2005-01-26  Ole Laursen  <olau@hardworking.dk>
6708
6709         * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
6710
6711 2005-01-26  Marco Pesenti Gritti  <marco@gnome.org>
6712
6713         * configure.ac:
6714         * pdf/splash/SplashFTFontEngine.cc:
6715
6716         Fix CID fonts with freetype 2.1.9
6717
6718 2005-01-26  Bryan Clark  <clarkbw@cvs.gnome.org>
6719
6720         * TODO: added item for desktop icon thumbnailer
6721
6722 Tue Jan 25 00:59:34 2005  Jonathan Blandford  <jrb@redhat.com>
6723
6724         * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
6725         unloaded docs when the title is accessed.
6726
6727         * shell/ev-password-view.[hc]: New widget for displaying password
6728         state.
6729
6730         * shell/ev-window.[ch]: Refactor password handling code to handle
6731         the new view.
6732
6733 2005-01-24  Marco Pesenti Gritti  <marco@gnome.org>
6734
6735         * NEWS:
6736         * configure.ac:
6737         * data/Makefile.am:
6738
6739         Release 0.1.1
6740
6741 2005-01-23  Stephane LOEUILLET  <stephane.loeuillet@tiscali.fr>
6742
6743         * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
6744         ignore page offset here, to make search results independent of it,
6745
6746         * shell/ev-view.c (expose_bin_window): but take offsets into
6747         account here. Bug #164932
6748
6749         * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
6750         scale at the right time. Bug #164996
6751
6752 2005-01-22  Martin Kretzschmar  <martink@gnome.org>
6753
6754         * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
6755         fix the problem. Now I just removed the Adobe font names and hope
6756         that the URW fonts are always in outline format. Bug #164934
6757
6758         * shell/ev-window.c (update_window_title): empty titles are
6759         useless, use filename in that case too.
6760
6761         * NEWS: Add some content.
6762
6763 2005-01-21  Bryan Clark  <clarkbw@cvs.gnome.org>
6764
6765         * TODO: added one more TODO item and a TODONE section :)
6766
6767 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
6768
6769         * ps/ps-document.h: add page_[xy]_offset fields.
6770
6771         * ps/ps-document.c (ps_document_set_page_offset)
6772         (ps_document_render): Keep offset in consideration in a few
6773         places. Bug #164752 "postscript documents are not centered in
6774         window"
6775
6776         * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
6777         s/gpdf/evince/. Spotted by Stephane Loeuillet.
6778
6779         * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
6780         (pixbuf_document_get_text, pixbuf_document_document_iface_init):
6781         stub out missing methods for complete EvDocument implementation.
6782         Fixes segfaults with Save A Copy and Copy actions.
6783
6784         * ps/ps-document.c (ps_document_save, ps_document_get_text) 
6785         (ps_document_document_iface_init): ditto.
6786         
6787 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
6788
6789         * data/.cvsignore:
6790         * data/Makefile.am:
6791         * data/evince.desktop.in:
6792
6793         Add desktop file
6794
6795 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
6796
6797         * shell/ev-view.c: (ev_view_button_press_event),
6798         (ev_view_motion_notify_event):
6799
6800         Make selection work in any direction
6801
6802 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
6803
6804         * TODO:
6805         * shell/ev-window.c: (set_short_labels), (ev_window_init):
6806
6807         Use shorter labels for some of the toolbars items
6808
6809 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
6810
6811         * pdf/xpdf/pdf-document.cc:
6812
6813         Check the links info is initialized before
6814         using it. Should fix a crash on startup.
6815
6816 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
6817
6818         * pixbuf/pixbuf-document.c
6819         (pixbuf_document_thumbnails_get_dimensions): force floating point
6820         division to calculate page_ratio. Fixes crash with landscape
6821         format pixbufs.
6822
6823 Thu Jan 20 18:56:35 2005  Jonathan Blandford  <jrb@redhat.com>
6824
6825         * shell/ev-view.c (ev_view_realize): make the bg color darker.
6826
6827 2005-01-20  Martin Kretzschmar  <martink@gnome.org>
6828
6829         * shell/ev-view.c (set_document_page): unset has_selection when
6830         the page changes.
6831         (set_document_page): handle paper size changes when the page
6832         changes (test with Free Culture, page 2).
6833
6834 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
6835
6836         * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
6837         (expose_bin_window), (ev_view_class_init), (ev_view_init):
6838
6839         Use normal style color for the widget background and
6840         draw a black box around the page.
6841
6842 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
6843
6844         * pdf/xpdf/pdf-document.cc:
6845
6846         Keep offset in consideration in a few places
6847
6848         * shell/ev-view.c: (expose_bin_window):
6849
6850         Set the offsets so that the document is ever centered
6851
6852 2005-01-20  Bryan Clark  <clarkbw@cvs.gnome.org>
6853
6854         * TODO: Added TODO items and finished off the first todo item
6855
6856         * AUTHORS: Updated AUTHORS section with piece from gpdf file and
6857         reflect current authors
6858
6859 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
6860
6861         * pdf/xpdf/pdf-document.cc:
6862         * shell/ev-view.c: (ev_view_set_cursor),
6863         (ev_view_motion_notify_event), (document_changed_callback),
6864         (set_document_page):
6865
6866         Show a wait cursor while the page is rendering
6867
6868 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
6869
6870         * shell/ev-sidebar-thumbnails.c:
6871         (ev_sidebar_tree_selection_changed),
6872         (ev_sidebar_thumbnails_select_page):
6873         * shell/ev-sidebar-thumbnails.h:
6874         * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
6875         (ev_view_can_go_forward):
6876         * shell/ev-window.c: (ev_window_open_page),
6877         (ev_window_setup_document), (update_current_page),
6878         (view_page_changed_cb), (ev_window_init):
6879         * shell/ev-window.h:
6880
6881         Ensure thumbnails selection, toolbar page control and
6882         current page are in sync.
6883
6884 2005-01-19  Marco Pesenti Gritti  <marco@gnome.org>
6885
6886         * pdf/xpdf/XRef.cc:
6887
6888         Fix CAN-2005-0064
6889
6890 Wed Jan 19 01:10:57 2005  Jonathan Blandford  <jrb@redhat.com>
6891
6892         * backend/Makefile.am:
6893         * backend/ev-document-links.h:
6894         * backend/ev-document-security.c: (ev_document_security_get_type),
6895         (ev_document_security_has_document_security),
6896         (ev_document_security_set_password):
6897         * backend/ev-document-security.h:
6898         * backend/ev-document.c: (ev_document_error_quark):
6899         * backend/ev-document.h:
6900         * data/Makefile.am:
6901         * data/evince-password.glade:
6902         * pdf/xpdf/pdf-document.cc:
6903         * shell/Makefile.am:
6904         * shell/ev-password.c: (ev_password_set_bad_password_label),
6905         (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
6906         (ev_password_dialog_get_password),
6907         (ev_password_dialog_set_bad_pass):
6908         * shell/ev-password.h:
6909         * shell/ev-window.c: (ev_window_get_attribute),
6910         (ev_window_set_property), (update_action_sensitivity),
6911         (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
6912         (ev_window_setup_document), (ev_window_get_password),
6913         (ev_window_open), (ev_window_cmd_save_as),
6914         (using_postscript_printer), (ev_window_print),
6915         (find_not_supported_dialog), (ev_window_cmd_edit_find),
6916         (update_fullscreen_popup), (ev_window_fullscreen),
6917         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
6918         (ev_window_focus_out_cb), (ev_window_cmd_help_about),
6919         (menu_item_select_cb), (find_bar_search_changed_cb),
6920         (ev_window_dispose), (ev_window_init):
6921
6922         Add initial support for password-supported dialogs.  This could be
6923         a lot cooler, but it'll do for now.
6924
6925 2005-01-18  Marco Pesenti Gritti  <marco@gnome.org>
6926
6927         * pdf/xpdf/pdf-document.cc:
6928         * shell/ev-view.c: (status_message_from_link),
6929         (ev_view_set_status), (ev_view_set_cursor),
6930         (ev_view_motion_notify_event), (ev_view_init):
6931         * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
6932
6933         Fix bugs in the links implementation and change cursor
6934         when hovering a link.
6935
6936 2005-01-17  Bryan Clark  <clarkbw@cvs.gnome.org>
6937
6938         * viewer/.cvsignore: added cvsignore file for viewer directory
6939
6940         * TODO: created TODO document
6941
6942 2005-01-14  Dave Malcolm  <dmalcolm@redhat.com>
6943
6944         * shell/ev-view.h:
6945         * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):      
6946         new functions to help with implementation of sensitivity code
6947         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6948         of all actions that might require it.  Fixes a crash when you
6949         click on the Zoom actions in a window lacking a document.
6950
6951 2005-01-13  Dave Malcolm  <dmalcolm@redhat.com>
6952
6953         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
6954         of the Find action
6955
6956 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
6957
6958         * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
6959         (pixbuf_document_document_iface_init):
6960         * ps/ps-document.c: (ps_document_get_link),
6961         (ps_document_document_iface_init):
6962         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
6963         (status_message_from_link), (ev_view_set_status),
6964         (ev_view_set_find_status), (ev_view_motion_notify_event),
6965         (ev_view_button_release_event), (ev_view_set_property),
6966         (ev_view_get_property), (ev_view_class_init), (ev_view_init),
6967         (ev_view_get_find_status_message), (update_find_results),
6968         (ev_view_get_status), (ev_view_get_find_status):
6969         * shell/ev-view.h:
6970         * shell/ev-window.c: (view_status_changed_cb),
6971         (view_find_status_changed_cb), (ev_window_init):
6972
6973         View status message support, use it to show the links.
6974         Needs work...
6975
6976 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
6977
6978         * backend/ev-document.c: (ev_document_get_link):
6979         * backend/ev-document.h:
6980         * pdf/xpdf/pdf-document.cc:
6981         * shell/ev-application.c: (ev_application_open):
6982         * shell/ev-application.h:
6983         * shell/ev-sidebar-links.c: (selection_changed_cb):
6984         * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
6985         (ev_view_go_to_link):
6986
6987         Add support for document links
6988
6989 2005-01-13  Anders Carlsson  <andersca@gnome.org>
6990
6991         * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
6992         (create_tool_item):
6993         Set the spin button limits correctly.
6994         
6995         * shell/ev-sidebar-thumbnails.c:
6996         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
6997         Support changing pages by clicking on the thumbnails.
6998         
6999 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
7000
7001         * pixbuf/pixbuf-document.c:
7002         (pixbuf_document_thumbnails_get_dimensions),
7003         (pixbuf_document_document_thumbnails_iface_init):
7004
7005         implement get_dimensions
7006
7007 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
7008
7009         * ps/ps-document.c: (ps_document_goto_page):
7010
7011         Fix page switching on multipage documents
7012
7013 2005-01-12  Jeff Muizelaar  <jrmuizel@nit.ca>
7014
7015         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
7016         
7017         check for NULL before assigning to width and height parameters
7018
7019 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
7020
7021         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
7022         (pixbuf_document_set_property), (pixbuf_document_get_property):
7023
7024         implement get/set properties
7025
7026 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
7027
7028         * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
7029         
7030         return NULL instead of "Unknown", letting the title get set to
7031         the filename when the pdf has no title.
7032
7033 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
7034
7035         * ps/ps-document.c: (ps_document_get_page_count),
7036         (ps_document_goto_page):
7037
7038 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
7039
7040         * shell/ev-history.c: (ev_history_get_property),
7041         (ev_history_set_property), (ev_history_class_init),
7042         (ev_history_add_page), (ev_history_set_current_index):
7043         * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
7044         (activate_menu_item_cb), (new_history_menu_item), (build_menu),
7045         (ev_navigation_action_finalize):
7046         * shell/ev-navigation-action.h:
7047         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
7048         (ev_view_go_forward), (ev_view_get_find_status_message),
7049         (history_index_changed_cb), (ev_view_set_history):
7050         * shell/ev-view.h:
7051         * shell/ev-window.c: (update_total_pages), (ev_window_open),
7052         (update_current_page), (register_custom_actions):
7053
7054         Implement history dropdowns
7055
7056 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
7057
7058         * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
7059         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
7060         (ev_view_go_forward):
7061         * shell/ev-window.c: (register_custom_actions):
7062
7063         Fix several history bugs
7064
7065 2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>
7066
7067         * configure.ac: Add «nb» to ALL_LINGUAS.
7068
7069 2005-01-10  Marco Pesenti Gritti  <marco@gnome.org>
7070
7071         * backend/Makefile.am:
7072         * backend/ev-bookmark.c:
7073         * backend/ev-bookmark.h:
7074         * backend/ev-document-bookmarks.c:
7075         * backend/ev-document-bookmarks.h:
7076         * backend/ev-document-links.c: (ev_document_links_get_type),
7077         (ev_document_links_has_document_links),
7078         (ev_document_links_begin_read), (ev_document_links_get_link),
7079         (ev_document_links_get_child), (ev_document_links_next),
7080         (ev_document_links_free_iter):
7081         * backend/ev-document-links.h:
7082         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
7083         (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
7084         (ev_link_get_link_type), (ev_link_set_link_type),
7085         (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
7086         (ev_link_set_property), (ev_window_dispose), (ev_link_init),
7087         (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
7088         (ev_link_new_external):
7089         * backend/ev-link.h:
7090         * pdf/xpdf/pdf-document.cc:
7091         * shell/Makefile.am:
7092         * shell/ev-application.c: (ev_application_open_link):
7093         * shell/ev-application.h:
7094         * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
7095         (ev_history_get_link_nth):
7096         * shell/ev-history.h:
7097         * shell/ev-sidebar-bookmarks.c:
7098         * shell/ev-sidebar-bookmarks.h:
7099         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
7100         (ev_sidebar_links_class_init), (selection_changed_cb),
7101         (ev_sidebar_links_construct), (ev_sidebar_links_init),
7102         (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
7103         (do_one_iteration), (populate_links_idle),
7104         (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
7105         * shell/ev-sidebar-links.h:
7106         * shell/ev-sidebar.c: (ev_sidebar_set_document):
7107         * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
7108         (go_to_index):
7109         * shell/ev-view.h:
7110         * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
7111         * shell/ev-window.h:
7112
7113         Rename bookmark to link, and use "Index" for the sidebar panel.
7114
7115 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
7116
7117         * shell/Makefile.am:
7118         * shell/ev-application.c: (ev_application_open_bookmark):
7119         * shell/ev-application.h:
7120         * shell/ev-history.c: (ev_history_init), (free_links_list),
7121         (ev_history_finalize), (ev_history_class_init),
7122         (ev_history_add_link), (ev_history_add_page),
7123         (ev_history_get_link_nth), (ev_history_get_n_links),
7124         (ev_history_get_current_index), (ev_history_set_current_index),
7125         (ev_history_new):
7126         * shell/ev-history.h:
7127         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
7128         * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
7129         (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
7130         (go_to_index), (ev_view_go_back), (ev_view_go_forward),
7131         (ev_view_set_page):
7132         * shell/ev-view.h:
7133         * shell/ev-window.c: (ev_window_open_bookmark),
7134         (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
7135         (goto_page_cb), (register_custom_actions):
7136         * shell/ev-window.h:
7137
7138         Initial history implementation. Needs work.
7139
7140 2005-01-09  Martin Kretzschmar  <martink@gnome.org>
7141
7142         * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
7143
7144 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
7145
7146         * cut-n-paste/recent-files/egg-recent-item.c:
7147         * cut-n-paste/recent-files/egg-recent-item.h:
7148         * cut-n-paste/recent-files/egg-recent-model.c:
7149         * cut-n-paste/recent-files/egg-recent-util.c:
7150         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
7151         * cut-n-paste/recent-files/egg-recent-view.c:
7152
7153         Update
7154
7155 2005-01-08  Martin Kretzschmar  <martink@gnome.org>
7156
7157         * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
7158         (fillGlyph, fillImageMask, drawImage):
7159         pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
7160         pdf/splash/SplashTypes.h:
7161         pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
7162         packed mode for Splash.
7163
7164         * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
7165         RGB8 packed mode, eliminates the pixbuf data creation loop.
7166
7167         * shell/ev-print-job.c (ev_print_job_finalize)
7168         (ev_print_job_set_property, ev_print_job_get_property)
7169         (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
7170         (ev_print_job_use_print_dialog_settings, idle_print_handler)
7171         (print_closure_finalize, ev_print_job_print): implement
7172         printing (for backends with EvPsExporter)
7173
7174         * shell/ev_print_job.h: update prototypes.
7175
7176         * shell/ev-window.c (ev_window_print): unref print job after
7177         printing.
7178
7179         * shell/ev-view.c (ev_view_set_document): don't connect to "found"
7180         unless the document implements the EvDocumentFind interface.
7181
7182 2005-01-08  Satoru SATOH <ss@gnome.gr.jp>
7183
7184         * configure.ac: Added ja to ALL_LINGUAS.
7185
7186 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
7187
7188         * pdf/xpdf/pdf-document.cc:
7189
7190         add a FIXME. We should probably not allocate
7191         a bookmark object every time
7192
7193 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
7194
7195         * shell/ev-application.c: (ev_application_open),
7196         (ev_application_open_bookmark):
7197         * shell/ev-application.h:
7198         
7199         Add a way to open bookmarks
7200
7201         * backend/ev-bookmark.c: (ev_bookmark_get_uri),
7202         (ev_bookmark_set_uri), (ev_bookmark_get_property),
7203         (ev_bookmark_set_property), (ev_bookmark_class_init),
7204         (ev_bookmark_new_title), (ev_bookmark_new_link),
7205         (ev_bookmark_new_external):
7206
7207         Support for external uris, better constructors.
7208
7209         * backend/ev-bookmark.h:
7210         * pdf/xpdf/pdf-document.cc:
7211         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
7212
7213         Handle external uris
7214
7215 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
7216
7217         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
7218         (ev_sidebar_bookmarks_construct), (do_one_iteration):
7219
7220         Hook up bookmarks navigation
7221
7222 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
7223
7224         * backend/Makefile.am:
7225         * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
7226         (ev_bookmark_get_title), (ev_bookmark_set_title),
7227         (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
7228         (ev_bookmark_get_page), (ev_bookmark_set_page),
7229         (ev_bookmark_get_property), (ev_bookmark_set_property),
7230         (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
7231         (ev_bookmark_new):
7232         * backend/ev-bookmark.h:
7233         * backend/ev-document-bookmarks.c:
7234         (ev_document_bookmarks_get_bookmark):
7235         * backend/ev-document-bookmarks.h:
7236         * pdf/xpdf/pdf-document.cc:
7237         * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
7238
7239         Add a bookmark object to the backend and use it instead of get_values
7240
7241 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
7242
7243         * data/evince-ui.xml:
7244
7245         Cleanup and add select all.
7246
7247         * shell/ev-view.c: (ev_view_select_all),
7248         (ev_view_button_press_event):
7249         * shell/ev-view.h:
7250         * shell/ev-window.c: (ev_window_cmd_edit_select_all):
7251
7252         Add select all.
7253         Clear selection on click.
7254
7255 Fri Jan  7 01:28:58 2005  Jonathan Blandford  <jrb@redhat.com>
7256
7257         * shell/ev-sidebar-thumbnails.c
7258         (ev_sidebar_thumbnails_set_document): forgot to unref the
7259         loading_icon.
7260
7261 Fri Jan  7 01:22:48 2005  Jonathan Blandford  <jrb@redhat.com>
7262
7263         * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
7264         at the visible page, not just linearly.  This makes it look fast.
7265
7266 Thu Jan  6 18:48:11 2005  Jonathan Blandford  <jrb@redhat.com>
7267
7268         * backend/ev-document-misc.c
7269         (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
7270         white.
7271         * backend/ev-document-thumbnails.h: New interface to get the size
7272         of a page.
7273
7274 2005-01-06  Jeremy Katz  <katzj@redhat.com>
7275
7276         * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
7277         make dist works
7278
7279 Wed Jan  5 15:38:28 2005  Jonathan Blandford  <jrb@redhat.com>
7280
7281         * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
7282         GDKSplashOutputDev and just use a normal SplashOutputDev.  Speeds
7283         things up a bit.
7284
7285         * shell/ev-sidebar-thumbnail.c: start of some profiling code.
7286
7287 2005-01-05  Martin Kretzschmar  <martink@gnome.org>
7288
7289         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
7290         fonts. Should fix font problems on systems that have the base
7291         fonts in bitmap format. Reported by James Henstridge
7292         <james@jamesh.id.au>.
7293
7294 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
7295
7296         * pdf/xpdf/Gfx.cc:
7297         * pdf/xpdf/GfxState.cc:
7298
7299         Fix for CAN-2004-1125
7300
7301 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
7302
7303         * shell/ev-view.c: (ev_view_copy):
7304         * shell/ev-view.h:
7305         * shell/ev-window.c: (ev_window_cmd_edit_copy):
7306
7307         Implement Edit->Copy
7308
7309 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
7310
7311         * backend/ev-document.c: (ev_document_get_text):
7312         * backend/ev-document.h:
7313         * pdf/xpdf/pdf-document.cc:
7314         * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
7315         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
7316         (ev_view_update_primary_selection), (ev_view_button_press_event),
7317         (ev_view_motion_notify_event), (ev_view_button_release_event):
7318
7319         Beginnings of clipboard support. Incomplete but primary sort
7320         of work.
7321
7322 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
7323
7324         * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
7325         (expose_bin_window):
7326
7327         Nicer rubberband drawing, from GtkIconView.
7328
7329 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
7330
7331         * backend/ev-document.c: (ev_document_save):
7332         * backend/ev-document.h:
7333         * data/evince-ui.xml:
7334         * pdf/xpdf/pdf-document.cc:
7335         * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
7336
7337         Implement "Save a copy..." menu item
7338
7339 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
7340
7341         * shell/ev-view.c: (ev_view_zoom):
7342
7343         Queue a resize when zoom changes
7344
7345 Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>
7346
7347         * backend/ev-document-misc.[ch]: New misc file to do simple drop
7348         shadows.
7349
7350         * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
7351         thumbnails..
7352
7353 Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
7354
7355         * pdf/xpdf/pdf-document.cc
7356         (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
7357
7358 Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>
7359
7360         * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
7361         It's slow, but I'll speed it up next!
7362
7363 2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>
7364
7365         * shell/main.c (load_files):
7366
7367         use gnome_vfs_make_uri_from_shell_arg so that relative paths work
7368         from the command line and because it seems more appropriate.
7369
7370 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
7371
7372         * data/evince-ui.xml:
7373         * shell/ev-window.c: (update_action_sensitivity),
7374         (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
7375
7376         s/next page/page down
7377         s/previous page/page up
7378
7379 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
7380
7381         * data/evince-ui.xml:
7382
7383         Change the layout to match clarkbw design.
7384
7385         * shell/Makefile.am:
7386         * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
7387         (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
7388         (ev_navigation_action_finalize),
7389         (ev_navigation_action_set_property),
7390         (ev_navigation_action_get_property),
7391         (ev_navigation_action_class_init):
7392         * shell/ev-navigation-action.h:
7393
7394         Implement clarkbw toolbar navigation controls (incomplete)
7395
7396         * shell/ev-page-action.c: (update_label), (update_spin),
7397         (value_changed_cb), (create_tool_item), (connect_proxy),
7398         (ev_page_action_init), (ev_page_action_finalize),
7399         (ev_page_action_set_property), (ev_page_action_get_property),
7400         (ev_page_action_set_current_page),
7401         (ev_page_action_set_total_pages), (ev_page_action_class_init):
7402         * shell/ev-page-action.h:
7403
7404         Implement a page switcher in the toolbar
7405
7406         * shell/ev-view.c: (ev_view_scroll_view):
7407         * shell/ev-window.c: (update_total_pages), (ev_window_open),
7408         (update_current_page), (view_page_changed_cb), (goto_page_cb),
7409         (register_custom_actions), (ev_window_init):
7410
7411         Change page on PageUp/Down.
7412
7413 Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>
7414
7415         * pdf/xpdf/pdf-document.cc
7416         (pdf_document_thumbnails_get_thumbnail): initial stab at
7417         implementing thumbnail support for pdfs.  It only does documents
7418         with precached pdfs now.
7419
7420 Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>
7421
7422         * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
7423         thumbnail code into a time-based idle as well.  Also, turn off the
7424         shadow temporarily as it's really slow.
7425
7426 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
7427
7428         * backend/ev-document.c: (ev_document_class_init):
7429         * pdf/xpdf/pdf-document.cc:
7430         * shell/ev-window.c: (ev_window_open):
7431
7432         Fix document title bugs and fallback to
7433         filename when not available.
7434
7435 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
7436
7437         * backend/ev-document.c: (ev_document_get_type),
7438         (ev_document_class_init), (ev_document_load),
7439         (ev_document_get_title):
7440         * backend/ev-document.h:
7441         * pdf/xpdf/pdf-document.cc:
7442         * ps/ps-document.c: (ps_document_set_property),
7443         (ps_document_get_property), (ps_document_class_init),
7444         (document_load):
7445         * ps/ps-document.h:
7446         * ps/ps.h:
7447         * shell/ev-window.c: (update_window_title), (ev_window_open),
7448         (ev_window_init):
7449
7450         Initial support for document title. Not working yet.
7451
7452 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
7453
7454         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
7455
7456         Grab focus on the view when clicking it
7457
7458 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
7459
7460         * shell/ev-marshal.list:
7461         * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
7462         (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
7463
7464         Add key bindings to the view. Now if the focus would work
7465         right...
7466
7467 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
7468
7469         * Makefile.am:
7470         * backend/Makefile.am:
7471         * data/Makefile.am:
7472         * dvi/Makefile.am:
7473         * dvi/dvilib/Makefile.am:
7474         * pdf/xpdf/Makefile.am:
7475         * po/POTFILES.in:
7476         * ps/Makefile.am:
7477
7478         Fix distcheck
7479
7480 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
7481
7482         * shell/ev-view.c: (ev_view_realize):
7483
7484         Fix mouse wheel scrolling
7485
7486 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
7487
7488         * ps/Makefile.am:
7489         * ps/gstypes.h:
7490         * ps/gtkgs.c:
7491         * ps/gtkgs.h:
7492         * ps/ps-document.c: (catchPipe), (ps_document_init),
7493         (ps_document_class_init), (ps_document_cleanup),
7494         (ps_document_finalize), (send_ps), (ps_document_get_orientation),
7495         (set_up_page), (close_pipe), (is_interpreter_ready),
7496         (interpreter_failed), (output), (input), (start_interpreter),
7497         (stop_interpreter), (file_length), (file_readable),
7498         (check_filecompressed), (check_pdf), (compute_xdpi),
7499         (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
7500         (ps_document_get_type), (ps_document_emit_error_msg),
7501         (document_load), (ps_document_next_page),
7502         (ps_document_get_current_page), (ps_document_get_page_count),
7503         (ps_document_goto_page), (ps_document_set_page_size),
7504         (ps_document_zoom_to_fit), (ps_document_set_zoom),
7505         (ps_document_load), (ps_document_get_n_pages),
7506         (ps_document_set_page), (ps_document_get_page),
7507         (ps_document_widget_event), (ps_document_set_target),
7508         (ps_document_set_scale), (ps_document_set_page_offset),
7509         (ps_document_get_page_size), (ps_document_render),
7510         (ps_document_document_iface_init):
7511         * ps/ps-document.h:
7512         * ps/ps.c:
7513         * shell/ev-window.c: (ev_window_open):
7514
7515         Rename GtkGS to PSDocument
7516
7517 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
7518
7519         * ps/gtkgs.c: (gtk_gs_class_init):
7520         * ps/gtkgs.h:
7521
7522         Some more leftover...
7523
7524 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
7525
7526         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
7527         (output), (stop_interpreter), (gtk_gs_emit_error_msg),
7528         (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
7529         * ps/gtkgs.h:
7530
7531         Remove unused code and make a lot of stuff private
7532
7533 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
7534
7535         * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
7536         (gtk_gs_defaults_changed):
7537         * ps/gsdefaults.h:
7538         * ps/gtkgs.c:
7539         * ps/gtkgs.h:
7540         * ps/ps.h:
7541
7542         Cleanup headers dependencies
7543
7544 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
7545
7546         * ps/Makefile.am:
7547         * ps/ggvutils.c:
7548         * ps/ggvutils.h:
7549         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
7550         * ps/gsdefaults.h:
7551         * ps/gtkgs.c: (file_length), (file_readable),
7552         (check_filecompressed), (check_pdf), (gtk_gs_load),
7553         (gtk_gs_get_postscript):
7554
7555         Get rid of ggvutils
7556
7557 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
7558
7559         * ps/ggvutils.c:
7560         * ps/ggvutils.h:
7561         * ps/gsio.h:
7562         * ps/gtkgs.c: (gtk_gs_set_zoom):
7563
7564         Cleanups
7565
7566 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
7567
7568         * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
7569
7570         Ensure the page is rerendered when changing zoom
7571
7572 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
7573
7574         * backend/ev-document.c: (ev_document_base_init),
7575         (ev_document_changed):
7576         * backend/ev-document.h:
7577
7578         Add a changed event that is emitted when the page content
7579         changes. This is necessary to deal with the fact that
7580         in ps backend rendering happen asycrounously.
7581         This makes the ps backend mostly work.
7582
7583         * pdf/xpdf/pdf-document.cc:
7584
7585         Emit changed event
7586
7587         * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
7588         (ps_document_set_target):
7589
7590         Emit changed event
7591
7592         * shell/ev-view.c: (document_changed_callback),
7593         (ev_view_set_document), (ev_view_set_page):
7594
7595         Redraw on the changed signal
7596
7597 2004-12-25  Raphael Higino  <raphaelh@cvs.gnome.org>
7598
7599         * configure.ac: Added pt_BR to ALL_LINGUAS.
7600
7601 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
7602
7603         * backend/ev-document-bookmarks.c:
7604         (ev_document_bookmarks_get_child): *
7605         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
7606         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7607         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
7608         (ev_sidebar_bookmarks_destroy),
7609         (ev_sidebar_bookmarks_class_init),
7610         (ev_sidebar_bookmarks_construct), (stack_data_free),
7611         (do_one_iteration), (populate_bookmarks_idle),
7612         (ev_sidebar_bookmarks_clear_document),
7613         (ev_sidebar_bookmarks_set_document): *
7614         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
7615         (ev_sidebar_add_page),
7616         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
7617         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
7618         it displays both the topics and the page numbers.
7619
7620 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
7621
7622         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
7623         toggle.
7624         * shell/ev-window.c (toggle_entries): Set sidebar default value to
7625         visible.
7626
7627 2004-12-23  Adam Weinberger  <adamw@gnome.org>
7628
7629         * configure.ac: Added en_CA to ALL_LINGUAS.
7630
7631 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
7632
7633         * ChangeLog: replace bottom of this ChangeLog (merged history of
7634         ggv and gpdf; where all paths were wrong and most of the files are
7635         not even in this tree) with ChangeLog (from arch) of the shell
7636         code.
7637
7638 2004-12-23  Havoc Pennington  <hp@redhat.com>
7639
7640         * shell/ev-window.c: hook up potentially-questionable "find
7641         results status text" feature - something involving the sidebar or
7642         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
7643         might be better in the end.
7644
7645         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
7646         with corresponding signal when it should be updated
7647
7648         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
7649
7650 2004-12-22  Havoc Pennington  <hp@redhat.com>
7651
7652         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
7653         find stuff on other pages, sort of (only returns one result on
7654         invisible pages, to show they have results; updates full results
7655         for a page when you view it). Currently repaints the current page
7656         every time a new result is found on any page, which isn't so nice.
7657
7658 2004-12-22  Havoc Pennington  <hp@redhat.com>
7659
7660         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
7661         the document doesn't support find (better ideas?)
7662         (find_bar_search_changed_cb): handle missing document or document
7663         that doesn't support find
7664
7665         * pdf/xpdf/pdf-document.cc: port to implement the new
7666         EvDocumentFindIface
7667
7668         * backend/ev-document-find.c: create a new interface for searching
7669
7670         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
7671
7672 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
7673
7674         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
7675         libevbackend.la.
7676
7677         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
7678         EvPrintJob constructor arguments.
7679
7680         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
7681         for documents that can export PostScript (page by page).
7682
7683         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
7684         
7685         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
7686         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
7687         (pdf_document_ps_exporter_iface_init:
7688         Implement EvPSExporter.
7689
7690         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
7691
7692 2004-12-22  Anders Carlsson  <andersca@gnome.org>
7693
7694         * backend/Makefile.am:
7695         * backend/ev-document-thumbnails.c:
7696         (ev_document_thumbnails_get_type),
7697         (ev_document_thumbnails_get_thumbnail):
7698         * backend/ev-document-thumbnails.h:
7699         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7700         (pixbuf_document_thumbnails_get_thumbnail),
7701         (pixbuf_document_document_thumbnails_iface_init):
7702         * shell/Makefile.am:
7703         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
7704         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
7705         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
7706         * shell/ev-sidebar-thumbnails.h:
7707         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
7708         (ev_sidebar_set_document):
7709         * shell/ev-utils.c: (gaussian), (create_blur_filter),
7710         (create_shadow), (ev_pixbuf_add_shadow):
7711         * shell/ev-utils.h:
7712         Add thumbnail support.
7713         
7714 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
7715
7716         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
7717         (using_postscript_printer): Set up a print dialog for "PostScript
7718         injection" method.
7719
7720         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
7721         EvPrintJob.
7722
7723         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
7724
7725 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
7726
7727         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
7728         (ps_document_set_target), (ps_document_get_page_size),
7729         (ps_document_render):
7730         * ps/gtkgs.h:
7731
7732         Fix a few bugs
7733
7734 2004-12-22  Christian Rose  <menthos@menthos.com>
7735
7736         * configure.ac: Added "sv" to ALL_LINGUAS.
7737
7738 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
7739
7740         * backend/ev-document-bookmarks.[ch]: new interface to indicate
7741         document supports bookmarks.
7742
7743 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
7744
7745         * ps/ggvutils.c: (ggv_file_readable):
7746         * ps/ggvutils.h:
7747         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
7748         (gtk_gs_get_postscript):
7749
7750         Remove unused utils
7751
7752 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
7753
7754         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
7755         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
7756         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
7757         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
7758         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
7759         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
7760         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7761         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7762         (gtk_gs_set_antialiasing), (ps_document_load),
7763         (ps_document_render):
7764         * ps/gtkgs.h:
7765
7766         Another check point for the ps backend. Now I can get it to show
7767         pages!
7768
7769 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
7770
7771         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
7772         document setting code.
7773
7774 2004-12-22  Anders Carlsson  <andersca@gnome.org>
7775
7776         * shell/eggfindbar.c: (entry_activate_callback):
7777         Animate the next button when activate is pressed.
7778         
7779 2004-12-22  Anders Carlsson  <andersca@gnome.org>
7780
7781         * shell/ev-window.c: (ev_window_cmd_edit_find),
7782         (update_fullscreen_popup), (ev_window_fullscreen),
7783         (ev_window_unfullscreen), (ev_window_state_event_cb),
7784         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
7785         Fix bugs in fullscreen code.
7786         
7787 2004-12-22  Anders Carlsson  <andersca@gnome.org>
7788
7789         * Makefile.am:
7790         * configure.ac:
7791         * pixbuf/Makefile.am:
7792         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
7793         (pixbuf_document_load), (pixbuf_document_get_n_pages),
7794         (pixbuf_document_set_page), (pixbuf_document_get_page),
7795         (pixbuf_document_set_target), (pixbuf_document_set_scale),
7796         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
7797         (pixbuf_document_render), (pixbuf_document_begin_find),
7798         (pixbuf_document_end_find), (pixbuf_document_finalize),
7799         (pixbuf_document_class_init),
7800         (pixbuf_document_document_iface_init), (pixbuf_document_init):
7801         * pixbuf/pixbuf-document.h:
7802         * shell/Makefile.am:
7803         * shell/ev-application.c: (ev_application_open):
7804         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
7805         (ev_window_open):
7806         Add pixbuf backend.
7807         
7808 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
7809
7810         * Makefile.am: 
7811         * dvi/dvilib/Makefile.am:
7812         * dvi/Makefile.am:
7813         * configure.ac: Auto*ify dvi and dvi/dvilib
7814
7815         * dvi/Makefile: Remove from CVS
7816         
7817         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
7818         confusion.
7819
7820         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
7821         
7822         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
7823         
7824 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
7825
7826         * ps/Makefile.am:
7827         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
7828         (gtk_gs_value_adjustment_changed), (compute_size),
7829         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
7830         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
7831         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
7832         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
7833         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
7834         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
7835         (ps_document_load), (ps_document_get_n_pages),
7836         (ps_document_set_page), (ps_document_get_page),
7837         (ps_document_set_target), (ps_document_set_scale),
7838         (ps_document_set_page_offset), (ps_document_get_page_size),
7839         (ps_document_render), (ps_document_begin_find),
7840         (ps_document_end_find), (ps_document_document_iface_init):
7841         * ps/gtkgs.h:
7842         * shell/Makefile.am:
7843         * shell/ev-window.c: (ev_window_open):
7844
7845         Some work to integrate gtkgs with EvDocument
7846
7847 2004-12-22  Anders Carlsson  <andersca@gnome.org>
7848
7849         * shell/ev-window.c: (update_fullscreen_popup),
7850         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
7851         (exit_fullscreen_button_clicked_cb),
7852         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
7853         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
7854         (ev_window_state_event_cb), (ev_window_init):
7855         Add fullscreen support from Epiphany.
7856         
7857 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
7858
7859         * data/ev-stock-zoom-fit-width.png: fit-width
7860         stock icon from gpdf.
7861         
7862         * shell/ev-stock-icons.[ch]: copied from gpdf.
7863         
7864         * shell/main.c: (main): init stock icons.
7865         
7866         * shell/ev-window.c: use the fit-width icon.
7867         
7868         * data/evince-ui.xml: add zooming toolbar items.
7869
7870 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
7871
7872         * shell/ev-view.c: 
7873         (ev_view_best_fit), (ev_view_fit_width): because
7874         get_page_size() returns the scaled page size, we
7875         need to calculate the scale factor relative to
7876         the previous scale factor. Should really just
7877         add get_real_page_size().
7878
7879 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
7880
7881         * shell/ev-view.[ch]:
7882         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
7883         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
7884         add zooming.
7885         
7886         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
7887         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
7888         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
7889         hook it up.
7890         
7891         * pdf/xpdf/pdf-document.cc:
7892         (pdf_document_begin_find),
7893         (pdf_document_end_find): make static.
7894
7895 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
7896
7897         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
7898
7899         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
7900         names to fontconfig patterns.
7901         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
7902
7903         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
7904         setupBaseFontsFc.
7905
7906 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
7907
7908         * Makefile.am:
7909         * configure.ac:
7910         * ps/Makefile.am:
7911         * ps/ggvutils.c:
7912         * ps/ggvutils.h:
7913         * ps/gsdefaults.c:
7914         * ps/gsdefaults.h:
7915         * ps/gsio.c:
7916         * ps/gsio.h:
7917         * ps/gtkgs.c:
7918         * ps/gtkgs.h:
7919         * ps/ps.c:
7920         * ps/ps.h:
7921
7922         Import ggv backend. Not hooked up yet.
7923
7924 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
7925
7926         * shell/main.c: (load_files), (main): load files
7927         from the command line.
7928
7929 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
7930
7931         * configure.ac: don't require bonobo.
7932         
7933         * cut-n-paste/recent-files/*: kill bonobo recent
7934         view.
7935
7936         * shell/ev-window.c:
7937         (ev_window_is_empty): upd.
7938         (unable_to_load), (ev_window_open): load backend
7939         based on the mime type.
7940
7941 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
7942
7943         * backend/.cvsignore: ignore generated marshalers source.
7944
7945         * shell/main.c (main): this is not epiphany.
7946
7947 2004-12-22  Havoc Pennington  <hp@redhat.com>
7948
7949         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
7950         (expose_bin_window): draw find highlights
7951
7952         * shell/ev-window.c (find_bar_search_changed_cb): implement 
7953         
7954         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
7955         (pdf_document_end_find): implement this interface
7956
7957         * backend/ev-document.c (ev_document_found): add this to emit
7958         signal
7959
7960 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
7961
7962         * data/evince-ui.xml: Add a few more toolbar items.
7963
7964         * shell/ev-window.c: Hook up page navigation toolbar 
7965         items.
7966
7967         * shell/ev-view.[ch]: add ev_view_set/get_page and 
7968         a page-changed signal.
7969
7970         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
7971         Add ev_document_get_page().
7972
7973         * shell/ev-window.c: Sensitize/desensitize navigation
7974         actions.
7975
7976 2004-12-21  Havoc Pennington  <hp@redhat.com>
7977
7978         * backend/ev-backend-marshal.c,
7979         backend/ev-backend-marshalers.list, backend/Makefile.am: add
7980         marshaler-generator thingy. I'm sure there's a better way to do
7981         this in the modern world.
7982
7983         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
7984         end_find methods and "found" signal.
7985
7986         * configure.ac: find glib-genmarshal
7987
7988 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
7989
7990         * shell/ev-sidebar.c: Construct an actual sidebar.
7991         * shell/ev-sidebar-bookmarks.[ch]:
7992         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
7993
7994 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
7995
7996         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
7997         Redo size handling.
7998         
7999         * shell/ev-view.c: Track the size from the document.
8000
8001 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
8002
8003         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
8004         constructor assumes ownership of the string passed in.
8005         
8006         * shell/ev-window.c (ev_window_open): Destroy the error
8007         dialog once we've displayed it.
8008
8009 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
8010
8011         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
8012         a bit, it works! (sort of)
8013
8014         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
8015         Move to .cc since we need to use C++ in the implementation.
8016
8017         * shell/dummy.cc: Add a CC file to force evince
8018         to be linked as a C++ program.
8019
8020 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
8021
8022         * shell/ev-view.[ch]: Start of content-area widget.
8023
8024         * shell/ev-window.c: Create a EvView, update it
8025         as we change documents.
8026
8027         * shell/Makefile.am shell/ev-marshal.list: Add
8028         generated marshalers.
8029
8030 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
8031
8032         * Makefile.am (SUBDIRS): move shell.
8033
8034 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
8035
8036         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
8037         .a to libtool convenience libraries.
8038
8039         * shell/ev-window.c (ev_window_open): Hard code loading
8040         a PDF document.
8041         
8042         * backend/ev-document.h: Add a boolean return to load(),
8043         fix GError * to GError **.
8044
8045         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
8046         object for a PDF backend EvDocument.
8047
8048 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
8049
8050         * dvi/*: New directory with the beginning of a .dvi backend.
8051
8052 2004-12-21  Havoc Pennington  <hp@redhat.com>
8053
8054         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
8055         previous/next instead of back/forward
8056
8057 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
8058
8059         * backend/ev-document.[ch]: Fix a couple of problems so
8060         it compile.
8061
8062 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
8063
8064         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
8065         to backend/ directory, rename EvViewer to EvDocument.
8066
8067 2004-12-21  Havoc Pennington  <hp@redhat.com>
8068
8069         * shell/ev-window.c: hook up the find bar widget; now we just need
8070         a document to find things in
8071
8072         * shell/eggfindbar.c: a find bar widget
8073
8074 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
8075
8076         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
8077
8078 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
8079
8080         * pdf/**: Import of xpdf code from gpdf. 
8081
8082         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
8083
8084         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
8085         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
8086         Fix FreeType includes.
8087
8088         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
8089         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
8090         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
8091         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
8092         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
8093         Include xpdfconfig.h
8094         
8095 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
8096
8097         * shell/ev-window.c (ev_window_dispose): dispose can be called
8098         multiple times.
8099
8100 2004-12-21  Havoc Pennington  <hp@redhat.com>
8101
8102         * shell/ev-window.c (ev_window_init): set title to Document Viewer
8103         rather than Evince
8104
8105         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
8106         items; really they should be synced with the strings, etc. from
8107         current gpdf, but just getting the boring typing out of the way 
8108
8109 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
8110
8111         * po/POTFILES.in:
8112         * shell/ev-application.c: (window_destroy_cb):
8113         * shell/ev-window.c:
8114         * shell/main.c: (main):
8115
8116         Actually show the window...
8117
8118 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
8119
8120         * Makefile.am:
8121         * shell/Makefile.am:
8122         * shell/ev-application.c: (ev_application_class_init):
8123         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
8124
8125         Make it build again
8126
8127 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
8128
8129         Import to gnome cvs.
8130         
8131         * Remove copies of gpdf and ggv trees.
8132         * Rip out all the recursive configure code.
8133         * Remove bonobo machinery.
8134         * viewer/*: GInterfaces that backends should/can implement.
8135
8136 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8137
8138         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
8139         typo
8140
8141 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8142
8143         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
8144         (ev_application_finalize, ev_application_class_init)
8145         (ev_application_init): use GType instance private data for priv.
8146     
8147         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
8148         (ev_window_finalize, ev_window_class_init)
8149         (ev_window_init): ditto.
8150
8151 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8152
8153         * shell/ev-application.c (ev_application_new_window): make public
8154         (ev_application_show_initial_window): kill.
8155     
8156         * shell/ev-application.h: update prototypes.
8157     
8158         * shell/main.cc (main): inline ev_application_show_initial_window.
8159
8160 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8161
8162         * shell/ev-application.c (ev_application_new_window): impl.
8163         (ev_application_show_initial_window): use it.
8164         (is_window_empty, ev_application_get_empty_window): returns an
8165         existing empty window or a new one.
8166         (ev_application_open): from ev_window_cmd_file_open.
8167     
8168         * shell/ev-application.h: update prototypes
8169     
8170         * shell/ev-window.c (ev_window_is_empty): impl.
8171         (ev_window_open): make public.
8172         (ev_window_cmd_file_open): use ev_application_open
8173     
8174         * shell/ev-window.h: update prototypes, remove unused.
8175
8176 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8177
8178         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
8179         move destroy handler out of here...
8180     
8181         * shell/ev-application.c, shell/ev-application.h: ...into this new
8182         class. Also handles initial window creation.
8183     
8184         * shell/main.cc (main): use EvApplication to create initial
8185         window.
8186
8187 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8188
8189         * Makefile.am (SUBDIRS): add cut-n-paste
8190     
8191         * cut-n-paste/Makefile.am: add
8192     
8193         * configure.ac: generate Makefiles in cut-n-paste
8194
8195 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8196
8197         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
8198         (ev_window_class_init): install ev_window_dispose.
8199
8200 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8201
8202         * shell/ev-window.h, shell/ev-window.c: replace gchar with
8203         char (gchar looks stupid).
8204
8205 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8206
8207         * po/de.po: updated German translation.
8208
8209 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8210
8211         * configure.ac: add more pkg-config library checks for gnome-vfs,
8212         bonobo etc.
8213     
8214         * gpdf/configure.in: temporarily disable libpaper
8215         checks. Otherwise I'd have to add the checks for the shell, too.
8216
8217 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8218
8219         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
8220         and * file filters to the file choose.
8221
8222 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8223
8224         * po/de.po: Updated German translation.
8225
8226 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8227
8228         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
8229
8230 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8231
8232         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
8233     
8234         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
8235         (ev_window_init): implement those menuitems.
8236
8237 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8238
8239         * data/evince-ui.xml: add a toolbar (with FileOpen action)
8240     
8241         * shell/ev-window.c (ev_window_init): use the toolbar.
8242
8243 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8244
8245         * shell/ev-window.c (ev_window_init): use menu translations
8246
8247 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8248
8249         * configure.ac: add "de" to ALL_LINGUAS.
8250     
8251         * po/de.po: add German translation.
8252
8253 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8254
8255         * Makefile.am (SUBDIRS): add po
8256     
8257         * configure.ac: check intltool, glib-gettext etc, generate
8258         po/Makefile.in
8259     
8260         * po, po/POTFILES.in, po/POTFILES.skip: new.
8261
8262 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8263
8264         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
8265         already use (#ifdef ENABLE_NLS)
8266     
8267         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
8268         pointer indirection thinko.
8269     
8270         * shell/main.c: include gi18n.h for bindtextdomain etc.
8271
8272 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8273
8274         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
8275         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
8276         tooltips for menu items in the statusbar.
8277
8278 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8279
8280         * configure.ac, data/Makefile.am, shell/Makefile.am: use
8281         pkgdatadir drop UIDIR
8282
8283 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8284
8285         * data/evince-ui.xml: Add File->Open menu item
8286     
8287         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
8288         chooser), hook it up in the ui manager.
8289
8290 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8291
8292         * shell/ev-window.c: fix Help->About tooltip.
8293
8294 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
8295
8296         * configure.ac: set CFLAGS for libevprivate.
8297     
8298         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
8299         definitions, factory etc.
8300     
8301         * lib/Makefile.am: build libevprivate.a (only stock icon code).
8302     
8303         * shell/Makefile.am: link against libevprivate.a.
8304     
8305         * shell/ev-window.c (entries): add stock icon to Help->About.
8306     
8307         * shell/main.c (main): init stock icon code.
8308
8309 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8310
8311         * lib/recent-files: egg recent files code
8312     
8313         * lib/Makefile.am: add.
8314     
8315         * Makefile.am: add lib subdir.
8316     
8317         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
8318         set CFLAGS for recent-files.
8319
8320 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8321
8322         * configure.ac: disable -ansi and -pedantic gcc flags. They
8323         disable POSIX stuff in stdio.h, but egg-recent uses them.
8324
8325 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
8326
8327         * configure.ac: add --disable-deprecated flag (defaults to on in
8328         "cvs" builds).
8329     
8330         * shell/Makefile.am (INCLUDES): use it.
8331
8332 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8333
8334         * shell/main.c: add missing #include.
8335     
8336         * shell/ev-window.c: fix for pedantic gcc.
8337         (ev_window_cmd_help_about): split license into paragraphs for
8338         translators and pedantic compilers.
8339
8340 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8341
8342         * configure.ac: add more warning flags if compiling with gcc from
8343         cvs (or explicitly requested with --enable-more-warnings).
8344
8345 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8346
8347         * data/evince-ui.xml: add File and File->Close menu.
8348     
8349         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
8350         (ev_window_destroy): quit after destroy.
8351         (ev_window_class_init): override GtkObject::destroy.
8352         (entries): install close_window callback.
8353
8354 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8355
8356         * Makefile.am (SUBDIRS): add data subdir.
8357     
8358         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
8359         gtk+ 2.5.0 for GtkAboutDialog.
8360     
8361         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
8362         main window.
8363     
8364         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
8365     
8366         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
8367         manager.
8368         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
8369
8370 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8371
8372         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
8373
8374 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8375
8376         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
8377
8378 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8379
8380         * shell/*: Added shell directory boilerplate, build it.
8381
8382 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
8383
8384         * configure.ac, Makefile.am: Added top-level configure.ac and
8385         Makefile.am