- Oct 05, 2022
-
-
Rob Swindell authored
-
- Oct 04, 2022
-
-
Rob Swindell authored
-
- Sep 21, 2022
-
-
Rob Swindell authored
Section suffix is the decimal ASCII value, not the character itself. Fix issue #440 as reported by Nelgin
-
Rob Swindell authored
not just 'settings' Fix issue 439. Thanks Nelgin!
-
Rob Swindell authored
-
Rob Swindell authored
'execution_ars' not 'run_ars'.
-
- Sep 19, 2022
-
-
Rob Swindell authored
Cut the load/parse time of large (e.g. 1MB) .ini files in half.
-
Rob Swindell authored
-
Rob Swindell authored
Performance optimization: each section becomes its own separate (named) string list, so repeated searches through all the lines (including keys/values) are eliminated. This optimization resulted in a 50% reduction in time to load/parse large .ini files into memory. An additional 10% improvement was observed by freeing/nulling section names as they were consumed. Setting them to blank strings was also tried (without immediate freeing), but no performance improvement was observed.
-
Rob Swindell authored
For use with some new ini_file functions.
-
Rob Swindell authored
Some way for the sysop to specify their defaults would be preferable.
-
Rob Swindell authored
Use 'inipath' instead. Fixes msgs.ini disappearing issue as reported by Nelgin
-
- Sep 18, 2022
-
-
Rob Swindell authored
-
Rob Swindell authored
-
- Sep 17, 2022
-
-
Rob Swindell authored
format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint’
-
Rob Swindell authored
-
Rob Swindell authored
Resolve warnings and issues with ambiguity around the size of a long int.
-
Rob Swindell authored
Just to help resolve some warnings in scfg*.c
-
Rob Swindell authored
-
Rob Swindell authored
long is the one type that a different size between the supported 32-bit and 64-bit platforms, avoid its use.
-
Rob Swindell authored
-
Rob Swindell authored
Don't use long types in parameters to/return types of non-long functions (e.g. *Integer(), *Bytes(), *HexInt()): use int/uint instead. long is the one type that is a different size between the supported 32-bit and 64-bit target platforms, so avoid its use here. *LongInt() functions now accept/return long, not ulong. *ShortInt() functions accept/return short, not ushort. Added *UInteger, *UShortInt(), *ULongInt() functions for dealing with unsigned integer values, specifically. Add bit-width-specific aliases to integer value functions: *Int16, *UInt16, *Int32, and *UInt32
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
Some re-arranging of lines to group section keys together, logically. Fixed typos with "newuser" vs. "nweuser" section naming.
-
Rob Swindell authored
-
- Sep 16, 2022
-
-
Rob Swindell authored
-
Rob Swindell authored
Need to nullify the xpms after destroying/freeing (as is done in other servers already).
-
Rob Swindell authored
By using the new iniCutSection() function primarily, parse and consume each .ini file section, reducing the search area (ini content/list) for each section consumed. The use of iniFreeStringList() intead of strListFree() appeared to have some benefit to performance as well, likely due to a DLL heap dance. This brought the file.ini file loading on Vertrauen (8518 lines) down from 10+ seconds (on Windows over SMB/1Gb link to a Samba sever) to less than one scond.
-
Rob Swindell authored
-
Rob Swindell authored
iniCutSection is like iniGetSection except that the section is is also removed from the ini content list. For performance reasons, the list is not realloced (maybe saving memory), and for this, I added iniRemoveSectionFast. For cases where an .ini file may contain many sections and keys, it can be a huge performance improvement to remove the sections as they are parsed (i.e. use iniCutSection instead of iniGetSection), thus reducing the number of operations required for subsequent section/key searches (each call to iniGet*). This change was required to make the new ctrl/????.ini file loading (scfglib*.c changes) acceptable on Vertrauen, Windows builds.
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-