]> git.ipfire.org Git - thirdparty/vectorscan.git/log
thirdparty/vectorscan.git
14 months agocstylecasts and suppressions
gtsoul-tech [Wed, 22 May 2024 07:16:56 +0000 (10:16 +0300)] 
cstylecasts and suppressions

14 months agoMerge pull request #288 from isildur-g/bugfix-assert
Konstantinos Margaritis [Tue, 21 May 2024 20:43:04 +0000 (23:43 +0300)] 
Merge pull request #288 from isildur-g/bugfix-assert

revert a change to assert

14 months agoMerge pull request #287 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part4
Konstantinos Margaritis [Tue, 21 May 2024 12:59:51 +0000 (15:59 +0300)] 
Merge pull request #287 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part4

Part 4 of C-style cast cppcheck

14 months agoMerge pull request #283 from isildur-g/wip-cppcheck271-part2
Konstantinos Margaritis [Tue, 21 May 2024 12:52:15 +0000 (15:52 +0300)] 
Merge pull request #283 from isildur-g/wip-cppcheck271-part2

Wip cppcheck271 useStlAlgorithm part2

14 months agorevert a change to assert , the original logic might have been 288/head
G.E. [Mon, 20 May 2024 15:03:56 +0000 (18:03 +0300)] 
revert a change to assert , the original logic might have been
subtely clever (or else totally useless all these years), when we
see which of the two we might delete that assert entirely. for now
put it back as it was.

14 months agocstylecasts suppress,fixes 287/head
gtsoul-tech [Mon, 20 May 2024 14:09:30 +0000 (17:09 +0300)] 
cstylecasts suppress,fixes

14 months agoundo that one, it breaks 283/head
G.E [Mon, 20 May 2024 13:35:58 +0000 (16:35 +0300)] 
undo that one, it breaks

14 months agoMerge pull request #286 from VectorCamp/bugfix/cppcheck-fix-wrong-casts
Konstantinos Margaritis [Mon, 20 May 2024 12:17:01 +0000 (15:17 +0300)] 
Merge pull request #286 from VectorCamp/bugfix/cppcheck-fix-wrong-casts

Fix remaining C style casts and suppressions

14 months agofix cStyleCasts
gtsoul-tech [Mon, 20 May 2024 11:54:35 +0000 (14:54 +0300)] 
fix cStyleCasts

14 months agoFix typo 286/head
Konstantinos Margaritis [Sat, 18 May 2024 19:52:17 +0000 (22:52 +0300)] 
Fix typo

14 months agoAdd more C style casts fixes and suppressions
Konstantinos Margaritis [Sat, 18 May 2024 18:48:40 +0000 (21:48 +0300)] 
Add more C style casts fixes and suppressions

14 months agoremove unneeded suppression
Konstantinos Margaritis [Sat, 18 May 2024 18:47:47 +0000 (21:47 +0300)] 
remove unneeded suppression

14 months agoFix more C-style casts
Konstantinos Margaritis [Sat, 18 May 2024 12:06:10 +0000 (15:06 +0300)] 
Fix more C-style casts

14 months agoFix casts
Konstantinos Margaritis [Sat, 18 May 2024 11:58:11 +0000 (14:58 +0300)] 
Fix casts

14 months agoFix wrong comparison
Konstantinos Margaritis [Sat, 18 May 2024 11:57:44 +0000 (14:57 +0300)] 
Fix wrong comparison

14 months agoFix wrong casts in pcapscan.cc
Konstantinos Margaritis [Sat, 18 May 2024 11:56:30 +0000 (14:56 +0300)] 
Fix wrong casts in pcapscan.cc

14 months agoMerge pull request #285 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part3
Konstantinos Margaritis [Sat, 18 May 2024 06:43:25 +0000 (09:43 +0300)] 
Merge pull request #285 from gtsoul-tech/bugFix/cppcheck-cStylecasts-Part3

Part 3 of C-style cast cppcheck

14 months agoMerge pull request #284 from gtsoul-tech/bigFix/cppcheck-cStylecasts-Part2
Konstantinos Margaritis [Sat, 18 May 2024 06:41:50 +0000 (09:41 +0300)] 
Merge pull request #284 from gtsoul-tech/bigFix/cppcheck-cStylecasts-Part2

Part 2 of C-style cast cppcheck

14 months agostl'ed another.
G.E [Fri, 17 May 2024 21:02:43 +0000 (00:02 +0300)] 
stl'ed another.

14 months agostl'ed another one
G.E [Fri, 17 May 2024 20:27:42 +0000 (23:27 +0300)] 
stl'ed another one

14 months agostl'ed one more instance
G.E [Fri, 17 May 2024 20:18:55 +0000 (23:18 +0300)] 
stl'ed one more instance

14 months agocStyleCasts 285/head
gtsoul-tech [Fri, 17 May 2024 13:58:08 +0000 (16:58 +0300)] 
cStyleCasts

14 months agocStyleCasts 284/head
gtsoul-tech [Fri, 17 May 2024 10:57:12 +0000 (13:57 +0300)] 
cStyleCasts

14 months agoclean up comments
G.E [Fri, 17 May 2024 08:27:43 +0000 (11:27 +0300)] 
clean up comments

14 months agoMerge branch 'develop' into wip-cppcheck271-part2
g. economou [Fri, 17 May 2024 08:08:09 +0000 (11:08 +0300)] 
Merge branch 'develop' into wip-cppcheck271-part2

14 months agolast batch
G.E [Fri, 17 May 2024 08:02:00 +0000 (11:02 +0300)] 
last batch

14 months agonext batch
G.E [Fri, 17 May 2024 07:44:28 +0000 (10:44 +0300)] 
next batch

14 months agonext batch
G.E [Thu, 16 May 2024 21:08:37 +0000 (00:08 +0300)] 
next batch

14 months agoMerge pull request #281 from VectorCamp/bugfix/cppcheck-cstyleCasts-part1
Konstantinos Margaritis [Thu, 16 May 2024 20:14:45 +0000 (23:14 +0300)] 
Merge pull request #281 from VectorCamp/bugfix/cppcheck-cstyleCasts-part1

Part 1 of C-style cast cppcheck fixes

14 months agofirst batch of cppcheck disables and a few more stl-ifications,
G.E [Thu, 16 May 2024 20:01:17 +0000 (23:01 +0300)] 
first batch of cppcheck disables and a few more stl-ifications,
involving use of accumulate() .

14 months agoadd alternative macro without C casts to avoid Cppcheck warnings 281/head
Konstantinos Margaritis [Thu, 16 May 2024 12:58:02 +0000 (15:58 +0300)] 
add alternative macro without C casts to avoid Cppcheck warnings

14 months agoFix C style casts in mcsheng_compile.cpp
Konstantinos Margaritis [Thu, 16 May 2024 12:57:39 +0000 (15:57 +0300)] 
Fix C style casts in mcsheng_compile.cpp

14 months agoMerge pull request #280 from isildur-g/bugfix-rose-segfault
Konstantinos Margaritis [Thu, 16 May 2024 12:41:22 +0000 (15:41 +0300)] 
Merge pull request #280 from isildur-g/bugfix-rose-segfault

the segfault we ran into, included_frag_id should be

14 months agoFix wrong cast in aligned_free()
Konstantinos Margaritis [Thu, 16 May 2024 10:06:28 +0000 (13:06 +0300)] 
Fix wrong cast in aligned_free()

14 months agoFix C-style casts
Konstantinos Margaritis [Wed, 15 May 2024 20:22:39 +0000 (23:22 +0300)] 
Fix C-style casts

14 months agoMerge branch 'develop' into bugfix-rose-segfault 280/head
g. economou [Thu, 16 May 2024 06:57:58 +0000 (09:57 +0300)] 
Merge branch 'develop' into bugfix-rose-segfault

14 months agothe segfault we ran into, included_frag_id should be
G.E [Thu, 16 May 2024 06:53:03 +0000 (09:53 +0300)] 
the segfault we ran into, included_frag_id should be
included_delay_frag_id.

14 months agoMerge pull request #279 from VectorCamp/bugfix/cppcheck-unreadVariable-others
Konstantinos Margaritis [Wed, 15 May 2024 20:18:02 +0000 (23:18 +0300)] 
Merge pull request #279 from VectorCamp/bugfix/cppcheck-unreadVariable-others

Fix marked as done cppcheck warnings unreadVariable & others

14 months agoMerge pull request #278 from VectorCamp/bugfix/cppcheck-remaining-const-warnings
Konstantinos Margaritis [Wed, 15 May 2024 14:54:27 +0000 (17:54 +0300)] 
Merge pull request #278 from VectorCamp/bugfix/cppcheck-remaining-const-warnings

Fix remaining marked as done const* cppcheck warnings

14 months agoremove unused variables 279/head
Konstantinos Margaritis [Wed, 15 May 2024 14:18:53 +0000 (17:18 +0300)] 
remove unused variables

14 months agoanother duplicateExpression false positive
Konstantinos Margaritis [Wed, 15 May 2024 14:11:07 +0000 (17:11 +0300)] 
another duplicateExpression false positive

14 months agoFix unreadVariable warning
Konstantinos Margaritis [Wed, 15 May 2024 14:05:50 +0000 (17:05 +0300)] 
Fix unreadVariable warning

14 months agoFix missingOverride
Konstantinos Margaritis [Wed, 15 May 2024 14:05:22 +0000 (17:05 +0300)] 
Fix missingOverride

14 months agoFix unknownMacro
Konstantinos Margaritis [Wed, 15 May 2024 14:04:50 +0000 (17:04 +0300)] 
Fix unknownMacro

14 months agoFix variableScope
Konstantinos Margaritis [Wed, 15 May 2024 14:01:31 +0000 (17:01 +0300)] 
Fix variableScope

14 months agoFalse positive knownConditionTrueFalse
Konstantinos Margaritis [Wed, 15 May 2024 14:01:02 +0000 (17:01 +0300)] 
False positive knownConditionTrueFalse

14 months agoFalse positives duplicateExpression
Konstantinos Margaritis [Wed, 15 May 2024 14:00:28 +0000 (17:00 +0300)] 
False positives duplicateExpression

14 months agoFix remaining marked as done const* cppcheck warnings 278/head
Konstantinos Margaritis [Wed, 15 May 2024 07:52:31 +0000 (10:52 +0300)] 
Fix remaining marked as done const* cppcheck warnings

14 months agoMerge pull request #277 from isildur-g/wip-cppcheck271
Konstantinos Margaritis [Wed, 15 May 2024 07:44:15 +0000 (10:44 +0300)] 
Merge pull request #277 from isildur-g/wip-cppcheck271

phase 1 of addressing cppcheck useStlAlgorithm warnings for fill and copy operations

14 months agoMerge pull request #276 from gtsoul-tech/bugFix/cppcheck-noExplicitConstructor-part2
Konstantinos Margaritis [Tue, 14 May 2024 16:52:01 +0000 (19:52 +0300)] 
Merge pull request #276 from gtsoul-tech/bugFix/cppcheck-noExplicitConstructor-part2

Bug fix/cppcheck no explicit constructor part2

14 months agophase 1 of addressing cppcheck useStlAlgorithm warnings, 277/head
G.E [Tue, 14 May 2024 14:37:38 +0000 (17:37 +0300)] 
phase 1 of addressing cppcheck useStlAlgorithm warnings,
this set only includes fill and copy operations.

14 months agosupervector conversion 276/head
gtsoul-tech [Tue, 14 May 2024 11:15:15 +0000 (14:15 +0300)] 
supervector conversion

14 months agoforgot some conversions SuperVector<32>
gtsoul-tech [Tue, 14 May 2024 11:10:56 +0000 (14:10 +0300)] 
forgot some conversions SuperVector<32>

14 months agoexplicit constructor Supervector
gtsoul-tech [Tue, 14 May 2024 10:32:50 +0000 (13:32 +0300)] 
explicit constructor Supervector

14 months agoppc64el supervector explicit constructor
gtsoul-tech [Tue, 14 May 2024 07:11:52 +0000 (10:11 +0300)] 
ppc64el supervector explicit constructor

14 months agoarm supervector explicit constructor
gtsoul-tech [Tue, 14 May 2024 06:53:08 +0000 (09:53 +0300)] 
arm supervector explicit constructor

14 months agox86 explicit constructor supervector
gtsoul-tech [Tue, 14 May 2024 06:28:13 +0000 (09:28 +0300)] 
x86 explicit constructor supervector

14 months agoMerge pull request #274 from gtsoul-tech/bugFix/cppcheckError-noexplicitConstructor
Konstantinos Margaritis [Mon, 13 May 2024 18:52:55 +0000 (21:52 +0300)] 
Merge pull request #274 from gtsoul-tech/bugFix/cppcheckError-noexplicitConstructor

Bug fix/cppcheck error noexplicitconstructor

14 months agomost ptr.get() conversion 274/head
gtsoul-tech [Mon, 13 May 2024 11:24:16 +0000 (14:24 +0300)] 
most ptr.get() conversion

14 months agofixes left_id and suffix_id
gtsoul-tech [Mon, 13 May 2024 10:04:57 +0000 (13:04 +0300)] 
fixes left_id and suffix_id

14 months agomore fixes
gtsoul-tech [Mon, 13 May 2024 09:41:40 +0000 (12:41 +0300)] 
more fixes

14 months agofix conversions
gtsoul-tech [Mon, 13 May 2024 08:03:27 +0000 (11:03 +0300)] 
fix conversions

14 months agoMerge pull request #267 from VectorCamp/bugfix/cppcheck-rose_build_scatter-uselessAss...
Konstantinos Margaritis [Mon, 13 May 2024 07:42:23 +0000 (10:42 +0300)] 
Merge pull request #267 from VectorCamp/bugfix/cppcheck-rose_build_scatter-uselessAssignmentArg

Fix marked as false positive uselessAssignmentArg cppcheck warning

14 months agoMerge pull request #268 from VectorCamp/bugfix/cppcheck-constStatement
Konstantinos Margaritis [Mon, 13 May 2024 07:26:38 +0000 (10:26 +0300)] 
Merge pull request #268 from VectorCamp/bugfix/cppcheck-constStatement

Fix marked as false positive constStatement cppcheck warnings

14 months agoMerge pull request #269 from VectorCamp/bugfix/cppcheck-duplicateAssignment
Konstantinos Margaritis [Mon, 13 May 2024 07:26:25 +0000 (10:26 +0300)] 
Merge pull request #269 from VectorCamp/bugfix/cppcheck-duplicateAssignment

Fix marked as false positive duplicateAssignExpression cppcheck warnings

14 months agoMerge pull request #270 from VectorCamp/bugfix/cppcheck-redundantAssignment
Konstantinos Margaritis [Mon, 13 May 2024 07:25:53 +0000 (10:25 +0300)] 
Merge pull request #270 from VectorCamp/bugfix/cppcheck-redundantAssignment

Fix marked as false positive redundantAssignment cppcheck warnings

14 months agoMerge pull request #271 from VectorCamp/bugfix/cppcheck-identicalConditionAfterEarlyExit
Konstantinos Margaritis [Mon, 13 May 2024 07:25:34 +0000 (10:25 +0300)] 
Merge pull request #271 from VectorCamp/bugfix/cppcheck-identicalConditionAfterEarlyExit

Fix marked as false positive identicalConditionAfterEarlyExit cppcheck warnings

14 months agoMerge pull request #272 from VectorCamp/bugfix/cppcheck-truncLongCastAssignment
Konstantinos Margaritis [Mon, 13 May 2024 07:13:45 +0000 (10:13 +0300)] 
Merge pull request #272 from VectorCamp/bugfix/cppcheck-truncLongCastAssignment

Fix marked as false positive truncLongCastAssignment cppcheck warnings

14 months agoMerge pull request #273 from VectorCamp/bugfix/cppcheck-knownConditionTrueFalse
Konstantinos Margaritis [Mon, 13 May 2024 07:13:22 +0000 (10:13 +0300)] 
Merge pull request #273 from VectorCamp/bugfix/cppcheck-knownConditionTrueFalse

 Fix marked as false positive knownConditionTrueFalse cppcheck warnings

14 months agorevert supervector
gtsoul-tech [Mon, 13 May 2024 06:52:42 +0000 (09:52 +0300)] 
revert supervector

14 months agofix
gtsoul-tech [Mon, 13 May 2024 06:29:40 +0000 (09:29 +0300)] 
fix

14 months agoMerge branch 'develop' into bugFix/cppcheckError-noexplicitConstructor
gtsoul-tech [Mon, 13 May 2024 06:13:28 +0000 (09:13 +0300)] 
Merge branch 'develop' into bugFix/cppcheckError-noexplicitConstructor

14 months agonodes is never empty at this stage, emplace_back() is called just previously 273/head
Konstantinos Margaritis [Sun, 12 May 2024 17:25:29 +0000 (20:25 +0300)] 
nodes is never empty at this stage, emplace_back() is called just previously

14 months agoFix marked as false positive knownConditionTrueFalse cppcheck warnings
Konstantinos Margaritis [Sun, 12 May 2024 15:40:51 +0000 (18:40 +0300)] 
Fix marked as false positive knownConditionTrueFalse cppcheck warnings

std::make_shared<> does not return null, it throws std::bad_alloc.

14 months agoFix false positive truncLongCastAssignment warnings 272/head
Konstantinos Margaritis [Sun, 12 May 2024 14:22:12 +0000 (17:22 +0300)] 
Fix false positive truncLongCastAssignment warnings

14 months agoFix false positive /identicalConditionAfterEarlyExit warnings 271/head
Konstantinos Margaritis [Sat, 11 May 2024 21:05:45 +0000 (00:05 +0300)] 
Fix false positive /identicalConditionAfterEarlyExit warnings

14 months agoFix false positive redundantAssignment warnings 270/head
Konstantinos Margaritis [Sat, 11 May 2024 20:45:01 +0000 (23:45 +0300)] 
Fix false positive redundantAssignment warnings

14 months agoFix false positive duplicateAssignExpression warnings 269/head
Konstantinos Margaritis [Sat, 11 May 2024 20:13:45 +0000 (23:13 +0300)] 
Fix false positive duplicateAssignExpression warnings

14 months agoFix false positive constStatement warnings 268/head
Konstantinos Margaritis [Sat, 11 May 2024 20:11:29 +0000 (23:11 +0300)] 
Fix false positive constStatement warnings

14 months agoreplace memcpy with std::copy 267/head
Konstantinos Margaritis [Sat, 11 May 2024 15:47:00 +0000 (18:47 +0300)] 
replace memcpy with std::copy

14 months agoFix false positive uselessAssignmentArg cppcheck warning
Konstantinos Margaritis [Sat, 11 May 2024 14:59:46 +0000 (17:59 +0300)] 
Fix false positive uselessAssignmentArg cppcheck warning

(also at the same time some cstyleCast warnings)

14 months agoMerge pull request #265 from isildur-g/wip-isildur-g-cppcheck66
Konstantinos Margaritis [Fri, 10 May 2024 19:43:05 +0000 (22:43 +0300)] 
Merge pull request #265 from isildur-g/wip-isildur-g-cppcheck66

addressing cppcheck shadowFunction warnings

14 months agoMerge branch 'develop' into test-noExplicitConstructor
gtsoul-tech [Fri, 10 May 2024 09:46:44 +0000 (12:46 +0300)] 
Merge branch 'develop' into test-noExplicitConstructor

14 months agosupervector
gtsoul-tech [Fri, 10 May 2024 09:43:45 +0000 (12:43 +0300)] 
supervector

14 months agonoExplicitConstructor 1 more
gtsoul-tech [Fri, 10 May 2024 07:08:14 +0000 (10:08 +0300)] 
noExplicitConstructor 1 more

14 months agonoExplicitConstructor
gtsoul-tech [Fri, 10 May 2024 07:07:47 +0000 (10:07 +0300)] 
noExplicitConstructor

14 months agoremove test comment 265/head
G.E [Thu, 9 May 2024 12:12:02 +0000 (15:12 +0300)] 
remove test comment

14 months agoMerge branch 'develop' into wip-isildur-g-cppcheck66
g. economou [Thu, 9 May 2024 07:28:25 +0000 (10:28 +0300)] 
Merge branch 'develop' into wip-isildur-g-cppcheck66

14 months agotest comment
G.E [Wed, 8 May 2024 21:12:30 +0000 (00:12 +0300)] 
test comment

14 months agoone more fixed that had been missed.
G.E [Wed, 8 May 2024 09:33:22 +0000 (12:33 +0300)] 
one more fixed that had been missed.

14 months agoMerge pull request #264 from gtsoul-tech/bugFix/cppcheck-constVariablePointer
Konstantinos Margaritis [Wed, 8 May 2024 07:28:24 +0000 (10:28 +0300)] 
Merge pull request #264 from gtsoul-tech/bugFix/cppcheck-constVariablePointer

Cppcheck constVariablePointer error

14 months agomaybe fix broken merge
G.E [Sun, 5 May 2024 15:26:20 +0000 (18:26 +0300)] 
maybe fix broken merge

15 months agojust a dummy commit to test something
G.E [Sun, 5 May 2024 09:11:17 +0000 (12:11 +0300)] 
just a dummy commit to test something

15 months agoMerge branch 'develop' into wip-isildur-g-cppcheck66
g. economou [Thu, 2 May 2024 15:37:46 +0000 (18:37 +0300)] 
Merge branch 'develop' into wip-isildur-g-cppcheck66

15 months agoaddressing cppcheck shadowFunction warnings
G.E [Thu, 2 May 2024 15:00:03 +0000 (18:00 +0300)] 
addressing cppcheck shadowFunction warnings

15 months agoMerge pull request #263 from gtsoul-tech/bug/cppcheck-61
Konstantinos Margaritis [Thu, 2 May 2024 13:50:16 +0000 (16:50 +0300)] 
Merge pull request #263 from gtsoul-tech/bug/cppcheck-61

Cppcheck knownConditionTrueFalse error

15 months agoconstVariablePointer 264/head
gtsoul-tech [Thu, 2 May 2024 11:21:16 +0000 (14:21 +0300)] 
constVariablePointer

15 months agoknownConditionTrueFalse fixes previously fp 263/head
gtsoul-tech [Thu, 2 May 2024 07:13:55 +0000 (10:13 +0300)] 
knownConditionTrueFalse fixes previously fp

15 months agoMerge pull request #262 from isildur-g/wip-isildur-g-cppcheck-47-48-58
Konstantinos Margaritis [Wed, 1 May 2024 14:39:42 +0000 (17:39 +0300)] 
Merge pull request #262 from isildur-g/wip-isildur-g-cppcheck-47-48-58

addressing 47,48,58

15 months agorefactor bool to void setDistinctTops setDistinctRoseTops
gtsoul-tech [Wed, 1 May 2024 12:21:36 +0000 (15:21 +0300)] 
refactor bool to void setDistinctTops setDistinctRoseTops
setDistinctSuffixTops