[Citadel Development] Re: [SCM] citadel.org branch, master, updated. 98077cf98a82f673c2bc0486e32187c30c267eb4

2011-04-06 Thread dothebart


 

Mi Apr 06 2011 20:20:25 EDT von   IGnatius T Foobar @ Uncensored  Betreff: Re: [SCM] citadel.org branch, master, updated. 98077cf98a82f673c2bc0486e32187c30c267eb4

For a post-8.00 design, would it make sense to use libev as the housekeeping loop?  Then it could take care of SMTP delivery along with everything else the server needs to do in the background, and we can dedicate a thread to it (either the supervisor thread or a different one) -- and then the ordinary worker threads can be used for interactive sessions.


well, since you mustn't do anything using realtime (bdb access) inside of the eventloop, that 'd be complicated.
I'd primarily see it for the following things:
- clients (smtp, IGNET, http notify, RSS, Spamassasin)
- maybe also as I/O layer for usual server services; it would have to hand off the processing to worker threads once its shure everything needed is read.The workers write into an outbuffer, which libev would again load off to the client
as for webcit, it migh make sense to start with a similar aproach for the http-frontend; this would enable us to migrate sslg to a long polling mechanism next to without cost. But, since the grammer of the citserver replies are pretty clear it would be easy to have the citserver traffic handed off to libev again; just recreating the stack for the application might be a little more different ;-)




[Citadel Development] [SCM] citadel.org branch, master, updated. 556df066d8d8dbcd2d76143e5649bc9179fd393e

2011-04-06 Thread ajc

Push to the project "citadel.org ": The branch, master has been updated
   via  556df066d8d8dbcd2d76143e5649bc9179fd393e (commit)
  from  ac44a86d5feffa76328bfd202e72d945dd7b181e (commit)

Those revisions listed above that are new to this repository have not appeared 
on any other notification email; so we list those revisions in full, below.
- Log -
http://code.citadel.org/cgit.cgi/git.citadel.org/commit/?id=556df066d8d8dbcd2d76143e5649bc9179fd393e
commit 556df066d8d8dbcd2d76143e5649bc9179fd393e
Author: Art Cancro 
Date:   Wed Apr 6 23:53:21 2011 -0400

Reunified the master and client socket listener loops to cut down on thread 
diversity

---

Summary of changes:
 citadel/sysdep.c   |  167 +---
 citadel/sysdep_decls.h |1 -
 citadel/threads.c  |2 -
 3 files changed, 60 insertions(+), 110 deletions(-)


hooks/post-receive
-- 
citadel.org 


[Citadel Development] [SCM] citadel.org branch, master, updated. ac44a86d5feffa76328bfd202e72d945dd7b181e

2011-04-06 Thread ajc

Push to the project "citadel.org ": The branch, master has been updated
   via  ac44a86d5feffa76328bfd202e72d945dd7b181e (commit)
  from  98077cf98a82f673c2bc0486e32187c30c267eb4 (commit)

Those revisions listed above that are new to this repository have not appeared 
on any other notification email; so we list those revisions in full, below.
- Log -
http://code.citadel.org/cgit.cgi/git.citadel.org/commit/?id=ac44a86d5feffa76328bfd202e72d945dd7b181e
commit ac44a86d5feffa76328bfd202e72d945dd7b181e
Author: Art Cancro 
Date:   Wed Apr 6 23:17:23 2011 -0400

Added GPL declaration to source files in libcitadel

---

Summary of changes:
 libcitadel/lib/hash.c  |   18 ++
 libcitadel/lib/html_to_ascii.c |2 +-
 libcitadel/lib/json.c  |   16 
 libcitadel/lib/libcitadel.c|   16 
 libcitadel/lib/mime_parser.c   |   14 +-
 libcitadel/lib/stringbuf.c |   18 ++
 libcitadel/lib/tools.c |   16 
 libcitadel/lib/vcard.c |   16 ++--
 libcitadel/lib/vnote.c |   16 ++--
 9 files changed, 126 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
citadel.org 


[Citadel Development] Re: [SCM] citadel.org branch, master, updated. 98077cf98a82f673c2bc0486e32187c30c267eb4

2011-04-06 Thread IGnatius T Foobar
  
 For a post-8.00 design, would it make sense to use libev as the housekeeping
loop?  Then it could take care of SMTP delivery along with everything else
the server needs to do in the background, and we can dedicate a thread to
it (either the supervisor thread or a different one) -- and then the ordinary
worker threads can be used for interactive sessions. 
 


[Citadel Development] [SCM] citadel.org branch, master, updated. 98077cf98a82f673c2bc0486e32187c30c267eb4

2011-04-06 Thread dothebart

Push to the project "citadel.org ": The branch, master has been updated
   via  98077cf98a82f673c2bc0486e32187c30c267eb4 (commit)
   via  e24830fa0447f60dad02b4dfd805dc1e7a223633 (commit)
  from  8dd270997a1c9628b6a3c41c92797c5cf9a99648 (commit)

Those revisions listed above that are new to this repository have not appeared 
on any other notification email; so we list those revisions in full, below.
- Log -
http://code.citadel.org/cgit.cgi/git.citadel.org/commit/?id=98077cf98a82f673c2bc0486e32187c30c267eb4
commit 98077cf98a82f673c2bc0486e32187c30c267eb4
Merge: e24830f 8dd2709
Author: Wilfried Goesgens 
Date:   Thu Apr 7 00:47:01 2011 +0200

Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

commit 8dd270997a1c9628b6a3c41c92797c5cf9a99648
Author: Art Cancro 
Date:   Wed Apr 6 15:38:27 2011 -0400

generate_uuid() now generates more or less DCE-compliant uuid's

commit 08fc79935c291a302fc14028870ecfc3340a8a57
Author: Art Cancro 
Date:   Tue Apr 5 14:28:48 2011 -0400

Reset run_queue_now back to 0 after a forced run of the SMTP queue.
Otherwise we continue to retry every message every minute, and that is bad.

commit 2063519eeba1e97c13732f061faea42556e9488b
Author: Art Cancro 
Date:   Tue Apr 5 12:39:09 2011 -0400

Remove all uses of __FUNCTION__ because it is not portable

commit 7b25397a71281e53fc9aec4cca4a63d07e2658d8
Author: Art Cancro 
Date:   Tue Apr 5 12:21:56 2011 -0400

If there is no pubdate in an rss or atom feed item, use the current 
date/time

commit 1830c555f5b30c9423ca6cfe4a63d4aade8de63c
Author: Art Cancro 
Date:   Mon Apr 4 16:02:21 2011 -0400

CtdlFillSystemContext() gone too

commit 98a542b97f87f7158d462932e71165be43e0a740
Author: Art Cancro 
Date:   Mon Apr 4 15:57:58 2011 -0400

removed CtdlClearSystemContext() entirely.

commit 842319fa33527c94e5ea7dc60e3b4942ad4c7ecc
Author: Art Cancro 
Date:   Mon Apr 4 14:39:12 2011 -0400

Removed spurious calls to CtdlClearSystemContext()

commit 98912ac6c706396686d30f9c07bd088489abdb64
Author: Art Cancro 
Date:   Mon Apr 4 12:34:19 2011 -0400

Add a warning message if serv_fulltext is getting zero length messages

http://code.citadel.org/cgit.cgi/git.citadel.org/commit/?id=e24830fa0447f60dad02b4dfd805dc1e7a223633
commit e24830fa0447f60dad02b4dfd805dc1e7a223633
Author: Wilfried Goesgens 
Date:   Thu Apr 7 00:46:34 2011 +0200

if StrBuf_ServGetln() is called in a loop, its return value has to be 
checked for error, else we might get into infinite loops.

---

Summary of changes:
 webcit/auth.c  |5 -
 webcit/blogview_renderer.c |6 +-
 webcit/groupdav_propfind.c |9 +++--
 webcit/inetconf.c  |5 -
 webcit/mainmenu.c  |3 ++-
 webcit/messages.c  |9 +++--
 webcit/preferences.c   |9 +
 webcit/pushemail.c |8 
 webcit/roomlist.c  |8 
 webcit/roomops.c   |6 --
 webcit/serv_func.c |7 ++-
 webcit/siteconfig.c|4 ++--
 webcit/tcp_sockets.c   |5 -
 webcit/useredit.c  |6 --
 webcit/webcit.c|3 ++-
 webcit/who.c   |5 -
 webcit/wiki.c  |4 ++--
 17 files changed, 70 insertions(+), 32 deletions(-)


hooks/post-receive
-- 
citadel.org 


[Citadel Development] [SCM] citadel.org branch, master, updated. 8dd270997a1c9628b6a3c41c92797c5cf9a99648

2011-04-06 Thread ajc

Push to the project "citadel.org ": The branch, master has been updated
   via  8dd270997a1c9628b6a3c41c92797c5cf9a99648 (commit)
  from  08fc79935c291a302fc14028870ecfc3340a8a57 (commit)

Those revisions listed above that are new to this repository have not appeared 
on any other notification email; so we list those revisions in full, below.
- Log -
http://code.citadel.org/cgit.cgi/git.citadel.org/commit/?id=8dd270997a1c9628b6a3c41c92797c5cf9a99648
commit 8dd270997a1c9628b6a3c41c92797c5cf9a99648
Author: Art Cancro 
Date:   Wed Apr 6 15:38:27 2011 -0400

generate_uuid() now generates more or less DCE-compliant uuid's

---

Summary of changes:
 libcitadel/lib/tools.c |   11 ---
 1 files changed, 8 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
citadel.org 


[Citadel Development] Re: [SCM] citadel.org branch, master, updated. 2063519eeba1e97c13732f061faea42556e9488b

2011-04-06 Thread IGnatius T Foobar
I'm probably the wrong person to ask.  I think everyone should be running
Linux. 
 


[Citadel Development] Re: [SCM] citadel.org branch, master, updated. 2063519eeba1e97c13732f061faea42556e9488b

2011-04-06 Thread dothebart



Mi Apr 06 2011 08:55:10 EDT von   IGnatius T Foobar @ Uncensored  Betreff: Re: [SCM] citadel.org branch, master, updated. 2063519eeba1e97c13732f061faea42556e9488b

According to what I'm reading it doesn't work on Solaris (with Sun's compiler, not gcc).


isn't that next to the age of Visual C++ and fading in relevance meanwhile?




[Citadel Development] Re: [SCM] citadel.org branch, master, updated. 2063519eeba1e97c13732f061faea42556e9488b

2011-04-06 Thread samjam

On 06/04/11 10:38, dothebart wrote:


Di Apr 05 2011 12:39:14 EDTvon "ajc" 
Betreff: [SCM] citadel.org branch, master, updated.
2063519eeba1e97c13732f061faea42556e9488b

Push to the project "citadel.org ": The branch, master has been
updated
via 2063519eeba1e97c13732f061faea42556e9488b (commit)
from 7b25397a71281e53fc9aec4cca4a63d07e2658d8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log
-

http://code.citadel.org/cgit.cgi/git.citadel.org/commit/?id=2063519eeba1e97c13732f061faea42556e9488b
commit 2063519eeba1e97c13732f061faea42556e9488b
Author: Art Cancro 
Date: Tue Apr 5 12:39:09 2011 -0400

Remove all uses of __FUNCTION__ because it is not portable

---

are you trying to achieve Visual Studio 6 compileability? I know this 
macro isn't portable, but most modern compilers offer it.


I'm pretty sure that on GCC it isn't really a macro either - certainly 
you can't paste it to other symbols, and I'm pretty sure it's left 
behind after the CPP has finished its work.


Sam


[Citadel Development] Re: [SCM] citadel.org branch, master, updated. 2063519eeba1e97c13732f061faea42556e9488b

2011-04-06 Thread IGnatius T Foobar
According to what I'm reading it doesn't work on Solaris (with Sun's compiler,
not gcc). 
 


[Citadel Development] Re: [SCM] citadel.org branch, master, updated. 2063519eeba1e97c13732f061faea42556e9488b

2011-04-06 Thread dothebart


 

Di Apr 05 2011 12:39:14 EDTvon  "ajc"  Betreff: [SCM] citadel.org branch, master, updated. 2063519eeba1e97c13732f061faea42556e9488b
Push to the project "citadel.org ": The branch, master has been updatedvia  2063519eeba1e97c13732f061faea42556e9488b (commit)from  7b25397a71281e53fc9aec4cca4a63d07e2658d8 (commit)Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.- Log -http://code.citadel.org/cgit.cgi/git.citadel.org/commit/?id=2063519eeba1e97c13732f061faea42556e9488bcommit 2063519eeba1e97c13732f061faea42556e9488bAuthor: Art Cancro Date:   Tue Apr 5 12:39:09 2011 -0400Remove all uses of __FUNCTION__ because it is not portable---

are you trying to achieve Visual Studio 6 compileability? I know this macro isn't portable, but most modern compilers offer it.