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