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