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