Commit Graph

1499 Commits

Author SHA1 Message Date
wmayer
ff2a361928 fix several gcc warnings 2016-11-08 14:31:08 +01:00
wmayer
47b41a7883 fixes #0002460: Use keyword 'explicit' for Quantity constructor 2016-11-05 23:21:42 +01:00
wmayer
211383819b support of unicode strings in saveImage function 2016-11-05 18:04:22 +01:00
Yorik van Havre
cabdf67d67 Fixed defaut shortcuts for view rotation - fixes #2756 2016-11-04 16:26:19 -02:00
wmayer
1782355e05 issue #0000353: Graphical selection 2016-10-24 18:20:18 +02:00
triplus
9ac518e693 Merge branch 'master' into master 2016-10-23 16:29:33 +02:00
triplus
ad5c833db9 Name the DrawStyle commands 2016-10-23 16:18:58 +02:00
wmayer
8a93f7dbf2 issue #0002744: FR: check box to export STEP w/without pcurves 2016-10-22 19:44:11 +02:00
wmayer
d28743f35e extend creation of preferences pages from Python 2016-10-22 16:48:02 +02:00
wmayer
f551bf9cc3 introduce flag to skip recomputes of a document when needed 2016-10-21 22:23:34 +02:00
wmayer
7df9dcac7a allow to create SelectionObject from SelectionChanges structure 2016-10-21 14:56:29 +02:00
wmayer
bfc23d591e issue #0002631: Ctrl-W Doesn't Close Window 2016-10-20 09:46:28 +02:00
wmayer
c2479b2fb4 issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 18:03:45 +02:00
wmayer
d1fe837e55 issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 17:35:08 +02:00
wmayer
7fdf39244d 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
23d78e55c3 Shortened decimal check code in QuantitySpinBox 2016-10-16 09:30:49 +02:00
wmayer
aef839b3e3 issue #0002733: Preferences dialog box 2016-10-16 08:14:29 +02:00
wmayer
67e3dc814a issue #0002712: Can't use more than one decimal in dimension 2016-10-15 16:27:38 +02:00
wmayer
bed3118d01 extend function to mark all selected objects for recompute or all objects of a document 2016-10-14 21:40:05 +02:00
wmayer
a335b69c5a when using --single-instance option make relative path names absolute 2016-10-14 18:01:11 +02:00
Yorik van Havre
647956f697 Added "mark to recompute" action to tree view 2016-10-12 17:35:01 -03:00
wmayer
d69887130e 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
f4e0a21045 move disabling of some commands to task panel 2016-10-09 19:45:30 +02:00
wmayer
030c43e047 issue #0002724: Redirecting messages to Python console apply issue. 2016-10-09 18:47:11 +02:00
wmayer
4d6d8e71f4 issue #0002687: zoomin/out during transform 2016-10-09 18:32:18 +02:00
wmayer
585099709d remove superfluous semicolons 2016-10-09 14:00:58 +02:00
wmayer
677ec6cd30 fix coverity issues 2016-10-08 17:43:30 +02:00
wmayer
11a4c26dae + fix -Wunused-parameter 2016-10-08 15:13:56 +02:00
wmayer
90c21a945b fix crash in DocumentIndex::cloneViewProvider 2016-10-08 12:48:34 +02:00
wmayer
f1127dd2f4 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
0ae9346b3c 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
3debf0d29e Fix rebase errors 2016-10-08 12:48:34 +02:00
Stefan Tröger
92a294f6aa Extensions: Windows fixes 2016-10-08 12:48:34 +02:00
Stefan Tröger
2420559431 Extensions: Revert few changes after restructuring 2016-10-08 12:48:34 +02:00
Stefan Tröger
28c21914d0 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
ae67946e25 Extensions: Fix rebase error 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
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
c0f243fa3b Extensions: bring files in correct order 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
wmayer
03c5be4804 suppress warning caused by shiboken header file with gcc 2016-10-02 20:13:02 +02:00