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