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