Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development 0.9.2 #16

Open
wants to merge 122 commits into
base: initial-v1
Choose a base branch
from
Open

Development 0.9.2 #16

wants to merge 122 commits into from

Conversation

hipBali
Copy link
Owner

@hipBali hipBali commented Jan 9, 2024

No description provided.

hipBali and others added 30 commits January 5, 2024 14:06
also document current handling of first ref
and remove refs from inner classes since they are ignored
roman-orekhov and others added 30 commits February 20, 2024 01:53
…able parameters

e.g. grid:Cells(c,r) gets value, grid:Cells(c,r,v) sets value
Tip: get the method once like local gc = grid.Cells
Also:
1) mark Strings as nocreate since it's an abstract class
2) remove ToTable in favor of automatic ToStringArray2
3) change push placeholder from 'ret' to avoid replace errors
…soleted setArray, add shortcut to create TStringList from table of strings
Getters are added to VMT with a flag to automatically call the getter when accessed.
  These new getters are considered before accessing published properties
Setters are added to a separate hash table 'propSets', it should be changed along with 'vmts'
  These new setters are considered after trying published properties
Custom handling for TStrings properties is removed
Fix reporting of setting prop on null object
…m, no types provided) and listing properties by typename
1) event functions are not supported yet
2) public, published and protected events are autosupported
3) fix considering protected methods as public methods (in TreeView)
4) the mechanism can be used to support any callback (e.g. sort callback)
…erated and published properties

Also:
1) remove special handling for 'Parent' property since it's available from TControl now (but only with proper casing)
2) fix TShortCut handling
-- it can be read as a string
-- errors from set are reported
-- setting as string are supported in methods, not only for properties
3) fix TColor handling
-- it can now be set as a string also in methods and optional parameters, not only in properties
-- errors from set are reported
-- export VCL.ColorToIdent to convert from numeric color value to a string (reading TColor is always numeric)
4) add error reporting for enums and sets misprints
5) replace deprecated tkClass handling via Int64 with G/SetObjectProp
6) use luaL_check* functions in SetProperty to handle errors
7) add temporary support for TMemo.Lines
8) support updating from table for both generated and published properties, even if the table contains both types
-- report error if the tkClass-property being updated this way wasn't set at all
9) support getting On... event properties as functions
10) remove extra lua_pops from GetProperty
11) clear LuaProperties and LuaProxy uses lists
12) speed up luaL_check for float types in Lua 5.3+
13) update examples to showcase some of the changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants