Commit Graph

8639 Commits

Author SHA1 Message Date
Stefan Tröger
ae67946e25 Extensions: Fix rebase error 2016-10-08 12:48:34 +02:00
Stefan Tröger
687f96bf4b Extensions: Add type safety to PropertyData again 2016-10-08 12:48:34 +02:00
Stefan Tröger
89bbb81521 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
fc34fc2f2f Extensions: Fix crash due to wrong reference count 2016-10-08 12:48:34 +02:00
Stefan Tröger
07d749525f Extension: Dont override PythonFeature proxy name 2016-10-08 12:48:34 +02:00
Stefan Tröger
7a2fed1b75 Extension: Delete extensions correctly 2016-10-08 12:48:34 +02:00
Stefan Tröger
3e1ba47d61 Extensions: Handle new dynamic_cast's 2016-10-08 12:48:34 +02:00
Stefan Tröger
86f66c31da Extensions: Fix visibility restore issue 2016-10-08 12:48:34 +02:00
Stefan Tröger
1b150a86c3 Extensions: Add ViewProvider extension python types 2016-10-08 12:48:34 +02:00
Stefan Tröger
6e1a029996 Extension: Port ViewProvider of Part 2016-10-08 12:48:34 +02:00
Stefan Tröger
fedcfd9407 Extension: Port ViewProvider of OriginGroup 2016-10-08 12:48:34 +02:00
Stefan Tröger
5b9aea71d5 Extensions: Port ViewProvider of GeoFeatureGroup 2016-10-08 12:48:34 +02:00
Stefan Tröger
56492971c8 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
f61bb9062e Extensions: Port ViewProvider of groups 2016-10-08 12:48:34 +02:00
Stefan Tröger
b5f4023050 Extensions: Introduce ViewProviderExtension 2016-10-08 12:48:34 +02:00
Stefan Tröger
2a61aec97b Extensions: Fix rebase errors 2016-10-08 12:48:34 +02:00
Stefan Tröger
cdd33738bb Extensions: Add Documentation 2016-10-08 12:48:34 +02:00
Stefan Tröger
ab6151e71a Extension: Fix test case 2016-10-08 12:48:34 +02:00
Stefan Tröger
1398013c8a Extensions: Fix include 2016-10-08 12:48:34 +02:00
Stefan Tröger
f0f31ff94c Extensions: Make Python Integration work 2016-10-08 12:48:34 +02:00
Stefan Tröger
88484d7054 Extensions: Allow them to be added dynamically 2016-10-08 12:48:34 +02:00
Stefan Tröger
c0f243fa3b Extensions: bring files in correct order 2016-10-08 12:48:34 +02:00
Stefan Tröger
16f8dbbacd Extensions: special calls for document object extensions 2016-10-08 12:48:34 +02:00
Stefan Tröger
552fe52774 Extensions: Show up in the python interface 2016-10-08 12:48:34 +02:00
Stefan Tröger
6fa964c53f Extensions: Introduce classes and port App groups 2016-10-08 12:48:34 +02:00
Yorik van Havre
4375299724 Made Path objects properties translatable - fixes #2524 2016-10-07 22:21:02 -03:00
Yorik van Havre
e284a00570 Made Draft objects properties translatable - issue #2524 2016-10-07 21:55:26 -03:00
Yorik van Havre
210455d7db Made Arch objects properties translatable - issue #2524 2016-10-07 21:37:15 -03:00
wwmayer
d0f8e06f42 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
c35c003210 FEM: ConstraintPressure: Arrow direction bug fix 2016-10-07 15:05:28 -03:00
DeepSOIC
aae97dedd9 Part: Py API: fix memory leak in Part.Vertex.Point
fix #2728
2016-10-07 15:02:14 -03:00
WandererFan
e810ba81bb Fix print size issue from pan/zoom mods 2016-10-07 14:55:58 -03:00
Yorik van Havre
aa3ef9d8bc 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
4404873dd7 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
81598c2539 Arch: Added several properties to Equipment, Space, Floor & Site needed for gbXML - issue #2543 2016-10-06 22:35:45 -03:00
triplus
dca56b10ad Was a bit to quick the first time with the commit. 2016-10-06 20:58:38 +02:00
triplus
60a436f6b1 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
4bd03cd0ef Draft: Disabled builtin ctrl+z shortcut in wire drawing (indicated UI shortcut works) - fixed #2696 2016-10-06 11:23:54 -03:00
WandererFan
2edab06511 Fix clang complaint about const char*
Remove u8 literal for MSVC2013
2016-10-06 11:00:35 -03:00
WandererFan
bc2ac76fc5 Rename properties to fit PropertyEditor window 2016-10-06 11:00:35 -03:00
WandererFan
af9a6950e2 Fix #2707 hidden seam/smooth lines 2016-10-06 11:00:35 -03:00
WandererFan
5175771590 Add options for face detection and cut face edge display 2016-10-06 11:00:35 -03:00
WandererFan
7e14ca361c Prepare App side for "show units" preference 2016-10-06 11:00:35 -03:00
WandererFan
f4fd92e321 fix utf8 regression caused by e165e481 2016-10-06 11:00:35 -03:00
WandererFan
e0ca83d5cc Performance Ph2 2016-10-06 11:00:35 -03:00
Bernd Hahnebach
ca2af6ec45 FEM: pref, if ccx standard path and ccx path are not set, set ccx standard to true 2016-10-05 13:08:47 +02:00
Bernd Hahnebach
80f79faf11 FEM: fix, some python objects could not be added by python 2016-10-05 13:08:47 +02:00
fandaL
63d20e76b1 FEM: fix in inp reader, include relative path 2016-10-05 13:08:47 +02:00
Yorik van Havre
1b4ce1da5f Merge branch 'PartFaceMakers3_fixup2' of https://github.com/DeepSOIC/FreeCAD-ellipse into f 2016-10-04 17:59:34 -03:00
Yorik van Havre
7a476a3fc9 Arch: New-style Arch Site - fixes #2634 2016-10-04 16:04:09 -03:00