tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							367ae56047 
							
						 
					 
					
						
						
							
							reuse openURL so that the opener tab id is set  
						
						
						
					 
					
						2021-05-27 14:36:10 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							18265b94c6 
							
						 
					 
					
						
						
							
							tab url may be empty for about:blank tabs  
						
						... 
						
						
						
						fixes  #1254  
					
						2021-05-27 14:35:03 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							d736a00bc1 
							
						 
					 
					
						
						
							
							csslint: allow globals like @import inside sections  
						
						
						
					 
					
						2021-04-28 17:33:27 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							be4fd17113 
							
						 
					 
					
						
						
							
							wait for just created script elements to load  
						
						... 
						
						
						
						fixes  #1233  
					
						2021-04-24 16:37:30 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							0aa6d3b463 
							
						 
					 
					
						
						
							
							read css escapes per spec  
						
						
						
					 
					
						2021-04-20 20:40:29 +03:00 
						 
				 
			
				
					
						
							
							
								Gusted 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f10ebffeff 
							
						 
					 
					
						
						
							
							Add USw to the inline search and proper installing ( #1223 )  
						
						... 
						
						
						
						* remember sort order in popup, use "updated" by default
* add a USW link in the manager
Co-authored-by: tophf <tophf@gmx.com> 
						
					 
					
						2021-04-20 20:40:04 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							711f6502b5 
							
						 
					 
					
						
						
							
							make transition suppressor rule more robust  
						
						
						
					 
					
						2021-04-19 16:09:31 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							0b9b972338 
							
						 
					 
					
						
						
							
							update swatch's lines to match current code  
						
						
						
					 
					
						2021-04-08 14:33:36 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							3f4fb0617e 
							
						 
					 
					
						
						
							
							reimplement  #1192  using dummy links  
						
						... 
						
						
						
						as omitting href attribute is sufficient to avoid the useless tooltip 
						
					 
					
						2021-03-19 22:53:52 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							21d902c48c 
							
						 
					 
					
						
						
							
							deduplicate keys in prefs.subscribe  
						
						
						
					 
					
						2021-03-14 20:30:44 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							db77e03e97 
							
						 
					 
					
						
						
							
							print stylus-lang's p() to editor console,  fixes   #894  
						
						
						
					 
					
						2021-03-14 10:07:59 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							692d3c9826 
							
						 
					 
					
						
						
							
							try to show applicable values in autocomplete for props ( #1211 )  
						
						... 
						
						
						
						+ restore proper toggling of autocompleteOnTyping 
						
					 
					
						2021-03-14 08:33:26 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9d19d61913 
							
						 
					 
					
						
						
							
							show time/weekday in tooltip for style entries ( #1205 )  
						
						
						
					 
					
						2021-03-11 07:20:38 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							65ac351699 
							
						 
					 
					
						
						
							
							preserve opacity in colorpicker for preprocessor uso config ( #1200 )  
						
						... 
						
						
						
						USO has always produced 6-digit #rrggbb so some styles rely on it
and use /*[[color]]*/11 notation to specify the transparency.
Now we will try to preserve the opacity customized by the user
via colorpicker unless the style specifies it inline. 
						
					 
					
						2021-03-05 17:25:05 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							102121ad8f 
							
						 
					 
					
						
						
							
							suppress transition bug on page open in Chrome, too ( #1193 )  
						
						
						
					 
					
						2021-02-28 23:01:49 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b8f6f5db8d 
							
						 
					 
					
						
						
							
							switch from dummy links to dummy buttons ( #1192 )  
						
						... 
						
						
						
						The reason is that dummy links like <a href="#"> cause the built-in tooltip pop up on hover which is just useless noise 
						
					 
					
						2021-02-27 20:42:49 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							41533e863d 
							
						 
					 
					
						
						
							
							enforce eslint radix rule for parseInt  
						
						
						
					 
					
						2021-02-26 13:02:54 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							53c71614fc 
							
						 
					 
					
						
						
							
							relaxed parsing of usercss @version  
						
						... 
						
						
						
						fixes  #821  
					
						2021-02-26 10:03:32 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cf1f51af0a 
							
						 
					 
					
						
						
							
							vivaldi bug workaround: open webAuth flow in a tab ( #1186 )  
						
						
						
					 
					
						2021-02-22 15:12:19 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							c12d3fc5e3 
							
						 
					 
					
						
						
							
							convert USO styles to USO-archive on update  
						
						
						
					 
					
						2021-02-04 14:10:30 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							3a3104b30a 
							
						 
					 
					
						
						
							
							update parserlib  
						
						... 
						
						
						
						* add aspect-ratio, color-adjust, forced-color-adjust
* remove ar units 
						
					 
					
						2021-02-01 19:00:30 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							a66a1f8ed6 
							
						 
					 
					
						
						
							
							code cosmetics  
						
						
						
					 
					
						2021-01-18 09:50:27 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							4338f67352 
							
						 
					 
					
						
						
							
							LESS: use math:parens-division  
						
						... 
						
						
						
						This is the default mode in LESS4.
Fixes  #1154 . 
						
					 
					
						2021-01-16 09:18:54 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							914943ed4c 
							
						 
					 
					
						
						
							
							remove sliders  
						
						... 
						
						
						
						* can be already implemented as a userstyle
* will be exposed in usercss config dialog later 
						
					 
					
						2021-01-15 13:24:21 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							312f444ec7 
							
						 
					 
					
						
						
							
							fix 'true' === true check in setupLivePrefs  
						
						
						
					 
					
						2021-01-07 14:52:38 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							767b2017e0 
							
						 
					 
					
						
						
							
							wait for main stylesheet to load before forcing layout  
						
						
						
					 
					
						2021-01-05 19:54:49 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							7d6b4fc8ac 
							
						 
					 
					
						
						
							
							csslint: code cosmetics  
						
						
						
					 
					
						2021-01-05 18:27:46 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							57233db546 
							
						 
					 
					
						
						
							
							csslint: add 'shorthand-overrides' rule  
						
						
						
					 
					
						2021-01-05 12:14:26 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							8807819f16 
							
						 
					 
					
						
						
							
							parserlib: update props  
						
						
						
					 
					
						2021-01-01 19:49:38 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fdbfb23547 
							
						 
					 
					
						
						
							
							API groups + use executeScript for early injection ( #1149 )  
						
						... 
						
						
						
						* parserlib: fast section extraction, tweaks and speedups
* csslint: "simple-not" rule
* csslint: enable and fix "selector-newline" rule
* simplify db: resolve with result
* simplify download()
* remove noCode param as it wastes more time/memory on copying
* styleManager: switch style<->data names to reflect their actual contents
* inline method bodies to avoid indirection and enable better autocomplete/hint/jump support in IDE
* upgrade getEventKeyName to handle mouse clicks
* don't trust location.href as it hides text fragment
* getAllKeys is implemented since Chrome48, FF44
* allow recoverable css errors + async'ify usercss.js
* openManage: unminimize windows
* remove the obsolete Chrome pre-65 workaround
* fix temporal dead zone in apply.js
* ff bug workaround for simple editor window
* consistent window scrolling in scrollToEditor and jumpToPos
* rework waitForSelector and collapsible <details>
* blank paint frame workaround for new Chrome
* extract stuff from edit.js and load on demand
* simplify regexpTester::isShown
* move MozDocMapper to sections-util.js
* extract fitSelectBox()
* initialize router earlier
* use helpPopup.close()
* fix autofocus in popups, follow-up to 5bb1b5ef 
						
					 
					
						2021-01-01 17:27:58 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							6d04c0eb7d 
							
						 
					 
					
						
						
							
							optimize parserlib by ~10%  
						
						... 
						
						
						
						* add skipValidation option
* set `recoverable:true` on errors inside declarations 
						
					 
					
						2020-11-29 15:11:31 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							a5848682b3 
							
						 
					 
					
						
						
							
							normalize linebreaks in parseMozFormat  
						
						
						
					 
					
						2020-11-24 21:04:11 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							b59737a012 
							
						 
					 
					
						
						
							
							$create: assign style property as a string/object  
						
						
						
					 
					
						2020-11-24 12:16:23 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							5bb1b5ef35 
							
						 
					 
					
						
						
							
							dedup code for modals in popup  
						
						
						
					 
					
						2020-11-24 00:07:49 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							00ae843f78 
							
						 
					 
					
						
						
							
							unicode-aware word breaking,  fixes   #1124  
						
						
						
					 
					
						2020-11-22 14:53:10 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							008e33254d 
							
						 
					 
					
						
						
							
							add option to use sliders in manager and popup  
						
						
						
					 
					
						2020-11-21 10:13:30 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							79cd6da824 
							
						 
					 
					
						
						
							
							increase connection timeout to 60sec  
						
						
						
					 
					
						2020-11-19 18:18:05 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							420733b93a 
							
						 
					 
					
						
						
							
							PatchCSP + tweaks/fixes/features ( #1107 )  
						
						... 
						
						
						
						* add Patch CSP option
* show style version, size, and update age in manager
* add scope selector to style search in manager
* keep scroll position and selections in tab's session
* directly install usercss from raw github links
* ditch localStorage, use on-demand SessionStore proxy
* simplify localization
* allow <code> tag in i18n-html
* keep   nodes in HTML templates
* API.getAllStyles is actually faster with code untouched
* fix fitToContent when applies-to is taller than window
* dedupe linter.enableForEditor calls
* prioritize visible CMs in refreshOnViewListener
* don't scroll to last style on editing a new one
* delay colorview for invisible CMs
* eslint comma-dangle error + autofix files
* styleViaXhr: also toggle for disableAll pref
* styleViaXhr: allow cookies for sandbox CSP
* simplify notes in options
* simplify getStylesViaXhr
* oldUI fixups:
  * remove separator before 1st applies-to
  * center name bubbles
* fix updateToc focus on a newly added section
* fix fitToContent when cloning section
* remove CSS `contain` as it makes no difference
* replace overrides with declarative CSS + code cosmetics
* simplify adjustWidth and make it work in FF 
						
					 
					
						2020-11-18 14:17:15 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							0b3e027bfd 
							
						 
					 
					
						
						
							
							auto-promisify browser.* methods on call  
						
						
						
					 
					
						2020-11-13 20:07:43 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							a26115154a 
							
						 
					 
					
						
						
							
							fix getPrefs error on browser startup in the active tab  
						
						
						
					 
					
						2020-11-11 13:28:20 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							3a8f47f4db 
							
						 
					 
					
						
						
							
							revert  d405bc64 - obsolete since stylus-lang 0.54.7  
						
						
						
					 
					
						2020-11-10 20:40:47 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							30b9378d2c 
							
						 
					 
					
						
						
							
							use mousewheel to change a focused input[type=range]  
						
						
						
					 
					
						2020-11-09 22:59:42 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							ff1fa07267 
							
						 
					 
					
						
						
							
							import/export options in backup json  
						
						... 
						
						
						
						* import options on demand
* auto-grant declarativeContent
* include lint configs and usercss template
* simplify exportFile as crbug.com/798705 was fixed 
						
					 
					
						2020-11-09 21:12:14 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							7d18376cf2 
							
						 
					 
					
						
						
							
							always use deepCopy for prefs.values for safety  
						
						
						
					 
					
						2020-11-09 21:08:50 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							bc8d8b235c 
							
						 
					 
					
						
						
							
							fix equalOrEmpty for empty strings  
						
						
						
					 
					
						2020-11-09 21:08:47 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5e5fecbcfe 
							
						 
					 
					
						
						
							
							editor: section labels, TOC, tweaks ( #1086 )  
						
						... 
						
						
						
						* section labels, TOC, speedups and fixes
* show section numbers in widgets
* debounce livePreview in usercss editor
* better fixed header and compact layout compatibility
* fix section sizing for compact layout + layout speedup
* DocFuncMapper + cosmetics + fix Clone button
* don't run linter during initSections
* remove unused/unnecessary DOM polyfills
* report invalid @document function as parser error
* rewrite section finder
* simplify focusedViaClick
* simplify setPreprocessor and make it synchronous
* throttle offscreen line widgets in usercss with lots of sections
* add on, off aliases for add/removeEventListener + onOff
* use on/off aliases in changed files
* use getters in more places 
						
					 
					
						2020-11-08 11:12:42 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							71cabc2029 
							
						 
					 
					
						
						
							
							fix animateElement() when animation is disabled  
						
						
						
					 
					
						2020-11-06 21:04:10 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							31558d5071 
							
						 
					 
					
						
						
							
							we use 'true' and 'false' strings as boolean T_T  
						
						... 
						
						
						
						fixup for b56dacb 
						
					 
					
						2020-11-04 12:50:24 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							97ad0753e0 
							
						 
					 
					
						
						
							
							restore direct fetching of styles in the options frame  
						
						... 
						
						
						
						regressed in bf40fa81 
						
					 
					
						2020-11-02 22:20:41 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							972a83d5bc 
							
						 
					 
					
						
						
							
							restore simpleDeepEqual ( b56dacb6 fixup)  
						
						
						
					 
					
						2020-10-31 21:00:19 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							b56dacb6b2 
							
						 
					 
					
						
						
							
							save prefs in bg to avoid data loss  
						
						... 
						
						
						
						* add `now` to simplify usage of prefs.subscribe
* tweak/simplify bits by separating bg/content concerns 
						
					 
					
						2020-10-28 21:10:57 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							a81e1b8ac3 
							
						 
					 
					
						
						
							
							async'ify worker-util, reduce indirection  
						
						
						
					 
					
						2020-10-28 13:19:17 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							89431615b3 
							
						 
					 
					
						
						
							
							improve colorpicker dialog ( #1079 )  
						
						... 
						
						
						
						* switch to a user-resizable palette
* allow moving
* remove hideDelay 
						
					 
					
						2020-10-26 18:03:41 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bf40fa81e8 
							
						 
					 
					
						
						
							
							async'ify msg, don't throw for flow control ( #1078 )  
						
						
						
					 
					
						2020-10-26 17:39:07 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							595b037ab1 
							
						 
					 
					
						
						
							
							remove unused IS_BG and wrong AMO condition  
						
						... 
						
						
						
						* the user may have allowed access to AMO via about:config
* the code was wrong anyway, should be `!FIREFOX` 
						
					 
					
						2020-10-23 15:22:18 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f9804036b2 
							
						 
					 
					
						
						
							
							instant style injection via synchronous XHR ( #1070 )  
						
						... 
						
						
						
						* don't run web-ext test as it fails on Chrome-only permissions
* generate stylus-firefox.zip without declarativeContent
* limit note's width in options
* run updateExposeIframes only in frames 
						
					 
					
						2020-10-22 22:16:55 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							d1b9338707 
							
						 
					 
					
						
						
							
							make manager load real fast  
						
						
						
					 
					
						2020-10-22 15:05:54 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e6d73be049 
							
						 
					 
					
						
						
							
							option to open editor in a simple window (no omnibox) ( #1067 )  
						
						
						
					 
					
						2020-10-18 16:37:42 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							d405bc64ae 
							
						 
					 
					
						
						
							
							ignore empty documents produced by stylus-lang bug  
						
						
						
					 
					
						2020-10-18 16:34:31 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9e487b03e5 
							
						 
					 
					
						
						
							
							tweak editor ( #1063 )  
						
						... 
						
						
						
						* also apply live-preview if an unsaved style was disabled
* use box-shadow instead of outline for focus everywhere
* allow focus outline on click in text/search input or textarea
* search inputs should use the same style as text inputs
* also use box-shadow focus on delete buttons
* remove URLSearchParams workaround, not needed since Chrome 55
* use `once` in addEventListener, available since Chrome 55
* update USO bug workarounds, remove obsolete ones
* ping/pong to fix openURL with `message` in FF
* use unprefixed CSS filter, available since Chrome 53
* use unprefixed CSS user-select, available since Chrome 54
* focus tweaks
* also use text query in inline search for Stylus category
* use event.key, available since Chrome 51
Co-authored-by: narcolepticinsomniac 
						
					 
					
						2020-10-13 21:14:54 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							78b0e33ba4 
							
						 
					 
					
						
						
							
							faster install from known sites  
						
						
						
					 
					
						2020-10-09 13:47:57 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							0162f39163 
							
						 
					 
					
						
						
							
							switch to USO-archive for inline search in popup  
						
						... 
						
						
						
						feature: retry sub.domain.tld as domain.tld if no styles are found
old bug fix: show newly added style in popup
dedupe/simplify bits of popup.js 
						
					 
					
						2020-10-09 13:47:57 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							5196f96ee3 
							
						 
					 
					
						
						
							
							trigger change on wheeling inside <select>  
						
						
						
					 
					
						2020-10-09 13:47:57 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							a01bd3cd61 
							
						 
					 
					
						
						
							
							update polyfill for Chrome>=55  
						
						
						
					 
					
						2020-10-08 11:19:18 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							cb89be8682 
							
						 
					 
					
						
						
							
							ignore empty code only in global (non-targeted) sections  
						
						
						
					 
					
						2020-10-08 11:05:07 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c416fa7ca0 
							
						 
					 
					
						
						
							
							rework and move newUI+theme to options.html ( #1050 )  
						
						... 
						
						
						
						* rework and move newUI+theme to options.html
* rephrase/clarify the find styles label
* switch to USO-archive
* search for 'Stylus' keyword to filter out Stylish crud
* use archive's default search order 
						
					 
					
						2020-10-02 11:10:52 -04:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							e0a7372f4f 
							
						 
					 
					
						
						
							
							enable starHack option  
						
						
						
					 
					
						2020-10-02 12:41:57 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fa1496ecb8 
							
						 
					 
					
						
						
							
							use tab.pendingUrl ( #1040 )  
						
						
						
					 
					
						2020-09-22 06:54:48 -04:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							54b1f218e0 
							
						 
					 
					
						
						
							
							Enhance: promisify chrome into browser, drop promisify ( #866 )  
						
						... 
						
						
						
						* promisify `chrome` into `browser`
* comment
* comment
* comment
* Add: a naive browser polyfill
* Fix: polyfill doesn't detect content script env correctly
Co-authored-by: eight04 <eight04@gmail.com> 
						
					 
					
						2020-08-14 20:16:01 +08:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f8402a2211 
							
						 
					 
					
						
						
							
							use mousewheel to change focused "input[type=number], select" ( #1010 )  
						
						... 
						
						
						
						* use mousewheel to change focused "input[type=number], select"
* revert 0f394fa8 
						
					 
					
						2020-08-01 23:50:12 -04:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7e7839bb1e 
							
						 
					 
					
						
						
							
							avoid adding # to the page URL when clicking dummy links ( #1006 )  
						
						
						
					 
					
						2020-07-29 21:30:00 -04:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							09f6e8d44a 
							
						 
					 
					
						
						
							
							prolong worker lifetime to 5 minutes ( #993 )  
						
						
						
					 
					
						2020-07-14 16:24:00 -04:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							60a37af0e0 
							
						 
					 
					
						
						
							
							add a hotkey & right-click to beautify silently ( #972 )  
						
						... 
						
						
						
						* add a hotkey & right-click to beautify silently
* fix closestVisible 
						
					 
					
						2020-06-22 12:14:41 -04:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a7a9ee7205 
							
						 
					 
					
						
						
							
							use major browser version in CHROME constant ( #946 )  
						
						
						
					 
					
						2020-05-31 01:43:56 -04:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							43f6bdf4ed 
							
						 
					 
					
						
						
							
							use a separate loadTimeout for the actual data transfer ( #931 )  
						
						
						
					 
					
						2020-05-16 15:50:04 -04:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8192fab1b8 
							
						 
					 
					
						
						
							
							show write-style entries for iframes in popup ( #861 )  
						
						... 
						
						
						
						* account for iframes in popup list/write-style and badge
* fix and simplify openURL + onTabReady + message from popup
* fixup! resolve about:blank iframes to their parent URL
* fixup! don't underline iframe links until hovered
* fix width bug in popup only when needed (Chrome 66-69)
* fixup! reset styleIds on main page navigation
* fixup! call updateCount explicitly on extension pages
* fixup! ensure frame url is present
* fixup! frameResults entry may be empty
* fixup! init main frame first
* fixup! track iframes via ports
* fixup! reduce badge update rate during page load
* fixup! cosmetics
* fixup! don't add frames with errors
* fixup! cosmetics 
						
					 
					
						2020-02-24 18:16:45 -05:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4bbce7cb9f 
							
						 
					 
					
						
						
							
							fix and simplify .user.css URL installer ( #856 )  
						
						... 
						
						
						
						* fix and simplify .user.css URL installer
* Refactor: pull out tab-manager and icon-manager
* fixes/cosmetics
* usercss installer url check
* extract downloaders
* simplify tabManager
* rework/split openInstallerPage
* use a simple object instead of map
* trivial bugfixes
* cosmetics
* fixup! updateIconBadge in styleViaAPI
Co-authored-by: eight <eight04@gmail.com> 
						
					 
					
						2020-02-23 10:43:26 -05:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							df8c258c84 
							
						 
					 
					
						
						
							
							fix usage of openerTabId in openURL + cosmetics ( #859 )  
						
						... 
						
						
						
						* fix usage of openerTabId in openURL + cosmetics
* fixups
* fixup 
						
					 
					
						2020-02-20 17:54:54 -05:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ccb2e899b3 
							
						 
					 
					
						
						
							
							Simplify & speed up style injection ( #843 )  
						
						... 
						
						
						
						* use wrappedJSObject to create style elements in page context
* skip unnecessary polyfills in content scripts
* group all style management stuff in injector
* support all API methods in content scripts 
						
					 
					
						2020-02-12 09:39:00 -05:00 
						 
				 
			
				
					
						
							
							
								narcolepticinsomniac 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1f12d50aaf 
							
						 
					 
					
						
						
							
							Embed options in manager ( #828 )  
						
						... 
						
						
						
						* Embed options in manager
* fix indent again
* Fix edit URL detected as manage URL when creating manager style from popup
* Syntax, hash only, and prevent empty hash
* Fix: move origin check to background
* Rename eslintrc
* Refactor: openURL
* Add: fixme comment about openEditor
* Fix: allow activating manager in other windows
* Add: trimHash method
* Fix: limit the scope of styleViaAPI
* Breaking: add router, keep search params
* Fix: focus options when activated
* Add: some fixme
* Fix: remove unused fixme
* Fix: minor
* Fix: remove unused message
* Add: doc
* Change: activate manager in other windows
* Fix: make sure sender is available in getTabUrlPrefix
* Add: openManage API
* Change: reuse editor in openEditor
* Fix: greedly pop the buffer
* Fix: backward detection
* Fix: remove unused important
* Fix: remove unused workaround
* Fix: avoid empty search param
* Change: detect all kinds of manager in openManage
* Fix: minor
* Manage button text
Co-authored-by: eight <eight04@gmail.com> 
						
					 
					
						2020-02-01 23:36:54 -05:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							f9db43a2e9 
							
						 
					 
					
						
						
							
							Add: sync database to a cloud drive ( #787 )  
						
						... 
						
						
						
						* Add key
* Add: a second index uuid, push changes to sync controller
* Add: sync.js
* Add: tokenManager
* Change: log entire body for http error
* Add: token flow
* Fix: minor
* Fix: move cleanup to stop function
* Add: syncNow
* Update dependencies
* Fix: handle 401 error
* Add: handle 401 error
* Fix: then -> catch
* Add: sync options to options page
* Update db-to-cloud
* Change: make prefs.set return a promise
* Add: disble selector if connected
* Add: update selector state
* Fix: return promise in prefs.set
* Fix: manage complex state
* Fix: handle prefs change
* Change: manage sync status in background
* Add: show current status in the UI
* Add: schedule a faster sync when db changed
* Update dependencies
* Add: include progress in sync status
* Add: more detail status
* Show status text only
* Bump dependencies
* Change: show loaded and total
* Fix: syncTarget is undefined
* Add: google and onedrive
* Fix: token is not reused
* Bump dependencies
* Don't use minified version since it is hard to debug
* Fix: expire time is incorrect
* Change: switch google to code flow
* Bump dependencies
* Change: only modify pref if the initialization success?
* Don't stop the sync if the first sync is not triggered by the user
* Add: implement refresh token
* Change: switch microsoft to code flow
* Add: subtract expire with a latency
* Add: microsoft client secret
* Add: display error message
* Fix: fromPref is not used
* Change: try to revoke the token when log out
* Add: revoke dropbox token
* Fix: Google only generates one refresh token for one user by default
* Bump dependencies, fix onedrive list issue
* Fix: arguments sent to sync.put is wrong
* Fix: don't schedule a sync on db changed if not connected
* Bump dependencies. Fix issue of switching drives
* Bump db-to-cloud, fix switching drive issue
* Fix: only auth user on 401 error, don't display login window without user interaction
* Fix: don't call revoke() if token is undefined
* Add: login button to generate the access token interactively
* Fix: make addMissingProperties a local
* Fix: store missing props in an object
* Fix: sync.getStatus should be sync
* LATENCY -> NETWORK_LATENCY
* Fix: cache the token forever if there is no expire time e.g. dropbox
* Add some comments
* Fix: i18n
* Fix: i18n sync status
* fixup! Fix: i18n sync status
* Fix: 'sync to cloud' is displayed twice 
						
					 
					
						2019-11-05 14:30:45 -05:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							5459130111 
							
						 
					 
					
						
						
							
							find @-moz-doc sections faster in the editor ( #786 )  
						
						... 
						
						
						
						* find @-moz-doc sections faster in the editor
* only recreate widgets if section data is changed
* CodeMirror speedup: reuse the old folding marks
* add a reminder to remove the CodeMirror hack in the future
* use precise getTokenAt
* check doc type for string/comment to be more mode-agnostic
* fix setGutterMarker hack
* fix skipSpace: EOL is a space too
* move deepEqual next to deepCopy
* fix getTokenTypeAt check for some cases
* remove the unnecessary \s* 
						
					 
					
						2019-09-25 04:44:33 -04:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a7defbfc40 
							
						 
					 
					
						
						
							
							Popup border ( #781 )  
						
						... 
						
						
						
						* Popup: Fix horizontal scrollbar in Chrome
* Hide popup borer option in newer Chrome versions. Closes  #780 
* Add chrome bug range constant 
						
					 
					
						2019-09-24 08:21:36 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							277e56ea44 
							
						 
					 
					
						
						
							
							Fix linting issues  
						
						
						
					 
					
						2019-09-11 06:56:19 -05:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							450984abf3 
							
						 
					 
					
						
						
							
							Fix: don't assign undefined to style object ( #764 )  
						
						
						
					 
					
						2019-09-09 00:48:44 -04:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							a7445011a9 
							
						 
					 
					
						
						
							
							Enhance: faster msg.sendBg ( #774 )  
						
						
						
					 
					
						2019-09-09 00:40:07 -04:00 
						 
				 
			
				
					
						
							
							
								narcolepticinsomniac 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							793dc20722 
							
						 
					 
					
						
						
							
							linter and compact layout improvements ( #749 )  
						
						... 
						
						
						
						* linter and compact layout improvements
Closes  #748 
While investigating the best way to fix linter scrolling, when I double-checked the compact layout, an old bug I meant to fix a long time ago was immediately apparent. Basically, the linter adds/removes errors as you type, causing the editor to bounce up and down, making it practically unusable. 
This PR fixes scrolling, and also collapses options and the linter in the compact layout, but always shows the collapsed linter so you're aware of the error count without the content jumping. It also collapses options in the non-compact layout if the viewport is too short to accommodate them, factoring in the min-height of the linter. All automatic collapsing factors in whether a linter is active so they can adjust accordingly, and disables the setting of collapsed state prefs, since we're deciding the pref anyway, and this allows for re-expanding on resize based on the previous pref.
It's quite possible I failed to account for certain scenarios, so try to break it. Also think it's problematic for the linter to not always be visible if enabled, so I hooked up a 40px fixed header on scroll with just the linter in it for the compact layout.
A few other little details are included. I removed redundant line and column numbers spelled out at the end of lint messages to prevent horizontal overflow. I noticed that the expand/collapse prefs do not toggle correctly when clicking directly on the details-marker arrow. Simplest solution was covering them with the `h2` (we may wanna hook up the manager as well). Also, unrelated, but I switched to opacity to hide resizing sectioned editors, because `visibility: hidden;` breaks editor auto-focus.
If either of you guys wanna fix any bugs, or improve any code, feel free to just commit to this PR directly.
* linter and compact layout improvements
* linter and compact layout improvements
* No usercss scroll listener and delay header check
* Some code tweaks 
						
					 
					
						2019-08-04 13:09:50 -04:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							c61806974f 
							
						 
					 
					
						
						
							
							Fix: db initializing error, polyfill localStorage/sessionStorage ( #616 )  
						
						... 
						
						
						
						* Fix: make sure all errors are caught when initializing
* Fix: polyfill localStorage and sessionStorage 
						
					 
					
						2019-06-20 15:35:41 -04:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8906cbbb1a 
							
						 
					 
					
						
						
							
							Prevent importing styles with no section.  Fixes   #687  ( #697 )  
						
						... 
						
						
						
						* Prevent importing styles with no section. Fixes  #687 
And prevent issues with existing styles with no section
* Revert sections checks for empty array
* Add styleJSONseemsValid function
* Clean up
* Fix eslint nags 
						
					 
					
						2019-04-16 07:32:06 -05:00 
						 
				 
			
				
					
						
							
							
								narcolepticinsomniac 
							
						 
					 
					
						
						
						
						
							
						
						
							6e0d073cbf 
							
						 
					 
					
						
						
							
							Fix missing FF favicons  Closes   #683  ( #686 )  
						
						... 
						
						
						
						* Fix missing FF favicons Closes  #683 
I think the combo of  swapping `window.prefs` for `prefs`, and moving the function inside `onDOMready()` does the trick. 
@eight04 Any idea why `window.prefs` no longer works? Does the rest LGTY?
* Add suggestions 
						
					 
					
						2019-03-25 07:48:53 -05:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							4262882ac9 
							
						 
					 
					
						
						
							
							Add: enable usercss updateURL ( #661 )  
						
						... 
						
						
						
						* Add: use metadata.updateURL as style.updateUrl
* Change: only use the installation URL as the update URL if not specified in usercss
* Fix: hide live reload checkbox according to installationUrl 
						
					 
					
						2019-02-13 19:09:18 -06:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							1bdd0512ae 
							
						 
					 
					
						
						
							
							Prevent JS error in messages  
						
						
						
					 
					
						2019-01-27 18:37:12 -06:00 
						 
				 
			
				
					
						
							
							
								narcolepticinsomniac 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c56f5c32f1 
							
						 
					 
					
						
						
							
							Revert expose iframes by default  
						
						... 
						
						
						
						I don't I think I care enough to argue with someone who's technically correct. 
						
					 
					
						2019-01-09 23:43:28 -05:00 
						 
				 
			
				
					
						
							
							
								narcolepticinsomniac 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ae7e0799fe 
							
						 
					 
					
						
						
							
							Expose iframes by default  
						
						
						
					 
					
						2019-01-09 21:22:43 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1fbbeae9b9 
							
						 
					 
					
						
						
							
							Update popup style  sort after toggle.  Closes   #619  ( #624 )  
						
						... 
						
						
						
						* Update popup style  sort after toggle. Closes  #619 
* Add popup auto resort option
* Switch autoResort to true by default
* Refactor sorting
* Fix: simplify sortStyles function
* Change: autoResort=false 
						
					 
					
						2018-12-31 23:11:45 -06:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							3edea88b13 
							
						 
					 
					
						
						
							
							Fix linting issues  
						
						
						
					 
					
						2018-12-11 07:28:30 -06:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							8d6c88e377 
							
						 
					 
					
						
						
							
							Support Chrome 49 ( #561 )  
						
						... 
						
						
						
						* Add: polyfill to support chrome 49
* Fix: fetch text in Chrome 49
* Add: polyfill element method
* Update usercss-meta
* Fix: buggy destructuring
* Fix: dialog position?
* Fix: unneeded warning
* Fix: getChromeVersion
* Fix: don't cache tab icon in old chrome
* Fix: static -> relative
* Fix: use XHR as fallback 
						
					 
					
						2018-11-29 19:35:21 -06:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							33df061b53 
							
						 
					 
					
						
						
							
							Allow /*! in UserCSS metadata.  Closes   #571  
						
						
						
					 
					
						2018-11-20 17:07:42 -06:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							b2657e3ebd 
							
						 
					 
					
						
						
							
							Change: simplify msg.js ( #544 )  
						
						... 
						
						
						
						* Fix: make API work in private windows
* Change: simplify msg.js 
						
					 
					
						2018-11-11 07:07:30 -06:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e3d3604afc 
							
						 
					 
					
						
						
							
							Refactor the entire storage system and the section editor ( #518 )  
						
						... 
						
						
						
						* Squashed commit of the following:
commit d84c4dc3fe46027120ecf85d4de39b81f3e69574f9dc04558ffea04d591f2aff14e213d4ddfcc71385e70491e47acb131642a39405ac4c14c2fdbb58fb1b49b8bb2c2d849fa4f133c3e67a05a6208f5c05a87ed00f576f73f333e93819deb439b11685b49dd3cd43c190aadfd728838c21e3b393a4cdf5958e75871b9bad06551440cb5cbb4d1053efd78b897d005f3eaafc53bed3de14e321d25801bdd529bcb9968830d3ff3bf6f52d39d21c3d29ecb622c93c7c3d49c0053fd8d937f3859afc8ee9fbe77a8d15a4fc3e91627e0eddeb8f8b4ab47d897d340d62dcd286997d6ad60db9dbef43afa31fa0f08faea1494d06435486c55675912e86ea846a89831ca07c2de67b7f4f3636e13f88f0f6ce78f55b5ae95a1ad91a5a206fe68016346035fa080d1913e0b064115d405b7f8f061b2c88f926a8131fc9c53ae0c4dd130ea7ada48f04c2d6bbf6f0c0bc4d6a4d42765d6c99626e4a48a57b3b27165cfea3933f25fd3a1c2bbdae1c3697bd4a453f45c1bf9f59058c06c1bf9f57e9fd5eeb4b813e38810a49c657d7e55c7ed39ab6ef30e494eda9510a886e14c7f81662c4f3a103645dd4436cde2043db875fd8dc491e9be3ba64b955757eba890a21d2b36a181e4823d2b36a168e22d476751100687983f0ff6fd8cad3c23f315c524419c5dc1e6494985b5037e1f43f75d26ce3238e15a1f552f6ba6159e067fd9ab5d6e506e22d0d1830e866294647b2b4fc497b5e7c96d515efafff3ca38558ef78582e9078aff4651da8d80489fb3b2f02f471f077057111b17169cae02381c5d41529d95b3b4e680fb5107b78a5e7ef4948cd1c635b5bc175f2561154583ca31d971cf6008514450cd60aeb196b6aac633122d28c1ae594b8ccb11f18b13a92fedf844ddd095998f07cfa3127d98805d582c726171339f7103a618aca2abb1cb580242472e91f5734497ebe16f1639cc33e81e4823f46dc5f3e209f2328cf623a7be6a1cba9630725196f0d0e1b4dc05c0288e9ba56b737b65a829a134ed1d35f92250e8a6e8ac03a10f9449144dd2b8ed0913af310c341874a2da33ec01f93f62c6d32ffb76b0f148eac32282bdf770624b1eea8a48a6011d5cbe8a8https://github.com/openstyles/stylus  into dev-exclusions
commit 5cbe8a8d78#507 )
commit 9058c06c541f2d116aae918e47b1ed81a7bb9ac9f47d57aea85778d5c858268e1716b4cc2980b64708adcb60f26909c732fd531ee4135ce35d39a6d1909f6909c73c6979833d8bbaa849fd6ddad5ee31a0807b959af3e3fefa987c4d2abbf670d81fe0586b29ab0ef239cfd5ade807f04f5337e51d29b8f51292a7cfeb22e49713c6a3be3c30bc3eb03d32b0428b7d75dd8754a4df641b968028a3529fba5d6cc31ab853be13f8a3e79151995d07a8cd4ea004bc3c7d41ac66a137ffb13bf1db42e97ef15364aa9fcf53b0e407e98f7a24547e098a6011de8c4fcb1a88d7bfe54ab4c4983a7bc2193950482f34e94c7edb382b4a1a56359f75b69cd868dfa0153cCloses  #113 
* Revert: exclusions
* Fix: pass eslint
* Fix: the style is injected twice
* Fix: don't load script async
* Fix: styleCodeEmpty returns true for empty string
* Fix: drop array selection
* Fix: the config dialog is broken
* Fix: popup doesn't use getStyle/getStylesByUrl correctly
* Fix: keep disabled state in setStyleContent
* Fix: allow live-preview to assign newest vars
* Fix: transition fix is broken because setStyleContent becomes async
* Fix: typo, TypeError in styleExists
* Fix: use new API
* Fix: pass linter
* Fix: LICENCE -> LICENSE
* Fix: remove unused distroy function 
						
					 
					
						2018-11-07 14:09:29 +08:00