Commit Graph

41736 Commits

Author SHA1 Message Date
Benjamin Nauck
c97ce5b5e9 Tools: Add #include <limits> where used 2025-03-31 23:53:16 +02:00
Benjamin Nauck
d61dcb2e6d Web: Add #include <limits> where used 2025-03-31 23:53:10 +02:00
Benjamin Nauck
d0320b494d TechDraw: Add #include <limits> where used 2025-03-31 23:53:03 +02:00
Benjamin Nauck
3462c165d8 Surface: Add #include <limits> where used 2025-03-31 23:52:55 +02:00
Benjamin Nauck
8073075301 Spreadsheet: Add #include <limits> where used 2025-03-31 23:52:48 +02:00
Benjamin Nauck
4b589088f6 Sketcher: Add #include <limits> where used 2025-03-31 23:52:38 +02:00
Benjamin Nauck
5b436f2a83 ReverseEngineering: Add #include <limits> where used 2025-03-31 23:52:33 +02:00
Benjamin Nauck
30ff61f7c0 Point: Add #include <limits> where used 2025-03-31 23:52:24 +02:00
Benjamin Nauck
65a0fb0ed4 PartDesign: Add #include <limits> where used 2025-03-31 23:52:18 +02:00
Benjamin Nauck
d5447df72d Part: Add #include <limits> where used 2025-03-31 23:52:08 +02:00
Benjamin Nauck
0ac87c8a27 MeshPart: Add #include <limits> where used 2025-03-31 23:52:00 +02:00
Benjamin Nauck
368f1fc296 Mesh: Add #include <limits> where used 2025-03-31 23:51:52 +02:00
Benjamin Nauck
1aeb594c80 Inspection: Add #include <limits> where used 2025-03-31 23:51:38 +02:00
Benjamin Nauck
1669427449 Import: Add #include <limits> where used 2025-03-31 23:51:31 +02:00
Benjamin Nauck
a6e1b894fe Fem: Add #include <limits> where used 2025-03-31 23:51:06 +02:00
Benjamin Nauck
1dc1cc8d1b Cloud: Add #include <limits> where used 2025-03-31 23:50:57 +02:00
Benjamin Nauck
df6a76ba84 CAM: Add #include <limits> where used 2025-03-31 23:50:49 +02:00
Benjamin Nauck
17dc7fce06 Gui: Add #include <limits> where used 2025-03-31 23:50:37 +02:00
Benjamin Nauck
d9af862627 Base: Add #include <limits> where used 2025-03-31 23:50:30 +02:00
Benjamin Nauck
27f5699588 App: Add #include <limits> where used 2025-03-31 23:50:19 +02:00
sliptonic
f1258e36b2 Merge pull request #20169 from phaseloop/vcarve-speed
[CAM] Improve Vcarve path generation speed on complex shapes
2025-03-31 23:32:42 +02:00
marioalexis
b601629b2a Fem: Capitalize label in material task panel 2025-03-31 23:00:50 +02:00
Luz Paz
f809e34ea0 Fix typos
Found via `codespell -q 3 -L aci,addmin,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,aply,apoints,ba,beginn,behaviour,bloaded,bottome,brushin,bu,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,documentin,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,findn,fle,freez,graphin,hist,iff,incrementin,indexin,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,itsel,kilometre,leadin,localy,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,renderin,rin,ro,rougly,sectionin,seperator,serie,shs,sinc,siz,som,strack,substraction,te,technic,thist,thru,tread,tru,ue,uint,unter,uptodate,vas,vertexes,vew,wallthickness,whitespaces -S "./.git,*.po,*.ts,*.pdf,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./src/Base/StackWalker.cpp,./build/doc/SourceDoc,./tools/build/WindowsInstaller/lang,./src/Mod/TechDraw/Templates/locale"`
2025-03-31 23:00:32 +02:00
David Carter
31e43a8381 Materials: Build external materials support conditionally
Adds a new build option BUILD_MATERIAL_EXTERNAL which is off by default.

When disabled, the external interface is not built. This allows the
code to be tested thoroughly before reaching the end user.
2025-03-31 22:24:53 +02:00
Rafael Pronto
1d4a09366c Sketcher: Prevent renaming interruption when hovering task elements. (#20458)
* Sketcher: Prevent renaming interruption when hovering task elements.

Fixes #11842.

* Sketcher: Refactored input focus check based on PR feedback (PR #20458)

* Update src/Mod/Sketcher/Gui/TaskSketcherElements.cpp

---------

Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-03-31 17:45:33 +00:00
marioalexis
b655de3ea6 Fem: Simplify label in material task panel 2025-03-31 18:36:20 +02:00
Pieter Hijma
ba4ee26ebc [Doc] Add an up-to-date Doxygen configuration file
This is currently only for the WebDoc target and not for teh DevDoc
target.
2025-03-31 11:32:15 -05:00
Kevin Martin
0986dadb2f Correct non-gui DXF C++ importer to not generate pending python exceptions (#20328)
* Add a test case for DXF import

* Test gui flag rather than look for import error to make gui decision

The new code is cleaner and faster and avoids any exception stuff

* Properly avoid trying to use Layer's View object in non-GUI

The code was trying to avoid this but had a Python None object rather than a null C++ pointer and so tried setting a property on None. This left an unhandled exception state which acted as a booby trap that caused the later failure of some unrelated code.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* De-lint, remove wong "unsupported" message
Hidden layers have been supported for a while but still generated an import note about this being unsupported.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-31 11:20:37 -05:00
Tiago Almeida
9153926cbf fix #20005: material editor issue
-Changed info.baseName() to
info.fileName().remove(QStringLiteral(".FCMat"), Qt::CaseInsensitive)
in MaterialLibrary.cpp to ensure that only the extension ".FCmat"
is removed from the file name bacause the previous version was removing
 everything in front of the first dot
2025-03-31 11:16:12 -05:00
Andrea
c197032384 update libkdtree
switch to version 0.7.4
fix for a compiler warning inkdtree++/region.hpp
fixes of warnings, latest c++ standard compatibility.

.
2025-03-31 11:05:09 -05:00
Andrea
85179089b1 [mod] clean
code clean
2025-03-31 11:01:39 -05:00
mosfet80
a8cf308ea0 Update SetupLibFmt.cmake
update fmt to last version
2025-03-31 10:49:16 -05:00
Chris Hennes
9c99e73d65 Navlib: Eliminate compiler warnings
A few unused variables, and a few cases where clang would prefer it be made clear that an initializer is initializing two separate sub-objects, rather than using a flat list.
2025-03-31 17:47:23 +02:00
Kevin Martin
7441ae36d3 Base: UniqueNameManager support for very long numbers in name (#19943)
* Add unit tests for large digit count in unique names

* Updated to use arbitrary-precision unsigneds

Passes the new unit tests, all diagnostics, and resolves Issue 19881

* Place UnlimitedUnsigned at top level and add unit tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-31 10:45:58 -05:00
Jonathan Zirkle
ee6f757c57 Mod: Convert from dynamic to static casts (#20452) 2025-03-31 15:17:51 +02:00
Alfredo Monclus
487c62a663 Gui: fix Inputfield valid/invalid icon placement and size (#20466)
* Gui: fix inputfield icon size placement

* chore:Update inputfield comment to be more clear

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>

---------

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2025-03-31 00:14:19 +02:00
Roy-043
1c588e6614 Draft: fix alignment of dim arrows
Forum post (issue 3):
https://forum.freecad.org/viewtopic.php?t=95898#p819131

The `invert` value of dim arrows should always be `False` for the 1st and `True` for the 2nd. It should not depend on their X coords.
2025-03-30 21:20:26 +02:00
Tomas Polak
e581142ff6 BIM adjust BIM_Classification tooltip 2025-03-30 20:54:50 +02:00
Benjamin Bræstrup Sayoc
3a7712bc68 Tests: move Color.cpp to Base 2025-03-30 18:11:00 +02:00
jonzirk76
025155fbe7 TechDraw: remove double type checking
Fixes #20131
2025-03-30 10:42:08 -05:00
Roy-043
b1294af5df Draft: fix Dim Auto Flip Tex angle checks (#20523)
When checking angles Dim Auto Flip Text did not consider that angles can be almost -180 degrees and should then be treated the same as 180 degree angles.
2025-03-30 16:07:54 +02:00
Roy-043
f5d98e6e5d Draft: fix Dim Auto Flip Tex angle checks
When checking angles Dim Auto Flip Text did not consider that angles can be almost -180 degrees and should then be treated the same as 180 degree angles.
2025-03-30 14:01:10 +02:00
marcuspollio
80847bb45f Merge remote-tracking branch 'upstream/main' into bim-cleanup-imports 2025-03-30 12:44:55 +02:00
Paul Lee
b05c02b6f1 [Draft-Faces] Bind: Improve fuse and warning - Further Fix
Github Discussion:
- Fix problem Roy-043 pointed out https://github.com/FreeCAD/FreeCAD/pull/20395#pullrequestreview-2726624360

FC Forum:
- https://forum.freecad.org/viewtopic.php?p=819121#p819121
2025-03-30 10:29:36 +08:00
Chris Hennes
e7156aa326 Merge pull request #20496 from hyarion/refactor/cppify-constants 2025-03-29 18:43:40 -05:00
Pieter Hijma
cf1a5c5c18 [Doc] Make naming groups consistent in App
The identifier for groups/topics such as "Document" that have a class
with the samen name are suffixed with "Group", so the identifier becomes
"DocumentGroup".  For groups/topics with no ambiguity the identifier
matches the topic name closely, for example "ExpressionFramework" for
topic "Expression Framework".
2025-03-29 15:11:01 -05:00
Pieter Hijma
1ba6a40472 [Doc] Add links between topics and relevant items
The documentation has topics, for example topic App which contains
namespace App or topic Document that contains class Document.  This
commit makes sure that the topic has a link to the relevant class or
namespace, whereas the relevant class or namespace refers back to the
topic for a more high-level overview.
2025-03-29 15:11:01 -05:00
Pieter Hijma
ec4ea7f8d3 [Doc] Improve topics within App
- The location of the documentation is improved (not in the cpp file
  anymore but in core-app.dox).  This prevents cluttering source with
  high-level overviews typical of topic documentation.
- The formatting has been made consistent.
2025-03-29 15:11:01 -05:00
Pieter Hijma
52317683f7 [Doc] Show topics instead of modules 2025-03-29 15:11:01 -05:00
Benjamin Nauck
8145be8c2b Update src/App/ExpressionParser.l
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-03-29 20:56:55 +01:00