New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverity #1902

Merged
merged 55 commits into from Apr 26, 2015

Conversation

Projects
None yet
6 participants
@worktycho
Member

worktycho commented Apr 26, 2015

No description provided.

madmaxoft and others added some commits Apr 16, 2015

Recipes match zero DamageValue strictly.
To match any DamageValue for the ingredient, an explicit "-1" as the DamageValue must be specified.
Fixes #1859.
Add StainedClay
For some reason StainedClay was entirely missing, so here it is.
Merge pull request #1864 from mc-server/StrictRecipeMatching
Recipes match zero DamageValue strictly.
HTTP: Error message is sent as the payload as well.
This shows the error message in the browsers. Before, the browsers would display just a blank page.
ClientHandle: Fixed re-sending refused right-clicks.
The coords weren't checked against Y boundary and -1 coords weren't sent.
This fixes cuberite/gallery#45.
Merge pull request #1875 from mc-server/PluginFolders
Split the plugin names and plugin folders to avoid confusing them.
Merge pull request #1877 from mc-server/GlowStone
Added GlowStone finisher
Fixed typo in NetherForts initialization
The S in NetherForts was missing
Fixing dyeing
Getting yellow dye and a lot of dye mixes were not working when it was just called "Flower".
@NiLSPACE

This comment has been minimized.

Show comment
Hide comment
@NiLSPACE

NiLSPACE Apr 20, 2015

Member

The server doesn't compile anymore now.
`
/home/travis/build/mc-server/MCServer/src/Items/ItemHandler.cpp:290:20: error:

  comparison of integers of different signs: 'int' and 'unsigned long'

  [-Werror,-Wsign-compare]

    for (int i = 0; i < ARRAYCOUNT(m_ItemHandler); i++)

                    ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~

`

Member

NiLSPACE commented on src/Items/ItemHandler.cpp in c9fbcea Apr 20, 2015

The server doesn't compile anymore now.
`
/home/travis/build/mc-server/MCServer/src/Items/ItemHandler.cpp:290:20: error:

  comparison of integers of different signs: 'int' and 'unsigned long'

  [-Werror,-Wsign-compare]

    for (int i = 0; i < ARRAYCOUNT(m_ItemHandler); i++)

                    ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~

`

madmaxoft added some commits Apr 20, 2015

@NiLSPACE

This comment has been minimized.

Show comment
Hide comment
@NiLSPACE

NiLSPACE Apr 20, 2015

Member

We might want to provide some basic info, like the port number and if the server is authenticating mode.

Member

NiLSPACE commented on be4ac22 Apr 20, 2015

We might want to provide some basic info, like the port number and if the server is authenticating mode.

This comment has been minimized.

Show comment
Hide comment
@madmaxoft

madmaxoft Apr 20, 2015

Member

That could go into the front page, I don't think it's that useful on every page.

Member

madmaxoft replied Apr 20, 2015

That could go into the front page, I don't think it's that useful on every page.

This comment has been minimized.

Show comment
Hide comment
@NiLSPACE

NiLSPACE Apr 20, 2015

Member

Yeah, that's what I was thinking. Just the front page would be better.

Member

NiLSPACE replied Apr 20, 2015

Yeah, that's what I was thinking. Just the front page would be better.

madmaxoft and others added some commits Apr 21, 2015

Changed default MaxThreshold value
There is now really a difference between open and dense parts
Fix door placing in connection with slabs
Except top-half slabs as transparent blocks for doors.
Merge pull request #1879 from mc-server/DynamicThreshold
Changed Nether composition to change the threshold from a cubic noise
Merge pull request #1883 from mc-server/NarrowWindowID
Narrowed WindowID to use only 7 bits.
Merge pull request #1851 from wraith11/DoorFix
Fix door placing in connection with slabs
Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().
Both functions are exported as static.
Merge pull request #1892 from mc-server/DoWithPlugin
Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().
@NiLSPACE

This comment has been minimized.

Show comment
Hide comment
@NiLSPACE

NiLSPACE Apr 23, 2015

Member

But should we really count clay as an ore? Sure it spawns in veins, but it's not something I would think of when talking about an ore.

Member

NiLSPACE commented on e42beb5 Apr 23, 2015

But should we really count clay as an ore? Sure it spawns in veins, but it's not something I would think of when talking about an ore.

This comment has been minimized.

Show comment
Hide comment
@madmaxoft

madmaxoft Apr 23, 2015

Member

I think any block that converts to different items when broken qualifies as an ore. At least good enough for me.

Member

madmaxoft replied Apr 23, 2015

I think any block that converts to different items when broken qualifies as an ore. At least good enough for me.

This comment has been minimized.

Show comment
Hide comment
@jammet

jammet Apr 26, 2015

Contributor

Digging up clay today ... sadly this did not fix it. I still do get the clay block instead of, .. the "ore".

Contributor

jammet replied Apr 26, 2015

Digging up clay today ... sadly this did not fix it. I still do get the clay block instead of, .. the "ore".

madmaxoft and others added some commits Apr 23, 2015

Refactored ManualBindings' callbacks using templates.
This is a bit easier to read, has better error reporting and fixes a few subtle bugs.
Fixes #1889.
Merge pull request #1894 from mc-server/RefactorManualBindingsTemplates
Refactored ManualBindings' callbacks using templates.
Eliminate race condition in cRoot::FindAndDoWithPlayer
Avoid a race condition where a player gets deleted during the FindAndDoWithPlayer callback by moving the callback into DoWithPlayer.
@NiLSPACE

This comment has been minimized.

Show comment
Hide comment
@NiLSPACE

NiLSPACE Apr 25, 2015

Member

And here I was expecting the issue to be really hard to fix :P

Member

NiLSPACE commented on b7d1d70 Apr 25, 2015

And here I was expecting the issue to be really hard to fix :P

This comment has been minimized.

Show comment
Hide comment
@madmaxoft

madmaxoft Apr 25, 2015

Member

It had to be already implemented for the pre-refactoring code to work, so it had to be just a matter of searching for the right code to call.

Member

madmaxoft replied Apr 25, 2015

It had to be already implemented for the pre-refactoring code to work, so it had to be just a matter of searching for the right code to call.

madmaxoft and others added some commits Apr 25, 2015

Merge pull request #1896 from mc-server/FindAndDoWithPlayerRace
Eliminate race condition in cRoot::FindAndDoWithPlayer

worktycho added a commit that referenced this pull request Apr 26, 2015

@worktycho worktycho merged commit 75e04e8 into coverity_scan Apr 26, 2015

1 of 3 checks passed

continuous-integration/appveyor Waiting for AppVeyor build to complete
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment