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