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