Commit Graph

5 Commits

Author SHA1 Message Date
Marco Bonardo
4c1e833e43 Bug 995092 - Ensure we can enable Unified Autocomplete in Nightly. r=ttaubert 2014-07-18 09:42:39 +02:00
Marco Bonardo
4d31269447 Bug 993372 - Part 2 - Port autocomplete tests to unified autocomplete. r=mano
--HG--
rename : toolkit/components/places/tests/autocomplete/test_416211.js => toolkit/components/places/tests/unifiedcomplete/test_416211.js
rename : toolkit/components/places/tests/autocomplete/test_416214.js => toolkit/components/places/tests/unifiedcomplete/test_416214.js
rename : toolkit/components/places/tests/autocomplete/test_417798.js => toolkit/components/places/tests/unifiedcomplete/test_417798.js
rename : toolkit/components/places/tests/autocomplete/test_418257.js => toolkit/components/places/tests/unifiedcomplete/test_418257.js
rename : toolkit/components/places/tests/autocomplete/test_422277.js => toolkit/components/places/tests/unifiedcomplete/test_422277.js
rename : toolkit/components/places/tests/autocomplete/test_autocomplete_on_value_removed_479089.js => toolkit/components/places/tests/unifiedcomplete/test_autocomplete_on_value_removed_479089.js
rename : toolkit/components/places/tests/autocomplete/test_download_embed_bookmarks.js => toolkit/components/places/tests/unifiedcomplete/test_download_embed_bookmarks.js
rename : toolkit/components/places/tests/autocomplete/test_empty_search.js => toolkit/components/places/tests/unifiedcomplete/test_empty_search.js
rename : toolkit/components/places/tests/autocomplete/test_enabled.js => toolkit/components/places/tests/unifiedcomplete/test_enabled.js
rename : toolkit/components/places/tests/autocomplete/test_escape_self.js => toolkit/components/places/tests/unifiedcomplete/test_escape_self.js
rename : toolkit/components/places/tests/autocomplete/test_ignore_protocol.js => toolkit/components/places/tests/unifiedcomplete/test_ignore_protocol.js
rename : toolkit/components/places/tests/autocomplete/test_keyword_search.js => toolkit/components/places/tests/unifiedcomplete/test_keyword_search.js
rename : toolkit/components/places/tests/autocomplete/test_match_beginning.js => toolkit/components/places/tests/unifiedcomplete/test_match_beginning.js
rename : toolkit/components/places/tests/autocomplete/test_multi_word_search.js => toolkit/components/places/tests/unifiedcomplete/test_multi_word_search.js
rename : toolkit/components/places/tests/autocomplete/test_special_search.js => toolkit/components/places/tests/unifiedcomplete/test_special_search.js
rename : toolkit/components/places/tests/autocomplete/test_swap_protocol.js => toolkit/components/places/tests/unifiedcomplete/test_swap_protocol.js
rename : toolkit/components/places/tests/autocomplete/test_tabmatches.js => toolkit/components/places/tests/unifiedcomplete/test_tabmatches.js
rename : toolkit/components/places/tests/autocomplete/test_word_boundary_search.js => toolkit/components/places/tests/unifiedcomplete/test_word_boundary_search.js
2014-07-18 09:42:35 +02:00
Marco Bonardo
c1d6a8901b Bug 993372 - Part 1 - Port inline tests to unified autocomplete. r=mano
--HG--
rename : toolkit/components/places/tests/inline/head_autocomplete.js => toolkit/components/places/tests/unifiedcomplete/head_autocomplete.js
rename : toolkit/components/places/tests/inline/test_autocomplete_functional.js => toolkit/components/places/tests/unifiedcomplete/test_autocomplete_functional.js
rename : toolkit/components/places/tests/inline/test_casing.js => toolkit/components/places/tests/unifiedcomplete/test_casing.js
rename : toolkit/components/places/tests/inline/test_do_not_trim.js => toolkit/components/places/tests/unifiedcomplete/test_do_not_trim.js
rename : toolkit/components/places/tests/inline/test_keywords.js => toolkit/components/places/tests/unifiedcomplete/test_keywords.js
rename : toolkit/components/places/tests/inline/test_queryurl.js => toolkit/components/places/tests/unifiedcomplete/test_queryurl.js
rename : toolkit/components/places/tests/inline/test_trimming.js => toolkit/components/places/tests/unifiedcomplete/test_trimming.js
rename : toolkit/components/places/tests/inline/test_typed.js => toolkit/components/places/tests/unifiedcomplete/test_typed.js
rename : toolkit/components/places/tests/inline/test_zero_frecency.js => toolkit/components/places/tests/unifiedcomplete/test_zero_frecency.js
rename : toolkit/components/places/tests/inline/xpcshell.ini => toolkit/components/places/tests/unifiedcomplete/xpcshell.ini
2014-07-18 09:42:31 +02:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Marco Bonardo
4dccc938f4 bug 959573 - Land UnifiedAutocomplete (disabled by default). rs=ttaubert 2014-04-14 13:10:16 +02:00