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