Commit Graph

32425 Commits

Author SHA1 Message Date
Paddle
1603720d7a Addon manager: lint and black. 2023-03-31 14:31:55 +02:00
Paddle
31c483587a Addon manager: wb change to ordered + disabled lists. 2023-03-31 14:12:28 +02:00
Paddle
4407387ab4 Pref: wb: change to disabled + ordered lists. 2023-03-31 14:12:27 +02:00
Paddle
4487154c57 Pref: wb: change parameter group to prevent issues between 0.21 and older versions. 2023-03-31 14:12:27 +02:00
Paddle
a203012666 Addon manager: Subscribe to core the enabled status of addon workbenches. 2023-03-31 14:12:27 +02:00
Paddle
835b96b724 Pref: make restartIfRequired() private 2023-03-31 14:12:27 +02:00
Paddle
996f4da123 Pref: wb: remove the list of disabled wb.
TODO: Addon Manager should add workbenches to the list of enabled wb on installation. And remove them from the list on uninstall.
TODO: Addon Manager 'disable mode' should be removed.
2023-03-31 14:12:27 +02:00
Paddle
9c02b2bc05 Pref: wb: disable test workbench by default. It still appears and can be activated in the pref page. 2023-03-31 14:12:27 +02:00
Paddle
e19e02ce5c Pref: wb: disable none workbench by default. 2023-03-31 14:12:27 +02:00
Paddle
ec2e5fe2ac Pref: Wb: remove args first element on restart.
- isRebootRequired is not public but in accept&reject.
- PreferencePage::isRebootRequired changed to const
- Change 2 warnings to log
- remove useless  c_str()
- Change DlgPreferencesImp::isRebootRequired name + reboot by restart everywhere.
- Sort workbenches so that disabled wb are sorted.
2023-03-31 14:12:27 +02:00
Pesc0
876601d34d Remove all PyQt references 2023-03-31 10:36:04 +02:00
Jolbas
c001732663 PartDesign: Return directly if occurrences is 1
In LinearPattern and PolarPattern. Skip all checks if occurrences is 1. Allows Expressions on Length/Angle that evaluates to 0 if Occurrences is 1.

Co-Authored-By: 0penBrain <48731257+0penBrain@users.noreply.github.com>
2023-03-30 23:02:03 +02:00
Morgan 'ARR\!' Allen
ff4388a610 return useful error message if file is not found 2023-03-29 21:22:47 -07:00
Morgan 'ARR\!' Allen
287e9dbfe9 Merge branch 'master' into path_custom_source 2023-03-29 20:50:07 -07:00
Kevin Martin
31f3458399 Add GIL locking for Python calls, alter cp mapping
Required GIL locking has been added where Python methods are
called.

The code mapping from codepage names like ansi_nnn to cpnnnn has
been altered a bit to shorten it.
2023-03-29 16:09:35 -04:00
wandererfan
7fa7cb7f0b [Part]handle unicode filename on win 2023-03-29 15:04:57 -04:00
Pesc0
77f922f32f Remove "commands" tab in customize dialog 2023-03-29 00:55:03 +02:00
Roy-043
161e7aca98 [Draft] small DraftGui.py cleanup (#9108) 2023-03-28 23:54:00 +02:00
Chris Hennes
0a2e6dd2b7 Merge pull request #9099 from wwmayer/more_robust_init
Core: make the init scripts more robust against invalid package.xml f…
2023-03-28 16:36:41 -05:00
Roy-043
87b0893044 [Draft] Remove obsolete decode code (#9106) 2023-03-28 21:03:33 +02:00
Roy-043
d65b05c3df [Draft] Remove obsolete ShapeString code from DraftGui.py (#9102) 2023-03-28 17:26:14 +02:00
Chris Hennes
0457c4e794 Merge pull request #9080 from Ondsel-Development/gridNameFix
Sketcher: Grid pref: Change names.
2023-03-28 10:10:47 -05:00
Chris Hennes
405cb8149a Merge pull request #9076 from Pesc0/removesix
remove functions leftover from using six
2023-03-28 10:00:58 -05:00
Chris Hennes
a7c4158632 Merge pull request #9026 from Ondsel-Development/wb_prefs
Preferences : Rework Workbench page by merging the 'customize' dialog capability
2023-03-28 09:58:34 -05:00
Chris Hennes
2542be332b Merge pull request #9101 from luzpaz/openscad-linting4
OpenSCAD: linting cont...
2023-03-28 09:45:49 -05:00
Paddle
d0bd202293 Pref: Wb : move 'Wb by tab' to wb pref page. 2023-03-28 15:18:28 +02:00
Paddle
0e2bc871e8 Changed copyright texts of modified pages. 2023-03-28 15:18:28 +02:00
Paddle
8d16cf7395 Pref: - add require-reboot capability to PreferencePage.
- Implement this require-reboot in wb pref page
2023-03-28 15:18:23 +02:00
Paddle
12588150c1 PartDesign: Chamfer/fillet/draft/thickness small fixes. 2023-03-28 13:30:13 +02:00
luzpaz
2f593a2613 OpenSCAD: linting cont...
Linting colorcodedshapes.py and prototype.py
2023-03-28 10:57:48 +00:00
Paddle
18a9c164d6 PartDesign: Fillet/chamger/draft/thickness: change the button strings to 'Preview' and 'Select' 2023-03-28 12:52:42 +02:00
Paddle
de6038ff9b PartDesign: Fix placement issue with thickness tool when the feature was empty. 2023-03-28 12:52:42 +02:00
Paddle
d896d00d48 PartDesign: Fillet Draft Chamfer Thickness : Add warning message on empty feature creation 2023-03-28 12:52:42 +02:00
Paddle
47cc265b4f PartDesign: Fillet, Chamfer, Draft, Thickness : Enable tool to start with no selection. 2023-03-28 12:52:42 +02:00
Paddle
8ada7af302 PartDesign: Fillet/chamfer/draft/thickness: Merge Add & Remove buttons. 2023-03-28 12:52:42 +02:00
Paddle
3f1e6a3c87 Pref: Wb: add shortcuts + reorder when wb toggled. 2023-03-28 12:09:15 +02:00
Paddle
565488bf21 Pref: Wb: add shortcuts. 2023-03-28 12:09:15 +02:00
Paddle
d4aca1953a Pref: Wb: lambda to simplify saveSettings() 2023-03-28 12:09:15 +02:00
Paddle
123e83e0a1 Pref: Wb: startup wb has to be autoloading. 2023-03-28 12:09:15 +02:00
Paddle
b0d6b758d1 Pref: Wb: remove the dlg pointer from the wbListItem 2023-03-28 12:09:15 +02:00
Paddle
a6b69cd395 Pref: Wb: add setters and getters to wbListItem 2023-03-28 12:09:15 +02:00
Paddle
14167b558e Pref: wb: Move wbListItem to cpp. 2023-03-28 12:09:15 +02:00
Paddle
cab401eaf3 Preferences: workbench: make a wbListItem qwidget sub class 2023-03-28 12:09:15 +02:00
Paddle
9871aa2b53 Preferences: Workbench: Change the QListWidgetDragBug name to ListWidgetDragBug. Move the wbList setXxx() to ctor. Fix the 'Currently, your...' 2023-03-28 12:09:15 +02:00
Paddle
7eb3386894 Preferences: Workbench: Move the buttons closer to the label. 2023-03-28 12:09:15 +02:00
Paddle
2fe2da2c4e Preferences: Workbench: Move startup workbench to workbench page 2023-03-28 12:09:03 +02:00
Paddle
9f904ae04f Preference: Move workbench selector position to the workbench preference page. 2023-03-28 11:59:32 +02:00
Paddle
4b60df5ced Preference: Replace the name LazyLoaded by Workbenches. 2023-03-28 11:59:32 +02:00
Paddle
6e6194d01c Preferences: Remove Customize Workbenches dialog. 2023-03-28 11:59:32 +02:00
Paddle
d7efe5a616 Preferences: Workbench : Replace the functions used to retrieve the list of enabled wb 2023-03-28 11:59:32 +02:00