Ajinkya Dahale
d83ba67b82
[Core] Use keyword arguments in DocumentObjectPy addProperty
2023-10-16 17:49:12 +02:00
wmayer
c19a8736b8
Core: fix compiler warning due to boost
2023-10-11 12:04:26 +02:00
wmayer
15622bb519
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
dbe1c6135a
Fix #10910
2023-10-09 22:54:12 +02:00
wmayer
d305f306df
Core: Revert superfluous changes made with PR #9521
2023-10-09 15:06:45 +02:00
AgCaliva
3ac69993c0
merge master via cli
2023-10-04 13:28:48 -03:00
Chris Hennes
6c9be93378
Update translations
2023-09-29 22:57:37 -05:00
dyylanhammond
3b44bba8ac
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
a4e90b2609
Merge branch 'master' into User/Document/Feature_level_units_selection_#7746
2023-09-25 22:58:23 -03:00
wmayer
2faf86d249
App: still support __getstate__/__setstate__ for add-ons for < Py3.11
2023-09-25 14:48:54 +02:00
wmayer
ef9936a940
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
1cdff85086
MSVC: fix warnings and build failure
2023-09-23 19:10:32 +02:00
Chris Hennes
de82b54b63
Merge pull request #10667 from chennes/toponamingHasherToDocument
...
App/Toponaming: Add StringHasher to Document
2023-09-20 13:31:02 -05:00
AgCaliva
cfdbd2322a
Merge branch 'master' into User/Document/Feature_level_units_selection_#7746
2023-09-18 14:01:25 -03:00
bdieterm
c9a802418a
Core, Gui: allow breakpoints in Init.py and InitGui.py of mods
2023-09-18 10:27:51 +02:00
Chris Hennes
144aaba1af
App/Toponaming: Clarify return value of addStringHasher
2023-09-17 14:00:22 -05:00
Chris Hennes
564f829e5c
App/Toponaming: Minor code cleanup
2023-09-17 13:13:37 -05:00
Chris Hennes
9b55b3a70b
App/Toponaming: Add StringHasher to Document
2023-09-17 13:13:37 -05:00
AgCaliva
64f60721a9
merge master via cli
2023-09-16 02:12:58 -03:00
Chris Hennes
0bc6870618
Update translations ( #10613 )
...
* Update translations
* Start: Remove Start.ts
2023-09-10 13:06:26 -05:00
luzpaz
6810c5703d
Fix various typos
2023-09-07 20:34:49 +02:00
Ajinkya Dahale
5300e70eab
[Core] Avoid some seg-fault because of PySequence_Check(nullptr)
2023-09-06 16:17:21 +02:00
luzpaz
40d2a90e3a
Fix typos
2023-08-31 22:29:17 -05:00
AgCaliva
3da00e36a3
Merge Master
2023-08-30 16:24:16 -03:00
AgCaliva
704a5bd10a
Fixed working with tests
2023-08-29 14:41:58 -03:00
Chris Hennes
40f130643a
Update translations
2023-08-29 07:38:09 -05:00
Chris Hennes
393c1020f5
App: Wrap PyArg_ParseTupleAndKeywords
2023-08-25 15:34:20 -05:00
wmayer
2c2347f746
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
56ccef84c2
App: refactor ComplexGeoData::getSubElementByName
2023-08-25 19:23:18 +02:00
wmayer
1cf1a90a17
App: modernize C++: use default member init
2023-08-23 19:51:44 +02:00
bdieterm
793da1479a
Core: escape filepath characters in FreeCAD.loadFile
2023-08-21 19:50:51 -04:00
luzpaz
09a965d595
Fix typos
2023-08-21 20:20:47 +02:00
Chris Hennes
961bd5fa37
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
1efde78d74
App: modernize C++: use equals default
2023-08-20 18:10:17 +02:00
Ajinkya Dahale
1ac9cb35b7
[App] Use keyword arguments when adding properties to Document
2023-08-20 19:07:02 +05:30
Chris Hennes
bac14e81f7
Merge pull request #10258 from chennes/translations20230814
...
Update translations
2023-08-18 08:52:13 -05:00
wmayer
38fb97947b
Lint: fix several issues discovered by clang-tidy
2023-08-18 08:44:49 -05:00
wmayer
ff1981fcdc
Lint: fix several issues discovered by clazy
2023-08-18 08:44:49 -05:00
wmayer
af8c05c507
App: modernize C++: return braced init list
2023-08-18 00:36:24 +02:00
Chris Hennes
15c7aabe27
App: clang-tidy cleanup of Expression::_renameObjectIdentifier
2023-08-17 15:59:45 +02:00
Chris Hennes
58cf9f3212
Update translations
...
Adds the ten units strings from Base as well.
2023-08-16 22:50:39 -05:00
Djuro Drljaca
8c25886da2
Keep the label of a variable in expression on spreadsheet alias rename ( #10222 )
...
Fixes #5800
2023-08-16 21:35:58 -05:00
Jonas Bähr
34b176c1db
Remove C++ escaping from *Py.xml templates
...
Now all escaping required for the C++ code generation is done when the
.cpp/.h files are generated. Previously, only newlines were escaped
automatically. This was a) inconsistent and b) leaked c++ details into
the xml data.
In addition, the escaping is now done in one central place, harmonizing
the three previous implementations.
Pre-existing c++ escape sequences in the XML files have been replaced by
their literal equivalent so that the resulting python doc sting remains
unchanged.
2023-08-16 13:17:25 +02:00
Daniel-Khodabakhsh
a9ac5b8398
Expressions: Add Vector API expression functions ( #10237 )
2023-08-15 23:00:16 -05:00
wmayer
4991475341
App: modernize C++: use range-based for loop
2023-08-14 16:40:25 +02:00
Chris Hennes
edda57292c
Merge pull request #10146 from marioalexis84/app-string_hasher_py
...
App: Fix crash and undefined behavior in StringHasherPy and StringIDPy
2023-08-13 13:45:06 -07:00
wmayer
7fe0d5b9a6
modernize C++: use equals delete
2023-08-10 17:29:05 +02:00
marioalexis
0987f94185
App: Change indentation to 4 spaces in String*PyImp.cpp
2023-08-10 11:55:21 -03:00
marioalexis
04bd0b2d20
App: Fix crash and undefined behavior in StringHasherPy and StringIDPy
2023-08-10 11:55:21 -03:00
marioalexis
6acb55b643
App: Initialize StringHasher and StringID classes
2023-08-10 11:55:21 -03:00