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