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