Commit graph

727 commits

Author SHA1 Message Date
Dave Wetzel
bb368b6be9 * read POST data before contacting the app
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26165 72102866-910b-0410-8b05-ffd578937521
2008-03-01 19:47:30 +00:00
Dave Wetzel
c475b7d28b * fixed terminate
* reformated
* removed some logs


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26155 72102866-910b-0410-8b05-ffd578937521
2008-02-27 21:45:01 +00:00
Dave Wetzel
a3a6cc33b4 pass more info to the application
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26094 72102866-910b-0410-8b05-ffd578937521
2008-02-18 21:42:13 +00:00
David Ayers
157908c52c * GSWeb.framework/GSWUtils.m (boolValueFor,boolValueWithDefaultFor): Rely
on [NSString-boolValue] as it handle NO and digits more correctly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26057 72102866-910b-0410-8b05-ffd578937521
2008-02-13 00:50:10 +00:00
Dave Wetzel
f53759946a fixed SERVER_PORT
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26013 72102866-910b-0410-8b05-ffd578937521
2008-01-31 00:14:23 +00:00
Dave Wetzel
1157f2c2f2 send SERVER_PORT to App
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26012 72102866-910b-0410-8b05-ffd578937521
2008-01-30 23:25:35 +00:00
Dave Wetzel
2b0793eb67 * should be faster now. some cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25692 72102866-910b-0410-8b05-ffd578937521
2007-12-06 21:57:17 +00:00
Dave Wetzel
0d4bc9ba9c * allow more delay
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25676 72102866-910b-0410-8b05-ffd578937521
2007-12-04 21:20:29 +00:00
Dave Wetzel
01e2e20125 * write x-webobjects-adaptor-version to the app
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25663 72102866-910b-0410-8b05-ffd578937521
2007-12-02 22:31:26 +00:00
Dave Wetzel
93ef88350c add isUsingWebServer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25658 72102866-910b-0410-8b05-ffd578937521
2007-12-02 20:28:33 +00:00
Dave Wetzel
ed063f9ccb * GSWKeyValueAssociation
added _isValueSettable
added _setValueNoValidation: inComponent:
* GSWRepetition.m
use private _setValueNoValidation: inComponent: to speed things up


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25651 72102866-910b-0410-8b05-ffd578937521
2007-11-30 21:24:24 +00:00
Dave Wetzel
1ade9620ce add _setValueNoValidation:inComponent:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25647 72102866-910b-0410-8b05-ffd578937521
2007-11-30 13:30:33 +00:00
Dave Wetzel
9e358a052c * prepare for enhancements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25636 72102866-910b-0410-8b05-ffd578937521
2007-11-29 20:30:19 +00:00
Dave Wetzel
eeaa2ba24a * only call validationFailedWithException... if execption was raised
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25625 72102866-910b-0410-8b05-ffd578937521
2007-11-28 22:22:10 +00:00
Dave Wetzel
cf8eac40f2 * small cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25624 72102866-910b-0410-8b05-ffd578937521
2007-11-28 21:13:25 +00:00
Dave Wetzel
e8b2f11ba2 * rewrote large parts of GSWDefaultAdaptor
* new GSWHTTPIO and GSWWorkerThread
* dropped GSWDefaultAdaptorThread
* some takeValue:forKey: fixes
* started to remove global inclues


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25611 72102866-910b-0410-8b05-ffd578937521
2007-11-25 16:49:37 +00:00
Dave Wetzel
250ed2c524 * strip \r off on line end before \n
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25606 72102866-910b-0410-8b05-ffd578937521
2007-11-25 10:03:55 +00:00
David Ayers
be15a70bff * GSWeb.framework/GSWApplication+Defaults.m
(TAKEVALUEFORKEY): Rely on setValue:forKey: to handle
	nil values.

	* GSWExtensions.framework/GSWKeyValueConditional.h
	* GSWExtensions.framework/GSWKeyValueConditional.api
	Convert from DOS to UNIX line feeds.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25604 72102866-910b-0410-8b05-ffd578937521
2007-11-24 10:13:22 +00:00
Dave Wetzel
542867ab45 minor comments. will clean this stuff later :)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25532 72102866-910b-0410-8b05-ffd578937521
2007-10-23 21:14:15 +00:00
Dave Wetzel
ce30e17469 make file uploads work in firefox without proxy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25288 72102866-910b-0410-8b05-ffd578937521
2007-06-22 23:48:25 +00:00
Dave Wetzel
1e6833238c 2007-06-22 David Wetzel <dave@turbocat.de>
* GSWAdaptors/Apache2/mod_gsw.c
    * GSWSWeb.framework/GSWComponentRequestHandler.m
    * GSWeb.framework/GSWDefaultAdaptorThread.m

    Added support for POST requests from browsers without content-length header.
    (firefox does this without proxy)



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25287 72102866-910b-0410-8b05-ffd578937521
2007-06-22 16:12:16 +00:00
Dave Wetzel
65765a9412 made Application name clickable on status page
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25162 72102866-910b-0410-8b05-ffd578937521
2007-05-15 11:49:06 +00:00
Dave Wetzel
a94bd64e42 fixed mixed up "_item" with "_selection"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25141 72102866-910b-0410-8b05-ffd578937521
2007-05-11 10:05:46 +00:00
Dave Wetzel
a187fb6a58 fixed "if" statement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25132 72102866-910b-0410-8b05-ffd578937521
2007-05-10 12:01:46 +00:00
Dave Wetzel
2b370da0c7 less debig output
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25036 72102866-910b-0410-8b05-ffd578937521
2007-04-13 20:57:12 +00:00
Dave Wetzel
fd940ebd03 see log
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25035 72102866-910b-0410-8b05-ffd578937521
2007-04-13 20:42:37 +00:00
Dave Wetzel
43438ae198 fix double text field, update documentation allow compilation with TCSDB
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25034 72102866-910b-0410-8b05-ffd578937521
2007-04-13 20:40:45 +00:00
Dave Wetzel
bf3f713b2b added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25032 72102866-910b-0410-8b05-ffd578937521
2007-04-13 20:14:21 +00:00
Dave Wetzel
c1aab698ee added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25030 72102866-910b-0410-8b05-ffd578937521
2007-04-13 18:46:41 +00:00
Dave Wetzel
d66a2e892c see ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25029 72102866-910b-0410-8b05-ffd578937521
2007-04-13 18:40:33 +00:00
Dave Wetzel
e958dee59c GSWExceptionPage without images, the design is still bad.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25028 72102866-910b-0410-8b05-ffd578937521
2007-04-13 18:32:57 +00:00
Dave Wetzel
d92957ccb6 moved files from my branch. I hope it will not break too much :-)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@25027 72102866-910b-0410-8b05-ffd578937521
2007-04-13 18:32:02 +00:00
Dave Wetzel
47ace186dd added first version of native apache 2 module
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24977 72102866-910b-0410-8b05-ffd578937521
2007-04-10 17:51:22 +00:00
David Ayers
c751ea3e90 * GSWeb.framework/GSWApplication.m (GSWApplicationMainReal):
Remove dependency on GNUSTEP_SYSTEM_ROOT and search all domains
	in precedence for frameworks to load.

	* Doc/howto.gsdoc: Replace reference to GNUSTEP_SYSTEM_ROOT with
	new installation location.  Also remove refernece to obsolete debug extension.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24641 72102866-910b-0410-8b05-ffd578937521
2007-02-18 11:19:58 +00:00
Nicola Pero
1d83fd7875 Updated configure for gnustep-make v2, plus added handy auto-config rule to makefile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24625 72102866-910b-0410-8b05-ffd578937521
2007-02-18 02:13:27 +00:00
Nicola Pero
916e3f496b Added comment about danger of using GNUSTEP_SYSTEM_ROOT env variable to locate resources
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24624 72102866-910b-0410-8b05-ffd578937521
2007-02-18 02:12:45 +00:00
Dave Wetzel
5585d73061 Changed logging to include the file name and line number.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24220 72102866-910b-0410-8b05-ffd578937521
2006-12-19 22:43:49 +00:00
Dave Wetzel
edfd34c489 Changed logging to include the file name and line number.
A logfile with "[debug] ../common/GSWUtil.c(165)" does not make much sense :-)
- GSWLog(GSW_WARNING,p_pLogServerData,
+ GSWLog(__FILE__, __LINE__, GSW_WARNING,p_pLogServerData,



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24219 72102866-910b-0410-8b05-ffd578937521
2006-12-19 22:41:28 +00:00
Dave Wetzel
a2467f5864 GSWAdaptors/common/GSWLoadBalancing.c: small cosmetic changes in spacing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24215 72102866-910b-0410-8b05-ffd578937521
2006-12-19 12:19:09 +00:00
Dave Wetzel
126006dd58 small cosmetic changes in spacing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24214 72102866-910b-0410-8b05-ffd578937521
2006-12-19 12:16:57 +00:00
David Ayers
2f2a13fc47 * GSWAdaptors/Apache/mod_gsweb.c: Add defines to support Apache 2.2.
* GSWAdaptors/common/GSWLoadBalancing.c
	(GSWLoadBalancing_FindInstance): Remove unsused variable.
	* GSWAdaptors/common/GSWStats.c (GSWStats_formatStats): Ditto.
	* GSWAdaptors/common/GSWURLUtil.c (GSWParseURL): Ditto.
	* GSWAdaptors/common/GSWHTTPResponse.c: Include netdb.h.
	* GSWAdaptors/common/GSWApp.c: Include time.h.
	(GSWAppInfo_MakeDictKeyName): Add parentheses to avoid compiler
	warning.
	* GSWAdaptors/common/GSWAppRequest.c
	(GSWAppRequest_SendAppRequestToApp): Add missing CONST declaration.
	* GSWAdaptors/common/GSWAppConnectSocket.c: Include unistd.h
	* GSWAdaptors/common/GSWConfig.c: Ditto.
	* GSWAdaptors/common/GSWConfig.h (g_pAppDict, config_mtime):
	Remove unused declarations.
	(GSWConfig_LoadConfiguration): Add missing declaration.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24201 72102866-910b-0410-8b05-ffd578937521
2006-12-12 13:52:36 +00:00
Nicola Pero
f62af1ca72 Uncommented some lines that I unwillingly commented out in doing the last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24142 72102866-910b-0410-8b05-ffd578937521
2006-11-21 12:59:35 +00:00
Nicola Pero
da3ada8346 Use GNUSTEP_INSTALLATION_DOMAIN and DESTDIR
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@24097 72102866-910b-0410-8b05-ffd578937521
2006-11-15 17:19:55 +00:00
Richard Frith-MacDonald
36cdef1fba correct illegal use of private internal base library api
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@23793 72102866-910b-0410-8b05-ffd578937521
2006-10-09 08:58:37 +00:00
David Ayers
64434f87cc * GSWeb.framework/GSWDefaultAdaptorThread.m
(readRequestReturnedRequestLine:returnedHeaders:returnedData:):
	Remove superflous sleep.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@23762 72102866-910b-0410-8b05-ffd578937521
2006-10-04 21:49:02 +00:00
David Ayers
d8734dfc21 * Testing/DynamicElements/FileUpload1Page.gswc/FileUpload1Page.gswd
* Testing/DynamicElements/FileUpload1Page.gswc/FileUpload1Page.html
	* Testing/DynamicElements/FileUpload1Page.h
	* Testing/DynamicElements/FileUpload1Page.m: New tests.
	
	* Testing/DynamicElements/Resources/Info-DynamicElements.plist
	* Testing/DynamicElements/GNUmakefile:
	Add FileUpload tests.  Do not install tests in GNUSTEP_SYSTEM_ROOT.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@23761 72102866-910b-0410-8b05-ffd578937521
2006-10-04 21:07:40 +00:00
David Ayers
e318270cb4 * Version: Update to 1.3.0
* config.mak.in: Update to use new GDL2 native library names.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@23520 72102866-910b-0410-8b05-ffd578937521
2006-09-15 10:54:16 +00:00
David Ayers
e3f1372d29 * GSWeb.framework/GSWAction.m (-[initWithRequest:]): Retain
context.
	* GSWeb.framework/GSWActionRequestHandler.m
	(-[getActionInstanceOfClass:withRequest:): Autorelease action.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@22368 72102866-910b-0410-8b05-ffd578937521
2006-01-26 20:42:20 +00:00
Dave Wetzel
16857d52e5 see log
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@22295 72102866-910b-0410-8b05-ffd578937521
2006-01-11 11:36:04 +00:00
Dave Wetzel
db77ed552d Removed multiple categories per file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@22294 72102866-910b-0410-8b05-ffd578937521
2006-01-11 11:33:46 +00:00