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