Benjamin Nauck
4b589088f6
Sketcher: Add #include <limits> where used
2025-03-31 23:52:38 +02:00
Chris Hennes
e7156aa326
Merge pull request #20496 from hyarion/refactor/cppify-constants
2025-03-29 18:43:40 -05:00
ashimabu
0317206930
Sketcher: Explicitly check fullyConstrainedChanged on solve ( #20236 )
2025-03-29 14:25:58 -05:00
Benjamin Nauck
b4eb28e50e
Sketcher: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:39 +01:00
mosfet80
96e8a9e83c
Remove old GCC<=8 ( #20508 )
...
GCC version is always greater than 8
2025-03-29 12:21:36 +01:00
PaddleStroke
0f00c6d2d1
Sketcher: Slot tool: Enforce correctly when angle is set ( #20269 )
2025-03-22 18:21:24 +01:00
PaddleStroke
1fc61423f3
Sketcher: Line tool: Enforce correctly when angle is set ( #20267 )
2025-03-22 18:20:26 +01:00
Chris Hennes
28b62eb52b
Sketcher: Ensure copy of temp string is kept
...
Coverity issue 545249. A temporary string is constructed, and its address stored via c_str(). That pointer is then used after the string is destroyed. The fix is to store the std::string.
2025-03-22 07:15:15 +01:00
Chris Hennes
e12deea20e
Sketcher: Ensure loop can exit
...
Coverity issue 513796
2025-03-22 07:15:15 +01:00
PaddleStroke
7076989ead
Remove unecessary if in DrawSketchHandlerArc.h
2025-03-20 13:40:24 +01:00
Chris Hennes
e574fa1efc
Merge pull request #19899 from tritao/cmake-cleanup-targets
...
CMake: Cleanup targets with transitive dependencies
2025-03-17 13:15:37 -05:00
Chris Hennes
061876db82
Merge pull request #14176 from mosfet80/cleanmodPart
...
[mod:part] clean code
2025-03-17 11:13:19 -05:00
tritao
6c2c6847eb
CMake: Cleanup targets with transitive dependencies
2025-03-17 12:12:06 +00:00
Chris Hennes
5f623390fb
Merge pull request #20142 from bofdahof/ranges
...
Apply C++20 std::ranges (mainly to std::find)
2025-03-17 03:08:27 -05:00
Chris Hennes
42cc0d93be
Merge pull request #20160 from karliss/popup-parent
...
Add missing parent for messagbox and other popups.
2025-03-17 00:16:49 -05:00
Chris Hennes
4fcdac28fb
Merge pull request #19583 from hyarion/refactor/base-type
...
Refactor Base::Type
2025-03-17 00:03:22 -05:00
Chris Hennes
fd4fd6ccf7
Merge pull request #19890 from Shkolik/sketcher_defining_color
...
Sketcher: Preference color added for External defining geometry
2025-03-17 00:00:02 -05:00
Chris Hennes
89e20d561d
Merge pull request #20105 from PaddleStroke/patch-15
...
Sketcher: DSH: add OVP constraints before AutoConstraints.
2025-03-16 23:58:57 -05:00
Chris Hennes
75bcc7d316
Merge pull request #20165 from PaddleStroke/patch-16
...
Sketcher: Add parameter to combine line and polyline
2025-03-16 23:58:07 -05:00
bofdahof
34881bc82e
Sketcher: apply std::ranges
2025-03-16 17:18:12 -05:00
Karliss
fa61131590
Add missing parent for messagebox and other popups
...
Unparented popups can easily get lost in backround, but they still block top level event loop when run with ::exec() thus preventing interactions with main window. This mainly happens on wayland. Setting the parent ensures they are always kept on top and reasonably positioned.
2025-03-16 16:02:36 -05:00
Luz Paz
17102251e5
Fix various typos
2025-03-14 12:37:12 -04:00
PaddleStroke
0814df7488
Update src/Mod/Sketcher/Gui/SketcherSettings.ui
...
Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com >
2025-03-13 15:05:00 +01:00
PaddleStroke
2d5d1397a9
Update src/Mod/Sketcher/Gui/SketcherSettings.ui
...
Co-authored-by: Furgo <148809153+furgo16@users.noreply.github.com >
2025-03-13 15:04:52 +01:00
PaddleStroke
255949134f
Add line group checkbox to SketcherSettings.cpp
2025-03-13 14:47:02 +01:00
PaddleStroke
8ae1d9bbde
add line group checkbox in SketcherSettings.ui
2025-03-13 14:45:40 +01:00
pre-commit-ci[bot]
fde9be13bc
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-03-13 11:12:48 +00:00
PaddleStroke
b940863353
Sketcher: Add parameter to combine line and polyline
2025-03-13 12:08:56 +01:00
Chris Hennes
3359fee251
Sketcher: Clean up compiler warnings
...
* numpoints from double to int
* Remove redundant out-of-line definition for constexpr static data member
2025-03-11 22:33:32 -05:00
Chris Hennes
71906499c4
Merge pull request #19843 from Shkolik/sketcher_spline_intersection
...
fix #19831 Sketcher: Create external Intersection geometry not working with complex surfaces
2025-03-11 21:44:28 +00:00
Chris Hennes
357cddabc7
Merge pull request #20117 from hyarion/ps-move-func-to-cpp
...
Sketcher: Move getStandardButtons to cpp file
2025-03-11 20:55:40 +00:00
Chris Hennes
6de034bf84
Merge pull request #19926 from benj5378/toStringasd
...
Gui: clean up PropertyItem::toString
2025-03-11 20:38:15 +00:00
Benjamin Nauck
2db9ae7bdf
Remove outdated comment
2025-03-11 10:17:12 +01:00
PaddleStroke
0bb47bc0d8
Move getStandardButtons to cpp file
2025-03-11 10:09:09 +01:00
Andrea
cd5c46ba18
Remove unnecessary check (duplicated)
...
before including the library, it is uselessly checked if the variable __QtAll__ and __InventorAll__ have been defined. The same check is performed again once the library is included
2025-03-10 21:53:00 +01:00
PaddleStroke
f9eaf9b568
Sketcher: DSH: add OVP constraints before AutoConstraints.
2025-03-10 12:49:17 +01:00
Andrew Shkolik
27dd14174e
fix #18356 Sketcher: External reference line defaults to geometry, but vertex does not
2025-03-04 21:29:54 -06:00
pre-commit-ci[bot]
400863889b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-03-04 16:22:36 +00:00
mosfet80
e38de93dfd
Merge branch 'FreeCAD:main' into cleanmodPart
2025-03-04 15:26:14 +01:00
Andrew Shkolik
1155182ac3
Sketcher: Preference pattern and width added for External defining geometry
2025-03-03 23:51:26 -06:00
Chris Hennes
7f1c43a335
Merge pull request #19636 from kadet1090/color-in-base
...
Base: Move App::Color to Base
2025-03-02 16:36:40 -06:00
Andrew
f3643af82b
Merge pull request #19747 from Shkolik/sketcher_datums_projection
...
fix #18894 Sketcher: Create external projection geometry not working with datum objects
2025-03-02 16:20:45 -06:00
Benjamin Bræstrup Sayoc
3765455ebe
Gui: clean up PropertyItem::toString
...
I have no idea why the return type of toString was ever QVariant
2025-03-01 16:10:46 +01:00
Andrew Shkolik
e0cc02f730
Merge branch 'sketcher_spline_intersection' of https://github.com/Shkolik/FreeCAD into sketcher_spline_intersection
2025-02-28 12:34:14 -06:00
Andrew Shkolik
ec24bd8c21
fixes #19831 - additional code to cover projection of split curve edge
2025-02-28 12:33:56 -06:00
pre-commit-ci[bot]
f7c1e7f8a5
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-02-27 06:42:55 +00:00
Andrew Shkolik
411cdadf49
Sketcher: Preference color added for External defining geometry
2025-02-27 00:28:20 -06:00
Benjamin Bræstrup Sayoc
755229df23
Build: suppress warnings from 3rd party libraries
...
Warnings from 3rd parties are not relevant and are only polluting the warning output. Marking these libraries as SYSTEM suppresses warning.
https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-I
https://gcc.gnu.org/onlinedocs/cpp/System-Headers.html
2025-02-25 14:39:05 +00:00
Andrea
0fbb300fe4
[mod:part] fix compile warning
...
.
2025-02-25 08:49:20 +01:00
pre-commit-ci[bot]
ceac12c388
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-02-25 07:45:29 +00:00