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