Commit Graph

308 Commits

Author SHA1 Message Date
alexhudson 29f4eeec4e Merge the store-sqlite branch back onto trunk 2008-09-04 15:22:34 +00:00
pfelt 38f62420e8 -- fixed the thread handling to use BongoAgentListenWithClientPool()
--  this fixes the bug where messages get stuck in the queue, threads get lost, and tcp socket usage grows
2008-08-02 15:52:39 +00:00
pfelt 092a50fb56 -- one should not memset a struct before checking that the malloc didn't fail
-- set client authorized to true so that queue agents can run all the commands they need to
2008-08-02 02:25:19 +00:00
pfelt f60f7ba979 -- use connection pools to connect to queue agents. 2008-07-27 04:24:37 +00:00
jonnylamb 4081646700 Add $(top_srcdir) to many Bongo.rules files to allow building outside of the root directory. 2008-06-23 11:52:26 +00:00
alexhudson 51e1c068b2 Minor log message change s/queue/store/, since that's what we're trying to connect to 2008-05-05 15:05:18 +00:00
alexhudson 88ff78730e Make sundial use the common auth 2008-05-04 17:59:43 +00:00
alexhudson e0064cc435 Start of new common auth handler 2008-05-04 17:38:18 +00:00
alexhudson b381044480 Bugfix locking mechanism on 32bit platforms. 2008-05-04 11:49:59 +00:00
pfelt db73be2e9b -- minor changes fixing a race issue in start busy and not resetting the head of the list on delete which caused major issues. 2008-04-14 03:50:33 +00:00
alexhudson 8f8392e79c Add ability to pop diagrams in hither and thither. 2008-04-12 15:58:52 +00:00
alexhudson b4a2c683aa Update doxygen setup and fix some of the bad bits of documentation. 2008-04-12 13:40:18 +00:00
alexhudson 743d39e8c9 Fix content-type sniffing so it doesn't accidentally mangle it 2008-04-08 18:11:14 +00:00
alexhudson bef9734a29 Parse content types better so we don't throw false errors 2008-04-07 09:37:38 +00:00
alexhudson 7428cb8225 Fix a sigabrt in the Lucene index, and stop trying to partially update a document - for some reason, this just doesn't work :( 2008-04-05 13:05:09 +00:00
alexhudson 160871308e One-liner to fix segfault in bongo-config 2008-04-04 17:20:16 +00:00
alexhudson 092cf26f27 Update po2json to attempt to handle unicode correctly. 2008-04-02 15:17:00 +00:00
pfelt 2e9fab5085 -- BongoSListDelete() and BongoListDelete() now conform better to the reset of the list api
-- added back code from alex on the progress stuff due to oddness in the flushing and messaging.
-- changed the progress stuff to use the new *ListDelete() calls
2008-03-29 23:09:15 +00:00
pfelt 362bdba3f1 -- added list delete functions 2008-03-18 02:42:05 +00:00
pfelt d8f4a2c9c6 -- initial attempt at a new update system for long processes. doesn't quite work right and it is missing sections like cleanup. 2008-03-16 04:55:32 +00:00
pfelt 4778f84e82 -- minor pointer fix. this should fix buffer overflows. 2008-03-11 04:04:07 +00:00
alexhudson 37fbbedcd1 Obvious bug in my new connio function - advance the read pointer when we consume some data... 2008-03-08 21:14:15 +00:00
pfelt 1733d8f8d5 -- we should load the global config if we are going to use it... 2008-03-08 20:20:18 +00:00
pfelt edefcbf9a0 -- added copyright information
-- ehlo/helo now uses the global hostname instead of FIXME
-- changed the agent name
-- minor documentation fix
2008-03-08 18:51:02 +00:00
alexhudson e8702938eb More acceptable speed for FLAG store command. 2008-03-08 17:18:58 +00:00
alexhudson d387763339 Allow the progress system to flush the client socket occasionally, so IMAP clients get more regular reports on work done. Tbird should now be stable for large amounts of mail. 2008-03-08 14:24:09 +00:00
alexhudson cabf768111 Rework my copy progress patch to be more general, and make STORE/UID STORE use it too - this makes tbird nice and stable for me now. Slow, but stable :D 2008-03-08 12:45:39 +00:00
pfelt 047373e8a4 -- set smtpc to start on a new install 2008-03-08 00:09:35 +00:00
alexhudson d40daa006d Separate the parsing and indexing steps of documents in the store. 2008-03-07 17:59:02 +00:00
alexhudson 5742d386c5 Update header file (completes change in r689) 2008-03-07 16:50:30 +00:00
alexhudson e5c3d6ed42 Change API of document field boost function slightly; this looks more correct and maybe will fix some build problems on certain arches? 2008-03-07 16:20:46 +00:00
alexhudson e40ca5fe4f Make copying large numbers of mail via IMAP a bit more stable. 2008-03-07 15:43:40 +00:00
alexhudson fc4adae8ad Remove all use of the old locking system, replace with new 'fair' locks. 2008-03-07 11:28:36 +00:00
alexhudson 70feddb1a9 Remove locking from cookie code. Opens bug #11214 for MsgLib. 2008-03-07 10:09:45 +00:00
alexhudson e5854ef07e Add function to downgrade exclusive to shared locks 2008-03-07 08:54:36 +00:00
alexhudson 19024efb29 Move the WATCH infrastructure into a separate file. 2008-03-07 08:54:18 +00:00
alexhudson ec971aa8cc Make the SQLite lock easier to achieve. 2008-03-06 22:51:28 +00:00
alexhudson c043fd9f2d Replace some old locks with new shiny locks. 2008-03-06 18:13:51 +00:00
alexhudson 2373a97424 Remove a stray printf() and improve a couple of comments 2008-03-06 16:40:51 +00:00
alexhudson 29a83a4e28 First cut at a "fair" locking system within the store. Locks on store collections are now gained in order of request. 2008-03-06 14:51:35 +00:00
alexhudson 59c79d7b83 Make collection locks slightly clearer. 2008-03-05 21:06:13 +00:00
alexhudson 5777226c63 Fix up my misunderstanding of 'remaining' bytes actually being available buffer space... 2008-03-05 12:05:41 +00:00
alexhudson cc24c5cd3a Rewrite ConnReadToAllocatedBuffer() so that it's actually bug-free and works. Usual story; fewer lines of code, more comments, fewer bugs. Hooray. 2008-03-04 14:35:05 +00:00
alexhudson 9597287f70 Partial work-around for IMAP bug #11199 2008-03-03 23:41:03 +00:00
alexhudson 33381a7a69 Update the smtp build rules 2008-03-03 07:52:26 +00:00
pfelt 9844ffc894 -- the new smtpc agent. 2008-03-02 21:35:22 +00:00
jonnylamb ed453ef287 Potential fix for iCal 3.0. See comments regarding undocumented GET behaviour for a word on what's going on. 2008-02-17 16:13:21 +00:00
alexhudson a2da45bb5c Small patches to make backup work and work-around bug #11066 2008-02-16 13:30:17 +00:00
alexhudson 651fc3c33b Update the copyright on po2json to reflect reality ;) 2008-02-02 18:10:47 +00:00
jonnylamb 789cf6f428 Cleaned up the po2json script. This is now more compact and fixes the ImportError that some experience. 2008-02-02 15:50:30 +00:00