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