Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Remove deprecated code using the old preferences system #12182

Closed
wants to merge 353 commits into from

Conversation

sprintr
Copy link
Contributor

@sprintr sprintr commented Feb 1, 2016

Removed all the occurrences of PreferencesManager.convertPreferences. I have also removed its definition but that is a separate commit just in case we wanted to revert it.

Follow up of #11488 and #11174

/CC: @abose @marcelgerber @redmunds @peterflynn @le717

@le717
Copy link
Contributor

le717 commented Feb 1, 2016

I had put up a PR to drop the old preferences system entirely in #9752, if you wanted to go that far. Since the conversion code from old to new is being removed (assuming I am reading the diff correctly), we would still have the old system lying around unused.

You may want to considering dropping setValueAndSave too.

My thought is, while the old preferences system has been deprecated for ages, convertPreferences only got a deprecation warning in v1.4 (#11174). If the definition was to be removed, has enough time lapsed for extension authors to update? IIRC, last time we looked at this, all affected extension authors had been contacted but only the actively maintained extensions were updated. Honestly, if by now if the extensions have not been updated, then there's no need to keep dragging out feet holding out.

@sprintr sprintr force-pushed the remove-deprecated-code branch 2 times, most recently from 3016d05 to 491371a Compare February 2, 2016 00:39
@sprintr
Copy link
Contributor Author

sprintr commented Feb 2, 2016

@le717 The purpose of this PR was to make sure that no warnings are thrown from the core modules. I agree with you on the removal of deprecated code since it has been a quite a while since when it was deprecated. If they have not updated until now, they may not be updated ever.

I also went ahead and removed the old system from the unit tests too.

@MiguelCastillo
Copy link
Contributor

@sprintr @le717 It sounds reasonable to remove the whole thing. Do you guys think they should two separate PRs?

abose and others added 25 commits March 31, 2016 21:10
Add "gradle" to Groovy file extensions
…ct-fail

Show an error message when trying to rename a file outside of the project
node crash fix: error on live preview server creation.
codemirror/codemirror5@c65244d changed
the behavior in this case; the newly inserted braces are no longer
part of the resulting selection.
Updated first steps in portuguese language (pt-br)
Removed the word 'And' in Samples/root/index.html to make the sentence correct.
Inapproriate use of win api in fs_even_node module. In fsevents_win.cpp there are a thread that monitors file system events queue and post messages to uv library. Proposed solution is to use extra bool variable in THREADINFO structure to control thread exit state
… set to 0. So removed opacity for .quick-search-container
Update Polish translation (checked and tested)
@zaggino
Copy link
Contributor

zaggino commented Aug 25, 2016

This now has conflicts, @sprintr would you mind merging master to your branch so I can pull this?

bmax and others added 3 commits August 26, 2016 10:23
…y when the code hint menu is open (adobe#12251)

* Can now move up with ctrl+space.

* Changes made suggested by PR

* Found a cleaner way to do the alreadyOpen Bool. Still having trouble with the javascript '.' character hints

* Remove unneeded var

* Fix issues with CodeHints starting with dots

* Fix wrong parameter

* Changes made suggested by PR

* Fix issues with CodeHints starting with dots

* Fix issues with CodeHints starting with dots

* Fix issues with CodeHints starting with dots

* Remove unneeded var

* All tests pass.
* Update Tern -> post-0.13
Replace Acorn submodule with local copy
Update Acorn -> post-2.2

* Change function call for renamed function

* Load ecma6.json into Tern

* Workaround non-emittable options in acorn_loose

* Fix unit test
Since we only get 500 hints back and there have been many new additions,
Date's "getSecond" was no longer part of those 500. Thus, I decided to
check for the existence of hints from Function, String and Array instead
of Function, Array and Date.

* Make use of the correct, renamed Tern definition

* remove old acorn & tern

* add acorn & tern as npm dependencies

add lodash as dependency

* grunt install installs dependencies for extensions from npm

* fix acorn & tern paths

* load libraries from node_modules, not working yet

fix acorn to load it with requirejs

* forgot to add glob dev dependency

travis builds on node 0.10 which doesn't have promise

* add eslint-env node

* fix missing use strict
@sprintr sprintr closed this Aug 26, 2016
@sprintr sprintr deleted the remove-deprecated-code branch August 26, 2016 22:28
@sprintr sprintr restored the remove-deprecated-code branch August 26, 2016 22:31
@sprintr sprintr reopened this Aug 26, 2016
@sprintr sprintr closed this Aug 26, 2016
@sprintr sprintr deleted the remove-deprecated-code branch August 26, 2016 22:32
@sprintr sprintr restored the remove-deprecated-code branch August 26, 2016 22:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.