Commit Graph

468 Commits

Author SHA1 Message Date
wmayer
cb9be09512 Coverity issues:
129643
129654
129689
129714
2016-08-16 14:05:52 +02:00
wmayer
eb0647b144 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
af4ef2fa7f 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
c74a7b5010 App::Property: add methods to get/set read-onlyness 2016-08-08 21:47:45 +03:00
wmayer
182fdabd48 expose getFacesFromSubelement to Python 2016-08-04 14:44:40 +02:00
wmayer
d177468f0c issue #0002638: Windows installer doesn't create the macro folder 2016-07-24 11:25:21 +02:00
wmayer
58831da643 use <> for inclusion of generated headers 2016-07-24 11:08:40 +02:00
wmayer
ac32ab0b00 + 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
71390dcf20 prepare view provider for undo/redo 2016-07-23 11:46:19 +02:00
wmayer
e471ebe1fb prepare view provider for undo/redo 2016-07-23 11:45:38 +02:00
wmayer
3d16ae0f04 prepare view provider for undo/redo 2016-07-23 11:45:21 +02:00
wmayer
49d1be14ff add quantity property to FeatureTest with kg/m^3 2016-07-17 13:40:08 +02:00
WandererFan
0319adeec7 wmayer patch for Win & OCC7 compat 2016-07-11 15:32:16 +02:00
WandererFan
97a0c31306 Add HTML/CSS Styles to Annotation 2016-07-11 15:32:16 +02:00
WandererFan
46647beb8c Allow conversion between FC Color and QColor 2016-07-11 15:32:16 +02:00
wmayer
baebeccac6 + fix compiler warning
+ check for existence of directory before using it
2016-06-23 11:25:54 +02:00
wmayer
81060a8943 code cleanup in App Document 2016-06-17 22:12:23 +02:00
wmayer
d20c7e2c68 improve whitespaces 2016-06-16 15:00:30 +02:00
Jean-Marie Verdun
eaf3a7c7d3 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
04f5a8b0de 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
274adc740a + do not always close a document if an error occurs while reading it in 2016-05-30 18:58:06 +02:00
Bernd Hahnebach
d377e17f0b 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
ace981d855 + 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
efe1d18a57 + issue #0002521: SIGSEGV when trying to revert to saved file. 2016-05-20 13:01:23 +02:00
Stefan Tröger
ec16290be2 FEM Post: Fix rebase errors 2016-05-18 21:35:15 +02:00
Stefan Tröger
affbf2b9d7 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
21ffb0305f BSD Porting fixes, conditional compilation and use of gettimeofday() 2016-05-15 12:08:43 +02:00
wmayer
61aa0fcafe + implement PropertyMaterialListItem 2016-05-08 19:28:02 +02:00
wmayer
9d7b3c87be + restore old behaviour of PropertyLinkSubList::getPyObject to fix failure in ccxInpWriter.py 2016-05-08 14:50:50 +02:00
wmayer
926e5e127d + editor for PropertyMaterial 2016-05-07 22:11:37 +02:00
wmayer
3c5e2ea401 + simplify initialization of some Python types 2016-05-07 21:18:47 +02:00
wmayer
4d94fbc15f + expose Material class to Python 2016-05-07 21:15:01 +02:00
wmayer
e9a46f658e + implement PropertyMaterialList 2016-05-07 14:41:24 +02:00
DeepSOIC
97f0e15175 App: fix ObjectIdentifier causing link errors
Add missing AppExport to hash_value().
2016-05-07 11:24:41 +02:00
wmayer
0509fcfc9e + avoid code duplication 2016-05-05 18:38:36 +02:00
wmayer
7f1f9b1256 + fixes #0002518: Propertylink enhancement. 2016-05-05 17:12:17 +02:00
Johannes Obermayr
bd3f6f4052 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
62ef3dd923 + add new class ParameterSerializer to load and save parameter files 2016-04-29 17:43:07 +02:00
wmayer
d1bc34441d + fix various gcc & clang warnings 2016-04-24 16:21:19 +02:00
DeepSOIC
7b90837b9c 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
b6bace2cc4 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-04-15 10:22:08 +02:00
wmayer
b6892c5424 + add missing license text 2016-04-13 15:20:41 +02:00
wmayer
6380881b58 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
wmayer
d604abdfc4 + consistent naming 2016-04-13 11:37:09 +02:00
Stefan Tröger
1bc2caebb4 remove unneeded orig files 2016-04-12 19:10:19 +02:00
Stefan Tröger
71ec726161 Fix test cases by adopting to new behavior
Pad now does not have a Sketch property anymore but a profile property. Also due to changes in PropertyLinkSubList it ispossible that PropertyLinks get an empty list assigned, this must be supportet now.
2016-04-12 18:12:24 +02:00
Stefan Tröger
3c39410002 PartDesign: Adopt to new property status bits 2016-04-12 18:12:22 +02:00
Alexander Golubev
eaeba5686f Suppress a couple more warnings 2016-04-12 18:12:21 +02:00
Alexander Golubev
81cb035efc App/OriginGroup: add missing AppExport 2016-04-12 18:12:21 +02:00
sgrogan
918c04d640 Win build fixes 2016-04-12 18:12:21 +02:00