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