Commit Graph

34098 Commits

Author SHA1 Message Date
Chris Hennes
e6d148a4df Assembly: Apply pre-commit to Assembly files 2023-08-31 12:49:30 -05:00
Chris Hennes
031980a10d Assembly: Add to pre-commit hooks 2023-08-31 12:44:08 -05:00
PaddleStroke
09d50dc072 Assembly: Initial implementation (#10427)
* Assembly: Initial implementation.
* Disable Assembly wb as it's WIP.
* Stub code for handling assembly import.

Co-authored-by: sliptonic <shopinthewoods@gmail.com>
Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com>
2023-08-31 12:30:10 -05:00
tomate44
a501b93f16 BlendCurve: cleanup properties instantiation 2023-08-31 10:42:40 +02:00
tomate44
bc7f7c7dbf BlendCurve: add documentation of properties 2023-08-31 10:42:40 +02:00
tomate44
34634ac3cf BlendCurve: fix auto-update of properties 2023-08-31 10:42:40 +02:00
tomate44
e1b139655f Surface: allow instant update of BlendCurve properties 2023-08-31 10:42:40 +02:00
wandererfan
4d09bb117a [TD]fix #10440 Balloon arrow end point 2023-08-30 14:01:24 -04:00
Roy-043
426e98a7a9 Draft: importDWG.py wrongly assumed that opt directory always exists on Linux (#10447)
Forum topic:
https://forum.freecad.org/viewtopic.php?p=703063#p703061
2023-08-30 18:10:13 +02:00
howie-j
961e329fe4 Updated Shortcuts.cfg pref pack template to newest commands and shortcuts 2023-08-30 10:00:15 -05:00
liukaiwen
5048074542 fix: json is a 3rdparty library, move to 3rdparty 2023-08-30 16:59:25 +02:00
wmayer
9fd4b62d53 libkdtree++: fix deprecation warning:
definition of implicit copy assignment operator for '_Base_iterator' is deprecated because it has a user-provided copy constructor [-Wdeprecated-copy-with-user-provided-copy]
2023-08-30 16:58:48 +02:00
wmayer
a86c0b8928 Gui: fix crash with the move to the new-style of class SelectionFilterPy
When setting the selection filter below and hovering over an object causes a segmentation fault:
filter = Gui.Selection.Filter('SELECT Part::Feature')
Gui.Selection.addSelectionGate(filter)
2023-08-30 15:09:08 +02:00
wandererfan
5e29c03c63 [TD]fix double delete of centerline 2023-08-29 20:44:14 -04:00
wandererfan
f3b3e25513 [TD]Allow section line stretch/shrink 2023-08-29 20:44:14 -04:00
bdieterm
177a86e6e0 Sketcher: fix segfault on distance constraints without SecondPos 2023-08-29 16:24:15 -05:00
kaktus Jacek
ddc6c2a1a0 Cleaning code from unnecessary strings generated to Crowdin 4 (#10426)
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-29 12:57:26 -05:00
Chris Hennes
40f130643a Update translations 2023-08-29 07:38:09 -05:00
kaktus Jacek
21b327eb04 Cleaning code from unnecessary strings generated to Crowdin 3 (#10420)
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-29 07:35:04 -05:00
Yorik van Havre
60247ae669 Merge pull request #10323 from FreeCAD/CONTRIBUTING-PROJECT-ADMIN
Clarify the role of the Project Administrators
2023-08-29 11:28:05 +02:00
kaktus Jacek
cde1a9bcb9 Cleaning code from unnecessary strings generated to Crowdin 2 (#10416)
Cleaning Crowdin of "garbage". Second approach.
https://github.com/FreeCAD/FreeCAD-translations/issues/270
2023-08-28 22:08:14 -05:00
Chris Hennes
fd646b1e9c Merge pull request #10418 from wwmayer/fix_cleanup_selection
Fix possible issues in selection node
2023-08-28 22:07:17 -05:00
wmayer
35136bb3c2 Gui: do not call back() on an empty container
Calling back() on an empty container is undefined behaviour: https://en.cppreference.com/w/cpp/container/vector/back
2023-08-29 00:52:33 +02:00
wmayer
93090fa55b Gui: no need to check for nullptr when using dynamic_cast
It's explicitly allowed to use dynamic_cast on a nullptr and the result will be a nullptr too.
See https://en.cppreference.com/w/cpp/language/dynamic_cast
2023-08-29 00:45:27 +02:00
Chris Hennes
f0152cbcce Merge pull request #10410 from qewer33/startpage-viual-fixes-2
StartPage: Visual fixes follow-up
2023-08-28 12:18:13 -05:00
sliptonic
e0ddc0f5e6 Merge pull request #8443 from LarryWoestman/staging
Path:  Now can set parameter_functions from a postprocessor file.
2023-08-28 11:21:16 -05:00
Chris Hennes
ebcbfb6203 App: Warn on OpenGL too old (#9272)
* App: Warn on OpenGL too old

Based on original code from PR #9164

* GUI: Switch to DlgCheckableMessageBox for openGL warning
2023-08-28 12:08:23 -04:00
Edoardo Morandi
512770f27c fix: downcasting of SoNode that can cause UB (#9285)
A SoNode* is not necessarily a SoFCSelectionRoot*, and when this
assumption breaks the code causes UB (the comment related to one of the
chunks explicitly says that it is safe, but unfortunately it is not).

Instead of storing `SoFCSelectionRoot*` and blindly cast a generic
`SoNode*` to that, we can do the opposite. In this way it is obviously
necessary to use a dynamic cast when trying to reach for
`SoFCSelectionRoot` specific features, but in this way the abstraction
should be sound.

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2023-08-28 11:06:06 -05:00
Florian Foinant-Willig
9681ad595b Sketcher: Point to Circle Distance Constraints (#9559) 2023-08-28 10:58:09 -05:00
Chris Hennes
d0ee2702ec Merge pull request #9810 from Ondsel-Development/v2_constrain_contextually
Sketcher: Constrain Contextual implementation V2
2023-08-28 10:52:05 -05:00
andrea
8cc8962cfc Update libkdtree from 0.7.0 to 0.7.1.1 2023-08-28 10:48:39 -05:00
Florian Foinant-Willig
3311d6d6e3 Sketcher: Fix Visual toolbox visibility 2023-08-28 10:46:48 -05:00
sliptonic
9742f8492b Merge pull request #10318 from davidgilkaufman/rampCircleBug
[Path] Fix bug where ramp dressup makes big circles
2023-08-28 10:45:17 -05:00
liukaiwen
7d9ac16e6c fix: windows build need /utf-8 2023-08-28 11:43:39 -04:00
mosfet80
cb607ffe1e [BASE] Removed dead code (#10330) 2023-08-28 10:41:20 -05:00
Yorik van Havre
4adbc90c99 Merge pull request #10332 from Roy-043/Arch-Implement-placement_from_face-in-ArchWindow.py
Arch: Implement placement_from_face in ArchWindow.py
2023-08-28 17:39:58 +02:00
PaddleStroke
41aefb1331 Pref: wb: Add contextual menu to sort alphabetically. (#10363)
Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com>
2023-08-28 10:39:44 -05:00
Syres916
658452de6d [Gui] Change View toolbar order
as per discussion https://forum.freecad.org/viewtopic.php?p=702171#p702171
2023-08-28 10:36:10 -05:00
sliptonic
559fea0640 Merge pull request #10405 from wwmayer/fix_activeobject_of_activeview
Gui: improve accessing active object of an MDI view
2023-08-28 10:34:57 -05:00
Yorik van Havre
60bd63ea76 Merge pull request #10409 from chennes/cppTestsToCI
CI: Add new test targets
2023-08-28 17:34:18 +02:00
qewer33
584e766d5c Add StartPage CSS warning comment 2023-08-28 18:15:15 +03:00
qewer33
230501d3d5 Add file thumbnail icons hide and size options to StartPage 2023-08-28 18:07:33 +03:00
Chris Hennes
0f66b71878 CI: Add new test targets 2023-08-28 09:20:29 -05:00
wmayer
1816c2a1aa Tests: move Sketcher test target to appropriate CMakeLists.txt file 2023-08-28 09:12:26 -05:00
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
Chris Hennes
51ebda84ae Merge pull request #10403 from wwmayer/fix_format_date
Gui: use '%Y-%m-%d %H:%M:%S' as format string for date
2023-08-28 07:41:38 -05:00
wmayer
b35e83609a Gui: improve accessing active object of an MDI view
* if 2nd argument of getActiveObject() is False and the requested object doesn't exist then return (None, None, "")
* remove the exact same implementations from View3DInventorPy
2023-08-28 13:34:48 +02:00
Roy-043
c2a843a5dd Draft: Reduce occurrences of App.DraftWorkingPlane 2 (#10390) 2023-08-28 10:17:58 +02:00
Roy-043
af87661093 Draft: Reduce occurrences of App.DraftWorkingPlane (#10388) 2023-08-28 10:16:36 +02:00