Hi all,
finally, the new database code is in CVS. It is totally untested (it
compiles), and will be tested when I'm finished with an urgent project
that has started this week. The new code can be found in the dbmail_2_0
CVS branch (you can take a look
at the code and diffs without downloading by going to
http://cvs.dbmail.org).
* database code
The following changes have been made:
dbmysql.c and dbpgsql.c now only consist of functions which implement
API specific functionality. db.c (new file) implements all database
functions which used to be implemented by db??sql.c .
The same goes for dbsearch??sql.c and dbmsgbuf??sql.c, which are now
implemented by dbsearch.c and dbmsgbuf.c
* Authentication
The authentication code from dbauth??sql.c has been moved to a new
auth/ directory. There are two C-files there. authsql.c which
implements "classic" SQL authentication. authldap.c implements LDAP
authentication as implemented by Aaron Stone (aaron@serendipity.cx).
I've added a configure switch --with-auth-ldap which will compile
dbmail with this LDAP code.
* Query improvement
In db.c some queries have been made "better" by putting the
intelligence into the SQL query instead of the C-code
(db_icheck_messages() is an example of this).
* InnoDB
Paul Stevens posted some better MySQL innoDB tables definitions to the
dbmail@dbmail.org list, which have now taken the place of the old
innoDB definitions.
* Warnings
The configure script now adds -W -Wall to the gcc flags. There are
quite a lot of warnings currently (most have to do with
unsigned<->signed conflicts), which have to be taken care of. I'd like
the package to compile cleanly.
* Doxygen
To help developers to get a good view of the code, I've started
documenting all functions with doxygen (www.doxygen.org) tags. For
those of you who don't know doxygen, think of it as an improved
JavaDoc, which makes hyperlinked HTML pages for all source files.
* Website
I hope to be able to update www.dbmail.org next week.
* WARNING
Again, this is alpha code. Please try it, look at the code, send your
comments, etc. Don't use this in a production environment yet.
cheers,
Ilja Booij
--
IC&S
Koningsweg 4
3582 GE UTRECHT
finally, the new database code is in CVS. It is totally untested (it
compiles), and will be tested when I'm finished with an urgent project
that has started this week. The new code can be found in the dbmail_2_0
CVS branch (you can take a look
at the code and diffs without downloading by going to
http://cvs.dbmail.org).
* database code
The following changes have been made:
dbmysql.c and dbpgsql.c now only consist of functions which implement
API specific functionality. db.c (new file) implements all database
functions which used to be implemented by db??sql.c .
The same goes for dbsearch??sql.c and dbmsgbuf??sql.c, which are now
implemented by dbsearch.c and dbmsgbuf.c
* Authentication
The authentication code from dbauth??sql.c has been moved to a new
auth/ directory. There are two C-files there. authsql.c which
implements "classic" SQL authentication. authldap.c implements LDAP
authentication as implemented by Aaron Stone (aaron@serendipity.cx).
I've added a configure switch --with-auth-ldap which will compile
dbmail with this LDAP code.
* Query improvement
In db.c some queries have been made "better" by putting the
intelligence into the SQL query instead of the C-code
(db_icheck_messages() is an example of this).
* InnoDB
Paul Stevens posted some better MySQL innoDB tables definitions to the
dbmail@dbmail.org list, which have now taken the place of the old
innoDB definitions.
* Warnings
The configure script now adds -W -Wall to the gcc flags. There are
quite a lot of warnings currently (most have to do with
unsigned<->signed conflicts), which have to be taken care of. I'd like
the package to compile cleanly.
* Doxygen
To help developers to get a good view of the code, I've started
documenting all functions with doxygen (www.doxygen.org) tags. For
those of you who don't know doxygen, think of it as an improved
JavaDoc, which makes hyperlinked HTML pages for all source files.
* Website
I hope to be able to update www.dbmail.org next week.
* WARNING
Again, this is alpha code. Please try it, look at the code, send your
comments, etc. Don't use this in a production environment yet.
cheers,
Ilja Booij
--
IC&S
Koningsweg 4
3582 GE UTRECHT