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