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