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