Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9c65a7dcae 
							
						 
					 
					
						
						
							
							events: Use input visibility for generated types in EventContent derive  
						
						
						
						
					 
					
						2023-02-07 20:55:53 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2eba14f0cc 
							
						 
					 
					
						
						
							
							events: Rework the content traits  
						
						
						
						
					 
					
						2023-01-16 21:28:53 +01:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
						
						
							
						
						
							dc591647f8 
							
						 
					 
					
						
						
							
							events: Remove StateUnsignedFromParts  
						
						... 
						
						
						
						Replace it with a bound on DeserializeOwned 
						
						
					 
					
						2023-01-10 11:37:31 +01:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
						
						
							
						
						
							97b212795a 
							
						 
					 
					
						
						
							
							events: Create EventContentFromType  
						
						... 
						
						
						
						Implement it for:
- event contents that implement Deserialize
- event contents with event types with a suffix
- custom event contents 
						
						
					 
					
						2023-01-10 11:37:31 +01:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cd74cdcc0e 
							
						 
					 
					
						
						
							
							events: Generate PossiblyRedacted type for original state events  
						
						... 
						
						
						
						Fix deserialization of redacted prev_content
Can be overriden with the `custom_possibly_redacted` attribute
Co-authored-by: Jonas Platte <jplatte@element.io> 
						
						
					 
					
						2023-01-03 10:28:40 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a5c5b0b137 
							
						 
					 
					
						
						
							
							Make clippy happy  
						
						
						
						
					 
					
						2022-12-09 11:45:04 +01:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
						
						
							
						
						
							ec853e968a 
							
						 
					 
					
						
						
							
							events: Generate structs without relation for events that can be replaced  
						
						
						
						
					 
					
						2022-10-17 20:27:49 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							aa8e48d1c3 
							
						 
					 
					
						
						
							
							events: Allow customizing the unsigned type of state events  
						
						
						
						
					 
					
						2022-09-12 13:10:10 +02:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							74423b7a4e 
							
						 
					 
					
						
						
							
							events: Split EventMeta between struct and field attributes  
						
						
						
						
					 
					
						2022-05-16 17:08:36 +02:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
						
						
							
						
						
							1073530ac6 
							
						 
					 
					
						
						
							
							events: Add support for type aliases  
						
						... 
						
						
						
						Allow to use unstable types 
						
						
					 
					
						2022-05-16 13:24:25 +02:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
						
						
							
						
						
							3ddc4de758 
							
						 
					 
					
						
						
							
							macros: Require event module path for event_enum  
						
						
						
						
					 
					
						2022-05-04 13:11:54 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
						
						
							
						
						
							ae7461622c 
							
						 
					 
					
						
						
							
							events: Update state key types for all state events  
						
						... 
						
						
						
						… and make it mandatory to specify for state events. 
						
						
					 
					
						2022-04-21 11:16:38 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
						
						
							
						
						
							d8b7886382 
							
						 
					 
					
						
						
							
							events: Allow state key type to be customized by content type  
						
						
						
						
					 
					
						2022-04-21 11:16:38 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
						
						
							
						
						
							d855ec33d6 
							
						 
					 
					
						
						
							
							identifiers: Update ToOwned implementations to use new types  
						
						... 
						
						
						
						… and a lot of changes that cascaded from that. 
						
						
					 
					
						2022-04-20 10:39:36 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d87874314b 
							
						 
					 
					
						
						
							
							events: Add 'Original' prefix to unredacted types with a redacted form  
						
						
						
						
					 
					
						2022-04-05 14:29:17 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
						
						
							
						
						
							abcaa4d3f7 
							
						 
					 
					
						
						
							
							events: Remove unnecessary duplication from trybuild testcase  
						
						
						
						
					 
					
						2022-04-02 20:31:37 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5ec3ad2290 
							
						 
					 
					
						
						
							
							events: Reintroduce *EventContent as trait aliases  
						
						
						
						
					 
					
						2022-03-31 18:42:27 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7fbb28f223 
							
						 
					 
					
						
						
							
							macros: Finish support for variable event types  
						
						
						
						
					 
					
						2022-03-23 21:17:18 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a860fdaa86 
							
						 
					 
					
						
						
							
							macros: Allow variable event types in event_enum!  
						
						... 
						
						
						
						… the generated `*EventType`s aren't correct yet though. 
						
						
					 
					
						2022-03-23 21:17:18 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ef9c84716c 
							
						 
					 
					
						
						
							
							common: Allow variable event types in EventContent derive  
						
						
						
						
					 
					
						2022-03-23 21:17:18 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ada3108a96 
							
						 
					 
					
						
						
							
							common: Move prev_content into unsigned  
						
						
						
						
					 
					
						2022-03-16 16:30:29 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c16ba45c9e 
							
						 
					 
					
						
						
							
							common: Replace event content marker traits with an associated type  
						
						
						
						
					 
					
						2022-03-16 12:20:16 +01:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							088d1872b7 
							
						 
					 
					
						
						
							
							common: Merge ruma-identifiers into ruma-common  
						
						
						
						
					 
					
						2022-03-09 17:46:51 +00:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c3f9a3cb70 
							
						 
					 
					
						
						
							
							common: Merge ruma-events into ruma-common  
						
						
						
						
					 
					
						2022-03-04 11:45:07 +00:00