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