Skip to content
Permalink
Branch: master
Commits on Apr 17, 2019
  1. Merge pull request #513 from sodevel/feature_growables

    sodevel committed Apr 17, 2019
    Add support to specify the proportion of growable rows and columns of grid based sizers
Commits on Mar 29, 2019
  1. Sizers with growable columns or rows support the specification of the…

    sodevel committed Mar 23, 2019
    … proportion
  2. Extend Object interface of plugin interface to include a dedicated me…

    sodevel committed Mar 23, 2019
    …thod to easily return the datatypes PT_INTPAIRLIST and PT_UINTPAIRLIST
  3. Add datatypes PT_INTPAIRLIST and PT_UINTPAIRLIST

    sodevel committed Mar 23, 2019
    These will be used to specify the proportion of growables of sizer items and are optimized for that purpose, which means they will drop the second
    element on display if it is zero.
    
    The implementation is based on the IntList type which got extended to support pair elements.
Commits on Mar 28, 2019
  1. Merge branch 'fix_wxcollapsiblepane'

    sodevel committed Mar 28, 2019
    Some optimizations and fixes for wxCollapsiblePane code generation
  2. Fix Lua code generator integrated template

    sodevel committed Aug 5, 2018
    The integrated template in the Lua code generator produces a wrong result (see wxCollapsiblePane generated code), apparently it uses the wrong #parent macro. All the other code generators use #wxparent in this template, use it here as well.
  3. Optimize and simplify wxCollapsiblePane code generation

    sodevel committed Aug 5, 2018
    Instead of assuming a certain layout of construction code templates and search-and-replace them to inject the call for GetPane() use the same approach like for wxStaticBoxSizer, let the #wxparent macro detect the wxCollapsiblePane and return the correct code fragment.
    
    This reverts the code generator parts of ed8f84c.
Commits on Mar 23, 2019
  1. Add sizer properties after all child elements have been added to wxGr…

    sodevel committed Mar 23, 2019
    …idBagSizer
    
    Adding growable rows or columns does not work if these have not been created previously by adding child elements.
    
    Fixes #509
Commits on Feb 8, 2019
  1. Interpret a missing child value of type boolean as true

    sodevel committed Feb 8, 2019
    This synchronizes the behavior of the Object Inspector with the C++ Code Generator, currently the only instance using this child type.
  2. Perform subclass forward declaration even if header is empty

    sodevel committed Feb 8, 2019
    This restores the behavior to before commit 81a138b but with the extension that this is only done if the subclass should be forward declared.
    This allows to forward declare local elements in the project file so they are not required to be defined before elements that depend on them.
Commits on Feb 7, 2019
  1. Code cleanup

    sodevel committed Aug 10, 2018
    Make files self contained by including required headers, add missing override, remove unused code, some other small code style fixes.
  2. Implement array code generation for Lua

    sodevel committed Aug 4, 2018
    The implementation is based on the PHP implementation and uses indexed tables.
  3. Implement array code generation for Python

    sodevel committed Aug 4, 2018
    The implementation is based on the PHP implementation and uses dictionaries.
  4. Implement array code generation for PHP

    sodevel committed Aug 4, 2018
    The implementation is based on the C++ implementation and uses array().
  5. Implement array code generation for C++

    sodevel committed Aug 10, 2018
    Generate the proper array declaration code and skip following declaration steps of objects using the same array base name. Add a project property to enable the generation of anonymous enums with symbols of the form MYWIDGET_SIZE for single dimensional arrays and MYWIDGET_0_SIZE, MYWIDGET_1_SIZE, ... for multi dimensional arrays which store the number of elements of the corresponding array dimension. These enums will get created for non-private objects when enabled.
  6. Optimize TemplateParser::ParseLuaTable()

    sodevel committed Aug 10, 2018
    Don't create a copy of the project data object and use faster string methods.
  7. Add support to use arrays as names of objects

    sodevel committed Aug 10, 2018
    This allows to use names of the form myWidget[0], myWidget[1], ... for non-toplevel objects, multiple dimensions are also supported. This commit implements the required data structures and parsing methods to detect the array names and parse their dimensions. The #append macro got extended to detect preceeding array names and modifies them to create valid identifiers for all supported languages.
Commits on Sep 22, 2018
  1. Fix xml (#475)

    sodevel authored and jhasse committed Sep 22, 2018
    * Add support for wxSP_NOSASH and wxSP_THIN_SASH
    
    * Use correct default style flags for wxTimePickerCtrl
    
    Replace the copy-paste error of wxDP_DEFAULT with wxTP_DEFAULT, fix #461
Commits on Aug 14, 2018
  1. Code synchronization and cleanup

    sodevel committed Aug 14, 2018
    Apply the same logic and code style to the other bitmap cases and do some formatting and whitespace cleanup.
    
    TODO: That const_cast doesn't look right there and might explain that e.g. changing child values of source type wxArtProvider doesn't work correctly. It is probably not a good idea to modify the property in that method but move that functionality to OnSetValue().
  2. Implement bitmap XRC resource loading code generation for Lua

    sodevel committed Aug 7, 2018
    The global wxXmlResource object is used and needs to be set and initialized by the application code.
  3. Implement bitmap XRC resource loading code generation for PHP

    sodevel committed Aug 4, 2018
    The global wxXmlResource object is used and needs to be set and initialized by the application code.
  4. Implement bitmap XRC resource loading code generation for Python

    sodevel committed Aug 4, 2018
    The wxXmlResource singleton is used and needs to be initialized by the application code.
  5. Implement bitmap XRC resource loading code generation for C++

    sodevel committed Aug 14, 2018
    The wxXmlResource singleton is used and needs to be initialized by the application code.
  6. Add the bitmap source type Load From XRC

    sodevel committed Aug 14, 2018
    Add a new option to the wxFBBitmapProperty to load the bitmap from the XRC system. This allows using [Binary Resource Files](http://docs.wxwidgets.org/trunk/overview_xrc.html). It is up to the application code to initialize the XRC resources.
Commits on Aug 3, 2018
  1. Enable the disabled wxStaticBoxSizer highlight fixes

    sodevel committed Jul 16, 2018
    Fix the contained shadow warning and reformat according to current guidelines.
Commits on Aug 2, 2018
  1. Move package ordering from ObjectDatabase to wxFbPalette

    sodevel committed Aug 2, 2018
    This removes the only GUI related package ordering from the ObjectDatabase and unites the split logic of reading the package order in ObjectDatabase but writing it in wxFbPalette. Now the whole ordering related code is together in the affected GUI component.
  2. Make package notebook reorder able and store page order

    sodevel committed Aug 2, 2018
    The notebook pages of the packages can be reordered and their order gets stored in the configuration.
Commits on Aug 1, 2018
  1. Update project file version to 1.15

    sodevel committed Aug 1, 2018
    This properly converts old project files to use the new flag names. This is also done for the changes from the commits dcd6591 and 99e0708.
  2. Rename the remaining wx*_CENTRE to wx*_CENTER

    sodevel committed Aug 1, 2018
    This updates the remaining flags and help messages to use the new name.
    NOTE: wxHL_ALIGN_CENTRE is the only flag using the old name because wxWidgets doesn't have a new one yet.
Commits on Jul 27, 2018
  1. Added override to the base implementations

    sodevel committed Jul 27, 2018
  2. Fix assertions because of lost event handlers

    sodevel committed Jul 27, 2018
    The smart trick of the Component base class to pop the event handler if it doesn't match the object does not work because certain wxWidgets elements push event handlers themselves on child objects so this condition cannot be used to determine if the Component itself has pushed one. Remove the cleanup code from the base class and implement it in the derived class instead, this one knows for sure if it has pushed an event handler or not.
    
    NOTE: This introduces an API break, plugins are now required to clean up their pushed event handlers, the base class doesn't do it anymore.
Commits on Jul 26, 2018
  1. Use safer values for static WindowIDs and safer methods to create dyn…

    sodevel committed Jul 26, 2018
    …amic WindowIDs
    
    All static #define'ed WindowIDs have been replaced with enum values and their values have been shifted into wxID_HIGHEST + x range. This is recommended by wxWidgets to prevent clashes with their own static WindowIDs. Additionally collisions between elements that might appear in the same "event-context" have been resolved by shifted the values apart.
    
    For dynamic WindowIDs the deprecated method calls have been replaced with the new method that doesn't create values that can collide with the static WindowIDs. All literal appearances of -1 for a WindowID have been replaced with wxID_ANY.
  2. Support additional wxDataViewColumn parameters

    sodevel committed Jul 26, 2018
    The mode, width, alignment and flags of a wxDataViewColumn can now be specified. In addition the ellipsize mode of the used wxDataViewRenderer can be specified as well.
    
    NOTE: Code generation is only implemented for C++ and Python because it was only present for these languages.
  3. Fix reading and writing of the subclass element and all other element…

    sodevel committed Jul 26, 2018
    …s that are of type PT_PARENT
    
    The method used to extract the value of a composed wxPGProperty always returns an empty result, only GenerateComposedValue() does return a value. All locations testing a boolean of such a composed property now use the same approach, compare against the property name. Because of the rather strange storage format of a composed boolean and especially the difference to the format of a non-composed boolean comments about the storage format have been added. Parsing the default values of PT_PARENT child elements from a XML file now works properly with empty child tags.
Commits on Jul 25, 2018
Older
You can’t perform that action at this time.