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
Raine Revere
4bfec4efa9
Update units-and-global-variables.rst with link to address ref
2016-05-09 10:15:58 -06:00
chriseth
a927efb151
Correctly use not/bnot/iszero.
...
A long time ago, some opcodes were renamed. Now we should only have
not (bitwise negation) and iszero (logical negation).
2016-05-09 10:52:23 +02:00
Raine Revere
5e6e9df7dd
Add this.balance and this.send to units-and-global-variables.rst
...
I looked here for this information and didn't initially find it. Hoping to help out others who think the same way as me and look here.
2016-05-08 13:27:30 -06:00
chriseth
9e36bdda8a
Merge pull request #541 from Denton-L/develop
...
Minor Documentation Changes
2016-05-06 19:03:28 +02:00
Denton Liu
7e94a1d84d
Added a clause about short functions
2016-05-06 10:19:28 -04: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
chriseth
d77a13878a
Explicitly init seal engine.
2016-04-15 20:16:07 +02:00
chriseth
b125090208
Bugfix: static arrays in constructor arguments
2016-04-15 18:42:44 +02:00
chriseth
c126ec84a3
Test for bug in static array constructor argument decoder.
2016-04-15 18:42:44 +02:00
Bob Summerwill
5c3b41afb0
Merge pull request #505 from chriseth/fixdelete
...
Fix for bug about deleting dynamic array of structs
2016-04-15 11:48:09 -04:00
chriseth
35ffcac35b
Fix for bug about deleting dynamic array of structs.
2016-04-15 16:49:59 +02:00
chriseth
82175fbd2b
Test for bug when deleting dynamic array of structs.
2016-04-15 16:49:26 +02:00