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