Art Cancro [Wed, 9 Sep 2009 03:58:12 +0000 (03:58 +0000)]
* For ctdlsetseen_answered we truncate the firstirst token and then stop; for ctdlsetseen_seen we truncate, process, then truncate again.
* Also reinstate the 'w' variable and use it to avoid writing to disk if we didn't change anything.
* add more NextToken list-tests
* make pStart ~NULL if we finished evaluating the buffer; This way we can clearly differentiate between "not started" and "finished".
Art Cancro [Fri, 4 Sep 2009 21:43:24 +0000 (21:43 +0000)]
* Cleaned up some compiler warnings.
* msgbase.c : look for the string NOTE ZERO-LENGTH TOKENS to find a place where StrBufExtract_NextToken() is supplying an infinite number of zero-length tokens at the end of the string, which locks up the caller.
* fix the not yet before used StrBufRemove_token()
* have a clear EndOfBuffer indicator in StrBufExtract_NextToken so we can do while(haveanothertoken)
* add StrBufHaveNextToken() to have a way to find out the end in case of using the integer versions
Art Cancro [Thu, 3 Sep 2009 15:25:18 +0000 (15:25 +0000)]
* Move SMTP queue view JavaScript to wclib.js
* Initial load of SMTP queue is now done with an ajax refresh, so if the queue is large the page displays with a throbber and then loads
* add splitted boxheader templates for ez use in flat templates
* add custom states to the groupchange detection API
* create sorters for floors & rooms
* add templates to replace knrooms boxed version
* move marchlist into its own file
* remove spaces from makefile; s.b. complained about this
* change the new iconbar room treeview from dynamic to static structures; this saves computing power and makes sorting / filtering much cheaper than having to search through a list for structure members.
* move room related stuff to its own header.
* cache floors in the session, thoy don't change in such a high frequency.
* add logging if auth-basic session connecting fails with weird conditions
* be more picky about what sending with hprintf and wprintf in some sluggish errormessages
* add missing begin_bursts()
* add possibility to specify SSL credentials for self-signet certificates so one can have several dev-boxes without firefox and friends getting paranoid.
Art Cancro [Wed, 5 Aug 2009 17:03:09 +0000 (17:03 +0000)]
* When a remote network node fails to authenticate, either because the node name is unknown or because the shared secret is incorrect, the message logged to both syslog and the Aide room now includes the host name and IP address from which the connection originated.
* fix bug in locale declaration array (missing ,)
* remove define with number of available langs and run till the empty element shows up; people tend to mess this up on adding new locales
* move all gettext related initialization stuff into its module startup (rerun bootstrap..)
Art Cancro [Wed, 29 Jul 2009 03:51:47 +0000 (03:51 +0000)]
* Eliminated the 'gotonext' problem with the bbs view drop-down selector by changing it to 'readgt' and keeping track of the range of messages which was returned from the previous operation. I'm assuming that this 'longvector' stuff is a set of general purpose registers; if that's not the case then I broke something.
Matt [Sat, 25 Jul 2009 02:06:34 +0000 (02:06 +0000)]
Comment out call to StrBufCutLeft, this was cutting the first character off the roomname causing groupdav delete to goto 'alendar' instead of 'Calendar' first
Art Cancro [Fri, 24 Jul 2009 20:51:52 +0000 (20:51 +0000)]
* Added new readloop command 'readgt' which will produce messages with numbers greater than the value supplied in the 'gt' variable. This of course maps to the 'MSGS GT|xxx' server command. For my next trick, I will modify the msgomatic selector to use this command, but first, I must find a way to export to the templating engine the value of the first msgnum we retrieved during the *current* operation.
* check more carefully the target buf-size, since we're converting to utf-8 on char may become 6
* if we've got a non encoded header, decrease len by it.
Art Cancro [Thu, 23 Jul 2009 16:06:24 +0000 (16:06 +0000)]
* serv_migrate.c: message encoding buffer is now static in order to avoid endlessly abusing malloc/free, and hopefully reduce the chances of heap corruption.