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
David Ayers
e20282661f
Update ChangeLog for previous premature commit of uncleaned changes
...
and minor cleanups thereof. :-/
* GSWeb.framework/GSWResourceManager.m
([GSWResourceManager setURLValuedElementData:]): Test contents
of data before setting it.
* GSWeb.framework/GSWApplication.m
([GSWApplication
lockedComponentDefinitionWithName:languages:]):
Add handling for components without wrappers.
* GSWeb.framework/GSWGenericElement.h: Corrected names of
instance
variable and method.
* GSWeb.framework/GSWGenericElement.m:
([GSWGenericElement initWithName:associations:template:]):
Implemented.
([GSWGenericElement dealloc]): Ditto.
([GSWGenericElement description]): Ditto.
([GSWGenericElement appendToResponse:inContext:]): Ditto.
([GSWGenericElement invokeActionForRequest:inContext:]):
Ditto.
([GSWGenericElement takeValuesFromRequest:inContext:]): Ditto.
([GSWGenericElement _elementNameAppendToResponse:inContext:]):
Ditto.
([GSWGenericElement
_appendTagWithName:toResponse:inContext:]):
Ditto.
([GSWGenericElement
_appendOtherAttributesToResponse:inContext:]):
Ditto.
([GSWGenericElement _elementNameInContext:]): Ditto.
* GSWeb.framework/GSWConstants.h/m: Added Tags for
GSWGenericElement.
* GSWeb.framework/GSWTemplateParser.m ([GSWTemplateParser
templateWithHTMLString:declarationString:languages:]): Added
preliminary implementation and commented correct implement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18435 72102866-910b-0410-8b05-ffd578937521
2004-01-18 17:30:58 +00:00
David Ayers
96fe2fa296
* GSWeb.framework/GSWConfig.h: Turn GSW/WOLifebeatEnabled off
...
by default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18432 72102866-910b-0410-8b05-ffd578937521
2004-01-18 11:17:38 +00:00
David Ayers
f7995b48a2
* GSWeb.framework/GSWApplication.h
...
([GSWApplication _handleException:inContext:]): Remove
obsolete declaration.
* GSWeb.framework/GSWApplication.m: Added GSWAppClassDummy
class declarations to avoid compiler warnings genrerated for
messages sent to 'Class'.
([NSDistantObject setDebug:]): Added declaration to avoid
compiler warning.
([GSWApplication init]): Use GSWAppClassDummy to avoid
compiler warnings.
([GSWApplication _argsDictionaryWithUserDefaults:]): Ditto.
([GSWApplication _monitorApplicationName]): Ditto.
([GSWApplication _connectionDidDie:]): Translated comment to
allow ascii encoding.
([GSWApplication _remoteMonitor]): Test whether
NSDistantObject
responds to setDebug: before dispatching the method. Use
performSelector: to send undeclared targetForProxy method.
([GSWApplication monitoringEnabled]): Forward isMonitorEnabled
to class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18431 72102866-910b-0410-8b05-ffd578937521
2004-01-18 10:36:04 +00:00
David Ayers
6d07617232
* GSWeb.framework/GSWApplication.h/m
...
(-/+[GSWApplication isDirectConnectEnabled])
(-/+[GSWApplication setDirectConnectEnabled:]): Make class
methods.
([GSWApplication registerRequestHandlers]): Call class method.
([GSWApplication refuseNewSessions:]): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18410 72102866-910b-0410-8b05-ffd578937521
2004-01-13 15:00:55 +00:00
David Ayers
0e5fd50138
* GSWeb.framework/.cvsignore: New file.
...
* GSWExtensions.framework/.cvsignore: Ditto.
* GSWExtensions.framework/French.lproj/.cvsignore: Ditto.
* GSWExtensionsGSW.framework/.cvsignore: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18409 72102866-910b-0410-8b05-ffd578937521
2004-01-13 12:46:48 +00:00
David Ayers
9acaa0f2cc
* config/pathxml.m4: Whitespace fixes for coding standards.
...
* configure.ac: Ditto.
* configure: Regenerate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18407 72102866-910b-0410-8b05-ffd578937521
2004-01-13 12:27:51 +00:00
David Ayers
a4f3157e1d
* gsweb.make.in: Change 'WO' framework names to WobObjects,
...
WOExtensions and WOExtensionsGSW.
* GSWeb.framework/GNUmakefile: Ditto.
* GSWeb.framework/Makefile.postamble. Ditto.
* GSWExtensions.framework/Makefile.preamble: Ditto.
* GSWExtensionsGSW.framework/Makefile.preamble: Ditto.
* GSWExtensionsGSW.framework/GNUmakefile: Ditto.
* GSWExtensions.framework/GNUmakefile: Ditto. Move top level
GSWSessionRestorationErrorPage.gswd into
GSWSessionRestorationErrorPage.gswc.
* GSWExtensions.framework/GSWSessionRestorationErrorPage.gswd
* GSWExtensions.framework/GSWSessionRestorationErrorPage.gswc/
GSWSessionRestorationErrorPage.gswd
Moved contents into component.
* GSWExtensions.framework/Makefile.postamble: Install
components for 'WO' names correctly.
* GSWExtensionsGSW.framework/Makefile.postamble: Ditto.
* GSWExtensions.framework/French.lproj/
GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd:
Use correct #include syntax.
* GSWeb.framework/GSWWOCompatibility.h: Add WOExceptionPage.
* GSWeb.framework/GSWApplication.m
([GSWApplication handleException:inContext:]): Remove
temporary hack to load 'GSW' exception page for 'WO' names.
* GSWExtensions.framework/GSWExceptionPage.m
([GSWExceptionPage setException:]): Remove excess exception
log.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18388 72102866-910b-0410-8b05-ffd578937521
2004-01-12 15:32:39 +00:00
Manuel Guesdon
0d89b713ab
2004-01-09 Manuel Guesdon <mguesdon@orange-concept.com>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18357 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:44:06 +00:00
David Ayers
87ecde1a46
* GSWExtensions.framework/Makefile.preamble: Correct
...
ADDITIONAL_INCLUDE_DIRS and ADDITIONAL_LIB_DIRS.
* Testing/DynamicElements/Makefile.preamble: Ditto.
* GSWExtensionsGSW.framework/Makefile.preamble: Ditto. Also
remove comments.
* GSWeb.framework/Makefile.preamble.in: Ditto. Also correct
ADDITIONAL_CPPFLAGS
* Testing/DynamicElements/GNUmakefile: Remove unused
variables.
* GSWeb.framework/GNUmakefile: Ditto.
* GSWExtensions.framework/Makefile.postamble: Removed unused
targets 'regenerate' and 'copy-dist'.
* GSWExtensionsGSW.framework/Makefile.postamble: Ditto.
* Testing/DynamicElements/Makefile.postamble: Ditto.
* GSWeb.framework/Makefile.postamble: Ditto. Add rule for
GNUSTEP_TARGET_DIR dependent 'config.h'.
* Testing/DynamicElements/Resources/Info-DynamicElements.plist:
Correct spelling.
* Testing/DynamicElements/DynamicElements.m: Replace #import
with #include.
* Testing/DynamicElements/DynamicElements_main.m: Ditto.
* Testing/DynamicElements/Main.h: Ditto.
* Testing/DynamicElements/Main.m: Ditto.
* Examples/hello/Hello.m: Ditto.
* Examples/hello/HelloPage.h: Ditto.
* Examples/hello/HelloPage.m: Ditto.
* Examples/hello/Hello_main.m: Ditto.
* Examples/hello/Main.h: Ditto.
* Examples/hello/Main.m: Ditto.
* Examples/hello/Resources/Info-Hello.plist: Reformatted.
* GSWeb.framework/GSWDebug.h/m (GSWLogAssertGoodFn): Adjust
prototype to use id instead of NSObject * and dereference via
class_pointer instead of isa.
([NSObject isa]): Remove obsolete category.
* GSWeb.framework/GSWPageDefLexer.h: Use "GSWeb.h" instead of
<GSWeb/GSWeb.h> for include.
* GSWeb.framework/GSWPageDefLexer.m: Ditto.
* GSWeb.framework/GSWPageDefParser.h: Ditto.
* GSWeb.framework/GSWPageDefParser.m: Ditto.
* GSWeb.framework/GSWPageDefParserTokenTypes.h: Ditto.
* GSWeb.framework/PageDef.g: Ditto.
* GSWeb.framework/html.g: Ditto.
* GSWeb.framework/htmltag.g: Ditto.
* GSWeb.framework/GSWWOCompatibility.m: Remove file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18338 72102866-910b-0410-8b05-ffd578937521
2004-01-08 16:23:47 +00:00
Dave Wetzel
f3adcee5b0
do a stringValue on numbers to avoid an exception later.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18303 72102866-910b-0410-8b05-ffd578937521
2004-01-02 17:43:28 +00:00
Dave Wetzel
b7f5c82f4b
fix for wo names
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18275 72102866-910b-0410-8b05-ffd578937521
2003-12-26 00:39:51 +00:00
Manuel Guesdon
392baf201c
Bug fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18211 72102866-910b-0410-8b05-ffd578937521
2003-11-26 13:38:26 +00:00
Manuel Guesdon
310dff1850
* GSWeb.framework/GSWUtils.h:
...
o quick fixes for NeXT_Foundation from Philip Moetteli <Philip.Moetteli@tele2.ch>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18205 72102866-910b-0410-8b05-ffd578937521
2003-11-25 17:32:54 +00:00
Manuel Guesdon
c9bc883f0d
Fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18202 72102866-910b-0410-8b05-ffd578937521
2003-11-25 13:22:44 +00:00
Manuel Guesdon
6985e08ad9
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18191 72102866-910b-0410-8b05-ffd578937521
2003-11-25 09:11:51 +00:00