Commit graph

483 commits

Author SHA1 Message Date
mguesdon
b6af0e7fe4 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
mguesdon
5ebcdf995d 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
mguesdon
e1d304e334 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
mguesdon
db16f6d299 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
mguesdon
96f17ed7a1 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
ayers
c0de7793f9 * 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
ayers
7ae3b02170 * 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
ayers
e26781c88b * 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
ayers
957919aa1c 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
dwetzel
f1b3fa355c *** 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
dwetzel
8a3aeab6a4 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
dwetzel
31d7ded439 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
dwetzel
dad6ecae77 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
ayers
82df725c45 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
ayers
07a6932650 * 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
ayers
4cbe16f245 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
ayers
30f4cf019c * 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
dwetzel
64c1977fe6 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
ayers
15bc17fa7d 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
dwetzel
82e0ed02c4 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
dwetzel
58182bae3d 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
dwetzel
1ce3a1a81b *** 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
dwetzel
3842bb1060 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
dwetzel
6de752ae5e Support true/false in addition to YES/NO in bool bindings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19383 72102866-910b-0410-8b05-ffd578937521
2004-05-21 20:31:30 +00:00
ayers
00350b595e * 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
ayers
e12750d454 * 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
ayers
cd1944a9e5 * 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
ayers
6cc2ee18c5 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
ayers
649753b266 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
ayers
dbcdf19fb7 * 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
dwetzel
60af7400cc removed HasGSWComponents lookup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19354 72102866-910b-0410-8b05-ffd578937521
2004-05-16 18:29:20 +00:00
ayers
e30eb0ec5d * 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
dwetzel
d21ed6825e removed printfs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19346 72102866-910b-0410-8b05-ffd578937521
2004-05-16 10:12:08 +00:00
ayers
3fed91c08a * 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
mguesdon
8725b81ade 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
mguesdon
fd4c40a5b4 o moved http-equiv
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19321 72102866-910b-0410-8b05-ffd578937521
2004-05-14 12:11:54 +00:00
mguesdon
48c2cf1681 o logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19320 72102866-910b-0410-8b05-ffd578937521
2004-05-14 12:11:10 +00:00
mguesdon
ca51ea1e22 o fixed -isImplementedForComponent
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19319 72102866-910b-0410-8b05-ffd578937521
2004-05-14 12:09:16 +00:00
mguesdon
9bf61dc5c0 o added dateFormat__AltKey
o added numberFormat__AltKey


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19318 72102866-910b-0410-8b05-ffd578937521
2004-05-14 12:08:52 +00:00
mguesdon
e6883e6260 o added -urlApplicationNumber
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19317 72102866-910b-0410-8b05-ffd578937521
2004-05-14 12:02:35 +00:00
mguesdon
6e561e8406 o logs
o urlPrefix fix
o application instance fix for distribution
o fix in -_synchronizeForDistribution


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19316 72102866-910b-0410-8b05-ffd578937521
2004-05-14 12:02:12 +00:00
mguesdon
1ebefdc601 o logs
o fixes in -invokeActionForRequest:inContext:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19315 72102866-910b-0410-8b05-ffd578937521
2004-05-14 12:01:34 +00:00
mguesdon
d698b389c3 o logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19314 72102866-910b-0410-8b05-ffd578937521
2004-05-14 12:00:56 +00:00
mguesdon
1873f8d2d2 o fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19313 72102866-910b-0410-8b05-ffd578937521
2004-05-14 11:47:28 +00:00
mguesdon
c41db7eb3f o cleaned
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19312 72102866-910b-0410-8b05-ffd578937521
2004-05-14 11:47:06 +00:00
mguesdon
96ad9c2592 o handle dateFormat and numberFormat Alt Keys
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19311 72102866-910b-0410-8b05-ffd578937521
2004-05-14 11:46:31 +00:00
mguesdon
418fd06dab o fix for .strings loading
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19310 72102866-910b-0410-8b05-ffd578937521
2004-05-14 11:45:04 +00:00
mguesdon
7783e141c3 o fix for defaultActionClass
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19309 72102866-910b-0410-8b05-ffd578937521
2004-05-14 11:43:47 +00:00
mguesdon
0b91ea6791 o fixed exception format/arguments in
-parser:didParseClosingDynamicTagOfType:withTemplateInfo:
o added templateInfo in -parseHTML Exception


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19308 72102866-910b-0410-8b05-ffd578937521
2004-05-14 11:43:06 +00:00
ayers
db7b91770a * 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