-
Notifications
You must be signed in to change notification settings - Fork 10
Money type conversion #13
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
cscederborg
wants to merge
139
commits into
master
Choose a base branch
from
money_type
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 138 commits
Commits
Show all changes
139 commits
Select commit
Hold shift + click to select a range
e17b356
Sample money test
gbeeley 6995cb0
Merge branch 'money_type' of https://github.com/LightSys/centrallix i…
cscederborg c9313c8
A second set of test files to determine if I still appear as gbeeley …
cscederborg 2838eab
Change MoneyType struct to contain a single long long instead of Whol…
cscederborg 204f78b
Commenting out direct MoneyType usage in centrallix/utility
cscederborg 4f3170d
Commenting out direct MoneyType usage in centrallix/expression
cscederborg 016e2a7
Commenting out direct MoneyType usage
cscederborg 19d8480
Converted obj_internal_FormatMoney to use the new 64 bit MoneyType
cscederborg 114334d
Converted objDataToDouble to new 64 bit MoneyType
cscederborg 065399f
Converted objDataCompare to new 64 bit MoneyType
cscederborg c50ffc9
Converted objDataToWords to new 64 bit MoneyType
cscederborg a04da49
Converted objDataToInteger to new 64 bit MoneyType
cscederborg 754bbf9
Basic testrunner file for running arbitrary Centrallix functions
sheesania ebeb912
Merge remote-tracking branch 'origin/money_type_testrunner' into mone…
cscederborg 9c4b387
Basic system for native C tests in /centrallix using assert
sheesania 3db48cf
Display native C test output in blue
sheesania 713863a
Removing old native C testing framework
sheesania 50eea78
Remove old temporary testrunner
sheesania cfc6473
Update README
sheesania d7d4c14
Update README for new direct C testing system
sheesania d9ef490
Merge branch 'money_type_testrunner' of https://github.com/LightSys/c…
sheesania 982068f
Remove extraneous name comments from old native C baselines
sheesania 64a7451
Example direct C test with assert and include
sheesania c4fe742
Converted objDataToMoney to 64 bit MoneyType representaion
cscederborg 54c84cc
Updated functions that accounted for the unsigned nature of FractionPart
cscederborg ebb86eb
Resolving Code Review Comments
cscederborg 56d86be
Included byteswap.h and cleaned up old comments
cscederborg c5e596b
Merge branch 'money_type_testrunner' of https://github.com/LightSys/c…
cscederborg 875da6e
Initial MoneyType Tests for obj_datatype functions
cscederborg d876235
MoneyType Tests for obj_datatype functions; Removal of Example
cscederborg a912e91
More MoneyType Tests for obj_datatype functions
cscederborg afc2e99
Expanded functionality for moneytype tests
cscederborg e8c6343
Converted to 64 bit MoneyType Representation
cscederborg aa64e39
Converted to 64 bit MoneyType Representation
cscederborg af21f8b
Round and truncate exp functions converted to 64 bit
cscederborg 4a61dfa
Addressing Code Review Comments and Improving Tests
cscederborg b4d87af
Fixing mt test 4 and removing testing comments
cscederborg 88bffb8
Resolving Code Review comments
cscederborg 7a9a8a3
Handling roudning, code review comments
cscederborg 3f85d4f
Conversion to 64bit MoneyType in /osdrivers
cscederborg 925a682
Remaining miscellaneous conversions to 64 bit moneytype
cscederborg a83b8c8
obj_internal_BuildBinaryItem Expression initialization and hex compar…
cscederborg f597aec
Renamed tests to be more specific
cscederborg ec90c38
Resolving Code Review comments and Expression Testing
cscederborg 4d00e6e
Initial setup for ParseColumn; Creation of Obfuscate Test
cscederborg d727791
Working fp_internal_ParseColumn function and testing for 64bit MoneyType
cscederborg 1d8e589
Added ll const tag to literals. Removed old comments in json_util.c.
cscederborg e224e66
Added ll const tag to literals. Cleaned up math and comparisons
cscederborg 669e7eb
Resolving code review comments. Comments for obj, and comparison for …
cscederborg 6b5f5ed
Updated QPrintf documentation. Added %LL specifier and shifted IDs fo…
cscederborg a70e287
Cleaning up test suite items. Showed truncation in fp test.
cscederborg 1b727d2
Updated qprintf sysdoc to contain %LL. Creation of test for %LL, not …
cscederborg 51d0918
Sample money test
gbeeley de1a325
A second set of test files to determine if I still appear as gbeeley …
cscederborg e320fe5
Change MoneyType struct to contain a single long long instead of Whol…
cscederborg f7623e4
Commenting out direct MoneyType usage in centrallix/utility
cscederborg 0bbc802
Commenting out direct MoneyType usage in centrallix/expression
cscederborg 20f8685
Commenting out direct MoneyType usage
cscederborg 34ef3f9
Converted obj_internal_FormatMoney to use the new 64 bit MoneyType
cscederborg a8d47cf
Converted objDataToDouble to new 64 bit MoneyType
cscederborg 11b0a3c
Converted objDataCompare to new 64 bit MoneyType
cscederborg 31d5ceb
Converted objDataToWords to new 64 bit MoneyType
cscederborg 2e1d133
Converted objDataToInteger to new 64 bit MoneyType
cscederborg 13ac93b
Converted objDataToMoney to 64 bit MoneyType representaion
cscederborg 351c2e3
Updated functions that accounted for the unsigned nature of FractionPart
cscederborg eddbd77
Resolving Code Review Comments
cscederborg 05960ba
Included byteswap.h and cleaned up old comments
cscederborg c3a35d5
Initial MoneyType Tests for obj_datatype functions
cscederborg 1515d91
MoneyType Tests for obj_datatype functions; Removal of Example
cscederborg 32cf361
More MoneyType Tests for obj_datatype functions
cscederborg 5ee4218
Expanded functionality for moneytype tests
cscederborg 9a17479
Converted to 64 bit MoneyType Representation
cscederborg d293cb7
Converted to 64 bit MoneyType Representation
cscederborg 2086352
Round and truncate exp functions converted to 64 bit
cscederborg 6841adb
Addressing Code Review Comments and Improving Tests
cscederborg 39b8deb
Fixing mt test 4 and removing testing comments
cscederborg 12b9993
Resolving Code Review comments
cscederborg 2d70028
Handling roudning, code review comments
cscederborg bf0ca3d
Conversion to 64bit MoneyType in /osdrivers
cscederborg 0740053
Remaining miscellaneous conversions to 64 bit moneytype
cscederborg a0bb05d
obj_internal_BuildBinaryItem Expression initialization and hex compar…
cscederborg 8fc1cef
Renamed tests to be more specific
cscederborg a94c668
Resolving Code Review comments and Expression Testing
cscederborg 908729d
Initial setup for ParseColumn; Creation of Obfuscate Test
cscederborg 9ef21dd
Working fp_internal_ParseColumn function and testing for 64bit MoneyType
cscederborg 9f7c946
Added ll const tag to literals. Removed old comments in json_util.c.
cscederborg 1b37e50
Added ll const tag to literals. Cleaned up math and comparisons
cscederborg 9c9f8db
Resolving code review comments. Comments for obj, and comparison for …
cscederborg afc313a
Updated QPrintf documentation. Added %LL specifier and shifted IDs fo…
cscederborg 34e5c46
Cleaning up test suite items. Showed truncation in fp test.
cscederborg 92c7c9a
Updated qprintf sysdoc to contain %LL. Creation of test for %LL, not …
cscederborg 69351cb
First sybase simplification attempt. Fixing endianness by shifting an…
cscederborg ebd7748
Sybase simplification. Bit shifting and OR to fix endianness.
cscederborg b8f338e
Fixing Expression Testing, fixed division and internal format. Proper…
cscederborg 80e570b
Merge branch 'remove_net_raw' into money_type
sheesania 55af853
QPrintf for %LL specifier and accompanying test.
cscederborg d449702
Merge branch 'money_type' of https://github.com/LightSys/centrallix i…
cscederborg 2b34025
Http_rest JSON negative handling. Obfuscate long long to int conversion.
cscederborg 4bcfa78
Objdrv_fp.c, using pow() instead of repeated division.
cscederborg 161497e
Test updates, fixing a reference in osdriver. Obfuscate test framewor…
cscederborg 83a0b2e
Renamed internal format Money test to accurately reflect function bei…
cscederborg 1b27fd6
Resolving code review comments. Bound checking, more test cases, nega…
cscederborg 8d4457a
Fixing extra spacing and commented-out code
sheesania 41b9a18
Change obj_internal_BuildBinaryItem test to using public function obj…
sheesania 4564328
Merge branch 'master' into money_type
sheesania ee8f7d4
Remove extraneous qprintf %LL test
sheesania 0caaffe
Merge branch 'qprintf_ll_specifier' into money_type
sheesania 7c292d1
Remove comment
sheesania 02ee697
Fix moneytype obfuscation + tests
sheesania 7085c00
Basic helper for testing calls to mssError
sheesania 2cd7a94
Working test for MoneyType to integer overflows
sheesania 83d9c80
Test for obfuscating MoneyTypes > INT_MAX
sheesania 07506ef
Remove extraneous comment
sheesania 69d13c3
Remove sample test files
sheesania 7e5183c
Fix "integer constant too large for its type"
sheesania cd073cd
Fix makefile for test helpers
sheesania a65f438
Basic test helper for stdout output
sheesania 5e019e5
Better error/edge case handling for stdout error helper
sheesania a5420a0
Better test helper doc strings
sheesania adca88d
Test for moneytype changes in exp_internal_DumpExpression_r
sheesania d2149f9
Test comparing MoneyType expressions
sheesania 9eea437
Move conversion to old money representation for JSON into separate fu…
sheesania 5b87af4
Fix dbl_internal_ParseColumn for MoneyType + test
sheesania cb8df45
Small fixes and cleanup of objdrv_fp MoneyType test
sheesania dea8823
Test for json > MoneyType parsing
sheesania e8ec84d
Tests for MoneyType round expressions
sheesania ad91c3b
Test MoneyType round behavior with no decimal places parameter
sheesania e936ff3
Tests for MoneyType truncate expressions
sheesania c64cf6e
Tests for MoneyType max expression
sheesania 79888de
Tests for MoneyType min expressions
sheesania 5c817dc
Merge branch 'master' into money_type
sheesania 86f2f82
Basic framework for Sybase -> MoneyType test
sheesania 5a528cd
Tests for getting MoneyType from objdrv_sybase + simplification of ob…
sheesania c05cc67
Fix and test int overflow when printing money type > INT_MAX
sheesania a7b6b80
Test for expDumpExpression with money > INT_MAX
sheesania 52aad43
Test for objBuildBinaryImage with money > INT_MAX
sheesania ff310de
Add test for potential int overflow in objDataCompare for money + sma…
sheesania c872360
Fix + test int overflow in objDataToWords for money > INT_MAX
sheesania 8e73edf
Clarify comment
sheesania 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
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
Oops, something went wrong.
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.