Commit Graph

31528 Commits

Author SHA1 Message Date
wandererfan
503b58daee [TD]fix dimension retains light on dark colour 2023-01-08 17:50:49 -05:00
wandererfan
97b6788464 [TD]fix wrong calculation of 3d two edge angle 2023-01-07 16:32:03 -05:00
wandererfan
7d5c47c633 [TD]fix exception on empty list during restore 2023-01-07 16:32:03 -05:00
wandererfan
88c7aac0d9 [TD]fix issues reported by 3d dimension testers
- correct interpretation of True vs Projected

- handle long subelement names in references

- fix "too small" value condition

- better error messages for bad dimension geometry
2023-01-07 16:32:03 -05:00
wandererfan
208104e9e0 [TD]Refactor Dimensions for 3d upgrade
- separate validation, geometry and reference handling into
  individual files
- improve 3d reference geometry handling
- eliminate duplicate dim creation code

- add Dimension reference repair dialog

- Refactor formatting out of DrawViewDimension

- move dimension repaint control to ViewProvider
2023-01-07 16:32:03 -05:00
wandererfan
9e48f5a158 [Measure]fix angle returns supplementary value 2023-01-07 16:32:03 -05:00
luzpaz
171d09f2ac Crowdin: [skip ci] fix string in Arch/ArchSite.py
Props to david69 https://crowdin.com/translate/freecad/6766/en-fr#6604817
2023-01-07 20:08:28 +01:00
luzpaz
6babde5845 Crowdin: fix string in Arch/ArchStairs.py
Props to david69 in https://crowdin.com/translate/freecad/6766/en-fr#6605247:drl:44875:david69
2023-01-07 20:07:57 +01:00
Abdullah Tahiri
9811d6cbb9 GCS: Improvements to popularity contest and conflicting identification
======================================================================

1. Instead of excluding internal alignment constraints from popularity candidate selection, exclude them from the group altogether. This
ensures no group is non-empty with uneligible candidates, which prevents an infinite loop in uncommon circumnstances (when DoFs collapse).

2. Ensure no internal alignment constraint is identified when conflict ensues.
2023-01-06 13:49:56 -06:00
wmayer
f2908e251c [skip ci] fix typos 2023-01-06 18:16:50 +01:00
Zheng, Lei
e4aa389cc4 Base/App/Gui: force using Base::Handle for ParameterManager
For reference counting
2023-01-06 09:14:41 -06:00
sliptonic
a5d320f753 Merge pull request #8133 from sliptonic/feature/partialedgedrilling
Fix for Partial edge drilling Fixes 8131
2023-01-06 08:19:29 -06:00
wmayer
61e11bb4ab Gui: fix activating of MDI views via menu commands 2023-01-06 14:42:29 +01:00
sliptonic
c909b753a4 Fix for Partial edge drilling Fixes 8131 2023-01-05 17:35:08 -06:00
wmayer
90b7b461b8 TD: [skip ci] fix -Winconsistent-missing-override 2023-01-05 11:14:30 +01:00
Uwe
0a0902532d [TD] fix compilation with PCH after b18f1e5e
- also add includes to QtAll
2023-01-05 00:50:32 +01:00
Ajinkya Dahale
9aba979b27 [Sketcher] Delete check for OCC >= 6.9.0
The oldest version we plan to support is 7.0.0. See
https://forum.freecadweb.org/viewtopic.php?f=10&p=650487#p650487.
2023-01-05 00:27:01 +01:00
wmayer
be9634b23c Part: move to new-style connect of DlgPrimitives dialog 2023-01-04 13:06:26 +01:00
Chris Hennes
2575629e92 Addon Manager: Fix macro installer bug
Also some minor tweaks to the GUI unit testing.
2023-01-03 20:19:41 -06:00
wandererfan
0e402ae075 [TD]add light text on dark page mode
- some visually impaired users need white graphics on
  dark page.

- revise Annotation dialog to respect dark style
2023-01-03 17:41:33 -05:00
wmayer
6eac8fe8b2 Part: move to new-style connect of DlgPrimitives dialog to make it also working with Qt6 2023-01-03 17:09:49 +01:00
sliptonic
0b9b1d8da7 Merge pull request #7826 from LarryWoestman/staging
Path:  Incorporating feedback from code reviews
2023-01-03 09:18:51 -06:00
wmayer
f1481b1f0c Part: refactor DlgPrimitives dialog 2023-01-03 15:53:12 +01:00
wmayer
f039789d0b Base: add overloaded method isIdentity() to Rotation and Placement that accepts a tolerance 2023-01-03 10:54:47 +01:00
Chris Hennes
7cbecd46c7 Addon Manager: Modify dialog closing during tests 2023-01-02 15:09:01 -06:00
wandererfan
3bae9ab611 [TD]fix Win link error in ViewProvider extensions 2023-01-02 13:49:50 -05:00
wmayer
9efac962ac App: fix failure to detect cyclic dependencies on expressions
See also forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=74331
2023-01-02 16:36:10 +01:00
wmayer
d60f2e291f Core: fixes #8119: Make axis values in Property view persistent 2023-01-02 12:48:40 +01:00
wmayer
a70d3beceb Gui: [skip ci] move to new-style connect in Placement dialog 2023-01-02 10:42:12 +01:00
wmayer
05959a2beb PD: fix crash in TaskRevolutionParameters::fillAxisCombo
* Replacing the static_cast with a dynamic_cast in 668adaacdf is a regression because it cannot be guaranteed that the linked object is a sketch.
  In fact it can also be a shape binder which is explicitly allowed.
  Forum: https://forum.freecadweb.org/viewtopic.php?f=19&t=74939
* Move initialization of some variables into the if-statement
2023-01-02 09:49:27 +01:00
wmayer
a67f4fcb74 Web: switch to new-style connect in order to find failures with Qt6 2023-01-02 00:35:37 +01:00
wmayer
64f6f73bcf Gui: Use shiboken6 & PySide6 API 2023-01-01 19:06:06 +01:00
wmayer
7a6e2cc6bb Gui: refactor PythonWrapper 2023-01-01 17:42:25 +01:00
Yorik van Havre
30b272509b Adding info to hand over the copyright to the FPA 2023-01-01 11:01:06 -05:00
wmayer
e8ed464559 Gui: refactor PythonWrapper 2023-01-01 16:35:12 +01:00
wmayer
8a643bee16 Gui: switch to new-style connect in order to find build failures with Qt6 2023-01-01 12:40:07 +01:00
wmayer
0e73896aa3 Addon-Manager: [skip ci] get rid of some explicit PySide2 imports 2023-01-01 11:42:39 +01:00
wmayer
fb565e4af9 PySide: [skip ci] fix typo 2023-01-01 11:01:13 +01:00
wmayer
24438bb10d PySide: in PySide6 QWebEnginePage has been moved to QtWebEngineCore 2023-01-01 10:31:13 +01:00
wmayer
91613cc24c Mod: fix some compiler warnings:
* QString::indexOf() is now marked as [[nodiscard]]
* QApplication::fontMetrics() is deprecated, use the constructor of QFontMetricsF
* fix -Wunused-result
* fix -Wunused-but-set-variable
2022-12-31 21:54:45 +01:00
wmayer
bf34ab817f Gui: QVariant::Type is deprecated, use QMetaType::Type 2022-12-31 21:54:45 +01:00
wmayer
7d878e8646 Image: fix deprecation warnings 2022-12-31 21:54:45 +01:00
wmayer
61fe4b6b6c Raytracing: QString::indexOf is now marked as [[nodiscard]] 2022-12-31 21:54:45 +01:00
wmayer
09ae3b2ab8 Gui: Qt6 port
* QString::indexOf() is now marked as [[nodiscard]]
* Replace deprecated methods of QMessageBox
* QMouseEvent::globalPos() is deprecated, use globalPosition().toPoint()
* QWidget::enterEvent() requires a QEnterEvent as argument
* QLibraryInfo::location() is deprecated, use path()
* QVariant::Type is deprecated, use QMetaType::Type
* QVariant::canConvert(int) is deprecated, use QVariant::canConvert(QMetaType) or QVariant::canConvert<T>()
* QMessageBox::standardIcon is deprecated, use QStyle::standardIcon()
* Replace deprecated method QMessageBox::question(), ...
* QApplication::fontMetrics() is deprecated
* QDropEvent::mouseButtons() is deprecated, use buttons()
* QDropEvent::keyboardModifiers() is deprecated, use modifiers()
* Constructor of QFontDatabase is deprecated, use static methods instead
* Qt::AA_DisableHighDpiScaling is deprecated
* Qt::AA_EnableHighDpiScaling is deprecated
* Qt::AA_UseHighDpiPixmaps is deprecated
2022-12-31 21:54:45 +01:00
LarryWoestman
dcab7c4a78 Path: Reformatted to a line length of 88 using black.
Incorporating feedback; now using f-strings all over.
           Incorporating changes from feedback.
           Incorporated more refactoring feedback.
           Changes for Path refactoring.
2022-12-31 09:20:51 -08:00
sliptonic
a11bde5105 Merge pull request #7962 from luvtofish/master
path: dynapath delta 40-60 post processor add
2022-12-31 10:26:44 -06:00
sliptonic
f654f2d421 Merge pull request #8088 from mlampert/bugfix/8087-dont-load-project-files-unless-tests-are-run
[Path] bugfix/8087-dont-load-project-files-unless-tests-are-run fixes #8087
2022-12-31 10:24:29 -06:00
wmayer
19e4aed759 Gui: expose Document::save()/saveAs() to Python 2022-12-31 13:01:20 +01:00
wmayer
59dcfdc216 Base: fix and refactor Tools::getUniqueName 2022-12-31 00:18:59 +01:00
wmayer
464f4754ba Test: [skip ci] simplify and add more tests 2022-12-31 00:17:37 +01:00