Commit graph

346 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Manuel Guesdon
6715dd175f 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
Manuel Guesdon
aa263b60b2 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
Manuel Guesdon
dc9f1ff69e 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
Manuel Guesdon
cca0554649 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
Manuel Guesdon
b166da68d3 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
Manuel Guesdon
235194cac5 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
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