-
Notifications
You must be signed in to change notification settings - Fork 221
Add user chosable base support to StringToInt() #1588
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
Open
Keeper-of-the-Keys
wants to merge
16
commits into
OpenLightingProject:master
Choose a base branch
from
Keeper-of-the-Keys:string-to-int
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
5dd3dfc
Add support for base to StringToInt()
a0cccf4
Add base to StringToInt in header, default to 10
8a8300a
Add unit tests to check proper functioning of base36 StringToInt()
8709b8f
fix header and add base to StringToIntOrDefault
611ce53
Added octal and hex tests.
1299ad6
Merge branch 'master' into string-to-int
peternewman d87da83
Added false cases and fixed missing bracket
26459ac
Added missing doxygen
e2b7bff
Fix expected values
8a99447
Merge branch 'string-to-int' of https://github.com/Keeper-of-the-Keys…
eea8bb1
Replace HexStringToInt() with StringToInt() also copied all unit test…
7b577c6
Reorder and reorganize unit tests to be with appropriate units.
90d9b25
Make int type explicit for StringToInt()
001569e
Fix logic error in StringToInt(), explained and discussed here:
35c88a3
Hopefully fixed logic of StringToInt() overflow and underflow protect…
7aef267
These two tests should return true since the 0xffffffff represents -1…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.