pre-commit-ci[bot]
1c2e1b2758
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-13 09:59:54 -05:00
edi271
4e22e42410
[TD] extend App.Vector API
2024-01-13 09:59:54 -05:00
edi271
a01220180f
[TD] extend Base::Vector3D
2024-01-13 09:59:54 -05:00
edi271
975642964c
[base] Extend Vector by isParallel function
2024-01-13 09:59:54 -05:00
Catalin MARINCIA
20b59ce9dd
Build: Fix visibility of fields in Reader.h to be compiled with GCC 13 toolchain
2024-01-08 18:32:40 +01:00
sliptonic
d6d6e4d80b
Merge pull request #11779 from hasecilu/second_unit
...
[Base/Units] Change strings' description
2024-01-08 11:10:22 -06:00
Alex Neufeld
917990f8c4
Fix Rotation constructor error msg
2024-01-05 11:10:10 -06:00
Chris Hennes
fce7dea6f7
Update translations ( #11886 )
...
* Update translations
* [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>
2024-01-03 09:27:18 -06:00
Yorik van Havre
651fc54a8c
merged crowdin translations
2023-12-20 09:27:37 +01:00
hasecilu
b1515377b5
Add ':' to TODOs to activate highlight
...
Some linters have a special highlightning on "TODO:" comments.
2023-12-19 17:01:17 -06:00
hasecilu
13209cc80c
[Base/Units] Change strings' description
...
Affect strings presented to the user on the combobox to select unit system.
- The symbol to represent angles on "degree" unit is '°'
- Change imperial velocity to "ft/s" to enforce the use of 's' symnbol as second
2023-12-19 16:35:22 -06:00
wmayer
e785786673
MSYS: fix CMake configure and build for MinGW
2023-12-03 18:02:07 +01:00
wmayer
207fb09b68
MSYS: fix build failure with MinGW & gcc
2023-11-28 16:16:34 +01:00
Yorik van Havre
fac94ba932
Translations ( #11551 )
...
* Updated ts files
* merged crowdin translations
* [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>
2023-11-27 11:29:38 -06:00
Chris Hennes
cfd41683a5
Core: Enable compiling with MSVC /permissive- ( #11014 )
...
* Base: Fixes for MSVC permissive-
* App: Fixes for MSVC permissive-
* Gui: Fixes for MSVC permissive-
* Main: Fixes for MSVC permissive-
* Fem: Fixes for MSVC permissive-
* Material: Fixes for MSVC permissive-
* Part: Fixes for MSVC permissive-
* Mesh: Fixes for MSVC permissive-
* Points: Fixes for MSVC permissive-
* Robot: Fixes for MSVC permissive-
* TechDraw: Fixes for MSVC permissive-
* Path: Fixes for MSVC permissive-
* Core; Changes per review comments
* TD: Revision from wandererfan
* [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>
2023-11-27 17:37:29 +01:00
wmayer
ba208c9dd6
Base: cppcoreguidelines
2023-11-24 00:11:32 +01:00
wmayer
0c21c6298c
Base: fix google-explicit-constructor
2023-11-22 23:47:29 +01:00
wmayer
6c82631c8b
Base: fix cppcoreguidelines-avoid-non-const-global-variables
2023-11-22 14:06:06 +01:00
Chris Hennes
914edb7887
Base: Fix missing NOLINTEND
2023-11-22 11:15:32 +01:00
Chris Hennes
1372070452
Update translations
2023-11-20 13:46:22 -06:00
wmayer
8b8f2647d0
Base: fix bugprone reserved identifier
2023-11-20 20:30:15 +01:00
Chris Hennes
bf6d07c402
Merge pull request #11409 from wwmayer/fix_clangtidy_base
...
Base: Fix clang-tidy reports
2023-11-20 08:17:27 -06:00
mos
66070c662f
fix python get value rotation are a Long .
...
remove old check python >=3.5 -> freecad require python 3.6
2023-11-16 14:05:30 +01:00
wmayer
3ac4dc0686
fix cppcoreguidelines-*
...
* cppcoreguidelines-init-variables
* cppcoreguidelines-c-copy-assignment-signature
* cppcoreguidelines-macro-usage
* cppcoreguidelines-non-private-member-variables-in-classes
* cppcoreguidelines-pro-type-member-init
* cppcoreguidelines-slicing
* cppcoreguidelines-special-member-functions
* cppcoreguidelines-virtual-class-destructor
2023-11-16 01:22:09 +01:00
wmayer
365e7136cd
fix bugprone-*
...
* bugprone-throw-keyword-missing
* bugprone-unhandled-self-assignment
* bugprone-suspicious-string-compare
* bugprone-reserved-identifier
* bugprone-narrowing-conversions
* bugprone-macro-parentheses
* bugprone-implicit-widening-of-multiplication-result
* bugprone-exception-escape
* bugprone-copy-constructor-init
2023-11-16 01:22:09 +01:00
wmayer
09ed6f125b
fix performance-*
...
* performance-type-promotion-in-math-fn
* performance-trivially-destructible
* performance-noexcept-move-constructor
* performance-faster-string-find
2023-11-16 01:22:09 +01:00
wmayer
a6ea6ff155
fix readability-make-member-function-const
2023-11-16 01:22:09 +01:00
wmayer
a602003747
fix readability-isolate-declarations
2023-11-16 01:22:08 +01:00
wmayer
276bbcad6e
fix readability-*:
...
* readability-uppercase-literal-suffix
* readability-named-parameter
2023-11-16 01:22:08 +01:00
wmayer
bd88162b9d
fix readability-*:
...
* readability-const-return-type
* readability-container-data-pointer
* readability-container-size-empty
* readability-delete-null-pointer
* readability-else-after-return
* readability-inconsistent-declaration-parameter-name
* readability-redundant-member-init
* readability-redundant-smartptr-get
* readability-redundant-string-cstr
* readability-use-anyofallof
* readability-static-definition-in-anonymous-namespace
* readability-static-accessed-through-instance
* readability-simplify-boolean-expr
2023-11-16 01:22:08 +01:00
wmayer
c5f5bfd22a
fix readability-braces-around-statements
2023-11-16 01:22:08 +01:00
wmayer
0633129b83
fix readability-avoid-const-params-in-decls
2023-11-16 01:22:08 +01:00
wmayer
9c7d00ffcb
fix readability-identifier-length
2023-11-16 01:22:08 +01:00
pre-commit-ci[bot]
57a333e2b2
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-11-16 00:24:09 +01:00
wandererfan
a2e26f5002
[Units]Add Meters-only schema ( #7395 )
...
- use correct unit for velocity
- typo in include guard
2023-11-16 00:24:09 +01:00
wmayer
fd74acca35
Base: fix several reported lint warnings
2023-11-13 12:01:26 -05:00
wmayer
a776f8b333
Base: fix indentation of documentation
2023-11-13 12:01:26 -05:00
wmayer
a42d6f815f
Base: apply clang format
2023-11-13 12:01:26 -05:00
wmayer
985def3416
Base: apply clang format
2023-11-13 12:01:26 -05:00
Chris Hennes
f25af97811
Update translations
2023-11-09 12:23:56 -06:00
wmayer
48ad05cf6c
Base: extend ShapeHintsItem to allow to set vertex ordering and shape type
2023-11-08 21:03:33 +01:00
Chris Hennes
590fb19f31
Merge pull request #10978 from FlachyJoe/modernize-type-check
...
Modernize type and derived type checking
2023-11-06 10:44:32 -06:00
wmayer
13f30b2cbb
Base: fix crash in PyException::ReportException()
2023-11-06 10:08:18 +01:00
Chris Hennes
ce8f48967a
Merge branch 'main' into modernize-type-check
2023-10-31 15:46:18 -05:00
Ed Williams
58c3e2a425
Base: set sys.last_vars to enable post mortem debugging after exception
...
* Update Interpreter.cpp to enable stack trace
This enables python debuggers to stack trace after an exception.
See https://forum.freecad.org/viewtopic.php?p=714349#p714349
Co-authored-by: bdieterm <119257544+bdieterm@users.noreply.github.com >
2023-10-31 09:40:57 +01:00
Florian Foinant-Willig
741296b82e
Core: modernize type checking
2023-10-23 18:07:07 +02:00
wmayer
2265198ffe
Base: add overloaded method Matrix4D::isUnity()
2023-10-19 19:25:25 +02:00
wmayer
e3fb3b9639
Base: add method XMLReader::isStartOfDocument()
2023-10-12 19:46:21 +02:00
Chris Hennes
80be10c643
Base/Toponaming: Refactor to extract filters to new file
2023-10-10 11:28:30 -05:00
Chris Hennes
023ff7f388
App/Toponaming: Linter cleanup of Base64 code
...
Does not address pointer arithmetic or array indexing complaints.
2023-10-10 10:19:44 -05:00