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