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