]> www.fi.muni.cz Git - evince.git/blob - ChangeLog
s/GDate */GDate so we can just use g_free
[evince.git] / ChangeLog
1 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
2
3         * backend/ev-document-info.h:
4
5         s/GDate */GDate so we can just use g_free
6
7 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
8
9         * shell/ev-window.c: (update_document_mode),
10         (ev_window_setup_document):
11
12         Show the window in fullscreen when specified by
13         the document
14
15 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
16
17         * backend/ev-document.c: (ev_document_class_init),
18         (ev_document_get_info), (ev_document_render_pixbuf):
19         * backend/ev-document.h:
20         * backend/ev-page-cache.c: (_ev_page_cache_new):
21         * pdf/ev-poppler.cc:
22         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
23         (pixbuf_document_get_info), (pixbuf_document_document_iface_init):
24         * ps/ps-document.c: (ps_document_class_init), (document_load),
25         (ps_document_get_info), (ps_document_document_iface_init):
26
27         Remove get_title from the interface, we can just use document info
28
29 2005-04-19  Marco Pesenti Gritti <mpg@redhat.com>
30
31         * backend/Makefile.am:
32         * backend/ev-document.c: (ev_document_render_get_info):
33         * backend/ev-document.h:
34         * pdf/ev-poppler.cc:
35
36         Initial support for document info. Based on jrb patch.
37
38 2005-04-19  Paolo Borelli <pborelli@katamail.com>
39
40         * shell/ev-window.c: (ev_window_state_event),
41         (ev_window_class_init), (ev_window_init):
42         
43         Doesn't show resize grip when maximized. See bug #301053
44
45 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
46
47         * po/POTFILES.in:
48         
49         ev-sidebar-thumbnails now has translatable labels
50         
51         * shell/Makefile.am:
52         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_document),
53         (ev_sidebar_links_support_document), (ev_sidebar_links_get_label),
54         (ev_sidebar_links_page_iface_init):
55         * shell/ev-sidebar-links.h:
56         * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type),
57         (ev_sidebar_page_support_document), (ev_sidebar_page_set_document),
58         (ev_sidebar_page_get_label):
59         * shell/ev-sidebar-page.h:
60         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_new),
61         (ev_sidebar_thumbnails_set_document),
62         (ev_sidebar_thumbnails_support_document),
63         (ev_sidebar_thumbnails_get_label),
64         (ev_sidebar_thumbnails_page_iface_init):
65         * shell/ev-sidebar-thumbnails.h:
66         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
67         (ev_sidebar_set_document):
68         * shell/ev-sidebar.h:
69         * shell/ev-window.c: (ev_window_setup_document), (ev_window_init):
70         
71         Small rework of sidebar code. Now sidebar pages should implement
72         EvSidebarPage interface. That makes page management in EvSidebar
73         easier. See bug #164811 for details
74
75 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
76
77         * shell/ev-application.c: (ev_application_open):
78         * shell/ev-document-types.c:
79         
80         Fix build error and small problem with application exit
81
82 2005-04-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
83
84         * thumbnailer/Makefile.am:
85         * thumbnailer/evince-thumbnailer-djvu.schemas:
86         * thumbnailer/evince-thumbnailer-dvi.schemas:
87         
88         Conditionally install schemas for djvu/dvi thumbnailer
89
90 2005-04-18  David Malcolm  <dmalcolm@redhat.com>
91
92         * shell/ev-document-types.h: 
93         * shell/ev-document-types.c: 
94         New files, handling the mapping from mimetypes to backends
95         
96         * shell/ev-window.c: 
97         * thumbnailer/evince-thumbnailer.c:     
98         Use the ev-document-types code
99         
100         * shell/Makefile.am: 
101         Added new convenience library libevbackendfactory_la, containing
102         the new mimetype->backend logic; moved the backends into it.
103
104         * thumbnailer/Makefile.am:
105         Make the thumbnailer link with the libevbackend.la convenience
106         library, rather than having a duplicate of the backend logic here.
107
108 2005-04-18  Paolo Borelli  <pborelli@katamail.com>
109
110         * shell/ev-stock-icons.c: constify some vars.
111         * shell/ev-window.c: ditto.
112
113 2005-04-18  Marco Pesenti Gritti  <mpg@redhat.com>
114
115         * ps/ps-document.c (get_page_orientation):
116
117         Respect document orientation 
118
119 2005-04-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
120
121         * djvu/Makefile.am:
122         * dvi/Makefile.am:
123         * shell/Makefile.am:
124         
125         Move library dependencies to components.
126         
127         * shell/ev-window.c: (update_window_title),
128         (start_loading_document):
129         
130         Fix display of uris with spaces. Bug 168358.
131
132 Sat Apr 16 18:53:47 2005  Jonathan Blandford  <jrb@redhat.com>
133
134         * shell/ev-sidebar-links.c: (selection_changed_cb):
135         * shell/ev-view.c: (ev_view_finalize), (go_to_link),
136         (ev_view_button_release_event), (ev_view_set_document):
137         * shell/ev-view.h:
138         * shell/ev-window.c: (find_bar_search_changed_cb):
139         * shell/ev-window.h: Minor cleanups removing some dead code.
140
141 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
142
143         * backend/ev-page-cache.c: (_ev_page_cache_new):
144         
145         Set current page to 0 if document has pages.
146
147 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
148
149         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
150
151         Initialize GError to NULL, fix a crash when loading fails.
152
153 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
154
155         * shell/ev-window.c: (update_view_size):
156
157         Calculate shadow size only when there is actually
158         a shadow.
159
160 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
161
162         * shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
163         * shell/ev-view.h:
164
165         Allow setting view spacing, default to 0
166
167         * shell/ev-window.c: (ev_window_unfullscreen),
168         (ev_window_cmd_view_fullscreen), (ev_window_init):
169
170         Remove spacing in fullscreen mode
171
172 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
173
174         * shell/ev-view.c: (compute_border), (compute_zoom_factor),
175         (ev_view_size_request), (expose_bin_window),
176         (ev_view_set_show_border), (ev_view_init), (page_changed_cb):
177         * shell/ev-view.h:
178         * shell/ev-window.c: (ev_window_unfullscreen),
179         (ev_window_cmd_view_fullscreen):
180
181         Do not draw the border in fulscreen
182
183 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
184
185         * shell/ev-view.c: (ev_view_get_offsets), (compute_zoom_factor),
186         (ev_view_size_request), (expose_bin_window), (ev_view_select_all),
187         (find_page_at_location), (page_changed_cb):
188
189         Rework border calculation, so that I can more easily disable it.
190         Code somewhat cleaner too.
191
192 2005-04-16  Marco Pesenti Gritti <mpg@redhat.com>
193
194         * backend/ev-page-cache.c: (ev_page_cache_init),
195         (_ev_page_cache_new):
196
197         Remove some assertions, documents can have 0 pages.
198         Make initial current page -1.
199
200         * shell/ev-page-action.c: (page_changed_cb):
201
202         Show "" if current page is -1
203
204         * shell/ev-window.c: (update_action_sensitivity),
205         (ev_window_setup_document):
206
207         When document has 0 pages do not set the view
208         and make nearly everything insensitive.
209
210 2005-04-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
211
212         * shell/ev-page-view.c:
213         * shell/ev-page-view.h:
214
215         Remove unused files.
216         
217         * shell/ev-sidebar-thumbnails.c:
218         (ev_sidebar_thumbnails_set_document):
219         * shell/ev-sidebar.c: (ev_sidebar_set_document),
220         (ev_sidebar_supports_document):
221         * shell/ev-sidebar.h:
222         * shell/ev-window.c: (ev_window_setup_document):
223         
224         Doesn't show thumbnails if document has 1 page. Make
225         sidebar menu entries sensitive only if if they have 
226         sense. Fix bug 164811. 
227
228 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
229
230         * shell/ev-view.c: (compute_zoom_factor), (ev_view_size_request),
231         (page_changed_cb), (ev_view_zoom), (ev_view_zoom_in),
232         (ev_view_zoom_out), (ev_view_set_size):
233
234         Rework sizing to deal with documents with not uniform page
235         size.
236
237 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
238
239         * backend/ev-page-cache.c: (_ev_page_cache_new):
240
241         Fix several page size caching bugs
242
243 2005-04-15  Luca Ferretti <elle.uca@libero.it>
244
245         * shell/ev-window.c: (set_action_properties):
246
247         Make all toolbar items translatable
248
249 2005-04-15  Marco Pesenti Gritti <mpg@redhat.com>
250
251         * ps/ps-document.c: (ps_document_init), (ps_document_get_type),
252         (save_page_list), (ps_document_save),
253         (ps_document_document_iface_init), (ps_document_ps_export_begin),
254         (ps_document_ps_export_do_page), (ps_document_ps_export_end),
255         (ps_document_ps_exporter_iface_init):
256         * ps/ps-document.h:
257
258         Based on a patch by J�rg Billeter <j@bitron.ch>
259         
260         Implement print and save a copy for the ps backend.
261
262 2005-04-14   Marco Pesenti Gritti <mpg@redhat.com>
263
264         * backend/ev-document.h:
265         * djvu/djvu-document.c: (djvu_document_can_get_text),
266         (djvu_document_document_iface_init):
267         * dvi/dvi-document.c: (dvi_document_can_get_text),
268         (dvi_document_document_iface_init):
269         * pdf/ev-poppler.cc:
270         * pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
271         (pixbuf_document_document_iface_init):
272         * ps/ps-document.c: (ps_document_can_get_text),
273         (ps_document_document_iface_init):
274         * shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
275         * shell/ev-window.c: (update_action_sensitivity):
276
277         Fix the crash when trying to copy in backends that doesnt
278         support it. We can implement a better solution once we
279         do real text selection.
280
281 2005-04-12  Marco Pesenti Gritti <mpg@redhat.com>
282
283         * data/evince-ui.xml:
284         * shell/ev-window.c: (ev_window_cmd_escape):
285         
286         Work around the Escape conflict (find bar and unfullscreen)
287
288 2005-04-12  Nikolay V. Shmyrev  <nshmyrev@yandex.ru>
289
290         * backend/ev-page-cache.c: (ev_page_cache_next_page):
291         
292         Fix for #300233. Next page correctly handles document end.
293         
294         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose),
295         (ev_sidebar_thumbnails_class_init),
296         (ev_sidebar_thumbnails_set_document),
297         (ev_sidebar_thumbnails_clear_job),
298         (ev_sidebar_thumbnails_clear_model):
299         
300         Cleanup thumbnail jobs on document changes.
301         
302         * shell/ev-view.c: (add_scroll_binding_keypad),
303         (add_scroll_binding_shifted), (ev_view_class_init):
304         
305         Shift + Space scrolls up. Fix for #173184
306         
307         * shell/ev-window.c: (ev_window_open_page),
308         (ev_window_cmd_view_reload):
309         
310         Fix reload (Bug #300094)
311
312 2005-04-09  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
313
314         
315         * dvi/mdvi-lib/assoc.c:
316         * dvi/mdvi-lib/assoc.h: Removed garbage files
317         
318         * dvi/mdvi-lib/bitmap.c:
319         * dvi/mdvi-lib/color.c: (mdvi_set_color), (mdvi_push_color),
320         (mdvi_pop_color), (mdvi_reset_color), (get_color_table):
321         * dvi/mdvi-lib/color.h: Antialias of rules
322         
323         * dvi/mdvi-lib/common.h:
324         * dvi/mdvi-lib/dviread.c: (mdvi_configure), (mdvi_init_context),
325         (mdvi_destroy_context), (draw_shrink_rule), (draw_box), (set_rule):
326         * dvi/mdvi-lib/files.c:
327         * dvi/mdvi-lib/fontmap.c: (ps_init_default_paths):
328         * dvi/mdvi-lib/mdvi.h:
329         * dvi/mdvi-lib/sp-epsf.c: (epsf_special):
330         * dvi/mdvi-lib/tfmfile.c: (ofm_load_file):
331         * dvi/mdvi-lib/util.c: Fix compile warnings
332         
333         * dvi/dvi-document.c:
334         (dvi_document_load), (dvi_document_thumbnails_get_dimensions),
335         (dvi_document_thumbnails_get_thumbnail),
336         (dvi_document_document_thumbnails_iface_init):
337         * dvi/mdvi-lib/Makefile.am:
338         * dvi/pixbuf-device.c: (dvi_pixbuf_draw_rule),
339         (dvi_pixbuf_set_color), (mdvi_pixbuf_device_render):
340         
341         Dvi backend now renders thumbnails
342
343 2005-04-09  Christian Persch  <chpe@cvs.gnome.org>
344
345         * shell/main.c: (main): 
346         
347         Save accelerators on exit. Fixes bug #172095.
348
349 Sat Apr  9 01:05:09 2005  Jonathan Blandford  <jrb@redhat.com>
350
351         * shell/ev-pixbuf-cache.c (move_one_job): Actually fix the "FIXME:
352         update priority" comment.
353
354         * backend/ev-job-queue.c: Give a way to change priority.
355
356 Sat Apr  9 00:05:36 2005  Jonathan Blandford  <jrb@redhat.com>
357
358         * shell/ev-page-action.c: Fix logic.
359
360 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
361
362         * shell/ev-view.c: (ev_view_can_find_next):
363         * shell/ev-window.c: (ev_window_setup_document):
364
365         Check that the document supports find
366
367 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
368
369         * data/evince-ui.xml:
370         * shell/ev-view.c: (ev_view_can_find_next):
371         * shell/ev-view.h:
372         * shell/ev-window.c: (update_action_sensitivity),
373         (find_changed_cb), (ev_window_setup_document),
374         (ev_window_cmd_edit_find_next):
375
376         Add Edit->Find Next
377
378 2005-04-08  Marco Pesenti Gritti <mpg@redhat.com>
379
380         * pdf/ev-poppler.cc:
381         * shell/ev-print-job.c: (idle_print_handler):
382
383         Make printing work again
384
385 Fri Apr  8 01:12:24 2005  Jonathan Blandford  <jrb@redhat.com>
386
387         * shell/ev-page-action.h:
388         * shell/ev-page-action.c: (ev_page_action_widget_init),
389         (ev_page_action_widget_class_init), (page_changed_cb),
390         (create_tool_item), (update_page_cache), (build_new_tree_cb),
391         (get_filter_model_from_model), (match_selected_cb),
392         (display_completion_text), (match_completion), (update_model),
393         (connect_proxy), (ev_page_action_set_property),
394         (ev_page_action_get_property), (ev_page_action_set_document),
395         (ev_page_action_set_model), (ev_page_action_class_init): Big
396         reworking to make completions work iff we have >= GTK-2.7.0
397                 
398         * shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
399         (ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
400         (job_finished_cb): We now have a 'model' property that is set when
401         the links are loaded.  This can be caught with "notify::model"
402
403         * shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
404         listen for the model to be set, and propagate it to the action.
405
406 2005-04-08  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
407
408         * cut-n-paste/recent-files/egg-recent-item.c:
409         (egg_recent_item_set_uri), (make_valid_utf8),
410         (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type):
411         * cut-n-paste/recent-files/egg-recent-item.h:
412         
413         Update egg-recent from libegg. This should fix long
414         startup problem. For details see
415         http://bugzilla.gnome.org/show_bug.cgi?id=160531
416
417 2005-04-07  Nickolay V. Shmyrev <nshmyrev@yandex.ru>
418
419         * cut-n-paste/recent-files/Makefile.am:
420         * data/evince-ui.xml, shell/Makefile.am:
421         * shell/ev-application.c, shell/ev-application.h:
422         * shell/ev-window.c: Recent files support.
423         
424         * configure.ac: Added "ru" to ALL_LINGUAS.
425         
426         * dvju: new backend to support DJVU files.
427         * dvi: new backend to support DVI.
428
429         * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
430         * ev-application.c: Support for new backends.
431         
432         * help, ev-window.c, main.c shell/Makefile.am: 
433         Evince user documentation.
434
435 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
436
437         * po/POTFILES.in:
438         * shell/ev-window.c:
439         * thumbnailer/evince-thumbnailer.c:
440
441         s/pdf-document/ev-poppler
442
443 2005-04-06  Marco Pesenti Gritti <mpg@redhat.com>
444
445         * NEWS:
446         * configure.ac:
447
448         Release 0.2.0
449
450         * ps/ps-document.c: (setup_pixmap):
451
452         Remove debug code
453
454 2005-04-05  Kristian Høgsberg  <krh@redhat.com>
455
456         * backend/ev-page-cache.c (ev_page_cache_next_page): 
457         * shell/ev-window.c (ev_window_cmd_go_next_page) 
458         (ev_window_cmd_go_first_page): Fix of by one errors.
459
460 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
461
462         * ps/ps-document.c: (get_page_box):
463
464         Fix page size calculation
465
466 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
467
468         * ps/ps-document.c: (ps_document_init), (push_pixbuf),
469         (ps_document_cleanup), (setup_pixmap), (get_page_box),
470         (get_page_orientation), (setup_page), (document_load),
471         (ps_document_get_page_size), (render_pixbuf_idle):
472         * ps/ps-document.h:
473
474         More refactoring to adapt to EvDocument changes
475
476 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
477
478         * ps/ps-document.c: (start_interpreter):
479
480         Actually add alpha args
481
482 2005-04-05  Marco Pesenti Gritti <mpg@redhat.com>
483
484         * pdf/ev-poppler.cc:
485
486         Make clipboard work again
487
488 2005-04-04  Kristian Høgsberg  <krh@redhat.com>
489
490         Make searching work again.
491         
492         * backend/ev-document.c:
493         * backend/ev-document.h:
494         * backend/ev-document-find.c:
495         * backend/ev-document-find.h: Change EvDocumentIface so we no
496         longer store the current page or zoom level in the document.  The
497         consequence is that all calls that operate on the current page now
498         instead take the page number as an extra argument, and all
499         coordinates are now doubles in document coordinate system.
500
501         * pdf/ev-poppler.cc:
502         * pixbuf/pixbuf-document.c:
503         * ps/ps-document.c: Update backends accordingly.
504
505 2005-04-04  Marco Pesenti Gritti <marco@gnome.org>
506
507         * autogen.sh:
508
509         Add required gettext version
510
511 Sat Apr  2 18:57:00 2005  Jonathan Blandford  <jrb@redhat.com>
512
513         * shell/evwindow.c: Patch from Alberto Mesas <amesas@gmail.com> to
514         make F1 bring up non-existent help.
515
516         * shell/eggfindbar.c: Patch from Christian Persch to sync to
517         epiphany's find bar, #167477
518
519         * shell/ev-view.c (ev_view_jump): Patch from Emil Soleyman-Zomalan
520         <emil@nishra.com> to add space-bar scrolling, 
521
522         * shell/ev-window.c (static GtkActionEntry entries): add default
523         keybinding for Help (F1)
524         Fixes #171068
525
526         * shell/ev-view.c (ev_view_show_cursor): Fix from Yuval Tanny
527         changing EV_VIEW_CURSOR_LINK to EV_VIEW_CURSOR_NORMAL resolves bug
528         170110
529
530 2005-04-01  David Malcolm  <dmalcolm@redhat.com>
531
532         * Makefile.am: 
533         * pixbuf/pixbuf-document.c: 
534
535         Got pixbuf backend working again
536
537 2005-04-01  Steve Murphy  <murf@e-tools.com>
538
539         * configure.in: Added "rw" to ALL_LINGUAS.
540
541 Fri Apr  1 02:33:41 2005  Jonathan Blandford  <jrb@redhat.com>
542
543         * shell/ev-sidebar-links.c (create_loading_model): Fix mismatch in
544         model types, noticed by Martin Kretzschmar.
545
546 2005-04-01  Kristian Høgsberg  <krh@redhat.com>
547
548         * pdf/ev-poppler.cc: Implement search based on
549         poppler_page_find_text().  Currently a bit crude since we remember
550         all matches from all pages.  Also, we grab the big document lock
551         when we search since searching changes the underlying stream and
552         thus conflicts with the rendering thread.
553         
554         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
555         (jump_to_find_page), (ev_view_set_document), (ev_view_find_next),
556         (ev_view_find_previous): Fix some page indexes to be 0 based,
557         offset rubber band by view offset,
558
559 Fri Apr 01 09:21:12 2005  Pablo Saratxaga  <pablo@mandrakesoft.com>
560
561         * configure.ac: Added Walloon (wa) to ALL_LINGUAS.
562
563 Fri Apr  1 01:59:39 2005  Jonathan Blandford  <jrb@redhat.com>
564
565         * shell/ev-page-action.c: Changed to use page labels now.  Rewrote
566         completely because I didn't understand GtkActions.  I should
567         read Marco's code more carefully in the future.
568
569         * backend/ev-page-cache.h (ev_page_cache_set_page_label): New
570         function
571
572 2005-03-31  Kristian Høgsberg  <krh@redhat.com>
573
574         * pdf/ev-poppler.cc (pdf_document_get_links): Update to work with
575         PopplerRectangle change from poppler CVS.
576
577 Thu Mar 31 13:27:50 2005  Jonathan Blandford  <jrb@redhat.com>
578
579         * backend/ev-document.c: (ev_document_get_page_label):
580         * backend/ev-document.h:
581         * backend/ev-page-cache.c: (_ev_page_cache_new),
582         (ev_page_cache_get_page_label):
583         * backend/ev-page-cache.h:
584         * pdf/ev-poppler.cc:
585         * shell/ev-sidebar-links.c: (ev_sidebar_links_construct),
586         (links_page_num_func):
587         * shell/ev-sidebar-thumbnails.c:
588         (ev_sidebar_thumbnails_set_document):
589         * shell/ev-view.c: (status_message_from_link),
590         (ev_view_motion_notify_event):
591         * shell/ev-window.c: (document_supports_sidebar): Add in page
592         label support.  It's not perfect yet, but it's the first 'feature'
593         in a while.
594         Also, fix a bogus comment noticed by crispin. 
595
596 Thu Mar 31 01:21:58 2005  Jonathan Blandford  <jrb@redhat.com>
597
598         * Makefile.am: Remove pixbuf backend for now
599
600         * configure.ac: Require poppler-glib instead of just poppler.
601
602         * backend/ev-document-thumbnails.h: Add a comment
603
604         * backend/ev-document.h:
605         * backend/ev-document.c: (ev_document_class_init),
606         (ev_document_load), (ev_document_get_link),
607         (ev_document_get_links): Remove 3 methods and add get_links.
608         Also, made 0 based.
609
610         * backend/ev-jobs.c: (ev_job_render_new), (ev_job_render_run):
611         * backend/ev-jobs.h: now EvJobRender can grab the links for a document.
612
613         * backend/ev-link.c: (ev_link_set_title),
614         (ev_link_mapping_free_foreach), (ev_link_mapping_free),
615         (ev_link_mapping_find):
616         * backend/ev-link.h: Allow NULL titles.  Also, introduce a mapping link.
617         
618         * backend/ev-page-cache.c: (ev_page_cache_init),
619         (_ev_page_cache_new), (ev_page_cache_set_current_page),
620         (ev_page_cache_get_size), (ev_page_cache_next_page),
621         (ev_page_cache_prev_page): Fix to be 0 based.
622
623         * pdf/Makefile.am: 
624         * pdf/ev-poppler.h:
625         * pdf/ev-poppler.cc: New backend.
626         
627         * ps/ps-document.c: (ps_document_init), (ps_document_set_page),
628         (ps_document_get_page), (ps_document_document_iface_init):
629
630         * shell/ev-pixbuf-cache.h:
631         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
632         (dispose_cache_job_info), (job_finished_cb), (move_one_job),
633         (ev_pixbuf_cache_update_range), (copy_job_to_job_info),
634         (add_job_if_needed), (ev_pixbuf_cache_set_page_range),
635         (ev_pixbuf_cache_get_pixbuf), (ev_pixbuf_cache_get_link_mapping):
636         Fix up code to grab a page cache per each doc.  Also, fix to be 0
637         based.
638         
639         * shell/ev-sidebar-thumbnails.c:
640         (ev_sidebar_tree_selection_changed), (page_changed_cb),
641         (ev_sidebar_thumbnails_set_document): Fix to be 0 based.
642
643         * shell/ev-view.c: (status_message_from_link),
644         (find_page_at_location), (get_link_at_location),
645         (ev_view_motion_notify_event), (ev_view_button_release_event),
646         (ev_view_init): Use the new link code.  Fix to be 0 based.
647
648         * shell/ev-window.c: (update_action_sensitivity),
649         (document_supports_sidebar): 0 based.
650
651 Fri Mar 25 16:55:58 2005  Jonathan Blandford  <jrb@redhat.com>
652
653         * pdf/pdf-document.cc: Patch from Fernando Herrera
654         <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
655         *blush*
656
657 Wed Mar 23 23:49:41 2005  Jonathan Blandford  <jrb@redhat.com>
658
659         * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
660         1 to the page, as this seems to be 1 based.  I thought we has this
661         fixed.  grump.
662
663 2005-03-23  Marco Pesenti Gritti <marco@gnome.org>
664
665         * TODO:
666         * backend/Makefile.am:
667         * backend/ev-document-links.c:
668         (ev_document_links_has_document_links),
669         (ev_document_links_get_links_model):
670         * backend/ev-document-links.h:
671         * backend/ev-document.c: (ev_document_get_page_cache),
672         (ev_document_get_doc_mutex), (ev_document_load),
673         (ev_document_save), (ev_document_get_title),
674         (ev_document_get_n_pages), (ev_document_set_page),
675         (ev_document_get_page), (ev_document_set_target),
676         (ev_document_set_scale), (ev_document_set_page_offset),
677         (ev_document_get_page_size), (ev_document_get_text),
678         (ev_document_get_link), (ev_document_render),
679         (ev_document_render_pixbuf), (ev_document_scale_changed):
680         * backend/ev-document.h:
681         * backend/ev-job-queue.c: (remove_object_from_queue),
682         (notify_finished), (handle_job), (search_for_jobs_unlocked),
683         (no_jobs_available_unlocked), (ev_render_thread),
684         (ev_job_queue_init), (find_queue), (ev_job_queue_add_job),
685         (ev_job_queue_remove_job):
686         * backend/ev-job-queue.h:
687         * backend/ev-jobs.c: (ev_job_init), (ev_job_dispose),
688         (ev_job_class_init), (ev_job_links_init), (ev_job_links_dispose),
689         (ev_job_links_class_init), (ev_job_render_init),
690         (ev_job_render_dispose), (ev_job_render_class_init),
691         (ev_job_thumbnail_init), (ev_job_thumbnail_dispose),
692         (ev_job_thumbnail_class_init), (ev_job_finished),
693         (ev_job_links_new), (ev_job_links_run), (ev_job_render_new),
694         (ev_job_render_run), (ev_job_thumbnail_new),
695         (ev_job_thumbnail_run):
696         * backend/ev-jobs.h:
697         * backend/ev-link.c:
698         * backend/ev-link.h:
699         * backend/ev-page-cache.c: (ev_page_cache_init),
700         (ev_page_cache_class_init), (ev_page_cache_finalize),
701         (_ev_page_cache_new), (ev_page_cache_get_n_pages),
702         (ev_page_cache_get_current_page), (ev_page_cache_set_current_page),
703         (ev_page_cache_set_link), (ev_page_cache_get_title),
704         (ev_page_cache_get_size), (ev_page_cache_next_page),
705         (ev_page_cache_prev_page):
706         * backend/ev-page-cache.h:
707         * pdf/pdf-document.cc:
708         * ps/gsdefaults.c:
709         * ps/gsdefaults.h:
710         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
711         (push_pixbuf), (interpreter_failed), (ps_document_cleanup),
712         (ps_document_widget_event), (ps_document_finalize), (get_xdpi),
713         (get_ydpi), (setup_pixmap), (setup_page), (close_pipe),
714         (is_interpreter_ready), (output), (catchPipe), (input),
715         (start_interpreter), (check_filecompressed), (compute_dimensions),
716         (ps_document_enable_interpreter), (document_load),
717         (ps_document_next_page), (render_page), (ps_document_set_page),
718         (ps_document_set_scale), (render_pixbuf_idle),
719         (ps_document_render_pixbuf), (ps_document_document_iface_init):
720         * ps/ps-document.h:
721         * shell/Makefile.am:
722         * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init),
723         (ev_pixbuf_cache_class_init), (ev_pixbuf_cache_finalize),
724         (dispose_cache_job_info), (ev_pixbuf_cache_dispose),
725         (ev_pixbuf_cache_new), (job_finished_cb),
726         (check_job_size_and_unref), (move_one_job),
727         (ev_pixbuf_cache_update_range), (find_job_cache),
728         (ev_pixbuf_cache_clear_job_sizes), (add_job_if_needed),
729         (ev_pixbuf_cache_add_jobs_if_needed),
730         (ev_pixbuf_cache_set_page_range), (ev_pixbuf_cache_get_pixbuf):
731         * shell/ev-pixbuf-cache.h:
732         * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
733         (idle_print_handler):
734         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
735         (selection_changed_cb), (create_loading_model),
736         (ev_sidebar_links_construct), (links_page_num_func),
737         (ev_sidebar_links_clear_document), (update_page_callback_foreach),
738         (update_page_callback), (job_finished_cb),
739         (ev_sidebar_links_set_document):
740         * shell/ev-sidebar-thumbnails.c:
741         (ev_sidebar_thumbnails_class_init), (adjustment_changed_cb),
742         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init),
743         (page_changed_cb), (thumbnail_job_completed_callback),
744         (ev_sidebar_thumbnails_set_document):
745         * shell/ev-sidebar-thumbnails.h:
746         * shell/ev-sidebar.c: (ev_sidebar_set_document):
747         * shell/ev-view.c: (ev_view_finalize), (ev_view_destroy),
748         (ev_view_get_offsets), (ev_view_size_request), (ev_view_realize),
749         (ev_view_unrealize), (highlight_find_results), (expose_bin_window),
750         (ev_view_select_all), (ev_view_copy), (ev_view_primary_get_cb),
751         (ev_view_create_invisible_cursor), (ev_view_motion_notify_event),
752         (ev_view_button_release_event), (ev_view_scroll_view),
753         (ev_view_class_init), (ev_view_init), (update_find_status_message),
754         (jump_to_find_result), (jump_to_find_page), (find_changed_cb),
755         (ev_view_new), (job_finished_cb), (page_changed_cb),
756         (ev_view_set_document), (go_to_link), (ev_view_zoom),
757         (size_to_zoom_factor), (ev_view_set_size), (ev_view_find_next),
758         (ev_view_find_previous):
759         * shell/ev-view.h:
760         * shell/ev-window.c: (update_action_sensitivity),
761         (ev_window_open_page), (update_window_title), (update_total_pages),
762         (page_changed_cb), (ev_window_setup_document),
763         (password_dialog_response), (ev_window_cmd_save_as),
764         (ev_window_print), (ev_window_cmd_go_previous_page),
765         (ev_window_cmd_go_next_page), (ev_window_cmd_go_first_page),
766         (ev_window_cmd_go_last_page), (ev_window_cmd_view_reload),
767         (find_bar_search_changed_cb), (goto_page_cb), (ev_window_init):
768         * shell/main.c: (main):
769
770         Merge evince-threads branch
771
772 2005-03-16  Žygimantas Beručka  <uid0@akl.lt>
773
774         * configure.ac: Added "lt" to ALL_LINGUAS.
775
776 2005-03-14  Marco Pesenti Gritti  <marco@gnome.org>
777
778         * NEWS:
779         * configure.ac:
780
781         Release 0.1.9
782
783 2005-03-13  Fernando Herrera  <fherrera@onirica.com>
784
785         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
786
787         Fix here also the thumbnails 1-basedness :)
788
789 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
790
791         * NEWS:
792         * configure.ac:
793
794         Release 0.1.8
795
796 2005-03-12  Marco Pesenti Gritti  <marco@gnome.org>
797
798         * pdf/pdf-document.cc:
799         * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb),
800         (do_one_iteration), (ev_sidebar_thumbnails_set_document):
801
802         Fix the mess we did with thumbnails and 1-basedness
803
804 2005-03-12  Changwoo Ryu  <cwryu@debian.org>
805
806         * configure.ac (ALL_LINGUAS): Added "ko" (Korean).
807
808 2005-03-09  Marco Pesenti Gritti  <marco@gnome.org>
809
810         * NEWS:
811         * configure.ac:
812
813         Release 0.1.7
814
815 2005-03-08  Marco Pesenti Gritti  <marco@gnome.org>
816
817         * ps/Makefile.am:
818         * ps/gsdefaults.c: (gtk_gs_defaults_get_interpreter_cmd),
819         (gtk_gs_defaults_get_alpha_parameters),
820         (gtk_gs_defaults_get_ungzip_cmd),
821         (gtk_gs_defaults_get_unbzip2_cmd):
822         * ps/gsdefaults.h:
823         * ps/ps-document.c: (ps_document_init), (ps_document_class_init),
824         (ps_document_get_orientation), (document_load),
825         (ps_document_goto_page), (ps_document_set_page_size):
826         * ps/ps-document.h:
827
828         Some more sanitization of the ps backend. Remove a lot
829         of unused code and do not base our defaults on ggv
830         preferences (ugh!)
831
832 2005-03-08  Fernando Herrera  <fherrera@onirica.com>
833
834         * thumbnailer/evince-thumbnailer.schemas:
835         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
836         (main): add -s option for thumbnail size.
837
838 2005-03-07  Christian Persch  <chpe@cvs.gnome.org>
839
840         * configure.ac:
841
842         AC_PROG_RANLIB is rendered obsolete by AC_PROG_LIBTOOL;
843         remove it.
844
845 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
846
847         * pdf/pdf-document.cc:
848
849         Remove 4 pixels of useless border from the
850         thumbnail.
851
852 2005-03-07  Marco Pesenti Gritti  <marco@gnome.org>
853
854         * backend/ev-document-thumbnails.c:
855         (ev_document_thumbnails_get_thumbnail):
856         * backend/ev-document-thumbnails.h:
857
858         Rework API a bit. Add a border flag and
859         change sizing logic (now the size we specify
860         applies to the bigger dimension).
861
862         * pdf/pdf-document.cc:
863         * pixbuf/pixbuf-document.c:
864         (pixbuf_document_thumbnails_get_thumbnail):
865         * shell/ev-sidebar-thumbnails.c: (do_one_iteration):
866         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
867
868         Adapt to the new API and do not draw a border for nautilus
869         thumbnailer.
870
871 2005-03-03  Fernando Herrera  <fherrera@onirica.com>
872
873         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
874         take thumbnails from page "0" instead of "1". Added a copyright header.
875
876 2005-03-03  Jens Granseuer  <jensgr@gmx.net>
877
878         * ps/ps-document.c: (set_up_page), (start_interpreter):
879
880         Make it C89 compliant
881
882 2005-03-03  Marco Pesenti Gritti  <marco@gnome.org>
883
884         * Makefile.am:
885         * configure.ac:
886         * pdf/.cvsignore:
887         * pdf/pdf-document.cc:
888         * thumbnailer/Makefile.am:
889         * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get),
890         (main):
891         * thumbnailer/evince-thumbnailer.schemas:
892         * thumbnailer/pdf-icon.png:
893
894         Add a nautilus thumbnailer.
895         Based on patch by Fernando Herrera <fherrera@onirica.com>.
896
897 2005-03-02  Marco Pesenti Gritti  <marco@gnome.org>
898
899         * NEWS:
900         * configure.ac:
901         * po/POTFILES.in:
902
903         Release 0.1.6
904
905 2005-03-01  Kristian Høgsberg  <krh@redhat.com>
906
907         Use poppler instead of including xpdf source code.  Poppler is a
908         fork of xpdf to build it as a shared library. See
909         http://freedesktop.org/wiki/Software/poppler.
910
911         * pdf/xpdf/*, pdf/goo/*, pdf/splash/*, pdf/fofi/*: Remove included
912         xpdf fork.
913         
914         * pdf/Makefile.am: Build libpdfdocument.a here.
915         
916         * pdf/GDKSplashOutputDev.cc:
917         * pdf/GDKSplashOutputDev.h:
918         * pdf/GnomeVFSStream.cc:
919         * pdf/GnomeVFSStream.h:
920         * pdf-document.cc:
921         * pdf-document.h:
922         * test-gdk-output-dev.cc
923         * Thumb.cc:
924         * Thumb.h: Pull these files out of pdf/xpdf and adjust to compile
925         against poppler.
926
927 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
928
929         * shell/ev-sidebar-links.c: (ev_sidebar_links_clear_document):
930
931         Clear idle stack before unsetting the document
932
933 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
934
935         * ps/ps-document.c: (ps_document_widget_event),
936         (ps_document_set_target), (ps_document_finalize),
937         (ps_document_get_page):
938
939         Disconnect the widget event signal on finalize.
940         Some code cleanups.
941
942 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
943
944         * ps/ps-document.c: (set_up_page):
945
946         If there is no bpixmap create one, even if size
947         is not changed.
948
949 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
950
951         * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
952         (set_up_page), (document_load), (ps_document_set_zoom):
953
954         Default page is 0. Calculate size even when we have no
955         target yet.
956
957 2005-02-28  Carlos Garcia Campos <carlosgc@gnome.org>
958
959         * shell/ev-sidebar.c: expand the selection widget to be always as
960         wide as the sidebar
961
962 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
963
964         * shell/ev-sidebar-thumbnails.c:
965         (ev_sidebar_thumbnails_set_document):
966
967         Clear the list store when setting document
968
969 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
970
971         * shell/ev-page-action.c: (update_entry), (sync_entry),
972         (activate_cb), (entry_size_request_cb), (create_tool_item),
973         (connect_proxy):
974
975         Use an entry for the page control instead of spinbuttons
976
977 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
978
979         * data/evince.schemas.in:
980
981         Correct confusing string
982
983 Sun Feb 27 23:00:31 2005  Jonathan Blandford  <jrb@redhat.com>
984
985         * shell/ev-sidebar-links.c (do_one_iteration): Handle title links
986         for real.  Gosh, how long has this been broken.
987
988         * pdf/xpdf/pdf-document.cc (build_link_from_action): add back the
989         check for a NULL link.  We crash otherwise.
990
991 2005-02-27  Marco Pesenti Gritti  <marco@gnome.org>
992
993         * NEWS:
994         * configure.ac:
995
996         Release 0.1.5
997
998 2005-02-25  Sebastien Bacher  <seb128@debian.org>
999
1000         * configure.ac: add the french translation.
1001
1002 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
1003
1004         * shell/ev-window.c:
1005
1006         Remove unused header -> fix distcheck
1007
1008 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
1009
1010         * shell/ev-window.c: (update_window_title),
1011         (ev_window_popup_password_dialog):
1012
1013         Unescape filename for display
1014
1015 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
1016
1017         * pdf/xpdf/pdf-document.cc:
1018
1019         In get_page_size deal with rotation. Also
1020         cleanup the function a bit.
1021
1022 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
1023
1024         * pdf/xpdf/pdf-document.cc:
1025
1026         Fix crash when opening in new window
1027
1028 2005-02-25  Marco Pesenti Gritti  <marco@gnome.org>
1029
1030         * configure.ac:
1031
1032         Check ghostscript >= 7
1033
1034 2005-02-25  Pedro Villavicencio <pvillavi@gnome.cl>
1035
1036         * shell/ev-window.c:
1037
1038         Make page width the default sizing mode
1039
1040 2005-02-25  Carlos Garcia Campos <carlosgc@gnome.org>
1041             Marco Pesenti Gritti <marco@gnome.org>
1042
1043         * shell/ev-window.c: Remember the sidebar size
1044
1045         * data/evince.schemas.in: Add a new gconf key to store the size of
1046         the sidebar
1047
1048 2005-02-24  Kai Willadsen  <kaiw@itee.uq.edu.au>
1049
1050         * data/evince-ui.xml:
1051         * shell/ev-window.c: (update_action_sensitivity),
1052         (ev_window_cmd_view_reload):
1053         
1054         Add a "Reload" action and menu entry
1055
1056 Thu Feb 24 23:07:33 2005  Jonathan Blandford  <jrb@redhat.com>
1057
1058         * shell/ev-window.c (hide_sidebar_and_actions): Hide the sidebar
1059         iff the type doesn't support thumbnailing and indexing.
1060
1061 2005-02-24  Martin Kretzschmar  <martink@gnome.org>
1062
1063         * configure.ac (ALL_LINGUAS): Added "zh_TW" (Traditional Chinese).
1064
1065 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1066
1067         * pdf/splash/Splash.cc:
1068
1069         Port fix for a crasher from kde bug
1070         http://bugs.kde.org/show_bug.cgi?id=97131
1071
1072 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1073
1074         * pdf/xpdf/pdf-document.cc:
1075
1076         Return a link even if it's of an unrecognized
1077         type. Otherwise we go in an infinte cycle.
1078
1079 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1080
1081         * shell/ev-window.c: (update_sizing_buttons), (update_view_size),
1082         (size_allocate_cb), (ev_window_set_sizing_mode):
1083
1084         Update size when switching mode
1085
1086 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1087
1088         * shell/ev-window.c: (ev_window_cmd_view_best_fit),
1089         (ev_window_cmd_view_page_width), (update_sizing_buttons),
1090         (ev_window_cmd_view_normal_size):
1091
1092         Fix size toggle buttons behavior
1093
1094 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1095
1096         * shell/ev-view.c: (ev_view_get_offsets), (view_rect_to_doc_rect),
1097         (doc_rect_to_view_rect), (ev_view_size_allocate),
1098         (expose_bin_window), (ev_view_select_all), (page_changed_callback),
1099         (scale_changed_callback):
1100
1101         Do not cache offsets in size_allocate.
1102
1103 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1104
1105         * shell/ev-view.c: (ev_view_size_allocate):
1106
1107         Calculate offsets before calling the parent
1108         class (which does a redraw)
1109
1110 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1111
1112         * pdf/xpdf/pdf-document.cc:
1113
1114         Fix a crasher on exit. Unused code, put a TODO
1115
1116 2005-02-24  Marco Pesenti Gritti  <marco@gnome.org>
1117
1118         * backend/ev-document.c: (ev_document_class_init),
1119         (ev_document_page_changed), (ev_document_scale_changed):
1120         * backend/ev-document.h:
1121
1122         Separate page/scale notifications
1123
1124         * pdf/xpdf/pdf-document.cc:
1125
1126         Emit the new signals.
1127         Do not display the pdf page in _render, do it
1128         when scale/page are requested.
1129
1130         * ps/ps-document.c: (ps_document_set_zoom),
1131         (ps_document_widget_event):
1132         * ps/ps-document.h:
1133
1134         Emit the new signals.
1135
1136         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
1137         (ev_view_init), (page_changed_callback), (scale_changed_callback),
1138         (ev_view_set_document), (ev_view_zoom), (ev_view_zoom_in),
1139         (ev_view_zoom_out), (size_to_zoom_factor), (ev_view_set_size):
1140         * shell/ev-view.h:
1141         * shell/ev-window.c: (ev_window_cmd_view_normal_size),
1142         (ev_window_cmd_view_page_width), (size_allocate_cb),
1143         (ev_window_set_sizing_mode):
1144
1145         Rework sizing to be pixel based.
1146         There are bugs but should be already way better.
1147
1148 2005-02-23  Marco Pesenti Gritti  <marco@gnome.org>
1149
1150         * shell/ev-window.c: (ev_window_init):
1151
1152         Do not allow to shrink sidebar smaller then
1153         child requisition
1154
1155 2005-02-23  Carlos Garcia Campos <carlosgc@gnome.org> 
1156
1157         * shell/ev-sidebar.[ch]
1158         * shell/ev-window.c:
1159
1160         Improved sidebar widget. Fixes #166683
1161
1162 2005-02-23  Tommi Vainikainen  <thv@iki.fi>
1163
1164         * shell/ev-view.c (update_find_status_message): Give translators
1165         more flexibility with ngettext plural handling.
1166
1167 Mon Feb 21 17:52:08 2005  Jonathan Blandford  <jrb@redhat.com>
1168
1169         * pdf/xpdf/pdf-document.cc (pdf_document_get_page_size): Patch
1170         from Crispin Flowerday <gnome@flowerday.cx> to avoid rendering the
1171         page when we get the page size.
1172
1173 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
1174
1175         * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
1176
1177         ps pages are 0 based, convert 
1178
1179 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
1180
1181         * ps/ps-document.c: (ps_document_class_init), (ps_document_load):
1182
1183         Initialize correct parent class. Set GError on document load
1184
1185 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
1186
1187         * pdf/xpdf/pdf-document.cc:
1188
1189         Fixup selection offset calculation
1190
1191         * shell/ev-view.c: (view_rect_to_doc_rect),
1192         (doc_rect_to_view_rect), (ev_view_size_allocate),
1193         (expose_bin_window), (ev_view_select_all), (ev_view_copy),
1194         (ev_view_primary_get_cb), (ev_view_motion_notify_event):
1195
1196         Store selection as document relative, so that zooming
1197         and offset changing doesnt break it.
1198
1199 2005-02-21  Marco Pesenti Gritti  <marco@gnome.org>
1200
1201         * shell/ev-view.c: (ev_view_best_fit):
1202
1203         Do not try to best fit if the view is not realized
1204
1205 2005-02-20  Kostas Papadimas <pkst@gnome.org>
1206           
1207         * configure.ac (ALL_LINGUAS): Added "el" (Greek).
1208
1209 Fri Feb 18 16:06:39 2005  Jonathan Blandford  <jrb@redhat.com>
1210
1211         * shell/ev-window.c (ev_window_focus_in_event): missed a case.
1212
1213 Fri Feb 18 15:32:57 2005  Jonathan Blandford  <jrb@redhat.com>
1214
1215         * shell/ev-window.c: Change the fullscreen toolbar to always be in
1216         the popup window.  That prevents it resizing when in full screen
1217         mode.
1218
1219         * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid
1220         multiple rerenders.  This pretty much sucks.
1221
1222         * data/evince-ui.xml: Change the fullscreen toolbar to include the
1223         rest of the toolbar.
1224
1225 2005-02-18  Tommi Vainikainen  <thv@iki.fi>
1226
1227         * configure.ac (ALL_LINGUAS): Added "fi" (Finnish).
1228
1229 2005-02-17  Alexander Shopov  <ash@contact.bg>
1230
1231         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1232
1233 2005-02-16  Bryan Clark  <clarkbw@cvs.gnome.org>
1234
1235         * shell/ev-window.c: added ellipsis to Print item. Fixes bug 166915
1236
1237 2005-02-16  Marco Pesenti Gritti  <marco@gnome.org>
1238
1239         * shell/ev-view.c: (ev_view_realize), (highlight_find_results),
1240         (ev_view_create_invisible_cursor), (ev_view_set_cursor),
1241         (set_document_page), (document_changed_callback),
1242         (ev_view_set_document), (ev_view_find_previous),
1243         (ev_view_hide_cursor), (ev_view_show_cursor):
1244         * shell/ev-view.h:
1245         * shell/ev-window.c: (update_chrome_visibility),
1246         (fullscreen_timeout_cb), (fullscreen_set_timeout),
1247         (fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
1248         (fullscreen_leave_notify_cb), (ev_window_fullscreen),
1249         (ev_window_unfullscreen):
1250         * shell/main.c: (main):
1251
1252         Automatically hide the fullscreen button.
1253         Patch by Kristian Høgsberg <krh@redhat.com>
1254
1255 2005-02-16  Vincent Noel  <vnoel@cox.net>
1256
1257         * shell/main.c (main): Specify an icon for the window. Patch by
1258         Jaap A. Haitsma. Fixes #166177.
1259
1260 Wed Feb 16 06:30:13 2005  Jonathan Blandford  <jrb@redhat.com>
1261
1262         * shell/ev-view.c (ev_view_realize): get rid of the black flash.
1263
1264 Tue Feb 15 22:27:13 2005  Jonathan Blandford  <jrb@redhat.com>
1265
1266         * backend/ev-document-misc.h:
1267         * backend/ev-document-misc.c:
1268         (ev_document_misc_get_page_border_size),
1269         (ev_document_misc_paint_one_page): New function to canonicalize
1270         sizing/painting a border.
1271
1272         * shell/Makefile.am: Remove ev-page-view.c entirely as it's not
1273         used.
1274
1275         * pdf/xpdf/pdf-document.cc: use new function
1276
1277         * shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
1278         (ev_view_init), (ev_view_set_mode), (ev_view_zoom),
1279         (ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
1280         shell/ev-window.c: (update_sizing_buttons),
1281         (ev_window_setup_document), (ev_window_cmd_view_zoom_in),
1282         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
1283         (ev_window_cmd_view_page_width), (size_allocate_cb),
1284         (ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
1285         and "fit width" values act as toggle buttons so they stay
1286         toggled.  It's not 100% perfect, and it's a little slow, but it's
1287         good enough to commit I think.
1288
1289 2005-02-15  David Lodge  <dave@cirt.net>
1290
1291         * configure.ac (ALL_LINGUAS): Added "en_GB" (English (British)).
1292
1293 2005-02-15  Martin Kretzschmar  <martink@gnome.org>
1294
1295         * shell/ev-window.c (update_window_title): replace newlines in
1296         the title by spaces. Bug #166107.
1297
1298 2005-02-14  Martin Kretzschmar  <martink@gnome.org>
1299
1300         * shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
1301         parameters providing allocation width and height without
1302         scrollbars and width of a possible vertical scrollbar. With this
1303         additional information the functions can work as
1304         intended. Unfortunately they're not idempotent. We should
1305         transform these commands to toggles. Fixes Bug #164976
1306         Initial patch by Stephane Loeuillet, then heavily modified.
1307
1308         * shell/ev-view.h: update prototypes.
1309
1310         * shell/ev-window.c (ev_window_cmd_view_best_fit)
1311         (ev_window_cmd_view_page_width): provide EvView fit functions with
1312         all the information they need. Formulas to calculate this
1313         information taken from GtkScrolledWindow.
1314
1315 2005-02-14  Crispin Flowerday  <gnome@flowerday.cx>
1316
1317         * shell/ev-sidebar-thumbnails.c: Ensure that after we have
1318         created a thumbnail, the list store is updated to know
1319         that the thumbnail is set. Fixes bug #166792
1320
1321 2005-02-11  Bryan Clark  <clarkbw@cvs.gnome.org>
1322
1323         * shell/ev-window.c: fixed typo, closes bug 166897
1324
1325         * TODO: updated TODO with bug numbers that are relevant
1326
1327 2005-02-09  Carlos Garcia Campos <carlosgc@gnome.org>
1328
1329         * shell/ev-window.c: Support for DnD of files. Fixes #164813
1330
1331 2005-02-09  Vincent Noel  <vnoel@cox.net>
1332
1333         * shell/ev-window.c: (set_action_properties): Set the "Previous"
1334         and "Next" toolbar buttons as important to make them stand out.
1335
1336 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
1337
1338         * lib/ev-debug.c:
1339         * lib/ev-debug.h:
1340         * ps/ps-document.c: (ps_document_finalize), (set_up_page),
1341         (start_interpreter), (stop_interpreter), (document_load),
1342         (ps_document_next_page), (ps_document_goto_page),
1343         (ps_document_set_page_size), (ps_document_widget_event),
1344         (ps_document_render):
1345         * shell/ev-page-view.c: (ev_page_view_dispose):
1346         * shell/ev-view.c: (ev_view_finalize), (expose_bin_window):
1347
1348         Fix compilation on non-gcc platforms
1349
1350 2005-02-09  Marco Pesenti Gritti  <marco@gnome.org>
1351
1352         * NEWS:
1353         * configure.ac:
1354
1355         Release 0.1.4
1356
1357         * pdf/xpdf/Catalog.cc:
1358         * pdf/xpdf/XRef.cc:
1359
1360         Fix the fix for CAN-2004-0888
1361
1362 2005-02-09  Luca Ferretti <elle.uca@libero.it>
1363
1364         * data/Makefile.am:
1365         * data/evince-ui.xml:
1366         * shell/ev-stock-icons.c: (ev_stock_icons_init):
1367         * shell/ev-stock-icons.h:
1368         * shell/ev-window.c: (update_action_sensitivity),
1369         (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page),
1370         (set_action_properties):
1371
1372         Improve toolbar layout/icons
1373
1374 2005-02-08  Marco Pesenti Gritti  <marco@gnome.org>
1375
1376         * pdf/xpdf/pdf-document.cc:
1377
1378         Add warnings about unimplemented/unknown link
1379         types.
1380
1381 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
1382
1383         * ps/ps-document.c: (set_up_page):
1384
1385         Log gs property
1386
1387 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
1388
1389         * ps/ps-document.c: (start_interpreter):
1390
1391         Log gs env var
1392
1393 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
1394
1395         * shell/ev-page-view.c: (ev_page_view_dispose):
1396         * shell/ev-view.c: (ev_view_finalize):
1397         * shell/ev-window.c: (ev_window_setup_document),
1398         (ev_window_dispose), (ev_window_init):
1399
1400         Solve more refs issues.
1401
1402         I commented out the page_view initialization for now:
1403         it was never destroyed (because it's never added
1404         to a container). Because of that we was leaking
1405         gs processes. Couldnt think to a clean fix.
1406         We need to figure this out, password view has the
1407         same issue probably.
1408
1409 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
1410
1411         * ps/ps-document.c: (ps_document_finalize),
1412         (ps_document_get_n_pages), (ps_document_get_page):
1413
1414         Some cleanups, stop the interpreter on finalize
1415
1416         * shell/ev-page-view.c: (ev_page_view_dispose),
1417         (ev_page_view_class_init):
1418
1419         Release our reference on the document
1420
1421 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
1422
1423         * Makefile.am:
1424         * configure.ac:
1425         * doc/debugging.txt:
1426         * lib/.cvsignore:
1427         * lib/Makefile.am:
1428         * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init),
1429         (ev_profiler_new), (ev_should_profile), (ev_profiler_dump),
1430         (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop):
1431         * lib/ev-debug.h:
1432
1433         Add debugging helpers
1434
1435         * ps/Makefile.am:
1436         * ps/ps-document.c: (set_up_page), (start_interpreter),
1437         (stop_interpreter), (document_load), (ps_document_next_page),
1438         (ps_document_goto_page), (ps_document_set_page_size),
1439         (ps_document_widget_event), (ps_document_render):
1440         * shell/Makefile.am:
1441         * shell/ev-view.c: (expose_bin_window):
1442         * shell/main.c: (main):
1443
1444         Add some logs
1445         
1446 2005-02-07  Marco Pesenti Gritti  <marco@gnome.org>
1447
1448         * ps/ps-document.c: (ps_document_widget_event):
1449
1450         Initialize message_window, this should make ps
1451         rendering really work! (Never noticed because I was
1452         testing with a ps that is causing gs to exit every time!)
1453
1454 2005-02-07  Bryan Clark  <clarkbw@cvs.gnome.org>
1455
1456         * data/evince.schemas.in: updated simple error in applyto closing tag
1457
1458 2005-02-07  Christian Persch  <chpe@cvs.gnome.org>
1459
1460         * Makefile.am:
1461         * configure.ac:
1462         * data/.cvsignore:
1463         * data/Makefile.am:
1464         * data/evince-ui.xml:
1465         A data/evince.schemas.in:
1466         * po/POTFILES.in:
1467         * shell/ev-stock-icons.c: (ev_stock_icons_init):
1468         * shell/ev-stock-icons.h:
1469         * shell/ev-window.c: (update_chrome_visibility),
1470         (update_chrome_flag), (ev_window_cmd_edit_find),
1471         (ev_window_update_fullscreen_popup), (ev_window_fullscreen),
1472         (ev_window_unfullscreen), (ev_window_focus_in_event),
1473         (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen),
1474         (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb),
1475         (ev_window_view_sidebar_cb), (find_bar_close_cb),
1476         (ev_window_dispose), (ev_window_class_init),
1477         (set_action_properties), (set_chrome_actions), (load_chrome),
1478         (ev_window_init):
1479
1480         Implement fullscreen mode changes from bug #164776.
1481         Also implement persistent chrome toggles.
1482
1483 2005-02-07  Jordi Mallach  <jordi@sindominio.net>
1484
1485         * configure.ac (ALL_LINGUAS): Added "ca" (Catalan).
1486
1487 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
1488
1489         * NEWS:
1490         * configure.ac:
1491         * shell/ev-view.c:
1492
1493         Add another check for find interface
1494
1495         Release 0.1.3
1496
1497 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
1498
1499         * shell/ev-application.c: (ev_application_open):
1500         * shell/ev-window.c: (ev_window_open):
1501
1502         Open gzipped ps documents
1503
1504 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
1505
1506         * TODO:
1507         * shell/ev-view.c: (set_document_page):
1508
1509         Clamp page number, dont try to move to
1510         not existant pages.
1511
1512 2005-02-04  Marco Pesenti Gritti  <marco@gnome.org>
1513
1514         * backend/ev-document-find.c: (ev_document_find_changed):
1515         * backend/ev-document-find.h:
1516         * pdf/xpdf/pdf-document.cc:
1517         * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document):
1518         * shell/ev-window.c: (find_bar_search_changed_cb):
1519
1520         Fix several bugs with find
1521
1522 2005-02-04  Martin Kretzschmar  <martink@gnome.org>
1523
1524         * shell/ev-sidebar-thumbnails.c
1525         (ev_sidebar_thumbnails_select_page): do nothing unless we have a
1526         document. Prevents warning from scroll_to_cell.
1527
1528 2005-02-02  Kjartan Maraas  <kmaraas@gnome.org>
1529
1530         * configure.ac: Add «nb» to ALL_LINGUAS too.
1531
1532 Wed Feb  2 21:13:11 2005  Jonathan Blandford  <jrb@redhat.com>
1533
1534         * NOTES: New file with some random thoughts.
1535
1536         * TODO: Update.
1537
1538         * backend/ev-document-misc.c:
1539         (ev_document_misc_get_page_border_size): New function to
1540         canonicalize shadow drawing sizes.  Possibly goofy.
1541
1542         * shell/ev-view.c: (ev_view_size_request), (set_document_page),
1543         (ev_view_best_fit), (ev_view_fit_width):
1544         * pdf/xpdf/pdf-document.cc:
1545         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
1546         * ps/ps-document.c: (ps_document_get_page_size):
1547         * backend/ev-document-misc.h:
1548         * backend/ev-document.c: (ev_document_get_page_size):
1549         * backend/ev-document.h: get_page_size now takes a page number
1550         parameter.  Made all the backends/frontends honor it.
1551
1552         * data/evince-ui.xml: Added a multiple-page mode.  Uncomment to
1553         see.  Doesn't work yet.
1554
1555         * shell/Makefile.am:
1556         * shell/ev-page-view.[ch]: New multi-page view.  Really rough.
1557         Doesn't do anything yet.
1558
1559         * shell/ev-sidebar-thumbnails.c:
1560         (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of
1561         [0..n_pages-1]
1562
1563         * shell/ev-window.c: (update_action_sensitivity),
1564         (ev_window_setup_document), (ev_window_set_page_mode),
1565         (ev_window_page_mode_cb), (ev_window_init): Clean up the
1566         view-swapping code a bit so we can have multiple views on a
1567         document.  Add the multi-page view, though it can't be turned on
1568         yet.
1569
1570 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
1571
1572         * shell/ev-application.c: (ev_application_open):
1573         * shell/ev-view.c: (expose_bin_window):
1574         * shell/ev-window.c: (ev_window_open):
1575
1576         Support eps and check document supports find
1577         before drawing highlightings in expose.
1578
1579 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
1580
1581         * pixbuf/pixbuf-document.c:
1582         (pixbuf_document_thumbnails_get_dimensions),
1583         (pixbuf_document_document_thumbnails_iface_init):
1584
1585         implement get_dimensions
1586
1587 2005-02-01  Marco Pesenti Gritti  <marco@gnome.org>
1588
1589         * NEWS:
1590         * configure.ac:
1591
1592         Release 0.1.2
1593
1594 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
1595
1596         * shell/ev-view.c: (set_document_page):
1597
1598         Scroll at the top of the page when changing page
1599
1600 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
1601
1602         * shell/ev-view.c: (ev_view_motion_notify_event):
1603
1604         Do not redraw unnecessarily
1605
1606 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
1607
1608         * pdf/xpdf/pdf-document.cc:
1609         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
1610         (expose_bin_window), (find_changed_cb):
1611
1612         Yay! find works now... Now to find bugs...
1613
1614 2005-01-30  Marco Pesenti Gritti  <marco@gnome.org>
1615
1616         * backend/ev-document-find.c: (ev_document_find_base_init),
1617         (ev_document_find_changed):
1618         * backend/ev-document-find.h:
1619         * pdf/xpdf/pdf-document.cc:
1620         * shell/ev-view.c: (draw_rubberband), (highlight_find_results),
1621         (expose_bin_window), (ev_view_init), (set_document_page),
1622         (ensure_rectangle_is_visible), (jump_to_find_result),
1623         (jump_to_find_page), (find_changed_cb), (ev_view_set_document),
1624         (ev_view_find_next), (ev_view_find_previous):
1625         * shell/ev-view.h:
1626         * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
1627
1628         More work on find implementation, mostly there now
1629
1630 2005-01-29  Marco Pesenti Gritti  <marco@gnome.org>
1631
1632         * backend/ev-backend-marshalers.list:
1633         * backend/ev-document-find.c: (ev_document_find_base_init),
1634         (ev_document_find_cancel), (ev_document_find_page_has_results),
1635         (ev_document_find_get_n_results), (ev_document_find_get_result),
1636         (ev_document_find_get_progress), (ev_document_find_changed):
1637         * backend/ev-document-find.h:
1638
1639         Enanche the find interface to be really able to do
1640         multi page find.
1641
1642         * pdf/xpdf/pdf-document.cc:
1643
1644         Implement
1645
1646         * shell/ev-view.c: (ev_view_finalize), (highlight_find_results),
1647         (expose_bin_window), (ev_view_init),
1648         (ev_view_get_find_status_message), (find_changed_cb),
1649         (ev_view_set_document), (set_document_page):
1650
1651         Adapt to the new interface. A few things are regressed sorry,
1652         I will finish it soon.
1653
1654 2005-01-28  Martin Kretzschmar  <martink@gnome.org>
1655
1656         * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_destroy)
1657         (ev_sidebar_thumbnails_class_init): use G_DEFINE_TYPE-supplied
1658         ev_sidebar_thumbnails_parent_class variable, don't define another
1659         parent_class variable.
1660
1661         * shell/ev-page-action.c (connect_proxy, ev_page_action_finalize)
1662         (ev_page_action_class_init): ditto.
1663
1664         * pixbuf/pixbuf-document.c (pixbuf_document_finalize)
1665         (pixbuf_document_class_init): ditto.
1666
1667         * backend/ev-link.c (ev_window_dispose, ev_link_class_init):
1668         ditto.
1669
1670         * .cvsignore: ignore various valgrind output files.
1671
1672 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
1673
1674         * data/evince-ui.xml:
1675         * shell/Makefile.am:
1676         * shell/ev-history.c:
1677         * shell/ev-history.h:
1678         * shell/ev-navigation-action.c:
1679         * shell/ev-navigation-action.h:
1680         * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
1681         (ev_view_set_page), (ev_view_fit_width):
1682         * shell/ev-view.h:
1683         * shell/ev-window.c: (update_action_sensitivity),
1684         (ev_window_setup_document), (register_custom_actions):
1685
1686         Kill session history
1687
1688 2005-01-27  Marco Pesenti Gritti  <marco@gnome.org>
1689
1690         * shell/ev-window.c: (update_action_sensitivity):
1691
1692         Fix inverted up/down buttons
1693
1694 2005-01-27  Martin Kretzschmar  <martink@gnome.org>
1695
1696         * shell/ev-sidebar-thumbnails.c
1697         (ev_sidebar_thumbnails_select_page): make sure the selected
1698         thumbnail stays visible.
1699
1700 2005-01-26  Martin Kretzschmar  <martink@gnome.org>
1701
1702         * shell/ev-window.c (ev_window_init): add GTK_SHADOW_IN to the
1703         scrolled window for Federico.
1704
1705 2005-01-26  Ole Laursen  <olau@hardworking.dk>
1706
1707         * configure.ac: Added "da" (Danish) to ALL_LINGUAS.
1708
1709 2005-01-26  Marco Pesenti Gritti  <marco@gnome.org>
1710
1711         * configure.ac:
1712         * pdf/splash/SplashFTFontEngine.cc:
1713
1714         Fix CID fonts with freetype 2.1.9
1715
1716 2005-01-26  Bryan Clark  <clarkbw@cvs.gnome.org>
1717
1718         * TODO: added item for desktop icon thumbnailer
1719
1720 Tue Jan 25 00:59:34 2005  Jonathan Blandford  <jrb@redhat.com>
1721
1722         * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against
1723         unloaded docs when the title is accessed.
1724
1725         * shell/ev-password-view.[hc]: New widget for displaying password
1726         state.
1727
1728         * shell/ev-window.[ch]: Refactor password handling code to handle
1729         the new view.
1730
1731 2005-01-24  Marco Pesenti Gritti  <marco@gnome.org>
1732
1733         * NEWS:
1734         * configure.ac:
1735         * data/Makefile.am:
1736
1737         Release 0.1.1
1738
1739 2005-01-23  Stephane LOEUILLET  <stephane.loeuillet@tiscali.fr>
1740
1741         * pdf/xpdf/pdf-document.cc (pdf_document_search_page_changed):
1742         ignore page offset here, to make search results independent of it,
1743
1744         * shell/ev-view.c (expose_bin_window): but take offsets into
1745         account here. Bug #164932
1746
1747         * pdf/xpdf/pdf-document.cc (pdf_document_get_link): divide by
1748         scale at the right time. Bug #164996
1749
1750 2005-01-22  Martin Kretzschmar  <martink@gnome.org>
1751
1752         * pdf/xpdf/GlobalParams.cc: My 2005-01-05 change didn't actually
1753         fix the problem. Now I just removed the Adobe font names and hope
1754         that the URW fonts are always in outline format. Bug #164934
1755
1756         * shell/ev-window.c (update_window_title): empty titles are
1757         useless, use filename in that case too.
1758
1759         * NEWS: Add some content.
1760
1761 2005-01-21  Bryan Clark  <clarkbw@cvs.gnome.org>
1762
1763         * TODO: added one more TODO item and a TODONE section :)
1764
1765 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
1766
1767         * ps/ps-document.h: add page_[xy]_offset fields.
1768
1769         * ps/ps-document.c (ps_document_set_page_offset)
1770         (ps_document_render): Keep offset in consideration in a few
1771         places. Bug #164752 "postscript documents are not centered in
1772         window"
1773
1774         * data/evince.desktop.in (X-GNOME-Bugzilla-Product):
1775         s/gpdf/evince/. Spotted by Stephane Loeuillet.
1776
1777         * pixbuf/pixbuf-document.c (pixbuf_document_get_n_pages)
1778         (pixbuf_document_get_text, pixbuf_document_document_iface_init):
1779         stub out missing methods for complete EvDocument implementation.
1780         Fixes segfaults with Save A Copy and Copy actions.
1781
1782         * ps/ps-document.c (ps_document_save, ps_document_get_text) 
1783         (ps_document_document_iface_init): ditto.
1784         
1785 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
1786
1787         * data/.cvsignore:
1788         * data/Makefile.am:
1789         * data/evince.desktop.in:
1790
1791         Add desktop file
1792
1793 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
1794
1795         * shell/ev-view.c: (ev_view_button_press_event),
1796         (ev_view_motion_notify_event):
1797
1798         Make selection work in any direction
1799
1800 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
1801
1802         * TODO:
1803         * shell/ev-window.c: (set_short_labels), (ev_window_init):
1804
1805         Use shorter labels for some of the toolbars items
1806
1807 2005-01-21  Marco Pesenti Gritti  <marco@gnome.org>
1808
1809         * pdf/xpdf/pdf-document.cc:
1810
1811         Check the links info is initialized before
1812         using it. Should fix a crash on startup.
1813
1814 2005-01-21  Martin Kretzschmar  <martink@gnome.org>
1815
1816         * pixbuf/pixbuf-document.c
1817         (pixbuf_document_thumbnails_get_dimensions): force floating point
1818         division to calculate page_ratio. Fixes crash with landscape
1819         format pixbufs.
1820
1821 Thu Jan 20 18:56:35 2005  Jonathan Blandford  <jrb@redhat.com>
1822
1823         * shell/ev-view.c (ev_view_realize): make the bg color darker.
1824
1825 2005-01-20  Martin Kretzschmar  <martink@gnome.org>
1826
1827         * shell/ev-view.c (set_document_page): unset has_selection when
1828         the page changes.
1829         (set_document_page): handle paper size changes when the page
1830         changes (test with Free Culture, page 2).
1831
1832 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
1833
1834         * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
1835         (expose_bin_window), (ev_view_class_init), (ev_view_init):
1836
1837         Use normal style color for the widget background and
1838         draw a black box around the page.
1839
1840 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
1841
1842         * pdf/xpdf/pdf-document.cc:
1843
1844         Keep offset in consideration in a few places
1845
1846         * shell/ev-view.c: (expose_bin_window):
1847
1848         Set the offsets so that the document is ever centered
1849
1850 2005-01-20  Bryan Clark  <clarkbw@cvs.gnome.org>
1851
1852         * TODO: Added TODO items and finished off the first todo item
1853
1854         * AUTHORS: Updated AUTHORS section with piece from gpdf file and
1855         reflect current authors
1856
1857 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
1858
1859         * pdf/xpdf/pdf-document.cc:
1860         * shell/ev-view.c: (ev_view_set_cursor),
1861         (ev_view_motion_notify_event), (document_changed_callback),
1862         (set_document_page):
1863
1864         Show a wait cursor while the page is rendering
1865
1866 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
1867
1868         * shell/ev-sidebar-thumbnails.c:
1869         (ev_sidebar_tree_selection_changed),
1870         (ev_sidebar_thumbnails_select_page):
1871         * shell/ev-sidebar-thumbnails.h:
1872         * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
1873         (ev_view_can_go_forward):
1874         * shell/ev-window.c: (ev_window_open_page),
1875         (ev_window_setup_document), (update_current_page),
1876         (view_page_changed_cb), (ev_window_init):
1877         * shell/ev-window.h:
1878
1879         Ensure thumbnails selection, toolbar page control and
1880         current page are in sync.
1881
1882 2005-01-19  Marco Pesenti Gritti  <marco@gnome.org>
1883
1884         * pdf/xpdf/XRef.cc:
1885
1886         Fix CAN-2005-0064
1887
1888 Wed Jan 19 01:10:57 2005  Jonathan Blandford  <jrb@redhat.com>
1889
1890         * backend/Makefile.am:
1891         * backend/ev-document-links.h:
1892         * backend/ev-document-security.c: (ev_document_security_get_type),
1893         (ev_document_security_has_document_security),
1894         (ev_document_security_set_password):
1895         * backend/ev-document-security.h:
1896         * backend/ev-document.c: (ev_document_error_quark):
1897         * backend/ev-document.h:
1898         * data/Makefile.am:
1899         * data/evince-password.glade:
1900         * pdf/xpdf/pdf-document.cc:
1901         * shell/Makefile.am:
1902         * shell/ev-password.c: (ev_password_set_bad_password_label),
1903         (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
1904         (ev_password_dialog_get_password),
1905         (ev_password_dialog_set_bad_pass):
1906         * shell/ev-password.h:
1907         * shell/ev-window.c: (ev_window_get_attribute),
1908         (ev_window_set_property), (update_action_sensitivity),
1909         (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
1910         (ev_window_setup_document), (ev_window_get_password),
1911         (ev_window_open), (ev_window_cmd_save_as),
1912         (using_postscript_printer), (ev_window_print),
1913         (find_not_supported_dialog), (ev_window_cmd_edit_find),
1914         (update_fullscreen_popup), (ev_window_fullscreen),
1915         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
1916         (ev_window_focus_out_cb), (ev_window_cmd_help_about),
1917         (menu_item_select_cb), (find_bar_search_changed_cb),
1918         (ev_window_dispose), (ev_window_init):
1919
1920         Add initial support for password-supported dialogs.  This could be
1921         a lot cooler, but it'll do for now.
1922
1923 2005-01-18  Marco Pesenti Gritti  <marco@gnome.org>
1924
1925         * pdf/xpdf/pdf-document.cc:
1926         * shell/ev-view.c: (status_message_from_link),
1927         (ev_view_set_status), (ev_view_set_cursor),
1928         (ev_view_motion_notify_event), (ev_view_init):
1929         * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):
1930
1931         Fix bugs in the links implementation and change cursor
1932         when hovering a link.
1933
1934 2005-01-17  Bryan Clark  <clarkbw@cvs.gnome.org>
1935
1936         * viewer/.cvsignore: added cvsignore file for viewer directory
1937
1938         * TODO: created TODO document
1939
1940 2005-01-14  Dave Malcolm  <dmalcolm@redhat.com>
1941
1942         * shell/ev-view.h:
1943         * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):      
1944         new functions to help with implementation of sensitivity code
1945         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
1946         of all actions that might require it.  Fixes a crash when you
1947         click on the Zoom actions in a window lacking a document.
1948
1949 2005-01-13  Dave Malcolm  <dmalcolm@redhat.com>
1950
1951         * shell/ev-window.c (update_action_sensitivity): Fix sensitivity
1952         of the Find action
1953
1954 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
1955
1956         * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
1957         (pixbuf_document_document_iface_init):
1958         * ps/ps-document.c: (ps_document_get_link),
1959         (ps_document_document_iface_init):
1960         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
1961         (status_message_from_link), (ev_view_set_status),
1962         (ev_view_set_find_status), (ev_view_motion_notify_event),
1963         (ev_view_button_release_event), (ev_view_set_property),
1964         (ev_view_get_property), (ev_view_class_init), (ev_view_init),
1965         (ev_view_get_find_status_message), (update_find_results),
1966         (ev_view_get_status), (ev_view_get_find_status):
1967         * shell/ev-view.h:
1968         * shell/ev-window.c: (view_status_changed_cb),
1969         (view_find_status_changed_cb), (ev_window_init):
1970
1971         View status message support, use it to show the links.
1972         Needs work...
1973
1974 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
1975
1976         * backend/ev-document.c: (ev_document_get_link):
1977         * backend/ev-document.h:
1978         * pdf/xpdf/pdf-document.cc:
1979         * shell/ev-application.c: (ev_application_open):
1980         * shell/ev-application.h:
1981         * shell/ev-sidebar-links.c: (selection_changed_cb):
1982         * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
1983         (ev_view_go_to_link):
1984
1985         Add support for document links
1986
1987 2005-01-13  Anders Carlsson  <andersca@gnome.org>
1988
1989         * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
1990         (create_tool_item):
1991         Set the spin button limits correctly.
1992         
1993         * shell/ev-sidebar-thumbnails.c:
1994         (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
1995         Support changing pages by clicking on the thumbnails.
1996         
1997 2005-01-13  Jeff Muizelaar  <jeff@nit.ca>
1998
1999         * pixbuf/pixbuf-document.c:
2000         (pixbuf_document_thumbnails_get_dimensions),
2001         (pixbuf_document_document_thumbnails_iface_init):
2002
2003         implement get_dimensions
2004
2005 2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>
2006
2007         * ps/ps-document.c: (ps_document_goto_page):
2008
2009         Fix page switching on multipage documents
2010
2011 2005-01-12  Jeff Muizelaar  <jrmuizel@nit.ca>
2012
2013         * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):
2014         
2015         check for NULL before assigning to width and height parameters
2016
2017 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
2018
2019         * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
2020         (pixbuf_document_set_property), (pixbuf_document_get_property):
2021
2022         implement get/set properties
2023
2024 2005-01-12  Jeff Muizelaar  <jeff@nit.ca>
2025
2026         * pdf/xpdf/pdf-document.cc: (pdf_info_dict_get_string):
2027         
2028         return NULL instead of "Unknown", letting the title get set to
2029         the filename when the pdf has no title.
2030
2031 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
2032
2033         * ps/ps-document.c: (ps_document_get_page_count),
2034         (ps_document_goto_page):
2035
2036 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
2037
2038         * shell/ev-history.c: (ev_history_get_property),
2039         (ev_history_set_property), (ev_history_class_init),
2040         (ev_history_add_page), (ev_history_set_current_index):
2041         * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
2042         (activate_menu_item_cb), (new_history_menu_item), (build_menu),
2043         (ev_navigation_action_finalize):
2044         * shell/ev-navigation-action.h:
2045         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
2046         (ev_view_go_forward), (ev_view_get_find_status_message),
2047         (history_index_changed_cb), (ev_view_set_history):
2048         * shell/ev-view.h:
2049         * shell/ev-window.c: (update_total_pages), (ev_window_open),
2050         (update_current_page), (register_custom_actions):
2051
2052         Implement history dropdowns
2053
2054 2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>
2055
2056         * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
2057         * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
2058         (ev_view_go_forward):
2059         * shell/ev-window.c: (register_custom_actions):
2060
2061         Fix several history bugs
2062
2063 2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>
2064
2065         * configure.ac: Add «nb» to ALL_LINGUAS.
2066
2067 2005-01-10  Marco Pesenti Gritti  <marco@gnome.org>
2068
2069         * backend/Makefile.am:
2070         * backend/ev-bookmark.c:
2071         * backend/ev-bookmark.h:
2072         * backend/ev-document-bookmarks.c:
2073         * backend/ev-document-bookmarks.h:
2074         * backend/ev-document-links.c: (ev_document_links_get_type),
2075         (ev_document_links_has_document_links),
2076         (ev_document_links_begin_read), (ev_document_links_get_link),
2077         (ev_document_links_get_child), (ev_document_links_next),
2078         (ev_document_links_free_iter):
2079         * backend/ev-document-links.h:
2080         * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_title),
2081         (ev_link_set_title), (ev_link_get_uri), (ev_link_set_uri),
2082         (ev_link_get_link_type), (ev_link_set_link_type),
2083         (ev_link_get_page), (ev_link_set_page), (ev_link_get_property),
2084         (ev_link_set_property), (ev_window_dispose), (ev_link_init),
2085         (ev_link_class_init), (ev_link_new_title), (ev_link_new_page),
2086         (ev_link_new_external):
2087         * backend/ev-link.h:
2088         * pdf/xpdf/pdf-document.cc:
2089         * shell/Makefile.am:
2090         * shell/ev-application.c: (ev_application_open_link):
2091         * shell/ev-application.h:
2092         * shell/ev-history.c: (ev_history_add_link), (ev_history_add_page),
2093         (ev_history_get_link_nth):
2094         * shell/ev-history.h:
2095         * shell/ev-sidebar-bookmarks.c:
2096         * shell/ev-sidebar-bookmarks.h:
2097         * shell/ev-sidebar-links.c: (ev_sidebar_links_destroy),
2098         (ev_sidebar_links_class_init), (selection_changed_cb),
2099         (ev_sidebar_links_construct), (ev_sidebar_links_init),
2100         (links_page_num_func), (ev_sidebar_links_new), (stack_data_free),
2101         (do_one_iteration), (populate_links_idle),
2102         (ev_sidebar_links_clear_document), (ev_sidebar_links_set_document):
2103         * shell/ev-sidebar-links.h:
2104         * shell/ev-sidebar.c: (ev_sidebar_set_document):
2105         * shell/ev-view.c: (go_to_link), (ev_view_go_to_link),
2106         (go_to_index):
2107         * shell/ev-view.h:
2108         * shell/ev-window.c: (ev_window_open_link), (ev_window_init):
2109         * shell/ev-window.h:
2110
2111         Rename bookmark to link, and use "Index" for the sidebar panel.
2112
2113 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
2114
2115         * shell/Makefile.am:
2116         * shell/ev-application.c: (ev_application_open_bookmark):
2117         * shell/ev-application.h:
2118         * shell/ev-history.c: (ev_history_init), (free_links_list),
2119         (ev_history_finalize), (ev_history_class_init),
2120         (ev_history_add_link), (ev_history_add_page),
2121         (ev_history_get_link_nth), (ev_history_get_n_links),
2122         (ev_history_get_current_index), (ev_history_set_current_index),
2123         (ev_history_new):
2124         * shell/ev-history.h:
2125         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
2126         * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
2127         (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
2128         (go_to_index), (ev_view_go_back), (ev_view_go_forward),
2129         (ev_view_set_page):
2130         * shell/ev-view.h:
2131         * shell/ev-window.c: (ev_window_open_bookmark),
2132         (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
2133         (goto_page_cb), (register_custom_actions):
2134         * shell/ev-window.h:
2135
2136         Initial history implementation. Needs work.
2137
2138 2005-01-09  Martin Kretzschmar  <martink@gnome.org>
2139
2140         * pdf/xpdf/GDKSplashOutputDev.cc (redraw): fix pixbuf data offset.
2141
2142 2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>
2143
2144         * cut-n-paste/recent-files/egg-recent-item.c:
2145         * cut-n-paste/recent-files/egg-recent-item.h:
2146         * cut-n-paste/recent-files/egg-recent-model.c:
2147         * cut-n-paste/recent-files/egg-recent-util.c:
2148         * cut-n-paste/recent-files/egg-recent-view-gtk.c:
2149         * cut-n-paste/recent-files/egg-recent-view.c:
2150
2151         Update
2152
2153 2005-01-08  Martin Kretzschmar  <martink@gnome.org>
2154
2155         * pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
2156         (fillGlyph, fillImageMask, drawImage):
2157         pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
2158         pdf/splash/SplashTypes.h:
2159         pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
2160         packed mode for Splash.
2161
2162         * pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
2163         RGB8 packed mode, eliminates the pixbuf data creation loop.
2164
2165         * shell/ev-print-job.c (ev_print_job_finalize)
2166         (ev_print_job_set_property, ev_print_job_get_property)
2167         (ev_print_job_set_gnome_print_job, ev_print_job_set_document)
2168         (ev_print_job_use_print_dialog_settings, idle_print_handler)
2169         (print_closure_finalize, ev_print_job_print): implement
2170         printing (for backends with EvPsExporter)
2171
2172         * shell/ev_print_job.h: update prototypes.
2173
2174         * shell/ev-window.c (ev_window_print): unref print job after
2175         printing.
2176
2177         * shell/ev-view.c (ev_view_set_document): don't connect to "found"
2178         unless the document implements the EvDocumentFind interface.
2179
2180 2005-01-08  Satoru SATOH <ss@gnome.gr.jp>
2181
2182         * configure.ac: Added ja to ALL_LINGUAS.
2183
2184 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
2185
2186         * pdf/xpdf/pdf-document.cc:
2187
2188         add a FIXME. We should probably not allocate
2189         a bookmark object every time
2190
2191 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
2192
2193         * shell/ev-application.c: (ev_application_open),
2194         (ev_application_open_bookmark):
2195         * shell/ev-application.h:
2196         
2197         Add a way to open bookmarks
2198
2199         * backend/ev-bookmark.c: (ev_bookmark_get_uri),
2200         (ev_bookmark_set_uri), (ev_bookmark_get_property),
2201         (ev_bookmark_set_property), (ev_bookmark_class_init),
2202         (ev_bookmark_new_title), (ev_bookmark_new_link),
2203         (ev_bookmark_new_external):
2204
2205         Support for external uris, better constructors.
2206
2207         * backend/ev-bookmark.h:
2208         * pdf/xpdf/pdf-document.cc:
2209         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
2210
2211         Handle external uris
2212
2213 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
2214
2215         * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
2216         (ev_sidebar_bookmarks_construct), (do_one_iteration):
2217
2218         Hook up bookmarks navigation
2219
2220 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
2221
2222         * backend/Makefile.am:
2223         * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
2224         (ev_bookmark_get_title), (ev_bookmark_set_title),
2225         (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
2226         (ev_bookmark_get_page), (ev_bookmark_set_page),
2227         (ev_bookmark_get_property), (ev_bookmark_set_property),
2228         (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
2229         (ev_bookmark_new):
2230         * backend/ev-bookmark.h:
2231         * backend/ev-document-bookmarks.c:
2232         (ev_document_bookmarks_get_bookmark):
2233         * backend/ev-document-bookmarks.h:
2234         * pdf/xpdf/pdf-document.cc:
2235         * shell/ev-sidebar-bookmarks.c: (do_one_iteration):
2236
2237         Add a bookmark object to the backend and use it instead of get_values
2238
2239 2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>
2240
2241         * data/evince-ui.xml:
2242
2243         Cleanup and add select all.
2244
2245         * shell/ev-view.c: (ev_view_select_all),
2246         (ev_view_button_press_event):
2247         * shell/ev-view.h:
2248         * shell/ev-window.c: (ev_window_cmd_edit_select_all):
2249
2250         Add select all.
2251         Clear selection on click.
2252
2253 Fri Jan  7 01:28:58 2005  Jonathan Blandford  <jrb@redhat.com>
2254
2255         * shell/ev-sidebar-thumbnails.c
2256         (ev_sidebar_thumbnails_set_document): forgot to unref the
2257         loading_icon.
2258
2259 Fri Jan  7 01:22:48 2005  Jonathan Blandford  <jrb@redhat.com>
2260
2261         * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
2262         at the visible page, not just linearly.  This makes it look fast.
2263
2264 Thu Jan  6 18:48:11 2005  Jonathan Blandford  <jrb@redhat.com>
2265
2266         * backend/ev-document-misc.c
2267         (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
2268         white.
2269         * backend/ev-document-thumbnails.h: New interface to get the size
2270         of a page.
2271
2272 2005-01-06  Jeremy Katz  <katzj@redhat.com>
2273
2274         * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
2275         make dist works
2276
2277 Wed Jan  5 15:38:28 2005  Jonathan Blandford  <jrb@redhat.com>
2278
2279         * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
2280         GDKSplashOutputDev and just use a normal SplashOutputDev.  Speeds
2281         things up a bit.
2282
2283         * shell/ev-sidebar-thumbnail.c: start of some profiling code.
2284
2285 2005-01-05  Martin Kretzschmar  <martink@gnome.org>
2286
2287         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): match only outline
2288         fonts. Should fix font problems on systems that have the base
2289         fonts in bitmap format. Reported by James Henstridge
2290         <james@jamesh.id.au>.
2291
2292 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2293
2294         * pdf/xpdf/Gfx.cc:
2295         * pdf/xpdf/GfxState.cc:
2296
2297         Fix for CAN-2004-1125
2298
2299 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2300
2301         * shell/ev-view.c: (ev_view_copy):
2302         * shell/ev-view.h:
2303         * shell/ev-window.c: (ev_window_cmd_edit_copy):
2304
2305         Implement Edit->Copy
2306
2307 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2308
2309         * backend/ev-document.c: (ev_document_get_text):
2310         * backend/ev-document.h:
2311         * pdf/xpdf/pdf-document.cc:
2312         * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
2313         (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
2314         (ev_view_update_primary_selection), (ev_view_button_press_event),
2315         (ev_view_motion_notify_event), (ev_view_button_release_event):
2316
2317         Beginnings of clipboard support. Incomplete but primary sort
2318         of work.
2319
2320 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2321
2322         * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
2323         (expose_bin_window):
2324
2325         Nicer rubberband drawing, from GtkIconView.
2326
2327 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2328
2329         * backend/ev-document.c: (ev_document_save):
2330         * backend/ev-document.h:
2331         * data/evince-ui.xml:
2332         * pdf/xpdf/pdf-document.cc:
2333         * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):
2334
2335         Implement "Save a copy..." menu item
2336
2337 2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>
2338
2339         * shell/ev-view.c: (ev_view_zoom):
2340
2341         Queue a resize when zoom changes
2342
2343 Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>
2344
2345         * backend/ev-document-misc.[ch]: New misc file to do simple drop
2346         shadows.
2347
2348         * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
2349         thumbnails..
2350
2351 Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>
2352
2353         * pdf/xpdf/pdf-document.cc
2354         (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.
2355
2356 Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>
2357
2358         * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
2359         It's slow, but I'll speed it up next!
2360
2361 2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>
2362
2363         * shell/main.c (load_files):
2364
2365         use gnome_vfs_make_uri_from_shell_arg so that relative paths work
2366         from the command line and because it seems more appropriate.
2367
2368 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
2369
2370         * data/evince-ui.xml:
2371         * shell/ev-window.c: (update_action_sensitivity),
2372         (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):
2373
2374         s/next page/page down
2375         s/previous page/page up
2376
2377 2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>
2378
2379         * data/evince-ui.xml:
2380
2381         Change the layout to match clarkbw design.
2382
2383         * shell/Makefile.am:
2384         * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
2385         (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
2386         (ev_navigation_action_finalize),
2387         (ev_navigation_action_set_property),
2388         (ev_navigation_action_get_property),
2389         (ev_navigation_action_class_init):
2390         * shell/ev-navigation-action.h:
2391
2392         Implement clarkbw toolbar navigation controls (incomplete)
2393
2394         * shell/ev-page-action.c: (update_label), (update_spin),
2395         (value_changed_cb), (create_tool_item), (connect_proxy),
2396         (ev_page_action_init), (ev_page_action_finalize),
2397         (ev_page_action_set_property), (ev_page_action_get_property),
2398         (ev_page_action_set_current_page),
2399         (ev_page_action_set_total_pages), (ev_page_action_class_init):
2400         * shell/ev-page-action.h:
2401
2402         Implement a page switcher in the toolbar
2403
2404         * shell/ev-view.c: (ev_view_scroll_view):
2405         * shell/ev-window.c: (update_total_pages), (ev_window_open),
2406         (update_current_page), (view_page_changed_cb), (goto_page_cb),
2407         (register_custom_actions), (ev_window_init):
2408
2409         Change page on PageUp/Down.
2410
2411 Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>
2412
2413         * pdf/xpdf/pdf-document.cc
2414         (pdf_document_thumbnails_get_thumbnail): initial stab at
2415         implementing thumbnail support for pdfs.  It only does documents
2416         with precached pdfs now.
2417
2418 Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>
2419
2420         * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
2421         thumbnail code into a time-based idle as well.  Also, turn off the
2422         shadow temporarily as it's really slow.
2423
2424 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
2425
2426         * backend/ev-document.c: (ev_document_class_init):
2427         * pdf/xpdf/pdf-document.cc:
2428         * shell/ev-window.c: (ev_window_open):
2429
2430         Fix document title bugs and fallback to
2431         filename when not available.
2432
2433 2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>
2434
2435         * backend/ev-document.c: (ev_document_get_type),
2436         (ev_document_class_init), (ev_document_load),
2437         (ev_document_get_title):
2438         * backend/ev-document.h:
2439         * pdf/xpdf/pdf-document.cc:
2440         * ps/ps-document.c: (ps_document_set_property),
2441         (ps_document_get_property), (ps_document_class_init),
2442         (document_load):
2443         * ps/ps-document.h:
2444         * ps/ps.h:
2445         * shell/ev-window.c: (update_window_title), (ev_window_open),
2446         (ev_window_init):
2447
2448         Initial support for document title. Not working yet.
2449
2450 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
2451
2452         * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):
2453
2454         Grab focus on the view when clicking it
2455
2456 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
2457
2458         * shell/ev-marshal.list:
2459         * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
2460         (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):
2461
2462         Add key bindings to the view. Now if the focus would work
2463         right...
2464
2465 2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>
2466
2467         * Makefile.am:
2468         * backend/Makefile.am:
2469         * data/Makefile.am:
2470         * dvi/Makefile.am:
2471         * dvi/dvilib/Makefile.am:
2472         * pdf/xpdf/Makefile.am:
2473         * po/POTFILES.in:
2474         * ps/Makefile.am:
2475
2476         Fix distcheck
2477
2478 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
2479
2480         * shell/ev-view.c: (ev_view_realize):
2481
2482         Fix mouse wheel scrolling
2483
2484 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
2485
2486         * ps/Makefile.am:
2487         * ps/gstypes.h:
2488         * ps/gtkgs.c:
2489         * ps/gtkgs.h:
2490         * ps/ps-document.c: (catchPipe), (ps_document_init),
2491         (ps_document_class_init), (ps_document_cleanup),
2492         (ps_document_finalize), (send_ps), (ps_document_get_orientation),
2493         (set_up_page), (close_pipe), (is_interpreter_ready),
2494         (interpreter_failed), (output), (input), (start_interpreter),
2495         (stop_interpreter), (file_length), (file_readable),
2496         (check_filecompressed), (check_pdf), (compute_xdpi),
2497         (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
2498         (ps_document_get_type), (ps_document_emit_error_msg),
2499         (document_load), (ps_document_next_page),
2500         (ps_document_get_current_page), (ps_document_get_page_count),
2501         (ps_document_goto_page), (ps_document_set_page_size),
2502         (ps_document_zoom_to_fit), (ps_document_set_zoom),
2503         (ps_document_load), (ps_document_get_n_pages),
2504         (ps_document_set_page), (ps_document_get_page),
2505         (ps_document_widget_event), (ps_document_set_target),
2506         (ps_document_set_scale), (ps_document_set_page_offset),
2507         (ps_document_get_page_size), (ps_document_render),
2508         (ps_document_document_iface_init):
2509         * ps/ps-document.h:
2510         * ps/ps.c:
2511         * shell/ev-window.c: (ev_window_open):
2512
2513         Rename GtkGS to PSDocument
2514
2515 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
2516
2517         * ps/gtkgs.c: (gtk_gs_class_init):
2518         * ps/gtkgs.h:
2519
2520         Some more leftover...
2521
2522 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
2523
2524         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
2525         (output), (stop_interpreter), (gtk_gs_emit_error_msg),
2526         (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
2527         * ps/gtkgs.h:
2528
2529         Remove unused code and make a lot of stuff private
2530
2531 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
2532
2533         * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
2534         (gtk_gs_defaults_changed):
2535         * ps/gsdefaults.h:
2536         * ps/gtkgs.c:
2537         * ps/gtkgs.h:
2538         * ps/ps.h:
2539
2540         Cleanup headers dependencies
2541
2542 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
2543
2544         * ps/Makefile.am:
2545         * ps/ggvutils.c:
2546         * ps/ggvutils.h:
2547         * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
2548         * ps/gsdefaults.h:
2549         * ps/gtkgs.c: (file_length), (file_readable),
2550         (check_filecompressed), (check_pdf), (gtk_gs_load),
2551         (gtk_gs_get_postscript):
2552
2553         Get rid of ggvutils
2554
2555 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
2556
2557         * ps/ggvutils.c:
2558         * ps/ggvutils.h:
2559         * ps/gsio.h:
2560         * ps/gtkgs.c: (gtk_gs_set_zoom):
2561
2562         Cleanups
2563
2564 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
2565
2566         * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):
2567
2568         Ensure the page is rerendered when changing zoom
2569
2570 2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>
2571
2572         * backend/ev-document.c: (ev_document_base_init),
2573         (ev_document_changed):
2574         * backend/ev-document.h:
2575
2576         Add a changed event that is emitted when the page content
2577         changes. This is necessary to deal with the fact that
2578         in ps backend rendering happen asycrounously.
2579         This makes the ps backend mostly work.
2580
2581         * pdf/xpdf/pdf-document.cc:
2582
2583         Emit changed event
2584
2585         * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
2586         (ps_document_set_target):
2587
2588         Emit changed event
2589
2590         * shell/ev-view.c: (document_changed_callback),
2591         (ev_view_set_document), (ev_view_set_page):
2592
2593         Redraw on the changed signal
2594
2595 2004-12-25  Raphael Higino  <raphaelh@cvs.gnome.org>
2596
2597         * configure.ac: Added pt_BR to ALL_LINGUAS.
2598
2599 Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>
2600
2601         * backend/ev-document-bookmarks.c:
2602         (ev_document_bookmarks_get_child): *
2603         backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
2604         pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
2605         shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
2606         (ev_sidebar_bookmarks_destroy),
2607         (ev_sidebar_bookmarks_class_init),
2608         (ev_sidebar_bookmarks_construct), (stack_data_free),
2609         (do_one_iteration), (populate_bookmarks_idle),
2610         (ev_sidebar_bookmarks_clear_document),
2611         (ev_sidebar_bookmarks_set_document): *
2612         shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
2613         (ev_sidebar_add_page),
2614         (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
2615         Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
2616         it displays both the topics and the page numbers.
2617
2618 2004-12-23  Kristian Høgsberg  <krh@redhat.com>
2619
2620         * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar
2621         toggle.
2622         * shell/ev-window.c (toggle_entries): Set sidebar default value to
2623         visible.
2624
2625 2004-12-23  Adam Weinberger  <adamw@gnome.org>
2626
2627         * configure.ac: Added en_CA to ALL_LINGUAS.
2628
2629 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
2630
2631         * ChangeLog: replace bottom of this ChangeLog (merged history of
2632         ggv and gpdf; where all paths were wrong and most of the files are
2633         not even in this tree) with ChangeLog (from arch) of the shell
2634         code.
2635
2636 2004-12-23  Havoc Pennington  <hp@redhat.com>
2637
2638         * shell/ev-window.c: hook up potentially-questionable "find
2639         results status text" feature - something involving the sidebar or
2640         scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
2641         might be better in the end.
2642
2643         * shell/ev-view.c (ev_view_get_find_status_message): new function, 
2644         with corresponding signal when it should be updated
2645
2646         * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
2647
2648 2004-12-22  Havoc Pennington  <hp@redhat.com>
2649
2650         * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search
2651         find stuff on other pages, sort of (only returns one result on
2652         invisible pages, to show they have results; updates full results
2653         for a page when you view it). Currently repaints the current page
2654         every time a new result is found on any page, which isn't so nice.
2655
2656 2004-12-22  Havoc Pennington  <hp@redhat.com>
2657
2658         * shell/ev-window.c (ev_window_cmd_edit_find): display an error if
2659         the document doesn't support find (better ideas?)
2660         (find_bar_search_changed_cb): handle missing document or document
2661         that doesn't support find
2662
2663         * pdf/xpdf/pdf-document.cc: port to implement the new
2664         EvDocumentFindIface
2665
2666         * backend/ev-document-find.c: create a new interface for searching
2667
2668         * backend/ev-document.h, backend/ev-document.c: delete the find stuff
2669
2670 2004-12-23  Martin Kretzschmar  <martink@gnome.org>
2671
2672         * pdf/xpdf/Makefile.am (libpdfdocument_la_LIBADD): add
2673         libevbackend.la.
2674
2675         * shell/ev-window.c (ev_window_print): add GnomePrintJob to
2676         EvPrintJob constructor arguments.
2677
2678         * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface
2679         for documents that can export PostScript (page by page).
2680
2681         * backend/Makefile.am (libevbackend_la_SOURCES): add them.
2682         
2683         * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin)
2684         (pdf_document_ps_export_do_page, pdf_document_ps_export_end)
2685         (pdf_document_ps_exporter_iface_init:
2686         Implement EvPSExporter.
2687
2688         * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
2689
2690 2004-12-22  Anders Carlsson  <andersca@gnome.org>
2691
2692         * backend/Makefile.am:
2693         * backend/ev-document-thumbnails.c:
2694         (ev_document_thumbnails_get_type),
2695         (ev_document_thumbnails_get_thumbnail):
2696         * backend/ev-document-thumbnails.h:
2697         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
2698         (pixbuf_document_thumbnails_get_thumbnail),
2699         (pixbuf_document_document_thumbnails_iface_init):
2700         * shell/Makefile.am:
2701         * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_destroy),
2702         (ev_sidebar_thumbnails_class_init), (ev_sidebar_thumbnails_init),
2703         (populate_thumbnails), (ev_sidebar_thumbnails_set_document):
2704         * shell/ev-sidebar-thumbnails.h:
2705         * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_add_page),
2706         (ev_sidebar_set_document):
2707         * shell/ev-utils.c: (gaussian), (create_blur_filter),
2708         (create_shadow), (ev_pixbuf_add_shadow):
2709         * shell/ev-utils.h:
2710         Add thumbnail support.
2711         
2712 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
2713
2714         * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print)
2715         (using_postscript_printer): Set up a print dialog for "PostScript
2716         injection" method.
2717
2718         * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for
2719         EvPrintJob.
2720
2721         * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
2722
2723 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
2724
2725         * ps/gtkgs.c: (gtk_gs_init), (set_up_page),
2726         (ps_document_set_target), (ps_document_get_page_size),
2727         (ps_document_render):
2728         * ps/gtkgs.h:
2729
2730         Fix a few bugs
2731
2732 2004-12-22  Christian Rose  <menthos@menthos.com>
2733
2734         * configure.ac: Added "sv" to ALL_LINGUAS.
2735
2736 Wed Dec 22 14:47:38 2004  Jonathan Blandford  <jrb@redhat.com>
2737
2738         * backend/ev-document-bookmarks.[ch]: new interface to indicate
2739         document supports bookmarks.
2740
2741 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
2742
2743         * ps/ggvutils.c: (ggv_file_readable):
2744         * ps/ggvutils.h:
2745         * ps/gtkgs.c: (check_filecompressed), (check_pdf),
2746         (gtk_gs_get_postscript):
2747
2748         Remove unused utils
2749
2750 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
2751
2752         * ps/gtkgs.c: (gtk_gs_init), (gtk_gs_class_init), (gtk_gs_cleanup),
2753         (gtk_gs_finalize), (gtk_gs_set_center), (set_up_page), (output),
2754         (start_interpreter), (compute_size), (gtk_gs_enable_interpreter),
2755         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_reload),
2756         (gtk_gs_emit_error_msg), (gtk_gs_disable_interpreter),
2757         (gtk_gs_load), (gtk_gs_goto_page), (gtk_gs_set_page_size),
2758         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
2759         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
2760         (gtk_gs_set_antialiasing), (ps_document_load),
2761         (ps_document_render):
2762         * ps/gtkgs.h:
2763
2764         Another check point for the ps backend. Now I can get it to show
2765         pages!
2766
2767 Wed Dec 22 13:41:01 2004  Jonathan Blandford  <jrb@redhat.com>
2768
2769         * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar
2770         document setting code.
2771
2772 2004-12-22  Anders Carlsson  <andersca@gnome.org>
2773
2774         * shell/eggfindbar.c: (entry_activate_callback):
2775         Animate the next button when activate is pressed.
2776         
2777 2004-12-22  Anders Carlsson  <andersca@gnome.org>
2778
2779         * shell/ev-window.c: (ev_window_cmd_edit_find),
2780         (update_fullscreen_popup), (ev_window_fullscreen),
2781         (ev_window_unfullscreen), (ev_window_state_event_cb),
2782         (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init):
2783         Fix bugs in fullscreen code.
2784         
2785 2004-12-22  Anders Carlsson  <andersca@gnome.org>
2786
2787         * Makefile.am:
2788         * configure.ac:
2789         * pixbuf/Makefile.am:
2790         * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE),
2791         (pixbuf_document_load), (pixbuf_document_get_n_pages),
2792         (pixbuf_document_set_page), (pixbuf_document_get_page),
2793         (pixbuf_document_set_target), (pixbuf_document_set_scale),
2794         (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size),
2795         (pixbuf_document_render), (pixbuf_document_begin_find),
2796         (pixbuf_document_end_find), (pixbuf_document_finalize),
2797         (pixbuf_document_class_init),
2798         (pixbuf_document_document_iface_init), (pixbuf_document_init):
2799         * pixbuf/pixbuf-document.h:
2800         * shell/Makefile.am:
2801         * shell/ev-application.c: (ev_application_open):
2802         * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf),
2803         (ev_window_open):
2804         Add pixbuf backend.
2805         
2806 Tue Dec 21 21:45:43 2004  Soeren Sandmann  <sandmann@redhat.com>
2807
2808         * Makefile.am: 
2809         * dvi/dvilib/Makefile.am:
2810         * dvi/Makefile.am:
2811         * configure.ac: Auto*ify dvi and dvi/dvilib
2812
2813         * dvi/Makefile: Remove from CVS
2814         
2815         * dvi/dvilib/dl-pkfont.cc (unpack_bitmap): Fix uchar/uint
2816         confusion.
2817
2818         * dvi/dvilib/dl-fontdefinition.{cc,hh}: New DviFontMap class
2819         
2820         * dvi/dvilib/dl-vffont.{cc,hh}: Many bugfixes to VF code.
2821         
2822 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
2823
2824         * ps/Makefile.am:
2825         * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_finalize),
2826         (gtk_gs_value_adjustment_changed), (compute_size),
2827         (gtk_gs_get_type), (gtk_gs_new), (gtk_gs_new_from_file),
2828         (gtk_gs_center_page), (gtk_gs_load), (gtk_gs_set_page_size),
2829         (gtk_gs_set_override_orientation), (gtk_gs_set_override_size),
2830         (gtk_gs_set_zoom), (gtk_gs_set_default_orientation),
2831         (gtk_gs_start_scroll), (gtk_gs_get_postscript),
2832         (gtk_gs_set_adjustments), (gtk_gs_set_available_size),
2833         (ps_document_load), (ps_document_get_n_pages),
2834         (ps_document_set_page), (ps_document_get_page),
2835         (ps_document_set_target), (ps_document_set_scale),
2836         (ps_document_set_page_offset), (ps_document_get_page_size),
2837         (ps_document_render), (ps_document_begin_find),
2838         (ps_document_end_find), (ps_document_document_iface_init):
2839         * ps/gtkgs.h:
2840         * shell/Makefile.am:
2841         * shell/ev-window.c: (ev_window_open):
2842
2843         Some work to integrate gtkgs with EvDocument
2844
2845 2004-12-22  Anders Carlsson  <andersca@gnome.org>
2846
2847         * shell/ev-window.c: (update_fullscreen_popup),
2848         (screen_size_changed_cb), (destroy_exit_fullscreen_popup),
2849         (exit_fullscreen_button_clicked_cb),
2850         (fullscreen_popup_size_request_cb), (ev_window_fullscreen),
2851         (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
2852         (ev_window_state_event_cb), (ev_window_init):
2853         Add fullscreen support from Epiphany.
2854         
2855 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
2856
2857         * data/ev-stock-zoom-fit-width.png: fit-width
2858         stock icon from gpdf.
2859         
2860         * shell/ev-stock-icons.[ch]: copied from gpdf.
2861         
2862         * shell/main.c: (main): init stock icons.
2863         
2864         * shell/ev-window.c: use the fit-width icon.
2865         
2866         * data/evince-ui.xml: add zooming toolbar items.
2867
2868 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
2869
2870         * shell/ev-view.c: 
2871         (ev_view_best_fit), (ev_view_fit_width): because
2872         get_page_size() returns the scaled page size, we
2873         need to calculate the scale factor relative to
2874         the previous scale factor. Should really just
2875         add get_real_page_size().
2876
2877 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
2878
2879         * shell/ev-view.[ch]:
2880         (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
2881         (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
2882         add zooming.
2883         
2884         * shell/ev-window.c: (ev_window_cmd_view_zoom_in),
2885         (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
2886         (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
2887         hook it up.
2888         
2889         * pdf/xpdf/pdf-document.cc:
2890         (pdf_document_begin_find),
2891         (pdf_document_end_find): make static.
2892
2893 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
2894
2895         * pdf/xpdf/GlobalParams.h (setupBaseFontsFc): add prototype.
2896
2897         * pdf/xpdf/GlobalParams.cc (displayFontTabFc): maps base font
2898         names to fontconfig patterns.
2899         (setupBaseFontsFc): setupBaseFonts reimplemented using fontconfig.
2900
2901         * pdf/xpdf/pdf-document.cc (pdf_document_load): use
2902         setupBaseFontsFc.
2903
2904 2004-12-22  Marco Pesenti Gritti  <marco@gnome.org>
2905
2906         * Makefile.am:
2907         * configure.ac:
2908         * ps/Makefile.am:
2909         * ps/ggvutils.c:
2910         * ps/ggvutils.h:
2911         * ps/gsdefaults.c:
2912         * ps/gsdefaults.h:
2913         * ps/gsio.c:
2914         * ps/gsio.h:
2915         * ps/gtkgs.c:
2916         * ps/gtkgs.h:
2917         * ps/ps.c:
2918         * ps/ps.h:
2919
2920         Import ggv backend. Not hooked up yet.
2921
2922 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
2923
2924         * shell/main.c: (load_files), (main): load files
2925         from the command line.
2926
2927 2004-12-22  Mark McLoughlin  <mark@skynet.ie>
2928
2929         * configure.ac: don't require bonobo.
2930         
2931         * cut-n-paste/recent-files/*: kill bonobo recent
2932         view.
2933
2934         * shell/ev-window.c:
2935         (ev_window_is_empty): upd.
2936         (unable_to_load), (ev_window_open): load backend
2937         based on the mime type.
2938
2939 2004-12-22  Martin Kretzschmar  <martink@gnome.org>
2940
2941         * backend/.cvsignore: ignore generated marshalers source.
2942
2943         * shell/main.c (main): this is not epiphany.
2944
2945 2004-12-22  Havoc Pennington  <hp@redhat.com>
2946
2947         * shell/ev-view.c (ev_view_set_document): connect to "found" signal
2948         (expose_bin_window): draw find highlights
2949
2950         * shell/ev-window.c (find_bar_search_changed_cb): implement 
2951         
2952         * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) 
2953         (pdf_document_end_find): implement this interface
2954
2955         * backend/ev-document.c (ev_document_found): add this to emit
2956         signal
2957
2958 Tue Dec 21 23:57:37 2004  Owen Taylor  <otaylor@redhat.com>
2959
2960         * data/evince-ui.xml: Add a few more toolbar items.
2961
2962         * shell/ev-window.c: Hook up page navigation toolbar 
2963         items.
2964
2965         * shell/ev-view.[ch]: add ev_view_set/get_page and 
2966         a page-changed signal.
2967
2968         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
2969         Add ev_document_get_page().
2970
2971         * shell/ev-window.c: Sensitize/desensitize navigation
2972         actions.
2973
2974 2004-12-21  Havoc Pennington  <hp@redhat.com>
2975
2976         * backend/ev-backend-marshal.c,
2977         backend/ev-backend-marshalers.list, backend/Makefile.am: add
2978         marshaler-generator thingy. I'm sure there's a better way to do
2979         this in the modern world.
2980
2981         * backend/ev-document.h (struct _EvDocumentIface): add begin_find,
2982         end_find methods and "found" signal.
2983
2984         * configure.ac: find glib-genmarshal
2985
2986 Tue Dec 21 23:20:35 2004  Jonathan Blandford  <jrb@redhat.com>
2987
2988         * shell/ev-sidebar.c: Construct an actual sidebar.
2989         * shell/ev-sidebar-bookmarks.[ch]:
2990         * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
2991
2992 Tue Dec 21 23:05:51 2004  Owen Taylor  <otaylor@redhat.com>
2993
2994         * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:
2995         Redo size handling.
2996         
2997         * shell/ev-view.c: Track the size from the document.
2998
2999 Tue Dec 21 22:17:04 2004  Owen Taylor  <otaylor@redhat.com>
3000
3001         * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc
3002         constructor assumes ownership of the string passed in.
3003         
3004         * shell/ev-window.c (ev_window_open): Destroy the error
3005         dialog once we've displayed it.
3006
3007 Tue Dec 21 21:58:56 2004  Owen Taylor  <otaylor@redhat.com>
3008
3009         * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up 
3010         a bit, it works! (sort of)
3011
3012         * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc:
3013         Move to .cc since we need to use C++ in the implementation.
3014
3015         * shell/dummy.cc: Add a CC file to force evince
3016         to be linked as a C++ program.
3017
3018 Tue Dec 21 21:07:55 2004  Owen Taylor  <otaylor@redhat.com>
3019
3020         * shell/ev-view.[ch]: Start of content-area widget.
3021
3022         * shell/ev-window.c: Create a EvView, update it
3023         as we change documents.
3024
3025         * shell/Makefile.am shell/ev-marshal.list: Add
3026         generated marshalers.
3027
3028 Tue Dec 21 20:28:11 2004  Jonathan Blandford  <jrb@redhat.com>
3029
3030         * Makefile.am (SUBDIRS): move shell.
3031
3032 Tue Dec 21 19:28:55 2004  Owen Taylor  <otaylor@redhat.com>
3033
3034         * pdf/{goo,fofi,splash,xpdf}/Makefile.am: Switch from
3035         .a to libtool convenience libraries.
3036
3037         * shell/ev-window.c (ev_window_open): Hard code loading
3038         a PDF document.
3039         
3040         * backend/ev-document.h: Add a boolean return to load(),
3041         fix GError * to GError **.
3042
3043         * pdf/xpdf/pdf-document.[ch] Makefile.am: Add a stub
3044         object for a PDF backend EvDocument.
3045
3046 Tue Dec 21 18:55:06 2004  Søren Sandmann  <sandmann@redhat.com>
3047
3048         * dvi/*: New directory with the beginning of a .dvi backend.
3049
3050 2004-12-21  Havoc Pennington  <hp@redhat.com>
3051
3052         * shell/eggfindbar.c (egg_find_bar_init): change buttons to
3053         previous/next instead of back/forward
3054
3055 Tue Dec 21 18:26:24 2004  Owen Taylor  <otaylor@redhat.com>
3056
3057         * backend/ev-document.[ch]: Fix a couple of problems so
3058         it compile.
3059
3060 Tue Dec 21 18:20:40 2004  Owen Taylor  <otaylor@redhat.com>
3061
3062         * viewer/* backend/* configure.ac Makefile.am: Move viewer directory 
3063         to backend/ directory, rename EvViewer to EvDocument.
3064
3065 2004-12-21  Havoc Pennington  <hp@redhat.com>
3066
3067         * shell/ev-window.c: hook up the find bar widget; now we just need
3068         a document to find things in
3069
3070         * shell/eggfindbar.c: a find bar widget
3071
3072 Tue Dec 21 17:20:16 2004  Jonathan Blandford  <jrb@redhat.com>
3073
3074         * shell/ev-sidebar.[ch]: initial sidebar boilerplate.
3075
3076 Tue Dec 21 16:30:58 2004  Owen Taylor  <otaylor@redhat.com>
3077
3078         * pdf/**: Import of xpdf code from gpdf. 
3079
3080         * pdf/xpdf/xpdfconfig.h: Move the non-config.h config.h to xpdfconfig.h
3081
3082         * pdf/splash/SplashFTFont.{cc,h} pdf/splash/SplashFTFont.h
3083         pdf/splash/SplashFTFontEngine.h pdf/splash/SplashFTFontFile.h: 
3084         Fix FreeType includes.
3085
3086         * pdf/xpdf/{Error.h GnomeVFSStream.cc ImageOutputDev.cc PDFDoc.cc\
3087         pdffonts.cc pdfimages.cc pdfinfo.cc pdftoppm.cc pdftops.cc
3088         pdftotext.cc PSOutputDev.cc PSOutputDev.h SplashOutputDev.h
3089         Stream.cc TextOutputDev.cc XPDFApp.cc xpdf.cc XPDFViewer.cc
3090         pdf/xpdf/Error.h PSOutputDev.h SplashOutputDev.h}:
3091         Include xpdfconfig.h
3092         
3093 Tue Dec 21 16:08:17 2004  Jonathan Blandford  <jrb@redhat.com>
3094
3095         * shell/ev-window.c (ev_window_dispose): dispose can be called
3096         multiple times.
3097
3098 2004-12-21  Havoc Pennington  <hp@redhat.com>
3099
3100         * shell/ev-window.c (ev_window_init): set title to Document Viewer
3101         rather than Evince
3102
3103         * data/evince-ui.xml, shell/ev-window.c: add a bunch of stub menu
3104         items; really they should be synced with the strings, etc. from
3105         current gpdf, but just getting the boring typing out of the way 
3106
3107 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
3108
3109         * po/POTFILES.in:
3110         * shell/ev-application.c: (window_destroy_cb):
3111         * shell/ev-window.c:
3112         * shell/main.c: (main):
3113
3114         Actually show the window...
3115
3116 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
3117
3118         * Makefile.am:
3119         * shell/Makefile.am:
3120         * shell/ev-application.c: (ev_application_class_init):
3121         * shell/ev-window.c: (ev_window_dispose), (ev_window_class_init):
3122
3123         Make it build again
3124
3125 2004-12-21  Marco Pesenti Gritti  <marco@gnome.org>
3126
3127         Import to gnome cvs.
3128         
3129         * Remove copies of gpdf and ggv trees.
3130         * Rip out all the recursive configure code.
3131         * Remove bonobo machinery.
3132         * viewer/*: GInterfaces that backends should/can implement.
3133
3134 2004-11-09  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3135
3136         * shell/ev-window.c (ev_window_cmd_help_about): fix "documentors"
3137         typo
3138
3139 2004-10-28  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3140
3141         * shell/ev-application.c (EV_APPLICATION_GET_PRIVATE)
3142         (ev_application_finalize, ev_application_class_init)
3143         (ev_application_init): use GType instance private data for priv.
3144     
3145         * shell/ev-window.c (EV_WINDOW_GET_PRIVATE)
3146         (ev_window_finalize, ev_window_class_init)
3147         (ev_window_init): ditto.
3148
3149 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3150
3151         * shell/ev-application.c (ev_application_new_window): make public
3152         (ev_application_show_initial_window): kill.
3153     
3154         * shell/ev-application.h: update prototypes.
3155     
3156         * shell/main.cc (main): inline ev_application_show_initial_window.
3157
3158 2004-10-27  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3159
3160         * shell/ev-application.c (ev_application_new_window): impl.
3161         (ev_application_show_initial_window): use it.
3162         (is_window_empty, ev_application_get_empty_window): returns an
3163         existing empty window or a new one.
3164         (ev_application_open): from ev_window_cmd_file_open.
3165     
3166         * shell/ev-application.h: update prototypes
3167     
3168         * shell/ev-window.c (ev_window_is_empty): impl.
3169         (ev_window_open): make public.
3170         (ev_window_cmd_file_open): use ev_application_open
3171     
3172         * shell/ev-window.h: update prototypes, remove unused.
3173
3174 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3175
3176         * shell/ev-window.c (ev_window_destroy, ev_window_class_init):
3177         move destroy handler out of here...
3178     
3179         * shell/ev-application.c, shell/ev-application.h: ...into this new
3180         class. Also handles initial window creation.
3181     
3182         * shell/main.cc (main): use EvApplication to create initial
3183         window.
3184
3185 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3186
3187         * Makefile.am (SUBDIRS): add cut-n-paste
3188     
3189         * cut-n-paste/Makefile.am: add
3190     
3191         * configure.ac: generate Makefiles in cut-n-paste
3192
3193 2004-10-26  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3194
3195         * shell/ev-window.c (ev_window_dispose): new, unref the ui_manager
3196         (ev_window_class_init): install ev_window_dispose.
3197
3198 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3199
3200         * shell/ev-window.h, shell/ev-window.c: replace gchar with
3201         char (gchar looks stupid).
3202
3203 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3204
3205         * po/de.po: updated German translation.
3206
3207 2004-10-25  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3208
3209         * configure.ac: add more pkg-config library checks for gnome-vfs,
3210         bonobo etc.
3211     
3212         * gpdf/configure.in: temporarily disable libpaper
3213         checks. Otherwise I'd have to add the checks for the shell, too.
3214
3215 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3216
3217         * shell/ev-window.c (ev_window_cmd_file_open): add ps+pdf, ps, pdf
3218         and * file filters to the file choose.
3219
3220 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3221
3222         * po/de.po: Updated German translation.
3223
3224 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3225
3226         * shell/ev-window.c: use "S" as mnemonic for Statusbar.
3227
3228 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3229
3230         * data/evince-ui.xml: add View->Toolbar and View->Statusbar.
3231     
3232         * shell/ev-window.c (menu_item_select_cb, menu_item_select_cb)
3233         (ev_window_init): implement those menuitems.
3234
3235 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3236
3237         * data/evince-ui.xml: add a toolbar (with FileOpen action)
3238     
3239         * shell/ev-window.c (ev_window_init): use the toolbar.
3240
3241 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3242
3243         * shell/ev-window.c (ev_window_init): use menu translations
3244
3245 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3246
3247         * configure.ac: add "de" to ALL_LINGUAS.
3248     
3249         * po/de.po: add German translation.
3250
3251 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3252
3253         * Makefile.am (SUBDIRS): add po
3254     
3255         * configure.ac: check intltool, glib-gettext etc, generate
3256         po/Makefile.in
3257     
3258         * po, po/POTFILES.in, po/POTFILES.skip: new.
3259
3260 2004-10-24  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3261
3262         * shell/Makefile.am (INCLUDES): define GNOMELOCALEDIR which we
3263         already use (#ifdef ENABLE_NLS)
3264     
3265         * shell/ev-window.c (ev_window_cmd_help_about): fix two star
3266         pointer indirection thinko.
3267     
3268         * shell/main.c: include gi18n.h for bindtextdomain etc.
3269
3270 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3271
3272         * shell/ev-window.c (menu_item_select_cb, menu_item_deselect_cb)
3273         (connect_proxy_cb, disconnect_proxy_cb, ev_window_init): show
3274         tooltips for menu items in the statusbar.
3275
3276 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3277
3278         * configure.ac, data/Makefile.am, shell/Makefile.am: use
3279         pkgdatadir drop UIDIR
3280
3281 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3282
3283         * data/evince-ui.xml: Add File->Open menu item
3284     
3285         * shell/ev-window.c (ev_window_cmd_file_open): impl. (shows a file
3286         chooser), hook it up in the ui manager.
3287
3288 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3289
3290         * shell/ev-window.c: fix Help->About tooltip.
3291
3292 2004-10-23 Martin Kretzschmar  <m_kretzschmar@gmx.net>
3293
3294         * configure.ac: set CFLAGS for libevprivate.
3295     
3296         * lib/ev-stock-icons.h, lib/ev-stock-icons.c: stock icon
3297         definitions, factory etc.
3298     
3299         * lib/Makefile.am: build libevprivate.a (only stock icon code).
3300     
3301         * shell/Makefile.am: link against libevprivate.a.
3302     
3303         * shell/ev-window.c (entries): add stock icon to Help->About.
3304     
3305         * shell/main.c (main): init stock icon code.
3306
3307 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3308
3309         * lib/recent-files: egg recent files code
3310     
3311         * lib/Makefile.am: add.
3312     
3313         * Makefile.am: add lib subdir.
3314     
3315         * configure.ac: gen. lib/Makefile and lib/recent-files/Makefile,
3316         set CFLAGS for recent-files.
3317
3318 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3319
3320         * configure.ac: disable -ansi and -pedantic gcc flags. They
3321         disable POSIX stuff in stdio.h, but egg-recent uses them.
3322
3323 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net> 
3324
3325         * configure.ac: add --disable-deprecated flag (defaults to on in
3326         "cvs" builds).
3327     
3328         * shell/Makefile.am (INCLUDES): use it.
3329
3330 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3331
3332         * shell/main.c: add missing #include.
3333     
3334         * shell/ev-window.c: fix for pedantic gcc.
3335         (ev_window_cmd_help_about): split license into paragraphs for
3336         translators and pedantic compilers.
3337
3338 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3339
3340         * configure.ac: add more warning flags if compiling with gcc from
3341         cvs (or explicitly requested with --enable-more-warnings).
3342
3343 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3344
3345         * data/evince-ui.xml: add File and File->Close menu.
3346     
3347         * shell/ev-window.c (ev_window_cmd_file_close_window): impl.
3348         (ev_window_destroy): quit after destroy.
3349         (ev_window_class_init): override GtkObject::destroy.
3350         (entries): install close_window callback.
3351
3352 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3353
3354         * Makefile.am (SUBDIRS): add data subdir.
3355     
3356         * configure.ac (UIDIR): gen data/Makefile, define UIDIR.  Require
3357         gtk+ 2.5.0 for GtkAboutDialog.
3358     
3359         * data/Makefile.am, data/evince-ui.xml: add, ui definition for the
3360         main window.
3361     
3362         * shell/Makefile.am (INCLUDES): propagate UIDIR definition.
3363     
3364         * shell/ev-window.c (ev_window_init): create a menubar, using a ui
3365         manager.
3366         (ev_window_cmd_help_about): about command, using GtkAboutDialog.
3367
3368 2004-10-23  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3369
3370         * shell/ev-window.c, shell/ev-window.h: Created an EvWindow class.
3371
3372 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3373
3374         * shell/main.c: make it a trivial gtk+ program, adjust configure.ac
3375
3376 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3377
3378         * shell/*: Added shell directory boilerplate, build it.
3379
3380 2004-10-22  Martin Kretzschmar  <m_kretzschmar@gmx.net>
3381
3382         * configure.ac, Makefile.am: Added top-level configure.ac and
3383         Makefile.am