Re: Talks about HTTP server (Was: Re: Function move request.)

2013-05-18 Thread Chan Maxthon
Well the work on this server is progressing fast. I finished its HTTP protocol stack, using a library called GCDAsyncSocket (a public domain software) but sadly it depends on Apple's Security.framework and CFSocket. Can any of your guys go check it out a little and maybe port it to GNUstep

Re: Talks about HTTP server (Was: Re: Function move request.)

2013-05-18 Thread David Chisnall
On 18 May 2013, at 18:06, Chan Maxthon xcvi...@me.com wrote: Well the work on this server is progressing fast. I finished its HTTP protocol stack, using a library called GCDAsyncSocket (a public domain software) but sadly it depends on Apple's Security.framework and CFSocket. Can any of

Re: Talks about HTTP server (Was: Re: Function move request.)

2013-05-17 Thread Chan Maxthon
This have a clearly different aim. Despite starting this server is as simple as a call -[CGIServer start] but it is intended to be used as independent server. 发自我的 iPad 在 2013-5-17,13:52,Richard Frith-Macdonald richardfrithmacdon...@gmail.com 写道: On 16 May 2013, at 20:50, Maxthon Chan

Re: Talks about HTTP server (Was: Re: Function move request.)

2013-05-17 Thread Ivan Vučica
I recently tried GNUstepWeb and it worked for me on Debian. I think I used everything from trunk. Regarding WebUIKit, don't forget about Objective-J language and Cappuccino framework. You convert xibs into cibs and load them directly. I'm writing a university project in that plus Django; while

Function move request.

2013-05-16 Thread Maxthon Chan
I have some portability issues when I mix ARC with some occasional manual retains (especially when hand writing encoders and decoders). The offending function is CFRetain and CFRelease, which is, as documented by Apple, recommended as replacements of (forbidden by ARC) -[NSObject retain] and

Re: Function move request.

2013-05-16 Thread Luboš Doležel
CFRetain/CFRelease are specific to CF, how would you implement its logic in Base? In my opinion, you should link against GNUstep's CF like you do on OS X. And if it for some reason doesn't work, then we should fix that instead. Luboš On 05/16/2013 03:53 PM, Maxthon Chan wrote: I have some

Re: Function move request.

2013-05-16 Thread Luboš Doležel
On 05/16/2013 08:26 PM, Maxthon Chan wrote: Well Apple documented CFRetain and CFRelease as replacements of retain/release methods on NSObject which is prohibited with ARC, and from an incident I discovered that: 1) objc_retain and objc_release does exist on Apple's libobjc2, but are private

Talks about HTTP server (Was: Re: Function move request.)

2013-05-16 Thread Maxthon Chan
Well it turned out that my darned project is forced into using CoreFoundation (I need CFRunLoop to manage some BSD sockets' lifetime, as it is a portable HTTP server written in Objective-C.) If I recalled right, the first HTTP stack is written in Objective-C, on a NeXT box. I have some web

Re: Talks about HTTP server (Was: Re: Function move request.)

2013-05-16 Thread Lars Sonchocky-Helldorf
Am 16.05.2013 um 21:50 schrieb Maxthon Chan: Well it turned out that my darned project is forced into using CoreFoundation (I need CFRunLoop to manage some BSD sockets' lifetime, as it is a portable HTTP server written in Objective-C.) If I recalled right, the first HTTP stack is written

Re: Talks about HTTP server (Was: Re: Function move request.)

2013-05-16 Thread Chan Maxthon
Well that thing never compiled for me, using trunk libobjc2 and trunk llvm/clang on my server, let alone I have portability in mind (Written under OS X, it is required to build on Linux as well, using trunk libobjc2, trunk llvm/clang and full Objective-C ARC.). And the reason I spawned this

Re: [Etoile-discuss] Talks about HTTP server (Was: Re: Function move request.)

2013-05-16 Thread Steve Wart
Older web frameworks are based on a different model of HTML generation than you see in modern web applications, which make heavy use of XMLHttpRequest and JavaScript on the client to dynamically construct the DOM, rather than generating it on the server. I've been playing a bit with Node.js and