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