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