Chris Hennes
14d4ea2416
Merge pull request #11883 from wavexx/pch_build_fix
...
Fix build with precompiled headers
2024-01-16 14:06:34 -06:00
Chris Hennes
ed6230093f
Part/Toponaming: Refactor makeElementCompound
...
Refactor to address linter issues, breaking up large methods, renaming variables, etc.
2024-01-15 18:17:32 +01:00
Chris Hennes
928c4ce813
App/Toponaming: Add addition TNP methods
2024-01-15 18:17:32 +01:00
Andrei Pozolotin
6a54591bac
Resolve #11825 - no automatic quantity conversion: App::anyToQuantity
2024-01-11 11:32:18 -06:00
bgbsww
365c5f4777
Detect circular references in sketches, and add corresponding tests ( #11716 )
...
* Possible fix for 10482 circular reference regression with tests
* Remove redundant test
* Cleanup pre PR
* [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>
2024-01-06 18:13:44 -06:00
Roy-043
e264b70e2c
App: improve tooltip for ActiveObject
...
Also some minor spelling fixes.
2024-01-05 11:09:05 -06:00
Chris Hennes
1d2186b7d6
Update translations ( #11886 )
...
* Update translations
* [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>
2024-01-03 09:27:18 -06:00
Yuri D'Elia
9df964cbb4
App: Fix build with pch
...
Include <cfloat> for DBL_MAX
2024-01-02 19:29:02 +01:00
mos
eb4214da4c
Removed redundant float casts
...
fix cast promotions
2023-12-19 14:26:05 +01:00
bgbsww
d562528455
Typo fix
2023-12-19 11:17:53 +01:00
bgbsww
93f1b019ba
Defer to realthunder fix
2023-12-19 11:17:53 +01:00
bgbsww
4de4b667bc
Don't override child visibility in Arch BuildingPart or GroupExtensions
2023-12-19 11:17:53 +01:00
IMO
256820ac97
bugfix: exit() is not async-signal-safe!
2023-12-11 18:10:41 +01:00
André Caldas
560898907b
Avoids using getNameInDocument() to test if DocumentObject is attached to a Document.
...
This patch substitutes by isAttachedToDocument() (almost) everywhere where
getNameInDocument() is used for this purpose.
The very few places not touched by this patch demand a (just a little) less trivial change.
When we change the returning type of getNameInDocument() to std::string,
those places will be easily found, because they shall generate a compiler error
(converting std::string to bool).
Rationale:
The fact that getNameInDocument() return nullptr to indicate
that the object is not attached to a document is responsible for lots of bugs
where the developer does not check for "nullptr".
The idea is to eliminate all those uses of getNameInDocument() and, in the near future,
make getNameInDocument() return always a valid std::string.
2023-12-11 17:37:58 +01:00
Abdullah Tahiri
14393bf20f
App: PropertyStandard - make developer warning only for the developer
...
=====================================================================
Issue #11183
- The message is not useful for the user in terms of content.
- The user can do nothing about it, but move on.
2023-12-09 11:06:04 +01:00
luzpaz
855aa453a0
Fix typos
2023-12-06 14:53:48 -05:00
bgbsww
a1c08dbf43
Move the unit schema into Project Information and remove all Project Unit System code ( #11266 )
...
* Add unit system to Project Information and store with document.
* Remove the project unit system
* Restore correct document activation signalling to fix test fail
* Remove commented out dead lines
* Restore ignore option for project unit schemas
* Whitespace fix
* Refresh after changing units
* Remove field label
* Property editor changes applied to unit system
2023-12-04 13:04:53 -06:00
wmayer
8f3fcd540a
MSYS: fix CMake configure and build for MinGW
2023-12-03 18:02:07 +01:00
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