Commit Graph

1468 Commits

Author SHA1 Message Date
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
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
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
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
c47c34edff Extensions: bring files in correct order 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
wmayer
27cf73acab suppress warning caused by shiboken header file with gcc 2016-10-02 20:13:02 +02:00
wmayer
147788d8d8 make color dialog in material panel modal but apply color directly to shape 2016-10-02 19:58:08 +02:00
wmayer
ddd4c4560c support to auto change color when color dialog is modal 2016-10-02 19:57:01 +02:00
wmayer
c48a9bfead fix -Wunused-parameter 2016-09-23 16:37:12 +02:00
wmayer
d1b3cbed75 make box selection consistent with single/multi selection 2016-09-23 10:46:54 +02:00
wmayer
ca3a243b8e expose boxZoom to Python 2016-09-23 10:28:11 +02:00
wmayer
801ac34258 fix -Wdeprecated in Part & FreeCADGui 2016-09-22 15:32:49 +02:00
wmayer
f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
40c79f18e4 fix msvc problems 2016-09-21 22:14:09 +02:00
wmayer
f19d424d8b fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
3f9fd3d54f avoid expensive fromUtf8 method where not needed 2016-09-21 11:42:23 +02:00
wmayer
75681ed0a5 improve download manager 2016-09-21 10:04:42 +02:00
wmayer
afa37847b5 remove Application::runPythonCode 2016-09-15 23:14:31 +02:00
wmayer
18cc6c1851 remove method Application::runCommand 2016-09-15 19:39:16 +02:00
wmayer
f44df3cdf0 do not use doCommand without using format string, add overloaded method of runCommand 2016-09-15 18:53:37 +02:00
wmayer
05a25967bd convert utf-8 encoded path name to escaped unicode when saving document with Python 2016-09-12 20:58:41 +02:00
wmayer
a12ecd49bd fix unicode <=> utf-8 conversion issue 2016-09-12 20:52:24 +02:00
Yorik van Havre
f2f9a938a7 New splash for 0.17 2016-09-11 13:28:59 -03:00
wmayer
1df315160d remove timeout for status messages related to (pre-)selection 2016-09-10 17:26:40 +02:00
wmayer
ef363f9390 split compound command in separate commands to make shortcus customizable 2016-09-10 14:47:01 +02:00
wmayer
61f663d117 issue #0002524: Make property docstrings translatable 2016-09-08 18:29:27 +02:00
wmayer
3f2264dc4d fix regression with unicode support 2016-09-08 16:08:01 +02:00
wmayer
adffaf7533 support to pass optional item parameter to Gui.runCommand 2016-09-08 09:40:03 +02:00
wmayer
52aef7348f support of unicode for doc string, fix memory leak 2016-09-07 12:18:57 +02:00
Yorik van Havre
cc167bd2c8 Allow to edit PropertyLists directly in the property editor - fixes #2535,#2689 2016-09-05 13:25:32 -03:00
wmayer
9ef81d7d56 optimize download manager 2016-08-31 16:22:21 +02:00
Pablo Gil
839717c2f7 Improved icons: white background for window drawings so that they are better recognized inside FreeCAD plus theme independent 2016-08-29 10:22:24 +02:00
Yorik van Havre
18e519571a Removed console message emitted by the tree when a PropertyLink is empty 2016-08-26 17:48:40 -03:00
wmayer
1944d43f28 add method to dock window manager to unregister a window 2016-08-24 19:09:56 +02:00
wmayer
a830b8feb3 improve whitespaces 2016-08-24 19:08:45 +02:00
wmayer
51e23d854e issue #0002678: file names with underscores are not displayed correctly in recent files menu 2016-08-22 22:52:12 +02:00
wmayer
94f07c85ee Define shortcuts for Save & Discard buttons of message box that appears when closing a document 2016-08-22 18:58:10 +02:00