Commit Graph

18256 Commits

Author SHA1 Message Date
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
wmayer
54eda5e755 fix possible memory leak 2019-09-15 21:00:21 +02:00
wmayer
5390266ac7 fixes #0004125: MDIViews not accessible correctly 2019-09-15 18:15:44 +02:00
wmayer
190d351a20 fix crash in polyline tool 2019-09-15 11:03:21 +02:00
Bernd Hahnebach
99daacd544 FEM: delete file which was added by acident 2019-09-14 22:57:40 +02:00
Bernd Hahnebach
49000b1bc5 FEM: result task panel, fix if restore result is True but some results are missing 2019-09-14 22:54:46 +02:00
Bernd Hahnebach
46e66942b3 FEM: white spaces 2019-09-14 22:54:38 +02:00
Bernd Hahnebach
9eb5f89962 Arch: use IfcType undefined for building parts, is annotation or actuator ATM 2019-09-14 22:10:36 +02:00
Bernd Hahnebach
7fc7d39964 FEM: calculix solver task panel 2019-09-14 21:03:50 +02:00
wmayer
f0a1b46b5c support to load old project files with PD draft object, restore handling with constraints 2019-09-14 19:57:31 +02:00
mwganson
35aa7bf313 [PartDesign] Draft angle property change from App::PropertyFloatConstraint to App::PropertyAngle 2019-09-14 19:05:29 +02:00
wmayer
7edcc70282 implement trimming of a mesh with a plane 2019-09-14 17:05:20 +02:00
luz.paz
f32b4072ff AddonManager: Add MeshRemodel WB 2019-09-14 12:19:29 +02:00
DeepSOIC
b5ff5ca388 fix Show-related imports 2019-09-14 12:17:01 +02:00
DeepSOIC
1593efecc7 Show: py2 support
mostly changes to the way things are imported
+small misc fixes
2019-09-14 12:16:51 +02:00
DeepSOIC
20f68358a7 Show: rename TempoVis.py into mTempoVis.py
so that TempoVis member defined in Show's __init__ doesn't hide the module
2019-09-14 12:16:42 +02:00
wmayer
0e2ee0bb22 fix MSVC compiler warning 2019-09-14 12:15:35 +02:00
wmayer
1cdd2d166f Add virtual method allowOverrideViewProviderName to DocumentObject to indicate if a DocumentObject's view provider type can be overriden.
For most object types this is not allowed to avoid to create incompatible combinations via Python or manipulated project files and possibly provoke crashes.

For more details see also: https://forum.freecadweb.org/viewtopic.php?f=10&t=38970&p=333951#p333951
2019-09-14 00:52:09 +02:00
Bernd Hahnebach
44e853c2f8 FEM: typo 2019-09-13 18:59:11 +02:00
Bernd Hahnebach
2797726880 FEM: test modules, use double quotes instead of single ones, all FEM done :-) 2019-09-13 18:59:02 +02:00
Bernd Hahnebach
a3b4996534 FEM: unit tests, get back all tests 2019-09-13 16:32:49 +02:00
wmayer
7c83a2d05d fix regression caused by commit 469e3b5bf 2019-09-13 13:08:48 +02:00
Bernd Hahnebach
d85e2bfebc FEM: unit tests, add a new test to make sure all FEM objects are available to add to a document 2019-09-13 12:58:26 +02:00
Bernd Hahnebach
774693569a FEM: objects create, add a new line to make copy easier 2019-09-13 12:58:21 +02:00
Bernd Hahnebach
86f0b320cd FEM: unit test, make it more obvisious when a new class starts 2019-09-13 12:58:17 +02:00