Commit Graph

8965 Commits

Author SHA1 Message Date
Yorik van Havre
e8e10ed05d Arch: Allow to manually edit structural nodes - issue #2356 2016-10-09 23:18:23 -03:00
Yorik van Havre
9914f3690e Arch: Allow planar structural nodes for slabs - issue #2356 2016-10-09 23:17:49 -03:00
wmayer
58359dd0ba issue #0002723: Vertex ordering of Face 2016-10-09 23:33:23 +02:00
wmayer
776c0bd720 fix crash when creating a second view and closing the first view while the dragger task panel is open 2016-10-09 22:16:21 +02:00
wmayer
f712e1cfc3 move disabling of some commands to task panel 2016-10-09 19:45:30 +02:00
Yorik van Havre
0704ad0b71 Draft: Fixed parametric dimensions - fixes #1804, #2614 2016-10-09 14:20:05 -03:00
wmayer
3cac7be520 issue #0002724: Redirecting messages to Python console apply issue. 2016-10-09 18:47:11 +02:00
wmayer
ff1b9dde41 issue #0002687: zoomin/out during transform 2016-10-09 18:32:18 +02:00
wmayer
c1b1646e2e remove superfluous semicolons 2016-10-09 14:00:58 +02:00
wmayer
a90907530f issue #0002714: Segfault in PropertyLinkSubList::Save 2016-10-09 13:49:57 +02:00
wwmayer
f2a84b0364 Merge pull request #305 from bblacey/develop
Exit application with non-zero general error status code if an except…
2016-10-09 11:18:34 +02:00
Bruce B. Lacey
400891fcfe Exit application with non-zero general error status code if an exception is raised 2016-10-08 15:57:50 -07:00
Keith Sloan
e0b9e29db9 Tidy up of text command support 2016-10-08 22:15:28 +02:00
wmayer
b4020f2cc8 fix bug in generation script 2016-10-08 18:48:27 +02:00
wmayer
b17ae2a922 fix warnings in smesh 2016-10-08 18:23:04 +02:00
wmayer
68ea7fdac5 fix coverity issues 2016-10-08 17:43:30 +02:00
wmayer
6d3e2a396a set -Wextra as default 2016-10-08 15:28:51 +02:00
wmayer
09028b0a7f + fix -Wunused-parameter 2016-10-08 15:13:56 +02:00
wmayer
8a21cd4daa fix crash in DocumentIndex::cloneViewProvider 2016-10-08 12:48:34 +02:00
wmayer
9ac1810ea3 Fix issues:
+ improve formatting
+ remove superfluous semicolons
+ comment unused parameters
+ rename Initialisation to Initialization
+ rename Deinitialisation to Finalization
+ remove spaces
2016-10-08 12:48:34 +02:00
Stefan Tröger
3a51404dd5 Extenions: Drop virtual inheritance
Due to problems onthe windows platform the virtual inheritance approach must be dropped. NExt to the already reimplemented proeprty interface the Type interface is reimplemented too. This change allows to revert some earlier changes.
2016-10-08 12:48:34 +02:00
Stefan Tröger
a79b48bbcc Fix rebase errors 2016-10-08 12:48:34 +02:00
Stefan Tröger
790413fdce Extensions: Windows fixes 2016-10-08 12:48:34 +02:00
Stefan Tröger
558e128b39 Extensions: Revert few changes after restructuring 2016-10-08 12:48:34 +02:00
Stefan Tröger
b7d2943217 Remove accidently added .orig files 2016-10-08 12:48:34 +02:00
Stefan Tröger
15b14783d1 Extensions: Handle static/dynamic cast
After the change of the virtual inheritance position in the inheritance chain some
formally added dynamic_cast's can be reverted to the old behaviour
2016-10-08 12:48:34 +02:00
Stefan Tröger
b101b11c67 Extensions: Fix rebase error 2016-10-08 12:48:34 +02:00
Stefan Tröger
3977ce71c6 Extensions: Add type safety to PropertyData again 2016-10-08 12:48:34 +02:00
Stefan Tröger
22fa3b3922 Extension: Fix order-of-initialisation crash
FreeCADs property system utilises some pointer math to calculate the offset between
property and base class. Due to virtual inheritance of th ePropertyContainer the memory
layout has been changed to rather random, which has lead to crashes dependend on the
order of object initialisation.

The solution is to not make PropertyContaner virtual but a class below, Base::Persitance.
Then the memory layout is random for Persistance, but it is perfectly aligned for the
base class chains from PropertyContainer onwards as well as from Extension onwards.
Hence the proeprty system was changed to take the offset always from those two.
2016-10-08 12:48:34 +02:00
Stefan Tröger
773c79d6b6 Extensions: Fix crash due to wrong reference count 2016-10-08 12:48:34 +02:00
Stefan Tröger
9260b61948 Extension: Dont override PythonFeature proxy name 2016-10-08 12:48:34 +02:00
Stefan Tröger
b27875a777 Extension: Delete extensions correctly 2016-10-08 12:48:34 +02:00
Stefan Tröger
258be36aad Extensions: Handle new dynamic_cast's 2016-10-08 12:48:34 +02:00
Stefan Tröger
ab692a4c08 Extensions: Fix visibility restore issue 2016-10-08 12:48:34 +02:00
Stefan Tröger
ed32752674 Extensions: Add ViewProvider extension python types 2016-10-08 12:48:34 +02:00
Stefan Tröger
51632426a0 Extension: Port ViewProvider of Part 2016-10-08 12:48:34 +02:00
Stefan Tröger
fe32f03e63 Extension: Port ViewProvider of OriginGroup 2016-10-08 12:48:34 +02:00
Stefan Tröger
261798da2e Extensions: Port ViewProvider of GeoFeatureGroup 2016-10-08 12:48:34 +02:00
Stefan Tröger
cd53eb2280 Remove redundant drag'n'drop interface
In the long time of parallel assembly development an own drag'n'drop interface has been added to master and assembly branch. After merge both have been available. This commit removes one and keeps the more extensive implementation
2016-10-08 12:48:34 +02:00
Stefan Tröger
0a539538de Extensions: Port ViewProvider of groups 2016-10-08 12:48:34 +02:00
Stefan Tröger
8c002f1709 Extensions: Introduce ViewProviderExtension 2016-10-08 12:48:34 +02:00
Stefan Tröger
1287f3007a Extensions: Fix rebase errors 2016-10-08 12:48:34 +02:00
Stefan Tröger
594bb4fecd Extensions: Add Documentation 2016-10-08 12:48:34 +02:00
Stefan Tröger
44d1ee0157 Extension: Fix test case 2016-10-08 12:48:34 +02:00
Stefan Tröger
a8cf9a1fb0 Extensions: Fix include 2016-10-08 12:48:34 +02:00
Stefan Tröger
7bcb6519cc Extensions: Make Python Integration work 2016-10-08 12:48:34 +02:00
Stefan Tröger
93222098f0 Extensions: Allow them to be added dynamically 2016-10-08 12:48:34 +02:00
Stefan Tröger
c47c34edff Extensions: bring files in correct order 2016-10-08 12:48:34 +02:00
Stefan Tröger
a8d0accdad Extensions: special calls for document object extensions 2016-10-08 12:48:34 +02:00
Stefan Tröger
4c42181e34 Extensions: Show up in the python interface 2016-10-08 12:48:34 +02:00