Commit Graph

90 Commits

Author SHA1 Message Date
wmayer
300e887480 Handle clang 10 warnings:
+ fix -Wtautological-bitwise-compare
+ fix -Wimplicit-int-float-conversion
+ fix -Wmisleading-indentation
+ fix -Wrange-loop-construct
+ suppress -Wdeprecated-copy of 3rd party libs
2020-05-25 15:34:43 +02:00
luz.paz
9d4b58ae85 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
Zheng, Lei
71c54272a0 Fix various Py::Object leak 2019-10-08 17:53:20 +02:00
wmayer
c314edcaf6 replace Eigen::Index with auto to support older Eigen3 versions 2019-10-03 12:44:43 +02:00
wmayer
d40b4f66ac improve whitespaces 2019-09-25 15:44:50 +02:00
wmayer
d0d92b0801 force strict ISO C++ (-Wpedantic)
for Fem, Import, PartDesign, Robot, Sketcher, TechDraw
2019-09-18 14:18:07 +02:00
howetuft
945e76d915 [Robot] treeiksolvervel_wdls.cpp: Fix compil warns
"Warning: comparison between signed and unsigned integer expressions [-Wsign-compare]"
Changed 'unsigned int' into 'Eigen::Index' type for several loop indexes...
2019-08-22 18:54:05 +02:00
howetuft
c6748d8d0b [Robot] jacobian.cpp: Fix compiler warnings
"Warning: comparison between signed and unsigned integer expressions [-Wsign-compare]"
Changed 'unsigned int' into 'Eigen::Index' type for several loop indexes...
2019-08-22 18:53:57 +02:00
howetuft
7b265bee18 [Robot] chainiksolverpos_lma.cpp: Fix compil warng
"Warning: Comparison between signed and unsigned integer expressions [-Wsign-compare]"
Fixed by declaring loop index as library-provided type 'Eigen::Index' instead of raw 'unsigned int'.
2019-08-22 18:53:47 +02:00
howetuft
ad73247e9e [Robot] svd_eigen_Macie.hpp: Fix compiler warnings
"Warning: comparison between signed and unsigned integer expressions [-Wsign-compare]"
Changed 'unsigned int' into 'Eigen::Index' type for several loop indexes...
2019-08-22 18:53:39 +02:00
luz.paz
8d5fbd947b FIx some user and non-user facing typos
Found via ` codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig* -L pard,wallthicknessOn`  
codespell version 1.15.0.dev0
2019-05-12 16:59:26 +02:00
wmayer
f611102db3 PVS: V794 The assignment operator should be protected from the case of 'this == ...' 2019-03-13 12:38:46 +01:00
luz.paz
506741aee1 [For v0.18] Crowdin fixes
https://crowdin.com/translate/freecad/568/en-en#1172237
https://crowdin.com/translate/freecad/568/en-en#1172239
https://crowdin.com/translate/freecad/568/en-en#195053
https://crowdin.com/translate/freecad/568/en-en#1172247
https://crowdin.com/translate/freecad/568/en-en#1172249
https://crowdin.com/translate/freecad/568/en-en#1172251
https://crowdin.com/translate/freecad/6766/en-en#6511058
https://crowdin.com/translate/freecad/6766/en-en#6511060
https://crowdin.com/translate/freecad/6766/en-en#6502381
+ random typo fixes
2019-01-13 02:24:50 +01:00
wmayer
f9e487e4b2 Replace Base::Exception with appropriate subclass 2018-11-14 17:47:43 +01:00
wmayer
681d22226a CMP0050: make Robot module aware of cmake policy 2018-08-20 20:00:53 +02:00
wmayer
9f9886691b disable FREECAD_USE_EXTERNAL_KDL due to incompatibilities with bundled version 2018-08-17 21:59:51 +02:00
wmayer
5ee9e11931 nullify path on destruction and check if adding new trajectories 2018-08-16 16:04:24 +02:00
luz.paz
baa6d89328 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
luz.paz
7a09a5774e More misc. typos 2018-05-19 12:17:52 -04:00
luz.paz
505488c4f9 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
luz.paz
b45bc4889d Misc. typos: Please merge right before 0.17 release
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge  so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
luz.paz
4fb16c6964 Fixed source typo
Fixed for better search quality through the code.
2018-01-14 22:27:17 +01:00
luz.paz
8690d870a5 Misc. typos
+ stepcode typo submitted upsream https://github.com/stepcode/stepcode/pull/372
2018-01-07 18:41:29 -02:00
luzpaz
128239b54a Typos: Various workbenches and misc.
[skip ci]
2017-12-25 10:58:10 +01:00
Unknown
d949210aed Typos, grammar & uniformiity
3rd party KDL typos have been submitted upstream https://github.com/orocos/orocos_kinematics_dynamics/pull/121
2017-12-13 00:10:46 -05:00
luzpaz
987b8db0b5 More typos, grammar fixes, uniformity 2017-11-15 10:46:43 -05:00
Unknown
4a75af7e33 upstream orocos_kinematics_dynamics typos
These are downstream fixes that I submitted upstream . They were merged in 35aeab5f8e 
[skip ci]
2017-10-10 07:46:09 -04:00
Unknown
ad457ba96b Misc. Typos 2017-10-09 19:59:33 +02:00
luzpaz
ab8f8919b6 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
wmayer
b562140400 fix clang warnings in some 3rd party libs 2017-09-24 12:22:53 +02:00
wmayer
501729a84c fix possible memory leak in Robot module 2017-09-15 12:15:02 +02:00
wmayer
949c86d364 Port to occ7.2:
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
Kunda
a78e8ffd95 source typo fixes pt3 (only on py3 merged code) 2017-02-28 14:32:33 -05:00
wmayer
1a4385e0a5 py3: fix Python2 build 2017-02-28 18:08:06 +01:00
looooo
4705980598 py3: Robot: gathering remaining diff of Robot-Modul
d90e334005baa59805a9c812203ef107ca3be2a8
2017-02-28 17:39:08 +01:00
wmayer
21ffbeafb9 py3: ported Robot to python3 2017-02-28 17:39:08 +01:00
wmayer
97c9174840 fix various warnings 2017-02-21 22:51:26 +01:00
wmayer
67a0bd4750 improve whitespaces 2017-02-18 09:44:58 +01:00
Mateusz Skowroński
7e42975556 Fix more GCC warnings. 2017-02-18 09:35:31 +01:00
wmayer
0afd327f2a remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
wmayer
81a6d4f4cc fix some typos 2016-09-27 19:26:45 +02:00
wmayer
e4216d1263 fix -Wextra in Robot 2016-09-23 21:18:57 +02:00
wmayer
f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
Marco Molteni
666fba6e8b Enable building the KDL libray with clang 2016-08-20 22:01:51 +02:00
wmayer
d80c05e186 fix Coverity issues 2016-08-20 17:21:01 +02:00
wmayer
c60da6c6e9 + fix build failure of Robot module when using occ 2016-05-15 21:01:44 +02:00
wmayer
108149297f + simplify porting of Robot module to Python3 2016-01-18 18:26:37 +01:00
wmayer
9abedaf0d2 + fix & suppress msvc warnings 2015-10-16 18:26:30 +02:00
wmayer
2e6c94fc8e + suppress kdl related warnings with msvc 2015-10-15 19:18:07 +02:00
Yorik van Havre
52d5b8ab7f Robot: Added missing header in KDL 2015-10-15 11:55:52 -03:00