Commit Graph

32140 Commits

Author SHA1 Message Date
Adrian Insaurralde Avalos
662473b11f Improve NaviCube font matching on linux 2023-02-28 10:01:33 +01:00
Yorik van Havre
1366e066b4 Merge pull request #8698 from Jolbas/draftvecutil
Return pure rotation from getPlaneRotation()
2023-02-28 09:45:57 +01:00
Yorik van Havre
ab023a4779 Merge pull request #8688 from Roy-043/Arch-Arch_SectionPlane-improve-handling-of-non-solids
[Arch] Arch_SectionPlane improve handling of non-solids
2023-02-28 09:43:16 +01:00
Yorik van Havre
217aace518 Merge pull request #8686 from yorikvanhavre/translations
Crowdin translations
2023-02-28 09:37:32 +01:00
Yorik van Havre
89d23d7437 Merge pull request #8607 from Roy-043/Arch-fix-Arch_Schedule-recompute-issue
[Arch] fix Arch_Schedule recompute issue
2023-02-28 09:36:57 +01:00
Yorik van Havre
5b208f6998 Merge pull request #8626 from yorikvanhavre/remove-six
Arch, Draft: Remove use of six module
2023-02-28 09:35:52 +01:00
Jolbas
202a6ca6b8 return pure rotation from getPlaneRotation() 2023-02-28 01:07:56 +01:00
Uwe
8f4c9d811b [Mesh] [Spread] fix compilation with PCH
- add 2 missing includes to be able to compile with precompiled headers
2023-02-27 23:09:58 +01:00
Chris Hennes
acbf7e6f80 App: Minor loop cleanup in Property.h
As discussed in PR #8683
2023-02-27 23:07:27 +01:00
Chris Hennes
42a910982d Spreadsheet: Fix unintended copies 2023-02-27 15:58:32 -06:00
wmayer
c8a35d85fe Base: fix pow() of Quantity 2023-02-27 22:13:08 +01:00
Roy-043
7d0101513e [Arch] Arch_SectionPlane improve handling of non-solids update 2023-02-27 20:30:31 +01:00
Chris Hennes
ae943476de Spreadsheet: Remove legacy file 2023-02-27 13:23:06 -06:00
wmayer
75fedd8146 Base: handle several Lint warnings 2023-02-27 20:07:01 +01:00
wmayer
b41ba49c5d Tests: add more unit tests 2023-02-27 20:07:01 +01:00
wmayer
57eb7a5b07 Base: add missing != operator to Quantity 2023-02-27 20:07:01 +01:00
wmayer
06fc99edfe Base: fix pow() of Unit 2023-02-27 20:07:01 +01:00
Daniel-Khodabakhsh
cbde3952e2 Update CONTRIBUTING.md
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2023-02-27 10:33:24 -06:00
Daniel-Khodabakhsh
f59dc69a1b Improve usage of the term 'platform' in CONTRIBUTING.md
This PR improves `CONTRIBUTING.md` by replacing some instances of the term `Platform` with `GitHub` for the following reasons:

* This was unnecessary legalese which made the document harder to comprehend.
* Fixes a few ambiguous usages of the term:
  * In one usage there is ambiguity if there is a platform called "Platform".
  * Ambiguous with other usages of the word when referring to the runtime platform.
* Fixes one incorrect usage of the term, where reference to `"Platform"` was intended to refer to any other platform OTHER THAN `GitHub` or `"the Platform"`.
2023-02-27 10:33:24 -06:00
Roy-043
e0528ca102 [Arch] Arch_SectionPlane improve handling of non-solids 2023-02-27 16:26:42 +01:00
Yorik van Havre
be6a654b3e merged crowdin translations 2023-02-27 16:01:15 +01:00
Yorik van Havre
2cd27ce328 updated ts files 2023-02-27 15:35:51 +01:00
Uwe
dfa7766b5b [FEM] [skip ci] fixes for flow example
- the heat solver settings were wrong so that the heat was actually not calculated for convection
- also set more realistic temperatures
2023-02-27 15:03:34 +01:00
Bernd Hahnebach
e02bd17199 IFC: import helper, add method to convert IFC color to RGB col 2023-02-27 13:38:57 +01:00
Uwe
62e0fee913 [App] attempt to fix compiler warnings in Property.h
- "conversion from 'size_t' to 'int', possible loss of data" in for loops by modernizing the for loops
- fix warning about uninitialized variable
2023-02-27 02:20:01 +01:00
Uwe
7b851646e2 [App] sort units in FreeCADInit.py 2023-02-27 00:12:06 +01:00
Jonas Bähr
d5e341b044 PD: Fix exception from InvoluteGear with zero fillets
While gears without a root fillet may have limited real-live use cases,
during number-input it happens regulary to have a zero fillet radius as
intermediate state. With this commit such a situation is now handled
gracefully.
2023-02-26 23:28:33 +01:00
Uwe
4f87850788 [App] [skip ci] some comment fixes
- also a sorting fix
2023-02-26 23:19:19 +01:00
Uwe
9e211c7f93 [Base] fix issues with new units
- also sort units for better overview
2023-02-26 22:19:31 +01:00
wmayer
97bd03c6ad Plugin: harmonize with FreeCAD widgets 2023-02-26 21:59:19 +01:00
Uwe
0f2df33396 [App] register all available unit properties
- was missing in #6717
2023-02-26 19:12:25 +01:00
Uwe
ead3e5a3e6 [App] sort properties
- to keep better the overview
2023-02-26 18:07:41 +01:00
M G Berberich
9c1d80d9e6 add cbrt (cube root) to expressions (#8629)
This adds a function cbrt(arg) to the freecad-expressions that computes
the cube root of arg. Instead of arg^(1/3) this handles the units of the
argument, so that one can compute units from p.e. ml to mm.
  cbrt(27 ml) → 30 mm
instead of
  (27 ml)^(1/3) → 30
2023-02-26 17:49:58 +01:00
Uwe
eb24cf2638 [Core] add missing velocity property
- fixes compilation because declared in header but no code
- also sort the properties to keep the overview
2023-02-26 16:38:02 +01:00
wmayer
a16073c91d Gui: add function View3DSettings::stopAnimatingIfDeactivated() 2023-02-26 16:20:58 +01:00
Oliver Oxtoby
806c47311e [App] [Base] Add missing Property classes for all Units (#6717)
- Add missing Property classes for all Units
- Add missing units to unit calculator, as well as some missing string representations
- also change units used for dynamic viscosity to the customary Pa*s
2023-02-26 15:28:28 +01:00
wmayer
64ce9ec0a4 Gui: refactor View3DInventor and move handling of settings to separate classes 2023-02-26 15:17:39 +01:00
Chris Hennes
07dbe74c34 Sketcher: Silence Coverity warning
Coverity CID 350580: Uninitialized scalar variable. The analyzer doesn't like the incomplete construction of the ConstraintId object (the 'Type' field was uninitialized).
2023-02-26 13:48:48 +01:00
wmayer
c7f2b67d14 App: fix several Lint warnings:
* ignore bugprone-easily-swappable-parameters
* handle bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions
* handle readability-uppercase-literal-suffix
* handle readability-braces-around-statements
2023-02-26 13:30:44 +01:00
wmayer
42e055f9c7 Gui: use Color::fromPackedRGBA to simplify client code 2023-02-26 13:30:44 +01:00
wmayer
201faebb99 Tests: fix Lint issue cppcoreguidelines-init-variables 2023-02-26 13:30:44 +01:00
wmayer
191b477d75 App: fix some Lint issues:
* readability-identifier-length
* cppcoreguidelines-pro-type-member-init
2023-02-26 13:30:44 +01:00
wmayer
fb4af78cdc Import: enable multi-threading support of RWGltf_CafWriter for OCCT 7.7 2023-02-26 13:30:44 +01:00
Uwe
17b3b24e62 modernize usage of connect() 2023-02-26 10:38:28 +01:00
Uwe
4074578044 [Widgets] register transparency property of Gui::ColorButton
- at the moment it is not possible to set the property "allowTransparency" in Qt Designer
2023-02-26 10:38:28 +01:00
Chris Hennes
cabb88019f Gui: Eliminate variable reuse
Coverity complains about USE_AFTER_FREE here, and it was difficult to reason about the code. To help address this, use different variables for the different parameter groups.
2023-02-26 10:36:16 +01:00
Uwe
b846722f3a [TD] fix compiler about a variable redefinition 2023-02-26 10:31:36 +01:00
Chris Hennes
05837719f6 Spreadsheet: Fix possible null dereference
Fixes Coverity CID 184299.
2023-02-26 10:22:37 +01:00
wmayer
9604f94fdc Core: add functions setPackedARGB and fromPackedRGBA 2023-02-26 10:11:53 +01:00
wmayer
337991cbc7 Gui: use Color::asPackedRGB<QColor>() 2023-02-26 10:11:53 +01:00