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