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