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