]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
d838f2527985645e770ca24180d11ad303f7dcbf
[evince.git] / ChangeLog
1 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
2
3         * ps/ps-document.c: (ps_document_goto_page):
4
5         Fix page switching on multipage documents
6
7 2005-01-12  Jeff Muizelaar  <jrmuizel@nit.ca>
8
9         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
10         
11         check for NULL before assigning to width and height parameters
12
13 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
14
15         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
16         (pixbuf_document_set_property), (pixbuf_document_get_property):
17
18         implement get/set properties
19
20 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
21
22         * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
23         
24         return NULL instead of "Unknown", letting the title get set to
25         the filename when the pdf has no title.
26
27 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
28
29         * ps/ps-document.c: (ps_document_get_page_count),
30         (ps_document_goto_page):
31
32 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
33
34         * shell/ev-history.c: (ev_history_get_property),
35         (ev_history_set_property), (ev_history_class_init),
36         (ev_history_add_page), (ev_history_set_current_index):
37         * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
38         (activate_menu_item_cb), (new_history_menu_item), (build_menu),
39         (ev_navigation_action_finalize):
40         * shell/ev-navigation-action.h:
41         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
42         (ev_view_go_forward), (ev_view_get_find_status_message),
43         (history_index_changed_cb), (ev_view_set_history):
44         * shell/ev-view.h:
45         * shell/ev-window.c: (update_total_pages), (ev_window_open),
46         (update_current_page), (register_custom_actions):
47
48         Implement history dropdowns
49
50 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
51
52         * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
53         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
54         (ev_view_go_forward):
55         * shell/ev-window.c: (register_custom_actions):
56
57         Fix several history bugs
58
59 2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>
60
61         * configure.ac: Add «nb» to ALL_LINGUAS.
62
63 2005-01-10  Marco Pesenti Gritti  <marco@gnome.org>
64
65         * backend/Makefile.am:
66         * backend/ev-bookmark.c:
67         * backend/ev-bookmark.h:
68         * backend/ev-document-bookmarks.c:
69         * backend/ev-document-bookmarks.h:
70         * backend/ev-document-links.c: (ev_document_links_get_type),
71         (ev_document_links_has_document_links),
72         (ev_document_links_begin_read), (ev_document_links_get_link),
73         (ev_document_links_get_child), (ev_document_links_next),
74         (ev_document_links_free_iter):
75         * backend/ev-document-links.h:
76         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
77         (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
78         (ev_link_get_link_type), (ev_link_set_link_type),
79         (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
80         (ev_link_set_property), (ev_window_dispose), (ev_link_init),
81         (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
82         (ev_link_new_external):
83         * backend/ev-link.h:
84         * pdf/xpdf/pdf-document.cc:
85         * shell/Makefile.am:
86         * shell/ev-application.c: (ev_application_open_link):
87         * shell/ev-application.h:
88         * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
89         (ev_history_get_link_nth):
90         * shell/ev-history.h:
91         * shell/ev-sidebar-bookmarks.c:
92         * shell/ev-sidebar-bookmarks.h:
93         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
94         (ev_sidebar_links_class_init), (selection_changed_cb),
95         (ev_sidebar_links_construct), (ev_sidebar_links_init),
96         (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
97         (do_one_iteration), (populate_links_idle),
98         (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
99         * shell/ev-sidebar-links.h:
100         * shell/ev-sidebar.c: (ev_sidebar_set_document):
101         * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
102         (go_to_index):
103         * shell/ev-view.h:
104         * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
105         * shell/ev-window.h:
106
107         Rename bookmark to link, and use "Index" for the sidebar panel.
108
109 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
110
111         * shell/Makefile.am:
112         * shell/ev-application.c: (ev_application_open_bookmark):
113         * shell/ev-application.h:
114         * shell/ev-history.c: (ev_history_init), (free_links_list),
115         (ev_history_finalize), (ev_history_class_init),
116         (ev_history_add_link), (ev_history_add_page),
117         (ev_history_get_link_nth), (ev_history_get_n_links),
118         (ev_history_get_current_index), (ev_history_set_current_index),
119         (ev_history_new):
120         * shell/ev-history.h:
121         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
122         * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
123         (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
124         (go_to_index), (ev_view_go_back), (ev_view_go_forward),
125         (ev_view_set_page):
126         * shell/ev-view.h:
127         * shell/ev-window.c: (ev_window_open_bookmark),
128         (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
129         (goto_page_cb), (register_custom_actions):
130         * shell/ev-window.h:
131
132         Initial history implementation. Needs work.
133
134 2005-01-09  Martin Kretzschmar  <martink@gnome.org>
135
136         * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
137
138 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
139
140         * cut-n-paste/recent-files/egg-recent-item.c:
141         * cut-n-paste/recent-files/egg-recent-item.h:
142         * cut-n-paste/recent-files/egg-recent-model.c:
143         * cut-n-paste/recent-files/egg-recent-util.c:
144         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
145         * cut-n-paste/recent-files/egg-recent-view.c:
146
147         Update
148
149 2005-01-08  Martin Kretzschmar  <martink@gnome.org>
150
151         * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
152         (fillGlyph, fillImageMask, drawImage):
153         pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
154         pdf/splash/SplashTypes.h:
155         pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
156         packed mode for Splash.
157
158         * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
159         RGB8 packed mode, eliminates the pixbuf data creation loop.
160
161         * shell/ev-print-job.c (ev_print_job_finalize)
162         (ev_print_job_set_property, ev_print_job_get_property)
163         (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
164         (ev_print_job_use_print_dialog_settings, idle_print_handler)
165         (print_closure_finalize, ev_print_job_print): implement
166         printing (for backends with EvPsExporter)
167
168         * shell/ev_print_job.h: update prototypes.
169
170         * shell/ev-window.c (ev_window_print): unref print job after
171         printing.
172
173         * shell/ev-view.c (ev_view_set_document): don't connect to "found"
174         unless the document implements the EvDocumentFind interface.
175
176 2005-01-08  Satoru SATOH <ss@gnome.gr.jp>
177
178         * configure.ac: Added ja to ALL_LINGUAS.
179
180 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
181
182         * pdf/xpdf/pdf-document.cc:
183
184         add a FIXME. We should probably not allocate
185         a bookmark object every time
186
187 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
188
189         * shell/ev-application.c: (ev_application_open),
190         (ev_application_open_bookmark):
191         * shell/ev-application.h:
192         
193         Add a way to open bookmarks
194
195         * backend/ev-bookmark.c: (ev_bookmark_get_uri),
196         (ev_bookmark_set_uri), (ev_bookmark_get_property),
197         (ev_bookmark_set_property), (ev_bookmark_class_init),
198         (ev_bookmark_new_title), (ev_bookmark_new_link),
199         (ev_bookmark_new_external):
200
201         Support for external uris, better constructors.
202
203         * backend/ev-bookmark.h:
204         * pdf/xpdf/pdf-document.cc:
205         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
206
207         Handle external uris
208
209 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
210
211         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
212         (ev_sidebar_bookmarks_construct), (do_one_iteration):
213
214         Hook up bookmarks navigation
215
216 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
217
218         * backend/Makefile.am:
219         * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
220         (ev_bookmark_get_title), (ev_bookmark_set_title),
221         (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
222         (ev_bookmark_get_page), (ev_bookmark_set_page),
223         (ev_bookmark_get_property), (ev_bookmark_set_property),
224         (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
225         (ev_bookmark_new):
226         * backend/ev-bookmark.h:
227         * backend/ev-document-bookmarks.c:
228         (ev_document_bookmarks_get_bookmark):
229         * backend/ev-document-bookmarks.h:
230         * pdf/xpdf/pdf-document.cc:
231         * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
232
233         Add a bookmark object to the backend and use it instead of get_values
234
235 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
236
237         * data/evince-ui.xml:
238
239         Cleanup and add select all.
240
241         * shell/ev-view.c: (ev_view_select_all),
242         (ev_view_button_press_event):
243         * shell/ev-view.h:
244         * shell/ev-window.c: (ev_window_cmd_edit_select_all):
245
246         Add select all.
247         Clear selection on click.
248
249 Fri Jan  7 01:28:58 2005  Jonathan Blandford  <jrb@redhat.com>
250
251         * shell/ev-sidebar-thumbnails.c
252         (ev_sidebar_thumbnails_set_document): forgot to unref the
253         loading_icon.
254
255 Fri Jan  7 01:22:48 2005  Jonathan Blandford  <jrb@redhat.com>
256
257         * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
258         at the visible page, not just linearly.  This makes it look fast.
259
260 Thu Jan  6 18:48:11 2005  Jonathan Blandford  <jrb@redhat.com>
261
262         * backend/ev-document-misc.c
263         (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
264         white.
265         * backend/ev-document-thumbnails.h: New interface to get the size
266         of a page.
267
268 2005-01-06  Jeremy Katz  <katzj@redhat.com>
269
270         * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
271         make dist works
272
273 Wed Jan  5 15:38:28 2005  Jonathan Blandford  <jrb@redhat.com>
274
275         * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
276         GDKSplashOutputDev and just use a normal SplashOutputDev.  Speeds
277         things up a bit.
278
279         * shell/ev-sidebar-thumbnail.c: start of some profiling code.
280
281 2005-01-05  Martin Kretzschmar  <martink@gnome.org>
282
283         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
284         fonts. Should fix font problems on systems that have the base
285         fonts in bitmap format. Reported by James Henstridge
286         <james@jamesh.id.au>.
287
288 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
289
290         * pdf/xpdf/Gfx.cc:
291         * pdf/xpdf/GfxState.cc:
292
293         Fix for CAN-2004-1125
294
295 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
296
297         * shell/ev-view.c: (ev_view_copy):
298         * shell/ev-view.h:
299         * shell/ev-window.c: (ev_window_cmd_edit_copy):
300
301         Implement Edit->Copy
302
303 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
304
305         * backend/ev-document.c: (ev_document_get_text):
306         * backend/ev-document.h:
307         * pdf/xpdf/pdf-document.cc:
308         * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
309         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
310         (ev_view_update_primary_selection), (ev_view_button_press_event),
311         (ev_view_motion_notify_event), (ev_view_button_release_event):
312
313         Beginnings of clipboard support. Incomplete but primary sort
314         of work.
315
316 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
317
318         * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
319         (expose_bin_window):
320
321         Nicer rubberband drawing, from GtkIconView.
322
323 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
324
325         * backend/ev-document.c: (ev_document_save):
326         * backend/ev-document.h:
327         * data/evince-ui.xml:
328         * pdf/xpdf/pdf-document.cc:
329         * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
330
331         Implement "Save a copy..." menu item
332
333 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
334
335         * shell/ev-view.c: (ev_view_zoom):
336
337         Queue a resize when zoom changes
338
339 Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>
340
341         * backend/ev-document-misc.[ch]: New misc file to do simple drop
342         shadows.
343
344         * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
345         thumbnails..
346
347 Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
348
349         * pdf/xpdf/pdf-document.cc
350         (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
351
352 Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>
353
354         * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
355         It's slow, but I'll speed it up next!
356
357 2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>
358
359         * shell/main.c (load_files):
360
361         use gnome_vfs_make_uri_from_shell_arg so that relative paths work
362         from the command line and because it seems more appropriate.
363
364 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
365
366         * data/evince-ui.xml:
367         * shell/ev-window.c: (update_action_sensitivity),
368         (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
369
370         s/next page/page down
371         s/previous page/page up
372
373 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
374
375         * data/evince-ui.xml:
376
377         Change the layout to match clarkbw design.
378
379         * shell/Makefile.am:
380         * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
381         (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
382         (ev_navigation_action_finalize),
383         (ev_navigation_action_set_property),
384         (ev_navigation_action_get_property),
385         (ev_navigation_action_class_init):
386         * shell/ev-navigation-action.h:
387
388         Implement clarkbw toolbar navigation controls (incomplete)
389
390         * shell/ev-page-action.c: (update_label), (update_spin),
391         (value_changed_cb), (create_tool_item), (connect_proxy),
392         (ev_page_action_init), (ev_page_action_finalize),
393         (ev_page_action_set_property), (ev_page_action_get_property),
394         (ev_page_action_set_current_page),
395         (ev_page_action_set_total_pages), (ev_page_action_class_init):
396         * shell/ev-page-action.h:
397
398         Implement a page switcher in the toolbar
399
400         * shell/ev-view.c: (ev_view_scroll_view):
401         * shell/ev-window.c: (update_total_pages), (ev_window_open),
402         (update_current_page), (view_page_changed_cb), (goto_page_cb),
403         (register_custom_actions), (ev_window_init):
404
405         Change page on PageUp/Down.
406
407 Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>
408
409         * pdf/xpdf/pdf-document.cc
410         (pdf_document_thumbnails_get_thumbnail): initial stab at
411         implementing thumbnail support for pdfs.  It only does documents
412         with precached pdfs now.
413
414 Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>
415
416         * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
417         thumbnail code into a time-based idle as well.  Also, turn off the
418         shadow temporarily as it's really slow.
419
420 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
421
422         * backend/ev-document.c: (ev_document_class_init):
423         * pdf/xpdf/pdf-document.cc:
424         * shell/ev-window.c: (ev_window_open):
425
426         Fix document title bugs and fallback to
427         filename when not available.
428
429 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
430
431         * backend/ev-document.c: (ev_document_get_type),
432         (ev_document_class_init), (ev_document_load),
433         (ev_document_get_title):
434         * backend/ev-document.h:
435         * pdf/xpdf/pdf-document.cc:
436         * ps/ps-document.c: (ps_document_set_property),
437         (ps_document_get_property), (ps_document_class_init),
438         (document_load):
439         * ps/ps-document.h:
440         * ps/ps.h:
441         * shell/ev-window.c: (update_window_title), (ev_window_open),
442         (ev_window_init):
443
444         Initial support for document title. Not working yet.
445
446 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
447
448         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
449
450         Grab focus on the view when clicking it
451
452 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
453
454         * shell/ev-marshal.list:
455         * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
456         (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
457
458         Add key bindings to the view. Now if the focus would work
459         right...
460
461 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
462
463         * Makefile.am:
464         * backend/Makefile.am:
465         * data/Makefile.am:
466         * dvi/Makefile.am:
467         * dvi/dvilib/Makefile.am:
468         * pdf/xpdf/Makefile.am:
469         * po/POTFILES.in:
470         * ps/Makefile.am:
471
472         Fix distcheck
473
474 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
475
476         * shell/ev-view.c: (ev_view_realize):
477
478         Fix mouse wheel scrolling
479
480 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
481
482         * ps/Makefile.am:
483         * ps/gstypes.h:
484         * ps/gtkgs.c:
485         * ps/gtkgs.h:
486         * ps/ps-document.c: (catchPipe), (ps_document_init),
487         (ps_document_class_init), (ps_document_cleanup),
488         (ps_document_finalize), (send_ps), (ps_document_get_orientation),
489         (set_up_page), (close_pipe), (is_interpreter_ready),
490         (interpreter_failed), (output), (input), (start_interpreter),
491         (stop_interpreter), (file_length), (file_readable),
492         (check_filecompressed), (check_pdf), (compute_xdpi),
493         (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
494         (ps_document_get_type), (ps_document_emit_error_msg),
495         (document_load), (ps_document_next_page),
496         (ps_document_get_current_page), (ps_document_get_page_count),
497         (ps_document_goto_page), (ps_document_set_page_size),
498         (ps_document_zoom_to_fit), (ps_document_set_zoom),
499         (ps_document_load), (ps_document_get_n_pages),
500         (ps_document_set_page), (ps_document_get_page),
501         (ps_document_widget_event), (ps_document_set_target),
502         (ps_document_set_scale), (ps_document_set_page_offset),
503         (ps_document_get_page_size), (ps_document_render),
504         (ps_document_document_iface_init):
505         * ps/ps-document.h:
506         * ps/ps.c:
507         * shell/ev-window.c: (ev_window_open):
508
509         Rename GtkGS to PSDocument
510
511 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
512
513         * ps/gtkgs.c: (gtk_gs_class_init):
514         * ps/gtkgs.h:
515
516         Some more leftover...
517
518 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
519
520         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
521         (output), (stop_interpreter), (gtk_gs_emit_error_msg),
522         (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
523         * ps/gtkgs.h:
524
525         Remove unused code and make a lot of stuff private
526
527 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
528
529         * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
530         (gtk_gs_defaults_changed):
531         * ps/gsdefaults.h:
532         * ps/gtkgs.c:
533         * ps/gtkgs.h:
534         * ps/ps.h:
535
536         Cleanup headers dependencies
537
538 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
539
540         * ps/Makefile.am:
541         * ps/ggvutils.c:
542         * ps/ggvutils.h:
543         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
544         * ps/gsdefaults.h:
545         * ps/gtkgs.c: (file_length), (file_readable),
546         (check_filecompressed), (check_pdf), (gtk_gs_load),
547         (gtk_gs_get_postscript):
548
549         Get rid of ggvutils
550
551 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
552
553         * ps/ggvutils.c:
554         * ps/ggvutils.h:
555         * ps/gsio.h:
556         * ps/gtkgs.c: (gtk_gs_set_zoom):
557
558         Cleanups
559
560 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
561
562         * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
563
564         Ensure the page is rerendered when changing zoom
565
566 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
567
568         * backend/ev-document.c: (ev_document_base_init),
569         (ev_document_changed):
570         * backend/ev-document.h:
571
572         Add a changed event that is emitted when the page content
573         changes. This is necessary to deal with the fact that
574         in ps backend rendering happen asycrounously.
575         This makes the ps backend mostly work.
576
577         * pdf/xpdf/pdf-document.cc:
578
579         Emit changed event
580
581         * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
582         (ps_document_set_target):
583
584         Emit changed event
585
586         * shell/ev-view.c: (document_changed_callback),
587         (ev_view_set_document), (ev_view_set_page):
588
589         Redraw on the changed signal
590
591 2004-12-25  Raphael Higino  <raphaelh@cvs.gnome.org>
592
593         * configure.ac: Added pt_BR to ALL_LINGUAS.
594
595 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
596
597         * backend/ev-document-bookmarks.c:
598         (ev_document_bookmarks_get_child): *
599         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
600         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
601         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
602         (ev_sidebar_bookmarks_destroy),
603         (ev_sidebar_bookmarks_class_init),
604         (ev_sidebar_bookmarks_construct), (stack_data_free),
605         (do_one_iteration), (populate_bookmarks_idle),
606         (ev_sidebar_bookmarks_clear_document),
607         (ev_sidebar_bookmarks_set_document): *
608         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
609         (ev_sidebar_add_page),
610         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
611         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
612         it displays both the topics and the page numbers.
613
614 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
615
616         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
617         toggle.
618         * shell/ev-window.c (toggle_entries): Set sidebar default value to
619         visible.
620
621 2004-12-23  Adam Weinberger  <adamw@gnome.org>
622
623         * configure.ac: Added en_CA to ALL_LINGUAS.
624
625 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
626
627         * ChangeLog: replace bottom of this ChangeLog (merged history of
628         ggv and gpdf; where all paths were wrong and most of the files are
629         not even in this tree) with ChangeLog (from arch) of the shell
630         code.
631
632 2004-12-23  Havoc Pennington  <hp@redhat.com>
633
634         * shell/ev-window.c: hook up potentially-questionable "find
635         results status text" feature - something involving the sidebar or
636         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
637         might be better in the end.
638
639         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
640         with corresponding signal when it should be updated
641
642         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
643
644 2004-12-22  Havoc Pennington  <hp@redhat.com>
645
646         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
647         find stuff on other pages, sort of (only returns one result on
648         invisible pages, to show they have results; updates full results
649         for a page when you view it). Currently repaints the current page
650         every time a new result is found on any page, which isn't so nice.
651
652 2004-12-22  Havoc Pennington  <hp@redhat.com>
653
654         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
655         the document doesn't support find (better ideas?)
656         (find_bar_search_changed_cb): handle missing document or document
657         that doesn't support find
658
659         * pdf/xpdf/pdf-document.cc: port to implement the new
660         EvDocumentFindIface
661
662         * backend/ev-document-find.c: create a new interface for searching
663
664         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
665
666 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
667
668         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
669         libevbackend.la.
670
671         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
672         EvPrintJob constructor arguments.
673
674         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
675         for documents that can export PostScript (page by page).
676
677         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
678         
679         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
680         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
681         (pdf_document_ps_exporter_iface_init:
682         Implement EvPSExporter.
683
684         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
685
686 2004-12-22  Anders Carlsson  <andersca@gnome.org>
687
688         * backend/Makefile.am:
689         * backend/ev-document-thumbnails.c:
690         (ev_document_thumbnails_get_type),
691         (ev_document_thumbnails_get_thumbnail):
692         * backend/ev-document-thumbnails.h:
693         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
694         (pixbuf_document_thumbnails_get_thumbnail),
695         (pixbuf_document_document_thumbnails_iface_init):
696         * shell/Makefile.am:
697         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
698         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
699         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
700         * shell/ev-sidebar-thumbnails.h:
701         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
702         (ev_sidebar_set_document):
703         * shell/ev-utils.c: (gaussian), (create_blur_filter),
704         (create_shadow), (ev_pixbuf_add_shadow):
705         * shell/ev-utils.h:
706         Add thumbnail support.
707         
708 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
709
710         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
711         (using_postscript_printer): Set up a print dialog for "PostScript
712         injection" method.
713
714         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
715         EvPrintJob.
716
717         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
718
719 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
720
721         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
722         (ps_document_set_target), (ps_document_get_page_size),
723         (ps_document_render):
724         * ps/gtkgs.h:
725
726         Fix a few bugs
727
728 2004-12-22  Christian Rose  <menthos@menthos.com>
729
730         * configure.ac: Added "sv" to ALL_LINGUAS.
731
732 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
733
734         * backend/ev-document-bookmarks.[ch]: new interface to indicate
735         document supports bookmarks.
736
737 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
738
739         * ps/ggvutils.c: (ggv_file_readable):
740         * ps/ggvutils.h:
741         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
742         (gtk_gs_get_postscript):
743
744         Remove unused utils
745
746 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
747
748         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
749         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
750         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
751         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
752         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
753         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
754         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
755         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
756         (gtk_gs_set_antialiasing), (ps_document_load),
757         (ps_document_render):
758         * ps/gtkgs.h:
759
760         Another check point for the ps backend. Now I can get it to show
761         pages!
762
763 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
764
765         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
766         document setting code.
767
768 2004-12-22  Anders Carlsson  <andersca@gnome.org>
769
770         * shell/eggfindbar.c: (entry_activate_callback):
771         Animate the next button when activate is pressed.
772         
773 2004-12-22  Anders Carlsson  <andersca@gnome.org>
774
775         * shell/ev-window.c: (ev_window_cmd_edit_find),
776         (update_fullscreen_popup), (ev_window_fullscreen),
777         (ev_window_unfullscreen), (ev_window_state_event_cb),
778         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
779         Fix bugs in fullscreen code.
780         
781 2004-12-22  Anders Carlsson  <andersca@gnome.org>
782
783         * Makefile.am:
784         * configure.ac:
785         * pixbuf/Makefile.am:
786         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
787         (pixbuf_document_load), (pixbuf_document_get_n_pages),
788         (pixbuf_document_set_page), (pixbuf_document_get_page),
789         (pixbuf_document_set_target), (pixbuf_document_set_scale),
790         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
791         (pixbuf_document_render), (pixbuf_document_begin_find),
792         (pixbuf_document_end_find), (pixbuf_document_finalize),
793         (pixbuf_document_class_init),
794         (pixbuf_document_document_iface_init), (pixbuf_document_init):
795         * pixbuf/pixbuf-document.h:
796         * shell/Makefile.am:
797         * shell/ev-application.c: (ev_application_open):
798         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
799         (ev_window_open):
800         Add pixbuf backend.
801         
802 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
803
804         * Makefile.am: 
805         * dvi/dvilib/Makefile.am:
806         * dvi/Makefile.am:
807         * configure.ac: Auto*ify dvi and dvi/dvilib
808
809         * dvi/Makefile: Remove from CVS
810         
811         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
812         confusion.
813
814         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
815         
816         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
817         
818 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
819
820         * ps/Makefile.am:
821         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
822         (gtk_gs_value_adjustment_changed), (compute_size),
823         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
824         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
825         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
826         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
827         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
828         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
829         (ps_document_load), (ps_document_get_n_pages),
830         (ps_document_set_page), (ps_document_get_page),
831         (ps_document_set_target), (ps_document_set_scale),
832         (ps_document_set_page_offset), (ps_document_get_page_size),
833         (ps_document_render), (ps_document_begin_find),
834         (ps_document_end_find), (ps_document_document_iface_init):
835         * ps/gtkgs.h:
836         * shell/Makefile.am:
837         * shell/ev-window.c: (ev_window_open):
838
839         Some work to integrate gtkgs with EvDocument
840
841 2004-12-22  Anders Carlsson  <andersca@gnome.org>
842
843         * shell/ev-window.c: (update_fullscreen_popup),
844         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
845         (exit_fullscreen_button_clicked_cb),
846         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
847         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
848         (ev_window_state_event_cb), (ev_window_init):
849         Add fullscreen support from Epiphany.
850         
851 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
852
853         * data/ev-stock-zoom-fit-width.png: fit-width
854         stock icon from gpdf.
855         
856         * shell/ev-stock-icons.[ch]: copied from gpdf.
857         
858         * shell/main.c: (main): init stock icons.
859         
860         * shell/ev-window.c: use the fit-width icon.
861         
862         * data/evince-ui.xml: add zooming toolbar items.
863
864 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
865
866         * shell/ev-view.c: 
867         (ev_view_best_fit), (ev_view_fit_width): because
868         get_page_size() returns the scaled page size, we
869         need to calculate the scale factor relative to
870         the previous scale factor. Should really just
871         add get_real_page_size().
872
873 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
874
875         * shell/ev-view.[ch]:
876         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
877         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
878         add zooming.
879         
880         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
881         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
882         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
883         hook it up.
884         
885         * pdf/xpdf/pdf-document.cc:
886         (pdf_document_begin_find),
887         (pdf_document_end_find): make static.
888
889 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
890
891         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
892
893         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
894         names to fontconfig patterns.
895         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
896
897         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
898         setupBaseFontsFc.
899
900 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
901
902         * Makefile.am:
903         * configure.ac:
904         * ps/Makefile.am:
905         * ps/ggvutils.c:
906         * ps/ggvutils.h:
907         * ps/gsdefaults.c:
908         * ps/gsdefaults.h:
909         * ps/gsio.c:
910         * ps/gsio.h:
911         * ps/gtkgs.c:
912         * ps/gtkgs.h:
913         * ps/ps.c:
914         * ps/ps.h:
915
916         Import ggv backend. Not hooked up yet.
917
918 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
919
920         * shell/main.c: (load_files), (main): load files
921         from the command line.
922
923 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
924
925         * configure.ac: don't require bonobo.
926         
927         * cut-n-paste/recent-files/*: kill bonobo recent
928         view.
929
930         * shell/ev-window.c:
931         (ev_window_is_empty): upd.
932         (unable_to_load), (ev_window_open): load backend
933         based on the mime type.
934
935 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
936
937         * backend/.cvsignore: ignore generated marshalers source.
938
939         * shell/main.c (main): this is not epiphany.
940
941 2004-12-22  Havoc Pennington  <hp@redhat.com>
942
943         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
944         (expose_bin_window): draw find highlights
945
946         * shell/ev-window.c (find_bar_search_changed_cb): implement 
947         
948         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
949         (pdf_document_end_find): implement this interface
950
951         * backend/ev-document.c (ev_document_found): add this to emit
952         signal
953
954 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
955
956         * data/evince-ui.xml: Add a few more toolbar items.
957
958         * shell/ev-window.c: Hook up page navigation toolbar 
959         items.
960
961         * shell/ev-view.[ch]: add ev_view_set/get_page and 
962         a page-changed signal.
963
964         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
965         Add ev_document_get_page().
966
967         * shell/ev-window.c: Sensitize/desensitize navigation
968         actions.
969
970 2004-12-21  Havoc Pennington  <hp@redhat.com>
971
972         * backend/ev-backend-marshal.c,
973         backend/ev-backend-marshalers.list, backend/Makefile.am: add
974         marshaler-generator thingy. I'm sure there's a better way to do
975         this in the modern world.
976
977         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
978         end_find methods and "found" signal.
979
980         * configure.ac: find glib-genmarshal
981
982 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
983
984         * shell/ev-sidebar.c: Construct an actual sidebar.
985         * shell/ev-sidebar-bookmarks.[ch]:
986         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
987
988 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
989
990         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
991         Redo size handling.
992         
993         * shell/ev-view.c: Track the size from the document.
994
995 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
996
997         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
998         constructor assumes ownership of the string passed in.
999         
1000         * shell/ev-window.c (ev_window_open): Destroy the error
1001         dialog once we've displayed it.
1002
1003 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
1004
1005         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
1006         a bit, it works! (sort of)
1007
1008         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
1009         Move to .cc since we need to use C++ in the implementation.
1010
1011         * shell/dummy.cc: Add a CC file to force evince
1012         to be linked as a C++ program.
1013
1014 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
1015
1016         * shell/ev-view.[ch]: Start of content-area widget.
1017
1018         * shell/ev-window.c: Create a EvView, update it
1019         as we change documents.
1020
1021         * shell/Makefile.am shell/ev-marshal.list: Add
1022         generated marshalers.
1023
1024 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
1025
1026         * Makefile.am (SUBDIRS): move shell.
1027
1028 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
1029
1030         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
1031         .a to libtool convenience libraries.
1032
1033         * shell/ev-window.c (ev_window_open): Hard code loading
1034         a PDF document.
1035         
1036         * backend/ev-document.h: Add a boolean return to load(),
1037         fix GError * to GError **.
1038
1039         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
1040         object for a PDF backend EvDocument.
1041
1042 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
1043
1044         * dvi/*: New directory with the beginning of a .dvi backend.
1045
1046 2004-12-21  Havoc Pennington  <hp@redhat.com>
1047
1048         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
1049         previous/next instead of back/forward
1050
1051 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
1052
1053         * backend/ev-document.[ch]: Fix a couple of problems so
1054         it compile.
1055
1056 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
1057
1058         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
1059         to backend/ directory, rename EvViewer to EvDocument.
1060
1061 2004-12-21  Havoc Pennington  <hp@redhat.com>
1062
1063         * shell/ev-window.c: hook up the find bar widget; now we just need
1064         a document to find things in
1065
1066         * shell/eggfindbar.c: a find bar widget
1067
1068 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
1069
1070         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
1071
1072 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
1073
1074         * pdf/**: Import of xpdf code from gpdf. 
1075
1076         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
1077
1078         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
1079         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
1080         Fix FreeType includes.
1081
1082         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
1083         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
1084         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
1085         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
1086         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
1087         Include xpdfconfig.h
1088         
1089 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
1090
1091         * shell/ev-window.c (ev_window_dispose): dispose can be called
1092         multiple times.
1093
1094 2004-12-21  Havoc Pennington  <hp@redhat.com>
1095
1096         * shell/ev-window.c (ev_window_init): set title to Document Viewer
1097         rather than Evince
1098
1099         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
1100         items; really they should be synced with the strings, etc. from
1101         current gpdf, but just getting the boring typing out of the way 
1102
1103 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
1104
1105         * po/POTFILES.in:
1106         * shell/ev-application.c: (window_destroy_cb):
1107         * shell/ev-window.c:
1108         * shell/main.c: (main):
1109
1110         Actually show the window...
1111
1112 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
1113
1114         * Makefile.am:
1115         * shell/Makefile.am:
1116         * shell/ev-application.c: (ev_application_class_init):
1117         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
1118
1119         Make it build again
1120
1121 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
1122
1123         Import to gnome cvs.
1124         
1125         * Remove copies of gpdf and ggv trees.
1126         * Rip out all the recursive configure code.
1127         * Remove bonobo machinery.
1128         * viewer/*: GInterfaces that backends should/can implement.
1129
1130 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1131
1132         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
1133         typo
1134
1135 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1136
1137         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
1138         (ev_application_finalize, ev_application_class_init)
1139         (ev_application_init): use GType instance private data for priv.
1140     
1141         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
1142         (ev_window_finalize, ev_window_class_init)
1143         (ev_window_init): ditto.
1144
1145 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1146
1147         * shell/ev-application.c (ev_application_new_window): make public
1148         (ev_application_show_initial_window): kill.
1149     
1150         * shell/ev-application.h: update prototypes.
1151     
1152         * shell/main.cc (main): inline ev_application_show_initial_window.
1153
1154 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1155
1156         * shell/ev-application.c (ev_application_new_window): impl.
1157         (ev_application_show_initial_window): use it.
1158         (is_window_empty, ev_application_get_empty_window): returns an
1159         existing empty window or a new one.
1160         (ev_application_open): from ev_window_cmd_file_open.
1161     
1162         * shell/ev-application.h: update prototypes
1163     
1164         * shell/ev-window.c (ev_window_is_empty): impl.
1165         (ev_window_open): make public.
1166         (ev_window_cmd_file_open): use ev_application_open
1167     
1168         * shell/ev-window.h: update prototypes, remove unused.
1169
1170 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1171
1172         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
1173         move destroy handler out of here...
1174     
1175         * shell/ev-application.c, shell/ev-application.h: ...into this new
1176         class. Also handles initial window creation.
1177     
1178         * shell/main.cc (main): use EvApplication to create initial
1179         window.
1180
1181 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1182
1183         * Makefile.am (SUBDIRS): add cut-n-paste
1184     
1185         * cut-n-paste/Makefile.am: add
1186     
1187         * configure.ac: generate Makefiles in cut-n-paste
1188
1189 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1190
1191         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
1192         (ev_window_class_init): install ev_window_dispose.
1193
1194 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1195
1196         * shell/ev-window.h, shell/ev-window.c: replace gchar with
1197         char (gchar looks stupid).
1198
1199 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1200
1201         * po/de.po: updated German translation.
1202
1203 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1204
1205         * configure.ac: add more pkg-config library checks for gnome-vfs,
1206         bonobo etc.
1207     
1208         * gpdf/configure.in: temporarily disable libpaper
1209         checks. Otherwise I'd have to add the checks for the shell, too.
1210
1211 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1212
1213         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
1214         and * file filters to the file choose.
1215
1216 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1217
1218         * po/de.po: Updated German translation.
1219
1220 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1221
1222         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
1223
1224 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1225
1226         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
1227     
1228         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
1229         (ev_window_init): implement those menuitems.
1230
1231 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1232
1233         * data/evince-ui.xml: add a toolbar (with FileOpen action)
1234     
1235         * shell/ev-window.c (ev_window_init): use the toolbar.
1236
1237 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1238
1239         * shell/ev-window.c (ev_window_init): use menu translations
1240
1241 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1242
1243         * configure.ac: add "de" to ALL_LINGUAS.
1244     
1245         * po/de.po: add German translation.
1246
1247 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1248
1249         * Makefile.am (SUBDIRS): add po
1250     
1251         * configure.ac: check intltool, glib-gettext etc, generate
1252         po/Makefile.in
1253     
1254         * po, po/POTFILES.in, po/POTFILES.skip: new.
1255
1256 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1257
1258         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
1259         already use (#ifdef ENABLE_NLS)
1260     
1261         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
1262         pointer indirection thinko.
1263     
1264         * shell/main.c: include gi18n.h for bindtextdomain etc.
1265
1266 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1267
1268         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
1269         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
1270         tooltips for menu items in the statusbar.
1271
1272 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1273
1274         * configure.ac, data/Makefile.am, shell/Makefile.am: use
1275         pkgdatadir drop UIDIR
1276
1277 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1278
1279         * data/evince-ui.xml: Add File->Open menu item
1280     
1281         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
1282         chooser), hook it up in the ui manager.
1283
1284 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1285
1286         * shell/ev-window.c: fix Help->About tooltip.
1287
1288 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
1289
1290         * configure.ac: set CFLAGS for libevprivate.
1291     
1292         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
1293         definitions, factory etc.
1294     
1295         * lib/Makefile.am: build libevprivate.a (only stock icon code).
1296     
1297         * shell/Makefile.am: link against libevprivate.a.
1298     
1299         * shell/ev-window.c (entries): add stock icon to Help->About.
1300     
1301         * shell/main.c (main): init stock icon code.
1302
1303 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1304
1305         * lib/recent-files: egg recent files code
1306     
1307         * lib/Makefile.am: add.
1308     
1309         * Makefile.am: add lib subdir.
1310     
1311         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
1312         set CFLAGS for recent-files.
1313
1314 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1315
1316         * configure.ac: disable -ansi and -pedantic gcc flags. They
1317         disable POSIX stuff in stdio.h, but egg-recent uses them.
1318
1319 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
1320
1321         * configure.ac: add --disable-deprecated flag (defaults to on in
1322         "cvs" builds).
1323     
1324         * shell/Makefile.am (INCLUDES): use it.
1325
1326 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1327
1328         * shell/main.c: add missing #include.
1329     
1330         * shell/ev-window.c: fix for pedantic gcc.
1331         (ev_window_cmd_help_about): split license into paragraphs for
1332         translators and pedantic compilers.
1333
1334 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1335
1336         * configure.ac: add more warning flags if compiling with gcc from
1337         cvs (or explicitly requested with --enable-more-warnings).
1338
1339 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1340
1341         * data/evince-ui.xml: add File and File->Close menu.
1342     
1343         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
1344         (ev_window_destroy): quit after destroy.
1345         (ev_window_class_init): override GtkObject::destroy.
1346         (entries): install close_window callback.
1347
1348 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1349
1350         * Makefile.am (SUBDIRS): add data subdir.
1351     
1352         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
1353         gtk+ 2.5.0 for GtkAboutDialog.
1354     
1355         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
1356         main window.
1357     
1358         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
1359     
1360         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
1361         manager.
1362         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
1363
1364 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1365
1366         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
1367
1368 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1369
1370         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
1371
1372 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1373
1374         * shell/*: Added shell directory boilerplate, build it.
1375
1376 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
1377
1378         * configure.ac, Makefile.am: Added top-level configure.ac and
1379         Makefile.am