wmayer
2bb5797568
PVS: V595 The pointer was utilized before it was verified against nullptr
2019-02-17 20:55:52 +01:00
wmayer
1e343d339f
PVS: V779 Unreachable code detected. It is possible that an error is present.
2019-02-17 20:12:56 +01:00
wmayer
3845350c0a
PVS: V773 A memory leak is possible
2019-02-17 18:40:06 +01:00
wmayer
b52f8d1e1d
PVS: V730 Not all members of a class are initialized inside the constructor
2019-02-17 11:49:51 +01:00
Bernd Hahnebach
57a0acffc0
Units: add various Material stress properties
2019-02-14 21:11:22 +01:00
wmayer
0677684047
copyObject should return the clone of the passed object for recursive copies, not an arbitrary object
2019-02-12 19:40:29 +01:00
wmayer
1081403d21
Expose some standard units and quantities to Python
2019-02-12 15:12:19 +01:00
luz.paz
4cfda0c3a5
Misc. typos
...
Found via `codespell`
2019-02-08 11:01:24 -02:00
wmayer
6e5369da3a
fix possible double destruction when removing a group and its content from document
2019-01-16 00:35:34 +01:00
wmayer
1f5059b5b2
fix crash when removing from document and accessing Python based feature
2019-01-13 17:50:48 +01:00
cclauss
9af7b83538
Missing import FreeCAD and/or FreeCADGui (again)
2019-01-07 12:25:27 -02:00
wandererfan
1b854e029b
Add support for DMS angles to Expressions
2018-12-23 11:03:02 -02:00
Abdullah Tahiri
47443dfd87
Improve debug info
2018-12-19 10:27:30 -02:00
wandererfan
be23cf133a
Revert Erroneous Change to parser
...
- ExpressionParser.y changed in error by commit
00e6376c. Regen ExpressionParser.tab.c and
lex.ExpressionParser.c
2018-12-14 19:30:49 +01:00
wandererfan
f8f85f0079
Improve "links go out of scope" message
2018-12-08 11:29:45 -03:00
wandererfan
00e6e376c9
Add ImperialCivil Units Schema
...
- units for civil engineering - ft, ft2, ft3, mph,
and angles as degrees/minutes/seconds
2018-12-06 08:57:17 -03:00
Abdullah Tahiri
a27e333852
Missing ExceptionProducer init for RestoreError
2018-11-27 13:23:44 -03:00
wmayer
7ceac311b3
add specialized exception type for bad graphs
2018-11-26 14:15:19 +01:00
wmayer
29eeb6c2d8
fix crash if origin feature doesn't exist when trying to create dependency graph
2018-11-26 13:09:11 +01:00
wmayer
ddb20468ad
some additions to pR 1794:
...
add a special XMLAttributeError class to indicate an error when accessing a missing attribute
in PropertyContainer::Restore make error handling more flexible
2018-11-19 19:07:56 +01:00
Abdullah Tahiri
7216dba2f3
remove forgoten exception
2018-11-19 11:31:10 +01:00
Abdullah Tahiri
b6a37e153f
Example implementation
2018-11-19 11:31:10 +01:00
Abdullah Tahiri
8db80c5c99
Property: dropping isorderrelevant boolean member in favour of bit in the status of the properties
2018-11-19 11:31:09 +01:00
Abdullah Tahiri
1b152ee689
Example code of propagating the result of the partial restore
2018-11-19 11:31:08 +01:00
Abdullah Tahiri
580bb268d4
make App::Property aware of whether the order on the list is relevant or not
2018-11-19 11:31:07 +01:00
wmayer
e58f72933a
fix DocumentObject::isInInListRecursive and DocumentObject::isInOutListRecursive
2018-11-16 01:14:33 +01:00
wmayer
c009a206f8
make _getInListRecursive much more efficient by avoiding to process objects multiple times
2018-11-15 23:17:04 +01:00
wmayer
5479936894
remove superfluous error messages in In/Out list methods
2018-11-15 22:16:29 +01:00
wmayer
23addab20d
fix exception message
2018-11-14 23:18:27 +01:00
wmayer
7dc13bd2d6
Replace Base::Exception with appropriate subclass
2018-11-14 23:17:42 +01:00
wmayer
a7094210f8
Fix scan coverity issues:
...
CID 184294: Uncaught exception
CID 183597: Unchecked return value
CID 175809: Dereference before null check
CID 175810: Logically dead code
CID 133000: Uninitialized scalar variable
CID 133001: Uninitialized scalar variable
CID 183591: Explicit null dereferenced
2018-11-13 16:47:58 +01:00
wmayer
de074ec4f3
fixes 0003518: Expressions (fx) not updated
2018-11-11 10:58:48 +01:00
wmayer
442e2dd381
add method to check if an open transaction is empty
...
This is needed to avoid to incorrectly abort a transaction if a recompute was done between opening and closing an editor in the property view
2018-11-10 14:50:58 +01:00
wmayer
b65faeff77
fixes 0003627: Hole fails to restore from file
2018-11-10 01:13:42 +01:00
wmayer
36b9a1c45c
Add unit tests to check the new Prop_NoRecompute value
2018-11-08 10:24:14 +01:00
wmayer
6186a310d7
Add a new PropertyType enum Prop_NoRecompute to reduce possible inconsistencies between touched and recomputed features.
...
At the moment many feature classes lack of the mustExecute() method and thus can cause a touched feature not to be recomputed and causes the feature to be in a broken state.
Now this new enum value virtually makes the mustExecute() superfluous and thus guarantees to recompute a feature if a modified property has not set the Prop_NoRecompute flag.
On the other hand there are properties that should only touch a feature but not enforce a recompute. This guarantees a better performance and avoids unnecessary recomputes.
For example this is useful for placements where a change can be applied on-the-fly and the feature is up-to-date. Other features that depend on the touched feature will still be recomputed.
2018-11-08 10:20:50 +01:00
wmayer
dedf42102e
remove leftover of boost.signals headers
2018-11-05 00:03:36 +01:00
wmayer
40cec5f72a
add/extend helper classes to savely access document, document objects or view providers
2018-10-31 11:24:45 +01:00
wmayer
f898eafd64
move from deprecated boost.signals to boost.signals2 library
2018-10-30 19:09:03 +01:00
wmayer
1538a14eca
leave license field and url of a Part container empty to avoid possible confusion with imported 3rd-party STEP/IGES models
2018-10-29 15:24:12 +01:00
wmayer
17c783051b
extend FreeCAD.getUserMacroDir to accept boolean to either return actual or default macro directory
2018-10-28 17:10:10 +01:00
wmayer
907cdb8fa0
add module for Qt translation stuff
2018-10-28 12:58:14 +01:00
wmayer
b6712e264a
fix crash with Py3 when releasing memory buffer
2018-10-27 19:58:54 +02:00
wmayer
3b1e1f8859
remove trailing whitespaces
2018-10-27 18:12:36 +02:00
ickby
b262cf6e9f
Persistence: Incorporate review feedback
2018-10-27 16:15:39 +02:00
ickby
c60364772a
Persistence: Test cases for content dump
...
It turned our that the document could not be dumped as the xml specifier was used as first element. As the dumping added the <content> element around it was invalid. However, content is required to read properties. Hence the xml element generation was moved.
2018-10-27 16:15:30 +02:00
ickby
4a7d49f8b6
Persistence: Enable binary dumps of properties
2018-10-27 16:15:09 +02:00
luz.paz
b78a6b57fa
Another typo fix
2018-10-25 11:06:28 -03:00
luz.paz
f976a4f734
Misc. typos and whitespace fixes
...
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ../fc-word-whitelist.txt` and `grep`
2018-10-25 11:06:28 -03:00
wmayer
be586d089e
improve whitespaces
2018-10-24 19:41:21 +02:00