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