Commit graph

690 commits

Author SHA1 Message Date
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
Dave Wetzel
a2f820f664 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
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
Dave Wetzel
c34297814e 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
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
Dave Wetzel
ff7a27f73e 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
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
Manuel Guesdon
241ee24da9 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
Manuel Guesdon
9fff290095 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
Manuel Guesdon
87977f0783 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
Manuel Guesdon
fe68350adf 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
Manuel Guesdon
00632e1887 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
Manuel Guesdon
f04c972cb8 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
Manuel Guesdon
bb270c231d 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
Manuel Guesdon
db170747b4 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