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 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							2fd531e253 
							
						 
					 
					
						
						
							
							Rewrite linter system ( #487 )  
						
						... 
						
						
						
						* Add: implement new linter system
* Refactor: pull out editor worker
* Switch to new linter and worker
* Enable eslint cache
* Fix: undefined error
* Windows compatibility
* Fix: refresh linter if the editor.linter changes
* Add: stylelint
* Add: getStylelintRules, getCsslintRules
* Fix: logic to get correct linter
* WIP: linter-report
* Fix: toggle hidden state
* Add: matain the order of lint report for section editor
* Add: unhook event
* Add: gotoLintIssue
* Fix: shouldn't delete rule.init
* Add: linter-help-dialog
* Drop linterConfig
* Add: linter-config-dialog, cacheFn
* Add: use cacheFn
* Drop lint.js
* Add: refresh. Fix report order
* Fix: hide empty table
* Add: updateCount. Fix table caption
* Switch to new linter/worker
* Fix: remove unneeded comment
* Fix: cacheFn -> cacheFirstCall
* Fix: use cacheFirstCall
* Fix: cache metaIndex
* Fix: i < trs.length
* Fix: drop isEmpty
* Fix: expose some simple states to global
* Fix: return object code style
* Fix: use proxy to reflect API
* Fix: eslint-disable-line -> eslint-disable-next-line
* Fix: requestId -> id
* Fix: one-liner
* Fix: one-liner
* Fix: move dom event block to top
* Fix: pending -> pendingResponse
* Fix: onSuccess -> onUpdated
* Fix: optimize row removing when i === 0
* Fix: hook/unhook -> enableForEditor/disableForEditor
* Fix: linter.refresh -> linter.run
* Fix: some shadowing
* Fix: simplify getAnnotations
* Fix: cacheFirstCall -> memoize
* Fix: table.update -> table.updateCaption
* Fix: unneeded reassign
* Fix: callbacks -> listeners
* Fix: don't compose but extend
* Refactor: replace linter modules with linter-defaults and linter-engines
* Fix: implement linter fallbacks
* Fix: linter.onChange -> linter.onLintingUpdated
* Fix: cms -> tables
* Fix: parseMozFormat is not called correctly
* Move csslint-loader to background
* Fix: watch config changes
* Fix: switch to LINTER_DEFAULTS
* Fix: csslint-loader -> parserlib-loader 
						
					 
					
						2018-10-01 09:03:17 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							a4d2e3dd9c 
							
						 
					 
					
						
						
							
							Remove misleading comment  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							75d2ef2cc1 
							
						 
					 
					
						
						
							
							Fix strict equals  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							7be33a9237 
							
						 
					 
					
						
						
							
							Fix default values  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							d136fdbafa 
							
						 
					 
					
						
						
							
							Allow including null in number/range variables  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							7d533d4d4a 
							
						 
					 
					
						
						
							
							Fix select default option extraction  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							2a2191049f 
							
						 
					 
					
						
						
							
							Don't allow step to be set to zero  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							1881552348 
							
						 
					 
					
						
						
							
							Remove va.range & add min/max/step to va directly  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							a277800868 
							
						 
					 
					
						
						
							
							Fix all the things  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							7cd4380ee4 
							
						 
					 
					
						
						
							
							Ensure range default & value types match  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							ae6e2647a3 
							
						 
					 
					
						
						
							
							Add proper number & range validation  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							f6998de6ec 
							
						 
					 
					
						
						
							
							Include units in number & range variable  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							2291197277 
							
						 
					 
					
						
						
							
							UserCSS Number variable now accepts a range  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							d9c748d92f 
							
						 
					 
					
						
						
							
							Change range settings to [default, min, max, step]  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							1dc24fac1b 
							
						 
					 
					
						
						
							
							Use string slice instead of replace  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							95f9f9c5d4 
							
						 
					 
					
						
						
							
							Rename to defaultValue  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							9b483d993b 
							
						 
					 
					
						
						
							
							Add default select option. See  #492  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							1632a8f364 
							
						 
					 
					
						
						
							
							Add number & range variables. See  #492  
						
						
						
					 
					
						2018-09-24 07:02:04 -05:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							b90f7bfce5 
							
						 
					 
					
						
						
							
							don't autofocus external links like feedback  
						
						... 
						
						
						
						#495  
					
						2018-09-06 20:59:04 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							4a877ad27b 
							
						 
					 
					
						
						
							
							fixup c57fef7b: always set lastFocusedViaClick  
						
						... 
						
						
						
						#495  
					
						2018-09-06 20:42:48 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							373fe5f510 
							
						 
					 
					
						
						
							
							code cosmetics  
						
						
						
					 
					
						2018-09-06 19:08:56 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							c57fef7b1e 
							
						 
					 
					
						
						
							
							suppress focus outline when invoked via mouse  
						
						... 
						
						
						
						fixes  #495  
					
						2018-09-06 19:05:10 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							af77b55eea 
							
						 
					 
					
						
						
							
							fixup  2fdfd966 
						
						... 
						
						
						
						#482  
					
						2018-08-27 20:42:51 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							2fdfd96699 
							
						 
					 
					
						
						
							
							use the new originalDigest in update UI  
						
						... 
						
						
						
						...when force-updating a locally edited style that turned out to be equal to the remote one
fixes  #482  
						
					 
					
						2018-08-27 20:39:36 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							47c4b8157a 
							
						 
					 
					
						
						
							
							expose 'preserve_newlines' in beautifier; dehtmlize  
						
						... 
						
						
						
						fixes  #435  
					
						2018-07-23 00:28:11 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							87da06037f 
							
						 
					 
					
						
						
							
							make showCodeMirrorPopup modal  
						
						... 
						
						
						
						closes  #437  
					
						2018-07-22 19:37:49 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							c6724b02d3 
							
						 
					 
					
						
						
							
							code cosmetics: pacify eslint  
						
						
						
					 
					
						2018-07-21 21:04:47 +03:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							c61d34d053 
							
						 
					 
					
						
						
							
							Update libraries ( #440 )  
						
						
						
					 
					
						2018-07-21 20:58:54 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							165f7b5684 
							
						 
					 
					
						
						
							
							don't add varDef to code if there are no vars  
						
						
						
					 
					
						2018-07-15 17:55:54 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							26f673f30d 
							
						 
					 
					
						
						
							
							move linter worker loaders to edit/  
						
						
						
					 
					
						2018-07-10 11:35:19 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							d8b776bedf 
							
						 
					 
					
						
						
							
							try installing from full code if 'sections' is empty in style json  
						
						... 
						
						
						
						fixes  #414  
					
						2018-07-05 15:46:01 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							766a38e9e8 
							
						 
					 
					
						
						
							
							polyfill Error.captureStackTrace in FF  
						
						... 
						
						
						
						fixes  #412  
					
						2018-07-04 19:21:21 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							d36fea27ad 
							
						 
					 
					
						
						
							
							fixup 3418ac9c: append to updateLog  
						
						
						
					 
					
						2018-05-09 18:33:28 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							10a0fedd05 
							
						 
					 
					
						
						
							
							make sure BG.API_METHODS is defined  
						
						
						
					 
					
						2018-05-05 20:17:33 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							5ef347a4d9 
							
						 
					 
					
						
						
							
							LESS preprocessor  
						
						... 
						
						
						
						closes  #373  
					
						2018-04-19 20:02:23 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							0614aa2eee 
							
						 
					 
					
						
						
							
							new editor option: selectByTokens  
						
						... 
						
						
						
						implements #361  except for toggling via Ctrl 
						
					 
					
						2018-04-18 19:33:36 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							8cad7d61eb 
							
						 
					 
					
						
						
							
							scrollElementIntoView: skip if orphaned  
						
						
						
					 
					
						2018-04-17 22:34:18 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							32f05861e3 
							
						 
					 
					
						
						
							
							FF: register hotkeys on startup; reset if empty  
						
						
						
					 
					
						2018-04-13 14:30:36 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							e80efa7604 
							
						 
					 
					
						
						
							
							FF: hotkeys dialog  
						
						
						
					 
					
						2018-04-12 21:28:45 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							5b9fd4454b 
							
						 
					 
					
						
						
							
							$create should read opt.appendChild if selector is string  
						
						
						
					 
					
						2018-04-12 20:42:01 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							2a75159d2a 
							
						 
					 
					
						
						
							
							USO bug workaround: collapse long URL vars  
						
						... 
						
						
						
						#195  
					
						2018-04-12 09:13:55 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							009970965f 
							
						 
					 
					
						
						
							
							let openURL() replace browser-specific New/empty Tab Page  
						
						
						
					 
					
						2018-03-30 03:23:21 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							9969266379 
							
						 
					 
					
						
						
							
							FF60+: show additional info in popup on AMO  
						
						... 
						
						
						
						#312  
					
						2018-03-23 01:44:40 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							89d4bb1ed4 
							
						 
					 
					
						
						
							
							handle chrome:// scheme in openURL()  
						
						
						
					 
					
						2018-03-22 03:09:20 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							f2d49ecbb9 
							
						 
					 
					
						
						
							
							resolve activateTab() to tab instead of [tab, window]  
						
						
						
					 
					
						2018-03-14 22:00:25 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							06ded49131 
							
						 
					 
					
						
						
							
							openURL+message: use onTabReady instead of repeated sending  
						
						... 
						
						
						
						because the tab may take many seconds to start loading depending on connectivity etc. 
						
					 
					
						2018-03-14 05:58:28 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							de0920da53 
							
						 
					 
					
						
						
							
							enable 'editor.autoCloseBrackets' in fresh installs by default  
						
						... 
						
						
						
						because now that we have LivePreview enabled by default typing a single { breaks the style until a closing } is entered. 
						
					 
					
						2018-03-13 20:43:19 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							4901e97f9f 
							
						 
					 
					
						
						
							
							open USO style settings even if the site tab is auto-activated  
						
						
						
					 
					
						2018-03-13 18:35:28 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							34799263eb 
							
						 
					 
					
						
						
							
							fixup 259f3732: only switch to POST if 'body' wasn't customized  
						
						
						
					 
					
						2018-03-12 22:39:19 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							259f373207 
							
						 
					 
					
						
						
							
							properly cut URL#href on '?' when sending a POST request  
						
						... 
						
						
						
						fixes  #365  
					
						2018-03-12 21:41:25 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							dbba338229 
							
						 
					 
					
						
						
							
							report line:ch in live-preview errors for usercss  
						
						
						
					 
					
						2018-03-11 16:47:27 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							0ba26072f7 
							
						 
					 
					
						
						
							
							restore Chrome 49 compatibility: remove "u" flag in RegExp  
						
						... 
						
						
						
						since it wasn't used globally (e.g. vendor code) it made no real difference 
						
					 
					
						2018-02-28 05:15:28 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							a8769e375b 
							
						 
					 
					
						
						
							
							browser.runtime.getBrowserInfo was added in FF 51  
						
						
						
					 
					
						2018-02-25 16:51:07 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							95a24cd29b 
							
						 
					 
					
						
						
							
							catch fatal parsing errors  
						
						
						
					 
					
						2018-01-30 18:59:28 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							ca5f8c941b 
							
						 
					 
					
						
						
							
							don't refresh own tabs twice  
						
						... 
						
						
						
						fixes  #336  
					
						2018-01-29 04:37:24 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							10b82ae7cc 
							
						 
					 
					
						
						
							
							actually import settings from sync  
						
						... 
						
						
						
						fixes  #331  
					
						2018-01-24 03:47:26 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							4493c9e9f0 
							
						 
					 
					
						
						
							
							don't double-process 'styleUpdated' in manager  
						
						
						
					 
					
						2018-01-14 18:18:08 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							bb34538da0 
							
						 
					 
					
						
						
							
							smart invalidateCache: try to update filters in-place  
						
						
						
					 
					
						2018-01-12 00:54:40 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							989df35b05 
							
						 
					 
					
						
						
							
							live preview in editor  
						
						... 
						
						
						
						* refreshAllTabs was extracted
* ...and fixed to use each frame's url when getting the styles 
						
					 
					
						2018-01-12 00:54:36 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							b754635b81 
							
						 
					 
					
						
						
							
							lenient parsing of invalid single \ in regexp() function  
						
						
						
					 
					
						2018-01-11 15:29:52 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							022e588c97 
							
						 
					 
					
						
						
							
							allow errors in usercss when saving in editor and live-reloading  
						
						
						
					 
					
						2018-01-07 16:36:30 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							2036819442 
							
						 
					 
					
						
						
							
							reuse parserCache on subsequent saving of usercss  
						
						
						
					 
					
						2018-01-07 12:31:23 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							d2cba96e10 
							
						 
					 
					
						
						
							
							refactor CSSLint  
						
						... 
						
						
						
						* reduce linting delay
* parse mozformat in worker
* allow empty functions in 'filter:' property
  https://drafts.fxtf.org/filter-effects/#supported-filter-functions 
* support comma-separated list in :lang()
* strip vendor prefix in isLiteral() 
						
					 
					
						2018-01-07 12:31:23 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							807ea6aa70 
							
						 
					 
					
						
						
							
							extract colorconverter.js  
						
						
						
					 
					
						2018-01-07 11:52:43 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							71c3e0c7a8 
							
						 
					 
					
						
						
							
							extract and improve dummy chrome.storage in FF  
						
						... 
						
						
						
						* chrome.storage.onChanged supported in own pages
* values are stored in the background page
* chrome.storage in own pages accesses that background storage 
						
					 
					
						2018-01-04 17:04:23 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							2374c88e1b 
							
						 
					 
					
						
						
							
							extract styleSectionsEqual  
						
						
						
					 
					
						2018-01-04 16:43:54 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							e6d04fad6d 
							
						 
					 
					
						
						
							
							meta value starts after a name on the same line  
						
						
						
					 
					
						2018-01-04 11:10:59 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							28e9e38dad 
							
						 
					 
					
						
						
							
							remove 'dysfunctional' page  
						
						
						
					 
					
						2018-01-03 10:44:12 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							3418ac9cb9 
							
						 
					 
					
						
						
							
							FF: support private/container tabs  
						
						
						
					 
					
						2018-01-03 10:43:56 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							5bc4206593 
							
						 
					 
					
						
						
							
							reuse existing usercss installer tab  
						
						... 
						
						
						
						A few additional checks were needed to circumvent FF bugs
so openURL was refactored to keep the code readable 
						
					 
					
						2017-12-31 17:59:32 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							46a3038394 
							
						 
					 
					
						
						
							
							don't add soft hyphens at the end of text  
						
						
						
					 
					
						2017-12-29 23:37:17 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							0f96e2fa4d 
							
						 
					 
					
						
						
							
							set language for CSS :lang and [FF-only] hyphenation  
						
						
						
					 
					
						2017-12-29 18:19:35 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							5ac3662699 
							
						 
					 
					
						
						
							
							fixup 5a07bbb1: parse ISO date strings  
						
						... 
						
						
						
						#319  
					
						2017-12-29 17:52:47 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							8c5ad8fe4b 
							
						 
					 
					
						
						
							
							postpone addTooltipsToEllipsized more to avoid accidental layout  
						
						
						
					 
					
						2017-12-26 08:46:05 +03:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							5a07bbb1e3 
							
						 
					 
					
						
						
							
							Add manager sort block  
						
						
						
					 
					
						2017-12-25 12:17:18 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							2d12bfd1f5 
							
						 
					 
					
						
						
							
							l10n: actually stop observing  
						
						
						
					 
					
						2017-12-22 11:22:02 +03:00