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