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