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