]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
Make --disable really disable
[evince.git] / ChangeLog
1 2005-05-09  Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2
3         * configure.ac:
4
5         Make --disable really disable
6
7 2005-05-07  Juerg Billeter  <j@bitron.ch>
8
9         * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
10
11         Compare page labels even without has_labels set, fixes setting page
12         with entry
13
14 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
15
16         * shell/ev-view.c: (ev_view_create_invisible_cursor),
17         (ev_view_set_cursor), (ev_view_button_press_event),
18         (ev_view_motion_notify_event), (ev_view_button_release_event),
19         (ev_view_init):
20
21         Implement middle button scrolling. Based on a patch
22         by Tommi Komulainen <tommi.komulainen@iki.fi>.
23
24 2005-05-08  Marco Pesenti Gritti  <mpg@redhat.com>
25
26         * shell/ev-document-types.c: (get_slow_mime_type),
27         (get_document_type_from_mime), (ev_document_type_lookup):
28         * shell/ev-document-types.h:
29
30         Change api to lookup from uri. Do fast lookup first, if the
31         type is unknown try with data sniffing.
32
33         * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
34         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
35
36         Adapt to api change
37
38 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
39
40         * thumbnailer/Makefile.am:
41
42         Fix distcheck
43
44 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
45
46         * NEWS:
47         * configure.ac:
48
49         Release 0.3.0
50
51         * data/evince-ui.xml:
52
53         Hide presentation mode for now
54
55         * shell/ev-view.c: (highlight_find_results):
56
57         Show current find selection only on current page
58
59 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
60
61         * shell/ev-view.c: (ev_view_select_all):
62
63         Compute size of the actual page, not of
64         the current one.
65
66 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
67
68         * shell/ev-view.c: (clear_selection), (ev_view_finalize),
69         (view_rect_to_doc_rect), (compute_selections),
70         (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
71         (ev_view_copy), (ev_view_primary_get_cb),
72         (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
73         (ev_view_button_press_event), (ev_view_motion_notify_event),
74         (ev_view_button_release_event), (page_changed_cb):
75
76         Fix text selection
77
78 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
79
80         * shell/ev-view.c: (compute_border), (get_page_extents),
81         (doc_rect_to_view_rect), (highlight_find_results),
82         (ev_view_bin_expose), (ev_view_select_all),
83         (ev_view_motion_notify_event), (update_find_status_message),
84         (jump_to_find_result), (jump_to_find_page):
85
86         First go at fixing search, still buggy
87
88 2005-05-04  Kristian Høgsberg  <krh@redhat.com>
89
90         * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
91         dropdown box and button at the top of the sidebar.
92
93 2005-05-02  James Bowes  <bowes@cs.dal.ca>
94
95         * configure.ac: Output zoom-control Makefile.
96         * cut-n-paste/Makefile.am: build zoom-control subdir.
97         * cut-n-paste/zoom-control/ephy-zoom-action.c:
98         * cut-n-paste/zoom-control/ephy-zoom-action.h:
99         * cut-n-paste/zoom-control/ephy-zoom-control.c:
100         * cut-n-paste/zoom-control/ephy-zoom-control.h:
101         * cut-n-paste/zoom-control/ephy-zoom.c:
102         * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
103         from epiphany, and modified to add a separator into the menu.
104         * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
105         * data/evince-ui.xml: Replace old zoom toolbar actions with new
106         zoom-control action.
107         * shell/Makefile.am: Include zoom-control flags.
108         * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
109         (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
110         (ev_view_zoom_for_size_presentation),
111         (ev_view_zoom_for_size_continuous_and_dual_page),
112         (ev_view_zoom_for_size_continuous),
113         (ev_view_zoom_for_size_dual_page),
114         (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal): 
115         s/ev_view_zoom/ev_view_set_zoom/ and make public, add 
116         ev_view_get_zoom and ev_view_get_sizing_mode.
117         * shell/ev-view.h:
118         * shell/ev-window.c: (update_action_sensitivity),
119         (update_sizing_buttons), (zoom_control_changed_cb),
120         (register_custom_actions): Initialize and use the zoom-control 
121         widget.
122
123 Sun May  1 00:46:47 2005  Jonathan Blandford  <jrb@redhat.com>
124
125         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
126         preview cache back to 1.  Don't know when it got set to 0.
127         
128         * shell/ev-view.c: (compute_border), (ev_view_realize),
129         (draw_one_page), (ev_view_set_property), (ev_view_get_property),
130         (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
131         (ev_view_get_fullscreen), (ev_view_set_presentation),
132         (ev_view_get_presentation), (ev_view_set_sizing_mode),
133         (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
134         * shell/ev-view.h:
135         * shell/ev-window.c:
136         (update_chrome_visibility),
137         (ev_window_cmd_continuous), (ev_window_cmd_dual),
138         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
139         (update_document_mode), (ev_window_update_fullscreen_action),
140         (ev_window_fullscreen), (ev_window_unfullscreen),
141         (ev_window_cmd_view_fullscreen),
142         (ev_window_update_presentation_action),
143         (ev_window_run_presentation), (ev_window_stop_presentation),
144         (ev_window_cmd_view_presentation), (ev_window_state_event),
145         (ev_window_focus_in_event), (ev_window_focus_out_event),
146         (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
147         * data/evince-ui.xml: Initial presentation mode.  We should
148         probably hide this until it's done, as it's quite rough.  Also,
149         change full-screen to fullscreen and add two getters to EvView.
150
151 2005-04-29  Marco Pesenti Gritti  <mpg@redhat.com>
152
153         * shell/ev-page-action.c: (update_page_cache),
154         (ev_page_action_dispose):
155         * shell/ev-window.c: (destroy_fullscreen_popup),
156         (ev_window_create_fullscreen_popup):
157
158         Use connect_object rather than explicitly
159         disconnect on dispose.
160
161 2005-04-29  Marco Pesenti Gritti  <mpg@redhat.com>
162
163         * shell/ev-page-action.c: (update_page_cache),
164         (ev_page_action_dispose):
165
166 2005-04-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
167
168         * backend/ev-page-cache.c: (_ev_page_cache_new),
169         (ev_page_cache_set_page_label),
170         (ev_page_cache_has_nonnumeric_page_labels):
171         * backend/ev-page-cache.h:
172         * shell/ev-page-action.c: (update_pages_label):
173         
174         If all page labels are numeric, fallback to default
175         way to display number of pages. See bug 173185.
176
177 2005-04-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
178
179         * shell/ev-page-action.c: (ev_page_action_dispose):
180         * shell/ev-view.c: (view_update_range_and_current_page):
181         * shell/ev-window.c: (ev_window_dispose):
182         
183         Set page on scroll in continuous mode. Fixes bug 301986.
184         Also cleanup callbacks on destroy of EvWindow and EvPageAction.
185
186 2005-04-26  Marco Pesenti Gritti <mpg@redhat.com>
187
188         * configure.ac:
189
190         Require poppler 0.3.0
191
192 2005-04-26  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
193         
194         * shell/Makefile.am, configure.ac: Fix build problems
195         with t1lib. Bug 301996.
196
197 2005-04-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
198
199         * shell/ev-view.c: (ev_view_scroll_event):
200         
201         Scroll up increase zoom
202
203 2005-04-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
204
205         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
206         (ev_view_set_sizing_mode),
207         (ev_view_zoom_for_size_continuous_and_dual_page),
208         (ev_view_zoom_for_size_continuous):
209         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
210         (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
211         (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
212         (ev_window_init):
213
214         Control + Scroll does zooming, Shift + Scroll scrolls horizontally
215         Fix for 165473 and 165472.
216
217 2005-04-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
218
219         * po/POTFILES.in:
220         * thumbnailer/Makefile.am:
221         * thumbnailer/evince-thumbnailer-djvu.schemas.in:
222         * thumbnailer/evince-thumbnailer-dvi.schemas.in:
223         * thumbnailer/evince-thumbnailer.schemas.in:
224         
225         Make thumbnailer schemas translatable. Fix for bug 301773
226         
227         * thumbnailer/evince-thumbnailer-djvu.schemas:
228         * thumbnailer/evince-thumbnailer-dvi.schemas:
229         * thumbnailer/evince-thumbnailer.schemas:
230
231         Removed files
232
233 Sun Apr 24 01:37:39 2005  Jonathan Blandford  <jrb@redhat.com>
234
235         * shell/ev-view.c (ev_view_init): forgot to set this.
236
237 Sun Apr 24 01:07:27 2005  Jonathan Blandford  <jrb@redhat.com>
238
239         * shell/ev-view.c: (find_page_at_location),
240         (get_link_at_location),
241         (ev_view_set_show_border), (ev_view_set_spacing),
242         (ev_view_zoom_for_size_continuous_and_dual_page),
243         (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
244         Also, add a quick fix measuring of widths.  Also, removed
245         ev_view_set_spacing and ev_view_set_show_border.
246         
247         * shell/ev-window.c: (ev_window_unfullscreen),
248         (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
249
250 2005-04-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
251
252         * shell/ev-view.c: (view_update_range_and_current_page),
253         (page_changed_cb):
254         
255         Fix crash on exit and scrolling to page in continuous view.
256
257 Sat Apr 23 13:13:04 2005  Jonathan Blandford  <jrb@redhat.com>
258
259         * TODO:
260         * backend/ev-page-cache.c: (_ev_page_cache_new),
261         (ev_page_cache_get_max_width_size),
262         (ev_page_cache_get_max_height_size):
263         * backend/ev-page-cache.h:
264         * data/evince-ui.xml:
265         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
266         * shell/ev-view.c: (view_update_adjustments),
267         (view_update_range_and_current_page), (get_bounding_box_size),
268         (ev_view_size_request_continuous_and_dual_page),
269         (ev_view_size_request_continuous),
270         (ev_view_size_request_dual_page),
271         (ev_view_size_request_single_page), (ev_view_size_request),
272         (ev_view_size_allocate), (get_page_extents), (draw_one_page),
273         (ev_view_bin_expose), (ev_view_expose_event),
274         (ev_view_set_property), (ev_view_get_property),
275         (ev_view_class_init), (ev_view_init), (ev_view_new),
276         (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
277         (ev_view_set_dual_page), (ev_view_set_full_screen),
278         (ev_view_set_presentation), (ev_view_set_sizing_mode),
279         (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
280         (ev_view_zoom_out), (zoom_for_size_fit_width),
281         (zoom_for_size_best_fit),
282         (ev_view_zoom_for_size_continuous_and_dual_page),
283         (ev_view_zoom_for_size_continuous),
284         (ev_view_zoom_for_size_dual_page),
285         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
286         (ev_view_show_cursor), (ev_sizing_mode_get_type):
287         * shell/ev-view.h:
288         * shell/ev-window.c: (update_action_sensitivity),
289         (ev_window_cmd_continuous), (ev_window_cmd_dual),
290         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
291         (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
292         (ev_window_cmd_view_zoom_out), (update_view_size),
293         (ev_window_set_sizing_mode), (ev_window_init):
294
295         Add Continuous and Dual page modes.
296
297 2005-04-23  James Bowes  <bowes@cs.dal.ca>
298
299         * dvi/dvi-document.c: (dvi_document_load),
300         (dvi_document_thumbnails_get_thumbnail),
301         (dvi_document_init_params): Fix up some mixups between
302         width and height to correct thumbnail rendering.
303
304 2005-04-23  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
305
306         * dvi/mdvi-lib/private.h:
307         * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
308         
309         Suppess output for kpathsea during font generation. Thanks to
310         James Bowes
311
312 Fri Apr 22 19:57:46 2005  Jonathan Blandford  <jrb@redhat.com>
313
314         * NEWS:
315         * configure.ac:
316
317         Release 0.2.1
318
319         * Makefile.am: fix distcheck.
320
321 2005-04-23  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
322
323         * shell/ev-sidebar-links.c: (selection_changed_callback),
324         (update_page_callback), (row_activated_callback),
325         (job_finished_callback), (ev_sidebar_links_set_document):
326         
327         Fix for bug #169901. Double click on links expands tree.
328
329 2005-03-14  Bryan Clark  <clarkbw@cvs.gnome.org>
330
331         * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
332         hard-coded style. Fix for bug 170111
333
334 2005-04-22  Kristian Høgsberg  <krh@redhat.com>
335
336         * shell/ev-view.c (highlight_find_results): Remove unnecessary
337         locking.
338
339 2005-04-22  Bryan Clark  <clarkbw@cvs.gnome.org>
340
341         * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
342
343 2005-04-22  Marco Pesenti Gritti  <mpg@redhat.com>
344
345         * pdf/ev-poppler.cc:
346         * shell/ev-view.c: (highlight_find_results):
347
348         Fix find on single page documents
349
350 2005-04-22  Bryan Clark  <clarkbw@cvs.gnome.org>
351
352         * data/evince.schemas.in: fix for bug 301390
353
354 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
355
356         * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
357         (ev_view_zoom_out), (ev_view_zoom_normal):
358         * shell/ev-view.h:
359         * shell/ev-window.c: (update_action_sensitivity),
360         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
361         (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
362         (ev_window_cmd_view_normal_size):
363
364         Fix normal size zoom. Make zoom in/zoom out unsensitive when
365         they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
366         better than oom. 
367
368 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
369
370         * configure.ac:
371
372         Depend on 2.57, 2.59 doesnt seem to be necessary
373
374 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
375
376         * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
377         (create_tool_item):
378
379         Put back total number of pages as (1 of 1234)
380
381 Thu Apr 21 23:37:52 2005  Jonathan Blandford  <jrb@redhat.com>
382
383         * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
384         remove the job.
385
386         * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
387         function.  This helps debugging.
388
389 2005-04-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
390
391         * djvu/djvu-document.c: (djvu_document_class_init),
392         (djvu_document_get_info), (djvu_document_document_iface_init):
393         * dvi/dvi-document.c: (dvi_document_class_init),
394         (dvi_document_get_info), (dvi_document_document_iface_init):
395
396        Dummy implementation of get_info method for dvi and djvu. Fix
397        crashes with those backends
398
399 2005-04-20  Marco Pesenti Gritti <mpg@redhat.com>
400
401         * data/evince.desktop.in:
402
403         Add application/x-gzpostscript
404
405 2005-04-20  Bryan Clark  <clarkbw@cvs.gnome.org>
406
407         * data/evince.schemas.in: Added real long descriptions, 
408         closes bug 172496 
409
410         * README: Added actual text, closes bug 171869
411
412 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
413
414         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
415
416         Thumbnail page 0
417
418 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
419
420         * backend/ev-document-info.h:
421
422         s/GDate */GDate so we can just use g_free
423
424 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
425
426         * shell/ev-window.c: (update_document_mode),
427         (ev_window_setup_document):
428
429         Show the window in fullscreen when specified by
430         the document
431
432 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
433
434         * backend/ev-document.c: (ev_document_class_init),
435         (ev_document_get_info), (ev_document_render_pixbuf):
436         * backend/ev-document.h:
437         * backend/ev-page-cache.c: (_ev_page_cache_new):
438         * pdf/ev-poppler.cc:
439         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
440         (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
441         * ps/ps-document.c: (ps_document_class_init), (document_load),
442         (ps_document_get_info), (ps_document_document_iface_init):
443
444         Remove get_title from the interface, we can just use document info
445
446 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
447
448         * backend/Makefile.am:
449         * backend/ev-document.c: (ev_document_render_get_info):
450         * backend/ev-document.h:
451         * pdf/ev-poppler.cc:
452
453         Initial support for document info. Based on jrb patch.
454
455 2005-04-19  Paolo Borelli <pborelli@katamail.com>
456
457         * shell/ev-window.c: (ev_window_state_event),
458         (ev_window_class_init), (ev_window_init):
459         
460         Doesn't show resize grip when maximized. See bug #301053
461
462 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
463
464         * po/POTFILES.in:
465         
466         ev-sidebar-thumbnails now has translatable labels
467         
468         * shell/Makefile.am:
469         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
470         (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
471         (ev_sidebar_links_page_iface_init):
472         * shell/ev-sidebar-links.h:
473         * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
474         (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
475         (ev_sidebar_page_get_label):
476         * shell/ev-sidebar-page.h:
477         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
478         (ev_sidebar_thumbnails_set_document),
479         (ev_sidebar_thumbnails_support_document),
480         (ev_sidebar_thumbnails_get_label),
481         (ev_sidebar_thumbnails_page_iface_init):
482         * shell/ev-sidebar-thumbnails.h:
483         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
484         (ev_sidebar_set_document):
485         * shell/ev-sidebar.h:
486         * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
487         
488         Small rework of sidebar code. Now sidebar pages should implement
489         EvSidebarPage interface. That makes page management in EvSidebar
490         easier. See bug #164811 for details
491
492 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
493
494         * shell/ev-application.c: (ev_application_open):
495         * shell/ev-document-types.c:
496         
497         Fix build error and small problem with application exit
498
499 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
500
501         * thumbnailer/Makefile.am:
502         * thumbnailer/evince-thumbnailer-djvu.schemas:
503         * thumbnailer/evince-thumbnailer-dvi.schemas:
504         
505         Conditionally install schemas for djvu/dvi thumbnailer
506
507 2005-04-18  David Malcolm  <dmalcolm@redhat.com>
508
509         * shell/ev-document-types.h: 
510         * shell/ev-document-types.c: 
511         New files, handling the mapping from mimetypes to backends
512         
513         * shell/ev-window.c: 
514         * thumbnailer/evince-thumbnailer.c:     
515         Use the ev-document-types code
516         
517         * shell/Makefile.am: 
518         Added new convenience library libevbackendfactory_la, containing
519         the new mimetype->backend logic; moved the backends into it.
520
521         * thumbnailer/Makefile.am:
522         Make the thumbnailer link with the libevbackend.la convenience
523         library, rather than having a duplicate of the backend logic here.
524
525 2005-04-18  Paolo Borelli  <pborelli@katamail.com>
526
527         * shell/ev-stock-icons.c: constify some vars.
528         * shell/ev-window.c: ditto.
529
530 2005-04-18  Marco Pesenti Gritti  <mpg@redhat.com>
531
532         * ps/ps-document.c (get_page_orientation):
533
534         Respect document orientation 
535
536 2005-04-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
537
538         * djvu/Makefile.am:
539         * dvi/Makefile.am:
540         * shell/Makefile.am:
541         
542         Move library dependencies to components.
543         
544         * shell/ev-window.c: (update_window_title),
545         (start_loading_document):
546         
547         Fix display of uris with spaces. Bug 168358.
548
549 Sat Apr 16 18:53:47 2005  Jonathan Blandford  <jrb@redhat.com>
550
551         * shell/ev-sidebar-links.c: (selection_changed_cb):
552         * shell/ev-view.c: (ev_view_finalize), (go_to_link),
553         (ev_view_button_release_event), (ev_view_set_document):
554         * shell/ev-view.h:
555         * shell/ev-window.c: (find_bar_search_changed_cb):
556         * shell/ev-window.h: Minor cleanups removing some dead code.
557
558 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
559
560         * backend/ev-page-cache.c: (_ev_page_cache_new):
561         
562         Set current page to 0 if document has pages.
563
564 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
565
566         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
567
568         Initialize GError to NULL, fix a crash when loading fails.
569
570 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
571
572         * shell/ev-window.c: (update_view_size):
573
574         Calculate shadow size only when there is actually
575         a shadow.
576
577 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
578
579         * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
580         * shell/ev-view.h:
581
582         Allow setting view spacing, default to 0
583
584         * shell/ev-window.c: (ev_window_unfullscreen),
585         (ev_window_cmd_view_fullscreen), (ev_window_init):
586
587         Remove spacing in fullscreen mode
588
589 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
590
591         * shell/ev-view.c: (compute_border), (compute_zoom_factor),
592         (ev_view_size_request), (expose_bin_window),
593         (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
594         * shell/ev-view.h:
595         * shell/ev-window.c: (ev_window_unfullscreen),
596         (ev_window_cmd_view_fullscreen):
597
598         Do not draw the border in fulscreen
599
600 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
601
602         * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
603         (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
604         (find_page_at_location), (page_changed_cb):
605
606         Rework border calculation, so that I can more easily disable it.
607         Code somewhat cleaner too.
608
609 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
610
611         * backend/ev-page-cache.c: (ev_page_cache_init),
612         (_ev_page_cache_new):
613
614         Remove some assertions, documents can have 0 pages.
615         Make initial current page -1.
616
617         * shell/ev-page-action.c: (page_changed_cb):
618
619         Show "" if current page is -1
620
621         * shell/ev-window.c: (update_action_sensitivity),
622         (ev_window_setup_document):
623
624         When document has 0 pages do not set the view
625         and make nearly everything insensitive.
626
627 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
628
629         * shell/ev-page-view.c:
630         * shell/ev-page-view.h:
631
632         Remove unused files.
633         
634         * shell/ev-sidebar-thumbnails.c:
635         (ev_sidebar_thumbnails_set_document):
636         * shell/ev-sidebar.c: (ev_sidebar_set_document),
637         (ev_sidebar_supports_document):
638         * shell/ev-sidebar.h:
639         * shell/ev-window.c: (ev_window_setup_document):
640         
641         Doesn't show thumbnails if document has 1 page. Make
642         sidebar menu entries sensitive only if if they have 
643         sense. Fix bug 164811. 
644
645 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
646
647         * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
648         (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
649         (ev_view_zoom_out), (ev_view_set_size):
650
651         Rework sizing to deal with documents with not uniform page
652         size.
653
654 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
655
656         * backend/ev-page-cache.c: (_ev_page_cache_new):
657
658         Fix several page size caching bugs
659
660 2005-04-15  Luca Ferretti <elle.uca@libero.it>
661
662         * shell/ev-window.c: (set_action_properties):
663
664         Make all toolbar items translatable
665
666 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
667
668         * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
669         (save_page_list), (ps_document_save),
670         (ps_document_document_iface_init), (ps_document_ps_export_begin),
671         (ps_document_ps_export_do_page), (ps_document_ps_export_end),
672         (ps_document_ps_exporter_iface_init):
673         * ps/ps-document.h:
674
675         Based on a patch by J�rg Billeter <j@bitron.ch>
676         
677         Implement print and save a copy for the ps backend.
678
679 2005-04-14   Marco Pesenti Gritti <mpg@redhat.com>
680
681         * backend/ev-document.h:
682         * djvu/djvu-document.c: (djvu_document_can_get_text),
683         (djvu_document_document_iface_init):
684         * dvi/dvi-document.c: (dvi_document_can_get_text),
685         (dvi_document_document_iface_init):
686         * pdf/ev-poppler.cc:
687         * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
688         (pixbuf_document_document_iface_init):
689         * ps/ps-document.c: (ps_document_can_get_text),
690         (ps_document_document_iface_init):
691         * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
692         * shell/ev-window.c: (update_action_sensitivity):
693
694         Fix the crash when trying to copy in backends that doesnt
695         support it. We can implement a better solution once we
696         do real text selection.
697
698 2005-04-12  Marco Pesenti Gritti <mpg@redhat.com>
699
700         * data/evince-ui.xml:
701         * shell/ev-window.c: (ev_window_cmd_escape):
702         
703         Work around the Escape conflict (find bar and unfullscreen)
704
705 2005-04-12  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
706
707         * backend/ev-page-cache.c: (ev_page_cache_next_page):
708         
709         Fix for #300233. Next page correctly handles document end.
710         
711         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
712         (ev_sidebar_thumbnails_class_init),
713         (ev_sidebar_thumbnails_set_document),
714         (ev_sidebar_thumbnails_clear_job),
715         (ev_sidebar_thumbnails_clear_model):
716         
717         Cleanup thumbnail jobs on document changes.
718         
719         * shell/ev-view.c: (add_scroll_binding_keypad),
720         (add_scroll_binding_shifted), (ev_view_class_init):
721         
722         Shift + Space scrolls up. Fix for #173184
723         
724         * shell/ev-window.c: (ev_window_open_page),
725         (ev_window_cmd_view_reload):
726         
727         Fix reload (Bug #300094)
728
729 2005-04-09  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
730
731         
732         * dvi/mdvi-lib/assoc.c:
733         * dvi/mdvi-lib/assoc.h: Removed garbage files
734         
735         * dvi/mdvi-lib/bitmap.c:
736         * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
737         (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
738         * dvi/mdvi-lib/color.h: Antialias of rules
739         
740         * dvi/mdvi-lib/common.h:
741         * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
742         (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
743         * dvi/mdvi-lib/files.c:
744         * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
745         * dvi/mdvi-lib/mdvi.h:
746         * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
747         * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
748         * dvi/mdvi-lib/util.c: Fix compile warnings
749         
750         * dvi/dvi-document.c:
751         (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
752         (dvi_document_thumbnails_get_thumbnail),
753         (dvi_document_document_thumbnails_iface_init):
754         * dvi/mdvi-lib/Makefile.am:
755         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
756         (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
757         
758         Dvi backend now renders thumbnails
759
760 2005-04-09  Christian Persch  <chpe@cvs.gnome.org>
761
762         * shell/main.c: (main): 
763         
764         Save accelerators on exit. Fixes bug #172095.
765
766 Sat Apr  9 01:05:09 2005  Jonathan Blandford  <jrb@redhat.com>
767
768         * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
769         update priority" comment.
770
771         * backend/ev-job-queue.c: Give a way to change priority.
772
773 Sat Apr  9 00:05:36 2005  Jonathan Blandford  <jrb@redhat.com>
774
775         * shell/ev-page-action.c: Fix logic.
776
777 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
778
779         * shell/ev-view.c: (ev_view_can_find_next):
780         * shell/ev-window.c: (ev_window_setup_document):
781
782         Check that the document supports find
783
784 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
785
786         * data/evince-ui.xml:
787         * shell/ev-view.c: (ev_view_can_find_next):
788         * shell/ev-view.h:
789         * shell/ev-window.c: (update_action_sensitivity),
790         (find_changed_cb), (ev_window_setup_document),
791         (ev_window_cmd_edit_find_next):
792
793         Add Edit->Find Next
794
795 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
796
797         * pdf/ev-poppler.cc:
798         * shell/ev-print-job.c: (idle_print_handler):
799
800         Make printing work again
801
802 Fri Apr  8 01:12:24 2005  Jonathan Blandford  <jrb@redhat.com>
803
804         * shell/ev-page-action.h:
805         * shell/ev-page-action.c: (ev_page_action_widget_init),
806         (ev_page_action_widget_class_init), (page_changed_cb),
807         (create_tool_item), (update_page_cache), (build_new_tree_cb),
808         (get_filter_model_from_model), (match_selected_cb),
809         (display_completion_text), (match_completion), (update_model),
810         (connect_proxy), (ev_page_action_set_property),
811         (ev_page_action_get_property), (ev_page_action_set_document),
812         (ev_page_action_set_model), (ev_page_action_class_init): Big
813         reworking to make completions work iff we have >= GTK-2.7.0
814                 
815         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
816         (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
817         (job_finished_cb): We now have a 'model' property that is set when
818         the links are loaded.  This can be caught with "notify::model"
819
820         * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
821         listen for the model to be set, and propagate it to the action.
822
823 2005-04-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
824
825         * cut-n-paste/recent-files/egg-recent-item.c:
826         (egg_recent_item_set_uri), (make_valid_utf8),
827         (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
828         * cut-n-paste/recent-files/egg-recent-item.h:
829         
830         Update egg-recent from libegg. This should fix long
831         startup problem. For details see
832         http://bugzilla.gnome.org/show_bug.cgi?id=160531
833
834 2005-04-07  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
835
836         * cut-n-paste/recent-files/Makefile.am:
837         * data/evince-ui.xml, shell/Makefile.am:
838         * shell/ev-application.c, shell/ev-application.h:
839         * shell/ev-window.c: Recent files support.
840         
841         * configure.ac: Added "ru" to ALL_LINGUAS.
842         
843         * dvju: new backend to support DJVU files.
844         * dvi: new backend to support DVI.
845
846         * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
847         * ev-application.c: Support for new backends.
848         
849         * help, ev-window.c, main.c shell/Makefile.am: 
850         Evince user documentation.
851
852 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
853
854         * po/POTFILES.in:
855         * shell/ev-window.c:
856         * thumbnailer/evince-thumbnailer.c:
857
858         s/pdf-document/ev-poppler
859
860 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
861
862         * NEWS:
863         * configure.ac:
864
865         Release 0.2.0
866
867         * ps/ps-document.c: (setup_pixmap):
868
869         Remove debug code
870
871 2005-04-05  Kristian Høgsberg  <krh@redhat.com>
872
873         * backend/ev-page-cache.c (ev_page_cache_next_page): 
874         * shell/ev-window.c (ev_window_cmd_go_next_page) 
875         (ev_window_cmd_go_first_page): Fix of by one errors.
876
877 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
878
879         * ps/ps-document.c: (get_page_box):
880
881         Fix page size calculation
882
883 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
884
885         * ps/ps-document.c: (ps_document_init), (push_pixbuf),
886         (ps_document_cleanup), (setup_pixmap), (get_page_box),
887         (get_page_orientation), (setup_page), (document_load),
888         (ps_document_get_page_size), (render_pixbuf_idle):
889         * ps/ps-document.h:
890
891         More refactoring to adapt to EvDocument changes
892
893 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
894
895         * ps/ps-document.c: (start_interpreter):
896
897         Actually add alpha args
898
899 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
900
901         * pdf/ev-poppler.cc:
902
903         Make clipboard work again
904
905 2005-04-04  Kristian Høgsberg  <krh@redhat.com>
906
907         Make searching work again.
908         
909         * backend/ev-document.c:
910         * backend/ev-document.h:
911         * backend/ev-document-find.c:
912         * backend/ev-document-find.h: Change EvDocumentIface so we no
913         longer store the current page or zoom level in the document.  The
914         consequence is that all calls that operate on the current page now
915         instead take the page number as an extra argument, and all
916         coordinates are now doubles in document coordinate system.
917
918         * pdf/ev-poppler.cc:
919         * pixbuf/pixbuf-document.c:
920         * ps/ps-document.c: Update backends accordingly.
921
922 2005-04-04  Marco Pesenti Gritti <marco@gnome.org>
923
924         * autogen.sh:
925
926         Add required gettext version
927
928 Sat Apr  2 18:57:00 2005  Jonathan Blandford  <jrb@redhat.com>
929
930         * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
931         make F1 bring up non-existent help.
932
933         * shell/eggfindbar.c: Patch from Christian Persch to sync to
934         epiphany's find bar, #167477
935
936         * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
937         <emil@nishra.com> to add space-bar scrolling, 
938
939         * shell/ev-window.c (static GtkActionEntry entries): add default
940         keybinding for Help (F1)
941         Fixes #171068
942
943         * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
944         changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
945         170110
946
947 2005-04-01  David Malcolm  <dmalcolm@redhat.com>
948
949         * Makefile.am: 
950         * pixbuf/pixbuf-document.c: 
951
952         Got pixbuf backend working again
953
954 2005-04-01  Steve Murphy  <murf@e-tools.com>
955
956         * configure.in: Added "rw" to ALL_LINGUAS.
957
958 Fri Apr  1 02:33:41 2005  Jonathan Blandford  <jrb@redhat.com>
959
960         * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
961         model types, noticed by Martin Kretzschmar.
962
963 2005-04-01  Kristian Høgsberg  <krh@redhat.com>
964
965         * pdf/ev-poppler.cc: Implement search based on
966         poppler_page_find_text().  Currently a bit crude since we remember
967         all matches from all pages.  Also, we grab the big document lock
968         when we search since searching changes the underlying stream and
969         thus conflicts with the rendering thread.
970         
971         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
972         (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
973         (ev_view_find_previous): Fix some page indexes to be 0 based,
974         offset rubber band by view offset,
975
976 Fri Apr 01 09:21:12 2005  Pablo Saratxaga  <pablo@mandrakesoft.com>
977
978         * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
979
980 Fri Apr  1 01:59:39 2005  Jonathan Blandford  <jrb@redhat.com>
981
982         * shell/ev-page-action.c: Changed to use page labels now.  Rewrote
983         completely because I didn't understand GtkActions.  I should
984         read Marco's code more carefully in the future.
985
986         * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
987         function
988
989 2005-03-31  Kristian Høgsberg  <krh@redhat.com>
990
991         * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
992         PopplerRectangle change from poppler CVS.
993
994 Thu Mar 31 13:27:50 2005  Jonathan Blandford  <jrb@redhat.com>
995
996         * backend/ev-document.c: (ev_document_get_page_label):
997         * backend/ev-document.h:
998         * backend/ev-page-cache.c: (_ev_page_cache_new),
999         (ev_page_cache_get_page_label):
1000         * backend/ev-page-cache.h:
1001         * pdf/ev-poppler.cc:
1002         * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
1003         (links_page_num_func):
1004         * shell/ev-sidebar-thumbnails.c:
1005         (ev_sidebar_thumbnails_set_document):
1006         * shell/ev-view.c: (status_message_from_link),
1007         (ev_view_motion_notify_event):
1008         * shell/ev-window.c: (document_supports_sidebar): Add in page
1009         label support.  It's not perfect yet, but it's the first 'feature'
1010         in a while.
1011         Also, fix a bogus comment noticed by crispin. 
1012
1013 Thu Mar 31 01:21:58 2005  Jonathan Blandford  <jrb@redhat.com>
1014
1015         * Makefile.am: Remove pixbuf backend for now
1016
1017         * configure.ac: Require poppler-glib instead of just poppler.
1018
1019         * backend/ev-document-thumbnails.h: Add a comment
1020
1021         * backend/ev-document.h:
1022         * backend/ev-document.c: (ev_document_class_init),
1023         (ev_document_load), (ev_document_get_link),
1024         (ev_document_get_links): Remove 3 methods and add get_links.
1025         Also, made 0 based.
1026
1027         * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
1028         * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
1029
1030         * backend/ev-link.c: (ev_link_set_title),
1031         (ev_link_mapping_free_foreach), (ev_link_mapping_free),
1032         (ev_link_mapping_find):
1033         * backend/ev-link.h: Allow NULL titles.  Also, introduce a mapping link.
1034         
1035         * backend/ev-page-cache.c: (ev_page_cache_init),
1036         (_ev_page_cache_new), (ev_page_cache_set_current_page),
1037         (ev_page_cache_get_size), (ev_page_cache_next_page),
1038         (ev_page_cache_prev_page): Fix to be 0 based.
1039
1040         * pdf/Makefile.am: 
1041         * pdf/ev-poppler.h:
1042         * pdf/ev-poppler.cc: New backend.
1043         
1044         * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
1045         (ps_document_get_page), (ps_document_document_iface_init):
1046
1047         * shell/ev-pixbuf-cache.h:
1048         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
1049         (dispose_cache_job_info), (job_finished_cb), (move_one_job),
1050         (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
1051         (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
1052         (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
1053         Fix up code to grab a page cache per each doc.  Also, fix to be 0
1054         based.
1055         
1056         * shell/ev-sidebar-thumbnails.c:
1057         (ev_sidebar_tree_selection_changed), (page_changed_cb),
1058         (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
1059
1060         * shell/ev-view.c: (status_message_from_link),
1061         (find_page_at_location), (get_link_at_location),
1062         (ev_view_motion_notify_event), (ev_view_button_release_event),
1063         (ev_view_init): Use the new link code.  Fix to be 0 based.
1064
1065         * shell/ev-window.c: (update_action_sensitivity),
1066         (document_supports_sidebar): 0 based.
1067
1068 Fri Mar 25 16:55:58 2005  Jonathan Blandford  <jrb@redhat.com>
1069
1070         * pdf/pdf-document.cc: Patch from Fernando Herrera
1071         <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
1072         *blush*
1073
1074 Wed Mar 23 23:49:41 2005  Jonathan Blandford  <jrb@redhat.com>
1075
1076         * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
1077         1 to the page, as this seems to be 1 based.  I thought we has this
1078         fixed.  grump.
1079
1080 2005-03-23  Marco Pesenti Gritti <marco@gnome.org>
1081
1082         * TODO:
1083         * backend/Makefile.am:
1084         * backend/ev-document-links.c:
1085         (ev_document_links_has_document_links),
1086         (ev_document_links_get_links_model):
1087         * backend/ev-document-links.h:
1088         * backend/ev-document.c: (ev_document_get_page_cache),
1089         (ev_document_get_doc_mutex), (ev_document_load),
1090         (ev_document_save), (ev_document_get_title),
1091         (ev_document_get_n_pages), (ev_document_set_page),
1092         (ev_document_get_page), (ev_document_set_target),
1093         (ev_document_set_scale), (ev_document_set_page_offset),
1094         (ev_document_get_page_size), (ev_document_get_text),
1095         (ev_document_get_link), (ev_document_render),
1096         (ev_document_render_pixbuf), (ev_document_scale_changed):
1097         * backend/ev-document.h:
1098         * backend/ev-job-queue.c: (remove_object_from_queue),
1099         (notify_finished), (handle_job), (search_for_jobs_unlocked),
1100         (no_jobs_available_unlocked), (ev_render_thread),
1101         (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
1102         (ev_job_queue_remove_job):
1103         * backend/ev-job-queue.h:
1104         * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1105         (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1106         (ev_job_links_class_init), (ev_job_render_init),
1107         (ev_job_render_dispose), (ev_job_render_class_init),
1108         (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1109         (ev_job_thumbnail_class_init), (ev_job_finished),
1110         (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1111         (ev_job_render_run), (ev_job_thumbnail_new),
1112         (ev_job_thumbnail_run):
1113         * backend/ev-jobs.h:
1114         * backend/ev-link.c:
1115         * backend/ev-link.h:
1116         * backend/ev-page-cache.c: (ev_page_cache_init),
1117         (ev_page_cache_class_init), (ev_page_cache_finalize),
1118         (_ev_page_cache_new), (ev_page_cache_get_n_pages),
1119         (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1120         (ev_page_cache_set_link), (ev_page_cache_get_title),
1121         (ev_page_cache_get_size), (ev_page_cache_next_page),
1122         (ev_page_cache_prev_page):
1123         * backend/ev-page-cache.h:
1124         * pdf/pdf-document.cc:
1125         * ps/gsdefaults.c:
1126         * ps/gsdefaults.h:
1127         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
1128         (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
1129         (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
1130         (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
1131         (is_interpreter_ready), (output), (catchPipe), (input),
1132         (start_interpreter), (check_filecompressed), (compute_dimensions),
1133         (ps_document_enable_interpreter), (document_load),
1134         (ps_document_next_page), (render_page), (ps_document_set_page),
1135         (ps_document_set_scale), (render_pixbuf_idle),
1136         (ps_document_render_pixbuf), (ps_document_document_iface_init):
1137         * ps/ps-document.h:
1138         * shell/Makefile.am:
1139         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
1140         (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
1141         (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
1142         (ev_pixbuf_cache_new), (job_finished_cb),
1143         (check_job_size_and_unref), (move_one_job),
1144         (ev_pixbuf_cache_update_range), (find_job_cache),
1145         (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
1146         (ev_pixbuf_cache_add_jobs_if_needed),
1147         (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
1148         * shell/ev-pixbuf-cache.h:
1149         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
1150         (idle_print_handler):
1151         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
1152         (selection_changed_cb), (create_loading_model),
1153         (ev_sidebar_links_construct), (links_page_num_func),
1154         (ev_sidebar_links_clear_document), (update_page_callback_foreach),
1155         (update_page_callback), (job_finished_cb),
1156         (ev_sidebar_links_set_document):
1157         * shell/ev-sidebar-thumbnails.c:
1158         (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
1159         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
1160         (page_changed_cb), (thumbnail_job_completed_callback),
1161         (ev_sidebar_thumbnails_set_document):
1162         * shell/ev-sidebar-thumbnails.h:
1163         * shell/ev-sidebar.c: (ev_sidebar_set_document):
1164         * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
1165         (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
1166         (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
1167         (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
1168         (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
1169         (ev_view_button_release_event), (ev_view_scroll_view),
1170         (ev_view_class_init), (ev_view_init), (update_find_status_message),
1171         (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
1172         (ev_view_new), (job_finished_cb), (page_changed_cb),
1173         (ev_view_set_document), (go_to_link), (ev_view_zoom),
1174         (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
1175         (ev_view_find_previous):
1176         * shell/ev-view.h:
1177         * shell/ev-window.c: (update_action_sensitivity),
1178         (ev_window_open_page), (update_window_title), (update_total_pages),
1179         (page_changed_cb), (ev_window_setup_document),
1180         (password_dialog_response), (ev_window_cmd_save_as),
1181         (ev_window_print), (ev_window_cmd_go_previous_page),
1182         (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
1183         (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
1184         (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
1185         * shell/main.c: (main):
1186
1187         Merge evince-threads branch
1188
1189 2005-03-16  Žygimantas Beručka  <uid0@akl.lt>
1190
1191         * configure.ac: Added "lt" to ALL_LINGUAS.
1192
1193 2005-03-14  Marco Pesenti Gritti  <marco@gnome.org>
1194
1195         * NEWS:
1196         * configure.ac:
1197
1198         Release 0.1.9
1199
1200 2005-03-13  Fernando Herrera  <fherrera@onirica.com>
1201
1202         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1203
1204         Fix here also the thumbnails 1-basedness :)
1205
1206 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
1207
1208         * NEWS:
1209         * configure.ac:
1210
1211         Release 0.1.8
1212
1213 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
1214
1215         * pdf/pdf-document.cc:
1216         * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
1217         (do_one_iteration), (ev_sidebar_thumbnails_set_document):
1218
1219         Fix the mess we did with thumbnails and 1-basedness
1220
1221 2005-03-12  Changwoo Ryu  <cwryu@debian.org>
1222
1223         * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
1224
1225 2005-03-09  Marco Pesenti Gritti  <marco@gnome.org>
1226
1227         * NEWS:
1228         * configure.ac:
1229
1230         Release 0.1.7
1231
1232 2005-03-08  Marco Pesenti Gritti  <marco@gnome.org>
1233
1234         * ps/Makefile.am:
1235         * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
1236         (gtk_gs_defaults_get_alpha_parameters),
1237         (gtk_gs_defaults_get_ungzip_cmd),
1238         (gtk_gs_defaults_get_unbzip2_cmd):
1239         * ps/gsdefaults.h:
1240         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
1241         (ps_document_get_orientation), (document_load),
1242         (ps_document_goto_page), (ps_document_set_page_size):
1243         * ps/ps-document.h:
1244
1245         Some more sanitization of the ps backend. Remove a lot
1246         of unused code and do not base our defaults on ggv
1247         preferences (ugh!)
1248
1249 2005-03-08  Fernando Herrera  <fherrera@onirica.com>
1250
1251         * thumbnailer/evince-thumbnailer.schemas:
1252         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
1253         (main): add -s option for thumbnail size.
1254
1255 2005-03-07  Christian Persch  <chpe@cvs.gnome.org>
1256
1257         * configure.ac:
1258
1259         AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
1260         remove it.
1261
1262 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
1263
1264         * pdf/pdf-document.cc:
1265
1266         Remove 4 pixels of useless border from the
1267         thumbnail.
1268
1269 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
1270
1271         * backend/ev-document-thumbnails.c:
1272         (ev_document_thumbnails_get_thumbnail):
1273         * backend/ev-document-thumbnails.h:
1274
1275         Rework API a bit. Add a border flag and
1276         change sizing logic (now the size we specify
1277         applies to the bigger dimension).
1278
1279         * pdf/pdf-document.cc:
1280         * pixbuf/pixbuf-document.c:
1281         (pixbuf_document_thumbnails_get_thumbnail):
1282         * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
1283         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1284
1285         Adapt to the new API and do not draw a border for nautilus
1286         thumbnailer.
1287
1288 2005-03-03  Fernando Herrera  <fherrera@onirica.com>
1289
1290         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1291         take thumbnails from page "0" instead of "1". Added a copyright header.
1292
1293 2005-03-03  Jens Granseuer  <jensgr@gmx.net>
1294
1295         * ps/ps-document.c: (set_up_page), (start_interpreter):
1296
1297         Make it C89 compliant
1298
1299 2005-03-03  Marco Pesenti Gritti  <marco@gnome.org>
1300
1301         * Makefile.am:
1302         * configure.ac:
1303         * pdf/.cvsignore:
1304         * pdf/pdf-document.cc:
1305         * thumbnailer/Makefile.am:
1306         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
1307         (main):
1308         * thumbnailer/evince-thumbnailer.schemas:
1309         * thumbnailer/pdf-icon.png:
1310
1311         Add a nautilus thumbnailer.
1312         Based on patch by Fernando Herrera <fherrera@onirica.com>.
1313
1314 2005-03-02  Marco Pesenti Gritti  <marco@gnome.org>
1315
1316         * NEWS:
1317         * configure.ac:
1318         * po/POTFILES.in:
1319
1320         Release 0.1.6
1321
1322 2005-03-01  Kristian Høgsberg  <krh@redhat.com>
1323
1324         Use poppler instead of including xpdf source code.  Poppler is a
1325         fork of xpdf to build it as a shared library. See
1326         http://freedesktop.org/wiki/Software/poppler.
1327
1328         * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
1329         xpdf fork.
1330         
1331         * pdf/Makefile.am: Build libpdfdocument.a here.
1332         
1333         * pdf/GDKSplashOutputDev.cc:
1334         * pdf/GDKSplashOutputDev.h:
1335         * pdf/GnomeVFSStream.cc:
1336         * pdf/GnomeVFSStream.h:
1337         * pdf-document.cc:
1338         * pdf-document.h:
1339         * test-gdk-output-dev.cc
1340         * Thumb.cc:
1341         * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
1342         against poppler.
1343
1344 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
1345
1346         * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
1347
1348         Clear idle stack before unsetting the document
1349
1350 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
1351
1352         * ps/ps-document.c: (ps_document_widget_event),
1353         (ps_document_set_target), (ps_document_finalize),
1354         (ps_document_get_page):
1355
1356         Disconnect the widget event signal on finalize.
1357         Some code cleanups.
1358
1359 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
1360
1361         * ps/ps-document.c: (set_up_page):
1362
1363         If there is no bpixmap create one, even if size
1364         is not changed.
1365
1366 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
1367
1368         * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
1369         (set_up_page), (document_load), (ps_document_set_zoom):
1370
1371         Default page is 0. Calculate size even when we have no
1372         target yet.
1373
1374 2005-02-28  Carlos Garcia Campos <carlosgc@gnome.org>
1375
1376         * shell/ev-sidebar.c: expand the selection widget to be always as
1377         wide as the sidebar
1378
1379 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
1380
1381         * shell/ev-sidebar-thumbnails.c:
1382         (ev_sidebar_thumbnails_set_document):
1383
1384         Clear the list store when setting document
1385
1386 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
1387
1388         * shell/ev-page-action.c: (update_entry), (sync_entry),
1389         (activate_cb), (entry_size_request_cb), (create_tool_item),
1390         (connect_proxy):
1391
1392         Use an entry for the page control instead of spinbuttons
1393
1394 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
1395
1396         * data/evince.schemas.in:
1397
1398         Correct confusing string
1399
1400 Sun Feb 27 23:00:31 2005  Jonathan Blandford  <jrb@redhat.com>
1401
1402         * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
1403         for real.  Gosh, how long has this been broken.
1404
1405         * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
1406         check for a NULL link.  We crash otherwise.
1407
1408 2005-02-27  Marco Pesenti Gritti  <marco@gnome.org>
1409
1410         * NEWS:
1411         * configure.ac:
1412
1413         Release 0.1.5
1414
1415 2005-02-25  Sebastien Bacher  <seb128@debian.org>
1416
1417         * configure.ac: add the french translation.
1418
1419 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
1420
1421         * shell/ev-window.c:
1422
1423         Remove unused header -> fix distcheck
1424
1425 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
1426
1427         * shell/ev-window.c: (update_window_title),
1428         (ev_window_popup_password_dialog):
1429
1430         Unescape filename for display
1431
1432 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
1433
1434         * pdf/xpdf/pdf-document.cc:
1435
1436         In get_page_size deal with rotation. Also
1437         cleanup the function a bit.
1438
1439 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
1440
1441         * pdf/xpdf/pdf-document.cc:
1442
1443         Fix crash when opening in new window
1444
1445 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
1446
1447         * configure.ac:
1448
1449         Check ghostscript >= 7
1450
1451 2005-02-25  Pedro Villavicencio <pvillavi@gnome.cl>
1452
1453         * shell/ev-window.c:
1454
1455         Make page width the default sizing mode
1456
1457 2005-02-25  Carlos Garcia Campos <carlosgc@gnome.org>
1458             Marco Pesenti Gritti <marco@gnome.org>
1459
1460         * shell/ev-window.c: Remember the sidebar size
1461
1462         * data/evince.schemas.in: Add a new gconf key to store the size of
1463         the sidebar
1464
1465 2005-02-24  Kai Willadsen  <kaiw@itee.uq.edu.au>
1466
1467         * data/evince-ui.xml:
1468         * shell/ev-window.c: (update_action_sensitivity),
1469         (ev_window_cmd_view_reload):
1470         
1471         Add a "Reload" action and menu entry
1472
1473 Thu Feb 24 23:07:33 2005  Jonathan Blandford  <jrb@redhat.com>
1474
1475         * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
1476         iff the type doesn't support thumbnailing and indexing.
1477
1478 2005-02-24  Martin Kretzschmar  <martink@gnome.org>
1479
1480         * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
1481
1482 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1483
1484         * pdf/splash/Splash.cc:
1485
1486         Port fix for a crasher from kde bug
1487         http://bugs.kde.org/show_bug.cgi?id=97131
1488
1489 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1490
1491         * pdf/xpdf/pdf-document.cc:
1492
1493         Return a link even if it's of an unrecognized
1494         type. Otherwise we go in an infinte cycle.
1495
1496 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1497
1498         * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
1499         (size_allocate_cb), (ev_window_set_sizing_mode):
1500
1501         Update size when switching mode
1502
1503 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1504
1505         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
1506         (ev_window_cmd_view_page_width), (update_sizing_buttons),
1507         (ev_window_cmd_view_normal_size):
1508
1509         Fix size toggle buttons behavior
1510
1511 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1512
1513         * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
1514         (doc_rect_to_view_rect), (ev_view_size_allocate),
1515         (expose_bin_window), (ev_view_select_all), (page_changed_callback),
1516         (scale_changed_callback):
1517
1518         Do not cache offsets in size_allocate.
1519
1520 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1521
1522         * shell/ev-view.c: (ev_view_size_allocate):
1523
1524         Calculate offsets before calling the parent
1525         class (which does a redraw)
1526
1527 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1528
1529         * pdf/xpdf/pdf-document.cc:
1530
1531         Fix a crasher on exit. Unused code, put a TODO
1532
1533 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1534
1535         * backend/ev-document.c: (ev_document_class_init),
1536         (ev_document_page_changed), (ev_document_scale_changed):
1537         * backend/ev-document.h:
1538
1539         Separate page/scale notifications
1540
1541         * pdf/xpdf/pdf-document.cc:
1542
1543         Emit the new signals.
1544         Do not display the pdf page in _render, do it
1545         when scale/page are requested.
1546
1547         * ps/ps-document.c: (ps_document_set_zoom),
1548         (ps_document_widget_event):
1549         * ps/ps-document.h:
1550
1551         Emit the new signals.
1552
1553         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
1554         (ev_view_init), (page_changed_callback), (scale_changed_callback),
1555         (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
1556         (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
1557         * shell/ev-view.h:
1558         * shell/ev-window.c: (ev_window_cmd_view_normal_size),
1559         (ev_window_cmd_view_page_width), (size_allocate_cb),
1560         (ev_window_set_sizing_mode):
1561
1562         Rework sizing to be pixel based.
1563         There are bugs but should be already way better.
1564
1565 2005-02-23  Marco Pesenti Gritti  <marco@gnome.org>
1566
1567         * shell/ev-window.c: (ev_window_init):
1568
1569         Do not allow to shrink sidebar smaller then
1570         child requisition
1571
1572 2005-02-23  Carlos Garcia Campos <carlosgc@gnome.org> 
1573
1574         * shell/ev-sidebar.[ch]
1575         * shell/ev-window.c:
1576
1577         Improved sidebar widget. Fixes #166683
1578
1579 2005-02-23  Tommi Vainikainen  <thv@iki.fi>
1580
1581         * shell/ev-view.c (update_find_status_message): Give translators
1582         more flexibility with ngettext plural handling.
1583
1584 Mon Feb 21 17:52:08 2005  Jonathan Blandford  <jrb@redhat.com>
1585
1586         * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
1587         from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
1588         page when we get the page size.
1589
1590 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
1591
1592         * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
1593
1594         ps pages are 0 based, convert 
1595
1596 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
1597
1598         * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
1599
1600         Initialize correct parent class. Set GError on document load
1601
1602 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
1603
1604         * pdf/xpdf/pdf-document.cc:
1605
1606         Fixup selection offset calculation
1607
1608         * shell/ev-view.c: (view_rect_to_doc_rect),
1609         (doc_rect_to_view_rect), (ev_view_size_allocate),
1610         (expose_bin_window), (ev_view_select_all), (ev_view_copy),
1611         (ev_view_primary_get_cb), (ev_view_motion_notify_event):
1612
1613         Store selection as document relative, so that zooming
1614         and offset changing doesnt break it.
1615
1616 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
1617
1618         * shell/ev-view.c: (ev_view_best_fit):
1619
1620         Do not try to best fit if the view is not realized
1621
1622 2005-02-20  Kostas Papadimas <pkst@gnome.org>
1623           
1624         * configure.ac (ALL_LINGUAS): Added "el" (Greek).
1625
1626 Fri Feb 18 16:06:39 2005  Jonathan Blandford  <jrb@redhat.com>
1627
1628         * shell/ev-window.c (ev_window_focus_in_event): missed a case.
1629
1630 Fri Feb 18 15:32:57 2005  Jonathan Blandford  <jrb@redhat.com>
1631
1632         * shell/ev-window.c: Change the fullscreen toolbar to always be in
1633         the popup window.  That prevents it resizing when in full screen
1634         mode.
1635
1636         * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
1637         multiple rerenders.  This pretty much sucks.
1638
1639         * data/evince-ui.xml: Change the fullscreen toolbar to include the
1640         rest of the toolbar.
1641
1642 2005-02-18  Tommi Vainikainen  <thv@iki.fi>
1643
1644         * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
1645
1646 2005-02-17  Alexander Shopov  <ash@contact.bg>
1647
1648         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1649
1650 2005-02-16  Bryan Clark  <clarkbw@cvs.gnome.org>
1651
1652         * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
1653
1654 2005-02-16  Marco Pesenti Gritti  <marco@gnome.org>
1655
1656         * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
1657         (ev_view_create_invisible_cursor), (ev_view_set_cursor),
1658         (set_document_page), (document_changed_callback),
1659         (ev_view_set_document), (ev_view_find_previous),
1660         (ev_view_hide_cursor), (ev_view_show_cursor):
1661         * shell/ev-view.h:
1662         * shell/ev-window.c: (update_chrome_visibility),
1663         (fullscreen_timeout_cb), (fullscreen_set_timeout),
1664         (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
1665         (fullscreen_leave_notify_cb), (ev_window_fullscreen),
1666         (ev_window_unfullscreen):
1667         * shell/main.c: (main):
1668
1669         Automatically hide the fullscreen button.
1670         Patch by Kristian Høgsberg <krh@redhat.com>
1671
1672 2005-02-16  Vincent Noel  <vnoel@cox.net>
1673
1674         * shell/main.c (main): Specify an icon for the window. Patch by
1675         Jaap A. Haitsma. Fixes #166177.
1676
1677 Wed Feb 16 06:30:13 2005  Jonathan Blandford  <jrb@redhat.com>
1678
1679         * shell/ev-view.c (ev_view_realize): get rid of the black flash.
1680
1681 Tue Feb 15 22:27:13 2005  Jonathan Blandford  <jrb@redhat.com>
1682
1683         * backend/ev-document-misc.h:
1684         * backend/ev-document-misc.c:
1685         (ev_document_misc_get_page_border_size),
1686         (ev_document_misc_paint_one_page): New function to canonicalize
1687         sizing/painting a border.
1688
1689         * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
1690         used.
1691
1692         * pdf/xpdf/pdf-document.cc: use new function
1693
1694         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
1695         (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
1696         (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
1697         shell/ev-window.c: (update_sizing_buttons),
1698         (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
1699         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
1700         (ev_window_cmd_view_page_width), (size_allocate_cb),
1701         (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
1702         and "fit width" values act as toggle buttons so they stay
1703         toggled.  It's not 100% perfect, and it's a little slow, but it's
1704         good enough to commit I think.
1705
1706 2005-02-15  David Lodge  <dave@cirt.net>
1707
1708         * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
1709
1710 2005-02-15  Martin Kretzschmar  <martink@gnome.org>
1711
1712         * shell/ev-window.c (update_window_title): replace newlines in
1713         the title by spaces. Bug #166107.
1714
1715 2005-02-14  Martin Kretzschmar  <martink@gnome.org>
1716
1717         * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
1718         parameters providing allocation width and height without
1719         scrollbars and width of a possible vertical scrollbar. With this
1720         additional information the functions can work as
1721         intended. Unfortunately they're not idempotent. We should
1722         transform these commands to toggles. Fixes Bug #164976
1723         Initial patch by Stephane Loeuillet, then heavily modified.
1724
1725         * shell/ev-view.h: update prototypes.
1726
1727         * shell/ev-window.c (ev_window_cmd_view_best_fit)
1728         (ev_window_cmd_view_page_width): provide EvView fit functions with
1729         all the information they need. Formulas to calculate this
1730         information taken from GtkScrolledWindow.
1731
1732 2005-02-14  Crispin Flowerday  <gnome@flowerday.cx>
1733
1734         * shell/ev-sidebar-thumbnails.c: Ensure that after we have
1735         created a thumbnail, the list store is updated to know
1736         that the thumbnail is set. Fixes bug #166792
1737
1738 2005-02-11  Bryan Clark  <clarkbw@cvs.gnome.org>
1739
1740         * shell/ev-window.c: fixed typo, closes bug 166897
1741
1742         * TODO: updated TODO with bug numbers that are relevant
1743
1744 2005-02-09  Carlos Garcia Campos <carlosgc@gnome.org>
1745
1746         * shell/ev-window.c: Support for DnD of files. Fixes #164813
1747
1748 2005-02-09  Vincent Noel  <vnoel@cox.net>
1749
1750         * shell/ev-window.c: (set_action_properties): Set the "Previous"
1751         and "Next" toolbar buttons as important to make them stand out.
1752
1753 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
1754
1755         * lib/ev-debug.c:
1756         * lib/ev-debug.h:
1757         * ps/ps-document.c: (ps_document_finalize), (set_up_page),
1758         (start_interpreter), (stop_interpreter), (document_load),
1759         (ps_document_next_page), (ps_document_goto_page),
1760         (ps_document_set_page_size), (ps_document_widget_event),
1761         (ps_document_render):
1762         * shell/ev-page-view.c: (ev_page_view_dispose):
1763         * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
1764
1765         Fix compilation on non-gcc platforms
1766
1767 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
1768
1769         * NEWS:
1770         * configure.ac:
1771
1772         Release 0.1.4
1773
1774         * pdf/xpdf/Catalog.cc:
1775         * pdf/xpdf/XRef.cc:
1776
1777         Fix the fix for CAN-2004-0888
1778
1779 2005-02-09  Luca Ferretti <elle.uca@libero.it>
1780
1781         * data/Makefile.am:
1782         * data/evince-ui.xml:
1783         * shell/ev-stock-icons.c: (ev_stock_icons_init):
1784         * shell/ev-stock-icons.h:
1785         * shell/ev-window.c: (update_action_sensitivity),
1786         (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
1787         (set_action_properties):
1788
1789         Improve toolbar layout/icons
1790
1791 2005-02-08  Marco Pesenti Gritti  <marco@gnome.org>
1792
1793         * pdf/xpdf/pdf-document.cc:
1794
1795         Add warnings about unimplemented/unknown link
1796         types.
1797
1798 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
1799
1800         * ps/ps-document.c: (set_up_page):
1801
1802         Log gs property
1803
1804 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
1805
1806         * ps/ps-document.c: (start_interpreter):
1807
1808         Log gs env var
1809
1810 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
1811
1812         * shell/ev-page-view.c: (ev_page_view_dispose):
1813         * shell/ev-view.c: (ev_view_finalize):
1814         * shell/ev-window.c: (ev_window_setup_document),
1815         (ev_window_dispose), (ev_window_init):
1816
1817         Solve more refs issues.
1818
1819         I commented out the page_view initialization for now:
1820         it was never destroyed (because it's never added
1821         to a container). Because of that we was leaking
1822         gs processes. Couldnt think to a clean fix.
1823         We need to figure this out, password view has the
1824         same issue probably.
1825
1826 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
1827
1828         * ps/ps-document.c: (ps_document_finalize),
1829         (ps_document_get_n_pages), (ps_document_get_page):
1830
1831         Some cleanups, stop the interpreter on finalize
1832
1833         * shell/ev-page-view.c: (ev_page_view_dispose),
1834         (ev_page_view_class_init):
1835
1836         Release our reference on the document
1837
1838 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
1839
1840         * Makefile.am:
1841         * configure.ac:
1842         * doc/debugging.txt:
1843         * lib/.cvsignore:
1844         * lib/Makefile.am:
1845         * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
1846         (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
1847         (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
1848         * lib/ev-debug.h:
1849
1850         Add debugging helpers
1851
1852         * ps/Makefile.am:
1853         * ps/ps-document.c: (set_up_page), (start_interpreter),
1854         (stop_interpreter), (document_load), (ps_document_next_page),
1855         (ps_document_goto_page), (ps_document_set_page_size),
1856         (ps_document_widget_event), (ps_document_render):
1857         * shell/Makefile.am:
1858         * shell/ev-view.c: (expose_bin_window):
1859         * shell/main.c: (main):
1860
1861         Add some logs
1862         
1863 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
1864
1865         * ps/ps-document.c: (ps_document_widget_event):
1866
1867         Initialize message_window, this should make ps
1868         rendering really work! (Never noticed because I was
1869         testing with a ps that is causing gs to exit every time!)
1870
1871 2005-02-07  Bryan Clark  <clarkbw@cvs.gnome.org>
1872
1873         * data/evince.schemas.in: updated simple error in applyto closing tag
1874
1875 2005-02-07  Christian Persch  <chpe@cvs.gnome.org>
1876
1877         * Makefile.am:
1878         * configure.ac:
1879         * data/.cvsignore:
1880         * data/Makefile.am:
1881         * data/evince-ui.xml:
1882         A data/evince.schemas.in:
1883         * po/POTFILES.in:
1884         * shell/ev-stock-icons.c: (ev_stock_icons_init):
1885         * shell/ev-stock-icons.h:
1886         * shell/ev-window.c: (update_chrome_visibility),
1887         (update_chrome_flag), (ev_window_cmd_edit_find),
1888         (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
1889         (ev_window_unfullscreen), (ev_window_focus_in_event),
1890         (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
1891         (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
1892         (ev_window_view_sidebar_cb), (find_bar_close_cb),
1893         (ev_window_dispose), (ev_window_class_init),
1894         (set_action_properties), (set_chrome_actions), (load_chrome),
1895         (ev_window_init):
1896
1897         Implement fullscreen mode changes from bug #164776.
1898         Also implement persistent chrome toggles.
1899
1900 2005-02-07  Jordi Mallach  <jordi@sindominio.net>
1901
1902         * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
1903
1904 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
1905
1906         * NEWS:
1907         * configure.ac:
1908         * shell/ev-view.c:
1909
1910         Add another check for find interface
1911
1912         Release 0.1.3
1913
1914 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
1915
1916         * shell/ev-application.c: (ev_application_open):
1917         * shell/ev-window.c: (ev_window_open):
1918
1919         Open gzipped ps documents
1920
1921 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
1922
1923         * TODO:
1924         * shell/ev-view.c: (set_document_page):
1925
1926         Clamp page number, dont try to move to
1927         not existant pages.
1928
1929 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
1930
1931         * backend/ev-document-find.c: (ev_document_find_changed):
1932         * backend/ev-document-find.h:
1933         * pdf/xpdf/pdf-document.cc:
1934         * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
1935         * shell/ev-window.c: (find_bar_search_changed_cb):
1936
1937         Fix several bugs with find
1938
1939 2005-02-04  Martin Kretzschmar  <martink@gnome.org>
1940
1941         * shell/ev-sidebar-thumbnails.c
1942         (ev_sidebar_thumbnails_select_page): do nothing unless we have a
1943         document. Prevents warning from scroll_to_cell.
1944
1945 2005-02-02  Kjartan Maraas  <kmaraas@gnome.org>
1946
1947         * configure.ac: Add «nb» to ALL_LINGUAS too.
1948
1949 Wed Feb  2 21:13:11 2005  Jonathan Blandford  <jrb@redhat.com>
1950
1951         * NOTES: New file with some random thoughts.
1952
1953         * TODO: Update.
1954
1955         * backend/ev-document-misc.c:
1956         (ev_document_misc_get_page_border_size): New function to
1957         canonicalize shadow drawing sizes.  Possibly goofy.
1958
1959         * shell/ev-view.c: (ev_view_size_request), (set_document_page),
1960         (ev_view_best_fit), (ev_view_fit_width):
1961         * pdf/xpdf/pdf-document.cc:
1962         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
1963         * ps/ps-document.c: (ps_document_get_page_size):
1964         * backend/ev-document-misc.h:
1965         * backend/ev-document.c: (ev_document_get_page_size):
1966         * backend/ev-document.h: get_page_size now takes a page number
1967         parameter.  Made all the backends/frontends honor it.
1968
1969         * data/evince-ui.xml: Added a multiple-page mode.  Uncomment to
1970         see.  Doesn't work yet.
1971
1972         * shell/Makefile.am:
1973         * shell/ev-page-view.[ch]: New multi-page view.  Really rough.
1974         Doesn't do anything yet.
1975
1976         * shell/ev-sidebar-thumbnails.c:
1977         (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
1978         [0..n_pages-1]
1979
1980         * shell/ev-window.c: (update_action_sensitivity),
1981         (ev_window_setup_document), (ev_window_set_page_mode),
1982         (ev_window_page_mode_cb), (ev_window_init): Clean up the
1983         view-swapping code a bit so we can have multiple views on a
1984         document.  Add the multi-page view, though it can't be turned on
1985         yet.
1986
1987 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
1988
1989         * shell/ev-application.c: (ev_application_open):
1990         * shell/ev-view.c: (expose_bin_window):
1991         * shell/ev-window.c: (ev_window_open):
1992
1993         Support eps and check document supports find
1994         before drawing highlightings in expose.
1995
1996 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
1997
1998         * pixbuf/pixbuf-document.c:
1999         (pixbuf_document_thumbnails_get_dimensions),
2000         (pixbuf_document_document_thumbnails_iface_init):
2001
2002         implement get_dimensions
2003
2004 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
2005
2006         * NEWS:
2007         * configure.ac:
2008
2009         Release 0.1.2
2010
2011 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
2012
2013         * shell/ev-view.c: (set_document_page):
2014
2015         Scroll at the top of the page when changing page
2016
2017 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
2018
2019         * shell/ev-view.c: (ev_view_motion_notify_event):
2020
2021         Do not redraw unnecessarily
2022
2023 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
2024
2025         * pdf/xpdf/pdf-document.cc:
2026         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2027         (expose_bin_window), (find_changed_cb):
2028
2029         Yay! find works now... Now to find bugs...
2030
2031 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
2032
2033         * backend/ev-document-find.c: (ev_document_find_base_init),
2034         (ev_document_find_changed):
2035         * backend/ev-document-find.h:
2036         * pdf/xpdf/pdf-document.cc:
2037         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
2038         (expose_bin_window), (ev_view_init), (set_document_page),
2039         (ensure_rectangle_is_visible), (jump_to_find_result),
2040         (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
2041         (ev_view_find_next), (ev_view_find_previous):
2042         * shell/ev-view.h:
2043         * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
2044
2045         More work on find implementation, mostly there now
2046
2047 2005-01-29  Marco Pesenti Gritti  <marco@gnome.org>
2048
2049         * backend/ev-backend-marshalers.list:
2050         * backend/ev-document-find.c: (ev_document_find_base_init),
2051         (ev_document_find_cancel), (ev_document_find_page_has_results),
2052         (ev_document_find_get_n_results), (ev_document_find_get_result),
2053         (ev_document_find_get_progress), (ev_document_find_changed):
2054         * backend/ev-document-find.h:
2055
2056         Enanche the find interface to be really able to do
2057         multi page find.
2058
2059         * pdf/xpdf/pdf-document.cc:
2060
2061         Implement
2062
2063         * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
2064         (expose_bin_window), (ev_view_init),
2065         (ev_view_get_find_status_message), (find_changed_cb),
2066         (ev_view_set_document), (set_document_page):
2067
2068         Adapt to the new interface. A few things are regressed sorry,
2069         I will finish it soon.
2070
2071 2005-01-28  Martin Kretzschmar  <martink@gnome.org>
2072
2073         * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
2074         (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
2075         ev_sidebar_thumbnails_parent_class variable, don't define another
2076         parent_class variable.
2077
2078         * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
2079         (ev_page_action_class_init): ditto.
2080
2081         * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
2082         (pixbuf_document_class_init): ditto.
2083
2084         * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
2085         ditto.
2086
2087         * .cvsignore: ignore various valgrind output files.
2088
2089 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
2090
2091         * data/evince-ui.xml:
2092         * shell/Makefile.am:
2093         * shell/ev-history.c:
2094         * shell/ev-history.h:
2095         * shell/ev-navigation-action.c:
2096         * shell/ev-navigation-action.h:
2097         * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
2098         (ev_view_set_page), (ev_view_fit_width):
2099         * shell/ev-view.h:
2100         * shell/ev-window.c: (update_action_sensitivity),
2101         (ev_window_setup_document), (register_custom_actions):
2102
2103         Kill session history
2104
2105 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
2106
2107         * shell/ev-window.c: (update_action_sensitivity):
2108
2109         Fix inverted up/down buttons
2110
2111 2005-01-27  Martin Kretzschmar  <martink@gnome.org>
2112
2113         * shell/ev-sidebar-thumbnails.c
2114         (ev_sidebar_thumbnails_select_page): make sure the selected
2115         thumbnail stays visible.
2116
2117 2005-01-26  Martin Kretzschmar  <martink@gnome.org>
2118
2119         * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
2120         scrolled window for Federico.
2121
2122 2005-01-26  Ole Laursen  <olau@hardworking.dk>
2123
2124         * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
2125
2126 2005-01-26  Marco Pesenti Gritti  <marco@gnome.org>
2127
2128         * configure.ac:
2129         * pdf/splash/SplashFTFontEngine.cc:
2130
2131         Fix CID fonts with freetype 2.1.9
2132
2133 2005-01-26  Bryan Clark  <clarkbw@cvs.gnome.org>
2134
2135         * TODO: added item for desktop icon thumbnailer
2136
2137 Tue Jan 25 00:59:34 2005  Jonathan Blandford  <jrb@redhat.com>
2138
2139         * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
2140         unloaded docs when the title is accessed.
2141
2142         * shell/ev-password-view.[hc]: New widget for displaying password
2143         state.
2144
2145         * shell/ev-window.[ch]: Refactor password handling code to handle
2146         the new view.
2147
2148 2005-01-24  Marco Pesenti Gritti  <marco@gnome.org>
2149
2150         * NEWS:
2151         * configure.ac:
2152         * data/Makefile.am:
2153
2154         Release 0.1.1
2155
2156 2005-01-23  Stephane LOEUILLET  <stephane.loeuillet@tiscali.fr>
2157
2158         * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
2159         ignore page offset here, to make search results independent of it,
2160
2161         * shell/ev-view.c (expose_bin_window): but take offsets into
2162         account here. Bug #164932
2163
2164         * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
2165         scale at the right time. Bug #164996
2166
2167 2005-01-22  Martin Kretzschmar  <martink@gnome.org>
2168
2169         * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
2170         fix the problem. Now I just removed the Adobe font names and hope
2171         that the URW fonts are always in outline format. Bug #164934
2172
2173         * shell/ev-window.c (update_window_title): empty titles are
2174         useless, use filename in that case too.
2175
2176         * NEWS: Add some content.
2177
2178 2005-01-21  Bryan Clark  <clarkbw@cvs.gnome.org>
2179
2180         * TODO: added one more TODO item and a TODONE section :)
2181
2182 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
2183
2184         * ps/ps-document.h: add page_[xy]_offset fields.
2185
2186         * ps/ps-document.c (ps_document_set_page_offset)
2187         (ps_document_render): Keep offset in consideration in a few
2188         places. Bug #164752 "postscript documents are not centered in
2189         window"
2190
2191         * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
2192         s/gpdf/evince/. Spotted by Stephane Loeuillet.
2193
2194         * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
2195         (pixbuf_document_get_text, pixbuf_document_document_iface_init):
2196         stub out missing methods for complete EvDocument implementation.
2197         Fixes segfaults with Save A Copy and Copy actions.
2198
2199         * ps/ps-document.c (ps_document_save, ps_document_get_text) 
2200         (ps_document_document_iface_init): ditto.
2201         
2202 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
2203
2204         * data/.cvsignore:
2205         * data/Makefile.am:
2206         * data/evince.desktop.in:
2207
2208         Add desktop file
2209
2210 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
2211
2212         * shell/ev-view.c: (ev_view_button_press_event),
2213         (ev_view_motion_notify_event):
2214
2215         Make selection work in any direction
2216
2217 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
2218
2219         * TODO:
2220         * shell/ev-window.c: (set_short_labels), (ev_window_init):
2221
2222         Use shorter labels for some of the toolbars items
2223
2224 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
2225
2226         * pdf/xpdf/pdf-document.cc:
2227
2228         Check the links info is initialized before
2229         using it. Should fix a crash on startup.
2230
2231 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
2232
2233         * pixbuf/pixbuf-document.c
2234         (pixbuf_document_thumbnails_get_dimensions): force floating point
2235         division to calculate page_ratio. Fixes crash with landscape
2236         format pixbufs.
2237
2238 Thu Jan 20 18:56:35 2005  Jonathan Blandford  <jrb@redhat.com>
2239
2240         * shell/ev-view.c (ev_view_realize): make the bg color darker.
2241
2242 2005-01-20  Martin Kretzschmar  <martink@gnome.org>
2243
2244         * shell/ev-view.c (set_document_page): unset has_selection when
2245         the page changes.
2246         (set_document_page): handle paper size changes when the page
2247         changes (test with Free Culture, page 2).
2248
2249 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
2250
2251         * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
2252         (expose_bin_window), (ev_view_class_init), (ev_view_init):
2253
2254         Use normal style color for the widget background and
2255         draw a black box around the page.
2256
2257 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
2258
2259         * pdf/xpdf/pdf-document.cc:
2260
2261         Keep offset in consideration in a few places
2262
2263         * shell/ev-view.c: (expose_bin_window):
2264
2265         Set the offsets so that the document is ever centered
2266
2267 2005-01-20  Bryan Clark  <clarkbw@cvs.gnome.org>
2268
2269         * TODO: Added TODO items and finished off the first todo item
2270
2271         * AUTHORS: Updated AUTHORS section with piece from gpdf file and
2272         reflect current authors
2273
2274 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
2275
2276         * pdf/xpdf/pdf-document.cc:
2277         * shell/ev-view.c: (ev_view_set_cursor),
2278         (ev_view_motion_notify_event), (document_changed_callback),
2279         (set_document_page):
2280
2281         Show a wait cursor while the page is rendering
2282
2283 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
2284
2285         * shell/ev-sidebar-thumbnails.c:
2286         (ev_sidebar_tree_selection_changed),
2287         (ev_sidebar_thumbnails_select_page):
2288         * shell/ev-sidebar-thumbnails.h:
2289         * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
2290         (ev_view_can_go_forward):
2291         * shell/ev-window.c: (ev_window_open_page),
2292         (ev_window_setup_document), (update_current_page),
2293         (view_page_changed_cb), (ev_window_init):
2294         * shell/ev-window.h:
2295
2296         Ensure thumbnails selection, toolbar page control and
2297         current page are in sync.
2298
2299 2005-01-19  Marco Pesenti Gritti  <marco@gnome.org>
2300
2301         * pdf/xpdf/XRef.cc:
2302
2303         Fix CAN-2005-0064
2304
2305 Wed Jan 19 01:10:57 2005  Jonathan Blandford  <jrb@redhat.com>
2306
2307         * backend/Makefile.am:
2308         * backend/ev-document-links.h:
2309         * backend/ev-document-security.c: (ev_document_security_get_type),
2310         (ev_document_security_has_document_security),
2311         (ev_document_security_set_password):
2312         * backend/ev-document-security.h:
2313         * backend/ev-document.c: (ev_document_error_quark):
2314         * backend/ev-document.h:
2315         * data/Makefile.am:
2316         * data/evince-password.glade:
2317         * pdf/xpdf/pdf-document.cc:
2318         * shell/Makefile.am:
2319         * shell/ev-password.c: (ev_password_set_bad_password_label),
2320         (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
2321         (ev_password_dialog_get_password),
2322         (ev_password_dialog_set_bad_pass):
2323         * shell/ev-password.h:
2324         * shell/ev-window.c: (ev_window_get_attribute),
2325         (ev_window_set_property), (update_action_sensitivity),
2326         (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
2327         (ev_window_setup_document), (ev_window_get_password),
2328         (ev_window_open), (ev_window_cmd_save_as),
2329         (using_postscript_printer), (ev_window_print),
2330         (find_not_supported_dialog), (ev_window_cmd_edit_find),
2331         (update_fullscreen_popup), (ev_window_fullscreen),
2332         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
2333         (ev_window_focus_out_cb), (ev_window_cmd_help_about),
2334         (menu_item_select_cb), (find_bar_search_changed_cb),
2335         (ev_window_dispose), (ev_window_init):
2336
2337         Add initial support for password-supported dialogs.  This could be
2338         a lot cooler, but it'll do for now.
2339
2340 2005-01-18  Marco Pesenti Gritti  <marco@gnome.org>
2341
2342         * pdf/xpdf/pdf-document.cc:
2343         * shell/ev-view.c: (status_message_from_link),
2344         (ev_view_set_status), (ev_view_set_cursor),
2345         (ev_view_motion_notify_event), (ev_view_init):
2346         * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
2347
2348         Fix bugs in the links implementation and change cursor
2349         when hovering a link.
2350
2351 2005-01-17  Bryan Clark  <clarkbw@cvs.gnome.org>
2352
2353         * viewer/.cvsignore: added cvsignore file for viewer directory
2354
2355         * TODO: created TODO document
2356
2357 2005-01-14  Dave Malcolm  <dmalcolm@redhat.com>
2358
2359         * shell/ev-view.h:
2360         * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):      
2361         new functions to help with implementation of sensitivity code
2362         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
2363         of all actions that might require it.  Fixes a crash when you
2364         click on the Zoom actions in a window lacking a document.
2365
2366 2005-01-13  Dave Malcolm  <dmalcolm@redhat.com>
2367
2368         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
2369         of the Find action
2370
2371 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
2372
2373         * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
2374         (pixbuf_document_document_iface_init):
2375         * ps/ps-document.c: (ps_document_get_link),
2376         (ps_document_document_iface_init):
2377         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
2378         (status_message_from_link), (ev_view_set_status),
2379         (ev_view_set_find_status), (ev_view_motion_notify_event),
2380         (ev_view_button_release_event), (ev_view_set_property),
2381         (ev_view_get_property), (ev_view_class_init), (ev_view_init),
2382         (ev_view_get_find_status_message), (update_find_results),
2383         (ev_view_get_status), (ev_view_get_find_status):
2384         * shell/ev-view.h:
2385         * shell/ev-window.c: (view_status_changed_cb),
2386         (view_find_status_changed_cb), (ev_window_init):
2387
2388         View status message support, use it to show the links.
2389         Needs work...
2390
2391 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
2392
2393         * backend/ev-document.c: (ev_document_get_link):
2394         * backend/ev-document.h:
2395         * pdf/xpdf/pdf-document.cc:
2396         * shell/ev-application.c: (ev_application_open):
2397         * shell/ev-application.h:
2398         * shell/ev-sidebar-links.c: (selection_changed_cb):
2399         * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
2400         (ev_view_go_to_link):
2401
2402         Add support for document links
2403
2404 2005-01-13  Anders Carlsson  <andersca@gnome.org>
2405
2406         * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
2407         (create_tool_item):
2408         Set the spin button limits correctly.
2409         
2410         * shell/ev-sidebar-thumbnails.c:
2411         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
2412         Support changing pages by clicking on the thumbnails.
2413         
2414 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
2415
2416         * pixbuf/pixbuf-document.c:
2417         (pixbuf_document_thumbnails_get_dimensions),
2418         (pixbuf_document_document_thumbnails_iface_init):
2419
2420         implement get_dimensions
2421
2422 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
2423
2424         * ps/ps-document.c: (ps_document_goto_page):
2425
2426         Fix page switching on multipage documents
2427
2428 2005-01-12  Jeff Muizelaar  <jrmuizel@nit.ca>
2429
2430         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
2431         
2432         check for NULL before assigning to width and height parameters
2433
2434 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
2435
2436         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2437         (pixbuf_document_set_property), (pixbuf_document_get_property):
2438
2439         implement get/set properties
2440
2441 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
2442
2443         * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
2444         
2445         return NULL instead of "Unknown", letting the title get set to
2446         the filename when the pdf has no title.
2447
2448 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
2449
2450         * ps/ps-document.c: (ps_document_get_page_count),
2451         (ps_document_goto_page):
2452
2453 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
2454
2455         * shell/ev-history.c: (ev_history_get_property),
2456         (ev_history_set_property), (ev_history_class_init),
2457         (ev_history_add_page), (ev_history_set_current_index):
2458         * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
2459         (activate_menu_item_cb), (new_history_menu_item), (build_menu),
2460         (ev_navigation_action_finalize):
2461         * shell/ev-navigation-action.h:
2462         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
2463         (ev_view_go_forward), (ev_view_get_find_status_message),
2464         (history_index_changed_cb), (ev_view_set_history):
2465         * shell/ev-view.h:
2466         * shell/ev-window.c: (update_total_pages), (ev_window_open),
2467         (update_current_page), (register_custom_actions):
2468
2469         Implement history dropdowns
2470
2471 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
2472
2473         * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
2474         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
2475         (ev_view_go_forward):
2476         * shell/ev-window.c: (register_custom_actions):
2477
2478         Fix several history bugs
2479
2480 2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>
2481
2482         * configure.ac: Add «nb» to ALL_LINGUAS.
2483
2484 2005-01-10  Marco Pesenti Gritti  <marco@gnome.org>
2485
2486         * backend/Makefile.am:
2487         * backend/ev-bookmark.c:
2488         * backend/ev-bookmark.h:
2489         * backend/ev-document-bookmarks.c:
2490         * backend/ev-document-bookmarks.h:
2491         * backend/ev-document-links.c: (ev_document_links_get_type),
2492         (ev_document_links_has_document_links),
2493         (ev_document_links_begin_read), (ev_document_links_get_link),
2494         (ev_document_links_get_child), (ev_document_links_next),
2495         (ev_document_links_free_iter):
2496         * backend/ev-document-links.h:
2497         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
2498         (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
2499         (ev_link_get_link_type), (ev_link_set_link_type),
2500         (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
2501         (ev_link_set_property), (ev_window_dispose), (ev_link_init),
2502         (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
2503         (ev_link_new_external):
2504         * backend/ev-link.h:
2505         * pdf/xpdf/pdf-document.cc:
2506         * shell/Makefile.am:
2507         * shell/ev-application.c: (ev_application_open_link):
2508         * shell/ev-application.h:
2509         * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
2510         (ev_history_get_link_nth):
2511         * shell/ev-history.h:
2512         * shell/ev-sidebar-bookmarks.c:
2513         * shell/ev-sidebar-bookmarks.h:
2514         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2515         (ev_sidebar_links_class_init), (selection_changed_cb),
2516         (ev_sidebar_links_construct), (ev_sidebar_links_init),
2517         (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
2518         (do_one_iteration), (populate_links_idle),
2519         (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
2520         * shell/ev-sidebar-links.h:
2521         * shell/ev-sidebar.c: (ev_sidebar_set_document):
2522         * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
2523         (go_to_index):
2524         * shell/ev-view.h:
2525         * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
2526         * shell/ev-window.h:
2527
2528         Rename bookmark to link, and use "Index" for the sidebar panel.
2529
2530 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
2531
2532         * shell/Makefile.am:
2533         * shell/ev-application.c: (ev_application_open_bookmark):
2534         * shell/ev-application.h:
2535         * shell/ev-history.c: (ev_history_init), (free_links_list),
2536         (ev_history_finalize), (ev_history_class_init),
2537         (ev_history_add_link), (ev_history_add_page),
2538         (ev_history_get_link_nth), (ev_history_get_n_links),
2539         (ev_history_get_current_index), (ev_history_set_current_index),
2540         (ev_history_new):
2541         * shell/ev-history.h:
2542         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
2543         * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
2544         (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
2545         (go_to_index), (ev_view_go_back), (ev_view_go_forward),
2546         (ev_view_set_page):
2547         * shell/ev-view.h:
2548         * shell/ev-window.c: (ev_window_open_bookmark),
2549         (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
2550         (goto_page_cb), (register_custom_actions):
2551         * shell/ev-window.h:
2552
2553         Initial history implementation. Needs work.
2554
2555 2005-01-09  Martin Kretzschmar  <martink@gnome.org>
2556
2557         * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
2558
2559 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
2560
2561         * cut-n-paste/recent-files/egg-recent-item.c:
2562         * cut-n-paste/recent-files/egg-recent-item.h:
2563         * cut-n-paste/recent-files/egg-recent-model.c:
2564         * cut-n-paste/recent-files/egg-recent-util.c:
2565         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2566         * cut-n-paste/recent-files/egg-recent-view.c:
2567
2568         Update
2569
2570 2005-01-08  Martin Kretzschmar  <martink@gnome.org>
2571
2572         * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
2573         (fillGlyph, fillImageMask, drawImage):
2574         pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
2575         pdf/splash/SplashTypes.h:
2576         pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
2577         packed mode for Splash.
2578
2579         * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
2580         RGB8 packed mode, eliminates the pixbuf data creation loop.
2581
2582         * shell/ev-print-job.c (ev_print_job_finalize)
2583         (ev_print_job_set_property, ev_print_job_get_property)
2584         (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
2585         (ev_print_job_use_print_dialog_settings, idle_print_handler)
2586         (print_closure_finalize, ev_print_job_print): implement
2587         printing (for backends with EvPsExporter)
2588
2589         * shell/ev_print_job.h: update prototypes.
2590
2591         * shell/ev-window.c (ev_window_print): unref print job after
2592         printing.
2593
2594         * shell/ev-view.c (ev_view_set_document): don't connect to "found"
2595         unless the document implements the EvDocumentFind interface.
2596
2597 2005-01-08  Satoru SATOH <ss@gnome.gr.jp>
2598
2599         * configure.ac: Added ja to ALL_LINGUAS.
2600
2601 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
2602
2603         * pdf/xpdf/pdf-document.cc:
2604
2605         add a FIXME. We should probably not allocate
2606         a bookmark object every time
2607
2608 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
2609
2610         * shell/ev-application.c: (ev_application_open),
2611         (ev_application_open_bookmark):
2612         * shell/ev-application.h:
2613         
2614         Add a way to open bookmarks
2615
2616         * backend/ev-bookmark.c: (ev_bookmark_get_uri),
2617         (ev_bookmark_set_uri), (ev_bookmark_get_property),
2618         (ev_bookmark_set_property), (ev_bookmark_class_init),
2619         (ev_bookmark_new_title), (ev_bookmark_new_link),
2620         (ev_bookmark_new_external):
2621
2622         Support for external uris, better constructors.
2623
2624         * backend/ev-bookmark.h:
2625         * pdf/xpdf/pdf-document.cc:
2626         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
2627
2628         Handle external uris
2629
2630 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
2631
2632         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
2633         (ev_sidebar_bookmarks_construct), (do_one_iteration):
2634
2635         Hook up bookmarks navigation
2636
2637 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
2638
2639         * backend/Makefile.am:
2640         * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
2641         (ev_bookmark_get_title), (ev_bookmark_set_title),
2642         (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
2643         (ev_bookmark_get_page), (ev_bookmark_set_page),
2644         (ev_bookmark_get_property), (ev_bookmark_set_property),
2645         (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
2646         (ev_bookmark_new):
2647         * backend/ev-bookmark.h:
2648         * backend/ev-document-bookmarks.c:
2649         (ev_document_bookmarks_get_bookmark):
2650         * backend/ev-document-bookmarks.h:
2651         * pdf/xpdf/pdf-document.cc:
2652         * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
2653
2654         Add a bookmark object to the backend and use it instead of get_values
2655
2656 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
2657
2658         * data/evince-ui.xml:
2659
2660         Cleanup and add select all.
2661
2662         * shell/ev-view.c: (ev_view_select_all),
2663         (ev_view_button_press_event):
2664         * shell/ev-view.h:
2665         * shell/ev-window.c: (ev_window_cmd_edit_select_all):
2666
2667         Add select all.
2668         Clear selection on click.
2669
2670 Fri Jan  7 01:28:58 2005  Jonathan Blandford  <jrb@redhat.com>
2671
2672         * shell/ev-sidebar-thumbnails.c
2673         (ev_sidebar_thumbnails_set_document): forgot to unref the
2674         loading_icon.
2675
2676 Fri Jan  7 01:22:48 2005  Jonathan Blandford  <jrb@redhat.com>
2677
2678         * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
2679         at the visible page, not just linearly.  This makes it look fast.
2680
2681 Thu Jan  6 18:48:11 2005  Jonathan Blandford  <jrb@redhat.com>
2682
2683         * backend/ev-document-misc.c
2684         (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
2685         white.
2686         * backend/ev-document-thumbnails.h: New interface to get the size
2687         of a page.
2688
2689 2005-01-06  Jeremy Katz  <katzj@redhat.com>
2690
2691         * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
2692         make dist works
2693
2694 Wed Jan  5 15:38:28 2005  Jonathan Blandford  <jrb@redhat.com>
2695
2696         * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
2697         GDKSplashOutputDev and just use a normal SplashOutputDev.  Speeds
2698         things up a bit.
2699
2700         * shell/ev-sidebar-thumbnail.c: start of some profiling code.
2701
2702 2005-01-05  Martin Kretzschmar  <martink@gnome.org>
2703
2704         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
2705         fonts. Should fix font problems on systems that have the base
2706         fonts in bitmap format. Reported by James Henstridge
2707         <james@jamesh.id.au>.
2708
2709 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2710
2711         * pdf/xpdf/Gfx.cc:
2712         * pdf/xpdf/GfxState.cc:
2713
2714         Fix for CAN-2004-1125
2715
2716 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2717
2718         * shell/ev-view.c: (ev_view_copy):
2719         * shell/ev-view.h:
2720         * shell/ev-window.c: (ev_window_cmd_edit_copy):
2721
2722         Implement Edit->Copy
2723
2724 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2725
2726         * backend/ev-document.c: (ev_document_get_text):
2727         * backend/ev-document.h:
2728         * pdf/xpdf/pdf-document.cc:
2729         * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
2730         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2731         (ev_view_update_primary_selection), (ev_view_button_press_event),
2732         (ev_view_motion_notify_event), (ev_view_button_release_event):
2733
2734         Beginnings of clipboard support. Incomplete but primary sort
2735         of work.
2736
2737 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2738
2739         * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
2740         (expose_bin_window):
2741
2742         Nicer rubberband drawing, from GtkIconView.
2743
2744 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2745
2746         * backend/ev-document.c: (ev_document_save):
2747         * backend/ev-document.h:
2748         * data/evince-ui.xml:
2749         * pdf/xpdf/pdf-document.cc:
2750         * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
2751
2752         Implement "Save a copy..." menu item
2753
2754 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2755
2756         * shell/ev-view.c: (ev_view_zoom):
2757
2758         Queue a resize when zoom changes
2759
2760 Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>
2761
2762         * backend/ev-document-misc.[ch]: New misc file to do simple drop
2763         shadows.
2764
2765         * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
2766         thumbnails..
2767
2768 Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
2769
2770         * pdf/xpdf/pdf-document.cc
2771         (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
2772
2773 Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>
2774
2775         * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
2776         It's slow, but I'll speed it up next!
2777
2778 2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>
2779
2780         * shell/main.c (load_files):
2781
2782         use gnome_vfs_make_uri_from_shell_arg so that relative paths work
2783         from the command line and because it seems more appropriate.
2784
2785 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
2786
2787         * data/evince-ui.xml:
2788         * shell/ev-window.c: (update_action_sensitivity),
2789         (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
2790
2791         s/next page/page down
2792         s/previous page/page up
2793
2794 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
2795
2796         * data/evince-ui.xml:
2797
2798         Change the layout to match clarkbw design.
2799
2800         * shell/Makefile.am:
2801         * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
2802         (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
2803         (ev_navigation_action_finalize),
2804         (ev_navigation_action_set_property),
2805         (ev_navigation_action_get_property),
2806         (ev_navigation_action_class_init):
2807         * shell/ev-navigation-action.h:
2808
2809         Implement clarkbw toolbar navigation controls (incomplete)
2810
2811         * shell/ev-page-action.c: (update_label), (update_spin),
2812         (value_changed_cb), (create_tool_item), (connect_proxy),
2813         (ev_page_action_init), (ev_page_action_finalize),
2814         (ev_page_action_set_property), (ev_page_action_get_property),
2815         (ev_page_action_set_current_page),
2816         (ev_page_action_set_total_pages), (ev_page_action_class_init):
2817         * shell/ev-page-action.h:
2818
2819         Implement a page switcher in the toolbar
2820
2821         * shell/ev-view.c: (ev_view_scroll_view):
2822         * shell/ev-window.c: (update_total_pages), (ev_window_open),
2823         (update_current_page), (view_page_changed_cb), (goto_page_cb),
2824         (register_custom_actions), (ev_window_init):
2825
2826         Change page on PageUp/Down.
2827
2828 Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>
2829
2830         * pdf/xpdf/pdf-document.cc
2831         (pdf_document_thumbnails_get_thumbnail): initial stab at
2832         implementing thumbnail support for pdfs.  It only does documents
2833         with precached pdfs now.
2834
2835 Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>
2836
2837         * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
2838         thumbnail code into a time-based idle as well.  Also, turn off the
2839         shadow temporarily as it's really slow.
2840
2841 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
2842
2843         * backend/ev-document.c: (ev_document_class_init):
2844         * pdf/xpdf/pdf-document.cc:
2845         * shell/ev-window.c: (ev_window_open):
2846
2847         Fix document title bugs and fallback to
2848         filename when not available.
2849
2850 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
2851
2852         * backend/ev-document.c: (ev_document_get_type),
2853         (ev_document_class_init), (ev_document_load),
2854         (ev_document_get_title):
2855         * backend/ev-document.h:
2856         * pdf/xpdf/pdf-document.cc:
2857         * ps/ps-document.c: (ps_document_set_property),
2858         (ps_document_get_property), (ps_document_class_init),
2859         (document_load):
2860         * ps/ps-document.h:
2861         * ps/ps.h:
2862         * shell/ev-window.c: (update_window_title), (ev_window_open),
2863         (ev_window_init):
2864
2865         Initial support for document title. Not working yet.
2866
2867 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
2868
2869         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
2870
2871         Grab focus on the view when clicking it
2872
2873 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
2874
2875         * shell/ev-marshal.list:
2876         * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
2877         (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
2878
2879         Add key bindings to the view. Now if the focus would work
2880         right...
2881
2882 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
2883
2884         * Makefile.am:
2885         * backend/Makefile.am:
2886         * data/Makefile.am:
2887         * dvi/Makefile.am:
2888         * dvi/dvilib/Makefile.am:
2889         * pdf/xpdf/Makefile.am:
2890         * po/POTFILES.in:
2891         * ps/Makefile.am:
2892
2893         Fix distcheck
2894
2895 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
2896
2897         * shell/ev-view.c: (ev_view_realize):
2898
2899         Fix mouse wheel scrolling
2900
2901 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
2902
2903         * ps/Makefile.am:
2904         * ps/gstypes.h:
2905         * ps/gtkgs.c:
2906         * ps/gtkgs.h:
2907         * ps/ps-document.c: (catchPipe), (ps_document_init),
2908         (ps_document_class_init), (ps_document_cleanup),
2909         (ps_document_finalize), (send_ps), (ps_document_get_orientation),
2910         (set_up_page), (close_pipe), (is_interpreter_ready),
2911         (interpreter_failed), (output), (input), (start_interpreter),
2912         (stop_interpreter), (file_length), (file_readable),
2913         (check_filecompressed), (check_pdf), (compute_xdpi),
2914         (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
2915         (ps_document_get_type), (ps_document_emit_error_msg),
2916         (document_load), (ps_document_next_page),
2917         (ps_document_get_current_page), (ps_document_get_page_count),
2918         (ps_document_goto_page), (ps_document_set_page_size),
2919         (ps_document_zoom_to_fit), (ps_document_set_zoom),
2920         (ps_document_load), (ps_document_get_n_pages),
2921         (ps_document_set_page), (ps_document_get_page),
2922         (ps_document_widget_event), (ps_document_set_target),
2923         (ps_document_set_scale), (ps_document_set_page_offset),
2924         (ps_document_get_page_size), (ps_document_render),
2925         (ps_document_document_iface_init):
2926         * ps/ps-document.h:
2927         * ps/ps.c:
2928         * shell/ev-window.c: (ev_window_open):
2929
2930         Rename GtkGS to PSDocument
2931
2932 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
2933
2934         * ps/gtkgs.c: (gtk_gs_class_init):
2935         * ps/gtkgs.h:
2936
2937         Some more leftover...
2938
2939 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
2940
2941         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
2942         (output), (stop_interpreter), (gtk_gs_emit_error_msg),
2943         (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
2944         * ps/gtkgs.h:
2945
2946         Remove unused code and make a lot of stuff private
2947
2948 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
2949
2950         * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
2951         (gtk_gs_defaults_changed):
2952         * ps/gsdefaults.h:
2953         * ps/gtkgs.c:
2954         * ps/gtkgs.h:
2955         * ps/ps.h:
2956
2957         Cleanup headers dependencies
2958
2959 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
2960
2961         * ps/Makefile.am:
2962         * ps/ggvutils.c:
2963         * ps/ggvutils.h:
2964         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
2965         * ps/gsdefaults.h:
2966         * ps/gtkgs.c: (file_length), (file_readable),
2967         (check_filecompressed), (check_pdf), (gtk_gs_load),
2968         (gtk_gs_get_postscript):
2969
2970         Get rid of ggvutils
2971
2972 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
2973
2974         * ps/ggvutils.c:
2975         * ps/ggvutils.h:
2976         * ps/gsio.h:
2977         * ps/gtkgs.c: (gtk_gs_set_zoom):
2978
2979         Cleanups
2980
2981 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
2982
2983         * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
2984
2985         Ensure the page is rerendered when changing zoom
2986
2987 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
2988
2989         * backend/ev-document.c: (ev_document_base_init),
2990         (ev_document_changed):
2991         * backend/ev-document.h:
2992
2993         Add a changed event that is emitted when the page content
2994         changes. This is necessary to deal with the fact that
2995         in ps backend rendering happen asycrounously.
2996         This makes the ps backend mostly work.
2997
2998         * pdf/xpdf/pdf-document.cc:
2999
3000         Emit changed event
3001
3002         * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
3003         (ps_document_set_target):
3004
3005         Emit changed event
3006
3007         * shell/ev-view.c: (document_changed_callback),
3008         (ev_view_set_document), (ev_view_set_page):
3009
3010         Redraw on the changed signal
3011
3012 2004-12-25  Raphael Higino  <raphaelh@cvs.gnome.org>
3013
3014         * configure.ac: Added pt_BR to ALL_LINGUAS.
3015
3016 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
3017
3018         * backend/ev-document-bookmarks.c:
3019         (ev_document_bookmarks_get_child): *
3020         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
3021         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
3022         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
3023         (ev_sidebar_bookmarks_destroy),
3024         (ev_sidebar_bookmarks_class_init),
3025         (ev_sidebar_bookmarks_construct), (stack_data_free),
3026         (do_one_iteration), (populate_bookmarks_idle),
3027         (ev_sidebar_bookmarks_clear_document),
3028         (ev_sidebar_bookmarks_set_document): *
3029         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
3030         (ev_sidebar_add_page),
3031         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
3032         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
3033         it displays both the topics and the page numbers.
3034
3035 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
3036
3037         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
3038         toggle.
3039         * shell/ev-window.c (toggle_entries): Set sidebar default value to
3040         visible.
3041
3042 2004-12-23  Adam Weinberger  <adamw@gnome.org>
3043
3044         * configure.ac: Added en_CA to ALL_LINGUAS.
3045
3046 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
3047
3048         * ChangeLog: replace bottom of this ChangeLog (merged history of
3049         ggv and gpdf; where all paths were wrong and most of the files are
3050         not even in this tree) with ChangeLog (from arch) of the shell
3051         code.
3052
3053 2004-12-23  Havoc Pennington  <hp@redhat.com>
3054
3055         * shell/ev-window.c: hook up potentially-questionable "find
3056         results status text" feature - something involving the sidebar or
3057         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
3058         might be better in the end.
3059
3060         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
3061         with corresponding signal when it should be updated
3062
3063         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
3064
3065 2004-12-22  Havoc Pennington  <hp@redhat.com>
3066
3067         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
3068         find stuff on other pages, sort of (only returns one result on
3069         invisible pages, to show they have results; updates full results
3070         for a page when you view it). Currently repaints the current page
3071         every time a new result is found on any page, which isn't so nice.
3072
3073 2004-12-22  Havoc Pennington  <hp@redhat.com>
3074
3075         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
3076         the document doesn't support find (better ideas?)
3077         (find_bar_search_changed_cb): handle missing document or document
3078         that doesn't support find
3079
3080         * pdf/xpdf/pdf-document.cc: port to implement the new
3081         EvDocumentFindIface
3082
3083         * backend/ev-document-find.c: create a new interface for searching
3084
3085         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
3086
3087 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
3088
3089         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
3090         libevbackend.la.
3091
3092         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
3093         EvPrintJob constructor arguments.
3094
3095         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
3096         for documents that can export PostScript (page by page).
3097
3098         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
3099         
3100         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
3101         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
3102         (pdf_document_ps_exporter_iface_init:
3103         Implement EvPSExporter.
3104
3105         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
3106
3107 2004-12-22  Anders Carlsson  <andersca@gnome.org>
3108
3109         * backend/Makefile.am:
3110         * backend/ev-document-thumbnails.c:
3111         (ev_document_thumbnails_get_type),
3112         (ev_document_thumbnails_get_thumbnail):
3113         * backend/ev-document-thumbnails.h:
3114         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
3115         (pixbuf_document_thumbnails_get_thumbnail),
3116         (pixbuf_document_document_thumbnails_iface_init):
3117         * shell/Makefile.am:
3118         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
3119         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
3120         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
3121         * shell/ev-sidebar-thumbnails.h:
3122         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3123         (ev_sidebar_set_document):
3124         * shell/ev-utils.c: (gaussian), (create_blur_filter),
3125         (create_shadow), (ev_pixbuf_add_shadow):
3126         * shell/ev-utils.h:
3127         Add thumbnail support.
3128         
3129 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
3130
3131         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
3132         (using_postscript_printer): Set up a print dialog for "PostScript
3133         injection" method.
3134
3135         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
3136         EvPrintJob.
3137
3138         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
3139
3140 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
3141
3142         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
3143         (ps_document_set_target), (ps_document_get_page_size),
3144         (ps_document_render):
3145         * ps/gtkgs.h:
3146
3147         Fix a few bugs
3148
3149 2004-12-22  Christian Rose  <menthos@menthos.com>
3150
3151         * configure.ac: Added "sv" to ALL_LINGUAS.
3152
3153 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
3154
3155         * backend/ev-document-bookmarks.[ch]: new interface to indicate
3156         document supports bookmarks.
3157
3158 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
3159
3160         * ps/ggvutils.c: (ggv_file_readable):
3161         * ps/ggvutils.h:
3162         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
3163         (gtk_gs_get_postscript):
3164
3165         Remove unused utils
3166
3167 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
3168
3169         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
3170         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
3171         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
3172         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
3173         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
3174         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
3175         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
3176         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
3177         (gtk_gs_set_antialiasing), (ps_document_load),
3178         (ps_document_render):
3179         * ps/gtkgs.h:
3180
3181         Another check point for the ps backend. Now I can get it to show
3182         pages!
3183
3184 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
3185
3186         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
3187         document setting code.
3188
3189 2004-12-22  Anders Carlsson  <andersca@gnome.org>
3190
3191         * shell/eggfindbar.c: (entry_activate_callback):
3192         Animate the next button when activate is pressed.
3193         
3194 2004-12-22  Anders Carlsson  <andersca@gnome.org>
3195
3196         * shell/ev-window.c: (ev_window_cmd_edit_find),
3197         (update_fullscreen_popup), (ev_window_fullscreen),
3198         (ev_window_unfullscreen), (ev_window_state_event_cb),
3199         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
3200         Fix bugs in fullscreen code.
3201         
3202 2004-12-22  Anders Carlsson  <andersca@gnome.org>
3203
3204         * Makefile.am:
3205         * configure.ac:
3206         * pixbuf/Makefile.am:
3207         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
3208         (pixbuf_document_load), (pixbuf_document_get_n_pages),
3209         (pixbuf_document_set_page), (pixbuf_document_get_page),
3210         (pixbuf_document_set_target), (pixbuf_document_set_scale),
3211         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
3212         (pixbuf_document_render), (pixbuf_document_begin_find),
3213         (pixbuf_document_end_find), (pixbuf_document_finalize),
3214         (pixbuf_document_class_init),
3215         (pixbuf_document_document_iface_init), (pixbuf_document_init):
3216         * pixbuf/pixbuf-document.h:
3217         * shell/Makefile.am:
3218         * shell/ev-application.c: (ev_application_open):
3219         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
3220         (ev_window_open):
3221         Add pixbuf backend.
3222         
3223 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
3224
3225         * Makefile.am: 
3226         * dvi/dvilib/Makefile.am:
3227         * dvi/Makefile.am:
3228         * configure.ac: Auto*ify dvi and dvi/dvilib
3229
3230         * dvi/Makefile: Remove from CVS
3231         
3232         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
3233         confusion.
3234
3235         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
3236         
3237         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
3238         
3239 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
3240
3241         * ps/Makefile.am:
3242         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
3243         (gtk_gs_value_adjustment_changed), (compute_size),
3244         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
3245         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
3246         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
3247         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
3248         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
3249         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
3250         (ps_document_load), (ps_document_get_n_pages),
3251         (ps_document_set_page), (ps_document_get_page),
3252         (ps_document_set_target), (ps_document_set_scale),
3253         (ps_document_set_page_offset), (ps_document_get_page_size),
3254         (ps_document_render), (ps_document_begin_find),
3255         (ps_document_end_find), (ps_document_document_iface_init):
3256         * ps/gtkgs.h:
3257         * shell/Makefile.am:
3258         * shell/ev-window.c: (ev_window_open):
3259
3260         Some work to integrate gtkgs with EvDocument
3261
3262 2004-12-22  Anders Carlsson  <andersca@gnome.org>
3263
3264         * shell/ev-window.c: (update_fullscreen_popup),
3265         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
3266         (exit_fullscreen_button_clicked_cb),
3267         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
3268         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
3269         (ev_window_state_event_cb), (ev_window_init):
3270         Add fullscreen support from Epiphany.
3271         
3272 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
3273
3274         * data/ev-stock-zoom-fit-width.png: fit-width
3275         stock icon from gpdf.
3276         
3277         * shell/ev-stock-icons.[ch]: copied from gpdf.
3278         
3279         * shell/main.c: (main): init stock icons.
3280         
3281         * shell/ev-window.c: use the fit-width icon.
3282         
3283         * data/evince-ui.xml: add zooming toolbar items.
3284
3285 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
3286
3287         * shell/ev-view.c: 
3288         (ev_view_best_fit), (ev_view_fit_width): because
3289         get_page_size() returns the scaled page size, we
3290         need to calculate the scale factor relative to
3291         the previous scale factor. Should really just
3292         add get_real_page_size().
3293
3294 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
3295
3296         * shell/ev-view.[ch]:
3297         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
3298         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
3299         add zooming.
3300         
3301         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
3302         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
3303         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
3304         hook it up.
3305         
3306         * pdf/xpdf/pdf-document.cc:
3307         (pdf_document_begin_find),
3308         (pdf_document_end_find): make static.
3309
3310 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
3311
3312         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
3313
3314         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
3315         names to fontconfig patterns.
3316         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
3317
3318         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
3319         setupBaseFontsFc.
3320
3321 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
3322
3323         * Makefile.am:
3324         * configure.ac:
3325         * ps/Makefile.am:
3326         * ps/ggvutils.c:
3327         * ps/ggvutils.h:
3328         * ps/gsdefaults.c:
3329         * ps/gsdefaults.h:
3330         * ps/gsio.c:
3331         * ps/gsio.h:
3332         * ps/gtkgs.c:
3333         * ps/gtkgs.h:
3334         * ps/ps.c:
3335         * ps/ps.h:
3336
3337         Import ggv backend. Not hooked up yet.
3338
3339 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
3340
3341         * shell/main.c: (load_files), (main): load files
3342         from the command line.
3343
3344 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
3345
3346         * configure.ac: don't require bonobo.
3347         
3348         * cut-n-paste/recent-files/*: kill bonobo recent
3349         view.
3350
3351         * shell/ev-window.c:
3352         (ev_window_is_empty): upd.
3353         (unable_to_load), (ev_window_open): load backend
3354         based on the mime type.
3355
3356 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
3357
3358         * backend/.cvsignore: ignore generated marshalers source.
3359
3360         * shell/main.c (main): this is not epiphany.
3361
3362 2004-12-22  Havoc Pennington  <hp@redhat.com>
3363
3364         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
3365         (expose_bin_window): draw find highlights
3366
3367         * shell/ev-window.c (find_bar_search_changed_cb): implement 
3368         
3369         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
3370         (pdf_document_end_find): implement this interface
3371
3372         * backend/ev-document.c (ev_document_found): add this to emit
3373         signal
3374
3375 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
3376
3377         * data/evince-ui.xml: Add a few more toolbar items.
3378
3379         * shell/ev-window.c: Hook up page navigation toolbar 
3380         items.
3381
3382         * shell/ev-view.[ch]: add ev_view_set/get_page and 
3383         a page-changed signal.
3384
3385         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
3386         Add ev_document_get_page().
3387
3388         * shell/ev-window.c: Sensitize/desensitize navigation
3389         actions.
3390
3391 2004-12-21  Havoc Pennington  <hp@redhat.com>
3392
3393         * backend/ev-backend-marshal.c,
3394         backend/ev-backend-marshalers.list, backend/Makefile.am: add
3395         marshaler-generator thingy. I'm sure there's a better way to do
3396         this in the modern world.
3397
3398         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
3399         end_find methods and "found" signal.
3400
3401         * configure.ac: find glib-genmarshal
3402
3403 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
3404
3405         * shell/ev-sidebar.c: Construct an actual sidebar.
3406         * shell/ev-sidebar-bookmarks.[ch]:
3407         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
3408
3409 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
3410
3411         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
3412         Redo size handling.
3413         
3414         * shell/ev-view.c: Track the size from the document.
3415
3416 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
3417
3418         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
3419         constructor assumes ownership of the string passed in.
3420         
3421         * shell/ev-window.c (ev_window_open): Destroy the error
3422         dialog once we've displayed it.
3423
3424 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
3425
3426         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
3427         a bit, it works! (sort of)
3428
3429         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
3430         Move to .cc since we need to use C++ in the implementation.
3431
3432         * shell/dummy.cc: Add a CC file to force evince
3433         to be linked as a C++ program.
3434
3435 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
3436
3437         * shell/ev-view.[ch]: Start of content-area widget.
3438
3439         * shell/ev-window.c: Create a EvView, update it
3440         as we change documents.
3441
3442         * shell/Makefile.am shell/ev-marshal.list: Add
3443         generated marshalers.
3444
3445 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
3446
3447         * Makefile.am (SUBDIRS): move shell.
3448
3449 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
3450
3451         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
3452         .a to libtool convenience libraries.
3453
3454         * shell/ev-window.c (ev_window_open): Hard code loading
3455         a PDF document.
3456         
3457         * backend/ev-document.h: Add a boolean return to load(),
3458         fix GError * to GError **.
3459
3460         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
3461         object for a PDF backend EvDocument.
3462
3463 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
3464
3465         * dvi/*: New directory with the beginning of a .dvi backend.
3466
3467 2004-12-21  Havoc Pennington  <hp@redhat.com>
3468
3469         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
3470         previous/next instead of back/forward
3471
3472 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
3473
3474         * backend/ev-document.[ch]: Fix a couple of problems so
3475         it compile.
3476
3477 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
3478
3479         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
3480         to backend/ directory, rename EvViewer to EvDocument.
3481
3482 2004-12-21  Havoc Pennington  <hp@redhat.com>
3483
3484         * shell/ev-window.c: hook up the find bar widget; now we just need
3485         a document to find things in
3486
3487         * shell/eggfindbar.c: a find bar widget
3488
3489 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
3490
3491         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
3492
3493 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
3494
3495         * pdf/**: Import of xpdf code from gpdf. 
3496
3497         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
3498
3499         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
3500         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
3501         Fix FreeType includes.
3502
3503         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
3504         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
3505         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
3506         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
3507         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
3508         Include xpdfconfig.h
3509         
3510 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
3511
3512         * shell/ev-window.c (ev_window_dispose): dispose can be called
3513         multiple times.
3514
3515 2004-12-21  Havoc Pennington  <hp@redhat.com>
3516
3517         * shell/ev-window.c (ev_window_init): set title to Document Viewer
3518         rather than Evince
3519
3520         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
3521         items; really they should be synced with the strings, etc. from
3522         current gpdf, but just getting the boring typing out of the way 
3523
3524 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
3525
3526         * po/POTFILES.in:
3527         * shell/ev-application.c: (window_destroy_cb):
3528         * shell/ev-window.c:
3529         * shell/main.c: (main):
3530
3531         Actually show the window...
3532
3533 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
3534
3535         * Makefile.am:
3536         * shell/Makefile.am:
3537         * shell/ev-application.c: (ev_application_class_init):
3538         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
3539
3540         Make it build again
3541
3542 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
3543
3544         Import to gnome cvs.
3545         
3546         * Remove copies of gpdf and ggv trees.
3547         * Rip out all the recursive configure code.
3548         * Remove bonobo machinery.
3549         * viewer/*: GInterfaces that backends should/can implement.
3550
3551 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3552
3553         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
3554         typo
3555
3556 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3557
3558         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
3559         (ev_application_finalize, ev_application_class_init)
3560         (ev_application_init): use GType instance private data for priv.
3561     
3562         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
3563         (ev_window_finalize, ev_window_class_init)
3564         (ev_window_init): ditto.
3565
3566 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3567
3568         * shell/ev-application.c (ev_application_new_window): make public
3569         (ev_application_show_initial_window): kill.
3570     
3571         * shell/ev-application.h: update prototypes.
3572     
3573         * shell/main.cc (main): inline ev_application_show_initial_window.
3574
3575 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3576
3577         * shell/ev-application.c (ev_application_new_window): impl.
3578         (ev_application_show_initial_window): use it.
3579         (is_window_empty, ev_application_get_empty_window): returns an
3580         existing empty window or a new one.
3581         (ev_application_open): from ev_window_cmd_file_open.
3582     
3583         * shell/ev-application.h: update prototypes
3584     
3585         * shell/ev-window.c (ev_window_is_empty): impl.
3586         (ev_window_open): make public.
3587         (ev_window_cmd_file_open): use ev_application_open
3588     
3589         * shell/ev-window.h: update prototypes, remove unused.
3590
3591 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3592
3593         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
3594         move destroy handler out of here...
3595     
3596         * shell/ev-application.c, shell/ev-application.h: ...into this new
3597         class. Also handles initial window creation.
3598     
3599         * shell/main.cc (main): use EvApplication to create initial
3600         window.
3601
3602 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3603
3604         * Makefile.am (SUBDIRS): add cut-n-paste
3605     
3606         * cut-n-paste/Makefile.am: add
3607     
3608         * configure.ac: generate Makefiles in cut-n-paste
3609
3610 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3611
3612         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
3613         (ev_window_class_init): install ev_window_dispose.
3614
3615 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3616
3617         * shell/ev-window.h, shell/ev-window.c: replace gchar with
3618         char (gchar looks stupid).
3619
3620 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3621
3622         * po/de.po: updated German translation.
3623
3624 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3625
3626         * configure.ac: add more pkg-config library checks for gnome-vfs,
3627         bonobo etc.
3628     
3629         * gpdf/configure.in: temporarily disable libpaper
3630         checks. Otherwise I'd have to add the checks for the shell, too.
3631
3632 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3633
3634         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
3635         and * file filters to the file choose.
3636
3637 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3638
3639         * po/de.po: Updated German translation.
3640
3641 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3642
3643         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
3644
3645 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3646
3647         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
3648     
3649         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
3650         (ev_window_init): implement those menuitems.
3651
3652 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3653
3654         * data/evince-ui.xml: add a toolbar (with FileOpen action)
3655     
3656         * shell/ev-window.c (ev_window_init): use the toolbar.
3657
3658 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3659
3660         * shell/ev-window.c (ev_window_init): use menu translations
3661
3662 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3663
3664         * configure.ac: add "de" to ALL_LINGUAS.
3665     
3666         * po/de.po: add German translation.
3667
3668 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3669
3670         * Makefile.am (SUBDIRS): add po
3671     
3672         * configure.ac: check intltool, glib-gettext etc, generate
3673         po/Makefile.in
3674     
3675         * po, po/POTFILES.in, po/POTFILES.skip: new.
3676
3677 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3678
3679         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
3680         already use (#ifdef ENABLE_NLS)
3681     
3682         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
3683         pointer indirection thinko.
3684     
3685         * shell/main.c: include gi18n.h for bindtextdomain etc.
3686
3687 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3688
3689         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
3690         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
3691         tooltips for menu items in the statusbar.
3692
3693 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3694
3695         * configure.ac, data/Makefile.am, shell/Makefile.am: use
3696         pkgdatadir drop UIDIR
3697
3698 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3699
3700         * data/evince-ui.xml: Add File->Open menu item
3701     
3702         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
3703         chooser), hook it up in the ui manager.
3704
3705 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3706
3707         * shell/ev-window.c: fix Help->About tooltip.
3708
3709 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
3710
3711         * configure.ac: set CFLAGS for libevprivate.
3712     
3713         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
3714         definitions, factory etc.
3715     
3716         * lib/Makefile.am: build libevprivate.a (only stock icon code).
3717     
3718         * shell/Makefile.am: link against libevprivate.a.
3719     
3720         * shell/ev-window.c (entries): add stock icon to Help->About.
3721     
3722         * shell/main.c (main): init stock icon code.
3723
3724 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3725
3726         * lib/recent-files: egg recent files code
3727     
3728         * lib/Makefile.am: add.
3729     
3730         * Makefile.am: add lib subdir.
3731     
3732         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
3733         set CFLAGS for recent-files.
3734
3735 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3736
3737         * configure.ac: disable -ansi and -pedantic gcc flags. They
3738         disable POSIX stuff in stdio.h, but egg-recent uses them.
3739
3740 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
3741
3742         * configure.ac: add --disable-deprecated flag (defaults to on in
3743         "cvs" builds).
3744     
3745         * shell/Makefile.am (INCLUDES): use it.
3746
3747 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3748
3749         * shell/main.c: add missing #include.
3750     
3751         * shell/ev-window.c: fix for pedantic gcc.
3752         (ev_window_cmd_help_about): split license into paragraphs for
3753         translators and pedantic compilers.
3754
3755 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3756
3757         * configure.ac: add more warning flags if compiling with gcc from
3758         cvs (or explicitly requested with --enable-more-warnings).
3759
3760 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3761
3762         * data/evince-ui.xml: add File and File->Close menu.
3763     
3764         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
3765         (ev_window_destroy): quit after destroy.
3766         (ev_window_class_init): override GtkObject::destroy.
3767         (entries): install close_window callback.
3768
3769 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3770
3771         * Makefile.am (SUBDIRS): add data subdir.
3772     
3773         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
3774         gtk+ 2.5.0 for GtkAboutDialog.
3775     
3776         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
3777         main window.
3778     
3779         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
3780     
3781         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
3782         manager.
3783         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
3784
3785 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3786
3787         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
3788
3789 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3790
3791         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
3792
3793 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3794
3795         * shell/*: Added shell directory boilerplate, build it.
3796
3797 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3798
3799         * configure.ac, Makefile.am: Added top-level configure.ac and
3800         Makefile.am