0
I Use This!
Inactive

Commits : Listings

Analyzed 2 days ago. based on code collected 4 days ago.
Jun 21, 2024 — Jun 21, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
FIX: Device, shaders: constant to char* conversion fixed to use "D3DCOMPILE" type for shader compile flags More... about 12 years ago
FIX: CSPAManager: updated to respect constness changes in ISPAManager functions More... about 12 years ago
NEW: package/module/component generator CHANGE: spaut::Str::uppercase and lowercase do not modify the string but return a copy FIX: naming of stringUtils.sps More... about 12 years ago
FIX: fix ifdef from WIN32 to _WIN32 in spainterface FIX: naming conventions and visibility More... about 12 years ago
FIX: compilation with new SPA version More... about 12 years ago
FIX: use SPAINTERFACE macro instead of DECLARE_INTERFACE for better compatibility with new SPA versions More... about 12 years ago
CHANGE: SPACOMPONENT_ABOUT added CHANGE: Naming convention for macros - no underscore after SPA, other words separated by underscores More... about 12 years ago
CHANGE: SPACOMPONENT_ABOUT removed, component description now passed to REGISTER_COMPONENT. SPA legacy version not changed. CHANGE: Various identifiers changed to improve naming consistency, including SPA_COMANDS -> SPACOMMANDS, REGISTER_COMPONENT -> SPAREGISTERCOMPONENT. Macro naming consistency still unsatisfactory (underscores), thorough revision needed. CHANGE: Where appropriate, cstr replaced by const char*, constness added to char* More... about 12 years ago
FIX: spautwin:Time::timef: invalid parameter handler redirected to avoid crash in case of an incorrect format More... about 12 years ago
NEW: spautwin:Time::timef FIX: Warnings in spautwin:FileSearch, Time More... about 12 years ago
NEW: spautwin::GUID More... about 12 years ago
NEW: Updated reflection - TSPACMD* is converted to C++ arguments automatically NEW: Updated scope locking NEW: Automatic QueryInterface/AddRef/Release implementation NEW: Conversion utilities to/from cstr NEW: Smart pointers for interfaces and components NEW: Automatic implementation of SPA DLL interface NEW: CCmdList, a lightweight stl-like container for TSPACMD* NEW: Added operator+(const char*, const cstr&) to simplify cstr concatenation NEW: Added SPA_LEGACY macro for seamless compilation of old components CHANGE: SPA interfaces are declared using SPA_INTERFACE instead of DECLARE_INTERFACE to facilitate automatic QueryInterface implementation CHANGE: Use __FUNCTION__ instead of funid in error messages (FUNID_MSG can be used in any function without using FUNID macro to delare char *funid first) More... about 12 years ago
NEW: spad3d:VertexBuffer::create: now enforces that all streams must have equal lengths NEW: spad3d:VertexBuffer::fill: logs warning when number of floats from data buffer is not divisible by number of floats per vertex of the stream NEW: Command spad3d:VertexBuffer::getStreamLength CHANGE: Project file spad3d.vcxproj: wrong include paths removed CHANGE: spad3d:VertexBuffer::create: number of vertices used in command spad3d:VertexBuffer::draw is now established here FIX: spad3d:VertexBuffer: critical sections FIX: spad3d:VertexBuffer: log messages FIX: spad3d:VertexBuffer::fill: size computing of array of new vertices FIX: spad3d:VertexBuffer::fill: checking input stream index REMOVED: Command spad3d:VertexBuffer::getVertexCount REMOVED: Helper function spad3d:VertexBuffer::getVertexCount More... about 12 years ago
FIX: Incorrect tokenization of / in () More... about 12 years ago
FIX: Redundant preprocessor definitions removed UPDATE: Added SPA_LEGACY definition to spad3dlib and spad3dut projects More... about 12 years ago
FIX: Old temporary debug code remnant mistakenly merged into main.cpp More... about 12 years ago
UPDATE: added SPA_LEGACY define to support compilation with SPA 7 More... about 12 years ago
NEW: spaut:Int, spaut:Float and spaut:Double operations such as add, min and max now take variadic number of arguments NEW: stringutils.sps file for an easier string manipulation, currently implements join and range functions More... about 12 years ago
NEW: spaut:FuncTokenized::run: token containing variadic arguments placeholder in curly brackets (default {...}) replaced by variadic argument tokens each preceded by tokens ( and ~ and followed by tokens ^ and ) so that special tokens can be passed on uninterpreted as special FIX: spaut:Str::element: empty string element not handled properly (0 was inserted into the string without the string length being decreased accordingly) More... about 12 years ago
CHANGE: SPAARG_DPCHAR, SPAARG_DCSTR accept NULL cmd->token, default value used only if token node completely missing (cmd == NULL) FIX: SPAARG_D... macros did not advance cmd to the next argument if cmd->token == NULL even if cmd != NULL More... about 12 years ago
NEW: Migrated to Direct3D 11 NEW: Components spad3d:VertexBuffer, IndexBuffer NEW: Components spad3dut:gridTriangleList, Instances, Object NEW: Properties spad3d:Device::flags, softwareRasterizer NEW: spad3dut:Grid: new commands for compatibility with spad3dut:Instances NEW: spad3d:RenderTargets::add: accept any D3D resource component if format and number of elements are given in optional argument (including vertex or index buffer) NEW: Script class D3DGridInst CHANGE: Scripts rewritten to reflect various changes to SPA and SPA Utils packages since the last commit, such as ~, ^, variadic arguments, if ! and others. CHANGE: Component spad3dut:Text removed since the facilities it relied on are not present in Direct3D 11 FIX: spad3d:Device::unsetSamplerState: access violation FIX: Interface numbering and versioning FIX: D3DPresentTexture.spsc: BlendState fixed to SamplerState UPDATE: Components updated to compile with SPA 5 (static command map, nullary constructor removed, virtual inheritance removed) UPDATE: spad3dutbcb project and component code updated to C++Builder XE3 UPDATE: PsPad syntax highlighter updated to include *.gsh,*.dsh,*.hsh UPDATE: license.txt More... about 12 years ago
NEW: Command spaut:List::list accepts optional arguments that allow more complex output, see help for the command CHANGE: spaut:List::add, append: do not log error when no argument is given More... about 12 years ago
FIX: missing information in version 6.1.130326.txt More... about 12 years ago
NEW: spaut:Function, FunctionTokenized: variadic arguments NEW: Command spaut:List::list accepts optional left and right item enclosure NEW: spaut:Repeat::run: check iteration result for "exception" and "exception break" and if the later occurs, trim it from the result before returning it NEW: spautwin:File::exists NEW: spautwin:Thread::create: optional argument to specify stack size of the new thread NEW: lang.sps: funcv, functv, funcvl, functvl, throw, break, try, switch, scope NEW: utils.sps: useModule CHANGE: spaut:If::s: accept NULL strings in lhs and rhs tokens CHANGE: spaut:Function, FunctionTokenized::run: instead of "return" check "exception return" CHANGE: lang.sps: return: updated to manager and function switch from "return" to "exception" (resp. "exception return") CHANGE: lang.sps: func, funct, funcl, functl, math, eval: rewritten using variadic arguments CHANGE: class.sps, Array.spsc: rewritten using variadic arguments CHANGE: start.sps, lang.sps, class.sps, Array.spsc, Struct.spsc, scriptFileControl.sps: rewritten using ^ and ~ CHANGE: lang.sps: deprecated concat, exec, execArgs, result, NULL, sc, nl - obsolete since ~, ^ and the subsequent () and '' modifications CHANGE: lang.sps, utils.sps: code cleanup (removal of redundant {}) FIX: spaut:DataBuffer::read, write: seek position not updated FIX: spaut:List: prevent list changes during execution of commands all or withAll FIX: List of component names returned by spaut:getComponentList did not include Double. FIX: lang.sps: for, forCount: correctly return result of the iterated script if an exception was thrown inside (including deletion of auxiliary components) UPDATE: Components updated to compile with SPA 5 (static command map, nullary constructor removed, virtual inheritance removed) UPDATE: spautbcb project and component code updated to C++Builder XE3 UPDATE: PSPad syntax highlighter updated to reflect changes to lang.sps UPDATE: licence.txt More... about 12 years ago
NEW: Manager command legalNameChar to set which characters can be used in component names. Use with caution. More... about 12 years ago
Merge branch 'master' of ssh://spa-framework.git.sourceforge.net/gitroot/spa-framework/Spa More... over 12 years ago
NEW: cstr::cstr(long long), cstr::cstr(unsigned long long) CHANGE: CcstrHashMap renamed to CCstrHashMap CHANGE: Changes in naming convention of non-typedef struct (now the same naming convention as classes) and of typename (now camel with T at the beginning) CHANGE: ccstrhashmap.h, cpchahashmap.h, hashfunc.h: code refactored to reflect changes in naming convention CHANGE: CSPAComponent and descendants: code refactored to reflect changes in naming convention (mTCMDMAP -> mCCmdMap) CHANGE: CSPAManager: code refactored to reflect changes in naming convention (mTCOMP -> mCComp) CHANGE: vsnprintf_vsscanf.h renamed to vsnprintf_vsscanf.cpp FIX: ccstrhashmap.h, cpchahashmap.h: Changed not to use Google dense_hash_map when compiling in C++Builder (internal compiler error) FIX: CSmallAlloc: template parameter CLock renamed to CLockClass FIX: cstr: CSmallAlloc included and used conditionally if CSTR_ALLOC_NEW is not defined. Add CSTR_ALLOC_NEW to conditional defines in C++Builder project build options to work around an internal linker error. FIX: Empty command at the end of a script inside (), e.g. str a = a; con print (a;), caused the result of the script to be NULL instead of the result of the last non-empty command of the script More... over 12 years ago
6.0.130321 ===================== NEW: cstr::cstr(long long), cstr::cstr(unsigned long long) CHANGE: CcstrHashMap renamed to CCstrHashMap CHANGE: Changes in naming convention of non-typedef struct (now the same naming convention as classes) and of typename (now camel with T at the beginning) CHANGE: ccstrhashmap.h, cpchahashmap.h, hashfunc.h: code refactored to reflect changes in naming convention CHANGE: CSPAComponent and descendants: code refactored to reflect changes in naming convention (mTCMDMAP -> mCCmdMap) CHANGE: CSPAManager: code refactored to reflect changes in naming convention (mTCOMP -> mCComp) CHANGE: vsnprintf_vsscanf.h renamed to vsnprintf_vsscanf.cpp FIX: ccstrhashmap.h, cpchahashmap.h: Changed not to use Google dense_hash_map when compiling in C++Builder (internal compiler error) FIX: CSmallAlloc: template parameter CLock renamed to CLockClass FIX: cstr: CSmallAlloc included and used conditionally if CSTR_ALLOC_NEW is not defined. Add CSTR_ALLOC_NEW to conditional defines in C++Builder project build options to work around an internal linker error. FIX: Empty command at the end of a script inside (), e.g. str a = a; con print (a;), caused the result of the script to be NULL instead of the result of the last non-empty command of the script More... over 12 years ago
Asynchronous network sending More... over 12 years ago
NEW: spaman/cspamanager/module.h: CModuleLoaderCache to avoid redundant module instance constructions and calls to LoadLibrary. CSPAManager code changed so that module is released from module loader when deleted. A large decrease in memory consumption and a speedup of component construction. NEW: tools/clock.h: CLockScope to automatically unlock at the end of a scope NEW: cspacomponent.h: SPACMDMAPDECL, SPACMDMAPDEF, cspacomponentcon.h: SPACOMPONENTINIT macros to help facilitate command map static instance NEW: cspacomponent.h: SPAINHERITANCE macro - must be defined to "virtual" in order for some cases of multiple inheritance to work (libs must be recompiled), undefined if multiple inheritance not required. Mainly used to compile SPA Manager. CHANGE: CSPAComponent: Command map and "about" string moved to a static variable (mTCMDMAP changed from hash map to special struct) with each component instance holding only a pointer to it (mTCMDMAP *mCmdMap). A large decrease in memory consumption and a small speedup of component construction. Static instance must be declared and defined in the instantiated descendant and passed to CSPAComponent via constructor. See new macros SPACMDMAPDECL, SPACMDMAPDEF (cspacomponent.h) and SPACOMPONENTINIT (cspacomponentcon.h). CHANGE: CSPAComponent: nullary constructor removed, only CSPAComponent(mTCMDMAP *cmdMap, char* name, ISPAManager *man) available to force component atribute initialization CHANGE: CSPAComponent::mName type changed from cstr to char* (pointer provided by manager remains valid, no need for a copy) CHANGE: CSPAComponent::mCSRef changed from CCrisec to CSpinLock - smaller and faster CHANGE: CSPAComponentCon: nullary constructor removed, only CSPAComponentCon(mTCMDMAP *cmdMap, char* name, ISPAManager *man) available. Torce component atribute initialization. CHANGE: CSPAComponentCon::mCSCon and its use commented out as it only has any actual effect in a bad-practice scenario of calling the con command concurrently CHANGE: CSPAManager: component class names (as exposed by modules) stored in a map instead of being replicated for each component. Decreased memory consumption. CHANGE: CSPAManager: component name pointer provided to components remains valid throughout component lifetime, components do not need to copy the string. Decreased memory consumption. CHANGE: CSPAManagerDll: use CModuleLoaderCache CHANGE: depend/libhoard moved to source/spaman FIX: Exceptions did not cut script execution in () FIX: Escaped apostrophy not checked in nested apostrophes FIX: cpcharhashmap.h, ccstrhashmap.h, csmallalloc.h: several minor fixes and improvements UPDATE: Libhoard 3.9 More... over 12 years ago