Commit Graph

31564 Commits

Author SHA1 Message Date
wmayer
103de43a4e Gui: fix possible problems with new style connect
* In UIntSpinBox rename the signal to not overwrite the signal of the base class
* In UIntSpinBox use the (ambiguous) signal 'valueChanged' of the base class QSpinBox
* To avoid that connect() fails use the function pointer of the Qt class where the signal is defined
2023-01-12 17:02:59 +01:00
Roy-043
19d624396f Draft: housekeeping: indentation gui_snapper.py
As mentioned here: #8172
2023-01-12 16:04:31 +01:00
Roy-043
dec88420bf Draft: Properly remove Snap toolbar when switching workbenches (#8172) 2023-01-12 15:29:21 +01:00
Roy-043
d9144213c2 Arch: fix ArchSectionPlane getSceneGraph problem (#8171) 2023-01-12 15:28:00 +01:00
Uwe
ed995b5a15 [Gui] modernize some connect() settings
- addresses #6166
2023-01-12 15:13:16 +01:00
luzpaz
92398f94e3 Spreadsheet: [skip ci] convert tabs to spaces
Minor housekeeping fix
2023-01-12 14:08:33 +01:00
Roy-043
69efdc016f Draft: improve wires.isReallyClosed (#8167) 2023-01-12 10:25:48 +01:00
Roy-043
fb1ed8f5e4 Draft: improve offsets.offsetWire (#8166) 2023-01-12 10:25:11 +01:00
Uwe
4091db4739 [skip ci] [Gui] ExpressionCompleter: fix a typo
- found by the CI
2023-01-12 04:20:40 +01:00
wmayer
079bdc64b1 Gui: change custom message handler to show Qt warnings and errors also in Release mode 2023-01-11 17:48:13 +01:00
wmayer
28c757bc12 Gui: [skip ci] print warning in getViewProviderByPath, getViewProviderByPathFromTail, getViewProvidersOfType if for View3DInventorViewer no document is set
This gives the client programmer a clue if one of the mentioned methods fails
2023-01-10 17:46:05 +01:00
wmayer
406034f3ca Gui: add method setDocumentOfViewers and set documents of viewers in constructor of SplitView3DInventor 2023-01-10 17:23:48 +01:00
sliptonic
5284d9c886 Merge pull request #8146 from sliptonic/bug/threadmilling
[Path] fix bug with threadmilling collision
2023-01-10 08:05:42 -06:00
Jakub Świerk
a334206ca7 Updated ts files 2023-01-10 13:46:33 +01:00
Jakub Świerk
09c00c5155 Gui: Removed unused method. 2023-01-10 13:46:33 +01:00
Jakub Świerk
d3300d1fc0 GUI: Removed Std_ArrangeIcons command. 2023-01-10 13:46:33 +01:00
luzpaz
2d6a768a6b README: update bugtracker related links and info
Link to github instead of mantis.  
Update links on how to submit bugs + feature requests  
Add link to CONTRIBUTING.md
2023-01-10 13:08:54 +01:00
Chris Hennes
8e38c47d7a Addon Manager: Fix bug in ZIP isntallation 2023-01-09 19:35:18 -06:00
sliptonic
eb4bf66425 Remove check for internal as well 2023-01-09 10:46:55 -06:00
sliptonic
297389acae Merge pull request #8145 from sliptonic/bug/7600
[Path] use correct widgets in task panel Fix #7600
2023-01-09 10:28:50 -06:00
Abdullah Tahiri
7fcee31c07 Part/Sketcher: Geometry/Geometry facade pass by const-reference instead of by value 2023-01-09 17:13:26 +01:00
Abdullah Tahiri
b7945b6a15 Sketcher: Do not mark as fully constrained sketches that do not converge
=======================================================================

In uncommon situations, the analysis of QR decomposition leads to full rank, but the result does not converge.

We avoid marking a sketch as fully constrained when no convergence is achieved.
2023-01-09 17:11:14 +01:00
Uwe
1ddd8b8a92 [skip ci] [TD] fix a typo as reported by the CI 2023-01-09 15:47:40 +01:00
berniev
ae1911e038 improved clang-format 2023-01-09 09:17:47 -05:00
luzpaz
1476fdcece Increment year in copyright notice (2023) (#8156)
* Increment year in copyright notice
2023-01-09 14:59:37 +01:00
Uwe
f8db7e9187 [TD] remove unused headers (#8155)
* [TD] remove unused headers

- also some sorting
- also improve readability by not using an abbreviation (we consistently don't abbreviate class names)
2023-01-09 14:55:22 +01:00
Yorik van Havre
3a8fcb53ec Merged crowdin translations 2023-01-09 14:06:28 +01:00
Yorik van Havre
0439b4dca9 Updated ts files 2023-01-09 13:24:16 +01:00
Uwe
3c610a6c61 [TD] final fix of compilation after #8141
- in DimensionValidators.h the declarations must not be with TechDrawExport
- add missing precompiled headers

- also fix too long lines (fixed by clang)
- also some re-sorting
- also remove unused headers
2023-01-09 12:48:15 +01:00
Uwe
ce4a916875 [TD] minor fixes
- typos and code formatting as reported by the CI
- some more re-sorting
2023-01-09 12:02:50 +01:00
wmayer
a963ca5f8c TD: fixes #8144: TD crash 2023-01-09 11:43:14 +01:00
wmayer
d159b97cae CMake: fix linking error in test function when linking Python statically 2023-01-09 11:41:22 +01:00
Uwe
e42f46a47b [TD] attempt to fix compilation with PCH after #8141
- also resort includes
2023-01-09 11:26:51 +01:00
wandererfan
a1e295e92d [TD]fix loss of precision in view direction 2023-01-08 17:50:49 -05:00
wandererfan
e82cf08991 [TD]fix dimension retains light on dark colour 2023-01-08 17:50:49 -05:00
sliptonic
777ebad2d0 fix bug with collision 2023-01-08 14:02:33 -06:00
sliptonic
65006d1f47 use correct widgets in task panel 2023-01-08 12:05:34 -06:00
wandererfan
664b2560ad [TD]fix wrong calculation of 3d two edge angle 2023-01-07 16:32:03 -05:00
wandererfan
63be8da664 [TD]fix exception on empty list during restore 2023-01-07 16:32:03 -05:00
wandererfan
17554e29f1 [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
1b547dff72 [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
aeeb62d204 [Measure]fix angle returns supplementary value 2023-01-07 16:32:03 -05:00
luzpaz
e5b258610b 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
077f5bdd40 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
aa67808f24 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
5995556b08 [skip ci] fix typos 2023-01-06 18:16:50 +01:00
Zheng, Lei
7164674cb4 Base/App/Gui: force using Base::Handle for ParameterManager
For reference counting
2023-01-06 09:14:41 -06:00
sliptonic
8133e9157e Merge pull request #8133 from sliptonic/feature/partialedgedrilling
Fix for Partial edge drilling Fixes 8131
2023-01-06 08:19:29 -06:00
wmayer
c18adc2cee Gui: fix activating of MDI views via menu commands 2023-01-06 14:42:29 +01:00
sliptonic
2428520b9a Fix for Partial edge drilling Fixes 8131 2023-01-05 17:35:08 -06:00