wmayer
e4435cdcba
Base/App: fix warnings from code analysers:
...
* convert old-style-casts to explicit C++ casts where possible
* make some implicit conversions explicit
2022-03-06 23:49:30 +01:00
Uwe
b4fff07d9e
[App] Expression and Extension: remove unused includes
2022-02-25 18:06:57 +01:00
Zheng, Lei
afd003db78
App: fix Enumeration assignment and comparison
2021-12-21 21:41:02 -07:00
Zheng, Lei
72ae26dfee
App/Gui: improve expression binding of PropertyEnumeration
...
The enumeration items are exposed through sub path '.Enum'. When
'ShowAll' is enabled in property view, this sub path is exposed as a
sub property item named 'Enum', and can be either manually edited or
bound with an expression.
2021-11-14 20:45:09 -06:00
Zheng, Lei
3cc2b49ee9
App: fix crash on copy of Enumeration
2021-11-14 20:45:09 -06:00
wmayer
3ed720dcd3
App: [skip ci] fix memory leaks:
...
Found two memory leaks in class Enumeration
* method tearDown() always ignored to free the memory of the first element
* assignment operator didn't call tearDown() when needed
2021-04-25 21:58:24 +02:00
wmayer
8fcd436de1
+ fix Enumeration::contains: the current index is irrelevant when searching for an entry in the enumeration
...
+ only print a warning if the enumeration is not empty but the restored index is < 0
2020-05-19 08:45:02 +02:00
luz.paz
4f308dc03c
src/App: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all `src/App` files
2019-12-25 11:38:43 +01:00
wmayer
d93f9b1868
Fix crash in enum property due to index out of range
2017-08-28 12:55:19 +02:00
wmayer
3f4f8077e5
comment out problematic asserts
2016-09-16 14:22:17 +02:00
wmayer
c3656ad646
+ replace assert() to avoid crash
2015-08-29 16:34:36 +02:00
wmayer
070198ecf2
+ fix gcc build failure
2015-04-25 10:21:32 +02:00
Ian Rees
f1b75dbe29
Refactored PropertyEnumeration
2015-04-24 23:33:33 +02:00