mos
7e0cd689a5
[Base] remove MemDebug
...
removed unused Memdebug files
2024-02-26 20:38:46 -06:00
Ladislav Michl
1215301e59
Base: Fix #12061
...
While rebasing after f539138dd9 ("fix readability-*:") a mistake was
make, causing exception been thrown for every file opened. While there,
invert file test existence logic, so we return early on failure.
Fixes: 95b37fa806 ("Base: Do not use else before return")
2024-02-26 17:39:33 +01:00
Chris Hennes
7f8d6e2bb1
Update translations ( #12557 )
...
* 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-02-24 21:38:37 -06:00
Chris Hennes
5d1c4caba0
Base: Rename ASCIIInputStream to TextInputStream
2024-02-21 07:31:22 +01:00
Chris Hennes
44d86f3296
Base: Add ASCIIInputStream
...
Based on the modifications to InputStream from the LinkStage3 fork. Needed for correct restoration of StringHasher.
2024-02-19 16:47:28 -06:00
Paddle
48173f2b9d
Assembly: Implement special drag mode for revolute.
2024-02-13 08:25:46 +01:00
Adrián Insaurralde Avalos
9c3ab15ecb
Base: escape quotes in Quantity::getSafeUserString
...
fix #12204 and fix #12206
2024-02-12 12:09:30 -06:00
Yorik van Havre
638e398bec
Crowdin translations ( #12313 )
...
* 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>
2024-02-12 11:59:08 -06:00
wmayer
b03ed3b42e
Base: fix IsNormal() and IsParallel()
...
Fix the IsNormal() and IsParallel() methods to pass the unit tests
2024-02-12 11:58:45 -06:00
wmayer
100ab2a975
Py3.12: initialize field 'tp_watched'
2024-02-12 11:41:49 -06:00
Adrian Insaurralde Avalos
808e5d9d74
Add Base::Tools::escapeQuotesFromString with corresponding test
...
To be used to avoid sending unescaped quotes to python console
2024-02-04 16:44:25 -06:00
marioalexis
c2fbee6be4
Base: Add stiffness per unit area unit
2024-01-26 13:44:16 -03:00
Ladislav Michl
f1fdd2e2a9
Base: Replace if else with switch statement
2024-01-21 16:14:12 +01:00
Ladislav Michl
95b37fa806
Base: Do not use else before return
2024-01-21 16:14:12 +01:00
Ladislav Michl
915bfd3dde
Base: Use std::recursive_mutex
2024-01-21 16:14:12 +01:00
pre-commit-ci[bot]
dd1db1e23e
[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
6b68344af8
[TD] extend App.Vector API
2024-01-13 09:59:54 -05:00
edi271
14c536b453
[TD] extend Base::Vector3D
2024-01-13 09:59:54 -05:00
edi271
9a9803c9f9
[base] Extend Vector by isParallel function
2024-01-13 09:59:54 -05:00
Catalin MARINCIA
4813b9297b
Build: Fix visibility of fields in Reader.h to be compiled with GCC 13 toolchain
2024-01-08 18:32:40 +01:00
sliptonic
88e186f305
Merge pull request #11779 from hasecilu/second_unit
...
[Base/Units] Change strings' description
2024-01-08 11:10:22 -06:00
Alex Neufeld
8936a4bd1b
Fix Rotation constructor error msg
2024-01-05 11:10:10 -06:00
Chris Hennes
1d2186b7d6
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
a679c8b818
merged crowdin translations
2023-12-20 09:27:37 +01:00
hasecilu
04dc68218b
Add ':' to TODOs to activate highlight
...
Some linters have a special highlightning on "TODO:" comments.
2023-12-19 17:01:17 -06:00
hasecilu
af6477205b
[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
8f3fcd540a
MSYS: fix CMake configure and build for MinGW
2023-12-03 18:02:07 +01:00
wmayer
559a746507
MSYS: fix build failure with MinGW & gcc
2023-11-28 16:16:34 +01:00
Yorik van Havre
3ade39ccf1
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
fa65438556
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
c2694fd7d9
Base: cppcoreguidelines
2023-11-24 00:11:32 +01:00
wmayer
dcd533af4b
Base: fix google-explicit-constructor
2023-11-22 23:47:29 +01:00
wmayer
43642a54f3
Base: fix cppcoreguidelines-avoid-non-const-global-variables
2023-11-22 14:06:06 +01:00
Chris Hennes
98b3df9442
Base: Fix missing NOLINTEND
2023-11-22 11:15:32 +01:00
Chris Hennes
90dc4aeb13
Update translations
2023-11-20 13:46:22 -06:00
wmayer
85e536394d
Base: fix bugprone reserved identifier
2023-11-20 20:30:15 +01:00
Chris Hennes
bf0b19c175
Merge pull request #11409 from wwmayer/fix_clangtidy_base
...
Base: Fix clang-tidy reports
2023-11-20 08:17:27 -06:00
mos
c25500fc72
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
08b10cd287
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
39337ea12e
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
c07c7c9fc9
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
85ead154c4
fix readability-make-member-function-const
2023-11-16 01:22:09 +01:00
wmayer
7c00932fa0
fix readability-isolate-declarations
2023-11-16 01:22:08 +01:00
wmayer
5c306f6e2a
fix readability-*:
...
* readability-uppercase-literal-suffix
* readability-named-parameter
2023-11-16 01:22:08 +01:00
wmayer
f539138dd9
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
e4975f0153
fix readability-braces-around-statements
2023-11-16 01:22:08 +01:00
wmayer
767647a05f
fix readability-avoid-const-params-in-decls
2023-11-16 01:22:08 +01:00
wmayer
73a1e90e45
fix readability-identifier-length
2023-11-16 01:22:08 +01:00
pre-commit-ci[bot]
6a66034ce2
[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
7194c29a81
[Units]Add Meters-only schema ( #7395 )
...
- use correct unit for velocity
- typo in include guard
2023-11-16 00:24:09 +01:00