Commit Graph

614 Commits

Author SHA1 Message Date
Abdullah Tahiri
461da14787 Register exception producers in Application 2017-05-13 15:27:57 +02:00
wmayer
7394ab7277 minor fixes for pr749 2017-05-11 19:47:54 +02:00
looooo
e6202f46e9 py3: App: files D-Z ported to python3
issue 0000995
diff to py3-branch will remain in the following files in src/App:
- ExtensionContainer.cpp
- FeaturePythonPyImp.h +.inl
most likely these files depend on Tools and Base
2017-05-11 19:19:17 +02:00
Yorik van Havre
281fad5ff9 py3: App: files A-C ported to python3 2017-05-10 20:49:10 +02:00
wmayer
2ea183e629 Expose method to Python to get property name of main geometry
fix inheritance of MeshFeaturePy
fix inheritance of PartFeaturePy
remove useless test() method
implement getPyObject in GeoFeature in case a sub-class doesn't implement it
2017-05-10 10:36:22 +02:00
wmayer
e9bd4f679f fix memory leak in DocumentObject::execute and return ASAP on errors 2017-05-07 16:21:41 +02:00
wmayer
305c63290f Add addObjects to add multiple objects in one step 2017-05-07 16:06:39 +02:00
wmayer
fb7094bf31 use specialized exception classes 2017-04-28 18:49:11 +02:00
wmayer
7150e9ab23 replacement for PR 698 2017-04-27 23:05:40 +02:00
wmayer
5ba030d12f Extend Py interface of PropertyStringList to accept all sequence types 2017-04-24 11:12:12 +02:00
wmayer
c526c18b94 fix scan coverity issues: uncaught exception 2017-04-11 14:03:08 +02:00
Yorik van Havre
779d2658aa Added App::PropertyPlacementList 2017-04-05 17:22:51 -03:00
Ulrich Brammer
812dbca5a9 fixes 0002978 spreadsheet row problem for rows above AA 2017-04-04 13:46:15 +02:00
Kunda
5aefa825b1 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
DeepSOIC
5348f7afed App: add "Expanded" to DocumentObject.State
Looks like it was impossible to figure out if tree item of object is
expanded or collapsed. Now, it can be queried by e.g. `"Expanded" in
App.ActiveDocument.Fusion.State`
2017-03-26 14:45:20 +02:00
DeepSOIC
66fc40ce58 App: expose recompute controlling to Python
Add readable-writeable attribute "RecomputesFrozen" to DocumentObject.
2017-03-26 14:45:20 +02:00
Ian Rees
97f29bccc8 Get path on OSX when imported from external Python 2017-03-21 20:13:51 +01:00
Ian Rees
ffc4564c84 Fix minor potential memory leak. 2017-03-21 20:13:51 +01:00
AjinkyaDahale
65342e53e7 Fixed Typos 2017-03-19 18:09:15 -03:00
Sergo
0575386170 make relinkToOrigin to NOT modify subnames on PropertyLinkSub-s. Fixes TaskRevolution crash on 'Select Reference' 2017-03-18 19:09:16 +01:00
looooo
3cef82ae3f App: FreeCADInit.py: force downstream modules to use either from FreeCAD import Mod or old style 2017-03-18 18:20:59 +01:00
looooo
88a44b46a5 App: FreeCADInit.py: add newStyleModule function
FreeCAD._newStyleModule("MyMod") # removes MyMod from the sys.path
2017-03-18 18:20:59 +01:00
looooo
8c803d7bd9 App: FreeCADInit.py: remove unused import + add local Mod dir 2017-03-18 18:20:59 +01:00
looooo
6e8c18754f use __ModDirs__ for module directories and set the search path of FreeCAD to the base directories, which contain all the modules 2017-03-18 18:20:59 +01:00
looooo
5558d84a64 py3: App: FreeCADInit.py 2017-03-18 18:20:59 +01:00
Zheng, Lei
18a7e73bf6 Added App::PropertyPrecision
The purpose of this property and the associated property item is to
properly display floating value of many decimal points, such as
Precision::Confusion()
2017-03-15 10:46:32 -03:00
Eivind Kvedalen
2714dd82c8 Spreadsheet: Fixed issue #2894: Unit strings could be used as aliases. 2017-03-07 13:45:53 -03:00
Kunda
31b0233393 source typo fixes pt6 2017-03-07 13:43:46 -03:00
wmayer
63943e4bb8 extend interface to get actual property with geometric data, get center of gravity of a geometry 2017-03-05 18:05:11 +01:00
Ian Rees
4303384667 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01:00
hgutsche
201c9d89b0 Some fixes for doygen syntax errors and some configuration to make it run smoother under Windows 2017-02-28 18:52:04 +01:00
wmayer
ab7a748629 declare hasExtension of Python wrapper as const method 2017-02-12 15:28:33 +01:00
wmayer
6da95687e0 issue #0001935 2017-02-05 19:00:45 +01:00
wwmayer
8271695fa8 Merge pull request #495 from luzpaz/grammar-fixes
Grammar fixes
2017-02-02 22:04:00 +01:00
wmayer
a7539e2c97 fix various warnings 2017-02-02 20:42:56 +01:00
luzpaz
2d5e45a83b typo r/scema/scheme/ 2017-02-02 14:01:10 -05:00
luzpaz
9412274d8b fix --log-file description grammar 2017-02-02 13:56:42 -05:00
Eivind Kvedalen
7b314d6cfa Expressions: Generalized FunctionExpression::simplify(...) function. 2017-02-02 10:27:29 +01:00
Eivind Kvedalen
7ebaa54bd5 Expressions: Fixed issue #2879. 2017-02-02 10:27:29 +01:00
wmayer
01bc2fc6ce fix crash with null pointer links
in PropertyLinkList handle case with null pointers as value
in STEP reader avoid to create coumpound objects with null pointer links
2017-01-30 16:47:31 +01:00
wmayer
a5a751cfbd issue #0002540: Crash on startup 2017-01-27 23:53:48 +01:00
wmayer
f71f6f27ee change old DAG implementation to pass unit tests 2017-01-22 17:03:59 +01:00
wmayer
18451286a0 change old DAG implementation to pass unit tests 2017-01-22 15:32:31 +01:00
wmayer
11a1929344 restore old DAG implementation and fix some build failures 2017-01-22 13:31:49 +01:00
wmayer
859506c4f3 fix compiler warning 2017-01-21 21:49:13 +01:00
wmayer
31c21be635 improve whitespaces 2017-01-21 19:15:36 +01:00
Stefan Tröger
a076ae808b DAG: remove early return to avoid update chain changes 2017-01-21 19:15:36 +01:00
Stefan Tröger
7ba0a26354 DAG: remove defined but unused function 2017-01-21 19:15:36 +01:00
Stefan Tröger
a1deaf8338 DAG: Fix preprocessor definition inconsistencies 2017-01-21 19:15:36 +01:00
Stefan Tröger
0e83976698 DAG: Add document graph recompute test 2017-01-21 19:15:36 +01:00