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