PhoneDroid
ff7310de53
[ Robot ]: Update SPDX License Identifiers
2025-12-25 12:01:29 -06:00
pre-commit-ci[bot]
9fe130cd73
All: Reformat according to new standard
2025-11-11 13:49:01 +01:00
Markus Reitböck
63a8d31bb6
Robot: use CMake to generate precompiled headers on all platforms
...
"Professional CMake" book suggest the following:
"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."
Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-24 20:08:56 +02:00
Chris Hennes
cfd41683a5
Core: Enable compiling with MSVC /permissive- ( #11014 )
...
* Base: Fixes for MSVC permissive-
* App: Fixes for MSVC permissive-
* Gui: Fixes for MSVC permissive-
* Main: Fixes for MSVC permissive-
* Fem: Fixes for MSVC permissive-
* Material: Fixes for MSVC permissive-
* Part: Fixes for MSVC permissive-
* Mesh: Fixes for MSVC permissive-
* Points: Fixes for MSVC permissive-
* Robot: Fixes for MSVC permissive-
* TechDraw: Fixes for MSVC permissive-
* Path: Fixes for MSVC permissive-
* Core; Changes per review comments
* TD: Revision from wandererfan
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01:00
pre-commit-ci[bot]
e92ed45df9
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
wmayer
4c470ecd11
Robot: Apply clang format
2023-09-11 15:58:24 +02:00
Chris Hennes
089a694efa
Robot: Wrap PyArg_ParseTupleAndKeywords
2023-08-25 15:34:26 -05:00
wmayer
9ce0518c35
Robot: modernize C++: return braced init list
2023-08-19 11:35:41 +02:00
Uwe
3177d3eec2
[Robot] App: remove unused includes
...
- also some sorting
2022-12-07 03:27:09 +01:00
berniev
f4ffd15864
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Uwe
7b4e014263
[Robot etc.] remove superfluous nullptr checks
2022-07-18 02:54:09 +02:00
wmayer
d5340a82ab
Gui/Mod: replace several reinterpret_cast with static_cast
2022-06-25 11:36:55 +02:00
wmayer
f5235a8057
cppcoreguidelines-pro-type-union-access
...
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md using union for type-punning is undefined behaviour.
Replace it with std::memcpy
2022-06-24 14:29:50 +02:00
wmayer
a057e5486d
Robot: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
d0183415a4
[Robot] fix typo reported by spellchecker CI
...
- Accelaration -> Acceleration
- plus some style fixes done by MSVC
2022-02-23 12:13:15 +01:00
wmayer
5502d1f2a7
Base: clean-up code in UnitsApi
2022-01-25 00:26:47 +01:00
luz.paz
fd89a73b8a
Robot: [skip ci] fix header uniformity + trailing whitespace
...
This PR fixes header uniformity across all Robot files
2019-12-26 18:22:03 +01:00
wmayer
cda4c96fa8
Replace Base::Exception with appropriate subclass
2018-11-14 17:47:43 +01:00
wmayer
66bbdecd07
py3: fix Python2 build
2017-02-28 18:08:06 +01:00
looooo
79c3cad380
py3: Robot: gathering remaining diff of Robot-Modul
...
d90e334005baa59805a9c812203ef107ca3be2a8
2017-02-28 17:39:08 +01:00
wmayer
b096c0f07b
py3: ported Robot to python3
2017-02-28 17:39:08 +01:00
Mateusz Skowroński
05f95c0506
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
859d76faf8
+ fixes #0002075 : Analysis of FreeCAD by PVS-Studio static analyzer
2015-05-01 16:56:31 +02:00
Sebastian Hoogen
d2bb75566e
add encoding parameter to .as_std_string()
...
to handle PyUnicode Objects. Usually ASCII for object names and Utf-8
for file names and console output.
issue #995
2015-02-08 15:37:00 +01:00
jriegel
87c8d5b022
Switching the UnitsApi to the new Quantity system
2013-12-03 19:03:08 +01:00
wmayer
dd88426df6
+ added missing license info
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5327 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-20 10:06:08 +00:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00