Dave Wetzel
08db0d40ae
removed Start HandleTimer / Stop HandleTimer
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20375 72102866-910b-0410-8b05-ffd578937521
2004-11-24 12:57:32 +00:00
David Ayers
3fdb17626a
* GSWeb.framework/GSWApplication+Defaults.m (TAKEVALUEFORKEY):
...
New macro to use new setValue:forKey: instead of takeValue:forKey:
on Cocoa systems until it is implemented for GNUstep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20369 72102866-910b-0410-8b05-ffd578937521
2004-11-22 16:54:54 +00:00
David Ayers
c5ee2bd0bf
* GSWeb.framework/GSWApplication.m (GSWApplicationMainReal):
...
Remove assertion for defined GNUSTEP_STRING_ENCODING.
* GSWeb.framework/GSWDefaultAdaptorThread.m
([+sendResponse:toStream:
withNamingConv:withAdditionalHeaderLines:withRemoteAddress:]):
Use contentEncoding of response instead of
NSISOLatin1StringEncoding.
* GSWeb.framework/GSWHTMLComment.m ([-init]): Use
+[GSWMessage defaultEncoding] instead of
NSISOLatin1StringEncoding.
* GSWeb.framework/GSWHTMLDynamicElement.m
([-addURL:forCIDKeyAssociation:CIDStoreAssociation:inContext:]):
Use NSUnicodeStringEncoding instead NSISOLatin1StringEncoding
for hash value.
* GSWeb.framework/GSWMessage.m ([+initialize]): Set
globalDefaultEncoding to NSISOLatin1StringEncoding only if
WOStrictFlag default flag is set. Otherwise default to
GetDefEncoding().
* GSWeb.framework/GSWRequest.m
([-_formValueEncodingFromFormData:]): Use +[GSWMessage
defaultEncoding] instead of NSISOLatin1StringEncoding.
([-_formData], [-_getFormValuesFromMultipartFormDataOld]):
Ditto.
([-_getFormValuesFromMultipartFormData]): Ditto.
([-_decodeMultipartBody:boundary:], -[_parseData:]): Ditto.
* GSWeb.framework/GSWTemplateParserXML.m
([-templateElements]): Ditto.
* GSWeb.framework/NSString+HTML.m (-[decodeURL]): Ditto.
* INSTALL: Remove reference to GNUSTEP_STRING_ENCODING.
* Examples/hello/HelloPage.gswc/HelloPage.gswi,
* GSWExtensions.framework/French.lproj/
GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswi,
GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswi
* GSWExtensions.framework/
GSWCollapsibleComponentContent.gswc/GSWCollapsibleComponentContent.gswi
GSWDictionaryRepetition.gswc/GSWDictionaryRepetition.gswi,
GSWIFrame.gswc/GSWIFrame.gswi,
GSWMetaRefresh.gswc/GSWMetaRefresh.gswi,
GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswi,
GSWRedirect.gswc/GSWRedirect.gswi,
GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswi,
GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswi
GSWStatsPage.gswc/GSWStatsPage.gswi,
GSWTable.gswc/GSWTable.gswi,
GSWTableString.gswc/GSWTableString.gswi,
Correct encoding declaration.
* GSWExtensions.framework/
GSWKeyValueConditional.gswc/GSWKeyValueConditional.gswd,
GSWKeyValueConditional.gswc/GSWKeyValueConditional.gswi,
GSWKeyValueConditional.gswc/GSWKeyValueConditional.html:
Correct encoding declaration and line terminators.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20347 72102866-910b-0410-8b05-ffd578937521
2004-11-12 13:47:05 +00:00
Manuel Guesdon
ba53f7538a
Changes in GSWAdaptor:
...
o to handle unavailableUntil configuration parameters
o to better handle templates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20317 72102866-910b-0410-8b05-ffd578937521
2004-11-08 14:15:59 +00:00
David Ayers
24f81b918b
* Examples/WebBookStore1: New example.
...
* Examples/WebBookStore1/Application.h,
* Examples/WebBookStore1/Application.m,
* Examples/WebBookStore1/DirectAction.h,
* Examples/WebBookStore1/DirectAction.m,
* Examples/WebBookStore1/GNUmakefile,
* Examples/WebBookStore1/Main.h,
* Examples/WebBookStore1/Main.m,
* Examples/WebBookStore1/Session.h,
* Examples/WebBookStore1/Session.m,
* Examples/WebBookStore1/WebBookStore1_main.m,
* Examples/WebBookStore1/BookStore.eomodeld/Author.plist,
* Examples/WebBookStore1/BookStore.eomodeld/Book.plist,
* Examples/WebBookStore1/BookStore.eomodeld/Customer.plist,
* Examples/WebBookStore1/BookStore.eomodeld/Order.plist,
* Examples/WebBookStore1/BookStore.eomodeld/OrderPos.plist,
* Examples/WebBookStore1/BookStore.eomodeld/index.eomodeld,
* Examples/WebBookStore1/Main.gswc/Main.gswd,
* Examples/WebBookStore1/Main.gswc/Main.gswi,
* Examples/WebBookStore1/Main.gswc/Main.html,
* Examples/WebBookStore1/WebServerResources/Insert.png,
* Examples/WebBookStore1/WebServerResources/Save.png,
* Examples/WebBookStore1/WebServerResources/Delete.png,
* Examples/WebBookStore1/WebServerResources/CreateTables.png,
* Examples/WebBookStore1/WebServerResources/DropTables.png:
New files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20316 72102866-910b-0410-8b05-ffd578937521
2004-11-08 13:14:12 +00:00
David Ayers
63ad988273
* GSWeb.framework/GSWRepetition.h: Only use ASCII characters
...
in source files.
* GSWeb.framework/NSString+HTML.m (initHtmlChars): Ditto
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20286 72102866-910b-0410-8b05-ffd578937521
2004-11-03 13:19:21 +00:00
David Ayers
0c4677e23a
* Doc/GNUmakefile: New file.
...
* Doc/gsweb.gsdoc: Update DTD reference. Minor reformatting.
Add references to subprojects. Add myself as coauthor.
* GSWeb.framework/GNUmakefile: Remove duplicate definition of
GSWeb_AGSDOC_FLAGS.
* GSWeb.framework/GSWDebug.h (LOGDEEPClassFnStart)
(LOGDEEPError0, LOGLOCKException0): Insert missing backslash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20284 72102866-910b-0410-8b05-ffd578937521
2004-11-03 09:25:59 +00:00
David Ayers
5c7de0b8e0
* GSWeb.framework/GSWApplication+Defaults.m
...
(cgiAdaptorURL, setCGIAdaptorURL): Fix naming to conform to
key value coding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19972 72102866-910b-0410-8b05-ffd578937521
2004-09-02 12:38:45 +00:00
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
Dave Wetzel
0cd65c4f69
added David Ayers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19965 72102866-910b-0410-8b05-ffd578937521
2004-09-01 16:14:22 +00:00
Dave Wetzel
e756110959
added support for macOS X
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19964 72102866-910b-0410-8b05-ffd578937521
2004-09-01 16:12:58 +00:00
Manuel Guesdon
ad05010eab
Typos & compilation fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19963 72102866-910b-0410-8b05-ffd578937521
2004-09-01 15:56:03 +00:00
Manuel Guesdon
3f274ff475
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19962 72102866-910b-0410-8b05-ffd578937521
2004-09-01 15:28:28 +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
Manuel Guesdon
7d73c85f1a
o implemented -handleRequest
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19960 72102866-910b-0410-8b05-ffd578937521
2004-09-01 15:08:56 +00:00
Manuel Guesdon
9a55e9c9d2
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19959 72102866-910b-0410-8b05-ffd578937521
2004-09-01 15:06:30 +00:00
Manuel Guesdon
61eb42e27f
o added GSWIntToString and GSWIntToNSString
...
o use GSWIntToNSString instead of string formatting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19958 72102866-910b-0410-8b05-ffd578937521
2004-09-01 14:58:56 +00:00
Manuel Guesdon
819c2955dc
o use GSWDeclarationFormatException instead of NSException
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19957 72102866-910b-0410-8b05-ffd578937521
2004-09-01 14:49:49 +00:00
Manuel Guesdon
bcd7d59217
o use GSWIntToNSString instead of string formatting
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19956 72102866-910b-0410-8b05-ffd578937521
2004-09-01 14:49:27 +00:00
Manuel Guesdon
e11d0c51d8
o use of IMPs for speed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19955 72102866-910b-0410-8b05-ffd578937521
2004-09-01 14:41:25 +00:00
Manuel Guesdon
ce45ebf3d4
o improved exceptions handling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19954 72102866-910b-0410-8b05-ffd578937521
2004-09-01 14:28:01 +00:00
Manuel Guesdon
4d55d2617a
o rewritten -deleteLastElementIDComponent and
...
-incrementLastElementIDComponent for speed
and memory usage improvement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19953 72102866-910b-0410-8b05-ffd578937521
2004-09-01 14:27:26 +00:00
Manuel Guesdon
35bcbe49b7
o changes to use IMPs and buffers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19952 72102866-910b-0410-8b05-ffd578937521
2004-09-01 14:17:18 +00:00
Manuel Guesdon
8557cf3eba
o changes to use IMPs and buffers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19951 72102866-910b-0410-8b05-ffd578937521
2004-09-01 13:58:47 +00:00
Manuel Guesdon
6aaf57213f
o added -addQueryOperator:forKey:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19950 72102866-910b-0410-8b05-ffd578937521
2004-09-01 13:57:56 +00:00
Manuel Guesdon
009ad97ccd
o use GSWIntToNSString instead of string formatting
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19949 72102866-910b-0410-8b05-ffd578937521
2004-09-01 13:53:24 +00:00
Manuel Guesdon
4a0617e007
o added exception names constants
...
o added GSWDeclarationFormatException
o added declaration caching (work in progress)
o use GSWDeclarationFormatException instead of NSException
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19948 72102866-910b-0410-8b05-ffd578937521
2004-09-01 13:52:44 +00:00
Manuel Guesdon
745cc96e55
o logs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19947 72102866-910b-0410-8b05-ffd578937521
2004-09-01 13:51:59 +00:00
Manuel Guesdon
9ba1891aa7
o fix keys array end
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19946 72102866-910b-0410-8b05-ffd578937521
2004-09-01 13:46:15 +00:00
Manuel Guesdon
0a266b1cc3
o added ShouldDisplay
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19945 72102866-910b-0410-8b05-ffd578937521
2004-09-01 13:45:38 +00:00
Manuel Guesdon
c50413a9da
o removed unused methods
...
o added -isDisabled
o added -shouldDisplay
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19944 72102866-910b-0410-8b05-ffd578937521
2004-09-01 13:44:01 +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
Dave Wetzel
d497dc3640
Fixed for MacOSX KVC. condition = application.isDebuggingEnabled
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19537 72102866-910b-0410-8b05-ffd578937521
2004-06-16 21:37:57 +00:00
Dave Wetzel
a6d04c504d
added -(BOOL)isDebuggingEnabled
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19530 72102866-910b-0410-8b05-ffd578937521
2004-06-15 23:11:51 +00:00
Dave Wetzel
f87efed053
Optimized based on Manuel's code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19529 72102866-910b-0410-8b05-ffd578937521
2004-06-15 22:48:30 +00:00
David Ayers
dafbed7200
Fix spacing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19526 72102866-910b-0410-8b05-ffd578937521
2004-06-15 14:28: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
David Ayers
3a75b5243f
Fix spacing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19512 72102866-910b-0410-8b05-ffd578937521
2004-06-13 22:14:51 +00:00
Dave Wetzel
d9dae26eb4
added setString: (original code from Philip Moetteli, debugged with David Ayers)
...
tested on MacOSX with Apple Foundation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19511 72102866-910b-0410-8b05-ffd578937521
2004-06-13 22:05:52 +00:00
Dave Wetzel
292a84f4b4
in appendContentString: append string only if not nil (patch from Philip Moetteli)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19510 72102866-910b-0410-8b05-ffd578937521
2004-06-13 19:30:05 +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
Dave Wetzel
6bf313a187
supports 'true' and 'false' now. Will be transformed into YES and NO
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19438 72102866-910b-0410-8b05-ffd578937521
2004-06-01 22:41:43 +00:00