]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
7c1eb159f2a5a610886867cf2320e1ebdbf88d37
[evince.git] / ChangeLog
1 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
2
3         * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4         s/gpdf/evince/. Spotted by Stephane Loeuillet.
5
6         * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
7         (pixbuf_document_get_text, pixbuf_document_document_iface_init):
8         stub out missing methods for complete EvDocument implementation.
9         Fixes segfaults with Save A Copy and Copy actions.
10
11         * ps/ps-document.c (ps_document_save, ps_document_get_text) 
12         (ps_document_document_iface_init): ditto.
13         
14 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
15
16         * data/.cvsignore:
17         * data/Makefile.am:
18         * data/evince.desktop.in:
19
20         Add desktop file
21
22 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
23
24         * shell/ev-view.c: (ev_view_button_press_event),
25         (ev_view_motion_notify_event):
26
27         Make selection work in any direction
28
29 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
30
31         * TODO:
32         * shell/ev-window.c: (set_short_labels), (ev_window_init):
33
34         Use shorter labels for some of the toolbars items
35
36 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
37
38         * pdf/xpdf/pdf-document.cc:
39
40         Check the links info is initialized before
41         using it. Should fix a crash on startup.
42
43 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
44
45         * pixbuf/pixbuf-document.c
46         (pixbuf_document_thumbnails_get_dimensions): force floating point
47         division to calculate page_ratio. Fixes crash with landscape
48         format pixbufs.
49
50 Thu Jan 20 18:56:35 2005  Jonathan Blandford  <jrb@redhat.com>
51
52         * shell/ev-view.c (ev_view_realize): make the bg color darker.
53
54 2005-01-20  Martin Kretzschmar  <martink@gnome.org>
55
56         * shell/ev-view.c (set_document_page): unset has_selection when
57         the page changes.
58         (set_document_page): handle paper size changes when the page
59         changes (test with Free Culture, page 2).
60
61 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
62
63         * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
64         (expose_bin_window), (ev_view_class_init), (ev_view_init):
65
66         Use normal style color for the widget background and
67         draw a black box around the page.
68
69 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
70
71         * pdf/xpdf/pdf-document.cc:
72
73         Keep offset in consideration in a few places
74
75         * shell/ev-view.c: (expose_bin_window):
76
77         Set the offsets so that the document is ever centered
78
79 2005-01-20  Bryan Clark  <clarkbw@cvs.gnome.org>
80
81         * TODO: Added TODO items and finished off the first todo item
82
83         * AUTHORS: Updated AUTHORS section with piece from gpdf file and
84         reflect current authors
85
86 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
87
88         * pdf/xpdf/pdf-document.cc:
89         * shell/ev-view.c: (ev_view_set_cursor),
90         (ev_view_motion_notify_event), (document_changed_callback),
91         (set_document_page):
92
93         Show a wait cursor while the page is rendering
94
95 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
96
97         * shell/ev-sidebar-thumbnails.c:
98         (ev_sidebar_tree_selection_changed),
99         (ev_sidebar_thumbnails_select_page):
100         * shell/ev-sidebar-thumbnails.h:
101         * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
102         (ev_view_can_go_forward):
103         * shell/ev-window.c: (ev_window_open_page),
104         (ev_window_setup_document), (update_current_page),
105         (view_page_changed_cb), (ev_window_init):
106         * shell/ev-window.h:
107
108         Ensure thumbnails selection, toolbar page control and
109         current page are in sync.
110
111 2005-01-19  Marco Pesenti Gritti  <marco@gnome.org>
112
113         * pdf/xpdf/XRef.cc:
114
115         Fix CAN-2005-0064
116
117 Wed Jan 19 01:10:57 2005  Jonathan Blandford  <jrb@redhat.com>
118
119         * backend/Makefile.am:
120         * backend/ev-document-links.h:
121         * backend/ev-document-security.c: (ev_document_security_get_type),
122         (ev_document_security_has_document_security),
123         (ev_document_security_set_password):
124         * backend/ev-document-security.h:
125         * backend/ev-document.c: (ev_document_error_quark):
126         * backend/ev-document.h:
127         * data/Makefile.am:
128         * data/evince-password.glade:
129         * pdf/xpdf/pdf-document.cc:
130         * shell/Makefile.am:
131         * shell/ev-password.c: (ev_password_set_bad_password_label),
132         (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
133         (ev_password_dialog_get_password),
134         (ev_password_dialog_set_bad_pass):
135         * shell/ev-password.h:
136         * shell/ev-window.c: (ev_window_get_attribute),
137         (ev_window_set_property), (update_action_sensitivity),
138         (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
139         (ev_window_setup_document), (ev_window_get_password),
140         (ev_window_open), (ev_window_cmd_save_as),
141         (using_postscript_printer), (ev_window_print),
142         (find_not_supported_dialog), (ev_window_cmd_edit_find),
143         (update_fullscreen_popup), (ev_window_fullscreen),
144         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
145         (ev_window_focus_out_cb), (ev_window_cmd_help_about),
146         (menu_item_select_cb), (find_bar_search_changed_cb),
147         (ev_window_dispose), (ev_window_init):
148
149         Add initial support for password-supported dialogs.  This could be
150         a lot cooler, but it'll do for now.
151
152 2005-01-18  Marco Pesenti Gritti  <marco@gnome.org>
153
154         * pdf/xpdf/pdf-document.cc:
155         * shell/ev-view.c: (status_message_from_link),
156         (ev_view_set_status), (ev_view_set_cursor),
157         (ev_view_motion_notify_event), (ev_view_init):
158         * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
159
160         Fix bugs in the links implementation and change cursor
161         when hovering a link.
162
163 2005-01-17  Bryan Clark  <clarkbw@cvs.gnome.org>
164
165         * viewer/.cvsignore: added cvsignore file for viewer directory
166
167         * TODO: created TODO document
168
169 2005-01-14  Dave Malcolm  <dmalcolm@redhat.com>
170
171         * shell/ev-view.h:
172         * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):      
173         new functions to help with implementation of sensitivity code
174         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
175         of all actions that might require it.  Fixes a crash when you
176         click on the Zoom actions in a window lacking a document.
177
178 2005-01-13  Dave Malcolm  <dmalcolm@redhat.com>
179
180         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
181         of the Find action
182
183 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
184
185         * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
186         (pixbuf_document_document_iface_init):
187         * ps/ps-document.c: (ps_document_get_link),
188         (ps_document_document_iface_init):
189         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
190         (status_message_from_link), (ev_view_set_status),
191         (ev_view_set_find_status), (ev_view_motion_notify_event),
192         (ev_view_button_release_event), (ev_view_set_property),
193         (ev_view_get_property), (ev_view_class_init), (ev_view_init),
194         (ev_view_get_find_status_message), (update_find_results),
195         (ev_view_get_status), (ev_view_get_find_status):
196         * shell/ev-view.h:
197         * shell/ev-window.c: (view_status_changed_cb),
198         (view_find_status_changed_cb), (ev_window_init):
199
200         View status message support, use it to show the links.
201         Needs work...
202
203 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
204
205         * backend/ev-document.c: (ev_document_get_link):
206         * backend/ev-document.h:
207         * pdf/xpdf/pdf-document.cc:
208         * shell/ev-application.c: (ev_application_open):
209         * shell/ev-application.h:
210         * shell/ev-sidebar-links.c: (selection_changed_cb):
211         * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
212         (ev_view_go_to_link):
213
214         Add support for document links
215
216 2005-01-13  Anders Carlsson  <andersca@gnome.org>
217
218         * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
219         (create_tool_item):
220         Set the spin button limits correctly.
221         
222         * shell/ev-sidebar-thumbnails.c:
223         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
224         Support changing pages by clicking on the thumbnails.
225         
226 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
227
228         * pixbuf/pixbuf-document.c:
229         (pixbuf_document_thumbnails_get_dimensions),
230         (pixbuf_document_document_thumbnails_iface_init):
231
232         implement get_dimensions
233
234 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
235
236         * ps/ps-document.c: (ps_document_goto_page):
237
238         Fix page switching on multipage documents
239
240 2005-01-12  Jeff Muizelaar  <jrmuizel@nit.ca>
241
242         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
243         
244         check for NULL before assigning to width and height parameters
245
246 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
247
248         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
249         (pixbuf_document_set_property), (pixbuf_document_get_property):
250
251         implement get/set properties
252
253 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
254
255         * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
256         
257         return NULL instead of "Unknown", letting the title get set to
258         the filename when the pdf has no title.
259
260 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
261
262         * ps/ps-document.c: (ps_document_get_page_count),
263         (ps_document_goto_page):
264
265 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
266
267         * shell/ev-history.c: (ev_history_get_property),
268         (ev_history_set_property), (ev_history_class_init),
269         (ev_history_add_page), (ev_history_set_current_index):
270         * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
271         (activate_menu_item_cb), (new_history_menu_item), (build_menu),
272         (ev_navigation_action_finalize):
273         * shell/ev-navigation-action.h:
274         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
275         (ev_view_go_forward), (ev_view_get_find_status_message),
276         (history_index_changed_cb), (ev_view_set_history):
277         * shell/ev-view.h:
278         * shell/ev-window.c: (update_total_pages), (ev_window_open),
279         (update_current_page), (register_custom_actions):
280
281         Implement history dropdowns
282
283 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
284
285         * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
286         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
287         (ev_view_go_forward):
288         * shell/ev-window.c: (register_custom_actions):
289
290         Fix several history bugs
291
292 2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>
293
294         * configure.ac: Add Â«nb» to ALL_LINGUAS.
295
296 2005-01-10  Marco Pesenti Gritti  <marco@gnome.org>
297
298         * backend/Makefile.am:
299         * backend/ev-bookmark.c:
300         * backend/ev-bookmark.h:
301         * backend/ev-document-bookmarks.c:
302         * backend/ev-document-bookmarks.h:
303         * backend/ev-document-links.c: (ev_document_links_get_type),
304         (ev_document_links_has_document_links),
305         (ev_document_links_begin_read), (ev_document_links_get_link),
306         (ev_document_links_get_child), (ev_document_links_next),
307         (ev_document_links_free_iter):
308         * backend/ev-document-links.h:
309         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
310         (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
311         (ev_link_get_link_type), (ev_link_set_link_type),
312         (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
313         (ev_link_set_property), (ev_window_dispose), (ev_link_init),
314         (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
315         (ev_link_new_external):
316         * backend/ev-link.h:
317         * pdf/xpdf/pdf-document.cc:
318         * shell/Makefile.am:
319         * shell/ev-application.c: (ev_application_open_link):
320         * shell/ev-application.h:
321         * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
322         (ev_history_get_link_nth):
323         * shell/ev-history.h:
324         * shell/ev-sidebar-bookmarks.c:
325         * shell/ev-sidebar-bookmarks.h:
326         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
327         (ev_sidebar_links_class_init), (selection_changed_cb),
328         (ev_sidebar_links_construct), (ev_sidebar_links_init),
329         (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
330         (do_one_iteration), (populate_links_idle),
331         (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
332         * shell/ev-sidebar-links.h:
333         * shell/ev-sidebar.c: (ev_sidebar_set_document):
334         * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
335         (go_to_index):
336         * shell/ev-view.h:
337         * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
338         * shell/ev-window.h:
339
340         Rename bookmark to link, and use "Index" for the sidebar panel.
341
342 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
343
344         * shell/Makefile.am:
345         * shell/ev-application.c: (ev_application_open_bookmark):
346         * shell/ev-application.h:
347         * shell/ev-history.c: (ev_history_init), (free_links_list),
348         (ev_history_finalize), (ev_history_class_init),
349         (ev_history_add_link), (ev_history_add_page),
350         (ev_history_get_link_nth), (ev_history_get_n_links),
351         (ev_history_get_current_index), (ev_history_set_current_index),
352         (ev_history_new):
353         * shell/ev-history.h:
354         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
355         * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
356         (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
357         (go_to_index), (ev_view_go_back), (ev_view_go_forward),
358         (ev_view_set_page):
359         * shell/ev-view.h:
360         * shell/ev-window.c: (ev_window_open_bookmark),
361         (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
362         (goto_page_cb), (register_custom_actions):
363         * shell/ev-window.h:
364
365         Initial history implementation. Needs work.
366
367 2005-01-09  Martin Kretzschmar  <martink@gnome.org>
368
369         * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
370
371 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
372
373         * cut-n-paste/recent-files/egg-recent-item.c:
374         * cut-n-paste/recent-files/egg-recent-item.h:
375         * cut-n-paste/recent-files/egg-recent-model.c:
376         * cut-n-paste/recent-files/egg-recent-util.c:
377         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
378         * cut-n-paste/recent-files/egg-recent-view.c:
379
380         Update
381
382 2005-01-08  Martin Kretzschmar  <martink@gnome.org>
383
384         * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
385         (fillGlyph, fillImageMask, drawImage):
386         pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
387         pdf/splash/SplashTypes.h:
388         pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
389         packed mode for Splash.
390
391         * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
392         RGB8 packed mode, eliminates the pixbuf data creation loop.
393
394         * shell/ev-print-job.c (ev_print_job_finalize)
395         (ev_print_job_set_property, ev_print_job_get_property)
396         (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
397         (ev_print_job_use_print_dialog_settings, idle_print_handler)
398         (print_closure_finalize, ev_print_job_print): implement
399         printing (for backends with EvPsExporter)
400
401         * shell/ev_print_job.h: update prototypes.
402
403         * shell/ev-window.c (ev_window_print): unref print job after
404         printing.
405
406         * shell/ev-view.c (ev_view_set_document): don't connect to "found"
407         unless the document implements the EvDocumentFind interface.
408
409 2005-01-08  Satoru SATOH <ss@gnome.gr.jp>
410
411         * configure.ac: Added ja to ALL_LINGUAS.
412
413 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
414
415         * pdf/xpdf/pdf-document.cc:
416
417         add a FIXME. We should probably not allocate
418         a bookmark object every time
419
420 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
421
422         * shell/ev-application.c: (ev_application_open),
423         (ev_application_open_bookmark):
424         * shell/ev-application.h:
425         
426         Add a way to open bookmarks
427
428         * backend/ev-bookmark.c: (ev_bookmark_get_uri),
429         (ev_bookmark_set_uri), (ev_bookmark_get_property),
430         (ev_bookmark_set_property), (ev_bookmark_class_init),
431         (ev_bookmark_new_title), (ev_bookmark_new_link),
432         (ev_bookmark_new_external):
433
434         Support for external uris, better constructors.
435
436         * backend/ev-bookmark.h:
437         * pdf/xpdf/pdf-document.cc:
438         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
439
440         Handle external uris
441
442 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
443
444         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
445         (ev_sidebar_bookmarks_construct), (do_one_iteration):
446
447         Hook up bookmarks navigation
448
449 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
450
451         * backend/Makefile.am:
452         * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
453         (ev_bookmark_get_title), (ev_bookmark_set_title),
454         (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
455         (ev_bookmark_get_page), (ev_bookmark_set_page),
456         (ev_bookmark_get_property), (ev_bookmark_set_property),
457         (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
458         (ev_bookmark_new):
459         * backend/ev-bookmark.h:
460         * backend/ev-document-bookmarks.c:
461         (ev_document_bookmarks_get_bookmark):
462         * backend/ev-document-bookmarks.h:
463         * pdf/xpdf/pdf-document.cc:
464         * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
465
466         Add a bookmark object to the backend and use it instead of get_values
467
468 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
469
470         * data/evince-ui.xml:
471
472         Cleanup and add select all.
473
474         * shell/ev-view.c: (ev_view_select_all),
475         (ev_view_button_press_event):
476         * shell/ev-view.h:
477         * shell/ev-window.c: (ev_window_cmd_edit_select_all):
478
479         Add select all.
480         Clear selection on click.
481
482 Fri Jan  7 01:28:58 2005  Jonathan Blandford  <jrb@redhat.com>
483
484         * shell/ev-sidebar-thumbnails.c
485         (ev_sidebar_thumbnails_set_document): forgot to unref the
486         loading_icon.
487
488 Fri Jan  7 01:22:48 2005  Jonathan Blandford  <jrb@redhat.com>
489
490         * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
491         at the visible page, not just linearly.  This makes it look fast.
492
493 Thu Jan  6 18:48:11 2005  Jonathan Blandford  <jrb@redhat.com>
494
495         * backend/ev-document-misc.c
496         (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
497         white.
498         * backend/ev-document-thumbnails.h: New interface to get the size
499         of a page.
500
501 2005-01-06  Jeremy Katz  <katzj@redhat.com>
502
503         * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
504         make dist works
505
506 Wed Jan  5 15:38:28 2005  Jonathan Blandford  <jrb@redhat.com>
507
508         * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
509         GDKSplashOutputDev and just use a normal SplashOutputDev.  Speeds
510         things up a bit.
511
512         * shell/ev-sidebar-thumbnail.c: start of some profiling code.
513
514 2005-01-05  Martin Kretzschmar  <martink@gnome.org>
515
516         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
517         fonts. Should fix font problems on systems that have the base
518         fonts in bitmap format. Reported by James Henstridge
519         <james@jamesh.id.au>.
520
521 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
522
523         * pdf/xpdf/Gfx.cc:
524         * pdf/xpdf/GfxState.cc:
525
526         Fix for CAN-2004-1125
527
528 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
529
530         * shell/ev-view.c: (ev_view_copy):
531         * shell/ev-view.h:
532         * shell/ev-window.c: (ev_window_cmd_edit_copy):
533
534         Implement Edit->Copy
535
536 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
537
538         * backend/ev-document.c: (ev_document_get_text):
539         * backend/ev-document.h:
540         * pdf/xpdf/pdf-document.cc:
541         * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
542         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
543         (ev_view_update_primary_selection), (ev_view_button_press_event),
544         (ev_view_motion_notify_event), (ev_view_button_release_event):
545
546         Beginnings of clipboard support. Incomplete but primary sort
547         of work.
548
549 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
550
551         * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
552         (expose_bin_window):
553
554         Nicer rubberband drawing, from GtkIconView.
555
556 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
557
558         * backend/ev-document.c: (ev_document_save):
559         * backend/ev-document.h:
560         * data/evince-ui.xml:
561         * pdf/xpdf/pdf-document.cc:
562         * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
563
564         Implement "Save a copy..." menu item
565
566 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
567
568         * shell/ev-view.c: (ev_view_zoom):
569
570         Queue a resize when zoom changes
571
572 Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>
573
574         * backend/ev-document-misc.[ch]: New misc file to do simple drop
575         shadows.
576
577         * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
578         thumbnails..
579
580 Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
581
582         * pdf/xpdf/pdf-document.cc
583         (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
584
585 Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>
586
587         * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
588         It's slow, but I'll speed it up next!
589
590 2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>
591
592         * shell/main.c (load_files):
593
594         use gnome_vfs_make_uri_from_shell_arg so that relative paths work
595         from the command line and because it seems more appropriate.
596
597 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
598
599         * data/evince-ui.xml:
600         * shell/ev-window.c: (update_action_sensitivity),
601         (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
602
603         s/next page/page down
604         s/previous page/page up
605
606 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
607
608         * data/evince-ui.xml:
609
610         Change the layout to match clarkbw design.
611
612         * shell/Makefile.am:
613         * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
614         (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
615         (ev_navigation_action_finalize),
616         (ev_navigation_action_set_property),
617         (ev_navigation_action_get_property),
618         (ev_navigation_action_class_init):
619         * shell/ev-navigation-action.h:
620
621         Implement clarkbw toolbar navigation controls (incomplete)
622
623         * shell/ev-page-action.c: (update_label), (update_spin),
624         (value_changed_cb), (create_tool_item), (connect_proxy),
625         (ev_page_action_init), (ev_page_action_finalize),
626         (ev_page_action_set_property), (ev_page_action_get_property),
627         (ev_page_action_set_current_page),
628         (ev_page_action_set_total_pages), (ev_page_action_class_init):
629         * shell/ev-page-action.h:
630
631         Implement a page switcher in the toolbar
632
633         * shell/ev-view.c: (ev_view_scroll_view):
634         * shell/ev-window.c: (update_total_pages), (ev_window_open),
635         (update_current_page), (view_page_changed_cb), (goto_page_cb),
636         (register_custom_actions), (ev_window_init):
637
638         Change page on PageUp/Down.
639
640 Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>
641
642         * pdf/xpdf/pdf-document.cc
643         (pdf_document_thumbnails_get_thumbnail): initial stab at
644         implementing thumbnail support for pdfs.  It only does documents
645         with precached pdfs now.
646
647 Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>
648
649         * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
650         thumbnail code into a time-based idle as well.  Also, turn off the
651         shadow temporarily as it's really slow.
652
653 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
654
655         * backend/ev-document.c: (ev_document_class_init):
656         * pdf/xpdf/pdf-document.cc:
657         * shell/ev-window.c: (ev_window_open):
658
659         Fix document title bugs and fallback to
660         filename when not available.
661
662 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
663
664         * backend/ev-document.c: (ev_document_get_type),
665         (ev_document_class_init), (ev_document_load),
666         (ev_document_get_title):
667         * backend/ev-document.h:
668         * pdf/xpdf/pdf-document.cc:
669         * ps/ps-document.c: (ps_document_set_property),
670         (ps_document_get_property), (ps_document_class_init),
671         (document_load):
672         * ps/ps-document.h:
673         * ps/ps.h:
674         * shell/ev-window.c: (update_window_title), (ev_window_open),
675         (ev_window_init):
676
677         Initial support for document title. Not working yet.
678
679 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
680
681         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
682
683         Grab focus on the view when clicking it
684
685 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
686
687         * shell/ev-marshal.list:
688         * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
689         (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
690
691         Add key bindings to the view. Now if the focus would work
692         right...
693
694 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
695
696         * Makefile.am:
697         * backend/Makefile.am:
698         * data/Makefile.am:
699         * dvi/Makefile.am:
700         * dvi/dvilib/Makefile.am:
701         * pdf/xpdf/Makefile.am:
702         * po/POTFILES.in:
703         * ps/Makefile.am:
704
705         Fix distcheck
706
707 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
708
709         * shell/ev-view.c: (ev_view_realize):
710
711         Fix mouse wheel scrolling
712
713 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
714
715         * ps/Makefile.am:
716         * ps/gstypes.h:
717         * ps/gtkgs.c:
718         * ps/gtkgs.h:
719         * ps/ps-document.c: (catchPipe), (ps_document_init),
720         (ps_document_class_init), (ps_document_cleanup),
721         (ps_document_finalize), (send_ps), (ps_document_get_orientation),
722         (set_up_page), (close_pipe), (is_interpreter_ready),
723         (interpreter_failed), (output), (input), (start_interpreter),
724         (stop_interpreter), (file_length), (file_readable),
725         (check_filecompressed), (check_pdf), (compute_xdpi),
726         (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
727         (ps_document_get_type), (ps_document_emit_error_msg),
728         (document_load), (ps_document_next_page),
729         (ps_document_get_current_page), (ps_document_get_page_count),
730         (ps_document_goto_page), (ps_document_set_page_size),
731         (ps_document_zoom_to_fit), (ps_document_set_zoom),
732         (ps_document_load), (ps_document_get_n_pages),
733         (ps_document_set_page), (ps_document_get_page),
734         (ps_document_widget_event), (ps_document_set_target),
735         (ps_document_set_scale), (ps_document_set_page_offset),
736         (ps_document_get_page_size), (ps_document_render),
737         (ps_document_document_iface_init):
738         * ps/ps-document.h:
739         * ps/ps.c:
740         * shell/ev-window.c: (ev_window_open):
741
742         Rename GtkGS to PSDocument
743
744 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
745
746         * ps/gtkgs.c: (gtk_gs_class_init):
747         * ps/gtkgs.h:
748
749         Some more leftover...
750
751 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
752
753         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
754         (output), (stop_interpreter), (gtk_gs_emit_error_msg),
755         (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
756         * ps/gtkgs.h:
757
758         Remove unused code and make a lot of stuff private
759
760 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
761
762         * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
763         (gtk_gs_defaults_changed):
764         * ps/gsdefaults.h:
765         * ps/gtkgs.c:
766         * ps/gtkgs.h:
767         * ps/ps.h:
768
769         Cleanup headers dependencies
770
771 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
772
773         * ps/Makefile.am:
774         * ps/ggvutils.c:
775         * ps/ggvutils.h:
776         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
777         * ps/gsdefaults.h:
778         * ps/gtkgs.c: (file_length), (file_readable),
779         (check_filecompressed), (check_pdf), (gtk_gs_load),
780         (gtk_gs_get_postscript):
781
782         Get rid of ggvutils
783
784 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
785
786         * ps/ggvutils.c:
787         * ps/ggvutils.h:
788         * ps/gsio.h:
789         * ps/gtkgs.c: (gtk_gs_set_zoom):
790
791         Cleanups
792
793 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
794
795         * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
796
797         Ensure the page is rerendered when changing zoom
798
799 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
800
801         * backend/ev-document.c: (ev_document_base_init),
802         (ev_document_changed):
803         * backend/ev-document.h:
804
805         Add a changed event that is emitted when the page content
806         changes. This is necessary to deal with the fact that
807         in ps backend rendering happen asycrounously.
808         This makes the ps backend mostly work.
809
810         * pdf/xpdf/pdf-document.cc:
811
812         Emit changed event
813
814         * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
815         (ps_document_set_target):
816
817         Emit changed event
818
819         * shell/ev-view.c: (document_changed_callback),
820         (ev_view_set_document), (ev_view_set_page):
821
822         Redraw on the changed signal
823
824 2004-12-25  Raphael Higino  <raphaelh@cvs.gnome.org>
825
826         * configure.ac: Added pt_BR to ALL_LINGUAS.
827
828 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
829
830         * backend/ev-document-bookmarks.c:
831         (ev_document_bookmarks_get_child): *
832         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
833         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
834         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
835         (ev_sidebar_bookmarks_destroy),
836         (ev_sidebar_bookmarks_class_init),
837         (ev_sidebar_bookmarks_construct), (stack_data_free),
838         (do_one_iteration), (populate_bookmarks_idle),
839         (ev_sidebar_bookmarks_clear_document),
840         (ev_sidebar_bookmarks_set_document): *
841         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
842         (ev_sidebar_add_page),
843         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
844         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
845         it displays both the topics and the page numbers.
846
847 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
848
849         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
850         toggle.
851         * shell/ev-window.c (toggle_entries): Set sidebar default value to
852         visible.
853
854 2004-12-23  Adam Weinberger  <adamw@gnome.org>
855
856         * configure.ac: Added en_CA to ALL_LINGUAS.
857
858 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
859
860         * ChangeLog: replace bottom of this ChangeLog (merged history of
861         ggv and gpdf; where all paths were wrong and most of the files are
862         not even in this tree) with ChangeLog (from arch) of the shell
863         code.
864
865 2004-12-23  Havoc Pennington  <hp@redhat.com>
866
867         * shell/ev-window.c: hook up potentially-questionable "find
868         results status text" feature - something involving the sidebar or
869         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
870         might be better in the end.
871
872         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
873         with corresponding signal when it should be updated
874
875         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
876
877 2004-12-22  Havoc Pennington  <hp@redhat.com>
878
879         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
880         find stuff on other pages, sort of (only returns one result on
881         invisible pages, to show they have results; updates full results
882         for a page when you view it). Currently repaints the current page
883         every time a new result is found on any page, which isn't so nice.
884
885 2004-12-22  Havoc Pennington  <hp@redhat.com>
886
887         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
888         the document doesn't support find (better ideas?)
889         (find_bar_search_changed_cb): handle missing document or document
890         that doesn't support find
891
892         * pdf/xpdf/pdf-document.cc: port to implement the new
893         EvDocumentFindIface
894
895         * backend/ev-document-find.c: create a new interface for searching
896
897         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
898
899 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
900
901         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
902         libevbackend.la.
903
904         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
905         EvPrintJob constructor arguments.
906
907         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
908         for documents that can export PostScript (page by page).
909
910         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
911         
912         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
913         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
914         (pdf_document_ps_exporter_iface_init:
915         Implement EvPSExporter.
916
917         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
918
919 2004-12-22  Anders Carlsson  <andersca@gnome.org>
920
921         * backend/Makefile.am:
922         * backend/ev-document-thumbnails.c:
923         (ev_document_thumbnails_get_type),
924         (ev_document_thumbnails_get_thumbnail):
925         * backend/ev-document-thumbnails.h:
926         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
927         (pixbuf_document_thumbnails_get_thumbnail),
928         (pixbuf_document_document_thumbnails_iface_init):
929         * shell/Makefile.am:
930         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
931         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
932         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
933         * shell/ev-sidebar-thumbnails.h:
934         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
935         (ev_sidebar_set_document):
936         * shell/ev-utils.c: (gaussian), (create_blur_filter),
937         (create_shadow), (ev_pixbuf_add_shadow):
938         * shell/ev-utils.h:
939         Add thumbnail support.
940         
941 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
942
943         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
944         (using_postscript_printer): Set up a print dialog for "PostScript
945         injection" method.
946
947         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
948         EvPrintJob.
949
950         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
951
952 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
953
954         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
955         (ps_document_set_target), (ps_document_get_page_size),
956         (ps_document_render):
957         * ps/gtkgs.h:
958
959         Fix a few bugs
960
961 2004-12-22  Christian Rose  <menthos@menthos.com>
962
963         * configure.ac: Added "sv" to ALL_LINGUAS.
964
965 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
966
967         * backend/ev-document-bookmarks.[ch]: new interface to indicate
968         document supports bookmarks.
969
970 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
971
972         * ps/ggvutils.c: (ggv_file_readable):
973         * ps/ggvutils.h:
974         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
975         (gtk_gs_get_postscript):
976
977         Remove unused utils
978
979 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
980
981         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
982         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
983         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
984         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
985         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
986         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
987         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
988         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
989         (gtk_gs_set_antialiasing), (ps_document_load),
990         (ps_document_render):
991         * ps/gtkgs.h:
992
993         Another check point for the ps backend. Now I can get it to show
994         pages!
995
996 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
997
998         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
999         document setting code.
1000
1001 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1002
1003         * shell/eggfindbar.c: (entry_activate_callback):
1004         Animate the next button when activate is pressed.
1005         
1006 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1007
1008         * shell/ev-window.c: (ev_window_cmd_edit_find),
1009         (update_fullscreen_popup), (ev_window_fullscreen),
1010         (ev_window_unfullscreen), (ev_window_state_event_cb),
1011         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
1012         Fix bugs in fullscreen code.
1013         
1014 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1015
1016         * Makefile.am:
1017         * configure.ac:
1018         * pixbuf/Makefile.am:
1019         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
1020         (pixbuf_document_load), (pixbuf_document_get_n_pages),
1021         (pixbuf_document_set_page), (pixbuf_document_get_page),
1022         (pixbuf_document_set_target), (pixbuf_document_set_scale),
1023         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
1024         (pixbuf_document_render), (pixbuf_document_begin_find),
1025         (pixbuf_document_end_find), (pixbuf_document_finalize),
1026         (pixbuf_document_class_init),
1027         (pixbuf_document_document_iface_init), (pixbuf_document_init):
1028         * pixbuf/pixbuf-document.h:
1029         * shell/Makefile.am:
1030         * shell/ev-application.c: (ev_application_open):
1031         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
1032         (ev_window_open):
1033         Add pixbuf backend.
1034         
1035 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
1036
1037         * Makefile.am: 
1038         * dvi/dvilib/Makefile.am:
1039         * dvi/Makefile.am:
1040         * configure.ac: Auto*ify dvi and dvi/dvilib
1041
1042         * dvi/Makefile: Remove from CVS
1043         
1044         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
1045         confusion.
1046
1047         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
1048         
1049         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
1050         
1051 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
1052
1053         * ps/Makefile.am:
1054         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
1055         (gtk_gs_value_adjustment_changed), (compute_size),
1056         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
1057         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
1058         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
1059         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
1060         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
1061         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
1062         (ps_document_load), (ps_document_get_n_pages),
1063         (ps_document_set_page), (ps_document_get_page),
1064         (ps_document_set_target), (ps_document_set_scale),
1065         (ps_document_set_page_offset), (ps_document_get_page_size),
1066         (ps_document_render), (ps_document_begin_find),
1067         (ps_document_end_find), (ps_document_document_iface_init):
1068         * ps/gtkgs.h:
1069         * shell/Makefile.am:
1070         * shell/ev-window.c: (ev_window_open):
1071
1072         Some work to integrate gtkgs with EvDocument
1073
1074 2004-12-22  Anders Carlsson  <andersca@gnome.org>
1075
1076         * shell/ev-window.c: (update_fullscreen_popup),
1077         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
1078         (exit_fullscreen_button_clicked_cb),
1079         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
1080         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1081         (ev_window_state_event_cb), (ev_window_init):
1082         Add fullscreen support from Epiphany.
1083         
1084 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1085
1086         * data/ev-stock-zoom-fit-width.png: fit-width
1087         stock icon from gpdf.
1088         
1089         * shell/ev-stock-icons.[ch]: copied from gpdf.
1090         
1091         * shell/main.c: (main): init stock icons.
1092         
1093         * shell/ev-window.c: use the fit-width icon.
1094         
1095         * data/evince-ui.xml: add zooming toolbar items.
1096
1097 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1098
1099         * shell/ev-view.c: 
1100         (ev_view_best_fit), (ev_view_fit_width): because
1101         get_page_size() returns the scaled page size, we
1102         need to calculate the scale factor relative to
1103         the previous scale factor. Should really just
1104         add get_real_page_size().
1105
1106 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1107
1108         * shell/ev-view.[ch]:
1109         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
1110         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
1111         add zooming.
1112         
1113         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
1114         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
1115         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
1116         hook it up.
1117         
1118         * pdf/xpdf/pdf-document.cc:
1119         (pdf_document_begin_find),
1120         (pdf_document_end_find): make static.
1121
1122 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
1123
1124         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
1125
1126         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
1127         names to fontconfig patterns.
1128         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
1129
1130         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
1131         setupBaseFontsFc.
1132
1133 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
1134
1135         * Makefile.am:
1136         * configure.ac:
1137         * ps/Makefile.am:
1138         * ps/ggvutils.c:
1139         * ps/ggvutils.h:
1140         * ps/gsdefaults.c:
1141         * ps/gsdefaults.h:
1142         * ps/gsio.c:
1143         * ps/gsio.h:
1144         * ps/gtkgs.c:
1145         * ps/gtkgs.h:
1146         * ps/ps.c:
1147         * ps/ps.h:
1148
1149         Import ggv backend. Not hooked up yet.
1150
1151 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1152
1153         * shell/main.c: (load_files), (main): load files
1154         from the command line.
1155
1156 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
1157
1158         * configure.ac: don't require bonobo.
1159         
1160         * cut-n-paste/recent-files/*: kill bonobo recent
1161         view.
1162
1163         * shell/ev-window.c:
1164         (ev_window_is_empty): upd.
1165         (unable_to_load), (ev_window_open): load backend
1166         based on the mime type.
1167
1168 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
1169
1170         * backend/.cvsignore: ignore generated marshalers source.
1171
1172         * shell/main.c (main): this is not epiphany.
1173
1174 2004-12-22  Havoc Pennington  <hp@redhat.com>
1175
1176         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
1177         (expose_bin_window): draw find highlights
1178
1179         * shell/ev-window.c (find_bar_search_changed_cb): implement 
1180         
1181         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
1182         (pdf_document_end_find): implement this interface
1183
1184         * backend/ev-document.c (ev_document_found): add this to emit
1185         signal
1186
1187 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
1188
1189         * data/evince-ui.xml: Add a few more toolbar items.
1190
1191         * shell/ev-window.c: Hook up page navigation toolbar 
1192         items.
1193
1194         * shell/ev-view.[ch]: add ev_view_set/get_page and 
1195         a page-changed signal.
1196
1197         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
1198         Add ev_document_get_page().
1199
1200         * shell/ev-window.c: Sensitize/desensitize navigation
1201         actions.
1202
1203 2004-12-21  Havoc Pennington  <hp@redhat.com>
1204
1205         * backend/ev-backend-marshal.c,
1206         backend/ev-backend-marshalers.list, backend/Makefile.am: add
1207         marshaler-generator thingy. I'm sure there's a better way to do
1208         this in the modern world.
1209
1210         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
1211         end_find methods and "found" signal.
1212
1213         * configure.ac: find glib-genmarshal
1214
1215 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
1216
1217         * shell/ev-sidebar.c: Construct an actual sidebar.
1218         * shell/ev-sidebar-bookmarks.[ch]:
1219         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
1220
1221 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
1222
1223         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
1224         Redo size handling.
1225         
1226         * shell/ev-view.c: Track the size from the document.
1227
1228 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
1229
1230         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
1231         constructor assumes ownership of the string passed in.
1232         
1233         * shell/ev-window.c (ev_window_open): Destroy the error
1234         dialog once we've displayed it.
1235
1236 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
1237
1238         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
1239         a bit, it works! (sort of)
1240
1241         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1242         Move to .cc since we need to use C++ in the implementation.
1243
1244         * shell/dummy.cc: Add a CC file to force evince
1245         to be linked as a C++ program.
1246
1247 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
1248
1249         * shell/ev-view.[ch]: Start of content-area widget.
1250
1251         * shell/ev-window.c: Create a EvView, update it
1252         as we change documents.
1253
1254         * shell/Makefile.am shell/ev-marshal.list: Add
1255         generated marshalers.
1256
1257 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
1258
1259         * Makefile.am (SUBDIRS): move shell.
1260
1261 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
1262
1263         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1264         .a to libtool convenience libraries.
1265
1266         * shell/ev-window.c (ev_window_open): Hard code loading
1267         a PDF document.
1268         
1269         * backend/ev-document.h: Add a boolean return to load(),
1270         fix GError * to GError **.
1271
1272         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1273         object for a PDF backend EvDocument.
1274
1275 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
1276
1277         * dvi/*: New directory with the beginning of a .dvi backend.
1278
1279 2004-12-21  Havoc Pennington  <hp@redhat.com>
1280
1281         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1282         previous/next instead of back/forward
1283
1284 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
1285
1286         * backend/ev-document.[ch]: Fix a couple of problems so
1287         it compile.
1288
1289 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
1290
1291         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
1292         to backend/ directory, rename EvViewer to EvDocument.
1293
1294 2004-12-21  Havoc Pennington  <hp@redhat.com>
1295
1296         * shell/ev-window.c: hook up the find bar widget; now we just need
1297         a document to find things in
1298
1299         * shell/eggfindbar.c: a find bar widget
1300
1301 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
1302
1303         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1304
1305 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
1306
1307         * pdf/**: Import of xpdf code from gpdf. 
1308
1309         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1310
1311         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1312         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
1313         Fix FreeType includes.
1314
1315         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1316         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1317         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1318         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1319         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1320         Include xpdfconfig.h
1321         
1322 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
1323
1324         * shell/ev-window.c (ev_window_dispose): dispose can be called
1325         multiple times.
1326
1327 2004-12-21  Havoc Pennington  <hp@redhat.com>
1328
1329         * shell/ev-window.c (ev_window_init): set title to Document Viewer
1330         rather than Evince
1331
1332         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1333         items; really they should be synced with the strings, etc. from
1334         current gpdf, but just getting the boring typing out of the way 
1335
1336 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
1337
1338         * po/POTFILES.in:
1339         * shell/ev-application.c: (window_destroy_cb):
1340         * shell/ev-window.c:
1341         * shell/main.c: (main):
1342
1343         Actually show the window...
1344
1345 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
1346
1347         * Makefile.am:
1348         * shell/Makefile.am:
1349         * shell/ev-application.c: (ev_application_class_init):
1350         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1351
1352         Make it build again
1353
1354 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
1355
1356         Import to gnome cvs.
1357         
1358         * Remove copies of gpdf and ggv trees.
1359         * Rip out all the recursive configure code.
1360         * Remove bonobo machinery.
1361         * viewer/*: GInterfaces that backends should/can implement.
1362
1363 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1364
1365         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1366         typo
1367
1368 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1369
1370         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1371         (ev_application_finalize, ev_application_class_init)
1372         (ev_application_init): use GType instance private data for priv.
1373     
1374         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1375         (ev_window_finalize, ev_window_class_init)
1376         (ev_window_init): ditto.
1377
1378 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1379
1380         * shell/ev-application.c (ev_application_new_window): make public
1381         (ev_application_show_initial_window): kill.
1382     
1383         * shell/ev-application.h: update prototypes.
1384     
1385         * shell/main.cc (main): inline ev_application_show_initial_window.
1386
1387 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1388
1389         * shell/ev-application.c (ev_application_new_window): impl.
1390         (ev_application_show_initial_window): use it.
1391         (is_window_empty, ev_application_get_empty_window): returns an
1392         existing empty window or a new one.
1393         (ev_application_open): from ev_window_cmd_file_open.
1394     
1395         * shell/ev-application.h: update prototypes
1396     
1397         * shell/ev-window.c (ev_window_is_empty): impl.
1398         (ev_window_open): make public.
1399         (ev_window_cmd_file_open): use ev_application_open
1400     
1401         * shell/ev-window.h: update prototypes, remove unused.
1402
1403 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1404
1405         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1406         move destroy handler out of here...
1407     
1408         * shell/ev-application.c, shell/ev-application.h: ...into this new
1409         class. Also handles initial window creation.
1410     
1411         * shell/main.cc (main): use EvApplication to create initial
1412         window.
1413
1414 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1415
1416         * Makefile.am (SUBDIRS): add cut-n-paste
1417     
1418         * cut-n-paste/Makefile.am: add
1419     
1420         * configure.ac: generate Makefiles in cut-n-paste
1421
1422 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1423
1424         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1425         (ev_window_class_init): install ev_window_dispose.
1426
1427 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1428
1429         * shell/ev-window.h, shell/ev-window.c: replace gchar with
1430         char (gchar looks stupid).
1431
1432 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1433
1434         * po/de.po: updated German translation.
1435
1436 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1437
1438         * configure.ac: add more pkg-config library checks for gnome-vfs,
1439         bonobo etc.
1440     
1441         * gpdf/configure.in: temporarily disable libpaper
1442         checks. Otherwise I'd have to add the checks for the shell, too.
1443
1444 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1445
1446         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1447         and * file filters to the file choose.
1448
1449 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1450
1451         * po/de.po: Updated German translation.
1452
1453 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1454
1455         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1456
1457 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1458
1459         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1460     
1461         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1462         (ev_window_init): implement those menuitems.
1463
1464 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1465
1466         * data/evince-ui.xml: add a toolbar (with FileOpen action)
1467     
1468         * shell/ev-window.c (ev_window_init): use the toolbar.
1469
1470 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1471
1472         * shell/ev-window.c (ev_window_init): use menu translations
1473
1474 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1475
1476         * configure.ac: add "de" to ALL_LINGUAS.
1477     
1478         * po/de.po: add German translation.
1479
1480 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1481
1482         * Makefile.am (SUBDIRS): add po
1483     
1484         * configure.ac: check intltool, glib-gettext etc, generate
1485         po/Makefile.in
1486     
1487         * po, po/POTFILES.in, po/POTFILES.skip: new.
1488
1489 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1490
1491         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1492         already use (#ifdef ENABLE_NLS)
1493     
1494         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1495         pointer indirection thinko.
1496     
1497         * shell/main.c: include gi18n.h for bindtextdomain etc.
1498
1499 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1500
1501         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1502         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1503         tooltips for menu items in the statusbar.
1504
1505 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1506
1507         * configure.ac, data/Makefile.am, shell/Makefile.am: use
1508         pkgdatadir drop UIDIR
1509
1510 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1511
1512         * data/evince-ui.xml: Add File->Open menu item
1513     
1514         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1515         chooser), hook it up in the ui manager.
1516
1517 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1518
1519         * shell/ev-window.c: fix Help->About tooltip.
1520
1521 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
1522
1523         * configure.ac: set CFLAGS for libevprivate.
1524     
1525         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1526         definitions, factory etc.
1527     
1528         * lib/Makefile.am: build libevprivate.a (only stock icon code).
1529     
1530         * shell/Makefile.am: link against libevprivate.a.
1531     
1532         * shell/ev-window.c (entries): add stock icon to Help->About.
1533     
1534         * shell/main.c (main): init stock icon code.
1535
1536 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1537
1538         * lib/recent-files: egg recent files code
1539     
1540         * lib/Makefile.am: add.
1541     
1542         * Makefile.am: add lib subdir.
1543     
1544         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1545         set CFLAGS for recent-files.
1546
1547 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1548
1549         * configure.ac: disable -ansi and -pedantic gcc flags. They
1550         disable POSIX stuff in stdio.h, but egg-recent uses them.
1551
1552 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
1553
1554         * configure.ac: add --disable-deprecated flag (defaults to on in
1555         "cvs" builds).
1556     
1557         * shell/Makefile.am (INCLUDES): use it.
1558
1559 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1560
1561         * shell/main.c: add missing #include.
1562     
1563         * shell/ev-window.c: fix for pedantic gcc.
1564         (ev_window_cmd_help_about): split license into paragraphs for
1565         translators and pedantic compilers.
1566
1567 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1568
1569         * configure.ac: add more warning flags if compiling with gcc from
1570         cvs (or explicitly requested with --enable-more-warnings).
1571
1572 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1573
1574         * data/evince-ui.xml: add File and File->Close menu.
1575     
1576         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1577         (ev_window_destroy): quit after destroy.
1578         (ev_window_class_init): override GtkObject::destroy.
1579         (entries): install close_window callback.
1580
1581 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1582
1583         * Makefile.am (SUBDIRS): add data subdir.
1584     
1585         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
1586         gtk+ 2.5.0 for GtkAboutDialog.
1587     
1588         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1589         main window.
1590     
1591         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1592     
1593         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1594         manager.
1595         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1596
1597 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1598
1599         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1600
1601 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1602
1603         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1604
1605 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1606
1607         * shell/*: Added shell directory boilerplate, build it.
1608
1609 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1610
1611         * configure.ac, Makefile.am: Added top-level configure.ac and
1612         Makefile.am