Commit Graph

1498 Commits

Author SHA1 Message Date
wmayer
9fe82bfbb9 fixes #0002460: Use keyword 'explicit' for Quantity constructor 2016-11-05 23:21:42 +01:00
wmayer
ae8db048b6 support of unicode strings in saveImage function 2016-11-05 18:04:22 +01:00
Yorik van Havre
0ea73730f9 Fixed defaut shortcuts for view rotation - fixes #2756 2016-11-04 16:26:19 -02:00
wmayer
761d684c79 issue #0000353: Graphical selection 2016-10-24 18:20:18 +02:00
triplus
edb5719630 Merge branch 'master' into master 2016-10-23 16:29:33 +02:00
triplus
07971aa4f2 Name the DrawStyle commands 2016-10-23 16:18:58 +02:00
wmayer
d259aa0784 issue #0002744: FR: check box to export STEP w/without pcurves 2016-10-22 19:44:11 +02:00
wmayer
21260aea61 extend creation of preferences pages from Python 2016-10-22 16:48:02 +02:00
wmayer
01996d8f13 introduce flag to skip recomputes of a document when needed 2016-10-21 22:23:34 +02:00
wmayer
6d5f7650ab allow to create SelectionObject from SelectionChanges structure 2016-10-21 14:56:29 +02:00
wmayer
6b1866ccaf issue #0002631: Ctrl-W Doesn't Close Window 2016-10-20 09:46:28 +02:00
wmayer
1329857359 issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 18:03:45 +02:00
wmayer
b322668d4e issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 17:35:08 +02:00
wmayer
2c5c0c2347 set directory of file dialog when opening file by double-click, recent files list or drag and drop 2016-10-16 14:47:13 +02:00
AjinkyaDahale
7535d7a1d1 Shortened decimal check code in QuantitySpinBox 2016-10-16 09:30:49 +02:00
wmayer
001ebc0b70 issue #0002733: Preferences dialog box 2016-10-16 08:14:29 +02:00
wmayer
a68364e913 issue #0002712: Can't use more than one decimal in dimension 2016-10-15 16:27:38 +02:00
wmayer
ccbd0f02af extend function to mark all selected objects for recompute or all objects of a document 2016-10-14 21:40:05 +02:00
wmayer
3e041850f7 when using --single-instance option make relative path names absolute 2016-10-14 18:01:11 +02:00
Yorik van Havre
33c7ec80c8 Added "mark to recompute" action to tree view 2016-10-12 17:35:01 -03: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
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
68ea7fdac5 fix coverity issues 2016-10-08 17:43:30 +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
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