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