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
Stefan Tröger
c5a2419e14
Extensions: Introduce classes and port App groups
2016-10-08 12:48:34 +02:00
Yorik van Havre
a50bd5dc88
Made Path objects properties translatable - fixes #2524
2016-10-07 22:21:02 -03:00
Yorik van Havre
17a24a4b27
Made Draft objects properties translatable - issue #2524
2016-10-07 21:55:26 -03:00
Yorik van Havre
dabccc40b6
Made Arch objects properties translatable - issue #2524
2016-10-07 21:37:15 -03:00
wwmayer
11bbb9e8aa
Merge pull request #299 from triplus/master
...
Fix NameError when test is run in console mode
2016-10-07 21:43:43 +02:00
kgoao
14b45107ce
FEM: ConstraintPressure: Arrow direction bug fix
2016-10-07 15:05:28 -03:00
DeepSOIC
5936a2db82
Part: Py API: fix memory leak in Part.Vertex.Point
...
fix #2728
2016-10-07 15:02:14 -03:00
WandererFan
18302203cb
Fix print size issue from pan/zoom mods
2016-10-07 14:55:58 -03:00
Yorik van Havre
b48ac103f2
Merge pull request #300 from bblacey/develop
...
Improved macOS CI builds (declarative dependencies, robust ports-cach…
2016-10-07 14:54:07 -03:00
Bruce B. Lacey
2707ea9af8
Improved macOS CI builds (declarative dependencies, robust ports-cache, custom bottles, ports upgrade)
...
- Ports dependencies are now declared in FreeCAD formula hosted at FreeCAD/homebrew-freecad/freecad
- Ports-cache will match on the homebrew major.minor sub-version to increase cache hits during CI builds
- FreeCAD-specific bottles deployed to FreeCAD/homebrew-freecad (micro-caches)
- Travis builds request Xcode6.4 on macOS 10.10 dist (10.9 dust is deprecated and will be removed from Travis on 10/31)
- Salome Med-File and 3DxWare drivers upgraded
Additional details in forum post http://forum.freecadweb.org/viewtopic.php?f=10&t=17832
2016-10-06 21:25:55 -07:00
Yorik van Havre
6861574346
Arch: Added several properties to Equipment, Space, Floor & Site needed for gbXML - issue #2543
2016-10-06 22:35:45 -03:00
triplus
941069e237
Was a bit to quick the first time with the commit.
2016-10-06 20:58:38 +02:00
triplus
bca2792f11
Fix NameError when test is run in console mode
...
http://forum.freecadweb.org/viewtopic.php?f=10&t=17818
2016-10-06 20:43:39 +02:00
Yorik van Havre
7ef31e499c
Draft: Disabled builtin ctrl+z shortcut in wire drawing (indicated UI shortcut works) - fixed #2696
2016-10-06 11:23:54 -03:00
WandererFan
f343f8e78f
Fix clang complaint about const char*
...
Remove u8 literal for MSVC2013
2016-10-06 11:00:35 -03:00
WandererFan
6b4352f79f
Rename properties to fit PropertyEditor window
2016-10-06 11:00:35 -03:00