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