Bug 1442500 - Part 2. Move some spellchecker source files in /editor/composer to /editor/spellchecker. r=masayuki
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Fri, 02 Mar 2018 12:56:44 +0900
changeset 406524 b2e381dcef742e7d56a4575bb0fa208abead384c
parent 406523 dc7e032121070c9833c9e804208405b370f6a32c
child 406525 1e2f56a1e4b4d08a3be3217cfebeff7bfcedaa25
push id60577
push userm_kato@ga2.so-net.ne.jp
push dateMon, 05 Mar 2018 01:54:45 +0000
treeherderautoland@1e2f56a1e4b4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmasayuki
bugs1442500, 1439813
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1442500 - Part 2. Move some spellchecker source files in /editor/composer to /editor/spellchecker. r=masayuki Per bug 1439813, some files in composer is for spellchecker, so we should move it to /editor/spellchecker. MozReview-Commit-ID: 6vlhC1TcZp5
editor/composer/EditorSpellCheck.cpp
editor/composer/EditorSpellCheck.h
editor/composer/moz.build
editor/composer/nsComposeTxtSrvFilter.cpp
editor/composer/nsComposeTxtSrvFilter.h
editor/spellchecker/EditorSpellCheck.cpp
editor/spellchecker/EditorSpellCheck.h
editor/spellchecker/moz.build
editor/spellchecker/nsComposeTxtSrvFilter.cpp
editor/spellchecker/nsComposeTxtSrvFilter.h
--- a/editor/composer/moz.build
+++ b/editor/composer/moz.build
@@ -11,34 +11,32 @@ MOCHITEST_CHROME_MANIFESTS += ['test/chr
 XPIDL_SOURCES += [
     'nsIEditingSession.idl',
 ]
 
 XPIDL_MODULE = 'composer'
 
 UNIFIED_SOURCES += [
     'ComposerCommandsUpdater.cpp',
-    'EditorSpellCheck.cpp',
     'nsComposerCommands.cpp',
     'nsComposerController.cpp',
     'nsComposerDocumentCommands.cpp',
     'nsComposerRegistration.cpp',
-    'nsComposeTxtSrvFilter.cpp',
     'nsEditingSession.cpp',
 ]
 
 EXPORTS.mozilla += [
     'ComposerCommandsUpdater.h',
-    'EditorSpellCheck.h',
 ]
 
 # Needed because we include HTMLEditor.h which indirectly includes nsDocument.h
 LOCAL_INCLUDES += [
     '/dom/base',
     '/dom/html',  # For nsHTMLDocument
+    '/editor/spellchecker', # nsComposeTxtSrvFilter.h
     '/layout/style', # For things nsHTMLDocument includes.
 ]
 
 FINAL_LIBRARY = 'xul'
 RESOURCE_FILES += [
     'res/EditorOverride.css',
     'res/grabber.gif',
     'res/table-add-column-after-active.gif',
rename from editor/composer/EditorSpellCheck.cpp
rename to editor/spellchecker/EditorSpellCheck.cpp
rename from editor/composer/EditorSpellCheck.h
rename to editor/spellchecker/EditorSpellCheck.h
--- a/editor/spellchecker/moz.build
+++ b/editor/spellchecker/moz.build
@@ -11,17 +11,20 @@ XPIDL_SOURCES += [
 
 XPIDL_MODULE = 'txtsvc'
 
 EXPORTS += [
     'nsISpellChecker.h',
 ]
 
 EXPORTS.mozilla += [
+    'EditorSpellCheck.h',
     'TextServicesDocument.h',
 ]
 
 UNIFIED_SOURCES += [
+    'EditorSpellCheck.cpp',
+    'nsComposeTxtSrvFilter.cpp',
     'nsFilteredContentIterator.cpp',
     'TextServicesDocument.cpp',
 ]
 
 FINAL_LIBRARY = 'xul'
rename from editor/composer/nsComposeTxtSrvFilter.cpp
rename to editor/spellchecker/nsComposeTxtSrvFilter.cpp
rename from editor/composer/nsComposeTxtSrvFilter.h
rename to editor/spellchecker/nsComposeTxtSrvFilter.h