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