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