Commit: wvWare on top of libgsf works

From: Dom Lachowicz <domlachowicz_at_yahoo.com>
Date: Mon Apr 18 2005 - 18:12:10 CEST

wvWare has been ported to use libgsf-1 now.

For the uninitiated, libgsf is an ultra-cool file
abstraction and compound document abstraction library.
Jody, I and the Gnumeric folk wrote it and hope that
AbiWord will use it someday soon too. It aims to do
the right thing, for all applicable definitions of
"the right thing." This means that it doesn't
overwrite an existing file until close() is called (in
case of corruption or crash); it handles symlinks
intelligently, etc. It is also location agnostic. This
means that it can read/write to the following types of
sources:

*) Local disk, including mmap'd files
*) Memory
*) Remote servers, via gnome-vfs
*) Bonobo objects
*) Win32 IStreams/ADODB Streams

What I've done in wvWare so far:

1) Removed the iconv directory. We'll use glib2's
g_iconv instead, since that's guaranteed to be
compatible with libiconv.

2) Removed the expat directory. We require libxml2
now, since libgsf does too. The wvWare code that used
expat still exists behind an HAVE_EXPAT ifdef, if
someone cares enough to update the configure script.

3) Removed the magick directory. We were only using it
in one odd corner case that no longer exists.

4) Removed the glib-wv directory. We require glib2.0
now.

5) Removed the libole2 directory. We require libgsf-1
now.

6) Cleaned up the auto* build system. The configure
script and friends aren't checked into CVS any more.

7) Various other code maintenance things. Made some
functions static, some data const, etc.

What's left to do:

1) Take advantage of the GSF's location-agnostic-ness.
Currently, wvWare only handles STDIO-based files.

2) Run 'nm' on libwv.a and make sure that only symbols
prefixed with 'wv' are exported from the library.

                
__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
Received on Mon Apr 18 18:12:05 2005

This archive was generated by hypermail 2.1.8 : Mon Apr 18 2005 - 18:12:07 CEST