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