| 4b9f6f96 | 31-Oct-2026 |
Pedro Giffuni <pfg@apache.org> |
Fix BASIC preprocessor heap corruption and token table issues
- Fix TokenLabelInfo array size: INTERFACE+1 -> PP_CONST+1 to prevent out-of-bounds access with preprocessor tokens - Restore PPIf whi
Fix BASIC preprocessor heap corruption and token table issues
- Fix TokenLabelInfo array size: INTERFACE+1 -> PP_CONST+1 to prevent out-of-bounds access with preprocessor tokens - Restore PPIf while-loop body with proper nesting tracking - Extend evaluatePPTerm for NE/LT/GT/LE/GE comparison operators - Fix #Const to use EQ token instead of ASSIGN - Rewrite skipStatement with nested #If tracking - Simplify skipUntilEndIf to use Next() directly - Fix StmntTable entries for PP_IF/PP_ELSEIF/PP_ELSE/PP_ENDIF (bMain: N->Y) - Update Parse() to handle PP tokens in error path - Add maConstNumMap for numeric #Const values - Fix sbxmod_override in test Makefile
show more ...
|
| c25b349d | 30-Oct-2026 |
Pedro Giffuni <pfg@apache.org> |
Implement Scripting.Dictionary for VBA compatibility
Add Scripting.Dictionary implementation (ooo.vba.scripting.Dictionary service) with full Item/Add/Exists/Keys/Items/Remove/RemoveAll/Count/Compar
Implement Scripting.Dictionary for VBA compatibility
Add Scripting.Dictionary implementation (ooo.vba.scripting.Dictionary service) with full Item/Add/Exists/Keys/Items/Remove/RemoveAll/Count/CompareMode/Key support.
Key changes: - sbunooobj.cxx: Add SBX_HINT_DATACHANGED handler for pMeth to support dict("key") = value setter via invoke("Item", [key, value]) - sb.cxx: Add CreateObject("Scripting.Dictionary") handler - vbadictionary.cxx/hxx: Full Dictionary UNO component implementation - XDictionary.idl: IDL interface with XDefaultMethod, XInvocation, XPropertySet, XHelperInterface - Add INTERFACE token to SbiToken enum for VBA parsing - Fix pre-existing build errors in vbadictionary, vbaapplication, vbafiledialog, and vbarange
show more ...
|
| 7d004b60 | 30-Oct-2026 |
Pedro Giffuni <pfg@apache.org> |
Implement VBA compatibility packages: Match, Run, Formula2, #If/#Const
Package 1 (Range.Value2): Already existed in codebase Package 2 (Application.Match): Works through invoke/FunctionAccess Packag
Implement VBA compatibility packages: Match, Run, Formula2, #If/#Const
Package 1 (Range.Value2): Already existed in codebase Package 2 (Application.Match): Works through invoke/FunctionAccess Package 3 (Application.Evaluate): Existing implementation extended for formulas Package 4 (Application.Run): Added to XApplication.idl and implemented via XScriptProvider dispatch; hasMethod recognizes 'Run' Package 5 (#If/#Const): Added PP_IF/PP_CONST tokens to SbiToken enum, tokenizer handler for #-prefixed directives, PPIf/PPConst parser methods with constant expression evaluation and block skip logic Package 6 (Range.Formula2): Added to XRange.idl, implemented in vbarange.cxx via delegation to Formula methods
show more ...
|