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