Commit Graph

5012 Commits

Author SHA1 Message Date
VoR0220
a6fc3c8f30 reorganized tests and fixed mobile types and implicit conversions of rationals and fixed point types
one final tweak

check for null types
2016-05-09 11:41:03 -05:00
VoR0220
bfc238c8d1 updated algorithm for bit finding...now to figure out literal value
tiny fixups

changed location of the check

got rid of extra space and fixed a couple of things

added binary results bits

change back literal value
2016-05-09 11:41:03 -05:00
VoR0220
5bddb2d6ff changed algorithm for finding bits 2016-05-09 11:41:03 -05:00
VoR0220
4b3e1f140c much better way of doing modulus 2016-05-09 11:41:03 -05:00
VoR0220
82039b732e added bytes conversion tests, resolved that, converted to binary scaling, refactored the find algo to prevent large numbers and take into account integer bytes
think we're good on solidity type name resolution now

removed couts

updates to documentation and more removed couts along with literal value implementation

forgot semicolons
2016-05-09 11:41:03 -05:00
VoR0220
f0ea817580 fixing modulus and Solidity Name and Type Resolution
minor fixes

current attempts at binary fixup
2016-05-09 11:41:03 -05:00
VoR0220
f67bfd24a3 rational renaming 2016-05-09 11:41:03 -05:00
VoR0220
4b749fc333 changed names for Rational Constants and categories 2016-05-09 11:41:02 -05:00
VoR0220
4d283b2b30 currently what we have 2016-05-09 11:41:02 -05:00
RJ Catalano
93295ae8f8 got exponents up and working with their inverse, changed a few of the tests....something is working that likely shouldn't be
slight changes to how to flip the rational negative around...still trying to figure it out

tests added

updated tests

odd differences in trying soltest from solc binary, let me know if you can replicate

test not working for odd reason

fixed test problem with fixed literals...still need a way to log this error

broken up the tests, added some, changed some things in types and began compiler work

moar tests and prepping for rebuilding much of the types.cpp file

further fixing

infinite loop still happening but it's somewhere in the fixedPoint methodd

fractional bits needed algo improved! Eliminated 2 errors

Corrected problems with the previous commit. No infinite loops. Actually appear to have corrected an error
2016-05-09 11:41:02 -05:00
RJ Catalano
a1a2eac5fd size capabilities functioning properly for fixed types 2016-05-09 11:41:02 -05:00
RJ Catalano
91fda50922 fixed problem with var...probably a conversion problem for fixed in size capabilities
adding fixed type tests

Removing bitshift and regrouping fixed type tests together
2016-05-09 11:41:02 -05:00
RJ Catalano
dff1a26f55 fix for token bug, also quick fix for the wei and seconds 2016-05-09 11:41:02 -05:00
RJ Catalano
6fa5e0fac9 Rational implemented...trying to figure out exponential 2016-05-09 11:41:02 -05:00
RJ Catalano
9a075458ad initial work for fixed types...potentially needing a constant literal type for this
notation

Rational implemented...trying to figure out exponential

fix for token bug, also quick fix for the wei and seconds

fixed problem with var...probably a conversion problem for fixed in size capabilities

adding fixed type tests

Removing bitshift and regrouping fixed type tests together

size capabilities functioning properly for fixed types

got exponents up and working with their inverse, changed a few of the tests....something is working that likely shouldn't be

slight changes to how to flip the rational negative around...still trying to figure it out

tests added

updated tests

odd differences in trying soltest from solc binary, let me know if you can replicate

test not working for odd reason

fixed test problem with fixed literals...still need a way to log this error

broken up the tests, added some, changed some things in types and began compiler work

moar tests and prepping for rebuilding much of the types.cpp file

further fixing

initial work for fixed types...potentially needing a constant literal type for this
2016-05-09 11:41:02 -05:00
chriseth
9e36bdda8a Merge pull request #541 from Denton-L/develop
Minor Documentation Changes
2016-05-06 19:03:28 +02:00
Denton Liu
7f940e498e Removed trailing whitespace 2016-05-06 09:53:06 -04:00
Denton Liu
7bc9777b70 Removed bulleted list 2016-05-06 09:42:05 -04:00
Denton Liu
961eb53f41 Moved the location of the "||" 2016-05-06 09:40:05 -04:00
chriseth
1b7e2d3068 Merge pull request #515 from ssonicblue/patch-1
Update natspec summary in layout-of-source-files.rst
2016-05-06 01:01:26 +02:00
Denton Liu
ffade949de Fixed up formatting 2016-05-05 15:31:00 -04:00
Denton Liu
88bb63a507 Corrected formatting 2016-05-05 15:10:32 -04:00
Denton Liu
3abb987179 Rephrased awkward phrasing 2016-05-05 15:06:04 -04:00
Denton Liu
50f894393a Removed a trailing space 2016-05-05 15:05:05 -04:00
Denton Liu
4650280fff Corrected misspelling 2016-05-05 15:02:47 -04:00
Denton Liu
565866dd87 Reformatted according to style guide 2016-05-05 14:58:02 -04:00
Denton Liu
a3230d60c2 Made the style consistent 2016-05-05 14:41:35 -04:00
Denton Liu
f364dcf719 Removed a bad reference to functions-on-addresses 2016-05-05 14:28:10 -04:00
Denton Liu
4de0a9556c Removed bullet characters from types 2016-05-05 14:28:05 -04:00
Denton Liu
6c3e78a3d8 Update structure-of-a-contract.rst
Changed a non-space whitespace character to a space
2016-05-05 14:05:51 -04:00
Denton Liu
768b778615 Update contracts.rst
Corrected grammar error
2016-05-05 14:01:50 -04:00
chriseth
30284487f2 Merge pull request #522 from chriseth/inline2
Allow calling internal functions of libraries.
2016-05-05 13:36:48 +02:00
chriseth
7e0a1863de Documentation. 2016-05-05 13:36:32 +02:00
chriseth
e79797f348 Modify failing test: Accessor functions are not available anymore in libraries. 2016-05-04 09:14:44 +02:00
chriseth
e6b6e27bd7 Some more tests. 2016-05-03 22:48:53 +02:00
chriseth
7ea3d950d7 Allow calling internal functions of libraries.
Internal functions of libraries can be called as if the library were a
base contract of the calling contract. As the calling convention for
internal functions is to not create a new call context, the code of
these functions will be pulled into the context of the caller,
duplicating their code. This might pull in code of further internal or
even private functions.

The use case for such functions is to allow libraries which can operate
on memory types such that these types can also be modified in place.
2016-05-03 22:41:18 +02:00
Liana Husikyan
aa4dcbb88c Merge pull request #536 from chriseth/determinism
Remove non-determinism in missing code queue.
2016-05-03 15:36:01 +02:00
chriseth
652bc583c0 Remove non-determinism in missing code queue. 2016-05-03 01:14:26 +02:00
ssonicblue
943e27a1c3 Minor grammatical edit 2016-05-01 11:41:49 +08:00
Bob Summerwill
bee80f1d81 Merge pull request #528 from rainbeam/use-add_exe-wrapper
Use add exe wrapper for solc, soltest, lllc
2016-04-30 21:21:03 -04:00
rainbeam
1940c9a362 wrap soltest add_executable
Allows static linking.
2016-05-01 01:29:38 +01:00
rainbeam
eb20841740 wrap solc add_executable
Allows static linking.
2016-05-01 00:43:16 +01:00
rainbeam
76473808b4 wrap lllc add_executable
Allows static linking.
2016-05-01 00:43:03 +01:00
chriseth
dd4300d5b8 Merge pull request #514 from chriseth/sourceLoc
Source location for inline assembly.
2016-04-22 19:28:28 +02:00
chriseth
8704dd0f7f Windows fix. 2016-04-21 16:13:39 +02:00
ssonicblue
5a1f892361 Update natspec summary in layout-of-source-files.rst
Update the summary on natspec comments for clarity in what they do and how they should be used.
2016-04-20 19:53:36 +08:00
chriseth
ed9da5171b Source location for inline assembly. 2016-04-19 18:35:21 +02:00
chriseth
81ae2a7832 Version change. 2016-04-18 17:33:11 +02:00
Bob Summerwill
7ba6c98e5f Merge pull request #507 from chriseth/sealEngine
Explicitly init seal engine.
2016-04-15 15:06:32 -04:00
Bob Summerwill
c9ed7facba Merge pull request #506 from chriseth/fixconstructor
Bugfix for static arrays in constructor parameter list.
2016-04-15 14:26:46 -04:00