wmayer
08b77bff08
Core/Mod: modernize C++11
...
* use nullptr
2022-03-09 21:55:31 +01:00
Chris Hennes
f4a51f3788
Addon Manager: Begin Macro unit tests
2022-03-09 12:14:57 -06:00
Ajinkya Dahale
201ef90a89
[Sketcher] Constrain first pole when created
...
By doing this, duplicate radius constraints are not made when deleting and
redefining second pole.
2022-03-09 16:43:47 +01:00
Ajinkya Dahale
f10ccfc0fb
[Sketcher] Safeguard against spurious pre-selection
...
Preselection is sometimes not updated under some circumstances
1. when deleting an object through python;
2. before autoconstraint when deleting previous pole in bspline creation mode.
When the preselected curve is the deleted object, segfault/crash can happen.
2022-03-09 16:43:47 +01:00
Ajinkya Dahale
3fa1735088
[Sketcher] Redraw correctly on pole delete in "create b-spline"
...
This ensures that the last preview line drawn is always at the cursor and that
the coordinates are always w.r.t. the last defined pole.
2022-03-09 16:43:47 +01:00
marioalexis
3c2fc9374f
Part: Check geometry in Part_ExplodeCompound command
2022-03-09 15:41:30 +01:00
Uwe
b62cf543c7
[Part] change sGroup for Section Cut
...
as discussed here: https://forum.freecadweb.org/viewtopic.php?p=577536#p577536
2022-03-09 11:43:23 +01:00
Chris Hennes
0c85c16932
Core: Support disabling Addon by FreeCAD version
...
If package.xml metadata file exists, it is scanned for FreeCAD version
compatibility before the Addon is loaded. If the Addon specifies that it is
explicitly not compatible with the current version of FreeCAD, the Addon is
not loaded.
2022-03-08 23:19:04 -06:00
Uwe
7de25e8c37
[Part] Section Cut: fix cut object naming issue
2022-03-09 03:04:13 +01:00
Chris Hennes
bbfc77f167
Addon Manager: Add unit tests for dependencies
2022-03-08 19:15:01 -06:00
Chris Hennes
936a1f01d4
Addon Manager: Improve dependency handling
2022-03-08 19:15:01 -06:00
Uwe
d1fae66f55
[Part] Section Cut: fix for tooltip handling
2022-03-09 01:52:16 +01:00
wmayer
b626b7d719
Gui: Optimize includes to reduce compile time
2022-03-09 01:25:29 +01:00
Uwe
4f5c29edd6
[Gui] Quarter: remove unused includes
2022-03-09 01:12:15 +01:00
wmayer
b02cb69baa
Sketch: [skip ci] fix linking error with MSVC
...
For more details see: https://forum.freecadweb.org/viewtopic.php?f=10&t=66939
2022-03-09 01:11:15 +01:00
wmayer
18a7cc8d18
Base: [skip ci] change identation in Console.h
2022-03-09 01:04:16 +01:00
Wanderer Fan
11ff0c69e2
[TD]Change grid default to OFF
2022-03-08 08:21:28 -05:00
Yorik van Havre
aac3629dff
Merge pull request #6510 from alafr/fix-basemirror
...
Arch: fix BaseMirror property
2022-03-08 13:57:49 +01:00
wmayer
5e7007dbcb
Gui: [skip ci] remove text
2022-03-08 12:54:46 +01:00
Uwe
9f73e0b3eb
[Part] Section Cut: also handle normal Link objects
...
Link objects within App::Part containers were already handled but not Link objects outside
2022-03-08 06:25:35 +01:00
Uwe
7484a06700
[Gui] intermediate compilation fix for Windows
...
as reported here: https://forum.freecadweb.org/viewtopic.php?p=577678#p577678
2022-03-08 03:17:27 +01:00
Uwe
6f746497c1
[Base] compile fix for Windows without PCH
2022-03-08 03:00:36 +01:00
Uwe
805f697797
[Gui] DAGView: remove few includes
...
mainly the headers are just sorted
2022-03-08 02:37:35 +01:00
Uwe
554635cc7d
[Gui] rename the Qt header list
2022-03-07 20:35:38 +01:00
Uwe
7d1a64e1c1
[App] AutoTransaction: a change to silence MSVC compiler
...
as proposed here: https://github.com/FreeCAD/FreeCAD/pull/6519#discussion_r820641762
2022-03-07 20:34:02 +01:00
wmayer
8f786ea6ef
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
wmayer
040b67634e
Base: [skip ci] Optimize includes to reduce compile time
2022-03-07 16:49:01 +01:00
wmayer
f1f68db55b
App: Optimize includes to reduce compile time
2022-03-07 15:53:58 +01:00
Wanderer Fan
437a89e42a
[TD]fix ScaleType change behaviour
2022-03-07 09:30:39 -05:00
Yorik van Havre
2cff977548
Merged crowdin translations
2022-03-07 14:55:22 +01:00
Yorik van Havre
6b71ce3a3e
Updated master translation files
2022-03-07 14:49:13 +01:00
Ajinkya Dahale
5bfe90b2aa
[Sketcher] Check for b-spline before starting knot insertion "mode"
...
The DrawSketchHandler will otherwise give confusing error messages.
2022-03-07 14:27:28 +01:00
Uwe
a8bae676ce
[Part] Section cutting: fix read of cut state of existing cuts
...
- it is now also possible to determine the Flip state correctly
2022-03-07 02:45:36 +01:00
wmayer
4b0658a3a6
App: include cstddef to get definition of size_t
2022-03-07 01:00:14 +01:00
Uwe
cdff8e19dc
Revert "[App] add a missing return statement ( #6519 )"
...
This reverts commit 5c7ef17ac063f9339c68333afecf1cd88404b959.
2022-03-07 00:50:18 +01:00
wmayer
4a343ab31e
Base/App: fix warnings from code analysers:
...
* convert old-style-casts to explicit C++ casts where possible
* make some implicit conversions explicit
2022-03-06 23:49:30 +01:00
Uwe
26ece78df4
[App] add a missing return statement ( #6519 )
...
* [App] add a missing return statement
as discussed here: ceae048a43 (commitcomment-68066635)
2022-03-06 23:20:05 +01:00
Syres916
e053db75b3
[Raytracing] Bugfix for compiling with OCC 7.6.x
...
See discussion https://forum.freecadweb.org/viewtopic.php?f=4&p=577109#p577109
2022-03-06 22:32:31 +01:00
wmayer
985ad1c9d1
Base: [skip ci] revert copyright change
2022-03-06 22:20:35 +01:00
Uwe
11b99a94a9
[Gui] Quarter: remove few unused includes
...
- mainly sorting
2022-03-06 21:47:17 +01:00
Uwe
6edbe53cc3
[Gui] Quarter: add missing copyright headers
...
using the one of the header file
2022-03-06 21:01:12 +01:00
Uwe
2551d15f98
[Gui] InteractionMode: add missing copyright header
...
using the one of the header file
2022-03-06 20:38:54 +01:00
Uwe
1a649fa852
[Gui] iis: remove few unused includes
...
mainly just sorting
2022-03-06 19:31:37 +01:00
Zheng, Lei
b3c2ac3f7d
Gui: fix property view synchronization of property status
2022-03-06 13:20:08 -05:00
Uwe
e3e8fe1e7d
[Gui] Translator: sort includes
2022-03-06 19:12:52 +01:00
Stefan Brüns
4d63de1fe7
Base: Fix wrong character encoding for micro-siemens
...
Contrary to any other Unit with micro prefix (e.g. ug, uH, uF) the
string was created with a Latin1 encoding instead of UTF-8.
The problem can be verified with these python statements:
```
FreeCAD.Units.schemaTranslate(FreeCAD.Units.MicroSiemens, 0)
FreeCAD.Units.schemaTranslate(FreeCAD.Units.MicroGram, 0)
```
2022-03-06 11:20:09 -05:00
Stefan Brüns
18371c0d3c
Test: Provide more useful information when unit translation fails
...
Add the input quantity and the target scheme to the exception output.
Also make the output formatting more canonical and remove the unused
"s" temporary.
2022-03-06 11:20:09 -05:00
Ajinkya Dahale
ec132dc2e4
[Sketcher] Remove "incomplete" from insert knot command
...
I had kept the qualifier there when developing the tool and forgot to remove it. At this time the tool is fairly well-developed.
2022-03-06 16:25:08 +01:00
Ajinkya Dahale
ec2522130b
[Sketcher] Allow deleting last knot during B-Spline creation
2022-03-06 16:14:07 +01:00
Ajinkya Dahale
c6f19758d1
[Sketcher] Reduce duplicate code in DrawSketchHandlerBSpline
2022-03-06 16:14:07 +01:00