Commit Graph

17388 Commits

Author SHA1 Message Date
Bernd Hahnebach
a79f05eafe FEM: typos 2019-09-23 21:16:49 +02:00
Bernd Hahnebach
88a74994ce FEM: unit tests, fix comments 2019-09-23 21:16:47 +02:00
Markus Hovorka
e1b1014d36 FEM: Restructure python test modules/packages
There is a new split into app and gui tests. For this purpose two
packages where created: femtest.app and femtest.gui. Tests that don't
require the GUI up and running are inside the femtest.app package. Tests
that do require the GUI are inside the femtest.gui package. Also
underscores where added to the module names: testcommon to test_common.
2019-09-23 21:16:45 +02:00
Markus Hovorka
66dc7dc046 FEM: Make view proxy optional on object creation 2019-09-23 21:16:43 +02:00
Markus Hovorka
b4128f8614 FEM: Make temp directory default for solver
Previously it would return None if no setting is found (which can
happen if the settings system hasn't been loaded at least once). This
would make some other code fail.
2019-09-23 21:16:39 +02:00
Markus Hovorka
6369b408c2 FEM: Redirect ElmerGrid output to /dev/null
Up until now the output would appear in the cli in which FreeCAD was
started. This is unnecessary and makes test output very confusing.
2019-09-23 21:16:39 +02:00
Markus Hovorka
4ca8f5269b FEM: Add documentation to femutils module 2019-09-23 21:16:37 +02:00
wmayer
5ae5e56950 fix cutting of points 2019-09-22 22:58:53 +02:00
Markus Hovorka
ee1716941b FEM: Add documentation for Fem::Constraint 2019-09-21 13:43:13 +02:00
Markus Hovorka
bc870e9e06 FEM: Add documentation to Analysis.h 2019-09-21 13:43:10 +02:00
Markus Hovorka
b58245b7b4 FEM: Remove unnecessary overrides from Analysis
onChanged, execute, mustExecute and getPyObject where overwritten but
the implementation didn't do anything different from the implementation
of the base class DocumentObject in this case. Thus they where
redundent.
2019-09-21 13:43:06 +02:00
Przemo Firszt
f37f0256ef SubWCRev out ot source build fix by sopwith
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-09-21 13:14:46 +02:00
wmayer
7adbb4322f cross-section of meshes 2019-09-21 01:23:28 +02:00
wandererfan
b1b1c4f0df [TD][SS]Fix 4131 SS formatting in TD View 2019-09-20 12:56:26 -04:00
wandererfan
1f4fb612dd [TD]Apply filters to PropertyFile 2019-09-20 12:56:26 -04:00
wmayer
d6d25ae2f3 avoid several implicit conversions, replace several old C-casts with static_cast, do some optimizations 2019-09-20 14:56:36 +02:00
wandererfan
375fe1bd48 [App][Gui]Add Filter for PropertyFile in PropertyEditor 2019-09-20 07:56:52 -04:00
wmayer
63fa1d2c42 avoid several implicit conversions, replace several old C-casts with static_cast 2019-09-19 19:43:10 +02:00
wmayer
d4bac9e259 fix some MSVC warnings 2019-09-19 17:55:10 +02:00
wmayer
9337114714 fix possible segfault in SoQTQuarterAdaptor::convertOrtho2Perspective 2019-09-19 17:54:42 +02:00
wandererfan
b9374d5e71 [Gui]Fix Py SyntaxError on " in PropertyStringList 2019-09-19 06:59:05 -04:00
Bernd Hahnebach
65ad91cf61 FEM: gmsh tools, make it easier to use an own working dir 2019-09-19 09:11:12 +02:00
Bernd Hahnebach
8d7f479be6 FEM: gmsh tools, fix tmp file creation 2019-09-19 09:11:07 +02:00
Bernd Hahnebach
19de1a4eba FEM: result tools and ccx tools, improve method documentation 2019-09-19 09:11:02 +02:00
Bernd Hahnebach
078237937f FEM: code formating replace lines of # with lines of * 2019-09-19 09:10:56 +02:00
wmayer
2f59bb50eb avoid several implicit conversions, replace several old C-casts, other minor changes 2019-09-18 23:27:54 +02:00
wmayer
54df95baa4 add function to update texture of cut mesh 2019-09-18 23:25:45 +02:00
Bernd Hahnebach
e60a561a9e FEM: small changes in coding conventions 2019-09-18 22:01:11 +02:00
vocx-fc
6fb25c2931 Arch: ArchBuildingPart, fix obj.Height.Value in onChanged() 2019-09-18 21:32:39 +02:00
Bernd Hahnebach
a9f505818b FEM: code formating 2019-09-18 21:27:20 +02:00
luz.paz
595ab50633 fix misc. source comment typos
Found via `codespell`
2019-09-18 21:07:12 +02:00
wmayer
6a1bfc0ab2 fix -Wpedantic 2019-09-18 18:48:01 +02:00
Bernd Hahnebach
1e3ab8276c FEM: ccx tools, improve class documentation 2019-09-18 18:27:50 +02:00
Bernd Hahnebach
21529eda88 FEM: result task panel, fix use equations 2019-09-18 18:27:40 +02:00
wmayer
5746c37b7e fix -Wcatch-value=, fix -Wpedantic 2019-09-18 14:36:23 +02:00
wmayer
b1dd1e61a7 force strict ISO C++ (-Wpedantic)
for Fem, Import, PartDesign, Robot, Sketcher, TechDraw
2019-09-18 14:18:07 +02:00
wmayer
e48c52c480 force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web

TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
wmayer
f29a9c0de3 fix possible vulnerability 2019-09-18 11:06:41 +02:00
wandererfan
d76394cf59 [TD]Fix mishandling of escaped html in Templates 2019-09-17 19:55:37 -04:00
wmayer
9fa56345cf core system
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
wmayer
690df49618 fixes #0004103: Black screen when using rubberband selection 2019-09-17 15:55:05 +02:00
wandererfan
3f2a898040 [TD]Fix Annotation font size and descenders 2019-09-17 06:51:04 -04:00
wandererfan
a83b7566ec [TD]Fix section line unfilled arrow heads 2019-09-17 06:51:04 -04:00
wandererfan
67bfc739ec [TD]Check first/last geom points exist 2019-09-17 06:51:04 -04:00
wmayer
5c9d30b25a use NaN for invalid quantities instead of DOUBLE_MIN 2019-09-16 18:00:24 +02:00
wmayer
52916175ed start to replace old C-style casts with static_cast or reinterpret_cast, avoid implicit casts 2019-09-16 17:59:18 +02:00
Bernd Hahnebach
0aaa43a303 FEM: coding conventions, add documentation info 2019-09-15 22:43:17 +02:00
Bernd Hahnebach
dae91a4fb2 FEM: ccx tools, use python documentation style 2019-09-15 22:43:10 +02:00
Bernd Hahnebach
5fc30f3dd7 FEM: result task panel, do not activate greyed buttons 2019-09-15 22:43:03 +02:00
wmayer
209128d6fc fix possible memory leak 2019-09-15 21:10:51 +02:00