Commit Graph

25558 Commits

Author SHA1 Message Date
Chris Hennes
2f7bb5c270 Add ToolBarManager Save and Restore calls 2021-08-23 16:01:41 -05:00
Chris Hennes
85b32bb3c8 Fix Linux compilation bugs 2021-08-23 14:43:30 -05:00
Chris Hennes
98b34779e5 Add loadState() function to DockWindowManager
Just changing the preference for hiding or showing a dock window does
not actually trigger a state change. To enable that, the preferences
pack manager must manually instruct the DockWindowManager to save its
state into the preferences before storing a preference pack, and must
instruct the DockWindowManager to load its new state from the
preferences after loading a pack.
2021-08-23 11:30:13 -05:00
Chris Hennes
ada7327dee Enabled Manage... button to show directory 2021-08-21 14:12:51 -05:00
Chris Hennes
19cd3d5929 Add missing header file 2021-08-21 13:24:00 -05:00
Chris Hennes
525a92cfc5 Modify GetASCIIMap to include empty strings 2021-08-20 20:04:19 -05:00
Chris Hennes
554ea62cd1 Add code to ensure unique preference pack names. 2021-08-19 12:29:08 -05:00
Chris Hennes
27042d210f Merge branch 'master' into addThemeSupport 2021-08-19 09:51:12 -05:00
Yorik van Havre
ca043dcb6d Merge pull request #4978 from carlopav/Gui_AddTooltipNames
Gui: Improved tooltips
2021-08-19 13:13:39 +02:00
Yorik van Havre
ba776825c7 Merge pull request #4983 from chennes/lgtmAddMissingInits
[Arch] Add missing inits
2021-08-19 12:40:10 +02:00
Yorik van Havre
fdaf780452 Merge pull request #4979 from Kawashima-Azumi/no-filename-encode
Start: Correct hash for thumbnail filename
2021-08-19 12:39:35 +02:00
Yorik van Havre
b6c88080ba Merge pull request #4980 from 0penBrain/coredump
[Core] exit() can prevent core dumping, use abort() instead on debug mode
2021-08-19 12:38:06 +02:00
carlopav
b5a5a6cd70 Gui: Improved tooltips
Improved tooltips showing:
- the command name as an <h3> title,
- the tooltip text,
- the (What's this).

the title is build from translated getMenuText() and can contain a "&" character. This commit search and remove the "&" characters. It should be better not to use the "&" character in the command name, but if it is necessary it has to be done with "&&".

ref forum discussion: https://forum.freecadweb.org/viewtopic.php?f=34&t=58747
.
2021-08-19 10:24:00 +02:00
Bernd Hahnebach
bf3d86e8b0 FEM: pep8 code formating 2021-08-18 21:21:33 +02:00
Bernd Hahnebach
40d29fe329 FEM: task panels, improve units value handling 2021-08-18 21:21:33 +02:00
0penBrain
f976699bdf [Core] exit() can prevent core dumping, use abort() instead on debug mode 2021-08-18 18:12:31 +02:00
Ajinkya Dahale
6c977d8511 [FEM] Change reference files to avoid failed tests
Fixes two errors introduced in/due to c6697bbc78.

First one is a typo. The writer used "translations" where the reference file for
the test used "translation". Went with "translation" since that was mentioned in
the comment just above.

Second one is some missed out new lines in the reference file
`.../constraint_transform_beam_hinged.inp`. These lines were added in
`.../frequency_beamsimple.inp` but not here.
2021-08-18 17:19:24 +02:00
川島和津実
a95e9549a6 Start: Correct hash for thumbnail filename (py3)
Image file names need to be quoted before hashing to generate thumbnail file names. This is related to pull requests #4931 and #4972, so please refer to discussions therein. Only Python3 is supported, not Python2.
2021-08-18 22:27:39 +08:00
川島和津実
3b6c442187 Start: Correct hash for thumbnail filename
Image file names need to be quoted before hashing to generate thumbnail file names.
This is related to pull requests #4931 and #4972, so please refer to discussions therein.
2021-08-18 22:15:18 +08:00
Yorik van Havre
380d214e74 AddonManager: Handles git module with no Repo attribute - Fixes #4072 2021-08-18 11:32:19 +02:00
Yorik van Havre
cbdac756a8 Merge pull request #4963 from Helios113/stiffness
Base: Adding stiffness units
2021-08-18 10:04:46 +02:00
Yorik van Havre
d2d113a7a1 Merge pull request #4892 from PrzemoF/copr_fix_v37
[skip ci] fedora spec: Add %{?dist} to Release
2021-08-18 09:53:52 +02:00
Yorik van Havre
ea9a4ef93f Merge pull request #4972 from chennes/revert-4931-no-filename-encode
Revert "Start: Properly hash thumbnail filenames"
2021-08-17 21:43:04 +02:00
Chris Hennes
1d74880ac2 Revert "Start: Properly hash thumbnail filenames" 2021-08-17 14:28:47 -05:00
Chris Hennes
95770e521a [Arch] Silence LGTM missing init warnings 2021-08-17 12:34:28 -05:00
Chris Hennes
1b12226bd4 [Tools] Silence LGTM warning about missing init 2021-08-17 12:25:12 -05:00
Yorik van Havre
317dd4c031 Merge pull request #4928 from Zolko-123/master
modified ViewProviderPart to show different icon for Assembly-Type
2021-08-17 18:50:34 +02:00
Yorik van Havre
2429043218 Merge pull request #4931 from Kawashima-Azumi/no-filename-encode
Start: Properly hash thumbnail filenames
2021-08-17 18:45:27 +02:00
Yorik van Havre
13ba896ea2 Merge pull request #4970 from chennes/openscadUnitTestBBoxFix
[OpenSCAD] Fix OpenSCAD bounding box calculations
2021-08-17 18:44:18 +02:00
Yorik van Havre
4e7742ad37 Merge pull request #4932 from 0penBrain/windowClosed
[Gui] Send 'mainWindowClosed' signal before window settings are saved
2021-08-17 18:43:13 +02:00
Chris Hennes
a80e67c04c [OpenSCAD] Fix OpenSCAD bounding box calculations
When not using the GUI, bounding box calculations can sometimes use the
B-spline represenation in OCCT, which can in some cases give incorrect
results. To correct for this, explicit calls to tessellate() are added
to ensure that the bounding box calculation uses the true shape, even if
the GUI is not running.

Fixes #4622 - OpenSCAD/OpenSCADTest/app/test_importCSG.py assertion failure
2021-08-17 11:09:55 -05:00
Yorik van Havre
c167955018 Merge pull request #4885 from Roy-043/Draft_Fix_Array_Count_Issues
Draft: Fix Draft_PointArray and Draft_TwistedArray Count problems
2021-08-17 15:19:57 +02:00
Yorik van Havre
1925998907 Merge pull request #4958 from paullee0/ArchWall_BugFixes_14
[ArchWall] Fix MakeBlocks to work if Base is Sketch with 1 edge only
2021-08-17 15:17:51 +02:00
Yorik van Havre
82d18aa324 Merge pull request #4950 from realthunder/FixLinkMode
App: fix LinkMode enforcement in Link on restore
2021-08-17 15:03:44 +02:00
0penBrain
586955e31b [PartDesign] Enable reverse ability for Pocket/UpToFace mode as it makes sense for curved faces 2021-08-17 12:07:02 +02:00
0penBrain
b2cf8581e0 [PartDesign] Add reverse ability for Pad/UpToFace mode as it makes sense for curved faces
And does not hurt/break in case face is reachable in only one direction
2021-08-17 12:07:02 +02:00
0penBrain
39ca142d5f [PartDesign] Restore 'Reversed' ability into Pocket/2dims mode 2021-08-17 12:07:02 +02:00
0penBrain
c561b5ac1f [PartDesign] Fix 'Reversed' no more available in Pad 'toFirst/toLast'
While useless 'Midplane' was still visible
 Bug introduced in commit #cf11f388, not fixed by commmit #b4b1cbed
 Also fixing some typos
2021-08-17 12:07:02 +02:00
Dirk Olbrich
089d5abb6f Fixes Xercesc include, harmonize XercesC_INCLUDE_DIRS statement (#4960)
* fix: typo for XERCESC_INCLUDE_DIRS

* fix: harmonize XercesC_INCLUDE_DIRS capitalization
2021-08-16 22:57:34 -05:00
luzpaz
72411f83ad Draft: Fix LGTM 'test for equality' warning (#4969)
* Draft: Fix LGTM 'test for equality' warning

ref: https://lgtm.com/projects/g/FreeCAD/FreeCAD/alerts/?mode=tree&ruleFocus=7900090

* FEM: source comment typo fixes
2021-08-16 22:52:13 -05:00
Yorik van Havre
61ac0b4838 Merge pull request #4900 from sanguinariojoe/del_ship
Ship: Remove Ship module
2021-08-16 17:30:43 +02:00
paul
50056dca9f Merge branch 'master' into ArchWall_BugFixes_14 2021-08-16 23:26:45 +08:00
Yorik van Havre
fece09a4d5 Merge pull request #4954 from ageeye/FixDefaultShapeVertexColor
Part: Fix default shape vertex color
2021-08-16 16:23:18 +02:00
Yorik van Havre
05c88d8ada Merge pull request #4905 from Roy-043/Draft_fix_trimex_wrong_units
Draft: Draft_Trimex: Fix wrong angle units in task panel
2021-08-16 16:22:47 +02:00
Yorik van Havre
54f7486299 Merge pull request #4955 from paullee0/ArchWall_BugFixes_13
[ArchWall]  Fix MakeBlocks to work if Base is Sketch
2021-08-16 14:36:11 +02:00
Yorik van Havre
163075b3ba Merge pull request #4967 from Syres916/patch-30
[Base/Gui] Bugfix Property Item formatting
2021-08-16 14:34:41 +02:00
Yorik van Havre
1dd5ffdba3 Merge pull request #4968 from tomate44/patch-1
[Part] BugFix BSplineSurfacePyImp.cpp
2021-08-16 14:28:32 +02:00
Preslav
4ab37fc0ca Added stiffness units to FreeCAD [mN/m, N/m, kN/m, MN/m] 2021-08-16 12:27:41 +01:00
Christophe Grellier
108437e37b Update BSplineSurfacePyImp.cpp
Typo in setVKnot()
2021-08-15 11:16:01 +02:00
Tomas Pavlicek
09d9caf438 TechDraw - Edit annotations via double-click 2021-08-15 00:16:57 +02:00