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