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