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