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