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