Commit Graph

488 Commits

Author SHA1 Message Date
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
35811f7e3c Added new property type App::PropertyVolume 2016-10-04 16:02:30 -03:00
wmayer
7d265c4cdf ObjectIdentifier has virtual method but no virtual destructor
fix 32-bit issues in PythonStuff.cpp
2016-10-01 11:03:15 +02:00
wmayer
ee07ff6231 fix unicode/utf-8 encoding problems 2016-09-24 16:48:30 +02:00
wmayer
f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
71df967fdf fix -Wextra in FreeCADApp 2016-09-21 16:05:36 +02:00
wmayer
3f4f8077e5 comment out problematic asserts 2016-09-16 14:22:17 +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
3f2264dc4d fix regression with unicode support 2016-09-08 16:08:01 +02:00
wmayer
f37b70b141 fix accessing freed memory in DocumentPy::openTransaction 2016-09-07 13:00:20 +02:00
wmayer
52aef7348f support of unicode for doc string, fix memory leak 2016-09-07 12:18:57 +02:00
wmayer
3c88edd007 fix Coverity issues 2016-09-03 14:51:28 +02:00
wmayer
6e284fc9ea fix crash when saving a document after aborting a pending transaction 2016-08-31 17:58:55 +02:00
Yorik van Havre
ab803c7b40 Added App::PropertyArea (same as PropertyLength but uses Area units) 2016-08-29 19:26:11 -03:00
wmayer
464a8f3860 Coverity issues:
129643
129654
129689
129714
2016-08-16 14:05:52 +02:00
wmayer
1c8045756f Coverity issues:
129727: Structurally dead code
151979, 133461: Uninitialized scalar field
129785, 129786, 129787: Use after free
2016-08-16 12:23:12 +02:00
wmayer
1e12b54a7b Coverity issues:
129202: replace dynamic_cast with static_cast
129421, 129422: fix Py_Return macro
128928: Unchecked return value
129488, 129490: uninitialized scalar variable
129567, 129661: uninitialized scalar field
129665: uninitialized pointer field
2016-08-15 21:28:41 +02:00
DeepSOIC
369a7032b4 App::Property: add methods to get/set read-onlyness 2016-08-08 21:47:45 +03:00
wmayer
5fb7faeeef expose getFacesFromSubelement to Python 2016-08-04 14:44:40 +02:00
wmayer
f00a0b1a61 issue #0002638: Windows installer doesn't create the macro folder 2016-07-24 11:25:21 +02:00
wmayer
1c752a84d5 use <> for inclusion of generated headers 2016-07-24 11:08:40 +02:00
wmayer
f2bad4598a + fix order of removed objects in transaction list
+ add assert to check for obvious error
+ removed unneeded method
2016-07-23 11:47:01 +02:00
wmayer
0f2db9061f prepare view provider for undo/redo 2016-07-23 11:46:19 +02:00
wmayer
9ec06b47c6 prepare view provider for undo/redo 2016-07-23 11:45:38 +02:00
wmayer
f0e00311cd prepare view provider for undo/redo 2016-07-23 11:45:21 +02:00
wmayer
c5316d31a9 add quantity property to FeatureTest with kg/m^3 2016-07-17 13:40:08 +02:00
WandererFan
3b96cbbeb6 wmayer patch for Win & OCC7 compat 2016-07-11 15:32:16 +02:00
WandererFan
699c066991 Add HTML/CSS Styles to Annotation 2016-07-11 15:32:16 +02:00
WandererFan
008a19d89f Allow conversion between FC Color and QColor 2016-07-11 15:32:16 +02:00
wmayer
1408f0cd0a + fix compiler warning
+ check for existence of directory before using it
2016-06-23 11:25:54 +02:00
wmayer
75240e0058 code cleanup in App Document 2016-06-17 22:12:23 +02:00
wmayer
26df852f07 improve whitespaces 2016-06-16 15:00:30 +02:00
Jean-Marie Verdun
c473ef4c75 Add FCUserData declaration into Application.cpp to properly read FREECAD_USER_DATA environment variable 2016-06-16 14:56:21 +02:00
Jean-Marie Verdun
b0eea10e8e Add basic vagrant compilation capability
Add 	FREECAD_USER_DATA environment variable required to support snap on ubuntu which is using Apparmor to
	limit application access to filesystem.
Add	automatic snap build on Xenial (ubuntu 16.04) within Vagrant build
Info	Build results are into /home/vagrant/Results (deb + snap
2016-06-16 14:55:59 +02:00
wmayer
76548e987d + do not always close a document if an error occurs while reading it in 2016-05-30 18:58:06 +02:00
Bernd Hahnebach
78b92d47b4 Fem+App: use Tuple in PropertyLinkSubList::getPyObject
- fix appropriate methods in FemMeshTools
- fix task panels in FEM
- fix FemInputWriter
2016-05-26 12:06:44 +02:00
wmayer
f9d2814572 + fix crash in DocumentObserverPython if a property has no name (because it's not part of an object) 2016-05-20 13:57:30 +02:00
wmayer
2e79aefc2f + issue #0002521: SIGSEGV when trying to revert to saved file. 2016-05-20 13:01:23 +02:00
Stefan Tröger
836d5b1525 FEM Post: Fix rebase errors 2016-05-18 21:35:15 +02:00
Stefan Tröger
3bf749f0fd FEM Post: Give access to cmake BUILD variables from python
This commit adds a attribute __cmake__ to App which is a list holding all compile time cmake variables starting with BUILD.

Only export BUILD variables
2016-05-18 21:35:15 +02:00
David Pello
5f0073b9e0 BSD Porting fixes, conditional compilation and use of gettimeofday() 2016-05-15 12:08:43 +02:00
wmayer
f5b707e9a2 + implement PropertyMaterialListItem 2016-05-08 19:28:02 +02:00
wmayer
ec54c092d5 + restore old behaviour of PropertyLinkSubList::getPyObject to fix failure in ccxInpWriter.py 2016-05-08 14:50:50 +02:00
wmayer
8bbc642115 + editor for PropertyMaterial 2016-05-07 22:11:37 +02:00