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