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