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