Commit Graph

617 Commits

Author SHA1 Message Date
wmayer
1be8c73dca handle possible exceptions from onDocumentRestored() 2017-05-16 23:48:55 +02:00
Zheng, Lei
dbbc32d3af Console: fix getLogLevel 2017-05-13 17:46:38 +02:00
Zheng, Lei
a6abf0b25a Console: added tag based log support 2017-05-13 17:46:38 +02:00
Abdullah Tahiri
ea725a8b7a Register exception producers in Application 2017-05-13 15:27:57 +02:00
wmayer
b77d8cac4f minor fixes for pr749 2017-05-11 19:47:54 +02:00
looooo
ca3e58e2f3 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
0d033757ae py3: App: files A-C ported to python3 2017-05-10 20:49:10 +02:00
wmayer
03bf3ac606 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
1543566716 fix memory leak in DocumentObject::execute and return ASAP on errors 2017-05-07 16:21:41 +02:00
wmayer
3e862bd557 Add addObjects to add multiple objects in one step 2017-05-07 16:06:39 +02:00
wmayer
1673ab801e use specialized exception classes 2017-04-28 18:49:11 +02:00
wmayer
df1e2642d0 replacement for PR 698 2017-04-27 23:05:40 +02:00
wmayer
b0eed05a73 Extend Py interface of PropertyStringList to accept all sequence types 2017-04-24 11:12:12 +02:00
wmayer
004324bbc5 fix scan coverity issues: uncaught exception 2017-04-11 14:03:08 +02:00
Yorik van Havre
8337a7909f Added App::PropertyPlacementList 2017-04-05 17:22:51 -03:00
Ulrich Brammer
42efec9b23 fixes 0002978 spreadsheet row problem for rows above AA 2017-04-04 13:46:15 +02:00
Kunda
784edd3f82 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
DeepSOIC
2decd50368 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
03f9d8121f App: expose recompute controlling to Python
Add readable-writeable attribute "RecomputesFrozen" to DocumentObject.
2017-03-26 14:45:20 +02:00
Ian Rees
caee7cae1c Get path on OSX when imported from external Python 2017-03-21 20:13:51 +01:00
Ian Rees
e7beb51430 Fix minor potential memory leak. 2017-03-21 20:13:51 +01:00
AjinkyaDahale
b60fe48564 Fixed Typos 2017-03-19 18:09:15 -03:00
Sergo
ea452806b5 make relinkToOrigin to NOT modify subnames on PropertyLinkSub-s. Fixes TaskRevolution crash on 'Select Reference' 2017-03-18 19:09:16 +01:00
looooo
e219f5c2d4 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
0caad785d4 App: FreeCADInit.py: add newStyleModule function
FreeCAD._newStyleModule("MyMod") # removes MyMod from the sys.path
2017-03-18 18:20:59 +01:00
looooo
2a7fdef7e6 App: FreeCADInit.py: remove unused import + add local Mod dir 2017-03-18 18:20:59 +01:00
looooo
bcfac0e9b7 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
067e661342 py3: App: FreeCADInit.py 2017-03-18 18:20:59 +01:00
Zheng, Lei
378f99f1b3 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
338ca55622 Spreadsheet: Fixed issue #2894: Unit strings could be used as aliases. 2017-03-07 13:45:53 -03:00
Kunda
3017173c9a source typo fixes pt6 2017-03-07 13:43:46 -03:00
wmayer
35e8edeb08 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
ac9f475702 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01:00
hgutsche
de8f66f857 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
34a3039577 declare hasExtension of Python wrapper as const method 2017-02-12 15:28:33 +01:00
wmayer
6b0a0ff9c7 issue #0001935 2017-02-05 19:00:45 +01:00
wwmayer
9b58d8bd6f Merge pull request #495 from luzpaz/grammar-fixes
Grammar fixes
2017-02-02 22:04:00 +01:00
wmayer
33e0bc3a46 fix various warnings 2017-02-02 20:42:56 +01:00
luzpaz
bb5c01ba84 typo r/scema/scheme/ 2017-02-02 14:01:10 -05:00
luzpaz
ad7f6b960c fix --log-file description grammar 2017-02-02 13:56:42 -05:00
Eivind Kvedalen
4750bd40dd Expressions: Generalized FunctionExpression::simplify(...) function. 2017-02-02 10:27:29 +01:00
Eivind Kvedalen
0d6f777099 Expressions: Fixed issue #2879. 2017-02-02 10:27:29 +01:00
wmayer
bcea759287 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
a240f5dd70 issue #0002540: Crash on startup 2017-01-27 23:53:48 +01:00
wmayer
72c7a8ab00 change old DAG implementation to pass unit tests 2017-01-22 17:03:59 +01:00
wmayer
db0fe5b200 change old DAG implementation to pass unit tests 2017-01-22 15:32:31 +01:00
wmayer
172206f58e restore old DAG implementation and fix some build failures 2017-01-22 13:31:49 +01:00
wmayer
f21fa3e17f fix compiler warning 2017-01-21 21:49:13 +01:00
wmayer
f3f7b01202 improve whitespaces 2017-01-21 19:15:36 +01:00
Stefan Tröger
69857f37f7 DAG: remove early return to avoid update chain changes 2017-01-21 19:15:36 +01:00