mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
* src/scm/utilities.scm (string-split): used to be string-split-on in qif-utils.scm * src/scm/qif-import/qif-utils.scm: move string-split-on to utilities.scm as string-split to better match string-join. * src/scm/qif-import/qif-to-gnc.scm (qif-import:qif-to-gnc): string-split-on -> string-split. * src/scm/qif-import/qif-dialog-utils.scm (qif-import:get-all-accts): string-split-on -> string-split. * src/scm/price-quotes.scm (yahoo-get-historical-quotes): new function - retrieve lists of historical quote information. * src/scm/bootstrap.scm.in (%load-path): add new guile-modules directory so we can use-modules from there. * src/guile/Makefile.am (CLEANFILES): add gnucash.c so it goes away on "make clean" in addition to "make distclean". * src/engine/gnc-pricedb.c: minor doc updates. * src/engine/gnc-pricedb.h: much more documentation. * lib/guile-www: new directory - contains guile-www CVS module. Used by new historical quote function. Several new files added. Installed to new install directory GNC_SHAREDIR/guile-modules such that it is available via (use-modules (www main)), etc. * lib/Makefile.am (SUBDIRS): add guile-www * configure.in (AC_OUTPUT): add lib/guile-www/Makefile git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3988 57a11ea4-9604-0410-9ed3-97b8803252fd
67 lines
2.8 KiB
Plaintext
67 lines
2.8 KiB
Plaintext
This is an alpha release of the Guile WWW library, version 1.0.
|
|
|
|
Roadmap:
|
|
|
|
The (www http) library includes some support for navigating HTTP
|
|
connections. http:open, http:request and http:get may be used for
|
|
opening connections and making HTTP requests; http:make-message,
|
|
http:message-body and http:message-header may be used to
|
|
manipulate HTTP messages. Support is planned for the full
|
|
HTTP/1.1 protocol, including cookies and persistent connections.
|
|
|
|
(www url) provides url:parse for parsing a URL into its component
|
|
parts, and the selector functions url:scheme, url:host, url:port
|
|
and url:path for selecting individual components of a parsed URL.
|
|
For individual components that may have been URL-encoded in
|
|
transit, url:decode translates a string into its raw (unencoded)
|
|
form.
|
|
|
|
(www cgi) provides some functions helpful in writing CGI scripts
|
|
painlessly. The focus is on scripts to process interactive forms.
|
|
cgi:init reads any form data and initializes a CGI environment.
|
|
cgi:form-data? determines whether any form data has been returned
|
|
by a browser for processing. cgi-value returns the value
|
|
associated with a form variable, and cgi-names and cgi-values
|
|
return all of the names and values present in the current form.
|
|
|
|
(www main) provides www:get, which decodes a URL and invokes the
|
|
appropriate protocol handler for retrieving the desired object.
|
|
It is intended to be a generic interface useful for retriving data
|
|
named by any URL.
|
|
|
|
wwwcat is an example script of how www:get and other functions
|
|
might be used by a Guile application.
|
|
|
|
A generic guide to hacking on Guile software follows.
|
|
|
|
Tim Pierce
|
|
twp@tezcat.com
|
|
|
|
Hacking It Yourself ==================================================
|
|
|
|
As distributed, the Guile WWW library needs only a Unix system to build
|
|
and install. However, its makefiles, configuration scripts, and a few
|
|
other files are automatically generated, not written by hand. If you
|
|
want to make changes to the system (which we encourage!) you will find
|
|
it helpful to have the tools we use to develop it. They are the
|
|
following:
|
|
|
|
Autoconf 2.12 --- a system for automatically generating `configure'
|
|
scripts from templates which list the non-portable features a
|
|
program would like to use. Available in
|
|
"ftp://prep.ai.mit.edu/pub/gnu".
|
|
|
|
Automake 1.1p --- a system for automatically generating Makefiles that
|
|
conform to the (rather Byzantine) GNU coding standards. The
|
|
nice thing is that it takes care of hairy targets like 'make
|
|
dist' and 'make distclean', and automatically generates
|
|
Makefile dependencies. Available in
|
|
"ftp://ftp.cygnus.com/pub/tromey".
|
|
|
|
libtool 0.9d --- a system for managing the zillion hairy options needed
|
|
on various systems to produce shared libraries. Available in
|
|
"ftp://alpha.gnu.ai.mit.edu/gnu".
|
|
|
|
You are lost in a little maze of automatically generated files, all
|
|
different.
|