Commit Graph

37443 Commits

Author SHA1 Message Date
pavltom
095160d438 [TechDraw] Remove nowhere used m_dragState 2023-11-16 20:45:02 -05:00
pavltom
35618ef606 [TechDraw] Refactor QGIView and QGIPrimPath mouse processing 2023-11-16 20:45:02 -05:00
pavltom
e2cc18eb8d [TechDraw] Remove now unused SelectPoint signal relics 2023-11-16 20:45:02 -05:00
pavltom
e2635afe87 [TechDraw] Fix app selection not reflecting Qt selection 2023-11-16 20:45:02 -05:00
pavltom
5a6c3b2606 [TechDraw] Fix DrawView.setPosition signaling changes always 2023-11-16 20:45:02 -05:00
Pesc0
a719d80eff Upgrade debugger to debugpy 2023-11-17 02:00:32 +01:00
Pesc0
20a4d40f0b addon manager: use get_python_exe from utils file 2023-11-17 02:00:25 +01:00
Pesc0
eeb5a34d54 create utils file with get_python_exe 2023-11-17 02:00:12 +01:00
Roy-043
acac040b6e Draft: Draft_Join should call join_wires
Also removed an obsolete comment.
2023-11-16 21:02:19 +01:00
wmayer
18aeb4e812 Tests: add test for QuantitySpinBox::setValue(double) 2023-11-16 19:37:21 +01:00
Abdullah Tahiri
900d3e878e Gui: QuantitySpinBox - keep format on setValue
==============================================

Problem:
When the value set is a double, a new Quantity is created, which does not follow
the previously configured format (setDecimals).

Solution:
To copy the old format to the newly created quantity.
2023-11-16 19:29:46 +01:00
wmayer
7cbae75ade Tools: for generated Python binding use PyTypeObject instead of _typeobject
And name the function arguments of PyMake to handle readability-named-parameter
2023-11-16 17:03:14 +01:00
bgbsww
c44a61bae3 PartDesign: refresh body after pipe creation (#11357) 2023-11-16 12:58:39 -03:00
Pesc0
77b6e29371 Vscode PR - split 1 - add cmakepresets (#11385)
* add CMakePresets.json
2023-11-16 12:49:54 -03:00
Roy-043
49befdc282 Merge pull request #11415 from Roy-043/Draft-prefs-remove-copymode-useSupport-no-longer-via-UI
Draft: prefs: remove copymode, useSupport no longer via UI
2023-11-16 16:13:54 +01: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
Roy-043
65ec16341d Draft: prefs: remove copymode, useSupport no longer via UI
This PR removes the copymode (Global copy mode) preference.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=82679

Additionally useSupport is removed from preferences-draft.ui, turning it into a fine-tuning preference. Use of this feature is rare and may not be supported in the future. No need to present this preference to new users in the UI.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=80689
2023-11-16 11:40:23 +01:00
Roy-043
bd5cdc3bc1 Merge pull request #11405 from Roy-043/Draft-menu-texts-of-snaps-to-sentence-case
Draft: menu texts of snaps to sentence case
2023-11-16 10:09:13 +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
Roy-043
cb94603731 Draft: menu texts of snaps to sentence case 2023-11-15 14:59:38 +01:00
Paddle
ca80f8eee2 Fix ESC key for Sketcher_Dimension 2023-11-15 14:41:43 +01:00
Paddle
5c11f39be7 Sketcher OVP setting : add missing default. 2023-11-15 14:40:03 +01:00
Abdullah Tahiri
62365dd7dd SketcherGui: Fix preselectAtPoint for non X-Y orientations 2023-11-15 14:34:11 +01:00
Roy-043
1a69bf1582 Merge pull request #11393 from Roy-043/Draft-cleanup-related-to-PR11336
Draft: cleanup related to PR11336
2023-11-15 09:43:49 +01:00
Adrián Insaurralde Avalos
f72b08b0dd move WindowsInstaller to tools/build [skip ci] 2023-11-14 14:55:08 -03:00
Adrián Insaurralde Avalos
77f2e09994 Improve upon #11268 - fix wrong description for shortcuts [skip ci] 2023-11-14 14:55:08 -03:00
Paddle
8108aa95cf Slot fix vertical/horizontal constraints 2023-11-14 14:22:26 +01:00
Paddle
c2789a300e Slot DSH : fixes 2023-11-14 14:22:26 +01:00
Paddle
94fc037678 Slot DSH : implement tool parameters. 2023-11-14 14:22:26 +01:00
Abdullah Tahiri
352d1f5bc3 SketcherGui: DSH - parameter unused depending of constexpr fixed 2023-11-14 14:12:16 +01:00
Roy-043
50e5130060 Draft: cleanup related to PR11336
See #11336
2023-11-14 11:51:34 +01:00
Roy-043
8452edce03 Merge pull request #11388 from Roy-043/Arch-more-file-extensions-also-in-caps
Arch: more file extensions also in caps
2023-11-14 10:34:42 +01:00
Roy-043
fbc4281e34 Merge pull request #11387 from Roy-043/Draft-more-file-extensions-also-in-caps
Draft: more file extensions also in caps
2023-11-14 10:34:14 +01:00
Roy-043
6126fb3877 Merge pull request #11379 from Roy-043/Draft-remove-the-tolerance-preference
Draft: remove the tolerance preference
2023-11-14 10:33:10 +01:00
Pesc0
7cc5799111 Add convenience scripts to install conda development environment. (#11386)
* add remaining env updates

Co-authored-by: Jacob Oursland <jacob.oursland@gmail.com>
Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>
2023-11-14 05:50:18 -03:00
alexbeer2048
aa874fe4bf Fix windows uninstaller issue #10971 and #11232 (#11268)
* Move MultiUser install mode default registry key to the uninstaller registry entry

Lets the uninstaller detect the correct context for each installed version. related to #10971

* Fix uninstaller doesn't use correct shell context when installed for current user

related to #10971

* Update installer init checks for previously installed versions

Use shell context determined by the MultiUser plugin. related to #10971

* fix: Perform installer version checks after install mode selection

Perform installer version checks after install mode selection to ensure that they are done for the correct reg root key. Fixes #10971.

* Call version check method also in silent mode

* Add TrimQuotes macro to installer utilities

Also remove FileCheck macro

* Update comment in gui.nsh

* Change Windows installer/uninstaller FileDescription entry

related to #11232
2023-11-13 23:48:13 -03:00
Roy-043
58b6389771 Arch: more file extensions also in caps 2023-11-14 00:14:20 +01:00
Roy-043
7521751f79 Typos 2023-11-14 00:04:33 +01:00
Roy-043
bbc53afc37 Draft: more file extensions also in caps 2023-11-13 23:12:18 +01:00