as
modules/wiki/serv_wiki.c: In function 'wiki_rev_callback':
modules/wiki/serv_wiki.c:447: warning: cast from pointer to integer of different size
modules/wiki/serv_wiki.c:447: warning: cast from pointer to integer of different size
points out, this wasn't 64 bit clean.
* rewrite memfmout() so it doesn't split overlong lines; It now will try to output everything till the last blank, and reattempt with the next line; if that doesn't work the overlong string is outputt'ed
Art Cancro [Fri, 1 Jan 2010 07:05:49 +0000 (07:05 +0000)]
* Updated the citserver and webcit initialization banners to output a copyright date whose range now ends in 2010. Everyone please remember to update the copyright banner on each individual file if you're the first one to touch that file in 2010.
* By Mcbrittmat:
* add the room extraction mechanisms to groupdav_delete as to the other rooms
* make it actualy send the request answer with end_boost
Art Cancro [Wed, 30 Dec 2009 17:39:56 +0000 (17:39 +0000)]
* Moved begin_ajax_response() to bbsview_PrintViewHeader() where it belongs. This fixes the screen corruption that was happening when a 'no more messages' condition is reached.
* make the template loader recursive; now t/ can contain subdirectories
* create the template key from the directory relative to t/ with '/' seperated by _ :
* t/knrooms/rooms.html is represented as knrooms_rooms so it would be equal to t/knrooms_rooms.html
* have an optional dbg/ directory next to t; this will be used for creating special templates for debugging / testing
* apply R8157 from the dav-rework branch:
* make the template loader recursive; now t/ can contain subdirectories
* create the template key from the directory relative to t/ with '/' seperated by _ :
* t/knrooms/rooms.html is represented as knrooms_rooms so it would be equal to t/knrooms_rooms.html
* have an optional dbg/ directory next to t; this will be used for creating special templates for debugging / testing
* fix StrBufNum_tokens
* add some more tests for the tokenizer
* add some tests to check StrBufCutRight, StrBufCutLeft, StrBufCutAt; Make them NULL aware
* by matt:
* add RA-Flags token
* use RA flags to detect whether a room has new messages or not in the room treeview; this was using QRFlags by mistake
Dave West [Sat, 12 Dec 2009 00:41:00 +0000 (00:41 +0000)]
threads are using signals and the GC code is #ifdef if available.
This comit confuses me since I thought it was already in.
If there are problems back it out imediately.
* use different counters for the hash payloads used and hash keys used
* that way we can reduce the keys on deletion and leave the member array indices in place
* the member array might be re-organized on increase
* make the iconbar css a template
* use the #define logic for the iconbar items, first use for defines.
* thanks the_mgt for %% detection ;-)
wc_session changed, run bootstrap and make clean
Dave West [Thu, 3 Dec 2009 20:00:03 +0000 (20:00 +0000)]
For peer review.
Added two new hash manipulation functions.
int SetHashPosFromKey(HashList *Hash, const char *HKey, long HKLen, HashPos *At);
int DeleteEntryFromHash(HashList *Hash, HashPos *At);
First one searches for the Key and updates the HashPos to point at it.
Second one deletes an entry from the hash, entry is pointed to by HashPos
Art Cancro [Fri, 20 Nov 2009 04:12:24 +0000 (04:12 +0000)]
* Adjusted the 'caltoday' CSS to make it a color that doesn't render the text unreadable. Also fixed a stylesheet bug that put today's date number in the middle of the box instead of on top.
Art Cancro [Tue, 17 Nov 2009 17:20:49 +0000 (17:20 +0000)]
* If patch fails, send rejects to /dev/null instead of cluttering /tmp with them.
* Report pclose() failures in serv_wiki.c because they probably indicate that a diff or patch command failed.
Dave West [Mon, 16 Nov 2009 23:08:23 +0000 (23:08 +0000)]
configure will now detect the Boehm-Demers-Weiser garbage collection library
We don't actually use it yet but we will when I add the libsee javascript
engine that recomends it.
We will probably need to add the Boehm-Demers-Weiser library to easyinstall
since it seems only debian based distros have it as a package.
Art Cancro [Sun, 15 Nov 2009 04:41:43 +0000 (04:41 +0000)]
* Added a new category 'fallback smart host'. These are smart hosts that are used only when direct delivery fails. It's just the thing for those sites that have a smart host available but prefer not to use it.
Art Cancro [Sat, 14 Nov 2009 05:16:59 +0000 (05:16 +0000)]
* Switched the SMTP Client back to a simple timer-event hook with a static variable lock. I couldn't figure out why davew's locking system didn't work. The code looks solid, but for some reason, after the first time it hits that 'already running' thread, once that first thread exits it never starts again.
Art Cancro [Fri, 13 Nov 2009 21:33:16 +0000 (21:33 +0000)]
* Trying to figure out why the SMTP Send queue is stuck on Uncensored. I corrected one edge case where it was possible for the thread to exit without unlocking, but I don't think we were hitting that case.
Art Cancro [Fri, 13 Nov 2009 04:12:25 +0000 (04:12 +0000)]
* Renamed the 'wikipage' variable to 'page' in the enter message loop to make it identical to its corresponding variable in the read message loop. This allows the page name to be displayed in the room banner during editing.
Art Cancro [Wed, 11 Nov 2009 17:58:35 +0000 (17:58 +0000)]
* Fixed a bug that was causing the initial visit to a Wiki room to fetch the page list instead of the home page.
* Wiki page lists, including search results, are now lists of links to those pages.