citadel.git
16 years agoSite config protocol and UI for XMPP port numbers
Art Cancro [Mon, 3 Dec 2007 07:57:09 +0000 (07:57 +0000)]
Site config protocol and UI for XMPP port numbers

16 years agoOnly send presence notifications when the first
Art Cancro [Mon, 3 Dec 2007 07:22:43 +0000 (07:22 +0000)]
Only send presence notifications when the first
concurrent session for a user logs in, or when the last
session logs out.  Also handle stealth mode semantics.

16 years agoInitial XMPP STARTTLS code; commented out because it doesn't work
Art Cancro [Mon, 3 Dec 2007 06:33:25 +0000 (06:33 +0000)]
Initial XMPP STARTTLS code; commented out because it doesn't work

16 years agoHandle <message> stanzas with no body by clearing out
Art Cancro [Mon, 3 Dec 2007 06:11:54 +0000 (06:11 +0000)]
Handle <message> stanzas with no body by clearing out
the buffer, avoiding spurious messages.

16 years agoJabber chat is now working in both directions
Art Cancro [Mon, 3 Dec 2007 05:38:07 +0000 (05:38 +0000)]
Jabber chat is now working in both directions

16 years agoReceiving Jabber messages now works correctly, with
Art Cancro [Mon, 3 Dec 2007 05:02:16 +0000 (05:02 +0000)]
Receiving Jabber messages now works correctly, with
the sender's JID mapped properly to the screen name.

16 years agoInstant messages now carry the email address or JID of the
Art Cancro [Mon, 3 Dec 2007 04:56:31 +0000 (04:56 +0000)]
Instant messages now carry the email address or JID of the
sender.  Sorry, there was no way around it.

16 years agoUnsolicited XMPP presence pushes are now working
Art Cancro [Mon, 3 Dec 2007 04:41:02 +0000 (04:41 +0000)]
Unsolicited XMPP presence pushes are now working
properly, including roster updates.

16 years agoUpdated roster push technique
Art Cancro [Mon, 3 Dec 2007 04:29:51 +0000 (04:29 +0000)]
Updated roster push technique

16 years agoGot the unsolicited roster pushes working.
Art Cancro [Mon, 3 Dec 2007 04:10:27 +0000 (04:10 +0000)]
Got the unsolicited roster pushes working.

16 years ago* WebCit now clarifies, using a localized message (or at
Art Cancro [Mon, 3 Dec 2007 02:44:20 +0000 (02:44 +0000)]
* WebCit now clarifies, using a localized message (or at
  least it will be localized once the translators catch it) the
  error condition which occurs when an administrator attempts to
  create a new user from within Citadel while running in host
  auth mode.
* Wrapped an ifdef around some calendar code that should be disabled
  when libical is not present.

16 years agoSupply a more informative error message when an administrator
Art Cancro [Mon, 3 Dec 2007 02:18:36 +0000 (02:18 +0000)]
Supply a more informative error message when an administrator
attempts to create a new user from within Citadel while running
in host auth mode.

16 years ago* missing translation.
Wilfried Göesgens [Sun, 2 Dec 2007 23:15:16 +0000 (23:15 +0000)]
* missing translation.

16 years agoUnsolicited presence push. Still doesn't seem to work.
Art Cancro [Sun, 2 Dec 2007 05:46:40 +0000 (05:46 +0000)]
Unsolicited presence push.  Still doesn't seem to work.

16 years agomore xmpp presence stuff
Art Cancro [Sat, 1 Dec 2007 18:10:54 +0000 (18:10 +0000)]
more xmpp presence stuff

16 years agoUpdate the ignored stuff for svn. I'm fed up looking at all those .d
Dave West [Sat, 1 Dec 2007 15:48:03 +0000 (15:48 +0000)]
Update the ignored stuff for svn. I'm fed up looking at all those .d
files in svn status -u

16 years agoA thread based version of the Auto Purger.
Dave West [Sat, 1 Dec 2007 15:45:08 +0000 (15:45 +0000)]
A thread based version of the Auto Purger.
This is highly EXPERIMENTAL!!!!!!

16 years agoTry to rationalise the mutex lock/unlock sequence. Hunting for an
Dave West [Sat, 1 Dec 2007 15:36:07 +0000 (15:36 +0000)]
Try to rationalise the mutex lock/unlock sequence. Hunting for an
occasional deadlock.

16 years ago* since we now require a new libical version, remove glitch in availability.
Wilfried Göesgens [Sat, 1 Dec 2007 12:26:34 +0000 (12:26 +0000)]
* since we now require a new libical version, remove glitch in availability.
* configure now requires libical-0.30
* webserver shuts down libical, valgrind doesn't mention ical anymore now.

16 years ago* free timezone after using it.
Wilfried Göesgens [Sat, 1 Dec 2007 11:00:42 +0000 (11:00 +0000)]
* free timezone after using it.

16 years agoRemoved defunct semaphore S_WORKER_LIST
Dave West [Fri, 30 Nov 2007 23:37:04 +0000 (23:37 +0000)]
Removed defunct semaphore S_WORKER_LIST

16 years agoRemoved the PushName and PopName debugging macros that I added. They
Dave West [Fri, 30 Nov 2007 23:31:56 +0000 (23:31 +0000)]
Removed the PushName and PopName debugging macros that I added. They
cause a boom in the auto purger due to some change in the tsd I think.
Anyway, they've servered their purpose now.

16 years agoLogin and logout queue events are processed
Art Cancro [Fri, 30 Nov 2007 22:49:38 +0000 (22:49 +0000)]
Login and logout queue events are processed

16 years agoClean up in sysdep_decls.h
Dave West [Fri, 30 Nov 2007 22:43:11 +0000 (22:43 +0000)]
Clean up in sysdep_decls.h

16 years agoFixed up a comment.
Dave West [Fri, 30 Nov 2007 22:33:07 +0000 (22:33 +0000)]
Fixed up a comment.

16 years agoChanged the way we create aditional threads. One for every connection is
Dave West [Fri, 30 Nov 2007 22:24:26 +0000 (22:24 +0000)]
Changed the way we create aditional threads. One for every connection is
wastefull. Each worker can usually handle 3-4 connections with ease.

16 years agoNow we reduce the number of threads if the load conditions are
Dave West [Fri, 30 Nov 2007 22:11:40 +0000 (22:11 +0000)]
Now we reduce the number of threads if the load conditions are
low. This way we can be nice to other things that might be running on
the same machine by releasing some resources back to the system.

16 years agoNow check for scheduled shutdown in garbage collector.
Dave West [Fri, 30 Nov 2007 22:03:37 +0000 (22:03 +0000)]
Now check for scheduled shutdown in garbage collector.

16 years agoMoved the garbage collection and threding init stuff into a seperate
Dave West [Fri, 30 Nov 2007 21:56:02 +0000 (21:56 +0000)]
Moved the garbage collection and threding init stuff into a seperate
function from main()
Also start the same number of threads that it says in the config.

16 years agoDefine an XMPP queue...
Art Cancro [Fri, 30 Nov 2007 21:54:58 +0000 (21:54 +0000)]
Define an XMPP queue...

16 years agoRemoved a spurios CtdlThreadPopName()
Dave West [Fri, 30 Nov 2007 21:30:01 +0000 (21:30 +0000)]
Removed a spurios CtdlThreadPopName()

16 years agoAdd prototype for CtdlThreadGetWorkers()
Dave West [Fri, 30 Nov 2007 21:24:08 +0000 (21:24 +0000)]
Add prototype for CtdlThreadGetWorkers()

16 years agoNow signals will stop the server again.
Dave West [Fri, 30 Nov 2007 21:20:14 +0000 (21:20 +0000)]
Now signals will stop the server again.

16 years agoClose a window that allowed a new thread to be created even though the
Dave West [Fri, 30 Nov 2007 20:19:37 +0000 (20:19 +0000)]
Close a window that allowed a new thread to be created even though the
system is shutting down.

16 years agoDon't queue up all the worker threads waiting for the session table in
Dave West [Fri, 30 Nov 2007 19:47:29 +0000 (19:47 +0000)]
Don't queue up all the worker threads waiting for the session table in
dead_session_purge(). If it is locked just get out. If that leaves a
dead session/context or two lying around then no biggie because the next
time through will clean them.

16 years agoA mismatch of the worker thread counts is a critical thing. Log it as
Dave West [Fri, 30 Nov 2007 19:30:09 +0000 (19:30 +0000)]
A mismatch of the worker thread counts is a critical thing. Log it as
such.

16 years agoDon't do a CtdlThreadStopAll() within a critical_section, that would
Dave West [Fri, 30 Nov 2007 19:27:36 +0000 (19:27 +0000)]
Don't do a CtdlThreadStopAll() within a critical_section, that would
cause deadlock.

16 years agoSmall optimisation for CtdlThreadSelect(). Now takes a pointer to this
Dave West [Fri, 30 Nov 2007 19:18:28 +0000 (19:18 +0000)]
Small optimisation for CtdlThreadSelect(). Now takes a pointer to this
thread.

16 years agoctdl_thread_internal_gc() now follows rule for critical_section
Dave West [Fri, 30 Nov 2007 19:12:30 +0000 (19:12 +0000)]
ctdl_thread_internal_gc() now follows rule for critical_section

16 years agoCalls to ctdl_thread_internal_* meed to be inside a critical_section.
Dave West [Fri, 30 Nov 2007 19:04:16 +0000 (19:04 +0000)]
Calls to ctdl_thread_internal_* meed to be inside a critical_section.

16 years ago* include system headers first.
Wilfried Göesgens [Fri, 30 Nov 2007 18:57:44 +0000 (18:57 +0000)]
* include system headers first.

16 years agoFake a lower load average of new threads. When starting threads based on
Dave West [Fri, 30 Nov 2007 18:56:48 +0000 (18:56 +0000)]
Fake a lower load average of new threads. When starting threads based on
load this causes a new thread to affect the load more so it gets chance
to start doing things. Otherwise we might start more threads than we
need to.

16 years agoLock the state change on exiting a thread.
Dave West [Fri, 30 Nov 2007 17:59:07 +0000 (17:59 +0000)]
Lock the state change on exiting a thread.

16 years agoAdded a macro to get a threads structure.
Dave West [Fri, 30 Nov 2007 17:51:44 +0000 (17:51 +0000)]
Added a macro to get a threads structure.
Spead up CtdlThreadCheckStop() by requiring the caller pass in its own
thread structure.

16 years agoTo lock or not to lock before signalling a condition?
Dave West [Fri, 30 Nov 2007 17:19:24 +0000 (17:19 +0000)]
To lock or not to lock before signalling a condition?
Some docs imply one should lock.
Some docs say to release all locks before signalling the condition.

16 years agoMinor optimisation to calculation of load averages.
Dave West [Fri, 30 Nov 2007 17:09:13 +0000 (17:09 +0000)]
Minor optimisation to calculation of load averages.

16 years agoAdd a function try_critical_section()
Dave West [Fri, 30 Nov 2007 16:59:08 +0000 (16:59 +0000)]
Add a function try_critical_section()
Just like begin_critical_section but this one returns non zero if the
section is already busy.

16 years agoSignals can't call thread functions so don't do CtdlThreadStopAll in the
Dave West [Fri, 30 Nov 2007 16:55:25 +0000 (16:55 +0000)]
Signals can't call thread functions so don't do CtdlThreadStopAll in the
signal handler.

16 years agoStrip leading and trailing whitespace from instant messages before sending them to...
Art Cancro [Fri, 30 Nov 2007 05:09:00 +0000 (05:09 +0000)]
Strip leading and trailing whitespace from instant messages before sending them to Jabber clients

16 years agoInitial code to output any instant messages which
Art Cancro [Thu, 29 Nov 2007 23:00:44 +0000 (23:00 +0000)]
Initial code to output any instant messages which
have arrived for the user.  The Citadel server's built-in
infrastructure for asynchronous (unsolicited) protocol messages
made this really easy.

16 years agoXMPP presence dump of wholist
Art Cancro [Thu, 29 Nov 2007 16:44:04 +0000 (16:44 +0000)]
XMPP presence dump of wholist

16 years agoSlight change to the way we offer XMPP stream features.
Art Cancro [Thu, 29 Nov 2007 15:52:18 +0000 (15:52 +0000)]
Slight change to the way we offer XMPP stream features.
Before authentication, the only feature we offer is SASL, implying to
the client that the only thing it is allowed to do is log in.  After
a successful SASL authentication, which causes the XMPP stream to be
restarted, the features we offer are sessions and binding, but not
SASL.  This allows clients to initialize in the correct sequence and
guarantees that we will have an email address to use in the JID.

16 years agoid keyword
Art Cancro [Wed, 28 Nov 2007 16:30:01 +0000 (16:30 +0000)]
id keyword

16 years agosvn propset
Art Cancro [Wed, 28 Nov 2007 16:29:04 +0000 (16:29 +0000)]
svn propset

16 years agoDeliver a reply to a Jabber 'roster' query.
Art Cancro [Wed, 28 Nov 2007 16:26:21 +0000 (16:26 +0000)]
Deliver a reply to a Jabber 'roster' query.

16 years agowe have the iq-query-xmlns nonsense all framed up
Art Cancro [Wed, 28 Nov 2007 04:51:40 +0000 (04:51 +0000)]
we have the iq-query-xmlns nonsense all framed up
and ready to deliver some results.  now we just have to populate it
with some data.

16 years agoMinor xml fix to xmpp server
Art Cancro [Wed, 28 Nov 2007 04:10:52 +0000 (04:10 +0000)]
Minor xml fix to xmpp server

16 years agocomments change
Art Cancro [Tue, 27 Nov 2007 22:43:08 +0000 (22:43 +0000)]
comments change

16 years agoWhen restarting the XMPP stream after a successful
Art Cancro [Tue, 27 Nov 2007 22:40:47 +0000 (22:40 +0000)]
When restarting the XMPP stream after a successful
SASL authentication, don't offer SASL as a stream feature
again.  This causes the client to attempt re-authentication
and/or go into an error condition.

16 years agoxmpp sasl hacks
Art Cancro [Tue, 27 Nov 2007 20:14:45 +0000 (20:14 +0000)]
xmpp sasl hacks

16 years agoAdded --with-threadlog. Use this if you want the thread table written to
Dave West [Tue, 27 Nov 2007 20:00:11 +0000 (20:00 +0000)]
Added --with-threadlog. Use this if you want the thread table written to
the log.
Fixed CtdlThreadName(char *name) now renames thread to name if name is
set and always returns old name caller frees old name.
Added a couple of macros to change the thread names in some places for
debugging.

16 years agoAdded SASL PLAIN auth to jabber service.
Art Cancro [Tue, 27 Nov 2007 18:06:25 +0000 (18:06 +0000)]
Added SASL PLAIN auth to jabber service.

16 years agoAdded SASL PLAIN auth to jabber service.
Art Cancro [Tue, 27 Nov 2007 18:03:34 +0000 (18:03 +0000)]
Added SASL PLAIN auth to jabber service.

16 years agoChecked in my initial work on an XMPP (Jabber) service.
Art Cancro [Tue, 27 Nov 2007 17:54:19 +0000 (17:54 +0000)]
Checked in my initial work on an XMPP (Jabber) service.
This does not yet work at all.  Don't even try to use it.
I'm only checking it in so it gets backed up.

16 years agoOoops, A little buglet with SIGPIPE, my fault.
Dave West [Tue, 27 Nov 2007 14:36:30 +0000 (14:36 +0000)]
Ooops, A little buglet with SIGPIPE, my fault.

16 years agoDebug code to show thread table is now back in. Thiss will fill your log
Dave West [Tue, 27 Nov 2007 13:09:40 +0000 (13:09 +0000)]
Debug code to show thread table is now back in. Thiss will fill your log
file.
Added number of threads to INFO command
Changed calc for load averages, now it is a percentage.

16 years agoNow do garbage collection every second.
Dave West [Tue, 27 Nov 2007 01:21:13 +0000 (01:21 +0000)]
Now do garbage collection every second.
Change the way load averages are calculated.
Now calculate a load average for worker threads as well as the entire
system.
Display the load averages in the INFO command system then worker.
Remove all the extra debug info from garbage collector.

16 years agoCreate all worker threads with the name "Worker Thread"
Dave West [Tue, 27 Nov 2007 00:14:04 +0000 (00:14 +0000)]
Create all worker threads with the name "Worker Thread"

16 years agoThreads now have load averages of sorts.
Dave West [Mon, 26 Nov 2007 22:03:59 +0000 (22:03 +0000)]
Threads now have load averages of sorts.
Hopefully this will allow some threads to throttle back at times of high
load (like the indexer).

16 years agoNow we have a thread state for blocked. Only works for the select in the
Dave West [Mon, 26 Nov 2007 20:38:41 +0000 (20:38 +0000)]
Now we have a thread state for blocked. Only works for the select in the
worker thread at the moment.

16 years agoPrevent CtdlThreadCancel on garbage collector.
Dave West [Mon, 26 Nov 2007 19:43:08 +0000 (19:43 +0000)]
Prevent CtdlThreadCancel on garbage collector.

16 years agoNow the garbage collection thread is in the thread list too.
Dave West [Mon, 26 Nov 2007 19:39:52 +0000 (19:39 +0000)]
Now the garbage collection thread is in the thread list too.

16 years agoFixed bug 301. /listsub operations do not require a
Art Cancro [Mon, 26 Nov 2007 04:36:01 +0000 (04:36 +0000)]
Fixed bug 301.  /listsub operations do not require a
security nonce because they do not maintain an ongoing session
with the server.  Also cleaned this screen up visually.

16 years agoFixed the clean up of Contexts when we exit.
Dave West [Mon, 26 Nov 2007 01:20:56 +0000 (01:20 +0000)]
Fixed the clean up of Contexts when we exit.
Do we need to clean up some of the contexts pointers too?
serv_calendar.c now cleans up with a CleanupHook.

16 years agoHere it is, the new thread interface.
Dave West [Sun, 25 Nov 2007 22:15:18 +0000 (22:15 +0000)]
Here it is, the new thread interface.
The code to handle threads is in sysdep.c
This new thread interface has caused a change to the way modules are
initialised. A modules init function is now called twice. First time
threading==0, second time threading==1. threading is a parameter passed
to the init function.
You should not create a thread until your init function has been called
with threading==1. See serv_fulltext.c as an example.
All of the modules init functions have been updated for this change.
The old RegisterThread stuff has gone away.
time_to_die has gone as it was used to tell threads to exit, we now use
CtdlThreadCheckStop() instead which return non zero if the thread should
exit.
The server will exit when all threads have stopped.
CtdlThreadCreate() handles creation of threads in a safe manner.
CtdlThreadSleep() is used to do a sleep in a thread.
CtdlThreadStop() is used to stop a thread.
CtdlThreadStopAll() stops all threads and thus causes the server to
exit.
Threads are cleanup when they die by the main server process (every 10
seconds) which originally did nothing useful.
CtdlThreadGC() will force a garbage collection now.
CtdlThreadGetCount() return the number of threads in the system not just
the number of workers.
CtdlThreadSelf() returns a pointer to this threads thread structure.
CtdlThreadName() returns a strdup'd string that is the threads name, you
need to free this. It also allows you to change a threads name.
CtdlThreadCancel() does the same as pthread_cancel except it also
informs our thread system. Don't use this if you can help it.

There are a lot of debug messages at the moment, they will go away once
stability is proven.

16 years ago* now the deb-version is right. the debs should work now.
Wilfried Göesgens [Thu, 22 Nov 2007 23:43:01 +0000 (23:43 +0000)]
* now the deb-version is right. the debs should work now.

16 years agoChanged the column headers in the user list to
Art Cancro [Wed, 21 Nov 2007 19:13:13 +0000 (19:13 +0000)]
Changed the column headers in the user list to
reflect modern terminology.  Last Call is now Last Visit, Calls is now
Logins, and Posts is now Messages.

16 years agostruct CitContext no longer contains separate module-specific pointers for
Art Cancro [Wed, 21 Nov 2007 04:54:19 +0000 (04:54 +0000)]
struct CitContext no longer contains separate module-specific pointers for
things like IMAP state, SMTP state, POP3 state, managesieve state, etc.
These four modules now use a single 'service_specific_data' pointer, which
is cast to whatever data type the module is using.  This is possible because
only one is used at a time (a session cannot be POP3 and SMTP simultaneously,
for example).  As before, when a module allocates memory and places
a pointer to it in this location, the module's cleanup function
continues to be responsible for freeing it, and as before, it must not
free this pointer under any other circumstances.

Third-party modules which implement new server protocols now have a place
to store session data without modifying the server core.  Just follow one
of the existing server protocol modules as an example.

16 years agoBegun implimentation of a really good thread control interface.
Dave West [Wed, 21 Nov 2007 02:48:48 +0000 (02:48 +0000)]
Begun implimentation of a really good thread control interface.
As it turns out it impliments a lot of what eCrash does to track threads
though I didn't know it at the time. To check it out look in sysdep.c
and search on CtdlThread. That will get you close.
At the moment nothing makes use of this code.
A handy side effect is a thread safe sleep mechanism that will sleep
the current thread untill some other thread sleeps or it times out, needs a
bit more work to make it sleep any thread without waking when another
thread sleeps.
Also fixed a potential memory leak or two in the old thread code.

16 years ago* apache proxies and listsub/ don't play well.
Wilfried Göesgens [Tue, 20 Nov 2007 23:41:38 +0000 (23:41 +0000)]
* apache proxies and listsub/ don't play well.

16 years ago* purge remaining libnetfilter strings
Wilfried Göesgens [Tue, 20 Nov 2007 23:07:29 +0000 (23:07 +0000)]
* purge remaining libnetfilter strings

16 years ago* fix locale compile support.
Wilfried Göesgens [Tue, 20 Nov 2007 22:58:13 +0000 (22:58 +0000)]
* fix locale compile support.

16 years ago* search absolute for the images on the server.
Wilfried Göesgens [Tue, 20 Nov 2007 22:35:30 +0000 (22:35 +0000)]
* search absolute for the images on the server.

16 years agoSource clean up.
Dave West [Tue, 20 Nov 2007 20:03:22 +0000 (20:03 +0000)]
Source clean up.
Moved all hook code into serv_extensions.c and serv_extensions.h since
this is more logical

16 years ago* add a script that tries to migrate the systems /etc/aliases file if existant.
Wilfried Göesgens [Mon, 19 Nov 2007 22:36:39 +0000 (22:36 +0000)]
* add a script that tries to migrate the systems /etc/aliases file if existant.

16 years ago* depend to libcitadel.
Wilfried Göesgens [Mon, 19 Nov 2007 19:56:13 +0000 (19:56 +0000)]
* depend to libcitadel.

16 years ago* depend to libcitadel
Wilfried Göesgens [Mon, 19 Nov 2007 19:52:48 +0000 (19:52 +0000)]
* depend to libcitadel

16 years agoooops... ascmonths[] was in use in imap_tools.c ... fixed
Art Cancro [Mon, 19 Nov 2007 15:52:57 +0000 (15:52 +0000)]
ooops... ascmonths[] was in use in imap_tools.c ... fixed

16 years agoRemoved the 'ascmonths' global declaration from libCitadel.
Art Cancro [Mon, 19 Nov 2007 04:36:04 +0000 (04:36 +0000)]
Removed the 'ascmonths' global declaration from libCitadel.
This should clean up the build on Mac OS.

16 years agoRemoved the 'ascmonths' global declaration from libCitadel.
Art Cancro [Mon, 19 Nov 2007 04:34:42 +0000 (04:34 +0000)]
Removed the 'ascmonths' global declaration from libCitadel.
This should clean up the build on Mac OS.

16 years ago* create .pc file, seems to be a good thing to do.
Wilfried Göesgens [Sun, 18 Nov 2007 23:53:07 +0000 (23:53 +0000)]
* create .pc file, seems to be a good thing to do.
* debian packaging added.

16 years agoAdd 'datarootdir' variable to Makefile.in
Art Cancro [Sun, 18 Nov 2007 05:10:58 +0000 (05:10 +0000)]
Add 'datarootdir' variable to Makefile.in
We don't use it, but it shuts up the autoconf warning.

16 years agoCommented out some lprintf() calls that appear in libcitadel.
Art Cancro [Fri, 16 Nov 2007 17:27:04 +0000 (17:27 +0000)]
Commented out some lprintf() calls that appear in libcitadel.
It is inappropriate to have them here because the caller
may not have an lprintf() function.

16 years ago(no commit message)
Art Cancro [Fri, 16 Nov 2007 17:23:41 +0000 (17:23 +0000)]

16 years agoAdded COPYING and README.txt to libcitadel
Art Cancro [Fri, 16 Nov 2007 17:20:16 +0000 (17:20 +0000)]
Added COPYING and README.txt to libcitadel

16 years agoMove vcard.c into libcitadel.
Art Cancro [Fri, 16 Nov 2007 17:15:22 +0000 (17:15 +0000)]
Move vcard.c into libcitadel.

16 years agoWhen opening the Berkeley DB environment, step
Art Cancro [Fri, 16 Nov 2007 16:09:22 +0000 (16:09 +0000)]
When opening the Berkeley DB environment, step
through three different dbenv->open() attempts.  The first opens the environment
normally.  If that fails with DB_RUNRECOVERY, it is attempted again with the
DB_RECOVER flag set.  If that fails with DB_RUNRECOVERY, it is attempted once
again with DB_RECOVER_FATAL.  If that fails, the program exits.

16 years agoHUGE PATCH. This moves all of mime_parser.c and all
Art Cancro [Fri, 16 Nov 2007 05:52:26 +0000 (05:52 +0000)]
HUGE PATCH.  This moves all of mime_parser.c and all
of tools.c into libcitadel.  It compiles cleanly, and seems to work, but I'm sure
I broke *something* so let's give this lots of testing.

16 years ago* tiny tool for message retrieval, first draft.
Wilfried Göesgens [Thu, 15 Nov 2007 23:27:12 +0000 (23:27 +0000)]
* tiny tool for message retrieval, first draft.

16 years ago* this is 7.24
Wilfried Göesgens [Thu, 15 Nov 2007 23:08:48 +0000 (23:08 +0000)]
* this is 7.24