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