]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
7dd0ac9982489519badc77b23d9fe605b2c79811
[evince.git] / ChangeLog
1 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
2
3         * ps/ps-document.c: (ps_document_widget_event):
4
5         Initialize message_window, this should make ps
6         rendering really work! (Never noticed because I was
7         testing with a ps that is causing gs to exit every time!)
8
9 2005-02-07  Bryan Clark  <clarkbw@cvs.gnome.org>
10
11         * data/evince.schemas.in: updated simple error in applyto closing tag
12
13 2005-02-07  Christian Persch  <chpe@cvs.gnome.org>
14
15         * Makefile.am:
16         * configure.ac:
17         * data/.cvsignore:
18         * data/Makefile.am:
19         * data/evince-ui.xml:
20         A data/evince.schemas.in:
21         * po/POTFILES.in:
22         * shell/ev-stock-icons.c: (ev_stock_icons_init):
23         * shell/ev-stock-icons.h:
24         * shell/ev-window.c: (update_chrome_visibility),
25         (update_chrome_flag), (ev_window_cmd_edit_find),
26         (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
27         (ev_window_unfullscreen), (ev_window_focus_in_event),
28         (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
29         (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
30         (ev_window_view_sidebar_cb), (find_bar_close_cb),
31         (ev_window_dispose), (ev_window_class_init),
32         (set_action_properties), (set_chrome_actions), (load_chrome),
33         (ev_window_init):
34
35         Implement fullscreen mode changes from bug #164776.
36         Also implement persistent chrome toggles.
37
38 2005-02-07  Jordi Mallach  <jordi@sindominio.net>
39
40         * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
41
42 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
43
44         * NEWS:
45         * configure.ac:
46         * shell/ev-view.c:
47
48         Add another check for find interface
49
50         Release 0.1.3
51
52 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
53
54         * shell/ev-application.c: (ev_application_open):
55         * shell/ev-window.c: (ev_window_open):
56
57         Open gzipped ps documents
58
59 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
60
61         * TODO:
62         * shell/ev-view.c: (set_document_page):
63
64         Clamp page number, dont try to move to
65         not existant pages.
66
67 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
68
69         * backend/ev-document-find.c: (ev_document_find_changed):
70         * backend/ev-document-find.h:
71         * pdf/xpdf/pdf-document.cc:
72         * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
73         * shell/ev-window.c: (find_bar_search_changed_cb):
74
75         Fix several bugs with find
76
77 2005-02-04  Martin Kretzschmar  <martink@gnome.org>
78
79         * shell/ev-sidebar-thumbnails.c
80         (ev_sidebar_thumbnails_select_page): do nothing unless we have a
81         document. Prevents warning from scroll_to_cell.
82
83 2005-02-02  Kjartan Maraas  <kmaraas@gnome.org>
84
85         * configure.ac: Add «nb» to ALL_LINGUAS too.
86
87 Wed Feb  2 21:13:11 2005  Jonathan Blandford  <jrb@redhat.com>
88
89         * NOTES: New file with some random thoughts.
90
91         * TODO: Update.
92
93         * backend/ev-document-misc.c:
94         (ev_document_misc_get_page_border_size): New function to
95         canonicalize shadow drawing sizes.  Possibly goofy.
96
97         * shell/ev-view.c: (ev_view_size_request), (set_document_page),
98         (ev_view_best_fit), (ev_view_fit_width):
99         * pdf/xpdf/pdf-document.cc:
100         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
101         * ps/ps-document.c: (ps_document_get_page_size):
102         * backend/ev-document-misc.h:
103         * backend/ev-document.c: (ev_document_get_page_size):
104         * backend/ev-document.h: get_page_size now takes a page number
105         parameter.  Made all the backends/frontends honor it.
106
107         * data/evince-ui.xml: Added a multiple-page mode.  Uncomment to
108         see.  Doesn't work yet.
109
110         * shell/Makefile.am:
111         * shell/ev-page-view.[ch]: New multi-page view.  Really rough.
112         Doesn't do anything yet.
113
114         * shell/ev-sidebar-thumbnails.c:
115         (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
116         [0..n_pages-1]
117
118         * shell/ev-window.c: (update_action_sensitivity),
119         (ev_window_setup_document), (ev_window_set_page_mode),
120         (ev_window_page_mode_cb), (ev_window_init): Clean up the
121         view-swapping code a bit so we can have multiple views on a
122         document.  Add the multi-page view, though it can't be turned on
123         yet.
124
125 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
126
127         * shell/ev-application.c: (ev_application_open):
128         * shell/ev-view.c: (expose_bin_window):
129         * shell/ev-window.c: (ev_window_open):
130
131         Support eps and check document supports find
132         before drawing highlightings in expose.
133
134 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
135
136         * pixbuf/pixbuf-document.c:
137         (pixbuf_document_thumbnails_get_dimensions),
138         (pixbuf_document_document_thumbnails_iface_init):
139
140         implement get_dimensions
141
142 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
143
144         * NEWS:
145         * configure.ac:
146
147         Release 0.1.2
148
149 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
150
151         * shell/ev-view.c: (set_document_page):
152
153         Scroll at the top of the page when changing page
154
155 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
156
157         * shell/ev-view.c: (ev_view_motion_notify_event):
158
159         Do not redraw unnecessarily
160
161 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
162
163         * pdf/xpdf/pdf-document.cc:
164         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
165         (expose_bin_window), (find_changed_cb):
166
167         Yay! find works now... Now to find bugs...
168
169 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
170
171         * backend/ev-document-find.c: (ev_document_find_base_init),
172         (ev_document_find_changed):
173         * backend/ev-document-find.h:
174         * pdf/xpdf/pdf-document.cc:
175         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
176         (expose_bin_window), (ev_view_init), (set_document_page),
177         (ensure_rectangle_is_visible), (jump_to_find_result),
178         (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
179         (ev_view_find_next), (ev_view_find_previous):
180         * shell/ev-view.h:
181         * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
182
183         More work on find implementation, mostly there now
184
185 2005-01-29  Marco Pesenti Gritti  <marco@gnome.org>
186
187         * backend/ev-backend-marshalers.list:
188         * backend/ev-document-find.c: (ev_document_find_base_init),
189         (ev_document_find_cancel), (ev_document_find_page_has_results),
190         (ev_document_find_get_n_results), (ev_document_find_get_result),
191         (ev_document_find_get_progress), (ev_document_find_changed):
192         * backend/ev-document-find.h:
193
194         Enanche the find interface to be really able to do
195         multi page find.
196
197         * pdf/xpdf/pdf-document.cc:
198
199         Implement
200
201         * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
202         (expose_bin_window), (ev_view_init),
203         (ev_view_get_find_status_message), (find_changed_cb),
204         (ev_view_set_document), (set_document_page):
205
206         Adapt to the new interface. A few things are regressed sorry,
207         I will finish it soon.
208
209 2005-01-28  Martin Kretzschmar  <martink@gnome.org>
210
211         * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
212         (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
213         ev_sidebar_thumbnails_parent_class variable, don't define another
214         parent_class variable.
215
216         * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
217         (ev_page_action_class_init): ditto.
218
219         * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
220         (pixbuf_document_class_init): ditto.
221
222         * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
223         ditto.
224
225         * .cvsignore: ignore various valgrind output files.
226
227 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
228
229         * data/evince-ui.xml:
230         * shell/Makefile.am:
231         * shell/ev-history.c:
232         * shell/ev-history.h:
233         * shell/ev-navigation-action.c:
234         * shell/ev-navigation-action.h:
235         * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
236         (ev_view_set_page), (ev_view_fit_width):
237         * shell/ev-view.h:
238         * shell/ev-window.c: (update_action_sensitivity),
239         (ev_window_setup_document), (register_custom_actions):
240
241         Kill session history
242
243 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
244
245         * shell/ev-window.c: (update_action_sensitivity):
246
247         Fix inverted up/down buttons
248
249 2005-01-27  Martin Kretzschmar  <martink@gnome.org>
250
251         * shell/ev-sidebar-thumbnails.c
252         (ev_sidebar_thumbnails_select_page): make sure the selected
253         thumbnail stays visible.
254
255 2005-01-26  Martin Kretzschmar  <martink@gnome.org>
256
257         * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
258         scrolled window for Federico.
259
260 2005-01-26  Ole Laursen  <olau@hardworking.dk>
261
262         * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
263
264 2005-01-26  Marco Pesenti Gritti  <marco@gnome.org>
265
266         * configure.ac:
267         * pdf/splash/SplashFTFontEngine.cc:
268
269         Fix CID fonts with freetype 2.1.9
270
271 2005-01-26  Bryan Clark  <clarkbw@cvs.gnome.org>
272
273         * TODO: added item for desktop icon thumbnailer
274
275 Tue Jan 25 00:59:34 2005  Jonathan Blandford  <jrb@redhat.com>
276
277         * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
278         unloaded docs when the title is accessed.
279
280         * shell/ev-password-view.[hc]: New widget for displaying password
281         state.
282
283         * shell/ev-window.[ch]: Refactor password handling code to handle
284         the new view.
285
286 2005-01-24  Marco Pesenti Gritti  <marco@gnome.org>
287
288         * NEWS:
289         * configure.ac:
290         * data/Makefile.am:
291
292         Release 0.1.1
293
294 2005-01-23  Stephane LOEUILLET  <stephane.loeuillet@tiscali.fr>
295
296         * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
297         ignore page offset here, to make search results independent of it,
298
299         * shell/ev-view.c (expose_bin_window): but take offsets into
300         account here. Bug #164932
301
302         * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
303         scale at the right time. Bug #164996
304
305 2005-01-22  Martin Kretzschmar  <martink@gnome.org>
306
307         * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
308         fix the problem. Now I just removed the Adobe font names and hope
309         that the URW fonts are always in outline format. Bug #164934
310
311         * shell/ev-window.c (update_window_title): empty titles are
312         useless, use filename in that case too.
313
314         * NEWS: Add some content.
315
316 2005-01-21  Bryan Clark  <clarkbw@cvs.gnome.org>
317
318         * TODO: added one more TODO item and a TODONE section :)
319
320 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
321
322         * ps/ps-document.h: add page_[xy]_offset fields.
323
324         * ps/ps-document.c (ps_document_set_page_offset)
325         (ps_document_render): Keep offset in consideration in a few
326         places. Bug #164752 "postscript documents are not centered in
327         window"
328
329         * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
330         s/gpdf/evince/. Spotted by Stephane Loeuillet.
331
332         * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
333         (pixbuf_document_get_text, pixbuf_document_document_iface_init):
334         stub out missing methods for complete EvDocument implementation.
335         Fixes segfaults with Save A Copy and Copy actions.
336
337         * ps/ps-document.c (ps_document_save, ps_document_get_text) 
338         (ps_document_document_iface_init): ditto.
339         
340 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
341
342         * data/.cvsignore:
343         * data/Makefile.am:
344         * data/evince.desktop.in:
345
346         Add desktop file
347
348 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
349
350         * shell/ev-view.c: (ev_view_button_press_event),
351         (ev_view_motion_notify_event):
352
353         Make selection work in any direction
354
355 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
356
357         * TODO:
358         * shell/ev-window.c: (set_short_labels), (ev_window_init):
359
360         Use shorter labels for some of the toolbars items
361
362 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
363
364         * pdf/xpdf/pdf-document.cc:
365
366         Check the links info is initialized before
367         using it. Should fix a crash on startup.
368
369 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
370
371         * pixbuf/pixbuf-document.c
372         (pixbuf_document_thumbnails_get_dimensions): force floating point
373         division to calculate page_ratio. Fixes crash with landscape
374         format pixbufs.
375
376 Thu Jan 20 18:56:35 2005  Jonathan Blandford  <jrb@redhat.com>
377
378         * shell/ev-view.c (ev_view_realize): make the bg color darker.
379
380 2005-01-20  Martin Kretzschmar  <martink@gnome.org>
381
382         * shell/ev-view.c (set_document_page): unset has_selection when
383         the page changes.
384         (set_document_page): handle paper size changes when the page
385         changes (test with Free Culture, page 2).
386
387 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
388
389         * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
390         (expose_bin_window), (ev_view_class_init), (ev_view_init):
391
392         Use normal style color for the widget background and
393         draw a black box around the page.
394
395 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
396
397         * pdf/xpdf/pdf-document.cc:
398
399         Keep offset in consideration in a few places
400
401         * shell/ev-view.c: (expose_bin_window):
402
403         Set the offsets so that the document is ever centered
404
405 2005-01-20  Bryan Clark  <clarkbw@cvs.gnome.org>
406
407         * TODO: Added TODO items and finished off the first todo item
408
409         * AUTHORS: Updated AUTHORS section with piece from gpdf file and
410         reflect current authors
411
412 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
413
414         * pdf/xpdf/pdf-document.cc:
415         * shell/ev-view.c: (ev_view_set_cursor),
416         (ev_view_motion_notify_event), (document_changed_callback),
417         (set_document_page):
418
419         Show a wait cursor while the page is rendering
420
421 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
422
423         * shell/ev-sidebar-thumbnails.c:
424         (ev_sidebar_tree_selection_changed),
425         (ev_sidebar_thumbnails_select_page):
426         * shell/ev-sidebar-thumbnails.h:
427         * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
428         (ev_view_can_go_forward):
429         * shell/ev-window.c: (ev_window_open_page),
430         (ev_window_setup_document), (update_current_page),
431         (view_page_changed_cb), (ev_window_init):
432         * shell/ev-window.h:
433
434         Ensure thumbnails selection, toolbar page control and
435         current page are in sync.
436
437 2005-01-19  Marco Pesenti Gritti  <marco@gnome.org>
438
439         * pdf/xpdf/XRef.cc:
440
441         Fix CAN-2005-0064
442
443 Wed Jan 19 01:10:57 2005  Jonathan Blandford  <jrb@redhat.com>
444
445         * backend/Makefile.am:
446         * backend/ev-document-links.h:
447         * backend/ev-document-security.c: (ev_document_security_get_type),
448         (ev_document_security_has_document_security),
449         (ev_document_security_set_password):
450         * backend/ev-document-security.h:
451         * backend/ev-document.c: (ev_document_error_quark):
452         * backend/ev-document.h:
453         * data/Makefile.am:
454         * data/evince-password.glade:
455         * pdf/xpdf/pdf-document.cc:
456         * shell/Makefile.am:
457         * shell/ev-password.c: (ev_password_set_bad_password_label),
458         (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
459         (ev_password_dialog_get_password),
460         (ev_password_dialog_set_bad_pass):
461         * shell/ev-password.h:
462         * shell/ev-window.c: (ev_window_get_attribute),
463         (ev_window_set_property), (update_action_sensitivity),
464         (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
465         (ev_window_setup_document), (ev_window_get_password),
466         (ev_window_open), (ev_window_cmd_save_as),
467         (using_postscript_printer), (ev_window_print),
468         (find_not_supported_dialog), (ev_window_cmd_edit_find),
469         (update_fullscreen_popup), (ev_window_fullscreen),
470         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
471         (ev_window_focus_out_cb), (ev_window_cmd_help_about),
472         (menu_item_select_cb), (find_bar_search_changed_cb),
473         (ev_window_dispose), (ev_window_init):
474
475         Add initial support for password-supported dialogs.  This could be
476         a lot cooler, but it'll do for now.
477
478 2005-01-18  Marco Pesenti Gritti  <marco@gnome.org>
479
480         * pdf/xpdf/pdf-document.cc:
481         * shell/ev-view.c: (status_message_from_link),
482         (ev_view_set_status), (ev_view_set_cursor),
483         (ev_view_motion_notify_event), (ev_view_init):
484         * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
485
486         Fix bugs in the links implementation and change cursor
487         when hovering a link.
488
489 2005-01-17  Bryan Clark  <clarkbw@cvs.gnome.org>
490
491         * viewer/.cvsignore: added cvsignore file for viewer directory
492
493         * TODO: created TODO document
494
495 2005-01-14  Dave Malcolm  <dmalcolm@redhat.com>
496
497         * shell/ev-view.h:
498         * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):      
499         new functions to help with implementation of sensitivity code
500         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
501         of all actions that might require it.  Fixes a crash when you
502         click on the Zoom actions in a window lacking a document.
503
504 2005-01-13  Dave Malcolm  <dmalcolm@redhat.com>
505
506         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
507         of the Find action
508
509 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
510
511         * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
512         (pixbuf_document_document_iface_init):
513         * ps/ps-document.c: (ps_document_get_link),
514         (ps_document_document_iface_init):
515         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
516         (status_message_from_link), (ev_view_set_status),
517         (ev_view_set_find_status), (ev_view_motion_notify_event),
518         (ev_view_button_release_event), (ev_view_set_property),
519         (ev_view_get_property), (ev_view_class_init), (ev_view_init),
520         (ev_view_get_find_status_message), (update_find_results),
521         (ev_view_get_status), (ev_view_get_find_status):
522         * shell/ev-view.h:
523         * shell/ev-window.c: (view_status_changed_cb),
524         (view_find_status_changed_cb), (ev_window_init):
525
526         View status message support, use it to show the links.
527         Needs work...
528
529 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
530
531         * backend/ev-document.c: (ev_document_get_link):
532         * backend/ev-document.h:
533         * pdf/xpdf/pdf-document.cc:
534         * shell/ev-application.c: (ev_application_open):
535         * shell/ev-application.h:
536         * shell/ev-sidebar-links.c: (selection_changed_cb):
537         * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
538         (ev_view_go_to_link):
539
540         Add support for document links
541
542 2005-01-13  Anders Carlsson  <andersca@gnome.org>
543
544         * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
545         (create_tool_item):
546         Set the spin button limits correctly.
547         
548         * shell/ev-sidebar-thumbnails.c:
549         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
550         Support changing pages by clicking on the thumbnails.
551         
552 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
553
554         * pixbuf/pixbuf-document.c:
555         (pixbuf_document_thumbnails_get_dimensions),
556         (pixbuf_document_document_thumbnails_iface_init):
557
558         implement get_dimensions
559
560 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
561
562         * ps/ps-document.c: (ps_document_goto_page):
563
564         Fix page switching on multipage documents
565
566 2005-01-12  Jeff Muizelaar  <jrmuizel@nit.ca>
567
568         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
569         
570         check for NULL before assigning to width and height parameters
571
572 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
573
574         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
575         (pixbuf_document_set_property), (pixbuf_document_get_property):
576
577         implement get/set properties
578
579 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
580
581         * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
582         
583         return NULL instead of "Unknown", letting the title get set to
584         the filename when the pdf has no title.
585
586 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
587
588         * ps/ps-document.c: (ps_document_get_page_count),
589         (ps_document_goto_page):
590
591 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
592
593         * shell/ev-history.c: (ev_history_get_property),
594         (ev_history_set_property), (ev_history_class_init),
595         (ev_history_add_page), (ev_history_set_current_index):
596         * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
597         (activate_menu_item_cb), (new_history_menu_item), (build_menu),
598         (ev_navigation_action_finalize):
599         * shell/ev-navigation-action.h:
600         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
601         (ev_view_go_forward), (ev_view_get_find_status_message),
602         (history_index_changed_cb), (ev_view_set_history):
603         * shell/ev-view.h:
604         * shell/ev-window.c: (update_total_pages), (ev_window_open),
605         (update_current_page), (register_custom_actions):
606
607         Implement history dropdowns
608
609 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
610
611         * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
612         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
613         (ev_view_go_forward):
614         * shell/ev-window.c: (register_custom_actions):
615
616         Fix several history bugs
617
618 2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>
619
620         * configure.ac: Add «nb» to ALL_LINGUAS.
621
622 2005-01-10  Marco Pesenti Gritti  <marco@gnome.org>
623
624         * backend/Makefile.am:
625         * backend/ev-bookmark.c:
626         * backend/ev-bookmark.h:
627         * backend/ev-document-bookmarks.c:
628         * backend/ev-document-bookmarks.h:
629         * backend/ev-document-links.c: (ev_document_links_get_type),
630         (ev_document_links_has_document_links),
631         (ev_document_links_begin_read), (ev_document_links_get_link),
632         (ev_document_links_get_child), (ev_document_links_next),
633         (ev_document_links_free_iter):
634         * backend/ev-document-links.h:
635         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
636         (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
637         (ev_link_get_link_type), (ev_link_set_link_type),
638         (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
639         (ev_link_set_property), (ev_window_dispose), (ev_link_init),
640         (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
641         (ev_link_new_external):
642         * backend/ev-link.h:
643         * pdf/xpdf/pdf-document.cc:
644         * shell/Makefile.am:
645         * shell/ev-application.c: (ev_application_open_link):
646         * shell/ev-application.h:
647         * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
648         (ev_history_get_link_nth):
649         * shell/ev-history.h:
650         * shell/ev-sidebar-bookmarks.c:
651         * shell/ev-sidebar-bookmarks.h:
652         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
653         (ev_sidebar_links_class_init), (selection_changed_cb),
654         (ev_sidebar_links_construct), (ev_sidebar_links_init),
655         (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
656         (do_one_iteration), (populate_links_idle),
657         (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
658         * shell/ev-sidebar-links.h:
659         * shell/ev-sidebar.c: (ev_sidebar_set_document):
660         * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
661         (go_to_index):
662         * shell/ev-view.h:
663         * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
664         * shell/ev-window.h:
665
666         Rename bookmark to link, and use "Index" for the sidebar panel.
667
668 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
669
670         * shell/Makefile.am:
671         * shell/ev-application.c: (ev_application_open_bookmark):
672         * shell/ev-application.h:
673         * shell/ev-history.c: (ev_history_init), (free_links_list),
674         (ev_history_finalize), (ev_history_class_init),
675         (ev_history_add_link), (ev_history_add_page),
676         (ev_history_get_link_nth), (ev_history_get_n_links),
677         (ev_history_get_current_index), (ev_history_set_current_index),
678         (ev_history_new):
679         * shell/ev-history.h:
680         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
681         * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
682         (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
683         (go_to_index), (ev_view_go_back), (ev_view_go_forward),
684         (ev_view_set_page):
685         * shell/ev-view.h:
686         * shell/ev-window.c: (ev_window_open_bookmark),
687         (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
688         (goto_page_cb), (register_custom_actions):
689         * shell/ev-window.h:
690
691         Initial history implementation. Needs work.
692
693 2005-01-09  Martin Kretzschmar  <martink@gnome.org>
694
695         * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
696
697 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
698
699         * cut-n-paste/recent-files/egg-recent-item.c:
700         * cut-n-paste/recent-files/egg-recent-item.h:
701         * cut-n-paste/recent-files/egg-recent-model.c:
702         * cut-n-paste/recent-files/egg-recent-util.c:
703         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
704         * cut-n-paste/recent-files/egg-recent-view.c:
705
706         Update
707
708 2005-01-08  Martin Kretzschmar  <martink@gnome.org>
709
710         * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
711         (fillGlyph, fillImageMask, drawImage):
712         pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
713         pdf/splash/SplashTypes.h:
714         pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
715         packed mode for Splash.
716
717         * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
718         RGB8 packed mode, eliminates the pixbuf data creation loop.
719
720         * shell/ev-print-job.c (ev_print_job_finalize)
721         (ev_print_job_set_property, ev_print_job_get_property)
722         (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
723         (ev_print_job_use_print_dialog_settings, idle_print_handler)
724         (print_closure_finalize, ev_print_job_print): implement
725         printing (for backends with EvPsExporter)
726
727         * shell/ev_print_job.h: update prototypes.
728
729         * shell/ev-window.c (ev_window_print): unref print job after
730         printing.
731
732         * shell/ev-view.c (ev_view_set_document): don't connect to "found"
733         unless the document implements the EvDocumentFind interface.
734
735 2005-01-08  Satoru SATOH <ss@gnome.gr.jp>
736
737         * configure.ac: Added ja to ALL_LINGUAS.
738
739 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
740
741         * pdf/xpdf/pdf-document.cc:
742
743         add a FIXME. We should probably not allocate
744         a bookmark object every time
745
746 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
747
748         * shell/ev-application.c: (ev_application_open),
749         (ev_application_open_bookmark):
750         * shell/ev-application.h:
751         
752         Add a way to open bookmarks
753
754         * backend/ev-bookmark.c: (ev_bookmark_get_uri),
755         (ev_bookmark_set_uri), (ev_bookmark_get_property),
756         (ev_bookmark_set_property), (ev_bookmark_class_init),
757         (ev_bookmark_new_title), (ev_bookmark_new_link),
758         (ev_bookmark_new_external):
759
760         Support for external uris, better constructors.
761
762         * backend/ev-bookmark.h:
763         * pdf/xpdf/pdf-document.cc:
764         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
765
766         Handle external uris
767
768 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
769
770         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
771         (ev_sidebar_bookmarks_construct), (do_one_iteration):
772
773         Hook up bookmarks navigation
774
775 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
776
777         * backend/Makefile.am:
778         * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
779         (ev_bookmark_get_title), (ev_bookmark_set_title),
780         (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
781         (ev_bookmark_get_page), (ev_bookmark_set_page),
782         (ev_bookmark_get_property), (ev_bookmark_set_property),
783         (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
784         (ev_bookmark_new):
785         * backend/ev-bookmark.h:
786         * backend/ev-document-bookmarks.c:
787         (ev_document_bookmarks_get_bookmark):
788         * backend/ev-document-bookmarks.h:
789         * pdf/xpdf/pdf-document.cc:
790         * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
791
792         Add a bookmark object to the backend and use it instead of get_values
793
794 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
795
796         * data/evince-ui.xml:
797
798         Cleanup and add select all.
799
800         * shell/ev-view.c: (ev_view_select_all),
801         (ev_view_button_press_event):
802         * shell/ev-view.h:
803         * shell/ev-window.c: (ev_window_cmd_edit_select_all):
804
805         Add select all.
806         Clear selection on click.
807
808 Fri Jan  7 01:28:58 2005  Jonathan Blandford  <jrb@redhat.com>
809
810         * shell/ev-sidebar-thumbnails.c
811         (ev_sidebar_thumbnails_set_document): forgot to unref the
812         loading_icon.
813
814 Fri Jan  7 01:22:48 2005  Jonathan Blandford  <jrb@redhat.com>
815
816         * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
817         at the visible page, not just linearly.  This makes it look fast.
818
819 Thu Jan  6 18:48:11 2005  Jonathan Blandford  <jrb@redhat.com>
820
821         * backend/ev-document-misc.c
822         (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
823         white.
824         * backend/ev-document-thumbnails.h: New interface to get the size
825         of a page.
826
827 2005-01-06  Jeremy Katz  <katzj@redhat.com>
828
829         * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
830         make dist works
831
832 Wed Jan  5 15:38:28 2005  Jonathan Blandford  <jrb@redhat.com>
833
834         * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
835         GDKSplashOutputDev and just use a normal SplashOutputDev.  Speeds
836         things up a bit.
837
838         * shell/ev-sidebar-thumbnail.c: start of some profiling code.
839
840 2005-01-05  Martin Kretzschmar  <martink@gnome.org>
841
842         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
843         fonts. Should fix font problems on systems that have the base
844         fonts in bitmap format. Reported by James Henstridge
845         <james@jamesh.id.au>.
846
847 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
848
849         * pdf/xpdf/Gfx.cc:
850         * pdf/xpdf/GfxState.cc:
851
852         Fix for CAN-2004-1125
853
854 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
855
856         * shell/ev-view.c: (ev_view_copy):
857         * shell/ev-view.h:
858         * shell/ev-window.c: (ev_window_cmd_edit_copy):
859
860         Implement Edit->Copy
861
862 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
863
864         * backend/ev-document.c: (ev_document_get_text):
865         * backend/ev-document.h:
866         * pdf/xpdf/pdf-document.cc:
867         * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
868         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
869         (ev_view_update_primary_selection), (ev_view_button_press_event),
870         (ev_view_motion_notify_event), (ev_view_button_release_event):
871
872         Beginnings of clipboard support. Incomplete but primary sort
873         of work.
874
875 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
876
877         * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
878         (expose_bin_window):
879
880         Nicer rubberband drawing, from GtkIconView.
881
882 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
883
884         * backend/ev-document.c: (ev_document_save):
885         * backend/ev-document.h:
886         * data/evince-ui.xml:
887         * pdf/xpdf/pdf-document.cc:
888         * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
889
890         Implement "Save a copy..." menu item
891
892 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
893
894         * shell/ev-view.c: (ev_view_zoom):
895
896         Queue a resize when zoom changes
897
898 Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>
899
900         * backend/ev-document-misc.[ch]: New misc file to do simple drop
901         shadows.
902
903         * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
904         thumbnails..
905
906 Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
907
908         * pdf/xpdf/pdf-document.cc
909         (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
910
911 Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>
912
913         * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
914         It's slow, but I'll speed it up next!
915
916 2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>
917
918         * shell/main.c (load_files):
919
920         use gnome_vfs_make_uri_from_shell_arg so that relative paths work
921         from the command line and because it seems more appropriate.
922
923 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
924
925         * data/evince-ui.xml:
926         * shell/ev-window.c: (update_action_sensitivity),
927         (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
928
929         s/next page/page down
930         s/previous page/page up
931
932 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
933
934         * data/evince-ui.xml:
935
936         Change the layout to match clarkbw design.
937
938         * shell/Makefile.am:
939         * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
940         (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
941         (ev_navigation_action_finalize),
942         (ev_navigation_action_set_property),
943         (ev_navigation_action_get_property),
944         (ev_navigation_action_class_init):
945         * shell/ev-navigation-action.h:
946
947         Implement clarkbw toolbar navigation controls (incomplete)
948
949         * shell/ev-page-action.c: (update_label), (update_spin),
950         (value_changed_cb), (create_tool_item), (connect_proxy),
951         (ev_page_action_init), (ev_page_action_finalize),
952         (ev_page_action_set_property), (ev_page_action_get_property),
953         (ev_page_action_set_current_page),
954         (ev_page_action_set_total_pages), (ev_page_action_class_init):
955         * shell/ev-page-action.h:
956
957         Implement a page switcher in the toolbar
958
959         * shell/ev-view.c: (ev_view_scroll_view):
960         * shell/ev-window.c: (update_total_pages), (ev_window_open),
961         (update_current_page), (view_page_changed_cb), (goto_page_cb),
962         (register_custom_actions), (ev_window_init):
963
964         Change page on PageUp/Down.
965
966 Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>
967
968         * pdf/xpdf/pdf-document.cc
969         (pdf_document_thumbnails_get_thumbnail): initial stab at
970         implementing thumbnail support for pdfs.  It only does documents
971         with precached pdfs now.
972
973 Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>
974
975         * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
976         thumbnail code into a time-based idle as well.  Also, turn off the
977         shadow temporarily as it's really slow.
978
979 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
980
981         * backend/ev-document.c: (ev_document_class_init):
982         * pdf/xpdf/pdf-document.cc:
983         * shell/ev-window.c: (ev_window_open):
984
985         Fix document title bugs and fallback to
986         filename when not available.
987
988 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
989
990         * backend/ev-document.c: (ev_document_get_type),
991         (ev_document_class_init), (ev_document_load),
992         (ev_document_get_title):
993         * backend/ev-document.h:
994         * pdf/xpdf/pdf-document.cc:
995         * ps/ps-document.c: (ps_document_set_property),
996         (ps_document_get_property), (ps_document_class_init),
997         (document_load):
998         * ps/ps-document.h:
999         * ps/ps.h:
1000         * shell/ev-window.c: (update_window_title), (ev_window_open),
1001         (ev_window_init):
1002
1003         Initial support for document title. Not working yet.
1004
1005 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
1006
1007         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
1008
1009         Grab focus on the view when clicking it
1010
1011 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
1012
1013         * shell/ev-marshal.list:
1014         * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
1015         (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
1016
1017         Add key bindings to the view. Now if the focus would work
1018         right...
1019
1020 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
1021
1022         * Makefile.am:
1023         * backend/Makefile.am:
1024         * data/Makefile.am:
1025         * dvi/Makefile.am:
1026         * dvi/dvilib/Makefile.am:
1027         * pdf/xpdf/Makefile.am:
1028         * po/POTFILES.in:
1029         * ps/Makefile.am:
1030
1031         Fix distcheck
1032
1033 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
1034
1035         * shell/ev-view.c: (ev_view_realize):
1036
1037         Fix mouse wheel scrolling
1038
1039 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
1040
1041         * ps/Makefile.am:
1042         * ps/gstypes.h:
1043         * ps/gtkgs.c:
1044         * ps/gtkgs.h:
1045         * ps/ps-document.c: (catchPipe), (ps_document_init),
1046         (ps_document_class_init), (ps_document_cleanup),
1047         (ps_document_finalize), (send_ps), (ps_document_get_orientation),
1048         (set_up_page), (close_pipe), (is_interpreter_ready),
1049         (interpreter_failed), (output), (input), (start_interpreter),
1050         (stop_interpreter), (file_length), (file_readable),
1051         (check_filecompressed), (check_pdf), (compute_xdpi),
1052         (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
1053         (ps_document_get_type), (ps_document_emit_error_msg),
1054         (document_load), (ps_document_next_page),
1055         (ps_document_get_current_page), (ps_document_get_page_count),
1056         (ps_document_goto_page), (ps_document_set_page_size),
1057         (ps_document_zoom_to_fit), (ps_document_set_zoom),
1058         (ps_document_load), (ps_document_get_n_pages),
1059         (ps_document_set_page), (ps_document_get_page),
1060         (ps_document_widget_event), (ps_document_set_target),
1061         (ps_document_set_scale), (ps_document_set_page_offset),
1062         (ps_document_get_page_size), (ps_document_render),
1063         (ps_document_document_iface_init):
1064         * ps/ps-document.h:
1065         * ps/ps.c:
1066         * shell/ev-window.c: (ev_window_open):
1067
1068         Rename GtkGS to PSDocument
1069
1070 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
1071
1072         * ps/gtkgs.c: (gtk_gs_class_init):
1073         * ps/gtkgs.h:
1074
1075         Some more leftover...
1076
1077 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
1078
1079         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
1080         (output), (stop_interpreter), (gtk_gs_emit_error_msg),
1081         (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
1082         * ps/gtkgs.h:
1083
1084         Remove unused code and make a lot of stuff private
1085
1086 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
1087
1088         * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
1089         (gtk_gs_defaults_changed):
1090         * ps/gsdefaults.h:
1091         * ps/gtkgs.c:
1092         * ps/gtkgs.h:
1093         * ps/ps.h:
1094
1095         Cleanup headers dependencies
1096
1097 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
1098
1099         * ps/Makefile.am:
1100         * ps/ggvutils.c:
1101         * ps/ggvutils.h:
1102         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
1103         * ps/gsdefaults.h:
1104         * ps/gtkgs.c: (file_length), (file_readable),
1105         (check_filecompressed), (check_pdf), (gtk_gs_load),
1106         (gtk_gs_get_postscript):
1107
1108         Get rid of ggvutils
1109
1110 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
1111
1112         * ps/ggvutils.c:
1113         * ps/ggvutils.h:
1114         * ps/gsio.h:
1115         * ps/gtkgs.c: (gtk_gs_set_zoom):
1116
1117         Cleanups
1118
1119 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
1120
1121         * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
1122
1123         Ensure the page is rerendered when changing zoom
1124
1125 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
1126
1127         * backend/ev-document.c: (ev_document_base_init),
1128         (ev_document_changed):
1129         * backend/ev-document.h:
1130
1131         Add a changed event that is emitted when the page content
1132         changes. This is necessary to deal with the fact that
1133         in ps backend rendering happen asycrounously.
1134         This makes the ps backend mostly work.
1135
1136         * pdf/xpdf/pdf-document.cc:
1137
1138         Emit changed event
1139
1140         * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
1141         (ps_document_set_target):
1142
1143         Emit changed event
1144
1145         * shell/ev-view.c: (document_changed_callback),
1146         (ev_view_set_document), (ev_view_set_page):
1147
1148         Redraw on the changed signal
1149
1150 2004-12-25  Raphael Higino  <raphaelh@cvs.gnome.org>
1151
1152         * configure.ac: Added pt_BR to ALL_LINGUAS.
1153
1154 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
1155
1156         * backend/ev-document-bookmarks.c:
1157         (ev_document_bookmarks_get_child): *
1158         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
1159         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
1160         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
1161         (ev_sidebar_bookmarks_destroy),
1162         (ev_sidebar_bookmarks_class_init),
1163         (ev_sidebar_bookmarks_construct), (stack_data_free),
1164         (do_one_iteration), (populate_bookmarks_idle),
1165         (ev_sidebar_bookmarks_clear_document),
1166         (ev_sidebar_bookmarks_set_document): *
1167         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
1168         (ev_sidebar_add_page),
1169         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
1170         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
1171         it displays both the topics and the page numbers.
1172
1173 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
1174
1175         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
1176         toggle.
1177         * shell/ev-window.c (toggle_entries): Set sidebar default value to
1178         visible.
1179
1180 2004-12-23  Adam Weinberger  <adamw@gnome.org>
1181
1182         * configure.ac: Added en_CA to ALL_LINGUAS.
1183
1184 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
1185
1186         * ChangeLog: replace bottom of this ChangeLog (merged history of
1187         ggv and gpdf; where all paths were wrong and most of the files are
1188         not even in this tree) with ChangeLog (from arch) of the shell
1189         code.
1190
1191 2004-12-23  Havoc Pennington  <hp@redhat.com>
1192
1193         * shell/ev-window.c: hook up potentially-questionable "find
1194         results status text" feature - something involving the sidebar or
1195         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
1196         might be better in the end.
1197
1198         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
1199         with corresponding signal when it should be updated
1200
1201         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
1202
1203 2004-12-22  Havoc Pennington  <hp@redhat.com>
1204
1205         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
1206         find stuff on other pages, sort of (only returns one result on
1207         invisible pages, to show they have results; updates full results
1208         for a page when you view it). Currently repaints the current page
1209         every time a new result is found on any page, which isn't so nice.
1210
1211 2004-12-22  Havoc Pennington  <hp@redhat.com>
1212
1213         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
1214         the document doesn't support find (better ideas?)
1215         (find_bar_search_changed_cb): handle missing document or document
1216         that doesn't support find
1217
1218         * pdf/xpdf/pdf-document.cc: port to implement the new
1219         EvDocumentFindIface
1220
1221         * backend/ev-document-find.c: create a new interface for searching
1222
1223         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
1224
1225 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
1226
1227         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
1228         libevbackend.la.
1229
1230         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
1231         EvPrintJob constructor arguments.
1232
1233         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
1234         for documents that can export PostScript (page by page).
1235
1236         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
1237         
1238         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
1239         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
1240         (pdf_document_ps_exporter_iface_init:
1241         Implement EvPSExporter.
1242
1243         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
1244
1245 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1246
1247         * backend/Makefile.am:
1248         * backend/ev-document-thumbnails.c:
1249         (ev_document_thumbnails_get_type),
1250         (ev_document_thumbnails_get_thumbnail):
1251         * backend/ev-document-thumbnails.h:
1252         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1253         (pixbuf_document_thumbnails_get_thumbnail),
1254         (pixbuf_document_document_thumbnails_iface_init):
1255         * shell/Makefile.am:
1256         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
1257         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
1258         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
1259         * shell/ev-sidebar-thumbnails.h:
1260         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
1261         (ev_sidebar_set_document):
1262         * shell/ev-utils.c: (gaussian), (create_blur_filter),
1263         (create_shadow), (ev_pixbuf_add_shadow):
1264         * shell/ev-utils.h:
1265         Add thumbnail support.
1266         
1267 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
1268
1269         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
1270         (using_postscript_printer): Set up a print dialog for "PostScript
1271         injection" method.
1272
1273         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
1274         EvPrintJob.
1275
1276         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
1277
1278 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
1279
1280         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
1281         (ps_document_set_target), (ps_document_get_page_size),
1282         (ps_document_render):
1283         * ps/gtkgs.h:
1284
1285         Fix a few bugs
1286
1287 2004-12-22  Christian Rose  <menthos@menthos.com>
1288
1289         * configure.ac: Added "sv" to ALL_LINGUAS.
1290
1291 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
1292
1293         * backend/ev-document-bookmarks.[ch]: new interface to indicate
1294         document supports bookmarks.
1295
1296 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
1297
1298         * ps/ggvutils.c: (ggv_file_readable):
1299         * ps/ggvutils.h:
1300         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
1301         (gtk_gs_get_postscript):
1302
1303         Remove unused utils
1304
1305 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
1306
1307         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
1308         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
1309         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
1310         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
1311         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
1312         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
1313         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1314         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1315         (gtk_gs_set_antialiasing), (ps_document_load),
1316         (ps_document_render):
1317         * ps/gtkgs.h:
1318
1319         Another check point for the ps backend. Now I can get it to show
1320         pages!
1321
1322 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
1323
1324         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
1325         document setting code.
1326
1327 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1328
1329         * shell/eggfindbar.c: (entry_activate_callback):
1330         Animate the next button when activate is pressed.
1331         
1332 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1333
1334         * shell/ev-window.c: (ev_window_cmd_edit_find),
1335         (update_fullscreen_popup), (ev_window_fullscreen),
1336         (ev_window_unfullscreen), (ev_window_state_event_cb),
1337         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1338         Fix bugs in fullscreen code.
1339         
1340 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1341
1342         * Makefile.am:
1343         * configure.ac:
1344         * pixbuf/Makefile.am:
1345         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1346         (pixbuf_document_load), (pixbuf_document_get_n_pages),
1347         (pixbuf_document_set_page), (pixbuf_document_get_page),
1348         (pixbuf_document_set_target), (pixbuf_document_set_scale),
1349         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1350         (pixbuf_document_render), (pixbuf_document_begin_find),
1351         (pixbuf_document_end_find), (pixbuf_document_finalize),
1352         (pixbuf_document_class_init),
1353         (pixbuf_document_document_iface_init), (pixbuf_document_init):
1354         * pixbuf/pixbuf-document.h:
1355         * shell/Makefile.am:
1356         * shell/ev-application.c: (ev_application_open):
1357         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1358         (ev_window_open):
1359         Add pixbuf backend.
1360         
1361 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
1362
1363         * Makefile.am: 
1364         * dvi/dvilib/Makefile.am:
1365         * dvi/Makefile.am:
1366         * configure.ac: Auto*ify dvi and dvi/dvilib
1367
1368         * dvi/Makefile: Remove from CVS
1369         
1370         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1371         confusion.
1372
1373         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1374         
1375         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1376         
1377 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
1378
1379         * ps/Makefile.am:
1380         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1381         (gtk_gs_value_adjustment_changed), (compute_size),
1382         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1383         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1384         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1385         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1386         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1387         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1388         (ps_document_load), (ps_document_get_n_pages),
1389         (ps_document_set_page), (ps_document_get_page),
1390         (ps_document_set_target), (ps_document_set_scale),
1391         (ps_document_set_page_offset), (ps_document_get_page_size),
1392         (ps_document_render), (ps_document_begin_find),
1393         (ps_document_end_find), (ps_document_document_iface_init):
1394         * ps/gtkgs.h:
1395         * shell/Makefile.am:
1396         * shell/ev-window.c: (ev_window_open):
1397
1398         Some work to integrate gtkgs with EvDocument
1399
1400 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1401
1402         * shell/ev-window.c: (update_fullscreen_popup),
1403         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1404         (exit_fullscreen_button_clicked_cb),
1405         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1406         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1407         (ev_window_state_event_cb), (ev_window_init):
1408         Add fullscreen support from Epiphany.
1409         
1410 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1411
1412         * data/ev-stock-zoom-fit-width.png: fit-width
1413         stock icon from gpdf.
1414         
1415         * shell/ev-stock-icons.[ch]: copied from gpdf.
1416         
1417         * shell/main.c: (main): init stock icons.
1418         
1419         * shell/ev-window.c: use the fit-width icon.
1420         
1421         * data/evince-ui.xml: add zooming toolbar items.
1422
1423 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1424
1425         * shell/ev-view.c: 
1426         (ev_view_best_fit), (ev_view_fit_width): because
1427         get_page_size() returns the scaled page size, we
1428         need to calculate the scale factor relative to
1429         the previous scale factor. Should really just
1430         add get_real_page_size().
1431
1432 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1433
1434         * shell/ev-view.[ch]:
1435         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1436         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1437         add zooming.
1438         
1439         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1440         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1441         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1442         hook it up.
1443         
1444         * pdf/xpdf/pdf-document.cc:
1445         (pdf_document_begin_find),
1446         (pdf_document_end_find): make static.
1447
1448 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
1449
1450         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1451
1452         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1453         names to fontconfig patterns.
1454         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1455
1456         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1457         setupBaseFontsFc.
1458
1459 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
1460
1461         * Makefile.am:
1462         * configure.ac:
1463         * ps/Makefile.am:
1464         * ps/ggvutils.c:
1465         * ps/ggvutils.h:
1466         * ps/gsdefaults.c:
1467         * ps/gsdefaults.h:
1468         * ps/gsio.c:
1469         * ps/gsio.h:
1470         * ps/gtkgs.c:
1471         * ps/gtkgs.h:
1472         * ps/ps.c:
1473         * ps/ps.h:
1474
1475         Import ggv backend. Not hooked up yet.
1476
1477 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1478
1479         * shell/main.c: (load_files), (main): load files
1480         from the command line.
1481
1482 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1483
1484         * configure.ac: don't require bonobo.
1485         
1486         * cut-n-paste/recent-files/*: kill bonobo recent
1487         view.
1488
1489         * shell/ev-window.c:
1490         (ev_window_is_empty): upd.
1491         (unable_to_load), (ev_window_open): load backend
1492         based on the mime type.
1493
1494 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
1495
1496         * backend/.cvsignore: ignore generated marshalers source.
1497
1498         * shell/main.c (main): this is not epiphany.
1499
1500 2004-12-22  Havoc Pennington  <hp@redhat.com>
1501
1502         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1503         (expose_bin_window): draw find highlights
1504
1505         * shell/ev-window.c (find_bar_search_changed_cb): implement 
1506         
1507         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
1508         (pdf_document_end_find): implement this interface
1509
1510         * backend/ev-document.c (ev_document_found): add this to emit
1511         signal
1512
1513 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
1514
1515         * data/evince-ui.xml: Add a few more toolbar items.
1516
1517         * shell/ev-window.c: Hook up page navigation toolbar 
1518         items.
1519
1520         * shell/ev-view.[ch]: add ev_view_set/get_page and 
1521         a page-changed signal.
1522
1523         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1524         Add ev_document_get_page().
1525
1526         * shell/ev-window.c: Sensitize/desensitize navigation
1527         actions.
1528
1529 2004-12-21  Havoc Pennington  <hp@redhat.com>
1530
1531         * backend/ev-backend-marshal.c,
1532         backend/ev-backend-marshalers.list, backend/Makefile.am: add
1533         marshaler-generator thingy. I'm sure there's a better way to do
1534         this in the modern world.
1535
1536         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1537         end_find methods and "found" signal.
1538
1539         * configure.ac: find glib-genmarshal
1540
1541 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
1542
1543         * shell/ev-sidebar.c: Construct an actual sidebar.
1544         * shell/ev-sidebar-bookmarks.[ch]:
1545         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1546
1547 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
1548
1549         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1550         Redo size handling.
1551         
1552         * shell/ev-view.c: Track the size from the document.
1553
1554 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
1555
1556         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1557         constructor assumes ownership of the string passed in.
1558         
1559         * shell/ev-window.c (ev_window_open): Destroy the error
1560         dialog once we've displayed it.
1561
1562 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
1563
1564         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
1565         a bit, it works! (sort of)
1566
1567         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1568         Move to .cc since we need to use C++ in the implementation.
1569
1570         * shell/dummy.cc: Add a CC file to force evince
1571         to be linked as a C++ program.
1572
1573 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
1574
1575         * shell/ev-view.[ch]: Start of content-area widget.
1576
1577         * shell/ev-window.c: Create a EvView, update it
1578         as we change documents.
1579
1580         * shell/Makefile.am shell/ev-marshal.list: Add
1581         generated marshalers.
1582
1583 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
1584
1585         * Makefile.am (SUBDIRS): move shell.
1586
1587 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
1588
1589         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1590         .a to libtool convenience libraries.
1591
1592         * shell/ev-window.c (ev_window_open): Hard code loading
1593         a PDF document.
1594         
1595         * backend/ev-document.h: Add a boolean return to load(),
1596         fix GError * to GError **.
1597
1598         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1599         object for a PDF backend EvDocument.
1600
1601 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
1602
1603         * dvi/*: New directory with the beginning of a .dvi backend.
1604
1605 2004-12-21  Havoc Pennington  <hp@redhat.com>
1606
1607         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1608         previous/next instead of back/forward
1609
1610 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
1611
1612         * backend/ev-document.[ch]: Fix a couple of problems so
1613         it compile.
1614
1615 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
1616
1617         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
1618         to backend/ directory, rename EvViewer to EvDocument.
1619
1620 2004-12-21  Havoc Pennington  <hp@redhat.com>
1621
1622         * shell/ev-window.c: hook up the find bar widget; now we just need
1623         a document to find things in
1624
1625         * shell/eggfindbar.c: a find bar widget
1626
1627 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
1628
1629         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1630
1631 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
1632
1633         * pdf/**: Import of xpdf code from gpdf. 
1634
1635         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1636
1637         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1638         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
1639         Fix FreeType includes.
1640
1641         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1642         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1643         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1644         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1645         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1646         Include xpdfconfig.h
1647         
1648 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
1649
1650         * shell/ev-window.c (ev_window_dispose): dispose can be called
1651         multiple times.
1652
1653 2004-12-21  Havoc Pennington  <hp@redhat.com>
1654
1655         * shell/ev-window.c (ev_window_init): set title to Document Viewer
1656         rather than Evince
1657
1658         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1659         items; really they should be synced with the strings, etc. from
1660         current gpdf, but just getting the boring typing out of the way 
1661
1662 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
1663
1664         * po/POTFILES.in:
1665         * shell/ev-application.c: (window_destroy_cb):
1666         * shell/ev-window.c:
1667         * shell/main.c: (main):
1668
1669         Actually show the window...
1670
1671 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
1672
1673         * Makefile.am:
1674         * shell/Makefile.am:
1675         * shell/ev-application.c: (ev_application_class_init):
1676         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1677
1678         Make it build again
1679
1680 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
1681
1682         Import to gnome cvs.
1683         
1684         * Remove copies of gpdf and ggv trees.
1685         * Rip out all the recursive configure code.
1686         * Remove bonobo machinery.
1687         * viewer/*: GInterfaces that backends should/can implement.
1688
1689 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1690
1691         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1692         typo
1693
1694 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1695
1696         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1697         (ev_application_finalize, ev_application_class_init)
1698         (ev_application_init): use GType instance private data for priv.
1699     
1700         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1701         (ev_window_finalize, ev_window_class_init)
1702         (ev_window_init): ditto.
1703
1704 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1705
1706         * shell/ev-application.c (ev_application_new_window): make public
1707         (ev_application_show_initial_window): kill.
1708     
1709         * shell/ev-application.h: update prototypes.
1710     
1711         * shell/main.cc (main): inline ev_application_show_initial_window.
1712
1713 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1714
1715         * shell/ev-application.c (ev_application_new_window): impl.
1716         (ev_application_show_initial_window): use it.
1717         (is_window_empty, ev_application_get_empty_window): returns an
1718         existing empty window or a new one.
1719         (ev_application_open): from ev_window_cmd_file_open.
1720     
1721         * shell/ev-application.h: update prototypes
1722     
1723         * shell/ev-window.c (ev_window_is_empty): impl.
1724         (ev_window_open): make public.
1725         (ev_window_cmd_file_open): use ev_application_open
1726     
1727         * shell/ev-window.h: update prototypes, remove unused.
1728
1729 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1730
1731         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1732         move destroy handler out of here...
1733     
1734         * shell/ev-application.c, shell/ev-application.h: ...into this new
1735         class. Also handles initial window creation.
1736     
1737         * shell/main.cc (main): use EvApplication to create initial
1738         window.
1739
1740 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1741
1742         * Makefile.am (SUBDIRS): add cut-n-paste
1743     
1744         * cut-n-paste/Makefile.am: add
1745     
1746         * configure.ac: generate Makefiles in cut-n-paste
1747
1748 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1749
1750         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1751         (ev_window_class_init): install ev_window_dispose.
1752
1753 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1754
1755         * shell/ev-window.h, shell/ev-window.c: replace gchar with
1756         char (gchar looks stupid).
1757
1758 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1759
1760         * po/de.po: updated German translation.
1761
1762 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1763
1764         * configure.ac: add more pkg-config library checks for gnome-vfs,
1765         bonobo etc.
1766     
1767         * gpdf/configure.in: temporarily disable libpaper
1768         checks. Otherwise I'd have to add the checks for the shell, too.
1769
1770 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1771
1772         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1773         and * file filters to the file choose.
1774
1775 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1776
1777         * po/de.po: Updated German translation.
1778
1779 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1780
1781         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1782
1783 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1784
1785         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1786     
1787         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1788         (ev_window_init): implement those menuitems.
1789
1790 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1791
1792         * data/evince-ui.xml: add a toolbar (with FileOpen action)
1793     
1794         * shell/ev-window.c (ev_window_init): use the toolbar.
1795
1796 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1797
1798         * shell/ev-window.c (ev_window_init): use menu translations
1799
1800 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1801
1802         * configure.ac: add "de" to ALL_LINGUAS.
1803     
1804         * po/de.po: add German translation.
1805
1806 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1807
1808         * Makefile.am (SUBDIRS): add po
1809     
1810         * configure.ac: check intltool, glib-gettext etc, generate
1811         po/Makefile.in
1812     
1813         * po, po/POTFILES.in, po/POTFILES.skip: new.
1814
1815 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1816
1817         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1818         already use (#ifdef ENABLE_NLS)
1819     
1820         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1821         pointer indirection thinko.
1822     
1823         * shell/main.c: include gi18n.h for bindtextdomain etc.
1824
1825 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1826
1827         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1828         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1829         tooltips for menu items in the statusbar.
1830
1831 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1832
1833         * configure.ac, data/Makefile.am, shell/Makefile.am: use
1834         pkgdatadir drop UIDIR
1835
1836 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1837
1838         * data/evince-ui.xml: Add File->Open menu item
1839     
1840         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1841         chooser), hook it up in the ui manager.
1842
1843 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1844
1845         * shell/ev-window.c: fix Help->About tooltip.
1846
1847 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
1848
1849         * configure.ac: set CFLAGS for libevprivate.
1850     
1851         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1852         definitions, factory etc.
1853     
1854         * lib/Makefile.am: build libevprivate.a (only stock icon code).
1855     
1856         * shell/Makefile.am: link against libevprivate.a.
1857     
1858         * shell/ev-window.c (entries): add stock icon to Help->About.
1859     
1860         * shell/main.c (main): init stock icon code.
1861
1862 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1863
1864         * lib/recent-files: egg recent files code
1865     
1866         * lib/Makefile.am: add.
1867     
1868         * Makefile.am: add lib subdir.
1869     
1870         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1871         set CFLAGS for recent-files.
1872
1873 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1874
1875         * configure.ac: disable -ansi and -pedantic gcc flags. They
1876         disable POSIX stuff in stdio.h, but egg-recent uses them.
1877
1878 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
1879
1880         * configure.ac: add --disable-deprecated flag (defaults to on in
1881         "cvs" builds).
1882     
1883         * shell/Makefile.am (INCLUDES): use it.
1884
1885 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1886
1887         * shell/main.c: add missing #include.
1888     
1889         * shell/ev-window.c: fix for pedantic gcc.
1890         (ev_window_cmd_help_about): split license into paragraphs for
1891         translators and pedantic compilers.
1892
1893 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1894
1895         * configure.ac: add more warning flags if compiling with gcc from
1896         cvs (or explicitly requested with --enable-more-warnings).
1897
1898 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1899
1900         * data/evince-ui.xml: add File and File->Close menu.
1901     
1902         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1903         (ev_window_destroy): quit after destroy.
1904         (ev_window_class_init): override GtkObject::destroy.
1905         (entries): install close_window callback.
1906
1907 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1908
1909         * Makefile.am (SUBDIRS): add data subdir.
1910     
1911         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
1912         gtk+ 2.5.0 for GtkAboutDialog.
1913     
1914         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1915         main window.
1916     
1917         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1918     
1919         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1920         manager.
1921         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1922
1923 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1924
1925         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1926
1927 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1928
1929         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1930
1931 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1932
1933         * shell/*: Added shell directory boilerplate, build it.
1934
1935 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1936
1937         * configure.ac, Makefile.am: Added top-level configure.ac and
1938         Makefile.am