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