wmayer
d88d076d51
MSYS: fix the following warning for MinGW & gcc:
...
'bool App::StringID::isBinary() const' redeclared without dllimport attribute after being referenced with dll linkage
2023-11-28 16:16:34 +01:00
Chris Hennes
fa65438556
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
wmayer
dcd533af4b
Base: fix google-explicit-constructor
2023-11-22 23:47:29 +01:00
sliptonic
2f269abc99
Merge pull request #11273 from chennes/complexGeoDataSerialization
...
ComplexGeoData and PropertyComplexGeoData serialization
2023-11-20 09:55:39 -07:00
Chris Hennes
954c2fa03f
Update translations
2023-11-09 12:23:56 -06:00
Chris Hennes
e2f4ec90a3
App/Toponaming: Minor refactor if read method
2023-11-04 11:47:11 -05:00
Chris Hennes
7db8cb373b
App/Toponaming: Add TNP code to PropertyComplexGeoData
2023-11-04 11:07:52 -05:00
Chris Hennes
cd1b85500c
App/Toponaming: ComplexGeoData clang-tidy cleanup
2023-11-04 11:07:22 -05:00
Chris Hennes
8f105dc162
App/Toponaming: ComplexGeoData serialization
...
Direct copy from TopoNaming branch with only modifications needed to compile against API changes.
2023-11-04 10:24:17 -05:00
Florian Foinant-Willig
773c701eec
Core: modernize type checking
2023-10-23 18:07:07 +02:00
Ajinkya Dahale
49dfaaefa0
[Core] Use keyword arguments in DocumentObjectPy addProperty
2023-10-16 17:49:12 +02:00
wmayer
14f2653c40
Core: fix compiler warning due to boost
2023-10-11 12:04:26 +02:00
wmayer
e6bd1f10e9
App: the function findLicense() uses the '==' operator to compare two C strings.
...
This is wrong and leads to failures under Windows.
2023-10-10 13:31:10 +02:00
Florian Foinant-Willig
191aee568f
Fix #10910
2023-10-09 22:54:12 +02:00
wmayer
56820718c5
Core: Revert superfluous changes made with PR #9521
2023-10-09 15:06:45 +02:00
AgCaliva
2212e68a30
merge master via cli
2023-10-04 13:28:48 -03:00
Chris Hennes
5dfd4d5190
Update translations
2023-09-29 22:57:37 -05:00
dyylanhammond
f1a6a9e3a6
Change default file saving preferences ( #10781 )
...
* Change default compression level from 3 to 7
* increase default thumbnail size to 256
2023-09-27 16:08:43 -05:00
AgCaliva
1f9bae0de7
Merge branch 'master' into User/Document/Feature_level_units_selection_#7746
2023-09-25 22:58:23 -03:00
wmayer
58adf212d9
App: still support __getstate__/__setstate__ for add-ons for < Py3.11
2023-09-25 14:48:54 +02:00
wmayer
83d4080fe8
App: fixes #10460 : App::PropertyPythonObject is not saving data
...
Since Py3.11 the methods names __setstate__ and __getstate__ conflict with the method names added to the object class.
Thus rename them to 'loads' and 'dumps'
2023-09-24 10:56:35 -05:00
wmayer
5a81fcd7a5
MSVC: fix warnings and build failure
2023-09-23 19:10:32 +02:00
Chris Hennes
e36e16de59
Merge pull request #10667 from chennes/toponamingHasherToDocument
...
App/Toponaming: Add StringHasher to Document
2023-09-20 13:31:02 -05:00
AgCaliva
dacb2c43a4
Merge branch 'master' into User/Document/Feature_level_units_selection_#7746
2023-09-18 14:01:25 -03:00
bdieterm
e33c5754d4
Core, Gui: allow breakpoints in Init.py and InitGui.py of mods
2023-09-18 10:27:51 +02:00
Chris Hennes
6704cc6aff
App/Toponaming: Clarify return value of addStringHasher
2023-09-17 14:00:22 -05:00
Chris Hennes
b8055fa6f4
App/Toponaming: Minor code cleanup
2023-09-17 13:13:37 -05:00
Chris Hennes
2a386c9f6f
App/Toponaming: Add StringHasher to Document
2023-09-17 13:13:37 -05:00
AgCaliva
4a504437d3
merge master via cli
2023-09-16 02:12:58 -03:00
Chris Hennes
857ddacb6e
Update translations ( #10613 )
...
* Update translations
* Start: Remove Start.ts
2023-09-10 13:06:26 -05:00
luzpaz
4dbbe85c2b
Fix various typos
2023-09-07 20:34:49 +02:00
Ajinkya Dahale
80a54d51c1
[Core] Avoid some seg-fault because of PySequence_Check(nullptr)
2023-09-06 16:17:21 +02:00
luzpaz
9ed299a57a
Fix typos
2023-08-31 22:29:17 -05:00
AgCaliva
39dcb1da7b
Merge Master
2023-08-30 16:24:16 -03:00
AgCaliva
1f6545557d
Fixed working with tests
2023-08-29 14:41:58 -03:00
Chris Hennes
6bfafc62dc
Update translations
2023-08-29 07:38:09 -05:00
Chris Hennes
56d820892c
App: Wrap PyArg_ParseTupleAndKeywords
2023-08-25 15:34:20 -05:00
wmayer
423cc42ac8
Tests: add unit tests for:
...
* TopoShape::getElementTypeAndIndex
* ComplexGeoData::getTypeAndIndex
and fix crashes there when passing a null pointer
2023-08-25 19:23:18 +02:00
wmayer
fa12b433df
App: refactor ComplexGeoData::getSubElementByName
2023-08-25 19:23:18 +02:00
wmayer
ee0fad4c90
App: modernize C++: use default member init
2023-08-23 19:51:44 +02:00
bdieterm
f6027d805c
Core: escape filepath characters in FreeCAD.loadFile
2023-08-21 19:50:51 -04:00
luzpaz
ed9ff68935
Fix typos
2023-08-21 20:20:47 +02:00
Chris Hennes
34b660f44f
Merge pull request #10269 from Ondsel-Development/core-doc-wide-vars
...
[Core] Custom Data Elements/Document-wide Variables
2023-08-21 09:22:22 -05:00
wmayer
3e35b5f606
App: modernize C++: use equals default
2023-08-20 18:10:17 +02:00
Ajinkya Dahale
07f6b103b9
[App] Use keyword arguments when adding properties to Document
2023-08-20 19:07:02 +05:30
Chris Hennes
09edbbebaf
Merge pull request #10258 from chennes/translations20230814
...
Update translations
2023-08-18 08:52:13 -05:00
wmayer
93d878c0ca
Lint: fix several issues discovered by clang-tidy
2023-08-18 08:44:49 -05:00
wmayer
8f08d8c7cd
Lint: fix several issues discovered by clazy
2023-08-18 08:44:49 -05:00
wmayer
89bdd489b0
App: modernize C++: return braced init list
2023-08-18 00:36:24 +02:00
Chris Hennes
ddf8c47f40
App: clang-tidy cleanup of Expression::_renameObjectIdentifier
2023-08-17 15:59:45 +02:00