Rhett Aultman 
							
						 
					 
					
						
						
						
						
							
						
						
							f10bf36ae3 
							
						 
					 
					
						
						
							
							Move fullyQualified() name to Declaration  
						
						
						
					 
					
						2017-01-16 12:32:57 -05:00 
						 
				 
			
				
					
						
							
							
								Rhett Aultman 
							
						 
					 
					
						
						
						
						
							
						
						
							0c98e4b2da 
							
						 
					 
					
						
						
							
							Stylistic corrections  
						
						
						
					 
					
						2017-01-16 12:32:57 -05:00 
						 
				 
			
				
					
						
							
							
								Rhett Aultman 
							
						 
					 
					
						
						
						
						
							
						
						
							8f25bd54e3 
							
						 
					 
					
						
						
							
							Drop ':' if the source file name is empty  
						
						... 
						
						
						
						A large number of tests compile contracts while passing in an empty
string for the source name.  This leads to it being keyed by the name
":<contract>", while the tests try to look it up under the name
"<contract>".  This change resolves that issue by dropping the ':' in
cases where there is, effectively, no source file to prepend anyway. 
						
					 
					
						2017-01-16 12:32:57 -05:00 
						 
				 
			
				
					
						
							
							
								Rhett Aultman 
							
						 
					 
					
						
						
						
						
							
						
						
							071b936b37 
							
						 
					 
					
						
						
							
							Only avoid collision if it's the same file  
						
						... 
						
						
						
						@chriseth had suggested that it would be better if contracts were
referenced in a file:contract notation, and that we output .bin files
that prepend original path names if necessary to avoid a collision.
This commit is mostly a draft; it still needs to be run through the test
suite. 
						
					 
					
						2017-01-16 12:32:57 -05:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							abc24420a7 
							
						 
					 
					
						
						
							
							ast: events have FunctionType too  
						
						
						
					 
					
						2017-01-11 20:06:59 +01:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eda147f47b 
							
						 
					 
					
						
						
							
							ast: add Declaration::functionType()  
						
						
						
					 
					
						2017-01-11 19:55:50 +01:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6a312233fc 
							
						 
					 
					
						
						
							
							ast, codegen: enable accessing events through contract names.  
						
						... 
						
						
						
						Fixes  #1286  
					
						2017-01-02 17:59:20 +01:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
						
						
							
						
						
							f8fe6e4f7c 
							
						 
					 
					
						
						
							
							Merge pull request  #1503  from federicobond/json-visibility  
						
						... 
						
						
						
						Include visibility level for functions in AST 
						
					 
					
						2016-12-14 17:23:14 +01:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
						
						
							
						
						
							18f8f29c0a 
							
						 
					 
					
						
						
							
							Merge pull request  #1487  from ethereum/shift-ops  
						
						... 
						
						
						
						Shift operators 
						
					 
					
						2016-12-14 16:31:27 +01:00 
						 
				 
			
				
					
						
							
							
								Federico Bond 
							
						 
					 
					
						
						
						
						
							
						
						
							de720e643d 
							
						 
					 
					
						
						
							
							Improve error message when trying to modify constant variables  
						
						
						
					 
					
						2016-12-13 00:32:37 -03:00 
						 
				 
			
				
					
						
							
							
								Federico Bond 
							
						 
					 
					
						
						
						
						
							
						
						
							9ed65f2ab9 
							
						 
					 
					
						
						
							
							Include visibility level for functions in AST  
						
						
						
					 
					
						2016-12-12 16:21:57 -03:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							2738045030 
							
						 
					 
					
						
						
							
							Cleaner shift handling and type conversion for binary operations.  
						
						
						
					 
					
						2016-12-12 11:12:12 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							2df60bec92 
							
						 
					 
					
						
						
							
							Type after shift should be type of left operand.  
						
						
						
					 
					
						2016-12-12 11:12:12 +01:00 
						 
				 
			
				
					
						
							
							
								Alex Beregszaszi 
							
						 
					 
					
						
						
						
						
							
						
						
							b8b4f5e9f9 
							
						 
					 
					
						
						
							
							Support bitshifting in variables  
						
						
						
					 
					
						2016-12-12 11:12:10 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							d2b8bdd016 
							
						 
					 
					
						
						
							
							Merge pull request  #1464  from federicobond/warn-msgvalue  
						
						... 
						
						
						
						Warn about using msg.value in non-payable function 
						
					 
					
						2016-12-11 16:46:06 +01:00 
						 
				 
			
				
					
						
							
							
								Federico Bond 
							
						 
					 
					
						
						
						
						
							
						
						
							df76230240 
							
						 
					 
					
						
						
							
							Fix names of JSON AST nodes  
						
						
						
					 
					
						2016-12-11 02:07:08 -03:00 
						 
				 
			
				
					
						
							
							
								Federico Bond 
							
						 
					 
					
						
						
						
						
							
						
						
							05139500fb 
							
						 
					 
					
						
						
							
							Warn about using msg.value in non-payable function  
						
						
						
					 
					
						2016-12-08 16:22:13 -03:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							91ecc4533d 
							
						 
					 
					
						
						
							
							Add swarm hash to the end of the bytecode.  
						
						
						
					 
					
						2016-12-01 16:03:59 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							5789eaa78d 
							
						 
					 
					
						
						
							
							Metadata stamp.  
						
						
						
					 
					
						2016-12-01 16:03:59 +01:00 
						 
				 
			
				
					
						
							
							
								Alex Beregszaszi 
							
						 
					 
					
						
						
						
						
							
						
						
							a9e92cb686 
							
						 
					 
					
						
						
							
							Rename dev::validate to dev::validateUTF8  
						
						
						
					 
					
						2016-11-28 22:28:21 +00:00 
						 
				 
			
				
					
						
							
							
								Alex Beregszaszi 
							
						 
					 
					
						
						
						
						
							
						
						
							c01426efec 
							
						 
					 
					
						
						
							
							Make position optional in dev::validate  
						
						
						
					 
					
						2016-11-28 22:27:55 +00:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							da566b956e 
							
						 
					 
					
						
						
							
							Indentation.  
						
						
						
					 
					
						2016-11-25 14:36:44 +01:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e136ec8704 
							
						 
					 
					
						
						
							
							ast: string literals that are not valid UTF are not convertible to strings  
						
						
						
					 
					
						2016-11-25 13:36:06 +01:00 
						 
				 
			
				
					
						
							
							
								VoR0220 
							
						 
					 
					
						
						
						
						
							
						
						
							3f9f725737 
							
						 
					 
					
						
						
							
							Fix licensing headers  
						
						... 
						
						
						
						Signed-off-by: VoR0220 <rj@erisindustries.com> 
						
					 
					
						2016-11-23 12:22:33 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							2c14a96820 
							
						 
					 
					
						
						
							
							Some more assertions and style changes.  
						
						
						
					 
					
						2016-11-16 15:09:01 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							ec31d08775 
							
						 
					 
					
						
						
							
							Change encoding to address-funid and add "function" as ABI type.  
						
						
						
					 
					
						2016-11-16 14:37:19 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							22b4d1b29a 
							
						 
					 
					
						
						
							
							Check that no internals are used in any external function type.  
						
						
						
					 
					
						2016-11-16 14:37:18 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							925d674146 
							
						 
					 
					
						
						
							
							Disallow payable internal functions.  
						
						
						
					 
					
						2016-11-16 14:37:18 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							f21f794f3c 
							
						 
					 
					
						
						
							
							delete for function types  
						
						
						
					 
					
						2016-11-16 14:37:18 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							ff3553a348 
							
						 
					 
					
						
						
							
							Change alignment.  
						
						
						
					 
					
						2016-11-16 14:37:18 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							62492b67e7 
							
						 
					 
					
						
						
							
							Changelog entry and small fixes.  
						
						
						
					 
					
						2016-11-16 14:37:18 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							6f19559de0 
							
						 
					 
					
						
						
							
							Fix some type checks and tests for internal / external function parameters.  
						
						
						
					 
					
						2016-11-16 14:37:17 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							dd173f83e3 
							
						 
					 
					
						
						
							
							Code generator for function types.  
						
						
						
					 
					
						2016-11-16 14:37:17 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							cc8583ec7d 
							
						 
					 
					
						
						
							
							Function types.  
						
						
						
					 
					
						2016-11-16 14:37:17 +01:00 
						 
				 
			
				
					
						
							
							
								Alex Beregszaszi 
							
						 
					 
					
						
						
						
						
							
						
						
							9719cf38e6 
							
						 
					 
					
						
						
							
							Move InterfaceHandler from string to JSON  
						
						
						
					 
					
						2016-11-15 15:55:25 +00:00 
						 
				 
			
				
					
						
							
							
								Alex Sinyagin 
							
						 
					 
					
						
						
						
						
							
						
						
							6db9fd498a 
							
						 
					 
					
						
						
							
							Print canonical names of structs and enums in AST  
						
						
						
					 
					
						2016-11-14 13:39:46 +00:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							20c2ca3992 
							
						 
					 
					
						
						
							
							ast, codegen: disallow conversion between different enum types  
						
						
						
					 
					
						2016-11-11 17:48:03 +01:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e6098f0039 
							
						 
					 
					
						
						
							
							ast: add EnumType::numberOfMembers()  
						
						
						
					 
					
						2016-11-11 17:47:48 +01:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6c15757618 
							
						 
					 
					
						
						
							
							Type checker: move the burden of computing mobile type to commonType  
						
						... 
						
						
						
						This solves #621  
						
					 
					
						2016-11-11 15:51:54 +01:00 
						 
				 
			
				
					
						
							
							
								Rhett Aultman 
							
						 
					 
					
						
						
						
						
							
						
						
							4524ad0870 
							
						 
					 
					
						
						
							
							Add support for do/while loops  
						
						... 
						
						
						
						This commit adds support for a standard do <statement> while <expr>;
form of statement.  While loops were already being supported; supporting
a do/while loop mostly involves reusing code from while loops but putting
the conditional checking last. 
						
					 
					
						2016-11-10 07:07:25 -08:00 
						 
				 
			
				
					
						
							
							
								yann300 
							
						 
					 
					
						
						
						
						
							
						
						
							02416d4460 
							
						 
					 
					
						
						
							
							add payable to AST  
						
						
						
					 
					
						2016-11-03 16:36:38 +01:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3ca5900b8c 
							
						 
					 
					
						
						
							
							ast: ban signed EXP, fixing  #1246  
						
						
						
					 
					
						2016-10-25 16:49:10 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							f25aa0c68b 
							
						 
					 
					
						
						
							
							More checks for missing mobile type.  
						
						
						
					 
					
						2016-10-24 16:45:25 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							2b00804d1d 
							
						 
					 
					
						
						
							
							Fix crash in throw.  
						
						
						
					 
					
						2016-10-24 14:32:49 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							cb1fcaf6f6 
							
						 
					 
					
						
						
							
							Merge pull request  #1240  from ethereum/1151  
						
						... 
						
						
						
						ast: super contract type does not contain native members 
						
					 
					
						2016-10-24 11:45:54 +02:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9d9380d30e 
							
						 
					 
					
						
						
							
							ast: add a null check  
						
						
						
					 
					
						2016-10-21 13:01:45 +02:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							83e8fdecc5 
							
						 
					 
					
						
						
							
							ast: ContractDefinition::inheritableMembers contains enums as well as structs  
						
						... 
						
						
						
						This fixes  #1131  
						
					 
					
						2016-10-21 13:01:45 +02:00 
						 
				 
			
				
					
						
							
							
								Alex Beregszaszi 
							
						 
					 
					
						
						
						
						
							
						
						
							7b0fb5d06b 
							
						 
					 
					
						
						
							
							Support variable references within modifiers for inline assembly  
						
						
						
					 
					
						2016-10-20 23:45:13 +01:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7887045a48 
							
						 
					 
					
						
						
							
							ast: simplifications suggested by @chriseth  
						
						
						
					 
					
						2016-10-20 16:09:52 +02:00 
						 
				 
			
				
					
						
							
							
								Yoichi Hirai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ff9039b2a8 
							
						 
					 
					
						
						
							
							When a contract type is super, its members do not contain the functions of itself  
						
						... 
						
						
						
						Fixes  #1151  
					
						2016-10-20 16:09:52 +02:00