]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
Handle n_pages == 0, fixes #310306.
[evince.git] / ChangeLog
1 2005-07-29  set REAL_NAME environment variable  <set EMAIL_ADDRESS environment variable>
2
3         reviewed by: <delete if not using a buddy>
4
5         * shell/ev-page-cache.c: (ev_page_cache_new):
6         * shell/ev-window.c: (update_action_sensitivity):
7
8 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
9
10         * shell/ev-view.c: (doc_rect_to_view_rect), (ev_view_rotate_right),
11         (ev_view_rotate_left):
12
13         Account rotation in doc_rect_to_view_rect.
14         Ensure rotation doesnt go out of bounds.
15
16 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
17
18         * shell/ev-page-cache.c: (ev_page_cache_get_size):
19
20         Correct and cleanup w/h swapping
21
22 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
23
24         * backend/ev-document-thumbnails.c:
25         (ev_document_thumbnails_get_thumbnail):
26         * backend/ev-document-thumbnails.h:
27         * backend/ev-document.c:
28         * backend/ev-document.h:
29         * backend/ev-render-context.c: (ev_render_context_new),
30         (ev_render_context_set_rotation):
31         * backend/ev-render-context.h:
32         * pdf/ev-poppler.cc:
33         * ps/ps-document.c: (ps_document_document_iface_init):
34         * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
35         * shell/ev-jobs.h:
36         * shell/ev-page-cache.c: (build_height_to_page),
37         (ev_page_cache_new), (ev_page_cache_get_size),
38         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
39         (ev_page_cache_get_height_to_page):
40         * shell/ev-page-cache.h:
41         * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
42         (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
43         (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed),
44         (ev_pixbuf_cache_get_selection_pixbuf):
45         * shell/ev-pixbuf-cache.h:
46         * shell/ev-print-job.c: (idle_print_handler):
47         * shell/ev-sidebar-thumbnails.c: (add_range):
48         * shell/ev-view.c: (view_update_range_and_current_page),
49         (get_page_y_offset), (get_page_extents),
50         (ev_view_size_request_continuous_dual_page),
51         (ev_view_size_request_continuous),
52         (ev_view_size_request_dual_page),
53         (ev_view_size_request_single_page), (draw_one_page),
54         (ev_view_set_rotation), (ev_view_rotate_right),
55         (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
56         (ev_view_zoom_for_size_continuous_and_dual_page),
57         (ev_view_zoom_for_size_continuous),
58         (ev_view_zoom_for_size_dual_page),
59         (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
60         (ev_view_select_all):
61         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
62         * tiff/tiff-document.c: (tiff_document_render_pixbuf),
63         (tiff_document_document_iface_init),
64         (tiff_document_thumbnails_get_thumbnail):
65
66         Use rotation rather than orientation. It's easier and enough
67         for our needs.
68
69 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
70
71         * shell/ev-page-cache.c: (build_height_to_page),
72         (ev_page_cache_new), (ev_page_cache_get_size),
73         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
74         (ev_page_cache_get_height_to_page):
75         * shell/ev-page-cache.h:
76         * shell/ev-view.c: (get_page_y_offset), (get_page_extents),
77         (ev_view_size_request_continuous_dual_page),
78         (ev_view_size_request_continuous),
79         (ev_view_zoom_for_size_continuous_and_dual_page),
80         (ev_view_zoom_for_size_continuous):
81
82         Make the page cache aware of page orientation.
83
84 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
85
86         * backend/ev-document-thumbnails.c:
87         (ev_document_thumbnails_get_thumbnail):
88         * backend/ev-document-thumbnails.h:
89         * backend/ev-document.c:
90         * backend/ev-document.h:
91         * backend/ev-ps-exporter.c: (ev_ps_exporter_do_page):
92         * backend/ev-ps-exporter.h:
93         * pdf/ev-poppler.cc:
94         * ps/ps-document.c: (ps_document_document_iface_init),
95         (ps_document_ps_export_do_page):
96         * shell/ev-jobs.c: (ev_job_thumbnail_new), (ev_job_thumbnail_run):
97         * shell/ev-jobs.h:
98         * shell/ev-page-cache.c: (ev_page_cache_get_size),
99         (ev_page_cache_get):
100         * shell/ev-page-cache.h:
101         * shell/ev-pixbuf-cache.c: (check_job_size_and_unref),
102         (add_job_if_needed), (ev_pixbuf_cache_add_jobs_if_needed),
103         (ev_pixbuf_cache_set_page_range), (new_selection_pixbuf_needed):
104         * shell/ev-pixbuf-cache.h:
105         * shell/ev-print-job.c: (idle_print_handler):
106         * shell/ev-sidebar-thumbnails.c: (add_range):
107         * shell/ev-view.c: (view_update_range_and_current_page),
108         (get_page_extents), (ev_view_size_request_dual_page),
109         (ev_view_size_request_single_page), (draw_one_page),
110         (clear_caches), (ev_view_set_orientation), (ev_view_rotate_right),
111         (ev_view_rotate_left), (ev_view_zoom_for_size_presentation),
112         (ev_view_zoom_for_size_dual_page),
113         (ev_view_zoom_for_size_single_page), (compute_new_selection_text),
114         (ev_view_select_all):
115         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
116         * tiff/tiff-document.c: (tiff_document_get_page_size),
117         (tiff_document_get_orientation), (rotate_pixbuf),
118         (tiff_document_render_pixbuf), (tiff_document_document_iface_init),
119         (tiff_document_thumbnails_get_thumbnail),
120         (tiff_document_ps_export_do_page), (tiff_document_init):
121
122         Really make use of the orientation bit of the render context.
123         Use the render context in a few more places in the backend API.
124         This regress orientation, but now it's done right. Will try to
125         fix it up asap...
126
127 2005-07-29  Marco Pesenti Gritti  <mpg@redhat.com>
128
129         * shell/ev-view.c: (ensure_rectangle_is_visible):
130
131         Patch by Nickolay V. Shmyrev to fix find flickering
132
133 2005-07-27  Martin Kretzschmar  <martink@gnome.org>
134
135         * backend/ev-ps-exporter.h: add paper_width, paper_height, and
136         duplex parameters to ::begin.
137
138         * tiff/tiff-document.c (tiff_document_ps_export_begin): 
139         * shell/ev-print-job.c (idle_print_handler): 
140         * ps/ps-document.c (ps_document_ps_export_begin): 
141         * pdf/ev-poppler.cc (pdf_document_ps_exporter_begin): 
142         * backend/ev-ps-exporter.c (ev_ps_exporter_begin): update
143         implementations. Poppler backend needs poppler cvs. Rest has
144         unchanged behavior.
145
146 2005-07-25  Martin Kretzschmar  <martink@gnome.org>
147
148         * shell/ev-window.c (using_pdf_printer): new function.
149         (ev_window_print_range): print a less techy message if someone
150         tries to print to PDF.
151
152 2005-07-25  Martin Kretzschmar  <martink@gnome.org>
153
154         * pdf/ev-poppler.cc (font_type_to_string): Remove trailing space
155         from "unknown font" string. Bug #311431
156
157 2005-07-24  Martin Kretzschmar  <martink@gnome.org>
158
159         * help/es/.cvsignore, help/sr/.cvsignore: ignore xmlpo output.
160
161 2005-07-24  Martin Kretzschmar  <martink@gnome.org>
162
163         Bug #311280
164         
165         * pdf/ev-poppler.cc (font_type_to_string): new, returns user readable
166         name for PopplerFontTypes
167         (pdf_document_fonts_fill_model): add font type to the detail column
168
169         * backend/ev-document-fonts.h: added
170         EV_DOCUMENT_FONTS_COLUMN_DETAILS.
171
172         * shell/ev-properties-fonts.c (font_cell_data_func): glue together
173         font name and font details, add a little markup.
174         (ev_properties_fonts_init): use the new cell data func, specify ypad
175         property for the cell renderer.
176         (ev_properties_fonts_set_document): add the details column.
177
178 2005-07-24  Artur Flinta  <aflinta@cvs.gnome.org>
179
180         * configure.ac: Added "pl" to ALL_LINGUAS.
181
182 2005-07-24  Danilo Ĺ egan  <danilo@gnome.org>
183
184         * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
185
186 2005-07-23  Tommi Vainikainen  <thv@iki.fi>
187
188         * help/ChangeLog: Started this for translations of manual.
189         * configure.ac, autogen.sh, .cvsignore: Migrated to
190         gnome-doc-utils. Patch in bug #311222.
191
192 2005-07-22  Martin Kretzschmar  <martink@gnome.org>
193
194         * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf): 
195         #ifdef this away to fix an unused-function warning.
196
197 2005-07-22  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>
198
199         * configure.ac: Added 'gl' to ALL_LINGUAS.
200
201 2005-07-22  Pawan Chitrakar  <pawan@nplinux.org>
202
203         * configure.ac: Added ne in ALL_LINGUAS
204         
205 2005-07-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
206
207         * shell/ev-view.c: (ev_view_leave_notify_event):
208         
209         Clear status message when pointer leaves view. Fix for bug
210         #310818 
211
212 2005-07-20 Ankit Patel <ankit644@yahoo.com>
213
214         * configure.ac: Gujarati (gu) added to ALL_LINGUAS
215
216 2005-07-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
217
218         * shell/ev-view.c: (ev_view_leave_notify_event),
219         (ev_view_class_init):
220         
221         Set cursor to normal then leaving view.
222
223 2005-07-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
224
225         * configure.ac:
226         
227         Fix required djvulibre version.
228
229 2005-07-15  Rajesh Ranjan <rajeshkajha@yahoo.com>
230
231         *configure.ac: Hindi (hi) language added
232
233 2005-07-15  Amanpreet Singh Brar <amanpreetalam@yahoo.com>
234
235         *configure.ac: Punjabi (pa) Language added
236
237 2005-07-12  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
238
239         * data/evince-ui.xml, shell/ev-window.c:
240         
241         Add keypad accelerators for zooming. Fix for bug 308128.
242
243 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
244
245         * Makefile.am:
246         * backend/Makefile.am:
247         * backend/ev-document-factory.c: (ev_document_type_get_from_mime):
248         * configure.ac:
249         * shell/ev-document-types.c: (ev_document_types_add_filters):
250
251         Allow to enable/disable the pixbuf backend.
252         Default to off for now. If we want it enabled we should
253         really put mime types in the desktop, implement properties etc.
254
255         * properties/evince-properties.c:
256
257         Initialize error to NULL.
258         Check error is not NULL before freeing.
259
260 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
261
262         * shell/ev-window.c:
263
264         Use F5 as presentation accell
265
266 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
267
268         * shell/ev-window.c: (update_chrome_visibility),
269         (ev_window_create_fullscreen_popup), (ev_window_init):
270
271         Do not leak the fullscreen toolbar
272
273 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
274
275         * shell/ev-window.c: (view_actions_focus_in_cb),
276         (view_actions_focus_out_cb):
277
278         These has a return value! Fix totally random focus
279         issues we was seeing.
280
281 2005-07-11  Carlos Garcia Campos  <carlosgc@gnome.org>
282
283         * shell/main.c: (load_files_remote):
284
285         Allow open more than one file
286
287 2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
288
289         * shell/main.c: (load_files_remote):
290
291         Fix for dbus 0.33. bug #309975
292
293 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
294
295         * properties/ev-properties-main.c: (ev_properties_get_pages):
296
297         Actually return NULL for types we dont support
298
299 2005-07-08  Christian Persch  <chpe@cvs.gnome.org>
300
301         * po/POTFILES.in:
302
303         Remove empty lines.
304
305 2005-07-08  Marco Pesenti Gritti  <marco@gnome.org>
306
307         * backend/ev-document-factory.c:
308         (ev_document_factory_get_document):
309
310         Do not try to create the object if type
311         is invalid.
312
313 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
314
315         * ps/ps-document.c: (ps_document_dispose),
316         (ps_async_renderer_render_pixbuf):
317         * ps/ps-document.h:
318
319         Do not leak the target window
320
321 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
322
323         * shell/ev-application.c: (ev_application_init):
324
325         Let tbe check file existence for us.
326         Add a comment about eggrecent mime filter.
327
328 2005-07-08  Marco Pesenti Gritti  <mpg@redhat.com>
329
330         * data/evince-ui.xml:
331         * shell/ev-application.c: (ev_application_shutdown),
332         (ev_application_init), (ev_application_get_toolbars_model),
333         (ev_application_get_recent_model),
334         (ev_application_save_toolbars_model):
335         * shell/ev-application.h:
336         * shell/ev-window.c: (ev_window_add_recent),
337         (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb),
338         (ev_window_cmd_edit_toolbar), (ev_window_dispose),
339         (ev_window_init):
340
341         Use common toolbar and recent models for all windows.
342         Patch by Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
343
344 Thu Jul  7 23:10:01 2005  Jonathan Blandford  <jrb@redhat.com>
345
346         * configure.ac: add FRONTEND_CORE_LIBS to evince_save_LIBS so we
347         successfully check for gtk_icon_view_get_visible_range.
348
349 2005-07-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
350
351         * djvu/Makefile.am:
352         * dvi/Makefile.am:
353         
354         Fix djvu and dvi backend build.
355
356 2005-07-07  Christian Persch  <chpe@cvs.gnome.org>
357
358         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (new_pixbuf_from_widget),
359         (new_separator_pixbuf):
360
361         Don't leak windows.
362
363 2005-07-07  Christian Persch  <chpe@cvs.gnome.org>
364
365         * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
366
367         HIGification of toolbar editor dialogue.
368
369 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
370
371         * configure.ac:
372         * shell/Makefile.am:
373
374         Ever build metadata manager since it's just
375         disabled at runtime now.
376
377 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
378
379         * shell/ev-metadata-manager.c: (ev_metadata_manager_init),
380         (ev_metadata_manager_get), (ev_metadata_manager_set):
381         * shell/ev-metadata-manager.h:
382
383         Add an _init functions that enabled metadata management
384         at runtime.
385
386         * shell/ev-window.c: (page_changed_cb),
387         (setup_document_from_metadata), (ev_window_setup_document),
388         (setup_view_from_metadata), (ev_window_open_uri),
389         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
390         (ev_window_run_presentation), (ev_window_stop_presentation),
391         (save_sizing_mode), (ev_window_zoom_changed_cb),
392         (ev_window_continuous_changed_cb),
393         (ev_window_dual_mode_changed_cb), (window_state_event_cb),
394         (window_configure_event_cb):
395
396         Remove all ugly metadata define since we deal with it
397         at runtime now.
398
399         * shell/main.c: (load_files_remote), (main):
400
401         Add support for dbus cvs head. Hopefully didnt break one
402         of the other versions now!
403
404         If we dont get a response from the dbus server just
405         give up with it and not enable metadata.
406
407 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
408
409         * Makefile.am:
410         * backend/Makefile.am:
411         * configure.ac:
412         * cut-n-paste/recent-files/Makefile.am:
413         * cut-n-paste/toolbar-editor/Makefile.am:
414         * cut-n-paste/zoom-control/Makefile.am:
415         * lib/Makefile.am:
416         * pdf/Makefile.am:
417         * pixbuf/Makefile.am:
418         * properties/Makefile.am:
419         * ps/Makefile.am:
420         * shell/Makefile.am:
421         * thumbnailer/Makefile.am:
422         * tiff/Makefile.am:
423
424         Make frontends depend on just libev.
425         Rework and group CFLAGS/LIBS definitions.
426         Cleanups.
427
428 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
429
430         * shell/ev-window:
431
432         do not unnecessarily save zoom
433
434         * configure.ac:
435         * lib/ev-file-helpers.c: (ev_dot_dir):
436         * shell/Makefile.am:
437         * shell/dummy.cc:
438
439         Some cleanups
440
441 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
442
443         * configure.ac:
444         
445         Remove unnecessary dependencies
446
447 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
448
449         * properties/Makefile.am:
450         * thumbnailer/Makefile.am:
451         * tiff/Makefile.am:
452
453         Some more cleanups. Was really necessary
454         but I probably introduced bugs, feel free
455         to flame :)
456
457 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
458
459         * backend/Makefile.am:
460         * configure.ac:
461         * cut-n-paste/recent-files/Makefile.am:
462         * cut-n-paste/toolbar-editor/Makefile.am:
463         * cut-n-paste/zoom-control/Makefile.am:
464         * lib/Makefile.am:
465         * pdf/Makefile.am:
466         * pixbuf/Makefile.am:
467         * properties/Makefile.am:
468         * ps/Makefile.am:
469         * shell/Makefile.am:
470         * thumbnailer/Makefile.am:
471         * tiff/Makefile.am:
472
473         Use gnome-common macros when possible.
474         Cleanup dependencies.
475         Actually disable deprecated where possible.
476
477 2005-07-07  Marco Pesenti Gritti  <mpg@redhat.com>
478
479         * Makefile.am:
480         * backend/Makefile.am:
481         * properties/Makefile.am:
482         * shell/Makefile.am:
483         * thumbnailer/Makefile.am:
484
485         This should solve the circular dep without
486         requiring dir reorg!
487
488         * shell/ev-window.c: (setup_view_from_metadata):
489
490         Never restore window size/position when the
491         window is already visible.
492
493 2005-07-06  Christian Persch  <chpe@cvs.gnome.org>
494
495         * shell/ev-metadata-manager.c: (ev_metadata_manager_save):
496
497         Return a boolean from timeout func. Fix ported from gedit.
498
499 2005-07-07  Iñaki Larrañaga  <dooteo@euskalgnu.org>
500
501         * configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
502
503 2005-07-06  Carlos Garcia Campos  <carlosgc@gnome.org>
504
505         * shell/ev-document-types.c: set "All Documents" as default filter in
506         open dialog
507
508 2005-07-06  Martin Kretzschmar  <martink@gnome.org>
509
510         * shell/ev-metadata-manager.c (ev_metadata_manager_set_int)
511         (ev_metadata_manager_set_double, ev_metadata_manager_set_string)
512         (ev_metadata_manager_set_boolean): fix value/val thinko.
513
514 2005-07-06  Marco Pesenti Gritti  <mpg@redhat.com>
515
516         * shell/ev-window.c: (setup_view_from_metadata),
517         (window_state_event_cb), (window_configure_event_cb),
518         (ev_window_init):
519
520         Remember window position and maximized state
521
522 2005-07-06  Christian Persch  <chpe@cvs.gnome.org>
523
524         * configure.ac:
525
526         Fix DBUS configure checks.
527
528         * shell/ev-metadata-manager.c: (ev_metadata_manager_set_int),
529         (ev_metadata_manager_set_double), (ev_metadata_manager_set_string),
530         (ev_metadata_manager_set_boolean):
531
532         Plug mem leaks.
533
534         * shell/ev-window.c: (page_changed_cb), (ev_window_run_fullscreen),
535         (ev_window_stop_fullscreen), (ev_window_run_presentation),
536         (ev_window_stop_presentation), (ev_window_zoom_changed_cb),
537         (ev_window_continuous_changed_cb),
538         (ev_window_dual_mode_changed_cb), (ev_window_new):
539
540         Fix the build without DBUS.
541
542 2005-07-06  Marco Pesenti Gritti  <mpg@redhat.com>
543
544         * shell/ev-metadata-manager.c: (parse_value), (save_values),
545         (ev_metadata_manager_set_int), (ev_metadata_manager_set_double),
546         (ev_metadata_manager_set_string),
547         (ev_metadata_manager_set_boolean):
548         * shell/ev-metadata-manager.h:
549
550         Add support for some more types
551
552         * shell/ev-view.c: (scroll_to_current_page),
553         (ev_view_get_continuous), (ev_view_set_continuous),
554         (ev_view_get_dual_page):
555         * shell/ev-view.h:
556         * shell/ev-window.c: (page_changed_cb),
557         (setup_document_from_metadata), (ev_window_setup_document),
558         (setup_view_from_metadata), (ev_window_open_uri),
559         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
560         (ev_window_run_presentation), (ev_window_stop_presentation),
561         (save_sizing_mode), (ev_window_sizing_mode_changed_cb),
562         (ev_window_zoom_changed_cb), (ev_window_update_continuous_action),
563         (ev_window_update_dual_page_action),
564         (ev_window_continuous_changed_cb),
565         (ev_window_dual_mode_changed_cb), (ev_window_init):
566
567         Remember a bunch of view/document properties. Prolly some
568         are still missing but it's getting interesting.
569
570 2005-07-05  Martin Kretzschmar  <martink@gnome.org>
571
572         * configure.ac: check if dbus-binding-tool is installed. Not the
573         case on current Ubuntu breezy, it seems.
574
575 2005-07-05  Luca Ferretti <elle.uca@libero.it>
576
577         * data/evince.desktop.in.in:
578         
579         Allow open uri lists and add TryExec field.
580
581 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
582
583         * configure.ac:
584
585         Enable dbus when available, do not require a configure
586         option.
587
588 2005-07-05  Christian Persch  <chpe@cvs.gnome.org>
589
590         * configure.ac:
591
592         Use AM_CONDITIONAL unconditionally, fixes the build with DBUS
593         disabled.
594
595 2005-07-05  Carlos Garcia Campos  <carlosgc@gnome.org>
596             Marco Pesenti Gritti  <mpg@redhat.com>
597
598         * shell/Makefile.am: Add --prefix for dbus-binding-tool script
599         
600         * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC 
601         functions to the format required by dbus
602
603         * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation
604         errors. Use the RPC parameters in the expected way
605
606 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
607
608         * Makefile.am:
609         * properties/Makefile.am:
610         * properties/ev-properties-main.c: (ev_properties_get_pages):
611
612         Support all mime types
613
614         * shell/Makefile.am:
615         * thumbnailer/Makefile.am:
616         * thumbnailer/evince-thumbnailer.c: (get_document_from_uri),
617         (evince_thumbnail_pngenc_get):
618
619         Use the document factory
620
621 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
622
623         * backend/Makefile.am:
624         * backend/ev-document-factory.c:
625         (mime_type_supported_by_gdk_pixbuf),
626         (ev_document_type_get_from_mime),
627         (ev_document_factory_get_document),
628         (ev_document_factory_get_backend),
629         (ev_document_factory_get_mime_types),
630         (ev_document_factory_get_all_mime_types):
631         * backend/ev-document-factory.h:
632         * shell/Makefile.am:
633         * shell/ev-document-types.c: (get_document_from_uri),
634         (ev_document_types_get_document),
635         (file_filter_add_mime_list_and_free),
636         (ev_document_types_add_filters):
637         * shell/ev-document-types.h:
638         * shell/ev-job-xfer.c: (ev_job_xfer_run):
639         * shell/ev-properties-dialog.c:
640         (ev_properties_dialog_set_document):
641         * shell/ev-window.c: (ev_window_cmd_file_open),
642         (ev_window_cmd_save_as):
643         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
644
645         Rework document types managing to avoid code duplication
646         and actually abstract from backend implementations.
647         Also provide a minimal factory api that can be used by
648         thumbnailer/properties.
649
650 2005-07-05  Christian Persch  <chpe@cvs.gnome.org>
651
652         * properties/ev-properties-view.c: (ev_properties_view_set_info):
653         Plug a mem leak.
654         * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
655         HIG spacings.
656
657 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
658
659         * shell/ev-properties-dialog.c
660         (ev_properties_dialog_set_document): only call
661         ev_properties_fonts_set_document() if the document implements the
662         fonts interface
663
664 2005-07-05  Marco Pesenti Gritti  <mpg@redhat.com>
665
666         * configure.ac:
667         * properties/Makefile.am:
668         * properties/ev-properties-view.c:
669         (ev_properties_view_register_type):
670         * properties/ev-properties-view.h:
671         * properties/ev-properties-main.h:
672
673         Implement nautilus plugin for properties.
674         Works only for pdf atm, I need to rework the
675         document types stuff to get this to work
676         for all backends...
677
678 2005-07-04  Martin Kretzschmar  <martink@gnome.org>
679
680         * shell/ev-properties-fonts.c (enum): kill redundant columns enum
681         (ev_properties_fonts_set_document): use
682         EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS.
683
684 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
685
686         * tiff/tiff2ps.c: remove TRUE and FALSE definitions, glib provides
687         them
688         (PlaceImage, tiff2ps_process_page): use
689         g_ascii_dtostr to convert floats to strings in a locale-safe way.
690
691
692 2005-07-04  Martin Kretzschmar  <martink@gnome.org>
693
694         * shell/main.c: include libgnomeui/gnome-authentication-manager.h
695         (main): to call gnome_authentication_manager_init. Should fix
696         Bug #308510
697
698         * configure.ac: that requires libgnomeui 2.6.0.
699
700 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
701
702         * tiff/tiff-document.c (tiff_document_ps_export_begin) 
703         (tiff_document_ps_export_do_page, tiff_document_ps_export_end):
704         use the new tiff2ps interfaces
705
706         * tiff/tiff2ps.h (tiff2ps_context_new, tiff2ps_process_page) 
707         (tiff2ps_context_finalize): implement new interfaces for tiff2ps
708
709         * tiff/tiff2ps.c: refactor tiff2ps code to use a context
710         structure instead of global variables.  Remove use of static
711         variables in functions.
712
713 2005-07-04  Carlos Garcia Campos <carlosgc@gnome.org>
714
715         * shell/ev-page-action.c: unref the completion after setting it to the
716         entry
717
718 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
719
720         * tiff/tiff2ps.c (generateEPSF): disable generating encapsulated
721         postscript files
722
723 2005-07-04  Matthew S. Wilson  <msw@rpath.com>
724
725         * shell/ev-window.c (update_action_sensitivity): disable
726         File->Print if the document does not implement the ps exporter
727         interface
728
729 2005-07-04  Marco Pesenti Gritti  <mpg@redhat.com>
730
731         * Makefile.am:
732         * configure.ac:
733         * data/evince-properties.glade:
734         * properties/.cvsignore:
735         * properties/Makefile.am:
736         * properties/ev-properties-view.c: (ev_properties_view_dispose),
737         (ev_properties_view_class_init), (ev_properties_view_format_date),
738         (make_valid_utf8), (set_property), (ev_properties_view_set_info),
739         (ev_properties_view_init), (ev_properties_view_new):
740         * properties/ev-properties-view.h:
741         * shell/Makefile.am:
742         * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init),
743         (ev_properties_dialog_init), (ev_properties_dialog_set_document),
744         (ev_properties_dialog_new):
745         * shell/ev-properties-dialog.h:
746         * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose),
747         (ev_properties_fonts_class_init), (ev_properties_fonts_init),
748         (update_progress_label), (job_fonts_finished_cb),
749         (ev_properties_fonts_set_document), (ev_properties_fonts_new):
750         * shell/ev-properties-fonts.h:
751         * shell/ev-properties.c:
752         * shell/ev-properties.h:
753         * shell/ev-window.c: (ev_window_setup_document),
754         (ev_window_cmd_file_properties):
755
756         Split the properties pages in two different objects, depend
757         only on the backend where possible, use widgets instead
758         of gobject for the glade part, reimplement the dialog
759         itself with gtk.
760         I need this to implement nautilus properties page.
761
762 2005-07-03  Matthew S. Wilson  <msw@rpath.com>
763
764         * tiff/tiff-document.c (tiff_document_ps_export_begin) 
765         (tiff_document_ps_export_do_page, tiff_document_ps_export_end) 
766         (tiff_document_document_ps_exporter_iface_init): implement the ps
767         exporter interface for tiff documents
768
769         * tiff/tiff2ps.c: added a modified version of tiff2ps.c from
770         libtiff to implement TIFF postscript export
771
772         * tiff/tiff2ps.h: added a header file for external tiff2ps
773         functions.
774
775         * tiff/Makefile.am (libtiffdocument_la_SOURCES): add tiff2ps.c and
776         tiff2ps.h
777
778 2005-07-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
779
780         * shell/ev-view.c: (scroll_to_current_page),
781         (ev_view_set_fullscreen), (ev_view_set_presentation):
782         
783         Scroll to current page when exit from presentation
784
785 2005-07-03  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
786
787         * shell/ev-window.c: (update_document_mode),
788         (ev_window_run_fullscreen), (ev_window_stop_fullscreen),
789         (ev_window_cmd_view_fullscreen), (ev_window_stop_presentation),
790         (ev_window_cmd_view_presentation), (ev_window_cmd_escape):
791         
792         Exit from fullscreen mode when switch to presentation. Fix for
793         bug 309365
794
795 2005-07-02  Matthew S. Wilson  <msw@rpath.com>
796
797         * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_get_selection_pixbuf):
798         return NULL if the document does not implement the selection
799         interface.
800
801 2005-07-02  Matthew S. Wilson  <msw@rpath.com>
802
803         * tiff/tiff-document.c (tiff_document_get_page_size): scale the
804         reported height by using the resolution aspect ratio
805         (tiff_document_render_pixbuf): scale the pixbuf using the
806         resolution aspect ratio
807
808 2005-07-01  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
809
810         * configure.ac:
811         
812         Require libgnomeprint >= 2.5.1. Thanks to Colin Slater 
813         <kiltedaco@gmail.com>
814         
815         * djvu/djvu-document.c: (djvu_document_get_orientation),
816         (djvu_document_set_orientation), (djvu_document_get_page_size),
817         (rotate_pixbuf), (djvu_document_render_pixbuf),
818         (djvu_document_document_iface_init):
819         * dvi/dvi-document.c: (dvi_document_get_orientation),
820         (dvi_document_set_orientation), (dvi_document_get_page_size),
821         (rotate_pixbuf), (dvi_document_render_pixbuf),
822         (dvi_document_document_iface_init):
823         
824         Dvi and djvu backends are ported to new API
825
826 Fri Jul  1 00:10:15 2005  Jonathan Blandford  <jrb@redhat.com>
827
828         * backend/ev-selection.c: (ev_selection_get_selection_region),
829         (ev_selection_get_selection_map):
830         * backend/ev-selection.h:
831         * pdf/ev-poppler.cc:
832         * shell/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
833         * shell/ev-jobs.h:
834         * shell/ev-pixbuf-cache.c: (dispose_cache_job_info),
835         (job_finished_cb), (copy_job_to_job_info), (add_job_if_needed),
836         (ev_pixbuf_cache_get_text_mapping):
837         * shell/ev-pixbuf-cache.h:
838         * shell/ev-view.c: (location_in_text),
839         (ev_view_motion_notify_event), (ev_view_set_cursor): Add I-Beam
840         support to EvView.  Now we can see where we can select!  Sweet!
841
842 2005-06-30  Kristian Høgsberg  <krh@redhat.com>
843
844         * shell/ev-view.c (ev_view_button_press_event): Fix
845         event->y + view->scroll_x typo.
846
847 2005-06-30  Kristian Høgsberg  <krh@redhat.com>
848
849         * pdf/ev-poppler.cc: Adjust to poppler API changes; use a
850         sub-GdkPixbuf instead of passing dest_x and dest_y.
851         
852         * shell/ev-view.c: (view_point_to_doc_point),
853         (view_rect_to_doc_rect), (ev_view_button_press_event),
854         (ev_view_motion_notify_event), (compute_new_selection_rect),
855         (gdk_rectangle_point_in), (compute_new_selection_text),
856         (compute_selections): Update selection code to keep the selection
857         around as two points and not as a normalized rectangle, and fix
858         page level selection in two-column mode.
859
860 2005-06-30  Alex Duggan  <aldug@astrolinux.com>
861
862         * shell/ev-window.c: (window_configure_event_cb): 
863         
864         Fix compilation
865         
866 2005-06-30  Marco Pesenti Gritti  <mpg@redhat.com>
867
868         * pdf/ev-poppler.cc:
869
870         Fix compilation
871
872 2005-06-30  Marco Pesenti Gritti  <mpg@redhat.com>
873
874         * shell/Makefile.am:
875         * shell/ev-metadata-manager.c: (item_free),
876         (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
877         (parse_value), (parseItem), (load_values),
878         (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
879         (save_values), (save_item), (get_oldest), (resize_items),
880         (ev_metadata_manager_save), (ev_metadata_manager_set_int):
881         * shell/ev-metadata-manager.h:
882
883         Metadata manager from gedit but modified to use GValue, so that
884         we dont need to keep converting from strings.
885
886         * configure.ac:
887
888         ENABLE_METADATA conditional, on when dbus is on
889
890         * shell/ev-application.c: (ev_application_open_uri):
891
892         Show the window after load so that we can initialize
893         window size before it's showed.
894
895         * shell/ev-window.c: (ev_window_setup_from_metadata),
896         (ev_window_open_uri), (window_configure_event_cb),
897         (ev_window_init):
898
899         Save and load metadata information about window size.
900         Not yet keeping states in account.
901
902         * shell/main.c: (main):
903
904         Shutdown metadata manager.
905
906 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
907
908         * shell/ev-application-service.xml:
909         * configure.ac:
910         * shell/Makefile.am:
911         * shell/ev-application.c:
912         * shell/ev-application.h:
913         * shell/ev-window.c:
914         * shell/ev-window.h:
915         * shell/main.c:
916
917         Add an optional dbus interface (--enable-dbus).
918         Rework application code, mainly to be easier to
919         use "remotely".
920         Do not open multiple windows with the same document,
921         spatial evince!
922
923 Thu Jun 30 01:50:14 2005  Jonathan Blandford  <jrb@redhat.com>
924
925         * shell/ev-pixbuf-cache.c (clear_selection_if_needed): unref the
926         pixbuf iff it exists.
927
928 Thu Jun 30 01:43:00 2005  Jonathan Blandford  <jrb@redhat.com>
929
930         * shell/*:
931         * backend/ev-render-context.[ch]:
932         * backend/ev-selection.[ch]:
933
934         Massive changes.  We now support text selection of pdfs, and not
935         just rectangular selection.  This is pretty broken still, but I
936         want to get something into CVS.
937
938 2005-06-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
939
940         * pdf/ev-poppler.cc:
941         
942         Fix for Bug 309080: crash on window close.
943         
944         * shell/ev-page-action.c: (page_changed_cb):
945         
946         Fix for Bug 309168: Fix build with gcc 2.95. Thanks to
947         jensgr@gmx.net (Jens Granseuer).
948
949 2005-06-25  Marcel Telka  <marcel@telka.sk>
950
951         * configure.in (ALL_LINGUAS): Added sk.
952
953 2005-06-24  Carlos Garcia Campos  <carlosgc@gnome.org>
954
955         * shell/ev-window.c: Make rotate menu entries unsensitive if there is
956         not a document open
957
958 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
959
960         * NEWS:
961         * configure.ac:
962
963         Release 0.3.2
964
965         * cut-n-paste/recent-files/Makefile.am:
966
967         Fix make distcheck
968
969 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
970
971         * pixbuf/pixbuf-document.c: (pixbuf_document_get_orientation),
972         (pixbuf_document_set_orientation), (rotate_pixbuf),
973         (pixbuf_document_get_page_size), (pixbuf_document_render_pixbuf),
974         (pixbuf_document_document_iface_init), (pixbuf_document_init):
975
976         Implement rotation and cleanup the code a bit.
977
978         * tiff/tiff-document.c: (tiff_document_get_page_size),
979         (tiff_document_get_orientation), (tiff_document_set_orientation),
980         (rotate_pixbuf), (tiff_document_render_pixbuf),
981         (tiff_document_document_iface_init), (tiff_document_init):
982
983         Implement rotation. Was the quicker solution for the release
984         but we really need to share this code in the shell.
985
986 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
987
988         * pdf/ev-poppler.cc:
989
990         Enable rotation, require poppler cvs. Fix a leak.
991
992 2005-06-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
993
994         * shell/ev-window.c: (update_action_sensitivity):
995         
996         Make properties unsensitive if document backend doesn't provide
997         any info
998
999 2005-06-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1000
1001         * dvi/mdvi-lib/bitmap.c: (bitmap_alloc), (bitmap_alloc_raw),
1002         (bitmap_flip_horizontally), (bitmap_flip_vertically),
1003         (bitmap_flip_diagonally), (bitmap_rotate_clockwise),
1004         (bitmap_rotate_counter_clockwise), (bitmap_flip_rotate_clockwise),
1005         (bitmap_flip_rotate_counter_clockwise):
1006         * dvi/mdvi-lib/color.c: (mdvi_push_color), (get_color_table):
1007         * dvi/mdvi-lib/common.c: (read_string), (buff_free), (buff_add),
1008         (buff_gets):
1009         * dvi/mdvi-lib/common.h:
1010         * dvi/mdvi-lib/dvimisc.c: (mdvi_push_color):
1011         * dvi/mdvi-lib/dviread.c: (get_bytes), (dreset), (define_font),
1012         (opendvi), (mdvi_reload), (mdvi_init_context),
1013         (mdvi_destroy_context), (mdvi_dopage), (special):
1014         * dvi/mdvi-lib/font.c: (font_drop_one), (font_free_unused):
1015         * dvi/mdvi-lib/fontmap.c: (read_encoding), (destroy_encoding),
1016         (file_hash_free), (register_encoding), (parse_spec),
1017         (mdvi_load_fontmap), (free_ent), (mdvi_init_fontmaps),
1018         (mdvi_add_fontmap_file), (mdvi_ps_read_fontmap),
1019         (mdvi_ps_flush_fonts), (mdvi_ps_find_font), (mdvi_ps_get_metrics):
1020         * dvi/mdvi-lib/fontsrch.c: (mdvi_list_font_class),
1021         (mdvi_register_font_type), (mdvi_unregister_font_type),
1022         (lookup_font), (mdvi_add_font), (mdvi_font_retry):
1023         * dvi/mdvi-lib/gf.c: (gf_read_bitmap), (gf_load_font):
1024         * dvi/mdvi-lib/hash.c: (mdvi_hash_remove), (mdvi_hash_remove_ptr),
1025         (mdvi_hash_destroy_key), (mdvi_hash_reset):
1026         * dvi/mdvi-lib/pagesel.c: (mdvi_parse_range),
1027         (mdvi_parse_page_spec), (mdvi_free_page_spec), (main):
1028         * dvi/mdvi-lib/paper.c: (mdvi_free_paper_specs):
1029         * dvi/mdvi-lib/pk.c: (pk_lookup), (pk_lookupn), (pk_load_font):
1030         * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
1031         * dvi/mdvi-lib/special.c: (mdvi_register_special),
1032         (mdvi_unregister_special), (mdvi_flush_specials):
1033         * dvi/mdvi-lib/t1.c: (t1_lookup_font), (t1_really_load_font),
1034         (t1_font_remove):
1035         * dvi/mdvi-lib/tfm.c: (get_tfm_chars):
1036         * dvi/mdvi-lib/tfmfile.c: (afm_load_file), (tfm_load_file),
1037         (ofm1_load_file), (ofm_load_file), (get_font_metrics),
1038         (free_font_metrics), (flush_font_metrics):
1039         * dvi/mdvi-lib/tt.c: (tt_really_load_font), (tt_get_bitmap),
1040         (tt_font_remove):
1041         * dvi/mdvi-lib/util.c: (mdvi_malloc), (mdvi_realloc),
1042         (mdvi_calloc), (mdvi_free), (mdvi_strdup), (mdvi_strncpy),
1043         (mdvi_strndup), (mdvi_memdup), (xstradd), (dstring_append),
1044         (dstring_insert), (dstring_new), (dstring_reset):
1045         * dvi/mdvi-lib/vf.c: (vf_load_font), (vf_free_macros):
1046         
1047         Rename xmalloc and xfree to mdvi_malloc and mdvi_free to
1048         avoid conflict with libtool on FC4
1049         
1050         * shell/ev-window.c: (ev_window_cmd_help_about):
1051         
1052         Update copyright year. Fix for bug 308828.
1053
1054 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
1055
1056         * shell/ev-view.c: (add_scroll_binding_keypad),
1057         (ev_view_binding_activated), (ev_view_class_init),
1058         (on_adjustment_value_changed):
1059         
1060         Bug 170874: Arrow keys switch pages in presentation mode
1061
1062 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
1063
1064         * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb):
1065         
1066         Fix for Bug 308265: Sidebar dissappears coming out of 
1067         Presentation mode
1068
1069 2005-06-23  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
1070
1071         * shell/ev-application.c: (ev_application_open):
1072         * shell/ev-document-types.c: (ev_document_types_add_filters),
1073         (ev_document_types_add_filters_for_type):
1074         * shell/ev-document-types.h:
1075         * shell/ev-window.c: (ev_window_cmd_save_as):
1076         
1077         Suggest basename as template when saving, provide filters
1078         for save dialog. It's bug 308402
1079
1080 2005-06-20  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1081
1082         * pdf/ev-poppler.cc:
1083         * shell/ev-sidebar-links.c: (job_finished_callback):
1084         * shell/ev-view.c: (update_find_status_message):
1085         
1086         Some leaks fixed
1087
1088 2005-06-19  Christian Persch  <chpe@cvs.gnome.org>
1089
1090         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1091         (egg_recent_view_uimanager_set_list):
1092
1093         Fix buglet in !show_numbers case.
1094
1095 2005-06-19  Christian Persch  <chpe@cvs.gnome.org>
1096
1097         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1098         (connect_proxy_cb), (egg_recent_view_uimanager_set_list):
1099
1100         Use pango ellipsisation.
1101
1102         * pdf/ev-poppler.cc:
1103
1104         Fix refcount leak, from nsh.
1105
1106 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1107
1108         * cut-n-paste/recent-files/Makefile.am:
1109         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1110         * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1111         
1112         Removed EggRecentViewGtk
1113         
1114         * cut-n-paste/recent-files/egg-recent-view-uimanager.c:
1115         * cut-n-paste/recent-files/egg-recent-view-uimanager.h:
1116         * shell/ev-window.c: (ev_window_cmd_recent_file_activate),
1117         (ev_window_setup_recent):
1118         
1119         Use ViewUIManager instead of ViewGtk. Less leaks, more compatibility
1120         with other projects
1121
1122 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1123
1124         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1125         (egg_recent_view_gtk_finalize):
1126
1127         Fix memory leak
1128
1129         * cut-n-paste/toolbar-editor/Makefile.am:
1130         
1131         Fix location of cursor icon.
1132         
1133         * pdf/ev-poppler.cc:
1134         * shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
1135         (display_completion_text), (match_completion):
1136         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1137         (selection_changed_callback), (create_loading_model),
1138         (print_section_cb), (links_page_num_func),
1139         (update_page_callback_foreach):
1140         * shell/ev-window.c: (ev_window_dispose):
1141         
1142         Small memory fixes. Links model now store objects instead
1143         of pointers to improve memory management. 
1144
1145 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1146
1147         * shell/ev-window.c: (zoom_control_changed_cb):
1148         
1149         Fix update of zoom control (bug 308268).
1150
1151 Sat Jun 18 22:46:42 2005  Jonathan Blandford  <jrb@redhat.com>
1152
1153         * shell/ev-properties.c (set_property): escape the text correctly.
1154         Handles non-UTF-8 properties and escaped properties.  Also, sets
1155         the text to "<i>None</i>" if the property isn't set.
1156
1157         * data/evince-properties.glade: Change the label to be ellipsized,
1158         and give it a minimum size.
1159
1160 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1161
1162         * lib/ev-file-helpers.c: (ev_file_helpers_shutdown):
1163         * shell/ev-sidebar-links.c: (create_loading_model):
1164         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose):
1165         * shell/ev-view.c: (ev_view_set_document):
1166         * shell/ev-window.c: (ev_window_dispose):
1167         
1168         Various small fixes, mostly memory leaks. Thanks to valgrind.
1169
1170 2005-06-19  Martin Kretzschmar  <martink@gnome.org>
1171
1172         * ps/ps-document.c: remove the locale.h include again ;-). And
1173         kill the (bogus) setlocale/savelocale business.
1174
1175 2005-06-19   Jaap A. Haitsma <jaap@haitsma.org>
1176
1177         * ps/ps-document.c:
1178         
1179         Include locale.h to fix build
1180         
1181         * shell/ev-sidebar.c:
1182         
1183         Remove unnecessary includes
1184
1185 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1186
1187         * dvi/dvi-document.c: (dvi_document_load):
1188         * dvi/mdvi-lib/dviread.c: (mdvi_init_context):
1189         * po/POTFILES.in:
1190         
1191         Check for incorrect dvi files. Fix parsing dvi on AMD64
1192         platform. Thanks to tester@tester.ca (Olivier Crete).
1193
1194 2005-06-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1195
1196         * shell/ev-page-action.c: (match_selected_cb),
1197         (display_completion_text), (match_completion), (update_model):
1198         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1199         (expand_open_links):
1200         * shell/ev-sidebar.c: (ev_sidebar_destroy),
1201         (ev_sidebar_menu_item_activate_cb), (ev_sidebar_add_page),
1202         (ev_sidebar_set_document):
1203         * shell/ev-window.c: (ev_window_xfer_job_cb),
1204         (sidebar_widget_model_set), (sidebar_page_main_widget_update_cb):
1205         
1206         Fixed lot's of memory leaks, for example, memory leak on reload, 
1207         described in bug 307793.
1208
1209 2005-06-18  Marco Pesenti Gritti  <mpg@redhat.com>
1210
1211         * pdf/ev-poppler.cc:
1212         * shell/ev-sidebar-thumbnails.c: (clear_range), (add_range),
1213         (update_visible_range), (adjustment_changed_cb),
1214         (ev_sidebar_thumbnails_fill_model),
1215         (ev_sidebar_thumbnails_refresh),
1216         (ev_sidebar_tree_selection_changed),
1217         (ev_sidebar_icon_selection_changed),
1218         (ev_sidebar_thumbnails_use_icon_view),
1219         (ev_sidebar_thumbnails_set_document):
1220         * shell/ev-sidebar-thumbnails.h:
1221         * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1222         (ev_window_cmd_edit_rotate_right), (ev_window_init):
1223
1224         Refresh thumbnails when changing orientation. Not fully
1225         working yet becuase of a sidebar bug.
1226
1227         Set page orientation to poppler page everywhere. This sucks
1228         really need to fix poppler.
1229
1230 2005-06-18  Marco Pesenti Gritti  <mpg@redhat.com>
1231
1232         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
1233         (egg_recent_view_gtk_new_menu_item),
1234         (egg_recent_view_gtk_set_property),
1235         (egg_recent_view_gtk_get_property),
1236         (egg_recent_view_gtk_class_init), (egg_recent_view_gtk_init),
1237         (egg_recent_view_gtk_set_tooltip_func),
1238         (egg_recent_view_gtk_set_label_width),
1239         (egg_recent_view_gtk_get_label_width):
1240         * cut-n-paste/recent-files/egg-recent-view-gtk.h:
1241
1242         Sync with libegg (ellipsize labels)
1243
1244 2005-06-18  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1245
1246         * data/evince-ui.xml:
1247         * shell/ev-window.c: (ev_window_cmd_go_forward),
1248         (ev_window_cmd_go_backward):
1249         
1250         Shift + PageUp moves 10 Pages. Fix for 306125
1251
1252 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1253
1254         * pdf/ev-poppler.cc:
1255
1256         Add a flag to check if orientation has been overriden
1257
1258 2005-06-17  Martin Kretzschmar  <martink@gnome.org>
1259
1260         * ps/ps.c (psscan, psfree): read "Creator:" comment, free creator
1261         field if necessary.
1262
1263         * ps/ps.h: add creator field to document.
1264
1265         * ps/ps-document.c (ps_document_get_info): set format to PostScript,
1266         set creator field.
1267
1268 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1269
1270         * data/evince-properties.glade:
1271         * shell/ev-properties.c: (ev_properties_set_document):
1272
1273         s/PDF Version/Format
1274
1275 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1276
1277         * shell/ev-properties.c: (ev_properties_set_document):
1278
1279         Remove unnecessary translations
1280
1281 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1282
1283         * cut-n-paste/toolbar-editor/Makefile.am:
1284
1285         Correct library name    
1286
1287 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1288
1289         * configure.ac:
1290         * cut-n-paste/recent-files/egg-recent-model.c:
1291         (egg_recent_model_write_raw), (egg_recent_model_lock_file),
1292         (egg_recent_model_unlock_file):
1293         * cut-n-paste/recent-files/egg-recent-util.c:
1294         (egg_recent_util_get_unique_id):
1295         * cut-n-paste/recent-files/update-from-egg.sh:
1296         * cut-n-paste/toolbar-editor/Makefile.am:
1297         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1298         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
1299         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1300         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1301         (egg_toolbars_model_get_type):
1302         * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
1303
1304         Better makefile for toolbar editor and update everything
1305         to latest libegg.
1306
1307 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1308
1309         * shell/ev-window.c: (update_document_mode):
1310
1311         Prefer presentation mode when the document
1312         require fullscreen.
1313
1314 2005-06-17  Marco Pesenti Gritti  <mpg@redhat.com>
1315
1316         * data/evince-ui.xml:
1317         * shell/ev-window.c:
1318
1319         Add control-equal for zooming
1320
1321 2005-06-17  Theppitak Karoonboonyanan  <thep@linux.thai.net>
1322
1323         * configure.ac: Added 'th' (Thai) to ALL_LINGUAS.
1324
1325 2005-06-16  Marco Pesenti Gritti  <mpg@redhat.com>
1326
1327         * backend/ev-document.c: (ev_document_get_orientation):
1328         * backend/ev-document.h:
1329         * pdf/ev-poppler.cc:
1330         * ps/ps-document.c: (ps_document_get_orientation),
1331         (ps_document_set_orientation), (ps_document_document_iface_init):
1332
1333         Add a get_orientation api. Improve set_orientation.
1334
1335         * data/evince-ui.xml:
1336         * shell/ev-view.c: (ev_view_set_orientation),
1337         (ev_view_rotate_right), (ev_view_rotate_left):
1338         * shell/ev-view.h:
1339         * shell/ev-window.c: (ev_window_cmd_edit_rotate_left),
1340         (ev_window_cmd_edit_rotate_right):
1341
1342         Better ui for changing document orientation
1343
1344 2005-06-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1345
1346         * shell/ev-sidebar-links.c: (ev_sidebar_links_get_property),
1347         (ev_sidebar_links_class_init), (ev_sidebar_links_get_label):
1348         * shell/ev-sidebar-links.h:
1349         * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
1350         (ev_sidebar_page_iface_init):
1351         * shell/ev-sidebar-page.h:
1352         * shell/ev-sidebar-thumbnails.c:
1353         (ev_sidebar_thumbnails_get_property),
1354         (ev_sidebar_thumbnails_class_init),
1355         (ev_sidebar_thumbnails_set_document):
1356         * shell/ev-sidebar-thumbnails.h:
1357         * shell/ev-view.c: (ev_view_motion_notify_event):
1358         * shell/ev-window.c: (update_chrome_visibility),
1359         (ev_window_cmd_focus_page_selector),
1360         (ev_window_update_fullscreen_popup), (view_actions_focus_in_cb),
1361         (sidebar_page_main_widget_update_cb), (ev_window_init):
1362         
1363         Autoraise toolbar on GoToPage binding and fix bindings in
1364         EvSidebarThumbnails page.
1365
1366 2005-06-15  Christian Persch  <chpe@cvs.gnome.org>
1367
1368         * shell/ev-properties.c: (update_progress_label):
1369
1370         Hide the progress label when finished; bug #307697.
1371
1372 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
1373
1374         * pdf/ev-poppler.cc:
1375
1376         Enable is_open for links, you will need poppler cvs
1377
1378         * shell/ev-properties.c: (job_fonts_finished_cb):
1379
1380         Get a lock on the document when filling the tree view
1381
1382 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
1383
1384         * backend/ev-document-links.h:
1385         * pdf/ev-poppler.cc:
1386         * shell/ev-sidebar-links.c: (create_loading_model),
1387         (expand_open_links), (job_finished_callback):
1388
1389         Expand links when specified by the document.
1390         Depend on a poppler api (defined out for now)
1391
1392 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
1393
1394         * shell/ev-properties.c: (ev_properties_dispose),
1395         (ev_properties_class_init), (dialog_destroy_cb),
1396         (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view),
1397         (ev_properties_set_document), (ev_properties_new),
1398         (ev_properties_show):
1399         * shell/ev-properties.h:
1400
1401         Make it an object, cleanup the code, api to show it as transient
1402         and to set the document.
1403
1404         * shell/ev-window.c: (ev_window_setup_document),
1405         (ev_window_cmd_file_properties):
1406
1407         Adapt to EvProperties changes, do not show multiple
1408         times, update it when document changes.
1409
1410 2005-06-14  Marco Pesenti Gritti <mpg@redhat.com>
1411
1412         * ps/gstypes.h:
1413         * ps/ps-document.c: (ps_document_init), (get_page_orientation),
1414         (ps_document_set_orientation), (ps_document_document_iface_init):
1415         * ps/ps-document.h:
1416
1417         Implement orientation here too
1418
1419         * shell/ev-properties.c: (ev_properties_new):
1420         * data/evince-properties.glade:
1421
1422         Hide the fonts page for backends that doesnt
1423         support it.     
1424
1425 2005-06-14  Marco Pesenti Gritti <mpg@redhat.com>
1426
1427         * backend/ev-document.c: (ev_document_set_orientation):
1428         * backend/ev-document.h:
1429         * pdf/ev-poppler.cc:
1430
1431         Add orientation api. Currently poppler api is not optimal,
1432         we need to set orientation every time we _get a page.
1433         I will try to fix that at some point.
1434
1435         * data/evince-ui.xml:
1436         * shell/ev-window.c: (ev_window_cmd_edit_landscape),
1437         (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
1438
1439         Add orientation menu items
1440
1441         * shell/ev-page-cache.c: (ev_page_cache_clear):
1442         * shell/ev-page-cache.h:
1443
1444         Add api to clear the cache
1445
1446         * shell/ev-view.c: (setup_caches), (clear_caches),
1447         (ev_view_set_document), (ev_view_zoom_out),
1448         (ev_view_set_orientation):
1449         * shell/ev-view.h:
1450
1451         Implement orientation changing
1452
1453 2005-06-13  Marco Pesenti Gritti <mpg@redhat.com>
1454
1455         * backend/ev-document-fonts.c: (ev_document_fonts_get_progress),
1456         (ev_document_fonts_scan), (ev_document_fonts_fill_model):
1457         * backend/ev-document-fonts.h:
1458
1459         Separate scan and fill so that we can incrementally fill from
1460         the main thread. Add a progress api.
1461
1462         * data/evince-properties.glade:
1463         * pdf/ev-poppler.cc:
1464         * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run):
1465         * shell/ev-jobs.h:
1466         * shell/ev-properties.c: (update_progress_label),
1467         (job_fonts_finished_cb), (setup_fonts_view):
1468
1469         Incrementally feel the list and show the progress
1470         percentage in a label like acrobat does.
1471
1472         You are going to need poppler cvs
1473
1474 2005-06-11  Marco Pesenti Gritti <mpg@redhat.com>
1475
1476         * backend/ev-document-fonts.c: (ev_document_fonts_fill_model):
1477         * backend/ev-document-fonts.h:
1478         * pdf/ev-poppler.cc:
1479
1480         Make fonts model fill incrementally.
1481
1482         * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
1483         (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
1484         (ev_job_queue_remove_job):
1485         * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
1486         (ev_job_fonts_new), (ev_job_fonts_run):
1487         * shell/ev-jobs.h:
1488
1489         New job for fonts scanning
1490
1491         * shell/ev-properties.c: (job_fonts_finished_cb),
1492         (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new):
1493         * shell/ev-properties.h:
1494         * shell/ev-window.c: (ev_window_cmd_file_properties):
1495
1496         Incrementally feel the treeview using the new job. Show Loading...
1497         message until scanning is completed.
1498
1499         Hopefully I didnt break the build without the poppler patch.
1500
1501 2005-06-10  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1502
1503         * shell/ev-application.c: (ev_application_open):
1504         * shell/ev-document-types.c: (ev_document_type_from_from_mime),
1505         (ev_document_type_get_type), (ev_document_type_lookup):
1506         * shell/ev-document-types.h:
1507         * shell/ev-job-xfer.c: (ev_job_xfer_dispose), (ev_job_xfer_run):
1508         * shell/ev-job-xfer.h:
1509         * shell/ev-window.c: (ev_window_clear_local_uri),
1510         (ev_window_load_job_cb), (ev_window_xfer_job_cb),
1511         (ev_window_open_uri), (ev_window_add_recent), (ev_window_dispose):
1512         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
1513         
1514         Transfer remote documents to tmp directory to display them later.
1515
1516 2005-06-10  Marco Pesenti Gritti <mpg@redhat.com>
1517
1518         * backend/ev-document-info.h:
1519         * shell/ev-properties.c: (ev_properties_new):
1520
1521         s/GTime*/GTime. Not sure why we was using a pointer
1522         at all there!
1523
1524 Wed Jun  8 01:04:22 2005  Jonathan Blandford  <jrb@redhat.com>
1525
1526         * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
1527         situations.  That situation is that you're using GTK+-HEAD with
1528         the patch at #306726 is applied, and you have a document with <
1529         1500 pages in it.  It's not quite as uniformly nice as the
1530         TreeView, but should be better in the long run.
1531
1532         I'm pretty sure I guarded against breaking compilation with
1533         HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible
1534         I missed some.
1535
1536         * shell/ev-window.c (ev_window_init): We don't have our tree/list
1537         widget yet, so I commented that code out
1538         enable_view_actions_for_widget() for now.  Need to figure this
1539         out.
1540
1541         * shell/ev-page-action.c (match_selected_cb): emit the right
1542         signals.  Our cool C-l completion now works.
1543
1544 2005-06-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1545
1546         * backend/Makefile.am:
1547         * backend/ev-document-fonts.c:
1548         * backend/ev-document-links.c:
1549         * backend/ev-document.c: (ev_document_load):
1550         * backend/ev-document.h:
1551         * backend/ev-job-queue.c:
1552         * backend/ev-job-queue.h:
1553         * backend/ev-jobs.c:
1554         * backend/ev-jobs.h:
1555         * backend/ev-page-cache.c:
1556         * backend/ev-page-cache.h:
1557
1558         EvPageCache and EvJobs are moved to shell.
1559
1560         * lib/ev-file-helpers.c: (ev_file_helpers_shutdown),
1561         (ev_tmp_filename):
1562         * lib/ev-file-helpers.h:
1563         
1564         New helper to work with temporary files
1565         
1566         * shell/Makefile.am:
1567         * shell/ev-application.c: (ev_application_open):
1568         * shell/ev-application.h:
1569         * shell/ev-job-queue.c: (remove_job_from_queue_locked),
1570         (remove_job_from_async_queue), (add_job_to_async_queue),
1571         (add_job_to_queue_locked), (notify_finished), (job_finished_cb),
1572         (handle_job), (search_for_jobs_unlocked),
1573         (no_jobs_available_unlocked), (ev_render_thread),
1574         (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1575         (ev_job_queue_add_job), (move_job_async), (move_job),
1576         (ev_job_queue_update_job), (ev_job_queue_remove_job):
1577         * shell/ev-job-queue.h:
1578         * shell/ev-job-xfer.c: (ev_job_xfer_init), (ev_job_xfer_dispose),
1579         (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run):
1580         * shell/ev-job-xfer.h:
1581         * shell/ev-jobs.c: (ev_job_init), (ev_job_dispose),
1582         (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
1583         (ev_job_links_class_init), (ev_job_render_init),
1584         (ev_job_render_dispose), (ev_job_render_class_init),
1585         (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
1586         (ev_job_thumbnail_class_init), (ev_job_load_init),
1587         (ev_job_load_dispose), (ev_job_load_class_init), (ev_job_finished),
1588         (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
1589         (render_finished_cb), (ev_job_render_run), (ev_job_thumbnail_new),
1590         (ev_job_thumbnail_run), (ev_job_load_new), (ev_job_load_run):
1591         * shell/ev-jobs.h:
1592         * shell/ev-page-action.c: (ev_page_action_set_document):
1593         * shell/ev-page-cache.c: (ev_page_cache_init),
1594         (ev_page_cache_class_init), (ev_page_cache_finalize),
1595         (ev_page_cache_new), (ev_page_cache_get_n_pages),
1596         (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
1597         (ev_page_cache_set_page_label), (ev_page_cache_set_link),
1598         (ev_page_cache_get_title), (ev_page_cache_get_size),
1599         (ev_page_cache_get_max_width), (ev_page_cache_get_max_height),
1600         (ev_page_cache_get_height_to_page),
1601         (ev_page_cache_get_max_label_chars),
1602         (ev_page_cache_get_page_label),
1603         (ev_page_cache_has_nonnumeric_page_labels),
1604         (ev_page_cache_get_info), (ev_page_cache_next_page),
1605         (ev_page_cache_prev_page), (ev_page_cache_get):
1606         * shell/ev-page-cache.h:
1607         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_update_range),
1608         (ev_pixbuf_cache_clear_job_sizes),
1609         (ev_pixbuf_cache_add_jobs_if_needed),
1610         (ev_pixbuf_cache_set_page_range):
1611         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings):
1612         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document):
1613         * shell/ev-sidebar-thumbnails.c:
1614         (ev_sidebar_tree_selection_changed),
1615         (ev_sidebar_thumbnails_set_document):
1616         * shell/ev-statusbar.c: (ev_statusbar_destroy),
1617         (ev_statusbar_class_init), (ev_statusbar_init), (ev_statusbar_new),
1618         (ev_statusbar_get_context_id), (ev_statusbar_push),
1619         (ev_statusbar_pop), (ev_statusbar_set_maximized),
1620         (ev_statusbar_pulse), (ev_statusbar_show_progress),
1621         (ev_statusbar_set_progress):
1622         * shell/ev-statusbar.h:
1623         * shell/ev-view.c: (ev_view_set_document), (ev_view_find_next),
1624         (ev_view_find_previous):
1625         * shell/ev-window.c: (ev_window_is_empty),
1626         (ev_window_setup_document), (password_dialog_response),
1627         (ev_window_clear_jobs), (ev_window_load_job_cb),
1628         (ev_window_xfer_job_cb), (ev_window_open_uri),
1629         (ev_window_open_uri_list), (ev_window_cmd_recent_file_activate),
1630         (ev_window_print), (ev_window_print_range),
1631         (ev_window_state_event), (ev_window_cmd_view_reload),
1632         (menu_item_select_cb), (menu_item_deselect_cb),
1633         (view_status_changed_cb), (ev_window_dispose),
1634         (drag_data_received_cb), (ev_window_init):
1635         * shell/ev-window.h:
1636         * shell/main.c: (load_files):
1637         
1638         New statusbar to show progress on idle. Two new jobs - 
1639         xfer job and load job to load document in background. And update
1640         of page_cache clients to new location of code.
1641
1642 2005-06-08  Carlos Garcia Campos <carlosgc@gnome.org>
1643   
1644         * shell/ev-application.c, shell/ev-window.[ch]: Allow multiple
1645         selection in open dialog. It also remembers the last visited directory 
1646         in the current session.
1647
1648 2005-06-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1649
1650         * shell/ev-properties.c: (ev_properties_new):
1651         * shell/ev-properties.h:
1652         * shell/ev-window.c: (ev_window_cmd_file_properties):
1653         
1654         Get document info from page cache instead of document itself.
1655         This should fix crash related to race conditions described in
1656         bug 306545.
1657
1658 2005-06-07  Marco Pesenti Gritti <mpg@redhat.com>
1659
1660         * ps/ps-document.c: (ps_document_init),
1661         (send_ps), (get_page_box), (output), (catchPipe), (input),
1662         (stop_interpreter), (file_length), (file_readable),
1663         (check_filecompressedb), (ps_document_enable_interpreter),
1664         (document_load), (ps_async_renderer_render_pixbuf):
1665         * ps/ps-document.h:
1666
1667         Big cleanup of the ps code
1668
1669 2005-06-07  Marco Pesenti Gritti <mpg@redhat.com>
1670
1671         * backend/Makefile.am:
1672         * backend/ev-async-renderer.c: (ev_async_renderer_get_type),
1673         (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf):
1674         * backend/ev-async-renderer.h:
1675
1676         Add an async renderer interface (method + callback) which
1677         is useful for backends like ps.
1678
1679         * backend/ev-job-queue.c: (remove_job_from_async_queue),
1680         (add_job_to_async_queue), (job_finished_cb), (handle_job),
1681         (ev_job_queue_run_next), (ev_job_queue_init), (find_queue),
1682         (ev_job_queue_add_job), (move_job_async), (move_job),
1683         (ev_job_queue_update_job), (ev_job_queue_remove_job):
1684
1685         Add queues for async renderer, these are executed on the
1686         main thread.
1687
1688         * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb),
1689         (ev_job_render_run):
1690         * backend/ev-jobs.h:
1691
1692         If the backend support async renderer interface use it.
1693
1694         * ps/ps-document.c: (ps_document_init), (push_pixbuf),
1695         (setup_pixmap), (ps_document_get_type),
1696         (ps_async_renderer_render_pixbuf),
1697         (ps_document_document_iface_init), (ps_async_renderer_iface_init):
1698
1699         Implement async renderer interface.
1700
1701 2005-06-07  Nickolay V. Shmyrev  <<nshmyrev@yandex.ru>>
1702
1703         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose):
1704
1705         Cleanup links job on exit.
1706
1707 2005-06-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1708
1709         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
1710         (drag_data_get_cb), (drag_data_received_cb):
1711         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
1712         (drag_data_get_cb), (parse_item_list),
1713         (egg_toolbar_editor_load_actions):
1714         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
1715         (egg_toolbars_model_to_xml), (egg_toolbars_model_save),
1716         (parse_item_list), (parse_toolbars):
1717         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
1718         (dvi_pixbuf_put_pixel):
1719         
1720         Fix gcc 4.0 warnings
1721
1722 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
1723
1724         * ps/ps-document.c: (start_interpreter):
1725
1726         Fix warning when loading ps
1727
1728 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
1729
1730         * ps/ps-document.c: (output):
1731
1732         Fix crash when priting gs error messages.
1733
1734 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
1735
1736         * backend/ev-page-cache.c: (_ev_page_cache_new):
1737         * backend/ev-page-cache.h:
1738
1739         Use a const to return title so that we dont double
1740         free it. Small cleanup and fix a leak.
1741
1742         * shell/ev-window.c: (update_window_title):
1743
1744         strdup value from get_title.
1745
1746 2005-06-06  Marco Pesenti Gritti <mpg@redhat.com>
1747
1748         * shell/ev-sidebar-links.c: (job_finished_callback),
1749         (ev_sidebar_links_set_document):
1750
1751         Cleanup the old job when changing document
1752
1753 2005-06-05  Nickolay V. Shmyrev  <<nshmyrev@yandex.ru>>
1754
1755         * shell/ev-stock-icons.c:
1756         * shell/ev-stock-icons.h:
1757         * shell/ev-window.c:
1758         
1759         Add stock icons for actions that can appear in toolbar. Fix for
1760         bug 306566.
1761
1762 2005-06-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1763
1764         * backend/ev-page-cache.c: (ev_page_cache_finalize),
1765         (_ev_page_cache_new), (ev_page_cache_get_max_width),
1766         (ev_page_cache_get_max_height), (ev_page_cache_get_height_to_page):
1767         * backend/ev-page-cache.h:
1768         * shell/ev-view.c: (scroll_to_current_page),
1769         (view_update_range_and_current_page), (get_page_y_offset),
1770         (get_page_extents), (ev_view_size_request_continuous_dual_page),
1771         (ev_view_size_request_continuous),
1772         (ev_view_zoom_for_size_continuous_and_dual_page),
1773         (ev_view_zoom_for_size_continuous):
1774         
1775         More compact EvView layout in document with pages of different size.
1776
1777 Sat Jun  4 19:20:57 2005  Jonathan Blandford  <jrb@redhat.com>
1778
1779         * shell/ev-window.c (ev_window_cmd_file_properties): fix
1780         compilation.
1781
1782 2005-06-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1783
1784         * shell/ev-view.c: (view_set_adjustment_values):
1785         * shell/ev-window.c: (ev_window_cmd_file_properties):
1786         
1787         A bit different fix for rounding problem but it has no
1788         problems on startup. Make properties window transient to parent.
1789
1790 2005-06-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1791
1792         * pdf/ev-poppler.cc:
1793         
1794         More commenting of font stuff.
1795
1796 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1797
1798         * pdf/ev-poppler.cc:
1799
1800         Comment out some more fonts stuff. Should really
1801         work without the poppler patch now.
1802
1803 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1804
1805         * pdf/ev-poppler.cc:
1806
1807         Adapt to api change
1808
1809 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1810
1811         * data/evince-properties.glade:
1812         * pdf/ev-poppler.cc:
1813         * shell/ev-properties.c: (setup_fonts_view):
1814
1815         Set the column title. Show the dialog only
1816         once everything is setup.
1817         Getting font info can be very slow... will
1818         prolly need to make this threaded too.
1819
1820 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1821
1822         * backend/Makefile.am:
1823         * backend/ev-document-fonts.c: (ev_document_fonts_get_type),
1824         (ev_document_fonts_get_fonts_model):
1825         * backend/ev-document-fonts.h:
1826         * data/evince-properties.glade:
1827         * pdf/ev-poppler.cc:
1828         * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new):
1829         * shell/ev-properties.h:
1830         * shell/ev-window.c: (ev_window_cmd_file_properties):
1831
1832         Implement fonts list. Defined out for now, since it depends
1833         on a not yet committed poppler patch.
1834
1835 Fri Jun  3 21:07:57 2005  Jonathan Blandford  <jrb@redhat.com>
1836
1837         * shell/ev-view.c (get_page_extents): other_page isn't necessarily
1838         page + 1.
1839
1840         * shell/ev-window.c: Make sure we add the timeout when we get a
1841         focus-in event.
1842
1843         * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to
1844         adjustment->value before calculating the zoom factor to average
1845         out all of our rounding errors.  The page no longer 'drifts' when
1846         resizing.
1847
1848 2005-06-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1849
1850         * data/evince-properties.glade:
1851         * shell/ev-properties.c: (ev_properties_format_date),
1852         (set_property):
1853         
1854         Labels don't expand when the dialogue is resized.
1855         strftime result needs to be converted to UTF-8. Thanks
1856         to Christian Persch <chpe@gnome.org>.
1857
1858 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1859
1860         * data/evince-properties.glade:
1861
1862         Hide the fonts tab
1863
1864 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
1865
1866         * backend/ev-document-info.h:
1867         * backend/ev-document.c: (ev_document_info_free):
1868         * data/evince-properties.glade:
1869         * pdf/ev-poppler.cc:
1870         * ps/ps-document.c: (ps_document_get_info):
1871         * shell/ev-properties.c: (ev_properties_format_date),
1872         (set_property), (ev_properties_new):
1873         * shell/ev-properties.h:
1874         * shell/ev-window.c: (ev_window_cmd_file_properties):
1875
1876         Rework properties code to take only EvPropertyInfo
1877         in the constructor so that it can be useful for
1878         nautilus plugin too.
1879
1880         Deal with backends that doesnt support some properties.
1881         Make set property code generic.
1882
1883 2005-06-04  Christian Persch <chpe@gnome.org>
1884
1885         * data/evince-properties.glade:
1886
1887         fix spacings, make resizeable, and make data labels
1888         selectable + ellipsised
1889
1890 2005-06-03  Marco Pesenti Gritti <mpg@redhat.com>
1891
1892         * backend/ev-document-info.h:
1893         * data/Makefile.am:
1894         * data/evince-ui.xml:
1895         * pdf/ev-poppler.cc:
1896         * shell/Makefile.am:
1897         * shell/ev-window.c: (update_action_sensitivity),
1898         (ev_window_cmd_file_properties):
1899
1900         Initial go at file properties. Patch by
1901         Emil Soleyman-Zomalan <emil@soleyman.com>.
1902         Needs love see #169583
1903
1904 2005-06-02  Marco Pesenti Gritti <mpg@redhat.com>
1905
1906         * ps/ps-document.c: (output):
1907         * ps/ps.c: (psscan):
1908
1909         Try to render even if psscan fails.
1910
1911 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
1912
1913         * ps/ps.c: (psscan), (pscopydoc):
1914
1915         Port buffered reading code from gv
1916
1917 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
1918
1919         * ps/ps-document.c: (interpreter_message), (output):
1920
1921         Do not fail on interpreter messages
1922
1923 2005-06-01  Marco Pesenti Gritti <mpg@redhat.com>
1924
1925         * backend/ev-document-misc.c:
1926         (ev_document_misc_get_thumbnail_frame):
1927
1928         Pages can be 0 x 0, dont assert on this case
1929
1930 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1931
1932         * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
1933         (ev_sidebar_links_class_init), (ev_sidebar_links_set_document):
1934
1935         Correctly manage our reference on document. Finally the reload
1936         huge leak is gone...
1937
1938 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1939
1940         * ps/ps-document.c: (ps_document_dispose):
1941
1942         Forgot to chain it to the parent. Thanks chpe.
1943
1944 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1945
1946         * ps/ps-document.c: (ps_document_dispose),
1947         (ps_document_class_init), (stop_interpreter), (document_load):
1948
1949         Cleanup dispose a bit. Dont leak the whole pixmap.
1950
1951 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1952
1953         * pdf/ev-poppler.cc:
1954
1955         Release the poppler document on dispose
1956
1957 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1958
1959         * shell/ev-view.c: (ev_view_set_document):
1960
1961         Release ref on the pixbuf cache when changing
1962         document.
1963
1964 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1965
1966         * ps/ps-document.c: (ps_document_get_info):
1967
1968         Fix a double free
1969
1970 2005-05-31  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
1971
1972         * backend/ev-page-cache.c: (ev_page_cache_init),
1973         (_ev_page_cache_new), (ev_page_cache_get_max_label_chars):
1974         * backend/ev-page-cache.h:
1975         * shell/ev-page-action.c: (page_changed_cb):
1976         
1977         Set page action entry width depending on labels width. Fix
1978         for bug 305202.
1979
1980 2005-05-31  Marco Pesenti Gritti  <mpg@redhat.com>
1981
1982         * backend/ev-link.c: (ev_link_class_init):
1983
1984         Allow -1 as page value (error)
1985
1986 2005-05-31  Marco Pesenti Gritti <mpg@redhat.com>
1987
1988         * shell/ev-sidebar-thumbnails.c:
1989         (ev_sidebar_thumbnails_set_document):
1990         * shell/ev-view.c: (scroll_to_current_page),
1991         (view_set_adjustment_values), (ev_view_set_scroll_adjustments),
1992         (page_changed_cb), (on_adjustment_value_changed),
1993         (ev_view_set_document):
1994
1995         Slightly modified patch by Nickolay V. Shmyrev  <nshmyrev@yandex.ru>.
1996         Fix bug 305377
1997
1998 2005-05-29  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
1999
2000         * configure.ac:
2001         * djvu/djvu-document.c: (djvu_document_get_page_size):
2002
2003         Require djvulibre CVS. Now djvu loading is much faster. Fix for
2004         bug 301993.
2005
2006 Sat May 28 07:38:03 2005  Jonathan Blandford  <jrb@redhat.com>
2007
2008         * shell/ev-view.c (draw_one_page): modify the expose handling to
2009         get the shadows.
2010
2011         * shell/ev-window.c (update_action_sensitivity): Respect
2012         permissions field.  Kowtow to the man.
2013
2014         * pdf/ev-poppler.cc: Get the permissions field.
2015
2016         * tiff/*c: Make a tiny bit more robust.
2017
2018 2005-05-26  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2019
2020         * djvu/djvu-document.c:
2021         
2022         Pop messages from djvu context message queue.
2023
2024 2005-05-24  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2025
2026         * configure.ac, Makefile.am, shell/Makefile.am:
2027         * tiff/Makefile.am, shell/ev-document-types.c:
2028         
2029         Cleanup tiff configure checks. Fix for bug 305218.
2030
2031 2005-05-24  Maxim V. Dziumanenko <mvd@mylinux.ua>
2032
2033         * configure.ac: Added "uk" to ALL_LINGUAS.
2034
2035 2005-05-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2036
2037         * cut-n-paste/zoom-control/ephy-zoom.c:
2038         (ephy_zoom_get_changed_zoom_level):
2039         * cut-n-paste/zoom-control/ephy-zoom.h:
2040         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_set_property),
2041         (ev_view_get_property), (ev_view_class_init), (ev_view_set_zoom):
2042         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2043         (ev_window_cmd_view_zoom_out), (ev_window_zoom_changed_cb),
2044         (zoom_control_changed_cb), (ev_window_init):
2045         
2046         Fix minor points related to moving best fit up. Introduce
2047         "zoom" property and make zoom control change it's value on
2048         notify::zoom signals. Fix for 305080.
2049
2050 2005-05-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2051
2052         * data/evince-ui.xml:
2053         * shell/ev-window.c: (set_view_actions_sensitivity):
2054         
2055         Use + and - as accels for zoom in and zoom out. Fix for 305001.
2056
2057 2005-05-22  Marco Pesenti Gritti  <mpg@redhat.com>
2058
2059         * configure.ac:
2060
2061         Depends on poppler 0.3.2
2062
2063 2005-05-22  Marco Pesenti Gritti  <mpg@redhat.com>
2064
2065         * cut-n-paste/recent-files/egg-recent-item.c:
2066         (egg_recent_item_get_short_name):
2067         * cut-n-paste/toolbar-editor/Makefile.am:
2068         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2069         (new_pixbuf_from_widget):
2070         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2071         * cut-n-paste/toolbar-editor/egg-marshal.c:
2072         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2073         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2074
2075         Sync
2076
2077 Sat May 21 23:18:30 2005  Jonathan Blandford  <jrb@redhat.com>
2078
2079         * tiff/tiff-document.c: Rough TIFF backend.
2080
2081 2005-05-21  Marco Pesenti Gritti  <mpg@redhat.com>
2082
2083         * NEWS:
2084         * configure.ac:
2085         * cut-n-paste/toolbar-editor/Makefile.am:
2086
2087         Release 0.3.1
2088
2089 2005-05-21  Marco Pesenti Gritti  <mpg@redhat.com>
2090
2091         * shell/ev-view.c: (jump_to_find_result), (ev_view_can_find_next),
2092         (ev_view_find_next), (ev_view_find_previous):
2093
2094         Remove the locks around get_n_results   
2095
2096 2005-05-21  Juerg Billeter  <j@bitron.ch>
2097
2098         * pdf/ev-poppler.c: (pdf_document_ps_exporter_begin):
2099
2100         Pass correct number of pages to poppler.
2101
2102 2005-05-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2103
2104         * configure.ac:
2105         * data/Makefile.am:
2106         * data/evince.desktop.in: 
2107         * data/evince.desktop.in.in:
2108         * po/POTFILES.in:
2109         
2110         Add conditionally dvi and djvu to desktop types. Fix for 304658.
2111
2112 Sat May 21 00:21:30 2005  Jonathan Blandford  <jrb@redhat.com>
2113
2114         * shell/ev-view.c: (view_update_adjustments),
2115         (view_set_adjustment_values): cast adjustmen->value to (int)
2116         before using it.  Otherwise, we get off by a pixel in some
2117         situations.
2118
2119         (draw_one_page): Draw the border on expose.
2120
2121 Fri May 20 22:05:25 2005  Jonathan Blandford  <jrb@redhat.com>
2122
2123         * *shell/ev-view.c: Patch from Nickolay V. Shmyrev to reset the
2124         adjustment when the mode changes, #304923
2125
2126 Fri May 20 02:00:03 2005  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2127
2128         * shell/ev-view.c: Use gdk_widget_queue_draw to remove
2129         flickering on resize but still use gdk_window_scroll on
2130         scrolling
2131
2132 Fri May 20 01:46:57 2005  Jonathan Blandford  <jrb@redhat.com>
2133
2134         * shell/ev-view.c: Patch from Nickolay Shmyrev to fix the -p
2135         option, #170458
2136
2137 Fri May 20 01:27:01 2005  Jonathan Blandford  <jrb@redhat.com>
2138
2139         * shell/ev-view.c: Patch from Nickolay Shmyrev to to scroll to
2140         second page on page_changed if possible, #304669
2141
2142 Fri May 20 01:07:15 2005  Jonathan Blandford  <jrb@redhat.com>
2143
2144         * shell/ev-view.c (view_update_adjustments): Use gdk_window_scroll
2145         instead of gtk_widget_queue_draw.  Massive speedups in scrolling.
2146
2147 Fri May 20 01:05:10 2005  Jonathan Blandford  <jrb@redhat.com>
2148
2149         * .cvsignore:
2150         * shell/ev-view.c:(ev_view_size_allocate), (ev_view_class_init),
2151         (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2152         (ev_view_zoom_for_size_presentation),
2153         (ev_view_zoom_for_size_continuous_and_dual_page),
2154         (ev_view_zoom_for_size_continuous),
2155         (ev_view_zoom_for_size_dual_page),
2156         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size):
2157         * shell/ev-view.h:
2158         * shell/ev-window.c: (update_view_size),
2159         (ev_window_sizing_mode_changed_cb):
2160
2161         Patch from Nickolay Shmyrev <nshmyrev@yandex.ru> to handle
2162         the scrollbars.  It's not 100% right, but it's much closer.  Kills
2163         an infinite loop, #304769
2164
2165
2166 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
2167
2168         * data/evince-ui.xml:
2169         * shell/ev-view.c: (ev_view_scroll_view), (ev_view_class_init):
2170         * shell/ev-window.c: (set_view_actions_sensitivity):
2171
2172         Make PgUp/Down behave like Space
2173
2174 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
2175
2176         * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2177         * backend/ev-ps-exporter.h:
2178         * pdf/ev-poppler.cc:
2179         * ps/ps-document.c: (ps_document_ps_export_begin):
2180         * shell/ev-print-job.c: (idle_print_handler):
2181
2182         Adapt to new poppler api
2183
2184 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
2185
2186         * cut-n-paste/zoom-control/ephy-zoom-control.c:
2187         (ephy_zoom_control_init):
2188
2189         Translate zoom levels
2190
2191 2005-05-18  Marco Pesenti Gritti <mpg@redhat.com>
2192
2193         * cut-n-paste/zoom-control/ephy-zoom.c:
2194         (ephy_zoom_get_zoom_level_index):
2195
2196         Fix current zoom -> zoom control match
2197
2198 2005-05-18  James Bowes  <bowes@cs.dal.ca>
2199
2200         * shell/ev-window.c: (ev_window_init): Give focus to the ev-view,
2201         rather than the scrolled_window that it's in. Fixes bug #304655.
2202
2203 Tue May 17 22:54:17 2005  Jonathan Blandford  <jrb@redhat.com>
2204
2205         * shell/ev-view.c: (view_update_adjustments),
2206         (view_set_adjustment_values), (view_update_range_and_current_page),
2207         (view_scroll_to_page), (set_scroll_adjustment),
2208         (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad),
2209         (ev_view_scroll), (ev_view_scroll_view),
2210         (ensure_rectangle_is_visible), (find_page_at_location),
2211         (get_link_at_location), (go_to_link), (status_message_from_link),
2212         (ev_view_size_request_continuous_dual_page),
2213         (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize),
2214         (ev_view_unrealize), (ev_view_expose_event),
2215         (ev_view_button_press_event), (ev_view_motion_notify_event),
2216         (ev_view_button_release_event), (ev_gdk_color_to_rgb),
2217         (draw_rubberband), (highlight_find_results), (draw_one_page),
2218         (ev_view_finalize), (ev_view_destroy), (ev_view_class_init),
2219         (ev_view_init), (find_changed_cb), (page_changed_cb),
2220         (on_adjustment_value_changed), (ev_view_new),
2221         (ev_view_set_document), (ev_view_set_zoom),
2222         (ev_view_set_continuous), (ev_view_set_dual_page),
2223         (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out),
2224         (zoom_for_size_fit_width), (zoom_for_size_best_fit),
2225         (ev_view_zoom_for_size_presentation),
2226         (ev_view_zoom_for_size_continuous_dual_page),
2227         (ev_view_zoom_for_size_continuous),
2228         (ev_view_zoom_for_size_dual_page),
2229         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2230         (ev_view_get_status), (ev_view_set_status),
2231         (update_find_status_message), (ev_view_get_find_status),
2232         (ev_view_set_find_status), (jump_to_find_result),
2233         (jump_to_find_page), (compute_selections), (clear_selection),
2234         (ev_view_select_all), (get_selected_text), (ev_view_copy),
2235         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2236         (ev_view_update_primary_selection),
2237         (ev_view_create_invisible_cursor), (ev_view_set_cursor):
2238         * shell/ev-view.h:
2239         * shell/ev-window.c: (ev_window_open_page_label),
2240         (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb),
2241         (ev_window_init):
2242         * shell/ev-window.h:
2243         * shell/main.c: (load_files):
2244
2245         Massive code clean up from Nickolay Shmyrev.  Keep page offset
2246         when resizing.  Remove the bin_window().  Also, patch from James
2247         Bowes to fix command line page, #300641
2248         
2249 2005-05-17  Marco Pesenti Gritti  <mpg@redhat.com>
2250
2251         * data/evince-ui.xml:
2252         * shell/ev-view.c:
2253         * shell/ev-view.h:
2254         * shell/ev-window.c: (update_action_sensitivity):
2255
2256         Get rid of View->Normal Size, it's just confusing
2257
2258 Tue May 17 00:51:21 2005  Jonathan Blandford  <jrb@redhat.com>
2259
2260         * backend/ev-document-info.h:
2261         * backend/ev-document.c: (ev_document_info_free): Free the
2262         EvDocumentInfo.
2263
2264         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
2265         (clear_range), (add_range), (update_visible_range),
2266         (adjustment_changed_cb), (ev_sidebar_thumbnails_init),
2267         (ev_sidebar_thumbnails_set_document):
2268         * shell/ev-window.c: (ev_window_setup_document): Only render the
2269         visible thumbnails.  It takes an instant to render, but it uses
2270         much less memory.
2271
2272 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
2273
2274         * shell/ev-sidebar-links.c: (popup_menu_cb):
2275
2276         Select first item
2277
2278 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
2279
2280         * lib/Makefile.am:
2281         * shell/ev-sidebar-links.c: (build_popup_menu), (popup_menu_cb),
2282         (button_press_cb), (ev_sidebar_links_construct):
2283
2284         Show the popup menu also on keybindings
2285
2286 2005-05-16  Marco Pesenti Gritti  <mpg@redhat.com>
2287
2288         * shell/ev-window.c: (ev_window_print), (ev_window_print_range):
2289         * shell/ev-window.h:
2290
2291         Expose api to print a range (with dialog). Make private _print use
2292         it.
2293
2294         * shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
2295         (ev_sidebar_links_construct):
2296
2297         Show a print context menu on linkx, it prints the selected
2298         section.
2299
2300 2005-05-15  Carlos Garcia Campos <carlosgc@gnome.org>
2301
2302         * shell/ev-sidebar.c: make the drop down menu as width as the toggle
2303         button.
2304
2305 2005-05-12  Marco Pesenti Gritti  <mpg@redhat.com>
2306
2307         * AUTHORS:
2308
2309         Update
2310
2311         * shell/ev-window.c: (build_comments_string),
2312         (ev_window_cmd_help_about):
2313
2314         Show poppler version/backend and authors
2315
2316 2005-05-11  Marco Pesenti Gritti  <mpg@redhat.com>
2317
2318         * cut-n-paste/zoom-control/ephy-zoom.c:
2319         (ephy_zoom_get_zoom_level_index):
2320         * cut-n-paste/zoom-control/ephy-zoom.h:
2321
2322         Move the best fit items at the top of the list
2323
2324 2005-05-11  Marco Pesenti Gritti  <mpg@redhat.com>
2325
2326         * shell/ev-marshal.list:
2327         * shell/ev-page-action.c: (ev_page_action_widget_class_init),
2328         (activate_cb), (match_selected_cb), (activate_link_cb),
2329         (connect_proxy), (ev_page_action_class_init):
2330         * shell/ev-page-action.h:
2331
2332         Use signals to notify action activation. Hopefully
2333         I did not break completion since I cant test...
2334
2335         * shell/ev-window.c: (activate_link_cb), (activate_label_cb),
2336         (register_custom_actions):
2337
2338         Connect to page selector actions and also grab focus on
2339         the view when activated.
2340
2341 Wed May 11 01:18:29 2005  Jonathan Blandford  <jrb@redhat.com>
2342
2343         * pdf/ev-poppler.cc:
2344         * backend/ev-page-cache.c: make page size calculation consistent
2345         and set it to (int)( width * scale + 0.5).  This makes the weird
2346         line going through the middle of the page go away.
2347
2348         * shell/ev-view.c: move painting the background page after
2349         checking the expose area covers us.
2350
2351 2005-05-11  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2352
2353         * data/evince-password.glade:
2354         
2355         Mark labels as not translatable. Fix for bug 302842.
2356
2357 2005-05-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
2358
2359         * configure.ac: Added "es" to ALL_LINGUAS.
2360
2361 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2362
2363         * data/evince-toolbar.xml:
2364         * shell/ev-window.c: (update_action_sensitivity),
2365         (ev_window_setup_document), (ev_window_set_page_mode),
2366         (ev_window_init):
2367
2368         Remove some leftover code from jrb first continous
2369         attempt. Use the new actions, we still need good icons
2370         though...
2371
2372 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2373
2374         * shell/ev-page-action.c: (update_pages_label), (connect_proxy):
2375
2376         Update label when connecting proxy. Fix a warning with NULL
2377         page_cache.
2378
2379 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2380
2381         * data/evince-ui.xml:
2382         * shell/ev-page-action.c: (ev_page_action_grab_focus):
2383         * shell/ev-page-action.h:
2384         * shell/ev-window.c: (ev_window_cmd_focus_page_selector):
2385
2386         Add mnemonic for edit toolbar.
2387         ctrl+l focus the page entry.
2388
2389 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2390
2391         * lib/Makefile.am:
2392         * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
2393         (ev_window_init):
2394         * shell/main.c: (main):
2395
2396         Put the toolbar xml in evince own dot dir
2397
2398 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2399
2400         * shell/ev-window.c: (ev_window_init):
2401
2402         Make the toolbar not removable
2403
2404 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2405
2406         * data/evince-ui.xml:
2407         * shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
2408         * shell/ev-sidebar-links.h:
2409         * shell/ev-sidebar-thumbnails.c:
2410         (ev_sidebar_thumbnails_get_treeview):
2411         * shell/ev-sidebar-thumbnails.h:
2412         * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
2413         (ev_view_class_init):
2414         * shell/ev-view.h:
2415         * shell/ev-window.c: (update_action_sensitivity),
2416         (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
2417         (set_view_actions_sensitivity), (view_actions_focus_in_cb),
2418         (view_actions_focus_out_cb), (enable_view_actions_for_widget),
2419         (ev_window_init):
2420
2421         This is evil... Make space/backspace global accelerators but
2422         enable them only for some widgets (sidebars and view).
2423         I dont like it, but I dont know a better way... :/
2424
2425 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2426
2427         * shell/ev-page-action.c: (ev_page_action_widget_set_page_cache),
2428         (ev_page_action_widget_finalize),
2429         (ev_page_action_widget_class_init), (update_page_cache):
2430
2431         Keep a weak reference on proxy->page_cache so that we
2432         dont try to disconnect the signal if the object is already
2433         gone. Maybe there is a better way to cleanup reference handling
2434         in page action though...
2435
2436 2005-05-10  Juerg Billeter  <j@bitron.ch>
2437
2438         * backend/ev-ps-exporter.c: (ev_ps_exporter_begin):
2439         * backend/ev-ps-exporter.h:
2440         * pdf/ev-poppler.cc: (pdf_document_ps_exporter_begin):
2441         * ps/ps-document.c: (ps_document_ps_export_begin):
2442         
2443         Change api to pass print range to ps_exporter_begin. The pdf backend
2444         requires this information.
2445         
2446         * shell/ev-print-job.c: (idle_print_handler):
2447         
2448         Adapt to api change
2449
2450 2005-05-10  Juerg Billeter  <j@bitron.ch>
2451
2452         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
2453         (idle_print_handler)
2454         * shell/ev-window.c: (ev_window_print):
2455
2456         Support printing page range, based on patch by Amaury Jacquot
2457
2458 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2459
2460         * data/evince-toolbar.xml:
2461
2462         Add zoom control to available items
2463
2464 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2465
2466         * shell/ev-window.c: (update_action_sensitivity):
2467
2468         Set slash action insensitive when appropriate
2469
2470 2005-05-10  Christian Persch <chpe@gnome.org>
2471
2472         * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item):
2473
2474         Fix warning on the overflow menu
2475
2476 2005-05-10  Marco Pesenti Gritti  <mpg@redhat.com>
2477
2478         * shell/ev-window.c: (sanity_check_uri), (ev_window_open):
2479
2480         Check for uri correctness/existence
2481
2482 2005-05-09  Juerg Billeter  <j@bitron.ch>
2483
2484         * shell/ev-window.c: (using_postscript_printer):
2485
2486         LPD printers use postscript, too
2487
2488 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2489
2490         * shell/ev-window.c: (register_custom_actions):
2491
2492         The zoom one is actually sort of useful,
2493         put it back
2494
2495 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2496
2497         * shell/ev-window.c: (register_custom_actions):
2498
2499         Hide page/zoom controls from overflow, they
2500         are useless.
2501
2502 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2503
2504         * cut-n-paste/update-from-egg.sh:
2505         
2506         Share it between all cut-n-paste subdirs
2507
2508         * cut-n-paste/recent-files/Makefile.am:
2509
2510         Fix to use "global" update-from-egg.sh
2511
2512         * cut-n-paste/recent-files/egg-recent-model.c:
2513         (egg_recent_model_changed_timeout), (egg_recent_model_finalize):
2514         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2515         (egg_recent_view_gtk_clear), (egg_recent_view_gtk_set_list),
2516         (egg_recent_view_gtk_finalize), (egg_recent_view_gtk_set_menu):
2517
2518         Update from libegg
2519
2520         * cut-n-paste/toolbar-editor/Makefile.am:
2521
2522         Fix to use "global" update-from-egg.sh
2523
2524         * cut-n-paste/toolbar-editor/eggmarshalers.list:
2525
2526         Update from libegg
2527
2528 2005-05-09  Marco Pesenti Gritti <mpg@redhat.com>
2529
2530         * configure.ac:
2531         * cut-n-paste/Makefile.am:
2532         * cut-n-paste/recent-files/Makefile.am:
2533         * cut-n-paste/toolbar-editor/.cvsignore:
2534         * cut-n-paste/toolbar-editor/Makefile.am:
2535         * cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
2536         (egg_editable_toolbar_get_type), (get_toolbar_position),
2537         (get_n_toolbars), (get_dock_nth), (get_toolbar_nth), (find_action),
2538         (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb),
2539         (drag_data_get_cb), (set_drag_cursor), (unset_drag_cursor),
2540         (set_item_drag_source), (create_item_from_action), (create_item),
2541         (data_is_separator), (drag_data_received_cb), (remove_toolbar_cb),
2542         (popup_toolbar_context_menu_cb), (free_dragged_item),
2543         (toolbar_drag_drop_cb), (toolbar_drag_motion_cb),
2544         (toolbar_drag_leave_cb), (create_dock), (set_fixed_style),
2545         (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed),
2546         (update_fixed), (toolbar_added_cb), (toolbar_removed_cb),
2547         (item_added_cb), (item_removed_cb),
2548         (egg_editable_toolbar_construct),
2549         (egg_editable_toolbar_disconnect_model),
2550         (egg_editable_toolbar_deconstruct),
2551         (egg_editable_toolbar_set_model),
2552         (egg_editable_toolbar_set_ui_manager),
2553         (egg_editable_toolbar_set_property),
2554         (egg_editable_toolbar_get_property),
2555         (egg_editable_toolbar_class_init), (egg_editable_toolbar_init),
2556         (egg_editable_toolbar_finalize), (egg_editable_toolbar_new),
2557         (egg_editable_toolbar_new_with_model),
2558         (egg_editable_toolbar_get_edit_mode),
2559         (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_show),
2560         (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed),
2561         (egg_editable_toolbar_set_drag_dest), (fake_expose_widget),
2562         (new_pixbuf_from_widget), (new_separator_pixbuf),
2563         (update_separator_image), (style_set_cb),
2564         (_egg_editable_toolbar_new_separator_image),
2565         (egg_editable_toolbar_get_model):
2566         * cut-n-paste/toolbar-editor/egg-editable-toolbar.h:
2567         * cut-n-paste/toolbar-editor/egg-marshal.c:
2568         * cut-n-paste/toolbar-editor/egg-toolbar-editor.c:
2569         (egg_toolbar_editor_get_type), (compare_actions), (find_action),
2570         (egg_toolbar_editor_set_ui_manager), (toolbar_removed_cb),
2571         (egg_toolbar_editor_set_model), (egg_toolbar_editor_set_property),
2572         (egg_toolbar_editor_get_property), (egg_toolbar_editor_class_init),
2573         (egg_toolbar_editor_finalize), (egg_toolbar_editor_new),
2574         (drag_begin_cb), (drag_end_cb), (editor_drag_data_received_cb),
2575         (editor_drag_data_delete_cb), (drag_data_get_cb),
2576         (elide_underscores), (set_drag_cursor), (event_box_realize_cb),
2577         (editor_create_item), (update_editor_sheet), (setup_editor),
2578         (egg_toolbar_editor_init), (egg_toolbar_editor_add_action),
2579         (parse_item_list), (model_has_action), (update_actions_list),
2580         (egg_toolbar_editor_load_actions):
2581         * cut-n-paste/toolbar-editor/egg-toolbar-editor.h:
2582         * cut-n-paste/toolbar-editor/egg-toolbars-model.c:
2583         (egg_toolbars_model_get_type), (egg_toolbars_model_to_xml),
2584         (safe_save_xml), (egg_toolbars_model_save), (toolbars_toolbar_new),
2585         (toolbars_item_new), (free_toolbar_node), (free_item_node),
2586         (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags),
2587         (egg_toolbars_model_add_separator), (impl_add_item),
2588         (parse_item_list), (egg_toolbars_model_add_toolbar),
2589         (parse_toolbars), (egg_toolbars_model_load), (impl_get_item_id),
2590         (impl_get_item_data), (impl_get_item_type),
2591         (_egg_accumulator_STRING), (egg_toolbars_model_class_init),
2592         (egg_toolbars_model_init), (free_toolbar),
2593         (egg_toolbars_model_finalize), (egg_toolbars_model_new),
2594         (egg_toolbars_model_remove_toolbar),
2595         (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
2596         (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth),
2597         (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth),
2598         (egg_toolbars_model_add_item), (egg_toolbars_model_get_item_id),
2599         (egg_toolbars_model_get_item_data),
2600         (egg_toolbars_model_get_item_type):
2601         * cut-n-paste/toolbar-editor/egg-toolbars-model.h:
2602         * cut-n-paste/toolbar-editor/eggmarshalers.list:
2603         * data/Makefile.am:
2604         * data/evince-toolbar.xml:
2605         * data/evince-ui.xml:
2606         * data/hand-open.png:
2607         * po/POTFILES.in:
2608         * shell/Makefile.am:
2609         * shell/ev-window.c: (update_chrome_visibility),
2610         (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar),
2611         (ev_window_dispose), (ev_window_init):
2612
2613         Implement epiphany like toolbar editor. Based on patch by
2614         Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2615
2616 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2617
2618         * shell/ev-sidebar-thumbnails.c: (page_changed_cb):
2619
2620         Use set_cursor instead of set_selection, so that
2621         the keyboard focus moves too.
2622
2623 2005-05-09  Aleksey Kliger <akliger@gmail.com>
2624
2625         * dvi/mdvi-lib/tfmfile.c: (lookup_font_metrics):
2626
2627         Fix infinite loop when loading Type1 fonts
2628
2629 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2630
2631         * data/evince-ui.xml:
2632         * shell/ev-window.c:
2633
2634         Slash -> Find
2635
2636 2005-05-09  Thomas de Grenier de Latour <degrenier@easyconnect.fr>
2637
2638         * configure.ac:
2639
2640         Make --disable really disable
2641
2642 2005-05-07  Juerg Billeter  <j@bitron.ch>
2643
2644         * backend/ev-page-cache.c: (ev_page_cache_set_page_label):
2645
2646         Compare page labels even without has_labels set, fixes setting page
2647         with entry
2648
2649 2005-05-09  Marco Pesenti Gritti  <mpg@redhat.com>
2650
2651         * shell/ev-view.c: (ev_view_create_invisible_cursor),
2652         (ev_view_set_cursor), (ev_view_button_press_event),
2653         (ev_view_motion_notify_event), (ev_view_button_release_event),
2654         (ev_view_init):
2655
2656         Implement middle button scrolling. Based on a patch
2657         by Tommi Komulainen <tommi.komulainen@iki.fi>.
2658
2659 2005-05-08  Marco Pesenti Gritti  <mpg@redhat.com>
2660
2661         * shell/ev-document-types.c: (get_slow_mime_type),
2662         (get_document_type_from_mime), (ev_document_type_lookup):
2663         * shell/ev-document-types.h:
2664
2665         Change api to lookup from uri. Do fast lookup first, if the
2666         type is unknown try with data sniffing.
2667
2668         * shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
2669         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
2670
2671         Adapt to api change
2672
2673 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2674
2675         * thumbnailer/Makefile.am:
2676
2677         Fix distcheck
2678
2679 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2680
2681         * NEWS:
2682         * configure.ac:
2683
2684         Release 0.3.0
2685
2686         * data/evince-ui.xml:
2687
2688         Hide presentation mode for now
2689
2690         * shell/ev-view.c: (highlight_find_results):
2691
2692         Show current find selection only on current page
2693
2694 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2695
2696         * shell/ev-view.c: (ev_view_select_all):
2697
2698         Compute size of the actual page, not of
2699         the current one.
2700
2701 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2702
2703         * shell/ev-view.c: (clear_selection), (ev_view_finalize),
2704         (view_rect_to_doc_rect), (compute_selections),
2705         (ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
2706         (ev_view_copy), (ev_view_primary_get_cb),
2707         (ev_view_primary_clear_cb), (ev_view_update_primary_selection),
2708         (ev_view_button_press_event), (ev_view_motion_notify_event),
2709         (ev_view_button_release_event), (page_changed_cb):
2710
2711         Fix text selection
2712
2713 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
2714
2715         * shell/ev-view.c: (compute_border), (get_page_extents),
2716         (doc_rect_to_view_rect), (highlight_find_results),
2717         (ev_view_bin_expose), (ev_view_select_all),
2718         (ev_view_motion_notify_event), (update_find_status_message),
2719         (jump_to_find_result), (jump_to_find_page):
2720
2721         First go at fixing search, still buggy
2722
2723 2005-05-04  Kristian Høgsberg  <krh@redhat.com>
2724
2725         * shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
2726         dropdown box and button at the top of the sidebar.
2727
2728 2005-05-02  James Bowes  <bowes@cs.dal.ca>
2729
2730         * configure.ac: Output zoom-control Makefile.
2731         * cut-n-paste/Makefile.am: build zoom-control subdir.
2732         * cut-n-paste/zoom-control/ephy-zoom-action.c:
2733         * cut-n-paste/zoom-control/ephy-zoom-action.h:
2734         * cut-n-paste/zoom-control/ephy-zoom-control.c:
2735         * cut-n-paste/zoom-control/ephy-zoom-control.h:
2736         * cut-n-paste/zoom-control/ephy-zoom.c:
2737         * cut-n-paste/zoom-control/ephy-zoom.h: New files imported
2738         from epiphany, and modified to add a separator into the menu.
2739         * cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
2740         * data/evince-ui.xml: Replace old zoom toolbar actions with new
2741         zoom-control action.
2742         * shell/Makefile.am: Include zoom-control flags.
2743         * shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
2744         (ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
2745         (ev_view_zoom_for_size_presentation),
2746         (ev_view_zoom_for_size_continuous_and_dual_page),
2747         (ev_view_zoom_for_size_continuous),
2748         (ev_view_zoom_for_size_dual_page),
2749         (ev_view_zoom_for_size_single_page), (ev_view_zoom_normal): 
2750         s/ev_view_zoom/ev_view_set_zoom/ and make public, add 
2751         ev_view_get_zoom and ev_view_get_sizing_mode.
2752         * shell/ev-view.h:
2753         * shell/ev-window.c: (update_action_sensitivity),
2754         (update_sizing_buttons), (zoom_control_changed_cb),
2755         (register_custom_actions): Initialize and use the zoom-control 
2756         widget.
2757
2758 Sun May  1 00:46:47 2005  Jonathan Blandford  <jrb@redhat.com>
2759
2760         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
2761         preview cache back to 1.  Don't know when it got set to 0.
2762         
2763         * shell/ev-view.c: (compute_border), (ev_view_realize),
2764         (draw_one_page), (ev_view_set_property), (ev_view_get_property),
2765         (ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
2766         (ev_view_get_fullscreen), (ev_view_set_presentation),
2767         (ev_view_get_presentation), (ev_view_set_sizing_mode),
2768         (ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
2769         * shell/ev-view.h:
2770         * shell/ev-window.c:
2771         (update_chrome_visibility),
2772         (ev_window_cmd_continuous), (ev_window_cmd_dual),
2773         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2774         (update_document_mode), (ev_window_update_fullscreen_action),
2775         (ev_window_fullscreen), (ev_window_unfullscreen),
2776         (ev_window_cmd_view_fullscreen),
2777         (ev_window_update_presentation_action),
2778         (ev_window_run_presentation), (ev_window_stop_presentation),
2779         (ev_window_cmd_view_presentation), (ev_window_state_event),
2780         (ev_window_focus_in_event), (ev_window_focus_out_event),
2781         (ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
2782         * data/evince-ui.xml: Initial presentation mode.  We should
2783         probably hide this until it's done, as it's quite rough.  Also,
2784         change full-screen to fullscreen and add two getters to EvView.
2785
2786 2005-04-29  Marco Pesenti Gritti  <mpg@redhat.com>
2787
2788         * shell/ev-page-action.c: (update_page_cache),
2789         (ev_page_action_dispose):
2790         * shell/ev-window.c: (destroy_fullscreen_popup),
2791         (ev_window_create_fullscreen_popup):
2792
2793         Use connect_object rather than explicitly
2794         disconnect on dispose.
2795
2796 2005-04-29  Marco Pesenti Gritti  <mpg@redhat.com>
2797
2798         * shell/ev-page-action.c: (update_page_cache),
2799         (ev_page_action_dispose):
2800
2801 2005-04-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2802
2803         * backend/ev-page-cache.c: (_ev_page_cache_new),
2804         (ev_page_cache_set_page_label),
2805         (ev_page_cache_has_nonnumeric_page_labels):
2806         * backend/ev-page-cache.h:
2807         * shell/ev-page-action.c: (update_pages_label):
2808         
2809         If all page labels are numeric, fallback to default
2810         way to display number of pages. See bug 173185.
2811
2812 2005-04-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2813
2814         * shell/ev-page-action.c: (ev_page_action_dispose):
2815         * shell/ev-view.c: (view_update_range_and_current_page):
2816         * shell/ev-window.c: (ev_window_dispose):
2817         
2818         Set page on scroll in continuous mode. Fixes bug 301986.
2819         Also cleanup callbacks on destroy of EvWindow and EvPageAction.
2820
2821 2005-04-26  Marco Pesenti Gritti <mpg@redhat.com>
2822
2823         * configure.ac:
2824
2825         Require poppler 0.3.0
2826
2827 2005-04-26  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2828         
2829         * shell/Makefile.am, configure.ac: Fix build problems
2830         with t1lib. Bug 301996.
2831
2832 2005-04-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2833
2834         * shell/ev-view.c: (ev_view_scroll_event):
2835         
2836         Scroll up increase zoom
2837
2838 2005-04-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2839
2840         * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init),
2841         (ev_view_set_sizing_mode),
2842         (ev_view_zoom_for_size_continuous_and_dual_page),
2843         (ev_view_zoom_for_size_continuous):
2844         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
2845         (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in),
2846         (ev_window_cmd_view_zoom_out), (ev_window_sizing_mode_changed_cb),
2847         (ev_window_init):
2848
2849         Control + Scroll does zooming, Shift + Scroll scrolls horizontally
2850         Fix for 165473 and 165472.
2851
2852 2005-04-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2853
2854         * po/POTFILES.in:
2855         * thumbnailer/Makefile.am:
2856         * thumbnailer/evince-thumbnailer-djvu.schemas.in:
2857         * thumbnailer/evince-thumbnailer-dvi.schemas.in:
2858         * thumbnailer/evince-thumbnailer.schemas.in:
2859         
2860         Make thumbnailer schemas translatable. Fix for bug 301773
2861         
2862         * thumbnailer/evince-thumbnailer-djvu.schemas:
2863         * thumbnailer/evince-thumbnailer-dvi.schemas:
2864         * thumbnailer/evince-thumbnailer.schemas:
2865
2866         Removed files
2867
2868 Sun Apr 24 01:37:39 2005  Jonathan Blandford  <jrb@redhat.com>
2869
2870         * shell/ev-view.c (ev_view_init): forgot to set this.
2871
2872 Sun Apr 24 01:07:27 2005  Jonathan Blandford  <jrb@redhat.com>
2873
2874         * shell/ev-view.c: (find_page_at_location),
2875         (get_link_at_location),
2876         (ev_view_set_show_border), (ev_view_set_spacing),
2877         (ev_view_zoom_for_size_continuous_and_dual_page),
2878         (ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
2879         Also, add a quick fix measuring of widths.  Also, removed
2880         ev_view_set_spacing and ev_view_set_show_border.
2881         
2882         * shell/ev-window.c: (ev_window_unfullscreen),
2883         (ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
2884
2885 2005-04-24  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2886
2887         * shell/ev-view.c: (view_update_range_and_current_page),
2888         (page_changed_cb):
2889         
2890         Fix crash on exit and scrolling to page in continuous view.
2891
2892 Sat Apr 23 13:13:04 2005  Jonathan Blandford  <jrb@redhat.com>
2893
2894         * TODO:
2895         * backend/ev-page-cache.c: (_ev_page_cache_new),
2896         (ev_page_cache_get_max_width_size),
2897         (ev_page_cache_get_max_height_size):
2898         * backend/ev-page-cache.h:
2899         * data/evince-ui.xml:
2900         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
2901         * shell/ev-view.c: (view_update_adjustments),
2902         (view_update_range_and_current_page), (get_bounding_box_size),
2903         (ev_view_size_request_continuous_and_dual_page),
2904         (ev_view_size_request_continuous),
2905         (ev_view_size_request_dual_page),
2906         (ev_view_size_request_single_page), (ev_view_size_request),
2907         (ev_view_size_allocate), (get_page_extents), (draw_one_page),
2908         (ev_view_bin_expose), (ev_view_expose_event),
2909         (ev_view_set_property), (ev_view_get_property),
2910         (ev_view_class_init), (ev_view_init), (ev_view_new),
2911         (page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
2912         (ev_view_set_dual_page), (ev_view_set_full_screen),
2913         (ev_view_set_presentation), (ev_view_set_sizing_mode),
2914         (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
2915         (ev_view_zoom_out), (zoom_for_size_fit_width),
2916         (zoom_for_size_best_fit),
2917         (ev_view_zoom_for_size_continuous_and_dual_page),
2918         (ev_view_zoom_for_size_continuous),
2919         (ev_view_zoom_for_size_dual_page),
2920         (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
2921         (ev_view_show_cursor), (ev_sizing_mode_get_type):
2922         * shell/ev-view.h:
2923         * shell/ev-window.c: (update_action_sensitivity),
2924         (ev_window_cmd_continuous), (ev_window_cmd_dual),
2925         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2926         (update_sizing_buttons), (ev_window_cmd_view_zoom_in),
2927         (ev_window_cmd_view_zoom_out), (update_view_size),
2928         (ev_window_set_sizing_mode), (ev_window_init):
2929
2930         Add Continuous and Dual page modes.
2931
2932 2005-04-23  James Bowes  <bowes@cs.dal.ca>
2933
2934         * dvi/dvi-document.c: (dvi_document_load),
2935         (dvi_document_thumbnails_get_thumbnail),
2936         (dvi_document_init_params): Fix up some mixups between
2937         width and height to correct thumbnail rendering.
2938
2939 2005-04-23  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2940
2941         * dvi/mdvi-lib/private.h:
2942         * dvi/mdvi-lib/setup.c: (mdvi_init_kpathsea):
2943         
2944         Suppess output for kpathsea during font generation. Thanks to
2945         James Bowes
2946
2947 Fri Apr 22 19:57:46 2005  Jonathan Blandford  <jrb@redhat.com>
2948
2949         * NEWS:
2950         * configure.ac:
2951
2952         Release 0.2.1
2953
2954         * Makefile.am: fix distcheck.
2955
2956 2005-04-23  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
2957
2958         * shell/ev-sidebar-links.c: (selection_changed_callback),
2959         (update_page_callback), (row_activated_callback),
2960         (job_finished_callback), (ev_sidebar_links_set_document):
2961         
2962         Fix for bug #169901. Double click on links expands tree.
2963
2964 2005-03-14  Bryan Clark  <clarkbw@cvs.gnome.org>
2965
2966         * shell/ev-window.c (ev_window_init): Removed fullscreen toolbar
2967         hard-coded style. Fix for bug 170111
2968
2969 2005-04-22  Kristian Høgsberg  <krh@redhat.com>
2970
2971         * shell/ev-view.c (highlight_find_results): Remove unnecessary
2972         locking.
2973
2974 2005-04-22  Bryan Clark  <clarkbw@cvs.gnome.org>
2975
2976         * thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
2977
2978 2005-04-22  Marco Pesenti Gritti  <mpg@redhat.com>
2979
2980         * pdf/ev-poppler.cc:
2981         * shell/ev-view.c: (highlight_find_results):
2982
2983         Fix find on single page documents
2984
2985 2005-04-22  Bryan Clark  <clarkbw@cvs.gnome.org>
2986
2987         * data/evince.schemas.in: fix for bug 301390
2988
2989 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
2990
2991         * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
2992         (ev_view_zoom_out), (ev_view_zoom_normal):
2993         * shell/ev-view.h:
2994         * shell/ev-window.c: (update_action_sensitivity),
2995         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
2996         (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
2997         (ev_window_cmd_view_normal_size):
2998
2999         Fix normal size zoom. Make zoom in/zoom out unsensitive when
3000         they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
3001         better than oom. 
3002
3003 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
3004
3005         * configure.ac:
3006
3007         Depend on 2.57, 2.59 doesnt seem to be necessary
3008
3009 2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>
3010
3011         * shell/ev-page-action.c: (update_pages_label), (page_changed_cb),
3012         (create_tool_item):
3013
3014         Put back total number of pages as (1 of 1234)
3015
3016 Thu Apr 21 23:37:52 2005  Jonathan Blandford  <jrb@redhat.com>
3017
3018         * shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
3019         remove the job.
3020
3021         * backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
3022         function.  This helps debugging.
3023
3024 2005-04-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3025
3026         * djvu/djvu-document.c: (djvu_document_class_init),
3027         (djvu_document_get_info), (djvu_document_document_iface_init):
3028         * dvi/dvi-document.c: (dvi_document_class_init),
3029         (dvi_document_get_info), (dvi_document_document_iface_init):
3030
3031        Dummy implementation of get_info method for dvi and djvu. Fix
3032        crashes with those backends
3033
3034 2005-04-20  Marco Pesenti Gritti <mpg@redhat.com>
3035
3036         * data/evince.desktop.in:
3037
3038         Add application/x-gzpostscript
3039
3040 2005-04-20  Bryan Clark  <clarkbw@cvs.gnome.org>
3041
3042         * data/evince.schemas.in: Added real long descriptions, 
3043         closes bug 172496 
3044
3045         * README: Added actual text, closes bug 171869
3046
3047 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
3048
3049         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3050
3051         Thumbnail page 0
3052
3053 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
3054
3055         * backend/ev-document-info.h:
3056
3057         s/GDate */GDate so we can just use g_free
3058
3059 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
3060
3061         * shell/ev-window.c: (update_document_mode),
3062         (ev_window_setup_document):
3063
3064         Show the window in fullscreen when specified by
3065         the document
3066
3067 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
3068
3069         * backend/ev-document.c: (ev_document_class_init),
3070         (ev_document_get_info), (ev_document_render_pixbuf):
3071         * backend/ev-document.h:
3072         * backend/ev-page-cache.c: (_ev_page_cache_new):
3073         * pdf/ev-poppler.cc:
3074         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
3075         (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
3076         * ps/ps-document.c: (ps_document_class_init), (document_load),
3077         (ps_document_get_info), (ps_document_document_iface_init):
3078
3079         Remove get_title from the interface, we can just use document info
3080
3081 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
3082
3083         * backend/Makefile.am:
3084         * backend/ev-document.c: (ev_document_render_get_info):
3085         * backend/ev-document.h:
3086         * pdf/ev-poppler.cc:
3087
3088         Initial support for document info. Based on jrb patch.
3089
3090 2005-04-19  Paolo Borelli <pborelli@katamail.com>
3091
3092         * shell/ev-window.c: (ev_window_state_event),
3093         (ev_window_class_init), (ev_window_init):
3094         
3095         Doesn't show resize grip when maximized. See bug #301053
3096
3097 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3098
3099         * po/POTFILES.in:
3100         
3101         ev-sidebar-thumbnails now has translatable labels
3102         
3103         * shell/Makefile.am:
3104         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
3105         (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
3106         (ev_sidebar_links_page_iface_init):
3107         * shell/ev-sidebar-links.h:
3108         * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
3109         (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
3110         (ev_sidebar_page_get_label):
3111         * shell/ev-sidebar-page.h:
3112         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
3113         (ev_sidebar_thumbnails_set_document),
3114         (ev_sidebar_thumbnails_support_document),
3115         (ev_sidebar_thumbnails_get_label),
3116         (ev_sidebar_thumbnails_page_iface_init):
3117         * shell/ev-sidebar-thumbnails.h:
3118         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
3119         (ev_sidebar_set_document):
3120         * shell/ev-sidebar.h:
3121         * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
3122         
3123         Small rework of sidebar code. Now sidebar pages should implement
3124         EvSidebarPage interface. That makes page management in EvSidebar
3125         easier. See bug #164811 for details
3126
3127 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3128
3129         * shell/ev-application.c: (ev_application_open):
3130         * shell/ev-document-types.c:
3131         
3132         Fix build error and small problem with application exit
3133
3134 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3135
3136         * thumbnailer/Makefile.am:
3137         * thumbnailer/evince-thumbnailer-djvu.schemas:
3138         * thumbnailer/evince-thumbnailer-dvi.schemas:
3139         
3140         Conditionally install schemas for djvu/dvi thumbnailer
3141
3142 2005-04-18  David Malcolm  <dmalcolm@redhat.com>
3143
3144         * shell/ev-document-types.h: 
3145         * shell/ev-document-types.c: 
3146         New files, handling the mapping from mimetypes to backends
3147         
3148         * shell/ev-window.c: 
3149         * thumbnailer/evince-thumbnailer.c:     
3150         Use the ev-document-types code
3151         
3152         * shell/Makefile.am: 
3153         Added new convenience library libevbackendfactory_la, containing
3154         the new mimetype->backend logic; moved the backends into it.
3155
3156         * thumbnailer/Makefile.am:
3157         Make the thumbnailer link with the libevbackend.la convenience
3158         library, rather than having a duplicate of the backend logic here.
3159
3160 2005-04-18  Paolo Borelli  <pborelli@katamail.com>
3161
3162         * shell/ev-stock-icons.c: constify some vars.
3163         * shell/ev-window.c: ditto.
3164
3165 2005-04-18  Marco Pesenti Gritti  <mpg@redhat.com>
3166
3167         * ps/ps-document.c (get_page_orientation):
3168
3169         Respect document orientation 
3170
3171 2005-04-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3172
3173         * djvu/Makefile.am:
3174         * dvi/Makefile.am:
3175         * shell/Makefile.am:
3176         
3177         Move library dependencies to components.
3178         
3179         * shell/ev-window.c: (update_window_title),
3180         (start_loading_document):
3181         
3182         Fix display of uris with spaces. Bug 168358.
3183
3184 Sat Apr 16 18:53:47 2005  Jonathan Blandford  <jrb@redhat.com>
3185
3186         * shell/ev-sidebar-links.c: (selection_changed_cb):
3187         * shell/ev-view.c: (ev_view_finalize), (go_to_link),
3188         (ev_view_button_release_event), (ev_view_set_document):
3189         * shell/ev-view.h:
3190         * shell/ev-window.c: (find_bar_search_changed_cb):
3191         * shell/ev-window.h: Minor cleanups removing some dead code.
3192
3193 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3194
3195         * backend/ev-page-cache.c: (_ev_page_cache_new):
3196         
3197         Set current page to 0 if document has pages.
3198
3199 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
3200
3201         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3202
3203         Initialize GError to NULL, fix a crash when loading fails.
3204
3205 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
3206
3207         * shell/ev-window.c: (update_view_size):
3208
3209         Calculate shadow size only when there is actually
3210         a shadow.
3211
3212 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
3213
3214         * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
3215         * shell/ev-view.h:
3216
3217         Allow setting view spacing, default to 0
3218
3219         * shell/ev-window.c: (ev_window_unfullscreen),
3220         (ev_window_cmd_view_fullscreen), (ev_window_init):
3221
3222         Remove spacing in fullscreen mode
3223
3224 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
3225
3226         * shell/ev-view.c: (compute_border), (compute_zoom_factor),
3227         (ev_view_size_request), (expose_bin_window),
3228         (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
3229         * shell/ev-view.h:
3230         * shell/ev-window.c: (ev_window_unfullscreen),
3231         (ev_window_cmd_view_fullscreen):
3232
3233         Do not draw the border in fulscreen
3234
3235 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
3236
3237         * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
3238         (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
3239         (find_page_at_location), (page_changed_cb):
3240
3241         Rework border calculation, so that I can more easily disable it.
3242         Code somewhat cleaner too.
3243
3244 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
3245
3246         * backend/ev-page-cache.c: (ev_page_cache_init),
3247         (_ev_page_cache_new):
3248
3249         Remove some assertions, documents can have 0 pages.
3250         Make initial current page -1.
3251
3252         * shell/ev-page-action.c: (page_changed_cb):
3253
3254         Show "" if current page is -1
3255
3256         * shell/ev-window.c: (update_action_sensitivity),
3257         (ev_window_setup_document):
3258
3259         When document has 0 pages do not set the view
3260         and make nearly everything insensitive.
3261
3262 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3263
3264         * shell/ev-page-view.c:
3265         * shell/ev-page-view.h:
3266
3267         Remove unused files.
3268         
3269         * shell/ev-sidebar-thumbnails.c:
3270         (ev_sidebar_thumbnails_set_document):
3271         * shell/ev-sidebar.c: (ev_sidebar_set_document),
3272         (ev_sidebar_supports_document):
3273         * shell/ev-sidebar.h:
3274         * shell/ev-window.c: (ev_window_setup_document):
3275         
3276         Doesn't show thumbnails if document has 1 page. Make
3277         sidebar menu entries sensitive only if if they have 
3278         sense. Fix bug 164811. 
3279
3280 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
3281
3282         * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
3283         (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
3284         (ev_view_zoom_out), (ev_view_set_size):
3285
3286         Rework sizing to deal with documents with not uniform page
3287         size.
3288
3289 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
3290
3291         * backend/ev-page-cache.c: (_ev_page_cache_new):
3292
3293         Fix several page size caching bugs
3294
3295 2005-04-15  Luca Ferretti <elle.uca@libero.it>
3296
3297         * shell/ev-window.c: (set_action_properties):
3298
3299         Make all toolbar items translatable
3300
3301 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
3302
3303         * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
3304         (save_page_list), (ps_document_save),
3305         (ps_document_document_iface_init), (ps_document_ps_export_begin),
3306         (ps_document_ps_export_do_page), (ps_document_ps_export_end),
3307         (ps_document_ps_exporter_iface_init):
3308         * ps/ps-document.h:
3309
3310         Based on a patch by Jďż˝rg Billeter <j@bitron.ch>
3311         
3312         Implement print and save a copy for the ps backend.
3313
3314 2005-04-14   Marco Pesenti Gritti <mpg@redhat.com>
3315
3316         * backend/ev-document.h:
3317         * djvu/djvu-document.c: (djvu_document_can_get_text),
3318         (djvu_document_document_iface_init):
3319         * dvi/dvi-document.c: (dvi_document_can_get_text),
3320         (dvi_document_document_iface_init):
3321         * pdf/ev-poppler.cc:
3322         * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
3323         (pixbuf_document_document_iface_init):
3324         * ps/ps-document.c: (ps_document_can_get_text),
3325         (ps_document_document_iface_init):
3326         * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
3327         * shell/ev-window.c: (update_action_sensitivity):
3328
3329         Fix the crash when trying to copy in backends that doesnt
3330         support it. We can implement a better solution once we
3331         do real text selection.
3332
3333 2005-04-12  Marco Pesenti Gritti <mpg@redhat.com>
3334
3335         * data/evince-ui.xml:
3336         * shell/ev-window.c: (ev_window_cmd_escape):
3337         
3338         Work around the Escape conflict (find bar and unfullscreen)
3339
3340 2005-04-12  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
3341
3342         * backend/ev-page-cache.c: (ev_page_cache_next_page):
3343         
3344         Fix for #300233. Next page correctly handles document end.
3345         
3346         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
3347         (ev_sidebar_thumbnails_class_init),
3348         (ev_sidebar_thumbnails_set_document),
3349         (ev_sidebar_thumbnails_clear_job),
3350         (ev_sidebar_thumbnails_clear_model):
3351         
3352         Cleanup thumbnail jobs on document changes.
3353         
3354         * shell/ev-view.c: (add_scroll_binding_keypad),
3355         (add_scroll_binding_shifted), (ev_view_class_init):
3356         
3357         Shift + Space scrolls up. Fix for #173184
3358         
3359         * shell/ev-window.c: (ev_window_open_page),
3360         (ev_window_cmd_view_reload):
3361         
3362         Fix reload (Bug #300094)
3363
3364 2005-04-09  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3365
3366         
3367         * dvi/mdvi-lib/assoc.c:
3368         * dvi/mdvi-lib/assoc.h: Removed garbage files
3369         
3370         * dvi/mdvi-lib/bitmap.c:
3371         * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
3372         (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
3373         * dvi/mdvi-lib/color.h: Antialias of rules
3374         
3375         * dvi/mdvi-lib/common.h:
3376         * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
3377         (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
3378         * dvi/mdvi-lib/files.c:
3379         * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
3380         * dvi/mdvi-lib/mdvi.h:
3381         * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
3382         * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
3383         * dvi/mdvi-lib/util.c: Fix compile warnings
3384         
3385         * dvi/dvi-document.c:
3386         (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
3387         (dvi_document_thumbnails_get_thumbnail),
3388         (dvi_document_document_thumbnails_iface_init):
3389         * dvi/mdvi-lib/Makefile.am:
3390         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
3391         (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
3392         
3393         Dvi backend now renders thumbnails
3394
3395 2005-04-09  Christian Persch  <chpe@cvs.gnome.org>
3396
3397         * shell/main.c: (main): 
3398         
3399         Save accelerators on exit. Fixes bug #172095.
3400
3401 Sat Apr  9 01:05:09 2005  Jonathan Blandford  <jrb@redhat.com>
3402
3403         * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
3404         update priority" comment.
3405
3406         * backend/ev-job-queue.c: Give a way to change priority.
3407
3408 Sat Apr  9 00:05:36 2005  Jonathan Blandford  <jrb@redhat.com>
3409
3410         * shell/ev-page-action.c: Fix logic.
3411
3412 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
3413
3414         * shell/ev-view.c: (ev_view_can_find_next):
3415         * shell/ev-window.c: (ev_window_setup_document):
3416
3417         Check that the document supports find
3418
3419 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
3420
3421         * data/evince-ui.xml:
3422         * shell/ev-view.c: (ev_view_can_find_next):
3423         * shell/ev-view.h:
3424         * shell/ev-window.c: (update_action_sensitivity),
3425         (find_changed_cb), (ev_window_setup_document),
3426         (ev_window_cmd_edit_find_next):
3427
3428         Add Edit->Find Next
3429
3430 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
3431
3432         * pdf/ev-poppler.cc:
3433         * shell/ev-print-job.c: (idle_print_handler):
3434
3435         Make printing work again
3436
3437 Fri Apr  8 01:12:24 2005  Jonathan Blandford  <jrb@redhat.com>
3438
3439         * shell/ev-page-action.h:
3440         * shell/ev-page-action.c: (ev_page_action_widget_init),
3441         (ev_page_action_widget_class_init), (page_changed_cb),
3442         (create_tool_item), (update_page_cache), (build_new_tree_cb),
3443         (get_filter_model_from_model), (match_selected_cb),
3444         (display_completion_text), (match_completion), (update_model),
3445         (connect_proxy), (ev_page_action_set_property),
3446         (ev_page_action_get_property), (ev_page_action_set_document),
3447         (ev_page_action_set_model), (ev_page_action_class_init): Big
3448         reworking to make completions work iff we have >= GTK-2.7.0
3449                 
3450         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
3451         (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
3452         (job_finished_cb): We now have a 'model' property that is set when
3453         the links are loaded.  This can be caught with "notify::model"
3454
3455         * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
3456         listen for the model to be set, and propagate it to the action.
3457
3458 2005-04-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
3459
3460         * cut-n-paste/recent-files/egg-recent-item.c:
3461         (egg_recent_item_set_uri), (make_valid_utf8),
3462         (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
3463         * cut-n-paste/recent-files/egg-recent-item.h:
3464         
3465         Update egg-recent from libegg. This should fix long
3466         startup problem. For details see
3467         http://bugzilla.gnome.org/show_bug.cgi?id=160531
3468
3469 2005-04-07  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
3470
3471         * cut-n-paste/recent-files/Makefile.am:
3472         * data/evince-ui.xml, shell/Makefile.am:
3473         * shell/ev-application.c, shell/ev-application.h:
3474         * shell/ev-window.c: Recent files support.
3475         
3476         * configure.ac: Added "ru" to ALL_LINGUAS.
3477         
3478         * dvju: new backend to support DJVU files.
3479         * dvi: new backend to support DVI.
3480
3481         * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
3482         * ev-application.c: Support for new backends.
3483         
3484         * help, ev-window.c, main.c shell/Makefile.am: 
3485         Evince user documentation.
3486
3487 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
3488
3489         * po/POTFILES.in:
3490         * shell/ev-window.c:
3491         * thumbnailer/evince-thumbnailer.c:
3492
3493         s/pdf-document/ev-poppler
3494
3495 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
3496
3497         * NEWS:
3498         * configure.ac:
3499
3500         Release 0.2.0
3501
3502         * ps/ps-document.c: (setup_pixmap):
3503
3504         Remove debug code
3505
3506 2005-04-05  Kristian Høgsberg  <krh@redhat.com>
3507
3508         * backend/ev-page-cache.c (ev_page_cache_next_page): 
3509         * shell/ev-window.c (ev_window_cmd_go_next_page) 
3510         (ev_window_cmd_go_first_page): Fix of by one errors.
3511
3512 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
3513
3514         * ps/ps-document.c: (get_page_box):
3515
3516         Fix page size calculation
3517
3518 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
3519
3520         * ps/ps-document.c: (ps_document_init), (push_pixbuf),
3521         (ps_document_cleanup), (setup_pixmap), (get_page_box),
3522         (get_page_orientation), (setup_page), (document_load),
3523         (ps_document_get_page_size), (render_pixbuf_idle):
3524         * ps/ps-document.h:
3525
3526         More refactoring to adapt to EvDocument changes
3527
3528 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
3529
3530         * ps/ps-document.c: (start_interpreter):
3531
3532         Actually add alpha args
3533
3534 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
3535
3536         * pdf/ev-poppler.cc:
3537
3538         Make clipboard work again
3539
3540 2005-04-04  Kristian Høgsberg  <krh@redhat.com>
3541
3542         Make searching work again.
3543         
3544         * backend/ev-document.c:
3545         * backend/ev-document.h:
3546         * backend/ev-document-find.c:
3547         * backend/ev-document-find.h: Change EvDocumentIface so we no
3548         longer store the current page or zoom level in the document.  The
3549         consequence is that all calls that operate on the current page now
3550         instead take the page number as an extra argument, and all
3551         coordinates are now doubles in document coordinate system.
3552
3553         * pdf/ev-poppler.cc:
3554         * pixbuf/pixbuf-document.c:
3555         * ps/ps-document.c: Update backends accordingly.
3556
3557 2005-04-04  Marco Pesenti Gritti <marco@gnome.org>
3558
3559         * autogen.sh:
3560
3561         Add required gettext version
3562
3563 Sat Apr  2 18:57:00 2005  Jonathan Blandford  <jrb@redhat.com>
3564
3565         * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
3566         make F1 bring up non-existent help.
3567
3568         * shell/eggfindbar.c: Patch from Christian Persch to sync to
3569         epiphany's find bar, #167477
3570
3571         * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
3572         <emil@nishra.com> to add space-bar scrolling, 
3573
3574         * shell/ev-window.c (static GtkActionEntry entries): add default
3575         keybinding for Help (F1)
3576         Fixes #171068
3577
3578         * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
3579         changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
3580         170110
3581
3582 2005-04-01  David Malcolm  <dmalcolm@redhat.com>
3583
3584         * Makefile.am: 
3585         * pixbuf/pixbuf-document.c: 
3586
3587         Got pixbuf backend working again
3588
3589 2005-04-01  Steve Murphy  <murf@e-tools.com>
3590
3591         * configure.in: Added "rw" to ALL_LINGUAS.
3592
3593 Fri Apr  1 02:33:41 2005  Jonathan Blandford  <jrb@redhat.com>
3594
3595         * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
3596         model types, noticed by Martin Kretzschmar.
3597
3598 2005-04-01  Kristian Høgsberg  <krh@redhat.com>
3599
3600         * pdf/ev-poppler.cc: Implement search based on
3601         poppler_page_find_text().  Currently a bit crude since we remember
3602         all matches from all pages.  Also, we grab the big document lock
3603         when we search since searching changes the underlying stream and
3604         thus conflicts with the rendering thread.
3605         
3606         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
3607         (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
3608         (ev_view_find_previous): Fix some page indexes to be 0 based,
3609         offset rubber band by view offset,
3610
3611 Fri Apr 01 09:21:12 2005  Pablo Saratxaga  <pablo@mandrakesoft.com>
3612
3613         * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
3614
3615 Fri Apr  1 01:59:39 2005  Jonathan Blandford  <jrb@redhat.com>
3616
3617         * shell/ev-page-action.c: Changed to use page labels now.  Rewrote
3618         completely because I didn't understand GtkActions.  I should
3619         read Marco's code more carefully in the future.
3620
3621         * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
3622         function
3623
3624 2005-03-31  Kristian Høgsberg  <krh@redhat.com>
3625
3626         * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
3627         PopplerRectangle change from poppler CVS.
3628
3629 Thu Mar 31 13:27:50 2005  Jonathan Blandford  <jrb@redhat.com>
3630
3631         * backend/ev-document.c: (ev_document_get_page_label):
3632         * backend/ev-document.h:
3633         * backend/ev-page-cache.c: (_ev_page_cache_new),
3634         (ev_page_cache_get_page_label):
3635         * backend/ev-page-cache.h:
3636         * pdf/ev-poppler.cc:
3637         * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
3638         (links_page_num_func):
3639         * shell/ev-sidebar-thumbnails.c:
3640         (ev_sidebar_thumbnails_set_document):
3641         * shell/ev-view.c: (status_message_from_link),
3642         (ev_view_motion_notify_event):
3643         * shell/ev-window.c: (document_supports_sidebar): Add in page
3644         label support.  It's not perfect yet, but it's the first 'feature'
3645         in a while.
3646         Also, fix a bogus comment noticed by crispin. 
3647
3648 Thu Mar 31 01:21:58 2005  Jonathan Blandford  <jrb@redhat.com>
3649
3650         * Makefile.am: Remove pixbuf backend for now
3651
3652         * configure.ac: Require poppler-glib instead of just poppler.
3653
3654         * backend/ev-document-thumbnails.h: Add a comment
3655
3656         * backend/ev-document.h:
3657         * backend/ev-document.c: (ev_document_class_init),
3658         (ev_document_load), (ev_document_get_link),
3659         (ev_document_get_links): Remove 3 methods and add get_links.
3660         Also, made 0 based.
3661
3662         * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
3663         * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
3664
3665         * backend/ev-link.c: (ev_link_set_title),
3666         (ev_link_mapping_free_foreach), (ev_link_mapping_free),
3667         (ev_link_mapping_find):
3668         * backend/ev-link.h: Allow NULL titles.  Also, introduce a mapping link.
3669         
3670         * backend/ev-page-cache.c: (ev_page_cache_init),
3671         (_ev_page_cache_new), (ev_page_cache_set_current_page),
3672         (ev_page_cache_get_size), (ev_page_cache_next_page),
3673         (ev_page_cache_prev_page): Fix to be 0 based.
3674
3675         * pdf/Makefile.am: 
3676         * pdf/ev-poppler.h:
3677         * pdf/ev-poppler.cc: New backend.
3678         
3679         * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
3680         (ps_document_get_page), (ps_document_document_iface_init):
3681
3682         * shell/ev-pixbuf-cache.h:
3683         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3684         (dispose_cache_job_info), (job_finished_cb), (move_one_job),
3685         (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
3686         (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
3687         (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
3688         Fix up code to grab a page cache per each doc.  Also, fix to be 0
3689         based.
3690         
3691         * shell/ev-sidebar-thumbnails.c:
3692         (ev_sidebar_tree_selection_changed), (page_changed_cb),
3693         (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
3694
3695         * shell/ev-view.c: (status_message_from_link),
3696         (find_page_at_location), (get_link_at_location),
3697         (ev_view_motion_notify_event), (ev_view_button_release_event),
3698         (ev_view_init): Use the new link code.  Fix to be 0 based.
3699
3700         * shell/ev-window.c: (update_action_sensitivity),
3701         (document_supports_sidebar): 0 based.
3702
3703 Fri Mar 25 16:55:58 2005  Jonathan Blandford  <jrb@redhat.com>
3704
3705         * pdf/pdf-document.cc: Patch from Fernando Herrera
3706         <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
3707         *blush*
3708
3709 Wed Mar 23 23:49:41 2005  Jonathan Blandford  <jrb@redhat.com>
3710
3711         * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
3712         1 to the page, as this seems to be 1 based.  I thought we has this
3713         fixed.  grump.
3714
3715 2005-03-23  Marco Pesenti Gritti <marco@gnome.org>
3716
3717         * TODO:
3718         * backend/Makefile.am:
3719         * backend/ev-document-links.c:
3720         (ev_document_links_has_document_links),
3721         (ev_document_links_get_links_model):
3722         * backend/ev-document-links.h:
3723         * backend/ev-document.c: (ev_document_get_page_cache),
3724         (ev_document_get_doc_mutex), (ev_document_load),
3725         (ev_document_save), (ev_document_get_title),
3726         (ev_document_get_n_pages), (ev_document_set_page),
3727         (ev_document_get_page), (ev_document_set_target),
3728         (ev_document_set_scale), (ev_document_set_page_offset),
3729         (ev_document_get_page_size), (ev_document_get_text),
3730         (ev_document_get_link), (ev_document_render),
3731         (ev_document_render_pixbuf), (ev_document_scale_changed):
3732         * backend/ev-document.h:
3733         * backend/ev-job-queue.c: (remove_object_from_queue),
3734         (notify_finished), (handle_job), (search_for_jobs_unlocked),
3735         (no_jobs_available_unlocked), (ev_render_thread),
3736         (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
3737         (ev_job_queue_remove_job):
3738         * backend/ev-job-queue.h:
3739         * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
3740         (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
3741         (ev_job_links_class_init), (ev_job_render_init),
3742         (ev_job_render_dispose), (ev_job_render_class_init),
3743         (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
3744         (ev_job_thumbnail_class_init), (ev_job_finished),
3745         (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
3746         (ev_job_render_run), (ev_job_thumbnail_new),
3747         (ev_job_thumbnail_run):
3748         * backend/ev-jobs.h:
3749         * backend/ev-link.c:
3750         * backend/ev-link.h:
3751         * backend/ev-page-cache.c: (ev_page_cache_init),
3752         (ev_page_cache_class_init), (ev_page_cache_finalize),
3753         (_ev_page_cache_new), (ev_page_cache_get_n_pages),
3754         (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
3755         (ev_page_cache_set_link), (ev_page_cache_get_title),
3756         (ev_page_cache_get_size), (ev_page_cache_next_page),
3757         (ev_page_cache_prev_page):
3758         * backend/ev-page-cache.h:
3759         * pdf/pdf-document.cc:
3760         * ps/gsdefaults.c:
3761         * ps/gsdefaults.h:
3762         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3763         (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
3764         (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
3765         (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
3766         (is_interpreter_ready), (output), (catchPipe), (input),
3767         (start_interpreter), (check_filecompressed), (compute_dimensions),
3768         (ps_document_enable_interpreter), (document_load),
3769         (ps_document_next_page), (render_page), (ps_document_set_page),
3770         (ps_document_set_scale), (render_pixbuf_idle),
3771         (ps_document_render_pixbuf), (ps_document_document_iface_init):
3772         * ps/ps-document.h:
3773         * shell/Makefile.am:
3774         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
3775         (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
3776         (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
3777         (ev_pixbuf_cache_new), (job_finished_cb),
3778         (check_job_size_and_unref), (move_one_job),
3779         (ev_pixbuf_cache_update_range), (find_job_cache),
3780         (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
3781         (ev_pixbuf_cache_add_jobs_if_needed),
3782         (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
3783         * shell/ev-pixbuf-cache.h:
3784         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
3785         (idle_print_handler):
3786         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
3787         (selection_changed_cb), (create_loading_model),
3788         (ev_sidebar_links_construct), (links_page_num_func),
3789         (ev_sidebar_links_clear_document), (update_page_callback_foreach),
3790         (update_page_callback), (job_finished_cb),
3791         (ev_sidebar_links_set_document):
3792         * shell/ev-sidebar-thumbnails.c:
3793         (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
3794         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
3795         (page_changed_cb), (thumbnail_job_completed_callback),
3796         (ev_sidebar_thumbnails_set_document):
3797         * shell/ev-sidebar-thumbnails.h:
3798         * shell/ev-sidebar.c: (ev_sidebar_set_document):
3799         * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
3800         (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
3801         (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
3802         (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
3803         (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
3804         (ev_view_button_release_event), (ev_view_scroll_view),
3805         (ev_view_class_init), (ev_view_init), (update_find_status_message),
3806         (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
3807         (ev_view_new), (job_finished_cb), (page_changed_cb),
3808         (ev_view_set_document), (go_to_link), (ev_view_zoom),
3809         (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
3810         (ev_view_find_previous):
3811         * shell/ev-view.h:
3812         * shell/ev-window.c: (update_action_sensitivity),
3813         (ev_window_open_page), (update_window_title), (update_total_pages),
3814         (page_changed_cb), (ev_window_setup_document),
3815         (password_dialog_response), (ev_window_cmd_save_as),
3816         (ev_window_print), (ev_window_cmd_go_previous_page),
3817         (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
3818         (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
3819         (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
3820         * shell/main.c: (main):
3821
3822         Merge evince-threads branch
3823
3824 2005-03-16  Ĺ˝ygimantas BeruÄŤka  <uid0@akl.lt>
3825
3826         * configure.ac: Added "lt" to ALL_LINGUAS.
3827
3828 2005-03-14  Marco Pesenti Gritti  <marco@gnome.org>
3829
3830         * NEWS:
3831         * configure.ac:
3832
3833         Release 0.1.9
3834
3835 2005-03-13  Fernando Herrera  <fherrera@onirica.com>
3836
3837         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3838
3839         Fix here also the thumbnails 1-basedness :)
3840
3841 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
3842
3843         * NEWS:
3844         * configure.ac:
3845
3846         Release 0.1.8
3847
3848 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
3849
3850         * pdf/pdf-document.cc:
3851         * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
3852         (do_one_iteration), (ev_sidebar_thumbnails_set_document):
3853
3854         Fix the mess we did with thumbnails and 1-basedness
3855
3856 2005-03-12  Changwoo Ryu  <cwryu@debian.org>
3857
3858         * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
3859
3860 2005-03-09  Marco Pesenti Gritti  <marco@gnome.org>
3861
3862         * NEWS:
3863         * configure.ac:
3864
3865         Release 0.1.7
3866
3867 2005-03-08  Marco Pesenti Gritti  <marco@gnome.org>
3868
3869         * ps/Makefile.am:
3870         * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
3871         (gtk_gs_defaults_get_alpha_parameters),
3872         (gtk_gs_defaults_get_ungzip_cmd),
3873         (gtk_gs_defaults_get_unbzip2_cmd):
3874         * ps/gsdefaults.h:
3875         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
3876         (ps_document_get_orientation), (document_load),
3877         (ps_document_goto_page), (ps_document_set_page_size):
3878         * ps/ps-document.h:
3879
3880         Some more sanitization of the ps backend. Remove a lot
3881         of unused code and do not base our defaults on ggv
3882         preferences (ugh!)
3883
3884 2005-03-08  Fernando Herrera  <fherrera@onirica.com>
3885
3886         * thumbnailer/evince-thumbnailer.schemas:
3887         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3888         (main): add -s option for thumbnail size.
3889
3890 2005-03-07  Christian Persch  <chpe@cvs.gnome.org>
3891
3892         * configure.ac:
3893
3894         AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
3895         remove it.
3896
3897 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
3898
3899         * pdf/pdf-document.cc:
3900
3901         Remove 4 pixels of useless border from the
3902         thumbnail.
3903
3904 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
3905
3906         * backend/ev-document-thumbnails.c:
3907         (ev_document_thumbnails_get_thumbnail):
3908         * backend/ev-document-thumbnails.h:
3909
3910         Rework API a bit. Add a border flag and
3911         change sizing logic (now the size we specify
3912         applies to the bigger dimension).
3913
3914         * pdf/pdf-document.cc:
3915         * pixbuf/pixbuf-document.c:
3916         (pixbuf_document_thumbnails_get_thumbnail):
3917         * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
3918         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3919
3920         Adapt to the new API and do not draw a border for nautilus
3921         thumbnailer.
3922
3923 2005-03-03  Fernando Herrera  <fherrera@onirica.com>
3924
3925         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
3926         take thumbnails from page "0" instead of "1". Added a copyright header.
3927
3928 2005-03-03  Jens Granseuer  <jensgr@gmx.net>
3929
3930         * ps/ps-document.c: (set_up_page), (start_interpreter):
3931
3932         Make it C89 compliant
3933
3934 2005-03-03  Marco Pesenti Gritti  <marco@gnome.org>
3935
3936         * Makefile.am:
3937         * configure.ac:
3938         * pdf/.cvsignore:
3939         * pdf/pdf-document.cc:
3940         * thumbnailer/Makefile.am:
3941         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
3942         (main):
3943         * thumbnailer/evince-thumbnailer.schemas:
3944         * thumbnailer/pdf-icon.png:
3945
3946         Add a nautilus thumbnailer.
3947         Based on patch by Fernando Herrera <fherrera@onirica.com>.
3948
3949 2005-03-02  Marco Pesenti Gritti  <marco@gnome.org>
3950
3951         * NEWS:
3952         * configure.ac:
3953         * po/POTFILES.in:
3954
3955         Release 0.1.6
3956
3957 2005-03-01  Kristian Høgsberg  <krh@redhat.com>
3958
3959         Use poppler instead of including xpdf source code.  Poppler is a
3960         fork of xpdf to build it as a shared library. See
3961         http://freedesktop.org/wiki/Software/poppler.
3962
3963         * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
3964         xpdf fork.
3965         
3966         * pdf/Makefile.am: Build libpdfdocument.a here.
3967         
3968         * pdf/GDKSplashOutputDev.cc:
3969         * pdf/GDKSplashOutputDev.h:
3970         * pdf/GnomeVFSStream.cc:
3971         * pdf/GnomeVFSStream.h:
3972         * pdf-document.cc:
3973         * pdf-document.h:
3974         * test-gdk-output-dev.cc
3975         * Thumb.cc:
3976         * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
3977         against poppler.
3978
3979 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
3980
3981         * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
3982
3983         Clear idle stack before unsetting the document
3984
3985 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
3986
3987         * ps/ps-document.c: (ps_document_widget_event),
3988         (ps_document_set_target), (ps_document_finalize),
3989         (ps_document_get_page):
3990
3991         Disconnect the widget event signal on finalize.
3992         Some code cleanups.
3993
3994 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
3995
3996         * ps/ps-document.c: (set_up_page):
3997
3998         If there is no bpixmap create one, even if size
3999         is not changed.
4000
4001 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
4002
4003         * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
4004         (set_up_page), (document_load), (ps_document_set_zoom):
4005
4006         Default page is 0. Calculate size even when we have no
4007         target yet.
4008
4009 2005-02-28  Carlos Garcia Campos <carlosgc@gnome.org>
4010
4011         * shell/ev-sidebar.c: expand the selection widget to be always as
4012         wide as the sidebar
4013
4014 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
4015
4016         * shell/ev-sidebar-thumbnails.c:
4017         (ev_sidebar_thumbnails_set_document):
4018
4019         Clear the list store when setting document
4020
4021 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
4022
4023         * shell/ev-page-action.c: (update_entry), (sync_entry),
4024         (activate_cb), (entry_size_request_cb), (create_tool_item),
4025         (connect_proxy):
4026
4027         Use an entry for the page control instead of spinbuttons
4028
4029 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
4030
4031         * data/evince.schemas.in:
4032
4033         Correct confusing string
4034
4035 Sun Feb 27 23:00:31 2005  Jonathan Blandford  <jrb@redhat.com>
4036
4037         * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
4038         for real.  Gosh, how long has this been broken.
4039
4040         * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
4041         check for a NULL link.  We crash otherwise.
4042
4043 2005-02-27  Marco Pesenti Gritti  <marco@gnome.org>
4044
4045         * NEWS:
4046         * configure.ac:
4047
4048         Release 0.1.5
4049
4050 2005-02-25  Sebastien Bacher  <seb128@debian.org>
4051
4052         * configure.ac: add the french translation.
4053
4054 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
4055
4056         * shell/ev-window.c:
4057
4058         Remove unused header -> fix distcheck
4059
4060 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
4061
4062         * shell/ev-window.c: (update_window_title),
4063         (ev_window_popup_password_dialog):
4064
4065         Unescape filename for display
4066
4067 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
4068
4069         * pdf/xpdf/pdf-document.cc:
4070
4071         In get_page_size deal with rotation. Also
4072         cleanup the function a bit.
4073
4074 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
4075
4076         * pdf/xpdf/pdf-document.cc:
4077
4078         Fix crash when opening in new window
4079
4080 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
4081
4082         * configure.ac:
4083
4084         Check ghostscript >= 7
4085
4086 2005-02-25  Pedro Villavicencio <pvillavi@gnome.cl>
4087
4088         * shell/ev-window.c:
4089
4090         Make page width the default sizing mode
4091
4092 2005-02-25  Carlos Garcia Campos <carlosgc@gnome.org>
4093             Marco Pesenti Gritti <marco@gnome.org>
4094
4095         * shell/ev-window.c: Remember the sidebar size
4096
4097         * data/evince.schemas.in: Add a new gconf key to store the size of
4098         the sidebar
4099
4100 2005-02-24  Kai Willadsen  <kaiw@itee.uq.edu.au>
4101
4102         * data/evince-ui.xml:
4103         * shell/ev-window.c: (update_action_sensitivity),
4104         (ev_window_cmd_view_reload):
4105         
4106         Add a "Reload" action and menu entry
4107
4108 Thu Feb 24 23:07:33 2005  Jonathan Blandford  <jrb@redhat.com>
4109
4110         * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
4111         iff the type doesn't support thumbnailing and indexing.
4112
4113 2005-02-24  Martin Kretzschmar  <martink@gnome.org>
4114
4115         * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
4116
4117 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4118
4119         * pdf/splash/Splash.cc:
4120
4121         Port fix for a crasher from kde bug
4122         http://bugs.kde.org/show_bug.cgi?id=97131
4123
4124 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4125
4126         * pdf/xpdf/pdf-document.cc:
4127
4128         Return a link even if it's of an unrecognized
4129         type. Otherwise we go in an infinte cycle.
4130
4131 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4132
4133         * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
4134         (size_allocate_cb), (ev_window_set_sizing_mode):
4135
4136         Update size when switching mode
4137
4138 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4139
4140         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
4141         (ev_window_cmd_view_page_width), (update_sizing_buttons),
4142         (ev_window_cmd_view_normal_size):
4143
4144         Fix size toggle buttons behavior
4145
4146 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4147
4148         * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
4149         (doc_rect_to_view_rect), (ev_view_size_allocate),
4150         (expose_bin_window), (ev_view_select_all), (page_changed_callback),
4151         (scale_changed_callback):
4152
4153         Do not cache offsets in size_allocate.
4154
4155 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4156
4157         * shell/ev-view.c: (ev_view_size_allocate):
4158
4159         Calculate offsets before calling the parent
4160         class (which does a redraw)
4161
4162 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4163
4164         * pdf/xpdf/pdf-document.cc:
4165
4166         Fix a crasher on exit. Unused code, put a TODO
4167
4168 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
4169
4170         * backend/ev-document.c: (ev_document_class_init),
4171         (ev_document_page_changed), (ev_document_scale_changed):
4172         * backend/ev-document.h:
4173
4174         Separate page/scale notifications
4175
4176         * pdf/xpdf/pdf-document.cc:
4177
4178         Emit the new signals.
4179         Do not display the pdf page in _render, do it
4180         when scale/page are requested.
4181
4182         * ps/ps-document.c: (ps_document_set_zoom),
4183         (ps_document_widget_event):
4184         * ps/ps-document.h:
4185
4186         Emit the new signals.
4187
4188         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4189         (ev_view_init), (page_changed_callback), (scale_changed_callback),
4190         (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
4191         (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
4192         * shell/ev-view.h:
4193         * shell/ev-window.c: (ev_window_cmd_view_normal_size),
4194         (ev_window_cmd_view_page_width), (size_allocate_cb),
4195         (ev_window_set_sizing_mode):
4196
4197         Rework sizing to be pixel based.
4198         There are bugs but should be already way better.
4199
4200 2005-02-23  Marco Pesenti Gritti  <marco@gnome.org>
4201
4202         * shell/ev-window.c: (ev_window_init):
4203
4204         Do not allow to shrink sidebar smaller then
4205         child requisition
4206
4207 2005-02-23  Carlos Garcia Campos <carlosgc@gnome.org> 
4208
4209         * shell/ev-sidebar.[ch]
4210         * shell/ev-window.c:
4211
4212         Improved sidebar widget. Fixes #166683
4213
4214 2005-02-23  Tommi Vainikainen  <thv@iki.fi>
4215
4216         * shell/ev-view.c (update_find_status_message): Give translators
4217         more flexibility with ngettext plural handling.
4218
4219 Mon Feb 21 17:52:08 2005  Jonathan Blandford  <jrb@redhat.com>
4220
4221         * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
4222         from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
4223         page when we get the page size.
4224
4225 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
4226
4227         * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
4228
4229         ps pages are 0 based, convert 
4230
4231 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
4232
4233         * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
4234
4235         Initialize correct parent class. Set GError on document load
4236
4237 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
4238
4239         * pdf/xpdf/pdf-document.cc:
4240
4241         Fixup selection offset calculation
4242
4243         * shell/ev-view.c: (view_rect_to_doc_rect),
4244         (doc_rect_to_view_rect), (ev_view_size_allocate),
4245         (expose_bin_window), (ev_view_select_all), (ev_view_copy),
4246         (ev_view_primary_get_cb), (ev_view_motion_notify_event):
4247
4248         Store selection as document relative, so that zooming
4249         and offset changing doesnt break it.
4250
4251 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
4252
4253         * shell/ev-view.c: (ev_view_best_fit):
4254
4255         Do not try to best fit if the view is not realized
4256
4257 2005-02-20  Kostas Papadimas <pkst@gnome.org>
4258           
4259         * configure.ac (ALL_LINGUAS): Added "el" (Greek).
4260
4261 Fri Feb 18 16:06:39 2005  Jonathan Blandford  <jrb@redhat.com>
4262
4263         * shell/ev-window.c (ev_window_focus_in_event): missed a case.
4264
4265 Fri Feb 18 15:32:57 2005  Jonathan Blandford  <jrb@redhat.com>
4266
4267         * shell/ev-window.c: Change the fullscreen toolbar to always be in
4268         the popup window.  That prevents it resizing when in full screen
4269         mode.
4270
4271         * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
4272         multiple rerenders.  This pretty much sucks.
4273
4274         * data/evince-ui.xml: Change the fullscreen toolbar to include the
4275         rest of the toolbar.
4276
4277 2005-02-18  Tommi Vainikainen  <thv@iki.fi>
4278
4279         * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
4280
4281 2005-02-17  Alexander Shopov  <ash@contact.bg>
4282
4283         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
4284
4285 2005-02-16  Bryan Clark  <clarkbw@cvs.gnome.org>
4286
4287         * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
4288
4289 2005-02-16  Marco Pesenti Gritti  <marco@gnome.org>
4290
4291         * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
4292         (ev_view_create_invisible_cursor), (ev_view_set_cursor),
4293         (set_document_page), (document_changed_callback),
4294         (ev_view_set_document), (ev_view_find_previous),
4295         (ev_view_hide_cursor), (ev_view_show_cursor):
4296         * shell/ev-view.h:
4297         * shell/ev-window.c: (update_chrome_visibility),
4298         (fullscreen_timeout_cb), (fullscreen_set_timeout),
4299         (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
4300         (fullscreen_leave_notify_cb), (ev_window_fullscreen),
4301         (ev_window_unfullscreen):
4302         * shell/main.c: (main):
4303
4304         Automatically hide the fullscreen button.
4305         Patch by Kristian Høgsberg <krh@redhat.com>
4306
4307 2005-02-16  Vincent Noel  <vnoel@cox.net>
4308
4309         * shell/main.c (main): Specify an icon for the window. Patch by
4310         Jaap A. Haitsma. Fixes #166177.
4311
4312 Wed Feb 16 06:30:13 2005  Jonathan Blandford  <jrb@redhat.com>
4313
4314         * shell/ev-view.c (ev_view_realize): get rid of the black flash.
4315
4316 Tue Feb 15 22:27:13 2005  Jonathan Blandford  <jrb@redhat.com>
4317
4318         * backend/ev-document-misc.h:
4319         * backend/ev-document-misc.c:
4320         (ev_document_misc_get_page_border_size),
4321         (ev_document_misc_paint_one_page): New function to canonicalize
4322         sizing/painting a border.
4323
4324         * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
4325         used.
4326
4327         * pdf/xpdf/pdf-document.cc: use new function
4328
4329         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
4330         (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
4331         (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
4332         shell/ev-window.c: (update_sizing_buttons),
4333         (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
4334         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
4335         (ev_window_cmd_view_page_width), (size_allocate_cb),
4336         (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
4337         and "fit width" values act as toggle buttons so they stay
4338         toggled.  It's not 100% perfect, and it's a little slow, but it's
4339         good enough to commit I think.
4340
4341 2005-02-15  David Lodge  <dave@cirt.net>
4342
4343         * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
4344
4345 2005-02-15  Martin Kretzschmar  <martink@gnome.org>
4346
4347         * shell/ev-window.c (update_window_title): replace newlines in
4348         the title by spaces. Bug #166107.
4349
4350 2005-02-14  Martin Kretzschmar  <martink@gnome.org>
4351
4352         * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
4353         parameters providing allocation width and height without
4354         scrollbars and width of a possible vertical scrollbar. With this
4355         additional information the functions can work as
4356         intended. Unfortunately they're not idempotent. We should
4357         transform these commands to toggles. Fixes Bug #164976
4358         Initial patch by Stephane Loeuillet, then heavily modified.
4359
4360         * shell/ev-view.h: update prototypes.
4361
4362         * shell/ev-window.c (ev_window_cmd_view_best_fit)
4363         (ev_window_cmd_view_page_width): provide EvView fit functions with
4364         all the information they need. Formulas to calculate this
4365         information taken from GtkScrolledWindow.
4366
4367 2005-02-14  Crispin Flowerday  <gnome@flowerday.cx>
4368
4369         * shell/ev-sidebar-thumbnails.c: Ensure that after we have
4370         created a thumbnail, the list store is updated to know
4371         that the thumbnail is set. Fixes bug #166792
4372
4373 2005-02-11  Bryan Clark  <clarkbw@cvs.gnome.org>
4374
4375         * shell/ev-window.c: fixed typo, closes bug 166897
4376
4377         * TODO: updated TODO with bug numbers that are relevant
4378
4379 2005-02-09  Carlos Garcia Campos <carlosgc@gnome.org>
4380
4381         * shell/ev-window.c: Support for DnD of files. Fixes #164813
4382
4383 2005-02-09  Vincent Noel  <vnoel@cox.net>
4384
4385         * shell/ev-window.c: (set_action_properties): Set the "Previous"
4386         and "Next" toolbar buttons as important to make them stand out.
4387
4388 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
4389
4390         * lib/ev-debug.c:
4391         * lib/ev-debug.h:
4392         * ps/ps-document.c: (ps_document_finalize), (set_up_page),
4393         (start_interpreter), (stop_interpreter), (document_load),
4394         (ps_document_next_page), (ps_document_goto_page),
4395         (ps_document_set_page_size), (ps_document_widget_event),
4396         (ps_document_render):
4397         * shell/ev-page-view.c: (ev_page_view_dispose):
4398         * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
4399
4400         Fix compilation on non-gcc platforms
4401
4402 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
4403
4404         * NEWS:
4405         * configure.ac:
4406
4407         Release 0.1.4
4408
4409         * pdf/xpdf/Catalog.cc:
4410         * pdf/xpdf/XRef.cc:
4411
4412         Fix the fix for CAN-2004-0888
4413
4414 2005-02-09  Luca Ferretti <elle.uca@libero.it>
4415
4416         * data/Makefile.am:
4417         * data/evince-ui.xml:
4418         * shell/ev-stock-icons.c: (ev_stock_icons_init):
4419         * shell/ev-stock-icons.h:
4420         * shell/ev-window.c: (update_action_sensitivity),
4421         (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
4422         (set_action_properties):
4423
4424         Improve toolbar layout/icons
4425
4426 2005-02-08  Marco Pesenti Gritti  <marco@gnome.org>
4427
4428         * pdf/xpdf/pdf-document.cc:
4429
4430         Add warnings about unimplemented/unknown link
4431         types.
4432
4433 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
4434
4435         * ps/ps-document.c: (set_up_page):
4436
4437         Log gs property
4438
4439 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
4440
4441         * ps/ps-document.c: (start_interpreter):
4442
4443         Log gs env var
4444
4445 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
4446
4447         * shell/ev-page-view.c: (ev_page_view_dispose):
4448         * shell/ev-view.c: (ev_view_finalize):
4449         * shell/ev-window.c: (ev_window_setup_document),
4450         (ev_window_dispose), (ev_window_init):
4451
4452         Solve more refs issues.
4453
4454         I commented out the page_view initialization for now:
4455         it was never destroyed (because it's never added
4456         to a container). Because of that we was leaking
4457         gs processes. Couldnt think to a clean fix.
4458         We need to figure this out, password view has the
4459         same issue probably.
4460
4461 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
4462
4463         * ps/ps-document.c: (ps_document_finalize),
4464         (ps_document_get_n_pages), (ps_document_get_page):
4465
4466         Some cleanups, stop the interpreter on finalize
4467
4468         * shell/ev-page-view.c: (ev_page_view_dispose),
4469         (ev_page_view_class_init):
4470
4471         Release our reference on the document
4472
4473 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
4474
4475         * Makefile.am:
4476         * configure.ac:
4477         * doc/debugging.txt:
4478         * lib/.cvsignore:
4479         * lib/Makefile.am:
4480         * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
4481         (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
4482         (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
4483         * lib/ev-debug.h:
4484
4485         Add debugging helpers
4486
4487         * ps/Makefile.am:
4488         * ps/ps-document.c: (set_up_page), (start_interpreter),
4489         (stop_interpreter), (document_load), (ps_document_next_page),
4490         (ps_document_goto_page), (ps_document_set_page_size),
4491         (ps_document_widget_event), (ps_document_render):
4492         * shell/Makefile.am:
4493         * shell/ev-view.c: (expose_bin_window):
4494         * shell/main.c: (main):
4495
4496         Add some logs
4497         
4498 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
4499
4500         * ps/ps-document.c: (ps_document_widget_event):
4501
4502         Initialize message_window, this should make ps
4503         rendering really work! (Never noticed because I was
4504         testing with a ps that is causing gs to exit every time!)
4505
4506 2005-02-07  Bryan Clark  <clarkbw@cvs.gnome.org>
4507
4508         * data/evince.schemas.in: updated simple error in applyto closing tag
4509
4510 2005-02-07  Christian Persch  <chpe@cvs.gnome.org>
4511
4512         * Makefile.am:
4513         * configure.ac:
4514         * data/.cvsignore:
4515         * data/Makefile.am:
4516         * data/evince-ui.xml:
4517         A data/evince.schemas.in:
4518         * po/POTFILES.in:
4519         * shell/ev-stock-icons.c: (ev_stock_icons_init):
4520         * shell/ev-stock-icons.h:
4521         * shell/ev-window.c: (update_chrome_visibility),
4522         (update_chrome_flag), (ev_window_cmd_edit_find),
4523         (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
4524         (ev_window_unfullscreen), (ev_window_focus_in_event),
4525         (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
4526         (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
4527         (ev_window_view_sidebar_cb), (find_bar_close_cb),
4528         (ev_window_dispose), (ev_window_class_init),
4529         (set_action_properties), (set_chrome_actions), (load_chrome),
4530         (ev_window_init):
4531
4532         Implement fullscreen mode changes from bug #164776.
4533         Also implement persistent chrome toggles.
4534
4535 2005-02-07  Jordi Mallach  <jordi@sindominio.net>
4536
4537         * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
4538
4539 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
4540
4541         * NEWS:
4542         * configure.ac:
4543         * shell/ev-view.c:
4544
4545         Add another check for find interface
4546
4547         Release 0.1.3
4548
4549 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
4550
4551         * shell/ev-application.c: (ev_application_open):
4552         * shell/ev-window.c: (ev_window_open):
4553
4554         Open gzipped ps documents
4555
4556 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
4557
4558         * TODO:
4559         * shell/ev-view.c: (set_document_page):
4560
4561         Clamp page number, dont try to move to
4562         not existant pages.
4563
4564 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
4565
4566         * backend/ev-document-find.c: (ev_document_find_changed):
4567         * backend/ev-document-find.h:
4568         * pdf/xpdf/pdf-document.cc:
4569         * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
4570         * shell/ev-window.c: (find_bar_search_changed_cb):
4571
4572         Fix several bugs with find
4573
4574 2005-02-04  Martin Kretzschmar  <martink@gnome.org>
4575
4576         * shell/ev-sidebar-thumbnails.c
4577         (ev_sidebar_thumbnails_select_page): do nothing unless we have a
4578         document. Prevents warning from scroll_to_cell.
4579
4580 2005-02-02  Kjartan Maraas  <kmaraas@gnome.org>
4581
4582         * configure.ac: Add Â«nb» to ALL_LINGUAS too.
4583
4584 Wed Feb  2 21:13:11 2005  Jonathan Blandford  <jrb@redhat.com>
4585
4586         * NOTES: New file with some random thoughts.
4587
4588         * TODO: Update.
4589
4590         * backend/ev-document-misc.c:
4591         (ev_document_misc_get_page_border_size): New function to
4592         canonicalize shadow drawing sizes.  Possibly goofy.
4593
4594         * shell/ev-view.c: (ev_view_size_request), (set_document_page),
4595         (ev_view_best_fit), (ev_view_fit_width):
4596         * pdf/xpdf/pdf-document.cc:
4597         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
4598         * ps/ps-document.c: (ps_document_get_page_size):
4599         * backend/ev-document-misc.h:
4600         * backend/ev-document.c: (ev_document_get_page_size):
4601         * backend/ev-document.h: get_page_size now takes a page number
4602         parameter.  Made all the backends/frontends honor it.
4603
4604         * data/evince-ui.xml: Added a multiple-page mode.  Uncomment to
4605         see.  Doesn't work yet.
4606
4607         * shell/Makefile.am:
4608         * shell/ev-page-view.[ch]: New multi-page view.  Really rough.
4609         Doesn't do anything yet.
4610
4611         * shell/ev-sidebar-thumbnails.c:
4612         (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
4613         [0..n_pages-1]
4614
4615         * shell/ev-window.c: (update_action_sensitivity),
4616         (ev_window_setup_document), (ev_window_set_page_mode),
4617         (ev_window_page_mode_cb), (ev_window_init): Clean up the
4618         view-swapping code a bit so we can have multiple views on a
4619         document.  Add the multi-page view, though it can't be turned on
4620         yet.
4621
4622 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
4623
4624         * shell/ev-application.c: (ev_application_open):
4625         * shell/ev-view.c: (expose_bin_window):
4626         * shell/ev-window.c: (ev_window_open):
4627
4628         Support eps and check document supports find
4629         before drawing highlightings in expose.
4630
4631 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
4632
4633         * pixbuf/pixbuf-document.c:
4634         (pixbuf_document_thumbnails_get_dimensions),
4635         (pixbuf_document_document_thumbnails_iface_init):
4636
4637         implement get_dimensions
4638
4639 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
4640
4641         * NEWS:
4642         * configure.ac:
4643
4644         Release 0.1.2
4645
4646 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
4647
4648         * shell/ev-view.c: (set_document_page):
4649
4650         Scroll at the top of the page when changing page
4651
4652 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
4653
4654         * shell/ev-view.c: (ev_view_motion_notify_event):
4655
4656         Do not redraw unnecessarily
4657
4658 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
4659
4660         * pdf/xpdf/pdf-document.cc:
4661         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4662         (expose_bin_window), (find_changed_cb):
4663
4664         Yay! find works now... Now to find bugs...
4665
4666 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
4667
4668         * backend/ev-document-find.c: (ev_document_find_base_init),
4669         (ev_document_find_changed):
4670         * backend/ev-document-find.h:
4671         * pdf/xpdf/pdf-document.cc:
4672         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
4673         (expose_bin_window), (ev_view_init), (set_document_page),
4674         (ensure_rectangle_is_visible), (jump_to_find_result),
4675         (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
4676         (ev_view_find_next), (ev_view_find_previous):
4677         * shell/ev-view.h:
4678         * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
4679
4680         More work on find implementation, mostly there now
4681
4682 2005-01-29  Marco Pesenti Gritti  <marco@gnome.org>
4683
4684         * backend/ev-backend-marshalers.list:
4685         * backend/ev-document-find.c: (ev_document_find_base_init),
4686         (ev_document_find_cancel), (ev_document_find_page_has_results),
4687         (ev_document_find_get_n_results), (ev_document_find_get_result),
4688         (ev_document_find_get_progress), (ev_document_find_changed):
4689         * backend/ev-document-find.h:
4690
4691         Enanche the find interface to be really able to do
4692         multi page find.
4693
4694         * pdf/xpdf/pdf-document.cc:
4695
4696         Implement
4697
4698         * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
4699         (expose_bin_window), (ev_view_init),
4700         (ev_view_get_find_status_message), (find_changed_cb),
4701         (ev_view_set_document), (set_document_page):
4702
4703         Adapt to the new interface. A few things are regressed sorry,
4704         I will finish it soon.
4705
4706 2005-01-28  Martin Kretzschmar  <martink@gnome.org>
4707
4708         * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
4709         (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
4710         ev_sidebar_thumbnails_parent_class variable, don't define another
4711         parent_class variable.
4712
4713         * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
4714         (ev_page_action_class_init): ditto.
4715
4716         * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
4717         (pixbuf_document_class_init): ditto.
4718
4719         * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
4720         ditto.
4721
4722         * .cvsignore: ignore various valgrind output files.
4723
4724 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
4725
4726         * data/evince-ui.xml:
4727         * shell/Makefile.am:
4728         * shell/ev-history.c:
4729         * shell/ev-history.h:
4730         * shell/ev-navigation-action.c:
4731         * shell/ev-navigation-action.h:
4732         * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
4733         (ev_view_set_page), (ev_view_fit_width):
4734         * shell/ev-view.h:
4735         * shell/ev-window.c: (update_action_sensitivity),
4736         (ev_window_setup_document), (register_custom_actions):
4737
4738         Kill session history
4739
4740 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
4741
4742         * shell/ev-window.c: (update_action_sensitivity):
4743
4744         Fix inverted up/down buttons
4745
4746 2005-01-27  Martin Kretzschmar  <martink@gnome.org>
4747
4748         * shell/ev-sidebar-thumbnails.c
4749         (ev_sidebar_thumbnails_select_page): make sure the selected
4750         thumbnail stays visible.
4751
4752 2005-01-26  Martin Kretzschmar  <martink@gnome.org>
4753
4754         * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
4755         scrolled window for Federico.
4756
4757 2005-01-26  Ole Laursen  <olau@hardworking.dk>
4758
4759         * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
4760
4761 2005-01-26  Marco Pesenti Gritti  <marco@gnome.org>
4762
4763         * configure.ac:
4764         * pdf/splash/SplashFTFontEngine.cc:
4765
4766         Fix CID fonts with freetype 2.1.9
4767
4768 2005-01-26  Bryan Clark  <clarkbw@cvs.gnome.org>
4769
4770         * TODO: added item for desktop icon thumbnailer
4771
4772 Tue Jan 25 00:59:34 2005  Jonathan Blandford  <jrb@redhat.com>
4773
4774         * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
4775         unloaded docs when the title is accessed.
4776
4777         * shell/ev-password-view.[hc]: New widget for displaying password
4778         state.
4779
4780         * shell/ev-window.[ch]: Refactor password handling code to handle
4781         the new view.
4782
4783 2005-01-24  Marco Pesenti Gritti  <marco@gnome.org>
4784
4785         * NEWS:
4786         * configure.ac:
4787         * data/Makefile.am:
4788
4789         Release 0.1.1
4790
4791 2005-01-23  Stephane LOEUILLET  <stephane.loeuillet@tiscali.fr>
4792
4793         * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
4794         ignore page offset here, to make search results independent of it,
4795
4796         * shell/ev-view.c (expose_bin_window): but take offsets into
4797         account here. Bug #164932
4798
4799         * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
4800         scale at the right time. Bug #164996
4801
4802 2005-01-22  Martin Kretzschmar  <martink@gnome.org>
4803
4804         * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
4805         fix the problem. Now I just removed the Adobe font names and hope
4806         that the URW fonts are always in outline format. Bug #164934
4807
4808         * shell/ev-window.c (update_window_title): empty titles are
4809         useless, use filename in that case too.
4810
4811         * NEWS: Add some content.
4812
4813 2005-01-21  Bryan Clark  <clarkbw@cvs.gnome.org>
4814
4815         * TODO: added one more TODO item and a TODONE section :)
4816
4817 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
4818
4819         * ps/ps-document.h: add page_[xy]_offset fields.
4820
4821         * ps/ps-document.c (ps_document_set_page_offset)
4822         (ps_document_render): Keep offset in consideration in a few
4823         places. Bug #164752 "postscript documents are not centered in
4824         window"
4825
4826         * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
4827         s/gpdf/evince/. Spotted by Stephane Loeuillet.
4828
4829         * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
4830         (pixbuf_document_get_text, pixbuf_document_document_iface_init):
4831         stub out missing methods for complete EvDocument implementation.
4832         Fixes segfaults with Save A Copy and Copy actions.
4833
4834         * ps/ps-document.c (ps_document_save, ps_document_get_text) 
4835         (ps_document_document_iface_init): ditto.
4836         
4837 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
4838
4839         * data/.cvsignore:
4840         * data/Makefile.am:
4841         * data/evince.desktop.in:
4842
4843         Add desktop file
4844
4845 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
4846
4847         * shell/ev-view.c: (ev_view_button_press_event),
4848         (ev_view_motion_notify_event):
4849
4850         Make selection work in any direction
4851
4852 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
4853
4854         * TODO:
4855         * shell/ev-window.c: (set_short_labels), (ev_window_init):
4856
4857         Use shorter labels for some of the toolbars items
4858
4859 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
4860
4861         * pdf/xpdf/pdf-document.cc:
4862
4863         Check the links info is initialized before
4864         using it. Should fix a crash on startup.
4865
4866 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
4867
4868         * pixbuf/pixbuf-document.c
4869         (pixbuf_document_thumbnails_get_dimensions): force floating point
4870         division to calculate page_ratio. Fixes crash with landscape
4871         format pixbufs.
4872
4873 Thu Jan 20 18:56:35 2005  Jonathan Blandford  <jrb@redhat.com>
4874
4875         * shell/ev-view.c (ev_view_realize): make the bg color darker.
4876
4877 2005-01-20  Martin Kretzschmar  <martink@gnome.org>
4878
4879         * shell/ev-view.c (set_document_page): unset has_selection when
4880         the page changes.
4881         (set_document_page): handle paper size changes when the page
4882         changes (test with Free Culture, page 2).
4883
4884 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
4885
4886         * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
4887         (expose_bin_window), (ev_view_class_init), (ev_view_init):
4888
4889         Use normal style color for the widget background and
4890         draw a black box around the page.
4891
4892 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
4893
4894         * pdf/xpdf/pdf-document.cc:
4895
4896         Keep offset in consideration in a few places
4897
4898         * shell/ev-view.c: (expose_bin_window):
4899
4900         Set the offsets so that the document is ever centered
4901
4902 2005-01-20  Bryan Clark  <clarkbw@cvs.gnome.org>
4903
4904         * TODO: Added TODO items and finished off the first todo item
4905
4906         * AUTHORS: Updated AUTHORS section with piece from gpdf file and
4907         reflect current authors
4908
4909 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
4910
4911         * pdf/xpdf/pdf-document.cc:
4912         * shell/ev-view.c: (ev_view_set_cursor),
4913         (ev_view_motion_notify_event), (document_changed_callback),
4914         (set_document_page):
4915
4916         Show a wait cursor while the page is rendering
4917
4918 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
4919
4920         * shell/ev-sidebar-thumbnails.c:
4921         (ev_sidebar_tree_selection_changed),
4922         (ev_sidebar_thumbnails_select_page):
4923         * shell/ev-sidebar-thumbnails.h:
4924         * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
4925         (ev_view_can_go_forward):
4926         * shell/ev-window.c: (ev_window_open_page),
4927         (ev_window_setup_document), (update_current_page),
4928         (view_page_changed_cb), (ev_window_init):
4929         * shell/ev-window.h:
4930
4931         Ensure thumbnails selection, toolbar page control and
4932         current page are in sync.
4933
4934 2005-01-19  Marco Pesenti Gritti  <marco@gnome.org>
4935
4936         * pdf/xpdf/XRef.cc:
4937
4938         Fix CAN-2005-0064
4939
4940 Wed Jan 19 01:10:57 2005  Jonathan Blandford  <jrb@redhat.com>
4941
4942         * backend/Makefile.am:
4943         * backend/ev-document-links.h:
4944         * backend/ev-document-security.c: (ev_document_security_get_type),
4945         (ev_document_security_has_document_security),
4946         (ev_document_security_set_password):
4947         * backend/ev-document-security.h:
4948         * backend/ev-document.c: (ev_document_error_quark):
4949         * backend/ev-document.h:
4950         * data/Makefile.am:
4951         * data/evince-password.glade:
4952         * pdf/xpdf/pdf-document.cc:
4953         * shell/Makefile.am:
4954         * shell/ev-password.c: (ev_password_set_bad_password_label),
4955         (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
4956         (ev_password_dialog_get_password),
4957         (ev_password_dialog_set_bad_pass):
4958         * shell/ev-password.h:
4959         * shell/ev-window.c: (ev_window_get_attribute),
4960         (ev_window_set_property), (update_action_sensitivity),
4961         (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
4962         (ev_window_setup_document), (ev_window_get_password),
4963         (ev_window_open), (ev_window_cmd_save_as),
4964         (using_postscript_printer), (ev_window_print),
4965         (find_not_supported_dialog), (ev_window_cmd_edit_find),
4966         (update_fullscreen_popup), (ev_window_fullscreen),
4967         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
4968         (ev_window_focus_out_cb), (ev_window_cmd_help_about),
4969         (menu_item_select_cb), (find_bar_search_changed_cb),
4970         (ev_window_dispose), (ev_window_init):
4971
4972         Add initial support for password-supported dialogs.  This could be
4973         a lot cooler, but it'll do for now.
4974
4975 2005-01-18  Marco Pesenti Gritti  <marco@gnome.org>
4976
4977         * pdf/xpdf/pdf-document.cc:
4978         * shell/ev-view.c: (status_message_from_link),
4979         (ev_view_set_status), (ev_view_set_cursor),
4980         (ev_view_motion_notify_event), (ev_view_init):
4981         * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
4982
4983         Fix bugs in the links implementation and change cursor
4984         when hovering a link.
4985
4986 2005-01-17  Bryan Clark  <clarkbw@cvs.gnome.org>
4987
4988         * viewer/.cvsignore: added cvsignore file for viewer directory
4989
4990         * TODO: created TODO document
4991
4992 2005-01-14  Dave Malcolm  <dmalcolm@redhat.com>
4993
4994         * shell/ev-view.h:
4995         * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):      
4996         new functions to help with implementation of sensitivity code
4997         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
4998         of all actions that might require it.  Fixes a crash when you
4999         click on the Zoom actions in a window lacking a document.
5000
5001 2005-01-13  Dave Malcolm  <dmalcolm@redhat.com>
5002
5003         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
5004         of the Find action
5005
5006 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
5007
5008         * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
5009         (pixbuf_document_document_iface_init):
5010         * ps/ps-document.c: (ps_document_get_link),
5011         (ps_document_document_iface_init):
5012         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
5013         (status_message_from_link), (ev_view_set_status),
5014         (ev_view_set_find_status), (ev_view_motion_notify_event),
5015         (ev_view_button_release_event), (ev_view_set_property),
5016         (ev_view_get_property), (ev_view_class_init), (ev_view_init),
5017         (ev_view_get_find_status_message), (update_find_results),
5018         (ev_view_get_status), (ev_view_get_find_status):
5019         * shell/ev-view.h:
5020         * shell/ev-window.c: (view_status_changed_cb),
5021         (view_find_status_changed_cb), (ev_window_init):
5022
5023         View status message support, use it to show the links.
5024         Needs work...
5025
5026 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
5027
5028         * backend/ev-document.c: (ev_document_get_link):
5029         * backend/ev-document.h:
5030         * pdf/xpdf/pdf-document.cc:
5031         * shell/ev-application.c: (ev_application_open):
5032         * shell/ev-application.h:
5033         * shell/ev-sidebar-links.c: (selection_changed_cb):
5034         * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
5035         (ev_view_go_to_link):
5036
5037         Add support for document links
5038
5039 2005-01-13  Anders Carlsson  <andersca@gnome.org>
5040
5041         * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
5042         (create_tool_item):
5043         Set the spin button limits correctly.
5044         
5045         * shell/ev-sidebar-thumbnails.c:
5046         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
5047         Support changing pages by clicking on the thumbnails.
5048         
5049 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
5050
5051         * pixbuf/pixbuf-document.c:
5052         (pixbuf_document_thumbnails_get_dimensions),
5053         (pixbuf_document_document_thumbnails_iface_init):
5054
5055         implement get_dimensions
5056
5057 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
5058
5059         * ps/ps-document.c: (ps_document_goto_page):
5060
5061         Fix page switching on multipage documents
5062
5063 2005-01-12  Jeff Muizelaar  <jrmuizel@nit.ca>
5064
5065         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
5066         
5067         check for NULL before assigning to width and height parameters
5068
5069 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
5070
5071         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
5072         (pixbuf_document_set_property), (pixbuf_document_get_property):
5073
5074         implement get/set properties
5075
5076 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
5077
5078         * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
5079         
5080         return NULL instead of "Unknown", letting the title get set to
5081         the filename when the pdf has no title.
5082
5083 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
5084
5085         * ps/ps-document.c: (ps_document_get_page_count),
5086         (ps_document_goto_page):
5087
5088 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
5089
5090         * shell/ev-history.c: (ev_history_get_property),
5091         (ev_history_set_property), (ev_history_class_init),
5092         (ev_history_add_page), (ev_history_set_current_index):
5093         * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
5094         (activate_menu_item_cb), (new_history_menu_item), (build_menu),
5095         (ev_navigation_action_finalize):
5096         * shell/ev-navigation-action.h:
5097         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5098         (ev_view_go_forward), (ev_view_get_find_status_message),
5099         (history_index_changed_cb), (ev_view_set_history):
5100         * shell/ev-view.h:
5101         * shell/ev-window.c: (update_total_pages), (ev_window_open),
5102         (update_current_page), (register_custom_actions):
5103
5104         Implement history dropdowns
5105
5106 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
5107
5108         * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
5109         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
5110         (ev_view_go_forward):
5111         * shell/ev-window.c: (register_custom_actions):
5112
5113         Fix several history bugs
5114
5115 2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>
5116
5117         * configure.ac: Add Â«nb» to ALL_LINGUAS.
5118
5119 2005-01-10  Marco Pesenti Gritti  <marco@gnome.org>
5120
5121         * backend/Makefile.am:
5122         * backend/ev-bookmark.c:
5123         * backend/ev-bookmark.h:
5124         * backend/ev-document-bookmarks.c:
5125         * backend/ev-document-bookmarks.h:
5126         * backend/ev-document-links.c: (ev_document_links_get_type),
5127         (ev_document_links_has_document_links),
5128         (ev_document_links_begin_read), (ev_document_links_get_link),
5129         (ev_document_links_get_child), (ev_document_links_next),
5130         (ev_document_links_free_iter):
5131         * backend/ev-document-links.h:
5132         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
5133         (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
5134         (ev_link_get_link_type), (ev_link_set_link_type),
5135         (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
5136         (ev_link_set_property), (ev_window_dispose), (ev_link_init),
5137         (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
5138         (ev_link_new_external):
5139         * backend/ev-link.h:
5140         * pdf/xpdf/pdf-document.cc:
5141         * shell/Makefile.am:
5142         * shell/ev-application.c: (ev_application_open_link):
5143         * shell/ev-application.h:
5144         * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
5145         (ev_history_get_link_nth):
5146         * shell/ev-history.h:
5147         * shell/ev-sidebar-bookmarks.c:
5148         * shell/ev-sidebar-bookmarks.h:
5149         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
5150         (ev_sidebar_links_class_init), (selection_changed_cb),
5151         (ev_sidebar_links_construct), (ev_sidebar_links_init),
5152         (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
5153         (do_one_iteration), (populate_links_idle),
5154         (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
5155         * shell/ev-sidebar-links.h:
5156         * shell/ev-sidebar.c: (ev_sidebar_set_document):
5157         * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
5158         (go_to_index):
5159         * shell/ev-view.h:
5160         * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
5161         * shell/ev-window.h:
5162
5163         Rename bookmark to link, and use "Index" for the sidebar panel.
5164
5165 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
5166
5167         * shell/Makefile.am:
5168         * shell/ev-application.c: (ev_application_open_bookmark):
5169         * shell/ev-application.h:
5170         * shell/ev-history.c: (ev_history_init), (free_links_list),
5171         (ev_history_finalize), (ev_history_class_init),
5172         (ev_history_add_link), (ev_history_add_page),
5173         (ev_history_get_link_nth), (ev_history_get_n_links),
5174         (ev_history_get_current_index), (ev_history_set_current_index),
5175         (ev_history_new):
5176         * shell/ev-history.h:
5177         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5178         * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
5179         (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
5180         (go_to_index), (ev_view_go_back), (ev_view_go_forward),
5181         (ev_view_set_page):
5182         * shell/ev-view.h:
5183         * shell/ev-window.c: (ev_window_open_bookmark),
5184         (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
5185         (goto_page_cb), (register_custom_actions):
5186         * shell/ev-window.h:
5187
5188         Initial history implementation. Needs work.
5189
5190 2005-01-09  Martin Kretzschmar  <martink@gnome.org>
5191
5192         * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
5193
5194 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
5195
5196         * cut-n-paste/recent-files/egg-recent-item.c:
5197         * cut-n-paste/recent-files/egg-recent-item.h:
5198         * cut-n-paste/recent-files/egg-recent-model.c:
5199         * cut-n-paste/recent-files/egg-recent-util.c:
5200         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
5201         * cut-n-paste/recent-files/egg-recent-view.c:
5202
5203         Update
5204
5205 2005-01-08  Martin Kretzschmar  <martink@gnome.org>
5206
5207         * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
5208         (fillGlyph, fillImageMask, drawImage):
5209         pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
5210         pdf/splash/SplashTypes.h:
5211         pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
5212         packed mode for Splash.
5213
5214         * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
5215         RGB8 packed mode, eliminates the pixbuf data creation loop.
5216
5217         * shell/ev-print-job.c (ev_print_job_finalize)
5218         (ev_print_job_set_property, ev_print_job_get_property)
5219         (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
5220         (ev_print_job_use_print_dialog_settings, idle_print_handler)
5221         (print_closure_finalize, ev_print_job_print): implement
5222         printing (for backends with EvPsExporter)
5223
5224         * shell/ev_print_job.h: update prototypes.
5225
5226         * shell/ev-window.c (ev_window_print): unref print job after
5227         printing.
5228
5229         * shell/ev-view.c (ev_view_set_document): don't connect to "found"
5230         unless the document implements the EvDocumentFind interface.
5231
5232 2005-01-08  Satoru SATOH <ss@gnome.gr.jp>
5233
5234         * configure.ac: Added ja to ALL_LINGUAS.
5235
5236 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
5237
5238         * pdf/xpdf/pdf-document.cc:
5239
5240         add a FIXME. We should probably not allocate
5241         a bookmark object every time
5242
5243 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
5244
5245         * shell/ev-application.c: (ev_application_open),
5246         (ev_application_open_bookmark):
5247         * shell/ev-application.h:
5248         
5249         Add a way to open bookmarks
5250
5251         * backend/ev-bookmark.c: (ev_bookmark_get_uri),
5252         (ev_bookmark_set_uri), (ev_bookmark_get_property),
5253         (ev_bookmark_set_property), (ev_bookmark_class_init),
5254         (ev_bookmark_new_title), (ev_bookmark_new_link),
5255         (ev_bookmark_new_external):
5256
5257         Support for external uris, better constructors.
5258
5259         * backend/ev-bookmark.h:
5260         * pdf/xpdf/pdf-document.cc:
5261         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
5262
5263         Handle external uris
5264
5265 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
5266
5267         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
5268         (ev_sidebar_bookmarks_construct), (do_one_iteration):
5269
5270         Hook up bookmarks navigation
5271
5272 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
5273
5274         * backend/Makefile.am:
5275         * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
5276         (ev_bookmark_get_title), (ev_bookmark_set_title),
5277         (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
5278         (ev_bookmark_get_page), (ev_bookmark_set_page),
5279         (ev_bookmark_get_property), (ev_bookmark_set_property),
5280         (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
5281         (ev_bookmark_new):
5282         * backend/ev-bookmark.h:
5283         * backend/ev-document-bookmarks.c:
5284         (ev_document_bookmarks_get_bookmark):
5285         * backend/ev-document-bookmarks.h:
5286         * pdf/xpdf/pdf-document.cc:
5287         * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
5288
5289         Add a bookmark object to the backend and use it instead of get_values
5290
5291 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
5292
5293         * data/evince-ui.xml:
5294
5295         Cleanup and add select all.
5296
5297         * shell/ev-view.c: (ev_view_select_all),
5298         (ev_view_button_press_event):
5299         * shell/ev-view.h:
5300         * shell/ev-window.c: (ev_window_cmd_edit_select_all):
5301
5302         Add select all.
5303         Clear selection on click.
5304
5305 Fri Jan  7 01:28:58 2005  Jonathan Blandford  <jrb@redhat.com>
5306
5307         * shell/ev-sidebar-thumbnails.c
5308         (ev_sidebar_thumbnails_set_document): forgot to unref the
5309         loading_icon.
5310
5311 Fri Jan  7 01:22:48 2005  Jonathan Blandford  <jrb@redhat.com>
5312
5313         * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
5314         at the visible page, not just linearly.  This makes it look fast.
5315
5316 Thu Jan  6 18:48:11 2005  Jonathan Blandford  <jrb@redhat.com>
5317
5318         * backend/ev-document-misc.c
5319         (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
5320         white.
5321         * backend/ev-document-thumbnails.h: New interface to get the size
5322         of a page.
5323
5324 2005-01-06  Jeremy Katz  <katzj@redhat.com>
5325
5326         * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
5327         make dist works
5328
5329 Wed Jan  5 15:38:28 2005  Jonathan Blandford  <jrb@redhat.com>
5330
5331         * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
5332         GDKSplashOutputDev and just use a normal SplashOutputDev.  Speeds
5333         things up a bit.
5334
5335         * shell/ev-sidebar-thumbnail.c: start of some profiling code.
5336
5337 2005-01-05  Martin Kretzschmar  <martink@gnome.org>
5338
5339         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
5340         fonts. Should fix font problems on systems that have the base
5341         fonts in bitmap format. Reported by James Henstridge
5342         <james@jamesh.id.au>.
5343
5344 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
5345
5346         * pdf/xpdf/Gfx.cc:
5347         * pdf/xpdf/GfxState.cc:
5348
5349         Fix for CAN-2004-1125
5350
5351 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
5352
5353         * shell/ev-view.c: (ev_view_copy):
5354         * shell/ev-view.h:
5355         * shell/ev-window.c: (ev_window_cmd_edit_copy):
5356
5357         Implement Edit->Copy
5358
5359 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
5360
5361         * backend/ev-document.c: (ev_document_get_text):
5362         * backend/ev-document.h:
5363         * pdf/xpdf/pdf-document.cc:
5364         * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
5365         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
5366         (ev_view_update_primary_selection), (ev_view_button_press_event),
5367         (ev_view_motion_notify_event), (ev_view_button_release_event):
5368
5369         Beginnings of clipboard support. Incomplete but primary sort
5370         of work.
5371
5372 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
5373
5374         * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
5375         (expose_bin_window):
5376
5377         Nicer rubberband drawing, from GtkIconView.
5378
5379 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
5380
5381         * backend/ev-document.c: (ev_document_save):
5382         * backend/ev-document.h:
5383         * data/evince-ui.xml:
5384         * pdf/xpdf/pdf-document.cc:
5385         * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
5386
5387         Implement "Save a copy..." menu item
5388
5389 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
5390
5391         * shell/ev-view.c: (ev_view_zoom):
5392
5393         Queue a resize when zoom changes
5394
5395 Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>
5396
5397         * backend/ev-document-misc.[ch]: New misc file to do simple drop
5398         shadows.
5399
5400         * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
5401         thumbnails..
5402
5403 Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
5404
5405         * pdf/xpdf/pdf-document.cc
5406         (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
5407
5408 Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>
5409
5410         * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
5411         It's slow, but I'll speed it up next!
5412
5413 2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>
5414
5415         * shell/main.c (load_files):
5416
5417         use gnome_vfs_make_uri_from_shell_arg so that relative paths work
5418         from the command line and because it seems more appropriate.
5419
5420 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
5421
5422         * data/evince-ui.xml:
5423         * shell/ev-window.c: (update_action_sensitivity),
5424         (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
5425
5426         s/next page/page down
5427         s/previous page/page up
5428
5429 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
5430
5431         * data/evince-ui.xml:
5432
5433         Change the layout to match clarkbw design.
5434
5435         * shell/Makefile.am:
5436         * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
5437         (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
5438         (ev_navigation_action_finalize),
5439         (ev_navigation_action_set_property),
5440         (ev_navigation_action_get_property),
5441         (ev_navigation_action_class_init):
5442         * shell/ev-navigation-action.h:
5443
5444         Implement clarkbw toolbar navigation controls (incomplete)
5445
5446         * shell/ev-page-action.c: (update_label), (update_spin),
5447         (value_changed_cb), (create_tool_item), (connect_proxy),
5448         (ev_page_action_init), (ev_page_action_finalize),
5449         (ev_page_action_set_property), (ev_page_action_get_property),
5450         (ev_page_action_set_current_page),
5451         (ev_page_action_set_total_pages), (ev_page_action_class_init):
5452         * shell/ev-page-action.h:
5453
5454         Implement a page switcher in the toolbar
5455
5456         * shell/ev-view.c: (ev_view_scroll_view):
5457         * shell/ev-window.c: (update_total_pages), (ev_window_open),
5458         (update_current_page), (view_page_changed_cb), (goto_page_cb),
5459         (register_custom_actions), (ev_window_init):
5460
5461         Change page on PageUp/Down.
5462
5463 Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>
5464
5465         * pdf/xpdf/pdf-document.cc
5466         (pdf_document_thumbnails_get_thumbnail): initial stab at
5467         implementing thumbnail support for pdfs.  It only does documents
5468         with precached pdfs now.
5469
5470 Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>
5471
5472         * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
5473         thumbnail code into a time-based idle as well.  Also, turn off the
5474         shadow temporarily as it's really slow.
5475
5476 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
5477
5478         * backend/ev-document.c: (ev_document_class_init):
5479         * pdf/xpdf/pdf-document.cc:
5480         * shell/ev-window.c: (ev_window_open):
5481
5482         Fix document title bugs and fallback to
5483         filename when not available.
5484
5485 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
5486
5487         * backend/ev-document.c: (ev_document_get_type),
5488         (ev_document_class_init), (ev_document_load),
5489         (ev_document_get_title):
5490         * backend/ev-document.h:
5491         * pdf/xpdf/pdf-document.cc:
5492         * ps/ps-document.c: (ps_document_set_property),
5493         (ps_document_get_property), (ps_document_class_init),
5494         (document_load):
5495         * ps/ps-document.h:
5496         * ps/ps.h:
5497         * shell/ev-window.c: (update_window_title), (ev_window_open),
5498         (ev_window_init):
5499
5500         Initial support for document title. Not working yet.
5501
5502 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
5503
5504         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
5505
5506         Grab focus on the view when clicking it
5507
5508 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
5509
5510         * shell/ev-marshal.list:
5511         * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
5512         (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
5513
5514         Add key bindings to the view. Now if the focus would work
5515         right...
5516
5517 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
5518
5519         * Makefile.am:
5520         * backend/Makefile.am:
5521         * data/Makefile.am:
5522         * dvi/Makefile.am:
5523         * dvi/dvilib/Makefile.am:
5524         * pdf/xpdf/Makefile.am:
5525         * po/POTFILES.in:
5526         * ps/Makefile.am:
5527
5528         Fix distcheck
5529
5530 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5531
5532         * shell/ev-view.c: (ev_view_realize):
5533
5534         Fix mouse wheel scrolling
5535
5536 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5537
5538         * ps/Makefile.am:
5539         * ps/gstypes.h:
5540         * ps/gtkgs.c:
5541         * ps/gtkgs.h:
5542         * ps/ps-document.c: (catchPipe), (ps_document_init),
5543         (ps_document_class_init), (ps_document_cleanup),
5544         (ps_document_finalize), (send_ps), (ps_document_get_orientation),
5545         (set_up_page), (close_pipe), (is_interpreter_ready),
5546         (interpreter_failed), (output), (input), (start_interpreter),
5547         (stop_interpreter), (file_length), (file_readable),
5548         (check_filecompressed), (check_pdf), (compute_xdpi),
5549         (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
5550         (ps_document_get_type), (ps_document_emit_error_msg),
5551         (document_load), (ps_document_next_page),
5552         (ps_document_get_current_page), (ps_document_get_page_count),
5553         (ps_document_goto_page), (ps_document_set_page_size),
5554         (ps_document_zoom_to_fit), (ps_document_set_zoom),
5555         (ps_document_load), (ps_document_get_n_pages),
5556         (ps_document_set_page), (ps_document_get_page),
5557         (ps_document_widget_event), (ps_document_set_target),
5558         (ps_document_set_scale), (ps_document_set_page_offset),
5559         (ps_document_get_page_size), (ps_document_render),
5560         (ps_document_document_iface_init):
5561         * ps/ps-document.h:
5562         * ps/ps.c:
5563         * shell/ev-window.c: (ev_window_open):
5564
5565         Rename GtkGS to PSDocument
5566
5567 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5568
5569         * ps/gtkgs.c: (gtk_gs_class_init):
5570         * ps/gtkgs.h:
5571
5572         Some more leftover...
5573
5574 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5575
5576         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
5577         (output), (stop_interpreter), (gtk_gs_emit_error_msg),
5578         (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
5579         * ps/gtkgs.h:
5580
5581         Remove unused code and make a lot of stuff private
5582
5583 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5584
5585         * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
5586         (gtk_gs_defaults_changed):
5587         * ps/gsdefaults.h:
5588         * ps/gtkgs.c:
5589         * ps/gtkgs.h:
5590         * ps/ps.h:
5591
5592         Cleanup headers dependencies
5593
5594 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
5595
5596         * ps/Makefile.am:
5597         * ps/ggvutils.c:
5598         * ps/ggvutils.h:
5599         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
5600         * ps/gsdefaults.h:
5601         * ps/gtkgs.c: (file_length), (file_readable),
5602         (check_filecompressed), (check_pdf), (gtk_gs_load),
5603         (gtk_gs_get_postscript):
5604
5605         Get rid of ggvutils
5606
5607 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
5608
5609         * ps/ggvutils.c:
5610         * ps/ggvutils.h:
5611         * ps/gsio.h:
5612         * ps/gtkgs.c: (gtk_gs_set_zoom):
5613
5614         Cleanups
5615
5616 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
5617
5618         * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
5619
5620         Ensure the page is rerendered when changing zoom
5621
5622 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
5623
5624         * backend/ev-document.c: (ev_document_base_init),
5625         (ev_document_changed):
5626         * backend/ev-document.h:
5627
5628         Add a changed event that is emitted when the page content
5629         changes. This is necessary to deal with the fact that
5630         in ps backend rendering happen asycrounously.
5631         This makes the ps backend mostly work.
5632
5633         * pdf/xpdf/pdf-document.cc:
5634
5635         Emit changed event
5636
5637         * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
5638         (ps_document_set_target):
5639
5640         Emit changed event
5641
5642         * shell/ev-view.c: (document_changed_callback),
5643         (ev_view_set_document), (ev_view_set_page):
5644
5645         Redraw on the changed signal
5646
5647 2004-12-25  Raphael Higino  <raphaelh@cvs.gnome.org>
5648
5649         * configure.ac: Added pt_BR to ALL_LINGUAS.
5650
5651 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
5652
5653         * backend/ev-document-bookmarks.c:
5654         (ev_document_bookmarks_get_child): *
5655         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
5656         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
5657         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
5658         (ev_sidebar_bookmarks_destroy),
5659         (ev_sidebar_bookmarks_class_init),
5660         (ev_sidebar_bookmarks_construct), (stack_data_free),
5661         (do_one_iteration), (populate_bookmarks_idle),
5662         (ev_sidebar_bookmarks_clear_document),
5663         (ev_sidebar_bookmarks_set_document): *
5664         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
5665         (ev_sidebar_add_page),
5666         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
5667         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
5668         it displays both the topics and the page numbers.
5669
5670 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
5671
5672         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
5673         toggle.
5674         * shell/ev-window.c (toggle_entries): Set sidebar default value to
5675         visible.
5676
5677 2004-12-23  Adam Weinberger  <adamw@gnome.org>
5678
5679         * configure.ac: Added en_CA to ALL_LINGUAS.
5680
5681 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
5682
5683         * ChangeLog: replace bottom of this ChangeLog (merged history of
5684         ggv and gpdf; where all paths were wrong and most of the files are
5685         not even in this tree) with ChangeLog (from arch) of the shell
5686         code.
5687
5688 2004-12-23  Havoc Pennington  <hp@redhat.com>
5689
5690         * shell/ev-window.c: hook up potentially-questionable "find
5691         results status text" feature - something involving the sidebar or
5692         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
5693         might be better in the end.
5694
5695         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
5696         with corresponding signal when it should be updated
5697
5698         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
5699
5700 2004-12-22  Havoc Pennington  <hp@redhat.com>
5701
5702         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
5703         find stuff on other pages, sort of (only returns one result on
5704         invisible pages, to show they have results; updates full results
5705         for a page when you view it). Currently repaints the current page
5706         every time a new result is found on any page, which isn't so nice.
5707
5708 2004-12-22  Havoc Pennington  <hp@redhat.com>
5709
5710         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
5711         the document doesn't support find (better ideas?)
5712         (find_bar_search_changed_cb): handle missing document or document
5713         that doesn't support find
5714
5715         * pdf/xpdf/pdf-document.cc: port to implement the new
5716         EvDocumentFindIface
5717
5718         * backend/ev-document-find.c: create a new interface for searching
5719
5720         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
5721
5722 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
5723
5724         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
5725         libevbackend.la.
5726
5727         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
5728         EvPrintJob constructor arguments.
5729
5730         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
5731         for documents that can export PostScript (page by page).
5732
5733         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
5734         
5735         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
5736         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
5737         (pdf_document_ps_exporter_iface_init:
5738         Implement EvPSExporter.
5739
5740         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
5741
5742 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5743
5744         * backend/Makefile.am:
5745         * backend/ev-document-thumbnails.c:
5746         (ev_document_thumbnails_get_type),
5747         (ev_document_thumbnails_get_thumbnail):
5748         * backend/ev-document-thumbnails.h:
5749         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5750         (pixbuf_document_thumbnails_get_thumbnail),
5751         (pixbuf_document_document_thumbnails_iface_init):
5752         * shell/Makefile.am:
5753         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
5754         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
5755         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
5756         * shell/ev-sidebar-thumbnails.h:
5757         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
5758         (ev_sidebar_set_document):
5759         * shell/ev-utils.c: (gaussian), (create_blur_filter),
5760         (create_shadow), (ev_pixbuf_add_shadow):
5761         * shell/ev-utils.h:
5762         Add thumbnail support.
5763         
5764 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
5765
5766         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
5767         (using_postscript_printer): Set up a print dialog for "PostScript
5768         injection" method.
5769
5770         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
5771         EvPrintJob.
5772
5773         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
5774
5775 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5776
5777         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
5778         (ps_document_set_target), (ps_document_get_page_size),
5779         (ps_document_render):
5780         * ps/gtkgs.h:
5781
5782         Fix a few bugs
5783
5784 2004-12-22  Christian Rose  <menthos@menthos.com>
5785
5786         * configure.ac: Added "sv" to ALL_LINGUAS.
5787
5788 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
5789
5790         * backend/ev-document-bookmarks.[ch]: new interface to indicate
5791         document supports bookmarks.
5792
5793 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5794
5795         * ps/ggvutils.c: (ggv_file_readable):
5796         * ps/ggvutils.h:
5797         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
5798         (gtk_gs_get_postscript):
5799
5800         Remove unused utils
5801
5802 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5803
5804         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
5805         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
5806         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
5807         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
5808         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
5809         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
5810         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5811         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5812         (gtk_gs_set_antialiasing), (ps_document_load),
5813         (ps_document_render):
5814         * ps/gtkgs.h:
5815
5816         Another check point for the ps backend. Now I can get it to show
5817         pages!
5818
5819 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
5820
5821         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
5822         document setting code.
5823
5824 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5825
5826         * shell/eggfindbar.c: (entry_activate_callback):
5827         Animate the next button when activate is pressed.
5828         
5829 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5830
5831         * shell/ev-window.c: (ev_window_cmd_edit_find),
5832         (update_fullscreen_popup), (ev_window_fullscreen),
5833         (ev_window_unfullscreen), (ev_window_state_event_cb),
5834         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
5835         Fix bugs in fullscreen code.
5836         
5837 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5838
5839         * Makefile.am:
5840         * configure.ac:
5841         * pixbuf/Makefile.am:
5842         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
5843         (pixbuf_document_load), (pixbuf_document_get_n_pages),
5844         (pixbuf_document_set_page), (pixbuf_document_get_page),
5845         (pixbuf_document_set_target), (pixbuf_document_set_scale),
5846         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
5847         (pixbuf_document_render), (pixbuf_document_begin_find),
5848         (pixbuf_document_end_find), (pixbuf_document_finalize),
5849         (pixbuf_document_class_init),
5850         (pixbuf_document_document_iface_init), (pixbuf_document_init):
5851         * pixbuf/pixbuf-document.h:
5852         * shell/Makefile.am:
5853         * shell/ev-application.c: (ev_application_open):
5854         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
5855         (ev_window_open):
5856         Add pixbuf backend.
5857         
5858 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
5859
5860         * Makefile.am: 
5861         * dvi/dvilib/Makefile.am:
5862         * dvi/Makefile.am:
5863         * configure.ac: Auto*ify dvi and dvi/dvilib
5864
5865         * dvi/Makefile: Remove from CVS
5866         
5867         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
5868         confusion.
5869
5870         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
5871         
5872         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
5873         
5874 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5875
5876         * ps/Makefile.am:
5877         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
5878         (gtk_gs_value_adjustment_changed), (compute_size),
5879         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
5880         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
5881         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
5882         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
5883         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
5884         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
5885         (ps_document_load), (ps_document_get_n_pages),
5886         (ps_document_set_page), (ps_document_get_page),
5887         (ps_document_set_target), (ps_document_set_scale),
5888         (ps_document_set_page_offset), (ps_document_get_page_size),
5889         (ps_document_render), (ps_document_begin_find),
5890         (ps_document_end_find), (ps_document_document_iface_init):
5891         * ps/gtkgs.h:
5892         * shell/Makefile.am:
5893         * shell/ev-window.c: (ev_window_open):
5894
5895         Some work to integrate gtkgs with EvDocument
5896
5897 2004-12-22  Anders Carlsson  <andersca@gnome.org>
5898
5899         * shell/ev-window.c: (update_fullscreen_popup),
5900         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
5901         (exit_fullscreen_button_clicked_cb),
5902         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
5903         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
5904         (ev_window_state_event_cb), (ev_window_init):
5905         Add fullscreen support from Epiphany.
5906         
5907 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
5908
5909         * data/ev-stock-zoom-fit-width.png: fit-width
5910         stock icon from gpdf.
5911         
5912         * shell/ev-stock-icons.[ch]: copied from gpdf.
5913         
5914         * shell/main.c: (main): init stock icons.
5915         
5916         * shell/ev-window.c: use the fit-width icon.
5917         
5918         * data/evince-ui.xml: add zooming toolbar items.
5919
5920 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
5921
5922         * shell/ev-view.c: 
5923         (ev_view_best_fit), (ev_view_fit_width): because
5924         get_page_size() returns the scaled page size, we
5925         need to calculate the scale factor relative to
5926         the previous scale factor. Should really just
5927         add get_real_page_size().
5928
5929 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
5930
5931         * shell/ev-view.[ch]:
5932         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
5933         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
5934         add zooming.
5935         
5936         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
5937         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
5938         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
5939         hook it up.
5940         
5941         * pdf/xpdf/pdf-document.cc:
5942         (pdf_document_begin_find),
5943         (pdf_document_end_find): make static.
5944
5945 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
5946
5947         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
5948
5949         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
5950         names to fontconfig patterns.
5951         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
5952
5953         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
5954         setupBaseFontsFc.
5955
5956 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
5957
5958         * Makefile.am:
5959         * configure.ac:
5960         * ps/Makefile.am:
5961         * ps/ggvutils.c:
5962         * ps/ggvutils.h:
5963         * ps/gsdefaults.c:
5964         * ps/gsdefaults.h:
5965         * ps/gsio.c:
5966         * ps/gsio.h:
5967         * ps/gtkgs.c:
5968         * ps/gtkgs.h:
5969         * ps/ps.c:
5970         * ps/ps.h:
5971
5972         Import ggv backend. Not hooked up yet.
5973
5974 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
5975
5976         * shell/main.c: (load_files), (main): load files
5977         from the command line.
5978
5979 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
5980
5981         * configure.ac: don't require bonobo.
5982         
5983         * cut-n-paste/recent-files/*: kill bonobo recent
5984         view.
5985
5986         * shell/ev-window.c:
5987         (ev_window_is_empty): upd.
5988         (unable_to_load), (ev_window_open): load backend
5989         based on the mime type.
5990
5991 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
5992
5993         * backend/.cvsignore: ignore generated marshalers source.
5994
5995         * shell/main.c (main): this is not epiphany.
5996
5997 2004-12-22  Havoc Pennington  <hp@redhat.com>
5998
5999         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
6000         (expose_bin_window): draw find highlights
6001
6002         * shell/ev-window.c (find_bar_search_changed_cb): implement 
6003         
6004         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
6005         (pdf_document_end_find): implement this interface
6006
6007         * backend/ev-document.c (ev_document_found): add this to emit
6008         signal
6009
6010 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
6011
6012         * data/evince-ui.xml: Add a few more toolbar items.
6013
6014         * shell/ev-window.c: Hook up page navigation toolbar 
6015         items.
6016
6017         * shell/ev-view.[ch]: add ev_view_set/get_page and 
6018         a page-changed signal.
6019
6020         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
6021         Add ev_document_get_page().
6022
6023         * shell/ev-window.c: Sensitize/desensitize navigation
6024         actions.
6025
6026 2004-12-21  Havoc Pennington  <hp@redhat.com>
6027
6028         * backend/ev-backend-marshal.c,
6029         backend/ev-backend-marshalers.list, backend/Makefile.am: add
6030         marshaler-generator thingy. I'm sure there's a better way to do
6031         this in the modern world.
6032
6033         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
6034         end_find methods and "found" signal.
6035
6036         * configure.ac: find glib-genmarshal
6037
6038 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
6039
6040         * shell/ev-sidebar.c: Construct an actual sidebar.
6041         * shell/ev-sidebar-bookmarks.[ch]:
6042         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
6043
6044 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
6045
6046         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
6047         Redo size handling.
6048         
6049         * shell/ev-view.c: Track the size from the document.
6050
6051 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
6052
6053         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
6054         constructor assumes ownership of the string passed in.
6055         
6056         * shell/ev-window.c (ev_window_open): Destroy the error
6057         dialog once we've displayed it.
6058
6059 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
6060
6061         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
6062         a bit, it works! (sort of)
6063
6064         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
6065         Move to .cc since we need to use C++ in the implementation.
6066
6067         * shell/dummy.cc: Add a CC file to force evince
6068         to be linked as a C++ program.
6069
6070 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
6071
6072         * shell/ev-view.[ch]: Start of content-area widget.
6073
6074         * shell/ev-window.c: Create a EvView, update it
6075         as we change documents.
6076
6077         * shell/Makefile.am shell/ev-marshal.list: Add
6078         generated marshalers.
6079
6080 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
6081
6082         * Makefile.am (SUBDIRS): move shell.
6083
6084 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
6085
6086         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
6087         .a to libtool convenience libraries.
6088
6089         * shell/ev-window.c (ev_window_open): Hard code loading
6090         a PDF document.
6091         
6092         * backend/ev-document.h: Add a boolean return to load(),
6093         fix GError * to GError **.
6094
6095         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
6096         object for a PDF backend EvDocument.
6097
6098 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
6099
6100         * dvi/*: New directory with the beginning of a .dvi backend.
6101
6102 2004-12-21  Havoc Pennington  <hp@redhat.com>
6103
6104         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
6105         previous/next instead of back/forward
6106
6107 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
6108
6109         * backend/ev-document.[ch]: Fix a couple of problems so
6110         it compile.
6111
6112 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
6113
6114         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
6115         to backend/ directory, rename EvViewer to EvDocument.
6116
6117 2004-12-21  Havoc Pennington  <hp@redhat.com>
6118
6119         * shell/ev-window.c: hook up the find bar widget; now we just need
6120         a document to find things in
6121
6122         * shell/eggfindbar.c: a find bar widget
6123
6124 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
6125
6126         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
6127
6128 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
6129
6130         * pdf/**: Import of xpdf code from gpdf. 
6131
6132         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
6133
6134         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
6135         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
6136         Fix FreeType includes.
6137
6138         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
6139         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
6140         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
6141         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
6142         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
6143         Include xpdfconfig.h
6144         
6145 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
6146
6147         * shell/ev-window.c (ev_window_dispose): dispose can be called
6148         multiple times.
6149
6150 2004-12-21  Havoc Pennington  <hp@redhat.com>
6151
6152         * shell/ev-window.c (ev_window_init): set title to Document Viewer
6153         rather than Evince
6154
6155         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
6156         items; really they should be synced with the strings, etc. from
6157         current gpdf, but just getting the boring typing out of the way 
6158
6159 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
6160
6161         * po/POTFILES.in:
6162         * shell/ev-application.c: (window_destroy_cb):
6163         * shell/ev-window.c:
6164         * shell/main.c: (main):
6165
6166         Actually show the window...
6167
6168 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
6169
6170         * Makefile.am:
6171         * shell/Makefile.am:
6172         * shell/ev-application.c: (ev_application_class_init):
6173         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
6174
6175         Make it build again
6176
6177 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
6178
6179         Import to gnome cvs.
6180         
6181         * Remove copies of gpdf and ggv trees.
6182         * Rip out all the recursive configure code.
6183         * Remove bonobo machinery.
6184         * viewer/*: GInterfaces that backends should/can implement.
6185
6186 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6187
6188         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
6189         typo
6190
6191 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6192
6193         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
6194         (ev_application_finalize, ev_application_class_init)
6195         (ev_application_init): use GType instance private data for priv.
6196     
6197         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
6198         (ev_window_finalize, ev_window_class_init)
6199         (ev_window_init): ditto.
6200
6201 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6202
6203         * shell/ev-application.c (ev_application_new_window): make public
6204         (ev_application_show_initial_window): kill.
6205     
6206         * shell/ev-application.h: update prototypes.
6207     
6208         * shell/main.cc (main): inline ev_application_show_initial_window.
6209
6210 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6211
6212         * shell/ev-application.c (ev_application_new_window): impl.
6213         (ev_application_show_initial_window): use it.
6214         (is_window_empty, ev_application_get_empty_window): returns an
6215         existing empty window or a new one.
6216         (ev_application_open): from ev_window_cmd_file_open.
6217     
6218         * shell/ev-application.h: update prototypes
6219     
6220         * shell/ev-window.c (ev_window_is_empty): impl.
6221         (ev_window_open): make public.
6222         (ev_window_cmd_file_open): use ev_application_open
6223     
6224         * shell/ev-window.h: update prototypes, remove unused.
6225
6226 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6227
6228         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
6229         move destroy handler out of here...
6230     
6231         * shell/ev-application.c, shell/ev-application.h: ...into this new
6232         class. Also handles initial window creation.
6233     
6234         * shell/main.cc (main): use EvApplication to create initial
6235         window.
6236
6237 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6238
6239         * Makefile.am (SUBDIRS): add cut-n-paste
6240     
6241         * cut-n-paste/Makefile.am: add
6242     
6243         * configure.ac: generate Makefiles in cut-n-paste
6244
6245 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6246
6247         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
6248         (ev_window_class_init): install ev_window_dispose.
6249
6250 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6251
6252         * shell/ev-window.h, shell/ev-window.c: replace gchar with
6253         char (gchar looks stupid).
6254
6255 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6256
6257         * po/de.po: updated German translation.
6258
6259 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6260
6261         * configure.ac: add more pkg-config library checks for gnome-vfs,
6262         bonobo etc.
6263     
6264         * gpdf/configure.in: temporarily disable libpaper
6265         checks. Otherwise I'd have to add the checks for the shell, too.
6266
6267 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6268
6269         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
6270         and * file filters to the file choose.
6271
6272 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6273
6274         * po/de.po: Updated German translation.
6275
6276 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6277
6278         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
6279
6280 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6281
6282         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
6283     
6284         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
6285         (ev_window_init): implement those menuitems.
6286
6287 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6288
6289         * data/evince-ui.xml: add a toolbar (with FileOpen action)
6290     
6291         * shell/ev-window.c (ev_window_init): use the toolbar.
6292
6293 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6294
6295         * shell/ev-window.c (ev_window_init): use menu translations
6296
6297 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6298
6299         * configure.ac: add "de" to ALL_LINGUAS.
6300     
6301         * po/de.po: add German translation.
6302
6303 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6304
6305         * Makefile.am (SUBDIRS): add po
6306     
6307         * configure.ac: check intltool, glib-gettext etc, generate
6308         po/Makefile.in
6309     
6310         * po, po/POTFILES.in, po/POTFILES.skip: new.
6311
6312 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6313
6314         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
6315         already use (#ifdef ENABLE_NLS)
6316     
6317         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
6318         pointer indirection thinko.
6319     
6320         * shell/main.c: include gi18n.h for bindtextdomain etc.
6321
6322 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6323
6324         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
6325         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
6326         tooltips for menu items in the statusbar.
6327
6328 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6329
6330         * configure.ac, data/Makefile.am, shell/Makefile.am: use
6331         pkgdatadir drop UIDIR
6332
6333 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6334
6335         * data/evince-ui.xml: Add File->Open menu item
6336     
6337         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
6338         chooser), hook it up in the ui manager.
6339
6340 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6341
6342         * shell/ev-window.c: fix Help->About tooltip.
6343
6344 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
6345
6346         * configure.ac: set CFLAGS for libevprivate.
6347     
6348         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
6349         definitions, factory etc.
6350     
6351         * lib/Makefile.am: build libevprivate.a (only stock icon code).
6352     
6353         * shell/Makefile.am: link against libevprivate.a.
6354     
6355         * shell/ev-window.c (entries): add stock icon to Help->About.
6356     
6357         * shell/main.c (main): init stock icon code.
6358
6359 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6360
6361         * lib/recent-files: egg recent files code
6362     
6363         * lib/Makefile.am: add.
6364     
6365         * Makefile.am: add lib subdir.
6366     
6367         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
6368         set CFLAGS for recent-files.
6369
6370 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6371
6372         * configure.ac: disable -ansi and -pedantic gcc flags. They
6373         disable POSIX stuff in stdio.h, but egg-recent uses them.
6374
6375 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
6376
6377         * configure.ac: add --disable-deprecated flag (defaults to on in
6378         "cvs" builds).
6379     
6380         * shell/Makefile.am (INCLUDES): use it.
6381
6382 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6383
6384         * shell/main.c: add missing #include.
6385     
6386         * shell/ev-window.c: fix for pedantic gcc.
6387         (ev_window_cmd_help_about): split license into paragraphs for
6388         translators and pedantic compilers.
6389
6390 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6391
6392         * configure.ac: add more warning flags if compiling with gcc from
6393         cvs (or explicitly requested with --enable-more-warnings).
6394
6395 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6396
6397         * data/evince-ui.xml: add File and File->Close menu.
6398     
6399         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
6400         (ev_window_destroy): quit after destroy.
6401         (ev_window_class_init): override GtkObject::destroy.
6402         (entries): install close_window callback.
6403
6404 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6405
6406         * Makefile.am (SUBDIRS): add data subdir.
6407     
6408         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
6409         gtk+ 2.5.0 for GtkAboutDialog.
6410     
6411         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
6412         main window.
6413     
6414         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
6415     
6416         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
6417         manager.
6418         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
6419
6420 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6421
6422         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
6423
6424 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6425
6426         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
6427
6428 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6429
6430         * shell/*: Added shell directory boilerplate, build it.
6431
6432 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
6433
6434         * configure.ac, Makefile.am: Added top-level configure.ac and
6435         Makefile.am