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