wmayer
9fa56345cf
core system
...
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
wmayer
662eb5c092
remove unused variable
2019-09-03 17:21:16 +02:00
Zheng, Lei
05155daf82
App: improve exception message in PropertyExpressionEngine
2019-08-30 15:50:13 +02:00
wmayer
05f1680360
work around to fix build failure with clang 3.4
2019-08-20 14:24:27 +02:00
luz.paz
3a1a6eb7d8
Fix typos in src/App
2019-08-17 15:32:48 +02:00
Zheng, Lei
ced27a69c6
PropertyExpressionEngine: convert to link type property
...
PropertyExpressionEngine is changed to derived from a new class
PropertyExpressionContainer, which is in turn derives from
PropertyXLinkContainer. This makes PropertyExpressionEngine a link type
property that is capable of external linking. It now uses the unified
link property APIs for dependency management and tracking of object
life time, re-labeling, etc.
ObjectIdentifier is modified to support sub-object reference, but is
not exposed to end-user, because expression syntax is kept mostly
unchanged, which will be submitted in future PR. There is, however,
one small change in expression syntax (ExpressionParser.y) to introduce
local property reference to avoid ambiguity mentioned in
FreeCAD/FreeCAD#1619
Modified Expression/ExpressionModifier interface to support various link
property API for link modification.
2019-08-17 14:52:09 +02:00
luz.paz
ce91b1f766
Misc. typo fix
...
Found via `codespell`
2018-10-11 16:21:28 -04:00
wmayer
004206aa0b
0003279: Error 'invalid DAG' after deleting sketch using expressions
2018-01-31 00:27:38 +01:00
wmayer
440f2e8f56
when overriding an expression remove dependencies from old expression to avoid recompute failures due to invalid DAG
2017-10-07 20:39:16 +02:00
luzpaz
f3bf8fe919
Misc. typos
...
+ some are doxy others are just comment code.
+ some minor whitespace and grammatical tweaks.
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366 ). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
Stefan Tröger
892301367a
Expressions: Prevent backlink creation to same objects. fixes #0003192
2017-09-21 12:11:13 +02:00
wmayer
8e21d98a9a
do some security checks to avoid accessing invalid data
2017-09-12 15:21:07 +02:00
luzpaz
5be4fb5cdc
typo fix
2017-07-10 19:29:55 -03:00
wmayer
fb7094bf31
use specialized exception classes
2017-04-28 18:49:11 +02:00
Kunda
31b0233393
source typo fixes pt6
2017-03-07 13:43:46 -03:00
Stefan Tröger
a1deaf8338
DAG: Fix preprocessor definition inconsistencies
2017-01-21 19:15:36 +01:00
Stefan Tröger
49716393c6
DAG: Change object graph handling to be bidirectional
2017-01-21 19:15:36 +01:00
wmayer
2af6bb6e49
replace deprecated auto_ptr with unique_ptr
2016-09-22 13:01:20 +02:00
Eivind Kvedalen
36426ef255
PropertyExpressionEngine: Fixed warning.
2016-02-18 16:54:45 +01:00
Eivind Kvedalen
90b4cf70ae
PropertExpressionEngine: Ignore dependencies that does not resolve to a document when verifying expressions.
2016-02-18 16:54:44 +01:00
Eivind Kvedalen
882d5423cd
PropertyExpressionEngine: Fixed bug in Copy and Paste (make deep copies of the expressions).
2016-02-18 16:54:43 +01:00
Eivind Kvedalen
452650440b
PropertyExpressionEngine: Refactored and moved visitor code to separate file.
2016-02-18 16:54:41 +01:00
Eivind Kvedalen
495b23209c
Document/PropertyExpressionEngine: Added onDocumentRestored function, to update internals of PropertyExpressionEngine after loading a document from disk.
2016-01-08 23:08:55 +01:00
Eivind Kvedalen
72bb18a53f
PropertyExpressionEngine/DocumentObject: Track object deletes and update dependencies accordingly.
2015-12-21 14:11:13 +01:00
Eivind Kvedalen
9d1c1ba0e1
PropertyExpressionEngine::slotObjectRenamed(...): return immediately if the property's owner is not part of an object (e.g on the undo stack).
2015-12-21 14:11:13 +01:00
Eivind Kvedalen
48de598f82
PropertyExpressionEngine::slotObjectRenamed(...): only change the object if it is absolutely necessary,
...
or else the object will in most cases be touched, leading to unnecessary recomputes.
2015-12-21 14:11:12 +01:00
wmayer
6855e775b2
+ implement PropertyExpressionEngine::getPyObject
2015-12-13 22:40:07 +01:00
Stefan Tröger
2c249e69f2
Expressions: Fix property editor behavior
...
- change responsibility of python code emition
- Correct python code handling for expressions
- handle constraints expressions handling
2015-12-09 14:08:50 +01:00
Stefan Tröger
96a586d04a
Expressions: Integrate into the property editor
...
- basic infrastructure for handling of expressions
- port the unit properties editor to support expressions
- port placement editor to support expressions
- expressions for double spinbox
- expressions in sketch constraints
2015-12-09 14:08:48 +01:00
wmayer
2acb38daa7
+ fix clang warning: -Woverloaded-virtual
2015-10-02 20:42:16 +02:00
Eivind Kvedalen
d7d184e198
Removed PropertyExpressionEngine::getPaths() method.
2015-09-30 15:54:16 +02:00
wmayer
343c915569
+ reimplement virtual methods in PropertyExpressionEngine
2015-09-25 00:52:44 +02:00
Eivind Kvedalen
bcbec533db
Added PropertyExpressionEngine class.
2015-09-21 14:51:05 +02:00