wmayer
fa5b47df16
Fix scan coverity issues:
...
CID 184350: Null pointer dereferences
2018-11-20 15:11:43 +01:00
Mateusz Skowroński
11da78f582
Explicitly set CMake's CMP0072 to OLD.
2018-11-20 09:44:11 +01:00
Yorik van Havre
63bb7db4a6
Fixed coverity issues
...
184348 Bad use of null-like value
175794 Copy-paste error
172913 Copy-paste error
169506 Structurally dead code
169504 Bad use of null-like value
169013 Copy-paste error
2018-11-19 19:36:50 -02:00
Yorik van Havre
31b896ad07
Fixed coverity issues
...
184298 Bad use of null-like value
183849 Bad use of null-like value
183846 Bad use of null-like value
183845 Copy-paste error
183844 Bad use of null-like value
2018-11-19 19:17:56 -02:00
wmayer
a41a130704
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
6bffbf801c
remove forgoten exception
2018-11-19 11:31:10 +01:00
Abdullah Tahiri
36d748c29e
Example implementation
2018-11-19 11:31:10 +01:00
Abdullah Tahiri
7cfae563c3
Extension of XMLReader to facilitate partial restores
2018-11-19 11:31:10 +01:00
Abdullah Tahiri
012e35253a
fix exception catching by reference
2018-11-19 11:31:09 +01:00
Abdullah Tahiri
bf6f2b855d
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
a7e0b93dd1
Example code of propagating the result of the partial restore
2018-11-19 11:31:08 +01:00
Abdullah Tahiri
ff0b5a288f
ZipStream: Change precision from 12 to 16 decimals
...
==================================================
Fixes:
https://forum.freecadweb.org/viewtopic.php?f=3&t=32212&start=10#p269080
2018-11-19 11:31:08 +01:00
Abdullah Tahiri
af7d75c43f
SketchObject: Activate relevant propertylist order
2018-11-19 11:31:08 +01:00
Abdullah Tahiri
829420df93
PropertyGeometryList: enable a partial recover on certain errors
2018-11-19 11:31:07 +01:00
Abdullah Tahiri
856dbf377f
App:Geometry make LineSegments do a best effort for recovering erroneus data
2018-11-19 11:31:07 +01:00
Abdullah Tahiri
36cdcf270d
make App::Property aware of whether the order on the list is relevant or not
2018-11-19 11:31:07 +01:00
Abdullah Tahiri
83bee99cde
New Base::Exception type RestoreError
2018-11-19 11:31:07 +01:00
wandererfan
3ec65a32ec
Fix View position in ClipGroup
2018-11-19 10:12:09 +01:00
wandererfan
fdb6bc7c76
Fix #3699 ClipGroup Regression from v0.17
2018-11-19 10:12:08 +01:00
wandererfan
deeceead68
Fix #3698 Detail of Section View
2018-11-19 10:12:08 +01:00
wmayer
a0795e1236
improve whitespaces
2018-11-19 10:03:50 +01:00
Abdullah Tahiri
434ce91e8d
Sketcher: Improving group constraint preselection
...
=================================================
the position obtained from the SoPath of the picked point when entering
the combined icon object is not the center of the icon, what leads to
wrong preselection or no preselection at all.
This commit uses the translation of the Constraint node, which is the same that
is used to locate the constraint icons on the screen in the first place.
2018-11-18 12:03:13 +01:00
Abdullah Tahiri
50af914311
Sketcher: Fillet increase debugging verbose and disable by default
2018-11-18 12:03:05 +01:00
Yorik van Havre
75b939eb21
Draft: re-added missing arcFrom2Pts function in DraftGeomUtils
2018-11-16 18:28:01 -02:00
wmayer
132076f33b
improve drag and drop in tree view
2018-11-16 17:19:58 +01:00
plgarcia
402487fb7e
Improvement and correction drags and drops in tree views.
2018-11-16 13:14:57 +01:00
wmayer
5a9c65e4fc
use more speaking variable names
2018-11-16 11:24:25 +01:00
wmayer
62533a22b5
fix DocumentObject::isInInListRecursive and DocumentObject::isInOutListRecursive
2018-11-16 01:14:33 +01:00
wmayer
5997bac049
make _getInListRecursive much more efficient by avoiding to process objects multiple times
2018-11-15 23:17:04 +01:00
wmayer
6e9b2d1bfe
remove superfluous error messages in In/Out list methods
2018-11-15 22:16:29 +01:00
wmayer
e63fa8161a
fix re-throwing an exception
2018-11-15 17:20:55 +01:00
wmayer
f2d963edce
harmonize settings for DAGView with other dockable windows
2018-11-15 10:58:14 +01:00
wmayer
0b60a64395
Enable again the standalone tree and property view by default
2018-11-15 10:24:53 +01:00
wmayer
87cfa25a23
fix file guards
2018-11-14 23:58:19 +01:00
wmayer
d5a41cdecf
fix exception message
2018-11-14 23:18:27 +01:00
wmayer
9b41132580
Replace Base::Exception with appropriate subclass
2018-11-14 23:17:42 +01:00
wmayer
9aa6a700d8
Replace Base::Exception with appropriate subclass
2018-11-14 19:45:20 +01:00
wmayer
d7ec2b1368
Replace Base::Exception with appropriate subclass
2018-11-14 19:42:10 +01:00
wmayer
00de5bb7ad
Replace Base::Exception with appropriate subclass
2018-11-14 19:28:00 +01:00
wmayer
21d01fe6fc
Replace Base::Exception with appropriate subclass
2018-11-14 19:27:52 +01:00
Yorik van Havre
d478c3057b
Selection view: only select search results when enter is pressed
2018-11-14 15:11:54 -02:00
wmayer
d4bf7d1f6f
Replace Base::Exception with appropriate subclass
2018-11-14 18:02:49 +01:00
wmayer
cda4c96fa8
Replace Base::Exception with appropriate subclass
2018-11-14 17:47:43 +01:00
wmayer
d11bfed7c6
Replace Base::Exception with appropriate subclass
2018-11-14 17:36:00 +01:00
wmayer
c7f881ee43
Replace Base::Exception with appropriate subclass
2018-11-14 17:23:48 +01:00
wmayer
145cefb131
Replace Base::Exception with appropriate subclass
2018-11-14 17:19:30 +01:00
wmayer
e22ab44e61
Replace Base::Exception with appropriate subclass
2018-11-14 17:11:53 +01:00
wmayer
66b889044b
fixes 0003689: Snap to grid checkbox in edit control widget does not update
2018-11-14 12:40:39 +01:00
PoroCYon
653a5ea047
OpenSCAD: fix error in workaroundforissue128needed with date formats (YYYYMMDD vs YYYY.MM.DD)
...
This happens when the git version of OpenSCAD is installed (which uses YYYYMMDD), instead of
the latest released version (from 2015, which uses YYYY.MM.DD).
2018-11-14 00:14:19 +01:00
wmayer
31963f16c1
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