Commit Graph

475 Commits

Author SHA1 Message Date
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
wmayer
a175c4884d + simplify initialization of some Python types 2016-05-07 21:18:47 +02:00
wmayer
7179280138 + expose Material class to Python 2016-05-07 21:15:01 +02:00
wmayer
317b447f88 + implement PropertyMaterialList 2016-05-07 14:41:24 +02:00
DeepSOIC
472af4bf59 App: fix ObjectIdentifier causing link errors
Add missing AppExport to hash_value().
2016-05-07 11:24:41 +02:00
wmayer
133ff16d0a + avoid code duplication 2016-05-05 18:38:36 +02:00
wmayer
f5b48a636d + fixes #0002518: Propertylink enhancement. 2016-05-05 17:12:17 +02:00
Johannes Obermayr
1e061b5c02 Fix boost::any bug with Boost 1.54.
and set BOOST_MIN_VERSION to 1.48.

Fixes:
- http://freecadweb.org/tracker/view.php?id=0002505
- http://forum.freecadweb.org/viewtopic.php?f=13&t=15310
- http://forum.freecadweb.org/viewtopic.php?f=3&t=15400
- http://forum.freecadweb.org/viewtopic.php?f=10&t=14108
2016-05-02 18:31:08 +02:00
wmayer
00eaab0522 + add new class ParameterSerializer to load and save parameter files 2016-04-29 17:43:07 +02:00
wmayer
d03a8fd386 + fix various gcc & clang warnings 2016-04-24 16:21:19 +02:00
DeepSOIC
6b5554fb03 PartDesign: reverse XZ plane to match legacy orientations
discussion in forum thread "ZX plane in PartDesign Next (instead of XZ)"
http://forum.freecadweb.org/viewtopic.php?f=8&t=15319
2016-04-19 21:36:31 +03:00
Mateusz Skowroński
e797054304 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-04-15 10:22:08 +02:00
wmayer
0a7ab4e1ff + add missing license text 2016-04-13 15:20:41 +02:00
wmayer
5de9696365 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00