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