Commit Graph

27967 Commits

Author SHA1 Message Date
Uwe
2c86fe2ab1 [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
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
wmayer
38471cc76b Base: [skip ci] Optimize includes to reduce compile time 2022-03-07 16:49:01 +01:00
wmayer
4977e55e51 App: Optimize includes to reduce compile time 2022-03-07 15:53:58 +01:00
Wanderer Fan
5926060281 [TD]fix ScaleType change behaviour 2022-03-07 09:30:39 -05:00
Yorik van Havre
7653a9473d Merged crowdin translations 2022-03-07 14:55:22 +01:00
Yorik van Havre
5aec63d704 Updated master translation files 2022-03-07 14:49:13 +01:00
Ajinkya Dahale
c7546287d2 [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
f602fc872b [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
c3138db55f App: include cstddef to get definition of size_t 2022-03-07 01:00:14 +01:00
Uwe
8bca1e00ec Revert "[App] add a missing return statement (#6519)"
This reverts commit 1be4ed57ae.
2022-03-07 00:50:18 +01:00
wmayer
e4435cdcba 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
1be4ed57ae [App] add a missing return statement (#6519)
* [App] add a missing return statement

as discussed here: c96f61b0a1 (commitcomment-68066635)
2022-03-06 23:20:05 +01:00
Syres916
8b3902bcfd [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
51b7d98788 Base: [skip ci] revert copyright change 2022-03-06 22:20:35 +01:00
Uwe
f9b2489ae2 [Gui] Quarter: remove few unused includes
- mainly sorting
2022-03-06 21:47:17 +01:00
Uwe
8eea478832 [Gui] Quarter: add missing copyright headers
using the one of the header file
2022-03-06 21:01:12 +01:00
Uwe
b68064e378 [Gui] InteractionMode: add missing copyright header
using the one of the header file
2022-03-06 20:38:54 +01:00
Uwe
196bc966af [Gui] iis: remove few unused includes
mainly just sorting
2022-03-06 19:31:37 +01:00
Zheng, Lei
b00a8aa056 Gui: fix property view synchronization of property status 2022-03-06 13:20:08 -05:00
Uwe
70aa0842a5 [Gui] Translator: sort includes 2022-03-06 19:12:52 +01:00
Stefan Brüns
bd58a73731 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
271abecb53 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
6eedd0f9c5 [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
47a040537b [Sketcher] Allow deleting last knot during B-Spline creation 2022-03-06 16:14:07 +01:00
Ajinkya Dahale
00ef0e0504 [Sketcher] Reduce duplicate code in DrawSketchHandlerBSpline 2022-03-06 16:14:07 +01:00
Uwe
471ae07025 [Gui] move xerces to precompiled header
as suggested here: https://github.com/FreeCAD/FreeCAD/commit/95c70e7f#r68066840
2022-03-06 15:53:13 +01:00
Uwe
a113f4f24e [Gui] compilation fix for precompiled headers 2022-03-06 15:33:31 +01:00
Uwe
f2c8bdd525 [Base] ConsoleObserver: fix compilation with precompiled headers 2022-03-06 15:08:09 +01:00
Wanderer Fan
273d7f8bd6 [TD]fix integer grid step variable to double 2022-03-06 08:54:24 -05:00
Uwe
64ddcc68fc [Base] ConsoleObserver: correct copyright 2022-03-06 14:51:58 +01:00
wmayer
58a719e207 Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code 2022-03-06 10:13:47 +01:00
Uwe
a64563c92e [Gui] Inventor: remove unused includes
-also move some includes to precompiled header
2022-03-06 03:28:50 +01:00
Uwe
c96f61b0a1 [App] next attempt to fix CI build error
- revert previous commit and re-add application as header
2022-03-06 03:25:14 +01:00
Uwe
befd041147 [App] try to fix CI build failure
- since I have no clue what the error is about:
https://gitlab.com/freecad/FreeCAD-CI/-/jobs/2167699355
I follow MSVC's advice that tells me that a function definition in the .cpp file is missing
2022-03-06 03:02:14 +01:00
Uwe
8dfe91204b [Gui] ViewProviderPython* etc.: remove unused includes 2022-03-06 02:24:52 +01:00
Uwe
cfd00bbf63 [Gui] ViewProviderOrigin* etc.: remove unused includes 2022-03-06 01:44:33 +01:00
Uwe
c613304473 [Gui] ViewProviderLink etc.: remove unused includes
- also put headers to PreCompiled.h
2022-03-06 01:11:42 +01:00
Uwe
9df800289b [Gui] ViewProviderFeature etc.: remove unused includes 2022-03-06 00:34:35 +01:00
Uwe
f706adc2c2 [Gui] ViewProviderDocument* etc.: remove unused includes 2022-03-06 00:01:37 +01:00
Uwe
14288f9725 [Gui] View3D*: remove unused includes 2022-03-05 23:16:28 +01:00
Wanderer Fan
c023c61562 [TD]update menu text and tip to std 2022-03-05 14:30:14 -05:00
wmayer
2465840791 Base: fix warnings from code analysers:
* replace some C-style casts with static_cast
* remove unneeded destructors
* define default copy-constructor and assignment operator
2022-03-05 19:03:21 +01:00
Uwe
042f0ee8c6 [Gui] Tool* etc.:remove unused includes 2022-03-05 18:08:13 +01:00
Chris Hennes
2a2c6e5319 Addon Manager: Fix number of updates available 2022-03-05 10:55:25 -06:00
Uwe
aa7977c51a [Gui] Task* and Text*: remove unused includes 2022-03-05 17:44:07 +01:00
Chris Hennes
f4dbd6b2b2 Addon Manager: Add unit tests for Addon class 2022-03-05 10:17:50 -06:00
Uwe
e8a96f72fd [Gui] SoTextLabel etc.: remove unused includes 2022-03-05 16:42:26 +01:00
Uwe
cf5732dfad [Gui] SpinBox etc.: remove unused includes 2022-03-05 16:20:40 +01:00
Uwe
15022c8065 [Gui] SoTextLabel: unify mixed line endings
fixes a compiler warning from MSVC
2022-03-05 16:03:09 +01:00