Commit Graph

34024 Commits

Author SHA1 Message Date
qewer33
53ca19458e Make StartPage tips use BackgroundTextColor 2023-08-28 16:52:34 +03:00
qewer33
23ad8ffcd2 Change default StartPage BackgroundTextColor value 2023-08-28 16:50:19 +03:00
MisterMaker
1941abd999 [Stylesheets] Replaced more static colors with the accent colors. (#10387)
* [Stylesheets] Fixed and added more accent colors.

Added accent colors to Behave dark ProDark and Dark contrast.
Used accent color 3 to the button gradients.
Added Gradient to the Modern styles, because you can disable the gradient by giving 2 accent colors the same color.

* changed to so accent color 3 is text.
2023-08-27 13:48:36 -05:00
qewer
d141e7167f StartPage: Visual overhaul and CSS fixes (#10391)
* StartPage visual overhaul and CSS fixes
* Add qewer33 to CONTRIBUTORS
2023-08-27 13:27:53 -05:00
wmayer
672090ca47 Drawing: fix build failure 2023-08-27 19:16:58 +02:00
wmayer
0ae4ef2d2f Mesh: add unit tests 2023-08-27 18:55:02 +02:00
wmayer
cdd5248721 Points: add unit tests 2023-08-27 18:55:02 +02:00
wmayer
48202e940e Base: add unit tests 2023-08-27 18:55:02 +02:00
Chris Hennes
3d8ec230f8 Merge pull request #10365 from chennes/wrapPyArgParseWithKeywords
Wrap PyArg_ParseTupleWithKeywords
2023-08-27 10:23:31 -05:00
kaktus Jacek
b6db25c2d2 Cleaning code from unnecessary strings generated to Crowdin. (#10385)
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-27 10:08:11 -05:00
Roy-043
32c47e64a3 Draft: Make gui_tool_utils.get_support nesting aware (#10373)
The get_support function did not work for objects nested in, for example, Std_Parts.

Additionally improved and cleaned up the code, and reduced the docstrings.
2023-08-27 12:41:25 +02:00
Roy-043
15e5f60d00 Draft: remove superfluous code from gui_points.py (#10379) 2023-08-27 12:41:01 +02:00
Roy-043
29eb25e8aa Draft: Add wp attribute to DraftTool class (#10386)
It makes sense to have this attribute. It will also facilitate the coming work related to the Plane class.

Additionally: Removed the `not self.doc` check from `Activated` as `IsActive` already handles this.
2023-08-27 12:40:30 +02:00
Chris Hennes
2e6b8e2dfd Add libyaml-cpp-dev to Ubuntu 22.04 LTS CI 2023-08-27 00:22:40 -05:00
Chris Hennes
5cc46b2df3 Add libyaml-cpp-dev to Ubuntu 20.04 LTS CI 2023-08-27 00:22:40 -05:00
mosfet80
037c6827d9 Update ccache into action.yml 2023-08-27 00:22:30 -05:00
mosfet80
62b825ff4f Update labeler.yml
Switch to Node.js 16 by default.
version 3 is no longer maintained
2023-08-27 00:22:20 -05:00
wmayer
1b7d96f55a Base: add methods to get volume and get max/min points 2023-08-27 03:11:00 +02:00
Chris Hennes
951ad4bf77 Base: Add clearer error message for missing nullptr 2023-08-26 16:11:03 -05:00
wmayer
b4739d3ca4 Base: fix clang-tidy warnings in BoundBox.h 2023-08-26 21:03:58 +02:00
Chris Hennes
f17e6aa98f Base: Add static_assert for keyword array size > 0 2023-08-26 12:32:29 -05:00
wmayer
9dd4779252 Test: add more unit tests 2023-08-26 13:17:53 +02:00
Chris Hennes
c60e03741a TD: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
089a694efa Robot: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
0733261d06 RE: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
d2e51218c8 Path: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
068b39092c Part: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
fdc4490b72 MeshPart: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
79286f30da Mesh: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
1622079078 Import: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
6e50d5c979 Drawing: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
3d7441c2a5 Gui: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
Chris Hennes
393c1020f5 App: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:20 -05:00
Chris Hennes
6bd1c6be49 Base: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 14:52:30 -05:00
Chris Hennes
9eafbb65af Base: Add wrapper for PyArg_ParseTupleAndKeywords
Enable strict const-correctness for the keywords argument and address
several linter complaints related to using a C function in C++ code.
2023-08-25 14:49:28 -05:00
wmayer
2c2347f746 Tests: add unit tests for:
* TopoShape::getElementTypeAndIndex
* ComplexGeoData::getTypeAndIndex

and fix crashes there when passing a null pointer
2023-08-25 19:23:18 +02:00
wmayer
66fb1c7777 Part: refactor ViewProviderPartExt::getDetail 2023-08-25 19:23:18 +02:00
wmayer
56ccef84c2 App: refactor ComplexGeoData::getSubElementByName 2023-08-25 19:23:18 +02:00
andrea
ad71d1c7c1 removed unused files 2023-08-25 16:06:42 +02:00
Roy-043
ac7fba867c Draft: Remove unused arguments from gui_tool_utils.get_point (#10347) 2023-08-25 03:49:06 +02:00
Roy-043
979d83a22b Draft: Housekeeping and minor improvements for some draftguitools (#10339) 2023-08-25 03:47:39 +02:00
wmayer
097d5d6fee Base: C++ core guidelines: init variables 2023-08-24 18:48:52 +02:00
Roy-043
1ed3782d4b Draft: Fix placement_from_face if vec_z matches normal of face (#10333) 2023-08-24 09:53:13 +02:00
wmayer
6beace8da6 Gui: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
wmayer
1cf1a90a17 App: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
wmayer
4210ab01e0 Base: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
Roy-043
292fadfb1c Draft: Fix error in PR10327 (#10329) 2023-08-23 13:32:37 +02:00
Roy-043
bfa8d79afb Draft: Add placement_from_face to geometry.py (#10327)
Changed getPlacementFromFace function in WorkingPlane.py to a compatibility function that calls placement_from_face.
2023-08-23 12:05:34 +02:00
Roy-043
649dde9808 Draft: Add placement_from_points to geometry.py
Changed getPlacementFromPoints function in WorkingPlane.py to a compatibility function that calls placement_from_points.
2023-08-23 11:17:17 +02:00
wmayer
5da3143f02 Mesh: modernize C++: use default member init 2023-08-23 00:55:03 +02:00