berniev
53ba98d636
Mod: use empty
2022-08-06 19:30:13 +02:00
berniev
47ac049e14
Mod: use emplace_back
2022-08-05 10:36:16 +02:00
wmayer
0b424620d6
App: changes in ComplexGeoData:
...
* rename some methods
* distinguish between Point and Vector
* support of arrays of Point or Vector
2022-08-03 16:18:14 +02:00
Uwe
763a575b23
Mod: remove some unnecessary nullptr checks
2022-07-18 12:58:12 +02:00
Uwe
7b4e014263
[Robot etc.] remove superfluous nullptr checks
2022-07-18 02:54:09 +02:00
wmayer
1459fd61a4
cppcoreguidelines-special-member-functions
...
* disable move constructor and move assignment for several core classes
2022-06-25 17:46:48 +02:00
wmayer
223de8f60f
cppcoreguidelines-pro-type-union-access
...
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Ru-pun using union for type-punning is undefined behaviour.
See also https://en.wikipedia.org/wiki/Type_punning#Use_of_union . Replace it with std::memcpy.
2022-06-25 17:17:04 +02:00
wmayer
d5340a82ab
Gui/Mod: replace several reinterpret_cast with static_cast
2022-06-25 11:36:55 +02:00
wmayer
8b9484c82f
App: add pure virtual methods to PropertyGeometry to delegate it to the geometry of sub-classes
...
Following the law of Demeter add some wrapper methods to PropertyGeometry and implement them in sub-classes. As a side-effect this makes some const_cast obsolete
2022-06-24 16:15:02 +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
Kuzemko Alexsandr
b99ccc6193
Crowdin Update .ts files with current source.
2022-06-21 17:31:06 +03:00
wmayer
23288e7b01
Points: fixes #5785 : a python method to convert a Shape into a point cloud without extra dialog but parameter
2022-06-21 15:25:53 +02:00
Uwe
c92739a95d
[Point] remove unnecessary Boolean comparisons
2022-06-19 17:10:55 +02:00
Yorik van Havre
d2f8b7d4e3
Merged crowdin translations
2022-06-08 12:28:54 +02:00
Chris Hennes
861233e7f2
i18n: TS files generated by lupdate 6.4.0dev
2022-06-02 13:41:37 -05:00
Yorik van Havre
9d4ae629a3
Merged crowdin translations
2022-05-31 13:31:52 +02:00
Yorik van Havre
2dffe82cda
Merged crowdin translations
2022-05-27 11:28:55 +02:00
Kuzemko Alexsandr
c266f16c53
Update .ts with lupdate ver 6.4.0.
2022-05-23 16:53:07 +02:00
wmayer
9a7629fccf
Points: fix round-off errors in pcd export
2022-05-17 11:48:58 +02:00
Yorik van Havre
996994da55
Merged crowdin translations
2022-05-05 15:46:09 +02:00
Zheng, Lei
8bec44934b
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Yorik van Havre
1fbd1fb38d
Merged crowdin translations
2022-04-21 14:18:33 +02:00
Yorik van Havre
914069ded4
merged crowdin translations
2022-04-13 13:47:06 +02:00
Chris Hennes
bc7891919a
Points: PR6497 move return statement to new line
2022-03-29 12:38:24 -05:00
Chris Hennes
c292c82144
Points: PR4556 Step 3: sort QGridLayout by row-col
2022-03-28 10:43:22 -05:00
wmayer
48c6777d82
Points: include header with export macros
2022-03-24 20:46:47 +01:00
wmayer
d21a60b294
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
Uwe
d52633a030
[Points] remove Python.h and Xerces
2022-03-20 22:55:16 +01:00
wmayer
1f12dca2b4
Py: replace BaseExceptionFreeCADError with more suitable exception types
2022-03-17 13:54:23 +01:00
wmayer
0f9768fb33
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
d5aa8986f1
Points: Fix several coverity issues:
...
* CID 350545: Resource leak
* CID 350553: Resource leak
* CID 350559: Resource leak
* CID 350593: Resource leak
* CID 350604: Resource leak
* CID 350625: Resource leak
* CID 350650: Resource leak
* CID 129019: Division or modulo by float zero (false-positive)
* CID 129020: Division or modulo by float zero (false-positive)
* CID 129021: Division or modulo by float zero (false-positive)
2022-03-13 16:48:19 +01:00
wmayer
ec8353ba99
Part: refactor PropertyPartShape::SaveDocFile and PropertyPartShape::RestoreDocFile
...
Set exception mask of std::istream::failbit | std::istream::badbit to istream to make sure it raises an exception for corrupted input files.
See: https://forum.freecadweb.org/viewtopic.php?p=536747
2022-03-11 22:06:38 +01:00
wmayer
08b77bff08
Core/Mod: modernize C++11
...
* use nullptr
2022-03-09 21:55:31 +01:00
Uwe
554635cc7d
[Gui] rename the Qt header list
2022-03-07 20:35:38 +01:00
wmayer
f1f68db55b
App: Optimize includes to reduce compile time
2022-03-07 15:53:58 +01:00
Yorik van Havre
2cff977548
Merged crowdin translations
2022-03-07 14:55:22 +01:00
wmayer
5e0cfc64ee
App: use forward declarations
2022-03-04 21:09:46 +01:00
Yorik van Havre
e1028eb65e
Merged crowdin translations
2022-02-14 12:31:57 +01:00
wmayer
cdf755ec71
Points: modernize C++11
...
* remove redundant void-arg
* use nullptr
2022-01-26 17:53:41 +01:00
Yorik van Havre
233182dcd6
Merged crowdin translations
2022-01-26 14:15:14 +01:00
luz paz
7b96b16cb8
Fix superfluous whitespace in various files
2022-01-09 21:01:42 -06:00
luz paz
28ab1bb68f
Fix various superfluous whitespace in *.dox files
2022-01-09 21:01:42 -06:00
Yorik van Havre
91bfb0fbb6
Merged crowdin translations
2021-12-29 12:20:12 +01:00
luzpaz
c0f42cea0e
Points: translate doxygen from DE to EN + fix superfluous whitespace ( #5287 )
...
* Points: translate doxygen from DE to EN + fix superfluous whitespace
For the purpose of making the source documentation uniform, source comments in this file were translated to english.
* Points: remove superfluous whitespace
* Fix left over DE to EN translations (from Cam and Mesh code)
2021-12-25 20:41:12 +01:00
Uwe
f84c62bf34
[Points] minor style fixes by MSVC
2021-12-17 02:39:47 +01:00
Uwe
a1f71bbe9e
[Points] compilation fix or -> ||
...
- also some style fixes made by MSVC
2021-12-16 03:02:13 +01:00
wmayer
78bb8a0282
Points: implement helper method to reduce code duplication
2021-12-15 22:14:57 +01:00
wmayer
56ebdec1b7
Points: fix several warnings, fix invalid point assignment
2021-12-15 22:14:57 +01:00
Benjamin Alterauge
71e7f47e5b
If the channels xyz be missing, display error message.
2021-12-15 22:14:57 +01:00
Benjamin Alterauge
b6db87f9c3
Load settings move to AppPointsPy
2021-12-15 22:14:57 +01:00