Bernd Hahnebach
70c5505a75
Test: remove not needed u before py3 unicode string
2021-09-22 08:07:47 +02:00
Przemo Firszt
d008d44a34
[UnitTest] Fix UnitTests - use utf-8
...
On some systems there is a problem with utf-8 during testing. This
commit is trying to address it. Tested only on ubuntu 20.04
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2021-09-22 08:07:38 +02:00
Chris Hennes
7b77ea52e7
Web: Fix MSVC compile error in BrowserView (part 2)
2021-09-21 13:08:29 -05:00
Chris Hennes
4f2d65a178
Web: Fix MSVC compile error in BrowserView
2021-09-21 12:56:34 -05:00
Bernd Hahnebach
f7bdd2c5e8
CI gitlab: update readme
2021-09-21 18:23:59 +02:00
Chris Hennes
6a9b27df1e
Tools: Corrected arguments to git.extractInfo
2021-09-21 11:17:21 -05:00
Yorik van Havre
c942d950a9
Web: Extended openBrowserHTML to allow custom icon
2021-09-21 15:45:32 +02:00
Yorik van Havre
c6d30974be
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2021-09-21 15:43:15 +02:00
Przemo Firszt
1d8b334e88
[UnitTest] Replace deg symbol with deg
...
unittest cannot handle the symbol on some systems. deg is a safe
solution.
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2021-09-21 15:16:13 +02:00
Yorik van Havre
a530d30c2c
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2021-09-21 13:11:52 +02:00
Przemo Firszt
26dfd72143
[gitlab-ci] gitlab CI on docker initial commit
2021-09-21 07:52:40 +02:00
wmayer
7f772ba227
port to MSYS2/clang
2021-09-20 18:15:44 +02:00
Chris Hennes
7a7c7cc77f
Merge pull request #5030 from mwganson/spreadsheet
...
[Spreadsheet] Prevent infinite loop when copy/paste of non-rectangular selection.
2021-09-20 11:05:11 -05:00
Chris Hennes
e5d5bc774f
Merge pull request #5048 from Roy-043/Draft-Fix-annotation-scale-to-label-issue
...
Draft: Fix annotation scale to label issue.
2021-09-20 07:47:38 -05:00
Roy-043
07eced129a
Draft: Fix annotation scale to label issue.
...
The scale_to_label function did not handle scale 5:1, 10:1 or 20:1 properly.
2021-09-20 11:01:59 +02:00
Yorik van Havre
b8a4d1e07e
Merge pull request #4800 from heewa/abort-save-when-unable-to-finish
...
App: Abort save when unable to finish
2021-09-20 10:47:57 +02:00
Yorik van Havre
907ab8205e
Merge pull request #5040 from mwganson/macros
...
[Macros Dialog] Add 2 new parameters: DuplicateIgnoreExtraNote and Du…
2021-09-20 10:43:00 +02:00
Chris Hennes
c64b470731
[Docs] Minor tweaks to BUILD_OSX.md
...
Most based on feedback from @hyarion.
2021-09-19 20:27:13 -05:00
Chris Hennes
639979e4e7
Merge pull request #4217 from ipatch/macos.build.instructions
...
Update macos build doc to include using homebrew to build freecad from source
2021-09-19 20:26:20 -05:00
Chris Hennes
1761eb8ce0
Merge pull request #5046 from carlopav/Draft_fixSnapGrid
...
Draft: fix Snapper GridSnap not working over a face
2021-09-19 16:36:38 -05:00
Chris Hennes
be10709785
Tools: LGTM - don't catch BaseException
2021-09-19 14:38:05 -05:00
Chris Hennes
2a75451460
Template: LGTM - don't catch BaseException
2021-09-19 14:37:47 -05:00
Chris Hennes
ff5bf3e0df
PD: LGTM - don't catch BaseException
2021-09-19 14:37:23 -05:00
Chris Hennes
be5971ad8e
Path: LGTM - don't catch BaseException
2021-09-19 14:37:11 -05:00
Chris Hennes
97cec75e32
Plot: LGTM - don't catch BaseException
2021-09-19 14:36:51 -05:00
Chris Hennes
68a027cf94
Draft: LGTM - don't catch BaseException
2021-09-19 14:36:38 -05:00
Chris Hennes
84e86793f0
Arch: LGTM - don't catch BaseException
2021-09-19 14:36:12 -05:00
Chris Hennes
7db39151b9
Merge pull request #5044 from chennes/lgtmAppDeclHidesParam
...
[App] Fix LGTM warning decl hides param
2021-09-19 13:46:42 -05:00
Chris Hennes
8b7da3b0eb
PD: Silence LGTM warning about empty block
2021-09-19 13:39:49 -05:00
wmayer
e211b89cf8
port to MSYS2/clang
2021-09-19 19:49:44 +02:00
Chris Hennes
6780ded233
[App] Fix LGTM warning decl hides param
2021-09-19 12:31:24 -05:00
wmayer
ef0e303235
App: handle empty, . or .. as parent directory
2021-09-19 18:06:47 +02:00
wmayer
c1cbee9a06
Tools: port example of embedding to Py3
2021-09-19 18:01:24 +02:00
carlopav
31a8fc5c7d
Draft: fix Snapper GridSnap not working over a face
...
ref. https://forum.freecadweb.org/viewtopic.php?f=23&t=62274&sid=4c9d07255e4f0db219b661c345768319
If the cursor is over a Face and no SnapCenter is active, the snapToObject method returns the current cursor point instead of None. Doing so the snap() method does not check for extension and grid snaps.
It seems this is a bug since the snap() already contains the deleted code.
One note: the no snaps case was moved before the lastObj setting, since if no snap point was found, it's not right to set it to a non snapped object.
2021-09-19 14:31:44 +02:00
Chris Hennes
2fd71242ba
Merge pull request #5043 from chennes/lgtmLinkDeclHidesParam
...
[App] LGTM fix - rename loop variable
2021-09-18 23:21:11 -05:00
Chris Hennes
186548da6c
[App] LGTM fix - rename loop variable
...
LGTM complains that the use of "obj" as the loop variable here hides the
parameter "obj". To silence the warning, rename the loop variable.
2021-09-18 23:18:51 -05:00
Chris Hennes
75e0ad6396
Merge pull request #5041 from Syres916/patch-32
...
[AddonManager] Handle stderr from git status
2021-09-18 11:27:38 -05:00
Chris Hennes
874e333d67
Merge pull request #5039 from troyp76/PartDesignChamferImprovement
...
Part Design: Improved chamfer behaviour when faces are selected and non equal chamfer types are used
2021-09-18 09:32:45 -05:00
Syres916
2c9a4602a1
[AddonManager] stderr remove translate
2021-09-18 13:05:36 +01:00
troyp76
1a3527c06a
Improved chamfer behavior when faces are selected
...
Improved chamfer behavior when faces are selected and non equal chamfer types are used
2021-09-18 22:03:28 +10:00
Syres916
a7fb567cd5
[AddonManager] Handle stderr from git status
...
See discussion https://forum.freecadweb.org/viewtopic.php?f=10&t=62265
2021-09-18 11:19:42 +01:00
Chris Hennes
5661e23eef
Merge pull request #4792 from heewa/abort-quit-on-failed-save
...
[Gui] Fix app quitting despite failing to save project
2021-09-17 19:46:01 -05:00
Chris Hennes
823ebacbf9
[Sketcher] Refactor split code
...
LGTM complains about using continue statements inside a loop
whose condition is always false. In addition, the C++ core guidelines
recommend against using the do...while construct, and in this case it
was really serving as a goto, just hiding the actual goto keyword.
This commit replaces the loop and continue structure with simple
conditionals.
2021-09-17 23:43:12 +02:00
mwganson
bb48dad417
[Macros Dialog]rename DuplicateReplaceSpaces parameter to ReplaceSpaces, make it default = true, apply also to new file creation and renaming in the dialog
2021-09-17 14:04:01 -05:00
mwganson
fe616e8954
[Macros Dialog] Add 2 new parameters: DuplicateIgnoreExtraNote and DuplicateReplaceSpaces
2021-09-17 12:47:57 -05:00
Yorik van Havre
213bef18f4
AddonManager: Fixed path of gitlab readme
2021-09-17 15:47:00 +02:00
Preslav
1ceaa09d17
Added spring boundary condition
2021-09-17 11:08:08 +02:00
Preslav
d7ac25e3cf
Ammending stiffness units
2021-09-17 11:08:08 +02:00
Ajinkya Dahale
421ece90b6
[FEM] Add backward compatibility for simple hardening
...
Prior to a recent commit (or this, if squashed), yield points of a non-linear
material with simple hardening were stored as three different properties. These
changes consolidate them into the new `YieldPoints` property.
2021-09-17 11:07:16 +02:00
Ajinkya Dahale
5f4b87035b
[FEM] Add tools for more yield points in simple hardening materials
...
String List instead of String should allow for arbitrarily many entries,
theoretically.
Note the defaults previously in `YieldPoint1` an `YieldPoint2` were arbitrary.
Now the list is kept empty by default.
Fixes issue #4720 .
2021-09-17 11:07:16 +02:00