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