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