2006-05-25 11:34:03 +00:00
|
|
|
2005-05-25 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* configure.ac: Check for new postgres string escaping
|
|
|
|
* configure: Regenerate
|
|
|
|
* SQLClient.h: Add quoteString method for subclasses to override
|
|
|
|
* SQLClient.m: Add new method and change marker for blobs to be
|
|
|
|
one that shouldn't occur in a quoted string.
|
|
|
|
* SQLite.m: Use new blob marker
|
|
|
|
* MySQL.m: Use new blob marker
|
|
|
|
* config.h.in: Add new postgres escaping function
|
|
|
|
* Postgres.m: Handle new escaping
|
|
|
|
* testPostgres.m: Add check for escaping odd characters.
|
|
|
|
|
2006-02-22 11:15:16 +00:00
|
|
|
2005-02-22 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.m: Support quoting of NSArray and NSSet objects.
|
|
|
|
|
2006-01-11 14:27:36 +00:00
|
|
|
2006-01-11 Nicola Pero <nicola@brainstorm.co.uk>
|
|
|
|
|
|
|
|
* configure.ac: Do not source GNUSTEP_CONFIG_FILE if it doesn't
|
|
|
|
exist, so that the library can be used with older versions of
|
|
|
|
gnustep-make/gnustep-base too. :-)
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2005-11-23 10:02:46 +00:00
|
|
|
2005-11-23 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
Added SQLite backend support.
|
|
|
|
|
2005-11-14 20:37:33 +00:00
|
|
|
2005-11-14 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
Factor out WebServer into separate library, and timer and caching
|
|
|
|
stuff into Performance library. Make this library depend on the
|
|
|
|
Performance library.
|
|
|
|
|
2005-10-27 16:18:45 +00:00
|
|
|
2005-10-27 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.m: Add more accurate timestamps and implement request
|
|
|
|
and session duration logging. Also add a unique session ID number
|
|
|
|
to each log to make it easy to track requests on a session.
|
|
|
|
|
2005-10-05 10:15:50 +00:00
|
|
|
2005-09-28 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* GNUmakefile.wrapper.objc.preamble: new file
|
|
|
|
* SQLClient.jigs: new file
|
|
|
|
* GNUmakefile: Provide java wrappings for SQLClient and friends
|
|
|
|
|
2005-09-28 06:20:43 +00:00
|
|
|
2005-09-28 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.m: boost performance of quoting a little.
|
2005-09-28 06:35:03 +00:00
|
|
|
Provide -count method for transactions.
|
|
|
|
|
2005-09-28 06:20:43 +00:00
|
|
|
|
2005-09-26 11:22:35 +00:00
|
|
|
2005-09-26 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.h: Clean up caching/timestamps.
|
|
|
|
* SQLClient.m: ditto.
|
|
|
|
|
2005-09-22 08:42:37 +00:00
|
|
|
2005-09-22 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.h: Rewrite caching, and expose cache for external use.
|
|
|
|
* SQLClient.m: ditto.
|
|
|
|
|
2005-09-20 12:57:48 +00:00
|
|
|
2005-09-20 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.h: make SQLRecord modifieable (replace values).
|
|
|
|
* SQLClient.m: ditto.
|
|
|
|
|
2005-09-15 08:25:12 +00:00
|
|
|
2005-09-15 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* configure.ac: Locate postgres 8.0 on debian
|
|
|
|
* configure: regenerate
|
|
|
|
|
2005-08-03 05:39:29 +00:00
|
|
|
2005-08-03 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* GNUmakefile: Add SQLClient_LIBRARIES_DEPEND_UPON for apple as
|
|
|
|
suggested by Yen-Ju Chen.
|
|
|
|
* SQLClient.m: Don't call allocation debug functions on apple,
|
|
|
|
and avoid bogus apple compiler warning.
|
2005-08-03 07:03:28 +00:00
|
|
|
Guard against nil object passed to NSMapRemove() ... the apple
|
|
|
|
implementation crashes on this.
|
2005-08-03 05:39:29 +00:00
|
|
|
|
2005-08-02 10:42:42 +00:00
|
|
|
2005-08-02 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* GNUmakefile: Don't build WebServer stuff on MacOS-X when using the
|
|
|
|
apple runtime (and presumably foundation).
|
|
|
|
|
2005-07-07 21:11:04 +00:00
|
|
|
2005-07-07 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* MySQL.m:
|
|
|
|
* SQLClient.m:
|
|
|
|
* WebServer.h:
|
|
|
|
* WebServer.m:
|
|
|
|
Tweaks to keep gcc-4 happy (signedness issues) and add support for
|
|
|
|
using separate ssl conmfig for different IP addresses.
|
|
|
|
|
2005-06-21 13:10:55 +00:00
|
|
|
2005-06-21 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.m: Expand tilde in paths searched for backend bundles.
|
|
|
|
|
2005-05-25 07:57:04 +00:00
|
|
|
2005-05-25 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* Postgres.m: Clear connection if an exception occurs while
|
|
|
|
disconnecting ... otherwise a failed disconnect can prevent
|
|
|
|
any new connection from being established.
|
2005-05-25 14:06:19 +00:00
|
|
|
Improve quoting of strings to be a bit more efficient and to
|
|
|
|
remove nul characters.
|
2005-05-25 07:57:04 +00:00
|
|
|
|
2005-05-09 15:35:46 +00:00
|
|
|
2005-05-09 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.[hm]: Add method to encode a form from a dictionary
|
|
|
|
into a data object ... convenience for where form data is needed.
|
|
|
|
|
2005-03-02 10:00:24 +00:00
|
|
|
2005-03-02 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.[hm]: Add support for basic http authentication either
|
|
|
|
via username/password pairs in property list or in database table.
|
|
|
|
* SQLClient.[hm]: Add methods to query database with local caching
|
|
|
|
of results, for use on systems needing high performance, where
|
|
|
|
database query (and/or database client-server comms) overheads are
|
|
|
|
important.
|
|
|
|
|
2005-02-25 18:08:22 +00:00
|
|
|
2005-02-25 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
* Version 1.1.0:
|
|
|
|
* GNUmakefile: Add version.
|
|
|
|
* README: Add ftp location.
|
|
|
|
|
2005-02-19 04:20:13 +00:00
|
|
|
Sat Feb 19 04:20:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* Makefile: Build two versions of each bundle with different library
|
|
|
|
linkage for systems where dybnamic linker symbol visibility differs.
|
|
|
|
* SQLClient.m: Try alternative bundle versions.
|
|
|
|
|
2005-02-07 15:20:02 +00:00
|
|
|
Mon Jan 07 15:20:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* Makefile: Bump version.
|
|
|
|
* SQLClient.h: Improve documentation.
|
|
|
|
|
2004-12-19 06:15:55 +00:00
|
|
|
Sat Dec 18 06:00:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.m: Fix bug in substitution of nil values into templates.
|
|
|
|
Add new method to vend static pages.
|
|
|
|
|
2004-12-15 13:14:38 +00:00
|
|
|
Wed Dec 15 13:10:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* MySQL.m, Postgres.m, ECPG.pgm: Do NSLog() logging of field
|
|
|
|
information only when debug level is greater than 1.
|
|
|
|
|
2004-12-10 10:50:35 +00:00
|
|
|
Fri Dec 10 10:50:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* GNUmakefile: Remove unnecessary libraries from link commands for
|
|
|
|
bundles. On Darwin, specifying these leads to multiply defined
|
|
|
|
symbols when an executable attempts to load the bundle.
|
|
|
|
|
2004-11-19 14:46:42 +00:00
|
|
|
Fri Nov 19 14:40:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.m: parse basic authentication infor and set it in extra
|
|
|
|
headers in request.
|
|
|
|
* WebServerBundles.m: support handling of paths longer than the
|
|
|
|
ones set for each bundle.
|
|
|
|
|
2004-11-16 14:55:17 +00:00
|
|
|
Tue Nov 11 14:48:05 2004 Nicola Pero <n.pero@mi.flashnet.it>
|
|
|
|
|
|
|
|
* GNUmakefile (BUNDLE_INSTALL_DIR): install bundles in
|
|
|
|
GNUSTEP_INSTALLATION_DIR, not GNUSTEP_LOCAL_ROOT.
|
|
|
|
|
2004-11-09 10:26:05 +00:00
|
|
|
Tue Nov 09 10:20:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.hm: add ([-append:]) method to merge transactions.
|
|
|
|
|
2004-10-28 07:50:46 +00:00
|
|
|
Thu Oct 28 08:45:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.m: Don't generate alert about connection with empty
|
|
|
|
request if we have lready handled a request and reset.
|
|
|
|
|
2004-10-26 15:54:29 +00:00
|
|
|
Tue Oct 26 16:50:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.m: debug and duration logging should be turned off
|
|
|
|
by default ... a different value crept in somehow.
|
|
|
|
|
2004-10-09 12:39:36 +00:00
|
|
|
Sat Oct 9 14:29:35 2004 Nicola Pero <n.pero@mi.flashnet.it>
|
|
|
|
|
|
|
|
* SQLClient.m ([SQLClient -simpleExecute:]): Fixed logging
|
|
|
|
durations and statements in transactions.
|
|
|
|
|
2004-10-08 09:29:00 +00:00
|
|
|
Thu Oct 08 10:30:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.[hm]: Add ([-quotef:,...]) to perform efficient quoting
|
|
|
|
of a string produced using printf style format and arguments.
|
|
|
|
|
2004-10-07 09:30:14 +00:00
|
|
|
Thu Oct 07 10:30:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.[hm]: Optimise timing operations somewhat.
|
|
|
|
|
2004-10-06 14:02:38 +00:00
|
|
|
Wed Oct 06 15:04:23 2004 Nicola Pero <n.pero@mi.flashnet.it>
|
|
|
|
|
|
|
|
* WebServer.h: Fixed typo in parameter name.
|
|
|
|
|
2004-10-06 12:10:01 +00:00
|
|
|
Wed Oct 06 13:10:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.[hm]: Allow a database transaction to already have been
|
|
|
|
begun when [SQLTransactiuon-execute] is called, so we can have
|
|
|
|
queries in the same database transaction as a list of statements.
|
|
|
|
|
2004-10-06 05:21:09 +00:00
|
|
|
Wed Oct 06 06:15:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.[hm]: Make the rollback opoeration a safe no-op if
|
|
|
|
there is no transaction in progress.
|
|
|
|
* Postgres.m: Improve exception text by reporting the offending
|
|
|
|
SQL statement(s).
|
|
|
|
|
2004-09-17 14:54:56 +00:00
|
|
|
Fri Sep 17 16:55:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.[hm]: When reporting the duration of a commit or
|
|
|
|
rollback, report text of all the statements in the transaction.
|
|
|
|
|
2004-08-27 08:35:34 +00:00
|
|
|
Fri Aug 28 09:30:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.[hm]: Add support for limiting maximum number of incoming
|
|
|
|
sessions permitted from mone host.
|
|
|
|
|
2004-08-24 13:28:10 +00:00
|
|
|
Tue Aug 24 14:30:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.[hm]: Add support for HTTP/1.1 persistent connections.
|
|
|
|
|
2004-08-22 09:34:18 +00:00
|
|
|
Sun Aug 22 10:35:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.[hm]: Add ([SQLRecord-dictionary]) and tidy/comment the
|
|
|
|
class a bit better.
|
|
|
|
|
2004-08-07 13:25:19 +00:00
|
|
|
Sat Aug 07 14:25:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.m: Add session timeouts to kill off idle sessions.
|
|
|
|
|
2004-07-27 16:32:02 +00:00
|
|
|
Tue Jul 27 17:30:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* configure.ac: Give more help when postgres is not found.
|
|
|
|
* configure: regenerate
|
|
|
|
|
2004-07-26 08:56:26 +00:00
|
|
|
Mon Jul 26 09:50:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.h: Add -transaction method and SQLTransaction class
|
|
|
|
* SQLClient.m: Implement -transaction method and SQLTransaction class
|
|
|
|
to provide a simple convenient mechanism for executing a sequence
|
|
|
|
of statements as a single transaction.
|
|
|
|
|
|
|
|
Thu Jul 15 09:40:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
2004-07-15 08:39:07 +00:00
|
|
|
|
|
|
|
* WebServer.m: ([_didRead:]) more informative logging upon reading
|
|
|
|
an unexpected end-of-file
|
|
|
|
|
2004-07-14 11:06:39 +00:00
|
|
|
Wed Jul 14 12:07:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* configure.ac: Check for PQfformat in libpq, if it is not there
|
|
|
|
but the library is there, warn that it is too old.
|
|
|
|
|
2004-07-03 09:03:12 +00:00
|
|
|
Thu Jul 02 17:40:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.m: Add control over character encoding used to
|
|
|
|
interpret form data.
|
|
|
|
|
2004-07-02 12:22:28 +00:00
|
|
|
Thu Jul 02 13:25:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.m: Fix error response when an exception occurs.
|
|
|
|
|
2004-07-01 16:58:22 +00:00
|
|
|
Thu Jul 01 18:00:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.m: Make ([setPort:secure:]) return a status.
|
|
|
|
* WebServerBundles.m: Check that web server is able to start.
|
|
|
|
* WebServer.h: ditto
|
|
|
|
|
2004-06-30 04:41:07 +00:00
|
|
|
Wed Jun 30 05:40:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* GNUmakefile: Use ./obj as location for library to link,
|
|
|
|
for initial case where we link the bundles before installing
|
|
|
|
the library.
|
2004-06-30 04:43:38 +00:00
|
|
|
* WebServer.m: Add casts to prevent compiler warning.
|
2004-06-30 09:44:35 +00:00
|
|
|
* Postgres.m: Commented out NSLog() left over from debugging.
|
2004-06-30 04:41:07 +00:00
|
|
|
|
2004-06-29 17:11:10 +00:00
|
|
|
Tue Jun 29 18:10:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.m: Fix code for retrieving reference name ... look in
|
|
|
|
the config dictionary first, and in user defaults if not found
|
|
|
|
there.
|
|
|
|
* SQLClient.h: Document change.
|
|
|
|
* GNUmakefile: Link bundles with the library to ensure that they
|
|
|
|
find the SQLRecord class when loaded.
|
|
|
|
|
2004-06-28 11:55:09 +00:00
|
|
|
Mon Jun 28 12:55:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* WebServer.h: New file.
|
|
|
|
* WebServer.m: New file.
|
|
|
|
* WebServerBundles.m: New file.
|
|
|
|
* SQLClient.h: Mention WebServer.
|
|
|
|
* GNUmakefile: Build WebServer classes.
|
|
|
|
Added framework to make it easy to use SQLClient to produce
|
|
|
|
standalone http/https applications, such as accepting POST'ed
|
|
|
|
records for addition to a database.
|
|
|
|
|
2004-05-07 08:16:16 +00:00
|
|
|
Fri May 07 09:15:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
Add methods to log duration of any statements over a certain
|
|
|
|
limit.
|
|
|
|
Tidy instance variables ... prefix mprivate ones with underscore.
|
2004-05-07 09:34:10 +00:00
|
|
|
Install header!
|
2004-05-07 08:16:16 +00:00
|
|
|
|
2004-04-29 14:19:51 +00:00
|
|
|
Thu Apr 29 15:20:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* SQLClient.h: Fix URLs in documentation as suggested by Adam.
|
|
|
|
* SQLClient.html: regenerate
|
|
|
|
|
2004-04-26 15:20:46 +00:00
|
|
|
Mon Apr 26 16:20:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
Initial checkin of library.
|