]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
Added Simplified Chinese translation
[evince.git] / ChangeLog
1 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
2
3         * backend/ev-document-bookmarks.c:
4         (ev_document_bookmarks_get_child): *
5         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
6         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
7         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
8         (ev_sidebar_bookmarks_destroy),
9         (ev_sidebar_bookmarks_class_init),
10         (ev_sidebar_bookmarks_construct), (stack_data_free),
11         (do_one_iteration), (populate_bookmarks_idle),
12         (ev_sidebar_bookmarks_clear_document),
13         (ev_sidebar_bookmarks_set_document): *
14         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
15         (ev_sidebar_add_page),
16         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
17         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
18         it displays both the topics and the page numbers.
19
20 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
21
22         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
23         toggle.
24         * shell/ev-window.c (toggle_entries): Set sidebar default value to
25         visible.
26
27 2004-12-23  Adam Weinberger  <adamw@gnome.org>
28
29         * configure.ac: Added en_CA to ALL_LINGUAS.
30
31 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
32
33         * ChangeLog: replace bottom of this ChangeLog (merged history of
34         ggv and gpdf; where all paths were wrong and most of the files are
35         not even in this tree) with ChangeLog (from arch) of the shell
36         code.
37
38 2004-12-23  Havoc Pennington  <hp@redhat.com>
39
40         * shell/ev-window.c: hook up potentially-questionable "find
41         results status text" feature - something involving the sidebar or
42         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
43         might be better in the end.
44
45         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
46         with corresponding signal when it should be updated
47
48         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
49
50 2004-12-22  Havoc Pennington  <hp@redhat.com>
51
52         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
53         find stuff on other pages, sort of (only returns one result on
54         invisible pages, to show they have results; updates full results
55         for a page when you view it). Currently repaints the current page
56         every time a new result is found on any page, which isn't so nice.
57
58 2004-12-22  Havoc Pennington  <hp@redhat.com>
59
60         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
61         the document doesn't support find (better ideas?)
62         (find_bar_search_changed_cb): handle missing document or document
63         that doesn't support find
64
65         * pdf/xpdf/pdf-document.cc: port to implement the new
66         EvDocumentFindIface
67
68         * backend/ev-document-find.c: create a new interface for searching
69
70         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
71
72 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
73
74         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
75         libevbackend.la.
76
77         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
78         EvPrintJob constructor arguments.
79
80         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
81         for documents that can export PostScript (page by page).
82
83         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
84         
85         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
86         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
87         (pdf_document_ps_exporter_iface_init:
88         Implement EvPSExporter.
89
90         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
91
92 2004-12-22  Anders Carlsson  <andersca@gnome.org>
93
94         * backend/Makefile.am:
95         * backend/ev-document-thumbnails.c:
96         (ev_document_thumbnails_get_type),
97         (ev_document_thumbnails_get_thumbnail):
98         * backend/ev-document-thumbnails.h:
99         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
100         (pixbuf_document_thumbnails_get_thumbnail),
101         (pixbuf_document_document_thumbnails_iface_init):
102         * shell/Makefile.am:
103         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
104         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
105         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
106         * shell/ev-sidebar-thumbnails.h:
107         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
108         (ev_sidebar_set_document):
109         * shell/ev-utils.c: (gaussian), (create_blur_filter),
110         (create_shadow), (ev_pixbuf_add_shadow):
111         * shell/ev-utils.h:
112         Add thumbnail support.
113         
114 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
115
116         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
117         (using_postscript_printer): Set up a print dialog for "PostScript
118         injection" method.
119
120         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
121         EvPrintJob.
122
123         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
124
125 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
126
127         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
128         (ps_document_set_target), (ps_document_get_page_size),
129         (ps_document_render):
130         * ps/gtkgs.h:
131
132         Fix a few bugs
133
134 2004-12-22  Christian Rose  <menthos@menthos.com>
135
136         * configure.ac: Added "sv" to ALL_LINGUAS.
137
138 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
139
140         * backend/ev-document-bookmarks.[ch]: new interface to indicate
141         document supports bookmarks.
142
143 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
144
145         * ps/ggvutils.c: (ggv_file_readable):
146         * ps/ggvutils.h:
147         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
148         (gtk_gs_get_postscript):
149
150         Remove unused utils
151
152 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
153
154         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
155         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
156         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
157         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
158         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
159         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
160         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
161         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
162         (gtk_gs_set_antialiasing), (ps_document_load),
163         (ps_document_render):
164         * ps/gtkgs.h:
165
166         Another check point for the ps backend. Now I can get it to show
167         pages!
168
169 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
170
171         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
172         document setting code.
173
174 2004-12-22  Anders Carlsson  <andersca@gnome.org>
175
176         * shell/eggfindbar.c: (entry_activate_callback):
177         Animate the next button when activate is pressed.
178         
179 2004-12-22  Anders Carlsson  <andersca@gnome.org>
180
181         * shell/ev-window.c: (ev_window_cmd_edit_find),
182         (update_fullscreen_popup), (ev_window_fullscreen),
183         (ev_window_unfullscreen), (ev_window_state_event_cb),
184         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
185         Fix bugs in fullscreen code.
186         
187 2004-12-22  Anders Carlsson  <andersca@gnome.org>
188
189         * Makefile.am:
190         * configure.ac:
191         * pixbuf/Makefile.am:
192         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
193         (pixbuf_document_load), (pixbuf_document_get_n_pages),
194         (pixbuf_document_set_page), (pixbuf_document_get_page),
195         (pixbuf_document_set_target), (pixbuf_document_set_scale),
196         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
197         (pixbuf_document_render), (pixbuf_document_begin_find),
198         (pixbuf_document_end_find), (pixbuf_document_finalize),
199         (pixbuf_document_class_init),
200         (pixbuf_document_document_iface_init), (pixbuf_document_init):
201         * pixbuf/pixbuf-document.h:
202         * shell/Makefile.am:
203         * shell/ev-application.c: (ev_application_open):
204         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
205         (ev_window_open):
206         Add pixbuf backend.
207         
208 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
209
210         * Makefile.am: 
211         * dvi/dvilib/Makefile.am:
212         * dvi/Makefile.am:
213         * configure.ac: Auto*ify dvi and dvi/dvilib
214
215         * dvi/Makefile: Remove from CVS
216         
217         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
218         confusion.
219
220         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
221         
222         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
223         
224 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
225
226         * ps/Makefile.am:
227         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
228         (gtk_gs_value_adjustment_changed), (compute_size),
229         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
230         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
231         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
232         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
233         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
234         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
235         (ps_document_load), (ps_document_get_n_pages),
236         (ps_document_set_page), (ps_document_get_page),
237         (ps_document_set_target), (ps_document_set_scale),
238         (ps_document_set_page_offset), (ps_document_get_page_size),
239         (ps_document_render), (ps_document_begin_find),
240         (ps_document_end_find), (ps_document_document_iface_init):
241         * ps/gtkgs.h:
242         * shell/Makefile.am:
243         * shell/ev-window.c: (ev_window_open):
244
245         Some work to integrate gtkgs with EvDocument
246
247 2004-12-22  Anders Carlsson  <andersca@gnome.org>
248
249         * shell/ev-window.c: (update_fullscreen_popup),
250         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
251         (exit_fullscreen_button_clicked_cb),
252         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
253         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
254         (ev_window_state_event_cb), (ev_window_init):
255         Add fullscreen support from Epiphany.
256         
257 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
258
259         * data/ev-stock-zoom-fit-width.png: fit-width
260         stock icon from gpdf.
261         
262         * shell/ev-stock-icons.[ch]: copied from gpdf.
263         
264         * shell/main.c: (main): init stock icons.
265         
266         * shell/ev-window.c: use the fit-width icon.
267         
268         * data/evince-ui.xml: add zooming toolbar items.
269
270 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
271
272         * shell/ev-view.c: 
273         (ev_view_best_fit), (ev_view_fit_width): because
274         get_page_size() returns the scaled page size, we
275         need to calculate the scale factor relative to
276         the previous scale factor. Should really just
277         add get_real_page_size().
278
279 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
280
281         * shell/ev-view.[ch]:
282         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
283         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
284         add zooming.
285         
286         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
287         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
288         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
289         hook it up.
290         
291         * pdf/xpdf/pdf-document.cc:
292         (pdf_document_begin_find),
293         (pdf_document_end_find): make static.
294
295 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
296
297         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
298
299         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
300         names to fontconfig patterns.
301         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
302
303         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
304         setupBaseFontsFc.
305
306 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
307
308         * Makefile.am:
309         * configure.ac:
310         * ps/Makefile.am:
311         * ps/ggvutils.c:
312         * ps/ggvutils.h:
313         * ps/gsdefaults.c:
314         * ps/gsdefaults.h:
315         * ps/gsio.c:
316         * ps/gsio.h:
317         * ps/gtkgs.c:
318         * ps/gtkgs.h:
319         * ps/ps.c:
320         * ps/ps.h:
321
322         Import ggv backend. Not hooked up yet.
323
324 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
325
326         * shell/main.c: (load_files), (main): load files
327         from the command line.
328
329 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
330
331         * configure.ac: don't require bonobo.
332         
333         * cut-n-paste/recent-files/*: kill bonobo recent
334         view.
335
336         * shell/ev-window.c:
337         (ev_window_is_empty): upd.
338         (unable_to_load), (ev_window_open): load backend
339         based on the mime type.
340
341 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
342
343         * backend/.cvsignore: ignore generated marshalers source.
344
345         * shell/main.c (main): this is not epiphany.
346
347 2004-12-22  Havoc Pennington  <hp@redhat.com>
348
349         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
350         (expose_bin_window): draw find highlights
351
352         * shell/ev-window.c (find_bar_search_changed_cb): implement 
353         
354         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
355         (pdf_document_end_find): implement this interface
356
357         * backend/ev-document.c (ev_document_found): add this to emit
358         signal
359
360 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
361
362         * data/evince-ui.xml: Add a few more toolbar items.
363
364         * shell/ev-window.c: Hook up page navigation toolbar 
365         items.
366
367         * shell/ev-view.[ch]: add ev_view_set/get_page and 
368         a page-changed signal.
369
370         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
371         Add ev_document_get_page().
372
373         * shell/ev-window.c: Sensitize/desensitize navigation
374         actions.
375
376 2004-12-21  Havoc Pennington  <hp@redhat.com>
377
378         * backend/ev-backend-marshal.c,
379         backend/ev-backend-marshalers.list, backend/Makefile.am: add
380         marshaler-generator thingy. I'm sure there's a better way to do
381         this in the modern world.
382
383         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
384         end_find methods and "found" signal.
385
386         * configure.ac: find glib-genmarshal
387
388 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
389
390         * shell/ev-sidebar.c: Construct an actual sidebar.
391         * shell/ev-sidebar-bookmarks.[ch]:
392         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
393
394 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
395
396         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
397         Redo size handling.
398         
399         * shell/ev-view.c: Track the size from the document.
400
401 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
402
403         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
404         constructor assumes ownership of the string passed in.
405         
406         * shell/ev-window.c (ev_window_open): Destroy the error
407         dialog once we've displayed it.
408
409 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
410
411         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
412         a bit, it works! (sort of)
413
414         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
415         Move to .cc since we need to use C++ in the implementation.
416
417         * shell/dummy.cc: Add a CC file to force evince
418         to be linked as a C++ program.
419
420 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
421
422         * shell/ev-view.[ch]: Start of content-area widget.
423
424         * shell/ev-window.c: Create a EvView, update it
425         as we change documents.
426
427         * shell/Makefile.am shell/ev-marshal.list: Add
428         generated marshalers.
429
430 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
431
432         * Makefile.am (SUBDIRS): move shell.
433
434 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
435
436         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
437         .a to libtool convenience libraries.
438
439         * shell/ev-window.c (ev_window_open): Hard code loading
440         a PDF document.
441         
442         * backend/ev-document.h: Add a boolean return to load(),
443         fix GError * to GError **.
444
445         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
446         object for a PDF backend EvDocument.
447
448 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
449
450         * dvi/*: New directory with the beginning of a .dvi backend.
451
452 2004-12-21  Havoc Pennington  <hp@redhat.com>
453
454         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
455         previous/next instead of back/forward
456
457 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
458
459         * backend/ev-document.[ch]: Fix a couple of problems so
460         it compile.
461
462 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
463
464         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
465         to backend/ directory, rename EvViewer to EvDocument.
466
467 2004-12-21  Havoc Pennington  <hp@redhat.com>
468
469         * shell/ev-window.c: hook up the find bar widget; now we just need
470         a document to find things in
471
472         * shell/eggfindbar.c: a find bar widget
473
474 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
475
476         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
477
478 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
479
480         * pdf/**: Import of xpdf code from gpdf. 
481
482         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
483
484         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
485         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
486         Fix FreeType includes.
487
488         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
489         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
490         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
491         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
492         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
493         Include xpdfconfig.h
494         
495 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
496
497         * shell/ev-window.c (ev_window_dispose): dispose can be called
498         multiple times.
499
500 2004-12-21  Havoc Pennington  <hp@redhat.com>
501
502         * shell/ev-window.c (ev_window_init): set title to Document Viewer
503         rather than Evince
504
505         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
506         items; really they should be synced with the strings, etc. from
507         current gpdf, but just getting the boring typing out of the way 
508
509 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
510
511         * po/POTFILES.in:
512         * shell/ev-application.c: (window_destroy_cb):
513         * shell/ev-window.c:
514         * shell/main.c: (main):
515
516         Actually show the window...
517
518 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
519
520         * Makefile.am:
521         * shell/Makefile.am:
522         * shell/ev-application.c: (ev_application_class_init):
523         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
524
525         Make it build again
526
527 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
528
529         Import to gnome cvs.
530         
531         * Remove copies of gpdf and ggv trees.
532         * Rip out all the recursive configure code.
533         * Remove bonobo machinery.
534         * viewer/*: GInterfaces that backends should/can implement.
535
536 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
537
538         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
539         typo
540
541 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
542
543         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
544         (ev_application_finalize, ev_application_class_init)
545         (ev_application_init): use GType instance private data for priv.
546     
547         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
548         (ev_window_finalize, ev_window_class_init)
549         (ev_window_init): ditto.
550
551 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
552
553         * shell/ev-application.c (ev_application_new_window): make public
554         (ev_application_show_initial_window): kill.
555     
556         * shell/ev-application.h: update prototypes.
557     
558         * shell/main.cc (main): inline ev_application_show_initial_window.
559
560 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
561
562         * shell/ev-application.c (ev_application_new_window): impl.
563         (ev_application_show_initial_window): use it.
564         (is_window_empty, ev_application_get_empty_window): returns an
565         existing empty window or a new one.
566         (ev_application_open): from ev_window_cmd_file_open.
567     
568         * shell/ev-application.h: update prototypes
569     
570         * shell/ev-window.c (ev_window_is_empty): impl.
571         (ev_window_open): make public.
572         (ev_window_cmd_file_open): use ev_application_open
573     
574         * shell/ev-window.h: update prototypes, remove unused.
575
576 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
577
578         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
579         move destroy handler out of here...
580     
581         * shell/ev-application.c, shell/ev-application.h: ...into this new
582         class. Also handles initial window creation.
583     
584         * shell/main.cc (main): use EvApplication to create initial
585         window.
586
587 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
588
589         * Makefile.am (SUBDIRS): add cut-n-paste
590     
591         * cut-n-paste/Makefile.am: add
592     
593         * configure.ac: generate Makefiles in cut-n-paste
594
595 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
596
597         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
598         (ev_window_class_init): install ev_window_dispose.
599
600 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
601
602         * shell/ev-window.h, shell/ev-window.c: replace gchar with
603         char (gchar looks stupid).
604
605 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
606
607         * po/de.po: updated German translation.
608
609 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
610
611         * configure.ac: add more pkg-config library checks for gnome-vfs,
612         bonobo etc.
613     
614         * gpdf/configure.in: temporarily disable libpaper
615         checks. Otherwise I'd have to add the checks for the shell, too.
616
617 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
618
619         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
620         and * file filters to the file choose.
621
622 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
623
624         * po/de.po: Updated German translation.
625
626 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
627
628         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
629
630 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
631
632         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
633     
634         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
635         (ev_window_init): implement those menuitems.
636
637 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
638
639         * data/evince-ui.xml: add a toolbar (with FileOpen action)
640     
641         * shell/ev-window.c (ev_window_init): use the toolbar.
642
643 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
644
645         * shell/ev-window.c (ev_window_init): use menu translations
646
647 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
648
649         * configure.ac: add "de" to ALL_LINGUAS.
650     
651         * po/de.po: add German translation.
652
653 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
654
655         * Makefile.am (SUBDIRS): add po
656     
657         * configure.ac: check intltool, glib-gettext etc, generate
658         po/Makefile.in
659     
660         * po, po/POTFILES.in, po/POTFILES.skip: new.
661
662 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
663
664         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
665         already use (#ifdef ENABLE_NLS)
666     
667         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
668         pointer indirection thinko.
669     
670         * shell/main.c: include gi18n.h for bindtextdomain etc.
671
672 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
673
674         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
675         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
676         tooltips for menu items in the statusbar.
677
678 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
679
680         * configure.ac, data/Makefile.am, shell/Makefile.am: use
681         pkgdatadir drop UIDIR
682
683 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
684
685         * data/evince-ui.xml: Add File->Open menu item
686     
687         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
688         chooser), hook it up in the ui manager.
689
690 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
691
692         * shell/ev-window.c: fix Help->About tooltip.
693
694 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
695
696         * configure.ac: set CFLAGS for libevprivate.
697     
698         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
699         definitions, factory etc.
700     
701         * lib/Makefile.am: build libevprivate.a (only stock icon code).
702     
703         * shell/Makefile.am: link against libevprivate.a.
704     
705         * shell/ev-window.c (entries): add stock icon to Help->About.
706     
707         * shell/main.c (main): init stock icon code.
708
709 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
710
711         * lib/recent-files: egg recent files code
712     
713         * lib/Makefile.am: add.
714     
715         * Makefile.am: add lib subdir.
716     
717         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
718         set CFLAGS for recent-files.
719
720 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
721
722         * configure.ac: disable -ansi and -pedantic gcc flags. They
723         disable POSIX stuff in stdio.h, but egg-recent uses them.
724
725 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
726
727         * configure.ac: add --disable-deprecated flag (defaults to on in
728         "cvs" builds).
729     
730         * shell/Makefile.am (INCLUDES): use it.
731
732 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
733
734         * shell/main.c: add missing #include.
735     
736         * shell/ev-window.c: fix for pedantic gcc.
737         (ev_window_cmd_help_about): split license into paragraphs for
738         translators and pedantic compilers.
739
740 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
741
742         * configure.ac: add more warning flags if compiling with gcc from
743         cvs (or explicitly requested with --enable-more-warnings).
744
745 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
746
747         * data/evince-ui.xml: add File and File->Close menu.
748     
749         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
750         (ev_window_destroy): quit after destroy.
751         (ev_window_class_init): override GtkObject::destroy.
752         (entries): install close_window callback.
753
754 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
755
756         * Makefile.am (SUBDIRS): add data subdir.
757     
758         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
759         gtk+ 2.5.0 for GtkAboutDialog.
760     
761         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
762         main window.
763     
764         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
765     
766         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
767         manager.
768         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
769
770 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
771
772         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
773
774 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
775
776         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
777
778 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
779
780         * shell/*: Added shell directory boilerplate, build it.
781
782 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
783
784         * configure.ac, Makefile.am: Added top-level configure.ac and
785         Makefile.am