Commit graph

183 commits

Author SHA1 Message Date
David Ayers
f09ed521ce * GSWeb.framework/GSWApplication+Defaults.m
(_lockDefaultEditingContext, _setLockDefaultEditingContext)
	(_allowsCacheControlHeader, _setAllowsCacheControlHeader)
	Fix naming to conform to key value coding methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19967 72102866-910b-0410-8b05-ffd578937521
2004-09-01 21:31:35 +00:00
David Ayers
8c78b8b4df * GSWeb.framework/GSWDeclarationParser.m:
(parseDeclarationString:named:inFrameworkNamed:): Use -base's
        version of md5 methods instead of adding gscrypt dependency.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19966 72102866-910b-0410-8b05-ffd578937521
2004-09-01 17:12:33 +00:00
Manuel Guesdon
6d40d6eefb 2004-09-01 Manuel Guesdon <mguesdon@orange-concept.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19961 72102866-910b-0410-8b05-ffd578937521
2004-09-01 15:12:56 +00:00
David Ayers
e6482533ee * GSWeb.framework/GSWApplication+Defaults.m
(GSWeb_InitializeGlobalAppDefaultOptions): Shorten and make
	more readable via local LOGOPT and LOGOPT_NC macro.
	(NSUSERDEFAULTS, INIT_DFLT_OBJ, INIT_DFLT_BOOL, INIT_DFLT_INT)
	(INIT_DFLT_FLT): New macros.
	(globalAppDefaultOptions): Make static.
	(_userDefaults): New static local.
	(GSWeb_ApplicationDebugSetChange): Remove NDEBUG conditional
	compile.
	(_dflt_*, _dflt_init_*): New static variables to cache default
	values.
	(set/getDefaultValues): Use new macros and static variables.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19937 72102866-910b-0410-8b05-ffd578937521
2004-08-29 16:37:21 +00:00
David Ayers
8569f10e6c * GSWeb.framework/GNUmakefile: Add GSWApplication+Defaults.m.
* GSWeb.framework/GSWApplication.m:
        (globalAppDefaultOptions, WOStrictFlag)
        (GSWeb_ApplicationDebugSetChange,
        * GSWApplicationSetDebugSetOption)
        (GSWeb_AdjustVolatileNSArgumentDomain)
        (GSWeb_InitializeGlobalAppDefaultOptions)
        (GSWeb_InitializeDebugOptions)
        (GSWeb_DestroyGlobalAppDefaultOptions)
        ((GSWApplicationDefaults), (UserDefaults)): Move from here to...
        * GSWeb.framework/GSWApplication+Defaults.m: ... here.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19931 72102866-910b-0410-8b05-ffd578937521
2004-08-28 12:00:03 +00:00
David Ayers
24679f8730 * GSWeb.framework/GSWApplication.h
* GSWeb.framework/GSWApplication.m: Prepare split off of
        GSWApplication+Defaults.m.
        (_initAdaptorsWithUserDefaults:, _argsDictionaryWithUserDefaults:)
        (_initRegistrationDomainDefaults, _initUserDefaultsKeys)
        Move from main method list to GSWApplicationDefaults category.
        (setContextClassName:, contextClassName, setResponseClassName:)
        (responseClassName, setRequestClassName:, requestClassName)
        Move from GSWApplicationE to GSWApplicationDefaults category.
        (GSWApplicationSetDebugSetOption): Move to bottom.
        (GSWeb_ApplicationDebugSetChange): Rename from
        GSWebApplicationDebugSetChange and move to bottom.
        (GSWeb_AdjustVolatileNSArgumentDomain)
        (GSWeb_InitializeGlobalAppDefaultOptions)
        (GSWeb_InitializeDebugOptions)
        (GSWeb_DestroyGlobalAppDefaultOptions): New private functiions
        by extracting old code.
        (GSWApplicationMainReal): Use new extracted functions.  Minor
        reformatting.
        ([+dealloc]): Use new extracted functions.
        ([-createRequestWithMethod:uri:httpVersion:]) Use new name for
        GSWeb_ApplicationDebugSetChange.
        ((UserDefaults)): Move entire Category to the bottom.

        ([-lockedInitComponentBearingFrameworksFromBundleArray]):
	Comment unused variable to avoid warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19930 72102866-910b-0410-8b05-ffd578937521
2004-08-28 11:17:33 +00:00
David Ayers
7023f5b87c Correct ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19663 72102866-910b-0410-8b05-ffd578937521
2004-07-01 11:48:20 +00:00
Dave Wetzel
2f922e88fc *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19538 72102866-910b-0410-8b05-ffd578937521
2004-06-16 22:02:51 +00:00
David Ayers
c5a9ab74ec * GSWeb.framework/GSWDeclarationParser.m (-[tryParseBoolean]):
Make more robust and allow upper and lower case variants and
        single letter variants of both YES/NO and true/false.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19525 72102866-910b-0410-8b05-ffd578937521
2004-06-15 12:01:33 +00:00
David Ayers
b17ca76bb5 Fix last ChangeLog cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19524 72102866-910b-0410-8b05-ffd578937521
2004-06-15 11:07:49 +00:00
David Ayers
c7b9ac28c3 * GSWeb.framework/GSUtils.m (boolValueWithDefaultFor): Do not
reimplement defaults bool evaluation semantics differently
        from -base / Foundation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19520 72102866-910b-0410-8b05-ffd578937521
2004-06-15 10:06:41 +00:00
Dave Wetzel
7b69f0d37f mac fixes see file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19513 72102866-910b-0410-8b05-ffd578937521
2004-06-14 00:06:03 +00:00
Dave Wetzel
2b20453249 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19439 72102866-910b-0410-8b05-ffd578937521
2004-06-01 22:56:05 +00:00
David Ayers
c9da1ff0de * GSWeb.framework/GSWStatisticsStore.m
([GSWStatisticsStore _memoryUsage]): Remove usage of pidstat
        and pidstatm.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19368 72102866-910b-0410-8b05-ffd578937521
2004-05-18 09:48:42 +00:00
David Ayers
3b1ee04d74 * GSWeb.framework/GSWUtils.h/m: (struct proc_s, proc_t): Removed.
(pidstat, pidstatm, pidproccontent): Removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19367 72102866-910b-0410-8b05-ffd578937521
2004-05-18 09:45:21 +00:00
David Ayers
41c36413c4 * GSWeb.framework/GSWProcFS.h/m: Make class more portable.
Replace all system dependent types with standard types.
        Replace usage of NSDebugFLog with NSDebugMLog in methods.
        ([GSWProcFSProcInfo filledProcInfo]): Use -processIdentifier
        instead of getpid.
        ([GSWProcFSProcInfo filledProcInfoWithPID:]): Update
        types. Use standard GC macro.
        ([GSWProcFSProcInfo initFilledWithPID:]): Update types.
        ([GSWProcFSProcInfo description]): Use NSPageSize instead of
        getpagesize.  Remove obsolete casts.
        ([GSWProcFSProcInfo contentOfProcFile:]): Use standard
        NSString API to read the file.
        ([GSWProcFSProcInfo contentOfPIDFile:]): Adapt to new types
        and reformat.
        ([GSWProcFSProcInfo residentMemory]),
        ([GSWProcFSProcInfo sharedMemory]): Adapt to new types.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19366 72102866-910b-0410-8b05-ffd578937521
2004-05-18 09:11:13 +00:00
David Ayers
862767b693 Add missing ChangeLog entry of hasGSWComponents deactivation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19365 72102866-910b-0410-8b05-ffd578937521
2004-05-18 08:43:07 +00:00
David Ayers
f5a95398d3 Give proper credit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19359 72102866-910b-0410-8b05-ffd578937521
2004-05-17 06:39:30 +00:00
David Ayers
c22184bb50 * config.mak.in: Replace LIBWRAP with AUX_LIBS so that they
will be included in gsweb.make makefile fragment.
	* configure.ac: Fine tune check to test whether we need
	libnsl.
	* GSWeb.framework/gsweb.gsdoc: Remove obsolete documentation
	of libwrap realted build option.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19355 72102866-910b-0410-8b05-ffd578937521
2004-05-16 19:24:27 +00:00
David Ayers
477c429eca * GSWeb.framework/GSWAction.m,
* GSWeb.framework/GSWApplication.m,
	* GSWeb.framework/GSWDirectAction.m,
	* GSWeb.framework/GSWSession.m,
	* GSWeb.framework/GSWTemplateParser.m: Do not initialize
	va_list	with NULL.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19352 72102866-910b-0410-8b05-ffd578937521
2004-05-16 15:57:09 +00:00
David Ayers
5966661c93 * GSWeb.framework/GNUmakefile: Make GSWDefines.h a public
header.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19345 72102866-910b-0410-8b05-ffd578937521
2004-05-16 08:24:56 +00:00
Manuel Guesdon
c7e611146f 2004-05-14 Manuel Guesdon <mguesdon@orange-concept.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19322 72102866-910b-0410-8b05-ffd578937521
2004-05-14 12:14:28 +00:00
David Ayers
c2b2b88402 * GSWeb.framework/NSString+HTML.m: Include limits.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19248 72102866-910b-0410-8b05-ffd578937521
2004-05-06 14:03:34 +00:00
David Ayers
fa6af67346 * GSWeb.framework/GSWDefines.h: New file.
* GSWeb.framework/GSWeb.h: Include GSWDefines.h.

        * GSWeb.framework/GSWApplication.h: Use GSW_EXPORT instead of
        export.  Fixed some whitespace issues.
        * GSWeb.framework/GSWBaseParser.h: Ditto.
        * GSWeb.framework/GSWConstants.h: Ditto.
        * GSWeb.framework/GSWDebug.h: Ditto.
        * GSWeb.framework/GSWDefaultAdaptor.h: Ditto.
        * GSWeb.framework/GSWElement.h: Ditto.
        * GSWeb.framework/GSWHTMLAttrLexer.h: Ditto.
        * GSWeb.framework/GSWHTMLAttrParser.h: Ditto.
        * GSWeb.framework/GSWHTMLLexer.h: Ditto.
        * GSWeb.framework/GSWHTMLParser.h: Ditto.
        * GSWeb.framework/GSWPageDefLexer.h: Ditto.
        * GSWeb.framework/GSWPageDefParser.h: Ditto.
        * GSWeb.framework/GSWResourceManager.h: Ditto.
        * GSWeb.framework/GSWUtils.h: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19247 72102866-910b-0410-8b05-ffd578937521
2004-05-06 13:57:00 +00:00
David Ayers
a15ae8caa7 * GSWeb.framework/GSWSession.h/m
([GSWSession permanentPageCacheSize], [GSWSession pageCacheSize]):
        Replace uint with unsigned int.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19246 72102866-910b-0410-8b05-ffd578937521
2004-05-06 13:55:49 +00:00
David Ayers
1fe33a8239 * GSWeb.framework/GSWDefaultAdaptor.m: Whitespace update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19245 72102866-910b-0410-8b05-ffd578937521
2004-05-06 12:53:22 +00:00
David Ayers
01582f161b * GSWAdaptors/common/common.make: Whitespace update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19244 72102866-910b-0410-8b05-ffd578937521
2004-05-06 12:42:19 +00:00
David Ayers
961b0ac2e3 * INSTALL: Update prerequisites.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19243 72102866-910b-0410-8b05-ffd578937521
2004-05-06 12:37:45 +00:00
David Ayers
1262062463 * GSWExtensions.framework/GSWKeyValueConditional.m
([GSWKeyValueConditional condition]): Declare all variables at
        top of block to be able to compile with gcc 2.95.
        * GSWeb.framework/GSWBaseParser.m
        (_ParserDebugLogBuffer):Ditto.
        * GSWeb.framework/GSWDisplayGroup.m
        ([GSWDisplayGroup _deleteObjects]),
        ([GSWDisplayGroup displayBatchContainingSelectedObject]),
        ([GSWDisplayGroup setDefaultStringMatchFormat:]),
        ([GSWDisplayGroup _setUpForNewDataSource]): Ditto.
        * GSWeb.framework/GSWHTMLDynamicElement.m
        ([GSWHTMLDynamicElement
        computeActionStringWithActionClassAssociation:
        directActionNameAssociation:pathQueryDictionaryAssociation:
        otherPathQueryAssociations:inContext:]): Ditto.
        * GSWeb.framework/GSWHTMLRawParser.m
        ([GSWHTMLRawParser
        tagPropertiesForType:betweenIndex:andIndex:]),
        ([GSWHTMLRawParser parseHTML]): Ditto.
        * GSWeb.framework/GSWRequest.m
        ([GSWRequest valuesFromHeaderString:], [GSWRequest initWithString:]),
        ([GSWRequest cookies]): Ditto.
        * GSWeb.framework/GSWStatisticsStore.m
        ([GSWStatisticsStore _sessionTerminating:]): Ditto.
        * GSWeb.framework/GSWTemporaryElement.m
        ([GSWTemporaryElement _elementWithDeclaration:name:properties:
        template:languages:]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19171 72102866-910b-0410-8b05-ffd578937521
2004-04-22 12:08:29 +00:00
David Ayers
49f65e75a7 * GSWeb.framework/GSWDisplayGroup.m:
([GSWDisplayGroup init]): Set fetchesOnLoad to YES by default.
        Reported by S.J. Chun <chunsj@embian.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19157 72102866-910b-0410-8b05-ffd578937521
2004-04-20 10:29:08 +00:00
David Ayers
6094776767 * gsweb.make.in: Remove GSANTLR dependency.
* GSWExtensions.framework/Makefile.preamble: Ditto.
        * GSWExtensionsGSW.framework/Makefile.preamble: Ditto.

        * GSWeb.framework/Makefile.preamble.in: Move AUX_LIBS to the
        bottom so that the linker on Darwin can deal with the static
        library.

        * GSWExtensions.framework/GSWKeyValueConditional.h: Remove
        include currently redundant for the include mechanism and
        causing warnings to gswnames=wo.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19106 72102866-910b-0410-8b05-ffd578937521
2004-04-14 17:11:56 +00:00
Manuel Guesdon
8706ef4cdd 2004-04-06 Manuel Guesdon <mguesdon@orange-concept.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19054 72102866-910b-0410-8b05-ffd578937521
2004-04-06 11:19:30 +00:00
David Ayers
1168aa1c1e * GSWeb.framework/GSWHTMLRawParser.m
([GSWHTMLRawParser _skipQuotedStringWithQuote:index:stopIndex:]):
        Use decimal instead of object format specifier.  Reformat.

        * GSWeb.framework/GSWTemplateParser.m:
        ([GSWTemplateParser parseDeclarations]): Test
        _declarationsFilePath before inserting it into a mutable set.
        Reformat.

        * GSWeb.framework/GSWDefaultAdaptor.m
        ([GSWDefaultAdaptor announceNewConnection:]):  Fix for
        WorkerThreadCount 0.

        * GSWeb.framework/GSWResourceManager.m
        ([GSWResourceManager _applicationGSWBundle]): Use self instead
        of NSClassFromString to obtain correct class for WO namespace.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19001 72102866-910b-0410-8b05-ffd578937521
2004-04-02 11:06:46 +00:00
David Ayers
c1de12d63b * GSWAdaptors/common/GSWTemplates.c (GSWTemplate_GetTemplate):
Don't call strlen(0) as that may segfault.  Reported by
        Matt Rice <ratmice@yahoo.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18925 72102866-910b-0410-8b05-ffd578937521
2004-03-26 15:05:03 +00:00
Manuel Guesdon
988d241ad3 2004-03-26 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWAction.m/.h:
	       o added -isActionNamed:
	       * GSWeb.framework/GSWDirectAction.m
		 o in -performActionNamed:, raise exception if method
		 is not found
		 *
		 GSWExtensions.framework/GSWExceptionPage.gswc/GSWExceptionPage.html:
2004-03-26   Manuel Guesdon <mguesdon@orange-concept.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18922 72102866-910b-0410-8b05-ffd578937521
2004-03-26 10:30:26 +00:00
Manuel Guesdon
85a10d3bf6 2004-03-25 Manuel Guesdon <mguesdon@orange-concept.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18911 72102866-910b-0410-8b05-ffd578937521
2004-03-25 08:43:05 +00:00
David Ayers
8f3731267e * GSWeb.framework/GSWUtils.m: Use GNUSTEP in favor of
NeXT_Foundation_LIBRARY as requested by Marcus Mueller
        <znek@mulle-kybernetik.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18857 72102866-910b-0410-8b05-ffd578937521
2004-03-19 16:51:59 +00:00
David Ayers
ad3e059c30 * hello/Hello.m, hello/HelloPage.m, hello/Hello_main.m,
hello/Hello_main.m, hello/Main.m:  Correct include directive.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18830 72102866-910b-0410-8b05-ffd578937521
2004-03-10 16:38:36 +00:00
David Ayers
c932c73bfd * GSWeb.framework/GNUmakefile: Make WO_HEADER_FILES real
public headers.
        * GSWExtensions.framework/GNUmakefile: Ditto.
        * GSWeb.framework/Makefile.postamble: Simplify rules for
        installing WO_HEADER_FILES.
        * GSWExtensions.framework/Makefile.postamble: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18825 72102866-910b-0410-8b05-ffd578937521
2004-03-10 13:05:27 +00:00
David Ayers
e59b95fcfc * config.mak.in: Added EOCONTROL_LIBRARY_NAME,
EOACCESS_LIBRARY_NAME and HAVE_NATIVE_FRAMEWORK_SUPPORT.
        * GSWeb.framework/Makefile.preamble.in: Added support for
        buildings on OS X and improve support for others.
        * GSWExtensions.framework/Makefile.preamble: Ditto.
        * GSWExtensionsGSW.framework/Makefile.preamble: Ditto.
        * GSWeb.framework/GNUmakefile: Remove GNUSTEP_MAKEFILES.

        * GSWeb.framework/GSWMultiKeyDictionary.m
        ([GSWMultiKeyDictionary initWithNodeSize:capacity:]): Replace
        usage of GSObjCZone with -zone for OS X compatibility.
        ([GSWMultiKeyDictionary dealloc]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18773 72102866-910b-0410-8b05-ffd578937521
2004-03-04 18:36:50 +00:00
Manuel Guesdon
cb17620a27 * GSWeb.framework/GSWDefaultAdaptorThread.m:
o fix for autoreleasing runDate inr -run: (from
	  S.J.Chun <chunsj@embian.com>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18755 72102866-910b-0410-8b05-ffd578937521
2004-03-03 08:52:13 +00:00
Manuel Guesdon
a73b7c0c0d 2004-03-01 Manuel Guesdon <mguesdon@orange-concept.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18750 72102866-910b-0410-8b05-ffd578937521
2004-03-01 16:57:59 +00:00
David Ayers
19d18a8d45 Also add dependancy on GDL2.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18699 72102866-910b-0410-8b05-ffd578937521
2004-02-27 18:27:24 +00:00
David Ayers
13dd609d5e * GSWExtensions.framework/GSWLongResponsePage.m
([GSWLongResponsePage threadExited:]): Replace NSThreadExiting
        with NSThreadWillExitNotification.
        ([GSWLongResponsePage _perform:]): Ditto.

        * GSWeb.framework/GNUmakefile: Depend on GDL2 when applicable.
        * GSWeb.framework/Makefile.preamble.in: Add dependency on
        GSANTLER and -baseadd when applicable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18698 72102866-910b-0410-8b05-ffd578937521
2004-02-27 17:56:39 +00:00
David Ayers
4381de6b49 * GSWeb.framework/GSWUtils.h (NSTimeIntervalSleep): Declare.
* GSWeb.framework/GSWGenericContainer.m
        ([GSWGenericContainer takeValuesFromRequest:inContext:]): Don't
        try to return value in method returning void.
        * GSWeb.framework/GSWHyperlink.m
        ([GSWHyperlink invokeActionForRequest:inContext:]): Add cast
        to silence compiler on OS X.
        * GSWeb.framework/GSWResourceManager.m
        ([GSWResourceManager _applicationGSWBundle]): Remove obsolete
        logging.
        * GSWeb.framework/NSData+Compress.m ([NSData deflate]):
        Remove dependancy on GNUstep extenstions.
        * GSWeb.framework/stacktrace.m: Add test for __MACH__.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18696 72102866-910b-0410-8b05-ffd578937521
2004-02-27 17:01:02 +00:00
David Ayers
93a018eb12 * GSWeb.framework/GSWDefaultAdaptorThread.m
([GSWDefaultAdaptorThread run:]): Replace NSThreadExiting
        with NSThreadWillExitNotification.
        ([GSWDefaultAdaptorThread threadExited:]): Ditto.
        ([GSWDefaultAdaptorThread readRequestReturnedRequestLine:
        returnedHeaders:returnedData:]): Assign current date to typed
        variable to avoid compiler warning on compare:.
        * GSWeb.framework/GSWUtils.m
        ([NSException exceptionWithName:format:]): Adapt variables name
        to not clash with instance variable names on Cocoa.
        ([NSException exceptionByAddingUserInfo:]): Ditto.
        ([NSException exceptionByAddingToUserInfoKey:format:]): Ditto.
        ([NSException exceptionByAddingUserInfoKey:format:]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18681 72102866-910b-0410-8b05-ffd578937521
2004-02-26 16:26:31 +00:00
David Ayers
a59610f0be * GSWeb.framework/GSWApplication.h
* GSWeb.framework/GSWDeployedBundle.h: Replace objc_thread_t
        with NSThread * for caching the thread in the instance variable.

        * GSWeb.framework/Makefile.postamble: Remove config.h during
        make distclean.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18666 72102866-910b-0410-8b05-ffd578937521
2004-02-25 14:53:21 +00:00
David Ayers
f4eeb18a26 * GSWeb.framework/GSWApplication.m
(GSWApplicationMainReal): Reformat.  Use GSCurrentThread
        instead of objc_thread_id. Remove \n in NSLog type logs.
        (GSWApplicationMain): Ditto.
        ([GSWApplication init], [GSWApplication lockRequestHandling],
        [GSWApplication unlockRequestHandling], [GSWApplication lock],
        [GSWApplication unlock], [GSWApplication _sessionClass],
        [GSWApplication run],
        [GSWApplication addDynCreateClassName:superClassName:],
        [GSWApplication pageWithName:],
        [GSWApplication dynamicElementWithName:associations:template:]):
        Ditto.
        * GSWeb.framework/GSWComponent.m
        ([GSWComponent appendToResponse:inContext:], [GSWComponent
        templateWithHTMLString:declarationString:languages:]): Ditto.
        * GSWeb.framework/GSWContext.m
        ([GSWContext dealloc], [GSWContext setValidate:]): Ditto.
        * GSWeb.framework/GSWDebug.m
        (GSWLogC_, GSWLogDumpObjectFn): Ditto.
        * GSWeb.framework/GSWDefaultAdaptor.m
        ([GSWDefaultAdaptor registerForEvents],
        [GSWDefaultAdaptor announceNewConnection:],
        [GSWDefaultAdaptor adaptorThreadExited:],
        [GSWDefaultAdaptor tryLock]): Ditto.
        * GSWeb.framework/GSWDefaultAdaptorThread.m
        ([GSWDefaultAdaptorThread setPool:destroyLast:],
        [GSWDefaultAdaptorThread run:],
        [GSWDefaultAdaptorThread threadExited],
        [GSWDefaultAdaptorThread isExpired],
        [GSWDefaultAdaptorThread sendRetryLasterResponseToStream:],
        [GSWDefaultAdaptorThread
        sendConnectionRefusedResponseToStream:withMessage:]): Ditto.
        * GSWeb.framework/GSWDeployedBundle.m
        ([GSWDeployedBundle initWithPath:], [GSWDeployedBundle dealloc],
        [GSWDeployedBundle lock], [GSWDeployedBundle unlock]): Ditto.
        * GSWeb.framework/GSWLifebeatThread.m
        ([GSWLifebeatThread setPool:destroyLast:],
        [GSWLifebeatThread threadExited]): Ditto.
        * GSWeb.framework/GSWSession.m
        ([GSWSession initWithCoder:],
        [GSWSession _releaseAutoreleasePool]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18611 72102866-910b-0410-8b05-ffd578937521
2004-02-17 16:53:36 +00:00
David Ayers
048a35991b * GSWeb.framework/GSWUtils.h/m
(IsStyle,IsNumberStyle, ExceptionRaise, ExceptionRaise0,
	ValidationExceptionRaise, ValidationExceptionRaise0,
	ExceptionByAddingUserInfoObjectFrameInfo,
	ExceptionByAddingUserInfoObjectFrameInfo0,
	ExceptionByAddingUserInfoFunctionFrameInfo,
	ExceptionByAddingUserInfoFunctionFrameInfo0, ): Reformat
	defines.
	(GSW_LOCK_LIMIT): New define.
	(ExceptionRaiseFn, ExceptionRaiseFn0,
	ValidationExceptionRaiseFn,
	ValidationExceptionRaiseFn0): Reformat declaration.
	(TmpLock, TmpTryLockBeforeDate, TmpLockBeforeDate, TmpUnlock):
	Remove.
	([NSLock isLocked]): Remove.
	([NSLock tmplock]): Ditto.
	([NSLock tmplockFromFunction:file:line:]): Ditto.
	([NSLock tmptryLock]): Ditto.
	([NSLock tmptryLockFromFunction:file:line:]): Ditto.
	([NSLock tmptryLockBeforeDate:]): Ditto.
	([NSLock tmptryLockBeforeDate:fromFunction:file:line:]):
	Ditto.
	([NSLock tmpunlock]): Ditto.
	([NSLock tmpunlockFromFunction:file:line:]): Ditto.
	([NSLock description]): Ditto.
	([NSRecursiveLock isLocked]): Ditto.
	([NSRecursiveLock tmplock]): Ditto.
	([NSRecursiveLock tmplockFromFunction:file:line:]): Ditto.
	([NSRecursiveLock tmptryLock]): Ditto.
	([NSRecursiveLock tmptryLockFromFunction:file:line:]): Ditto.
	([NSRecursiveLock tmptryLockBeforeDate:]): Ditto.
	([NSRecursiveLock
	tmptryLockBeforeDate:fromFunction:file:line:]):
	Ditto.
	([NSRecursiveLock tmpunlock]): Ditto.
	([NSRecursiveLock tmpunlockFromFunction:file:line:]): Ditto.
	(NSLockException, MessageForMutexLockError)
	(LoggedLock, LoggedLockBeforeDate, LoggedTryLock,
	LoggedTryLockBeforeDate, LoggedUnlock): New macros.
	(loggedLockBeforeDateFromFunctionInFileInLine,
	loggedUnlockFromFunctionInFileInLine): New logging lock
	functions.
	([NSThread description]): New Category.
	(volatileInternalDescription): New static function.
	(GSW_LOCK_LIMIT): New marco.
	* GSWeb.framework/GSWApplication.m
	([GSWApplication isRequestHandlingLocked]): Test lock instead
	of relying on obsolete lock categories.
	([GSWApplication lockRequestHandling]): Use new locking
	macros.
	([GSWApplication unlockRequestHandling]): Ditto.
	([GSWApplication lock]): Ditto.
	([GSWApplication unlock]): Ditto.
	* GSWeb.framework/GSWAssociation.m
	([GSWAssociation setClasse:forHandler:]): Ditto
	([GSWAssociation addLogHandlerClasse:]): Ditto.
	([GSWAssociation removeLogHandlerClasse:]): Ditto.
	([GSWAssociation logValue:forSet:]): Ditto.
	([GSWAssociation
	logSynchronizeForValue:inComponent:componentToParent:]):
	Ditto.
	* GSWeb.framework/GSWBundle.m
	([GSWBundle unlock]): Ditto.
	([GSWBundle lock]): Ditto.
	* GSWeb.framework/GSWDefaultAdaptor.m
	([GSWDefaultAdaptor tryLock]): Ditto.
	([GSWDefaultAdaptor unlock]): Ditto.
	* GSWeb.framework/GSWDeployedBundle.m
	([GSWDeployedBundle lock]): Ditto.
	([GSWDeployedBundle unlock]): Ditto.
	* GSWeb.framework/GSWResourceManager.m
	([GSWResourceManager unlock]): Ditto.
	([GSWResourceManager lock]): Ditto.
	* GSWeb.framework/GSWSessionStore.m
	([GSWSessionStore unlock]): Ditto.
	([GSWSessionStore tryLock]): Ditto.
	([GSWSessionStore lock]): Ditto.
	* GSWeb.framework/GSWSessionTimeOutManager.m
	([GSWSessionTimeOutManager
	tryLockBeforeTimeIntervalSinceNow:]):
	Ditto.
	([GSWSessionTimeOutManager lockBeforeTimeIntervalSinceNow]):
	Ditto.
	([GSWSessionTimeOutManager unlock]): Ditto.
	* GSWeb.framework/GSWStaticResourceRequestHandler.m
	([GSWStaticResourceRequestHandler handleRequest:]): Ditto.
	* GSWeb.framework/GSWStatisticsStore.m
	([GSWStatisticsStore unlock]): Ditto.
	([GSWStatisticsStore lock]): Ditto.
	* GSWeb.framework/NSObject+IVarAccess+PerformSel.m:
	([NSObject getIVarNamed]): Use GSW_LOCK_LIMIT macro.
	Reformat.
	([NSObject setIVarNamed:withValue:]): Ditto.

	* Makefile.postamble: Remove autom4te.cache on distclean.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18605 72102866-910b-0410-8b05-ffd578937521
2004-02-16 14:37:46 +00:00
Manuel Guesdon
508e0c5514 * GSWeb.framework/GSWTemplateParserXML.m: fix to avoid html and
body tag removing for XML (not XMLHTML) parsing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18539 72102866-910b-0410-8b05-ffd578937521
2004-02-04 13:19:19 +00:00