dbed29a7cc 
								
							
								 
							
						 
						
							
							
								
								Put Tinter loop body in a try/catch  
							
							... 
							
							
							
							So whatever other random ways this process fails in don't cause it
to take out the whole app. 
							
						 
						
							2018-04-11 18:31:54 +01:00  
				
					
						
							
							
								 
						
							
							
								91024007aa 
								
							
								 
							
						 
						
							
							
								
								Null check stylesheet href  
							
							... 
							
							
							
							As commented
Fixes https://github.com/vector-im/riot-web/issues/6489  
							
						 
						
							2018-04-11 18:20:40 +01:00  
				
					
						
							
							
								 
						
							
							
								d919c1a41d 
								
							
								 
							
						 
						
							
							
								
								Remove spurious console.trace  
							
							... 
							
							
							
							There's no comment to say why this is here and the commit that
add it (e91e94fd4 
							
						 
						
							2018-03-08 09:47:42 +00:00  
				
					
						
							
							
								 
						
							
							
								dad797d4a2 
								
							
								 
							
						 
						
							
							
								
								Run linting --fix  
							
							
							
						 
						
							2017-11-16 13:19:36 +00:00  
				
					
						
							
							
								 
						
							
							
								24b9269ff5 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of  https://github.com/matrix-org/matrix-react-sdk  into rxl881/invertOutlineColour  
							
							
							
						 
						
							2017-11-15 15:08:28 +00:00  
				
					
						
							
							
								 
						
							
							
								f4ecc7fa5d 
								
							
								 
							
						 
						
							
							
								
								speculatively fix @lampholder's NPE  
							
							
							
						 
						
							2017-11-15 14:47:20 +00:00  
				
					
						
							
							
								 
						
							
							
								ec33806379 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1610  from matrix-org/rxl881/lintingErrors  
							
							... 
							
							
							
							Fix linting errors. 
							
						 
						
							2017-11-15 14:30:36 +00:00  
				
					
						
							
							
								 
						
							
							
								7bab7813bb 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of  https://github.com/matrix-org/matrix-react-sdk  into rxl881/invertOutlineColour  
							
							
							
						 
						
							2017-11-15 13:26:29 +00:00  
				
					
						
							
							
								 
						
							
							
								56a70f5530 
								
							
								 
							
						 
						
							
							
								
								Add tinting for lowlights.  
							
							
							
						 
						
							2017-11-15 10:40:07 +00:00  
				
					
						
							
							
								 
						
							
							
								06b319937f 
								
							
								 
							
						 
						
							
							
								
								Fix linting errors.  
							
							
							
						 
						
							2017-11-15 10:14:16 +00:00  
				
					
						
							
							
								 
						
							
							
								e91e94fd42 
								
							
								 
							
						 
						
							
							
								
								fix unstyled CSS bug  https://github.com/vector-im/riot-web/issues/5601  
							
							
							
						 
						
							2017-11-15 09:56:44 +00:00  
				
					
						
							
							
								 
						
							
							
								546b062d82 
								
							
								 
							
						 
						
							
							
								
								automatically and correctly retint when changing theme  
							
							
							
						 
						
							2017-11-15 01:45:51 +00:00  
				
					
						
							
							
								 
						
							
							
								d6fc4ebe3c 
								
							
								 
							
						 
						
							
							
								
								fix new tinter problems  
							
							... 
							
							
							
							correctly handle skinned tertiaryColors (turns out they're used for the RoomSublist divider bars)
handle the fact that some room accountData apparently has ended up with rgb() colors in it... 
							
						 
						
							2017-11-15 01:01:17 +00:00  
				
					
						
							
							
								 
						
							
							
								1fd7ac30e4 
								
							
								 
							
						 
						
							
							
								
								turns out i made up the .complete property on link elements  
							
							
							
						 
						
							2017-11-14 16:04:11 +00:00  
				
					
						
							
							
								 
						
							
							
								805796e4e0 
								
							
								 
							
						 
						
							
							
								
								force the tinter to refresh when we change theme  
							
							
							
						 
						
							2017-11-14 15:27:28 +00:00  
				
					
						
							
							
								 
						
							
							
								b58514f427 
								
							
								 
							
						 
						
							
							
								
								Stop FF quantum exploding on CSS edits  
							
							
							
						 
						
							2017-11-14 14:27:27 +00:00  
				
					
						
							
							
								 
						
							
							
								58ee4d0a76 
								
							
								 
							
						 
						
							
							
								
								rewrite the tinter to be ES6, and correctly cache fixups per theme  
							
							
							
						 
						
							2017-11-08 06:55:07 -08:00  
				
					
						
							
							
								 
						
							
							
								68115f5b9c 
								
							
								 
							
						 
						
							
							
								
								tint when theming correctly  
							
							
							
						 
						
							2017-11-05 00:40:38 +00:00  
				
					
						
							
							
								 
						
							
							
								e72e30197a 
								
							
								 
							
						 
						
							
							
								
								calculate new CSS tinting when we change theme  
							
							
							
						 
						
							2017-11-04 23:50:57 +00:00  
				
					
						
							
							
								 
						
							
							
								b2ddcb8027 
								
							
								 
							
						 
						
							
							
								
								tint the colours in the theme rather than hardcode vector green  
							
							
							
						 
						
							2017-11-04 23:43:20 +00:00  
				
					
						
							
							
								 
						
							
							
								b3a8593468 
								
							
								 
							
						 
						
							
							
								
								make tinter coarsely theme aware  
							
							
							
						 
						
							2017-10-25 22:48:27 +01:00  
				
					
						
							
							
								 
						
							
							
								d3f9a3aeb5 
								
							
								 
							
						 
						
							
							
								
								Run eslint --fix  
							
							... 
							
							
							
							Fixing 1000s of lint issues. Some rules cannot be `--fix`ed but this goes some way to linting the entire codebase. 
							
						 
						
							2017-10-11 17:56:17 +01:00  
				
					
						
							
							
								 
						
							
							
								18d4d3392a 
								
							
								 
							
						 
						
							
							
								
								Fix a bunch of linting errors  
							
							... 
							
							
							
							eslint --fix and a few manual ones 
							
						 
						
							2017-01-20 14:22:27 +00:00  
				
					
						
							
							
								 
						
							
							
								3d30553b7f 
								
							
								 
							
						 
						
							
							
								
								review fixes, plus unbreak to work with new webpack layout  
							
							
							
						 
						
							2017-01-18 14:06:47 +00:00  
				
					
						
							
							
								 
						
							
							
								c2cdb626bd 
								
							
								 
							
						 
						
							
							
								
								let the tinter handle 'white' highlights of SVGs too  
							
							
							
						 
						
							2017-01-17 19:13:04 +00:00  
				
					
						
							
							
								 
						
							
							
								6ccc825f0d 
								
							
								 
							
						 
						
							
							
								
								Cache the tinted SVGs for MFileBody as data URLs ( #559 )  
							
							... 
							
							
							
							* Use a list of callbacks for things that need tinting.
Rather than gutwrenching the internals of TintableSVG inside the Tinter.
* Share a data: url for the tinted download svg in MFileBody
* Check image exists before tinting
* Add comments
* Use fetch+DomParser rather than XMLHttpRequest
* Remove comment about XMLHttpRequest 
							
						 
						
							2016-11-16 14:16:51 +00:00  
				
					
						
							
							
								 
						
							
							
								6246fdee7c 
								
							
								 
							
						 
						
							
							
								
								Fix room tinting  
							
							... 
							
							
							
							Looks like the cachebuster stuff in
https://github.com/vector-im/vector-web/pull/2515  broke room tinting. Add a
fix, along with some ranting. 
							
						 
						
							2016-10-26 23:11:34 +01:00  
				
					
						
							
							
								 
						
							
							
								1c1c31eafc 
								
							
								 
							
						 
						
							
							
								
								fix tinter for LeftPanel  
							
							
							
						 
						
							2016-09-16 02:53:41 +01:00  
				
					
						
							
							
								 
						
							
							
								8db14bde60 
								
							
								 
							
						 
						
							
							
								
								switch Tinter from using dispatch to a synchronous update when changing the colourscheme, to avoid CSS getting out of sync with SVG colours  
							
							
							
						 
						
							2016-04-16 01:00:10 +01:00  
				
					
						
							
							
								 
						
							
							
								4d7eb5795c 
								
							
								 
							
						 
						
							
							
								
								tint border-left  
							
							
							
						 
						
							2016-02-18 00:32:46 +00:00  
				
					
						
							
							
								 
						
							
							
								3fd7dff264 
								
							
								 
							
						 
						
							
							
								
								unbreak safari  
							
							
							
						 
						
							2016-02-09 15:08:04 +00:00  
				
					
						
							
							
								 
						
							
							
								bb0051f24f 
								
							
								 
							
						 
						
							
							
								
								fix another NPE; apparently some stylesheets don't have href attributes (wtf?)  
							
							
							
						 
						
							2016-01-24 11:46:25 +00:00  
				
					
						
							
							
								 
						
							
							
								28fddef5f9 
								
							
								 
							
						 
						
							
							
								
								only try to tint our CSS, otherwise random extensions which have inserted CSS may cause untrappable XSS SecurityErrors to throw  
							
							
							
						 
						
							2016-01-23 19:46:00 +00:00  
				
					
						
							
							
								 
						
							
							
								001b9ad7cc 
								
							
								 
							
						 
						
							
							
								
								try to trap SecurityError exceptions for linux FFs who don't like you calling .contentDocument on an SVG (assuming that's where the error comes from)  
							
							
							
						 
						
							2016-01-23 18:59:37 +00:00  
				
					
						
							
							
								 
						
							
							
								add8ef3c59 
								
							
								 
							
						 
						
							
							
								
								trap for ss.cssRules mysteriously returning null  
							
							
							
						 
						
							2016-01-22 19:59:41 +00:00  
				
					
						
							
							
								 
						
							
							
								161cdef36e 
								
							
								 
							
						 
						
							
							
								
								tint bottom borders  
							
							
							
						 
						
							2016-01-20 17:24:09 +00:00  
				
					
						
							
							
								 
						
							
							
								27d72fb1dc 
								
							
								 
							
						 
						
							
							
								
								tint Dave's read-up-to marker  
							
							
							
						 
						
							2016-01-09 01:05:43 +00:00  
				
					
						
							
							
								 
						
							
							
								ef00a1624d 
								
							
								 
							
						 
						
							
							
								
								fix up RoomSettings somewhat and implement room colors  
							
							
							
						 
						
							2016-01-08 03:22:38 +00:00  
				
					
						
							
							
								 
						
							
							
								296b626ed9 
								
							
								 
							
						 
						
							
							
								
								oops, we actually need to cache the fixups in TintableSvg  
							
							
							
						 
						
							2016-01-07 03:59:09 +00:00  
				
					
						
							
							
								 
						
							
							
								0f52c0a514 
								
							
								 
							
						 
						
							
							
								
								make TintableSvgs responsible for updating their own tints, and stop storing SVG DOM fragments in Tinter to avoid leaking them  
							
							
							
						 
						
							2016-01-07 03:39:00 +00:00  
				
					
						
							
							
								 
						
							
							
								8c1bb90347 
								
							
								 
							
						 
						
							
							
								
								add fixme  
							
							
							
						 
						
							2016-01-06 02:41:10 +00:00  
				
					
						
							
							
								 
						
							
							
								f499c60b12 
								
							
								 
							
						 
						
							
							
								
								sundry PR feedback  
							
							
							
						 
						
							2016-01-06 02:29:08 +00:00  
				
					
						
							
							
								 
						
							
							
								509ea7c4f3 
								
							
								 
							
						 
						
							
							
								
								factor out tintable SVGs into their own component, and use plain DOM onload rather than react synthetic events  
							
							
							
						 
						
							2016-01-06 02:11:07 +00:00  
				
					
						
							
							
								 
						
							
							
								001dc8612b 
								
							
								 
							
						 
						
							
							
								
								support fixing up dynamically loaded SVGs  
							
							
							
						 
						
							2016-01-05 03:34:52 +00:00  
				
					
						
							
							
								 
						
							
							
								555abdae30 
								
							
								 
							
						 
						
							
							
								
								wire up Tinter.js  
							
							
							
						 
						
							2016-01-05 00:46:52 +00:00