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