Граф коммитов

713 Коммитов

Автор SHA1 Сообщение Дата
Ekanan Ketunuti b67b9b8bdc Bug 1340011 - Add inverter to the en-US dictionary. r=ehsan
--HG--
extra : rebase_source : f84e03f6cdd46d7b66a0c34d0cd6dae237107e16
2017-02-16 08:58:14 +07:00
Ekanan Ketunuti 1d6b4bdc87 Bug 1333591 - Add foundational to the en-US dictionary. r=ehsan 2017-02-15 08:16:29 +07:00
Tooru Fujisawa 470c96cd31 Bug 1338254 - Remove legacy generator from extensions/spellcheck/hunspell/tests/. r=ehsan 2017-02-11 01:53:24 +09:00
Joel Maher afe3e6a86e Bug 1332423 - add BUG_COMPONENT to extensions/* files. r=bsmedberg 2017-01-27 08:19:19 -05:00
Ryan VanderMeulen e9ab36bd47 Bug 1333648 - Update the en-US dictionary to SCOWL 2017.01.22. r=ehsan 2017-01-25 11:37:25 -05:00
Mark Banner 16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Ryan VanderMeulen 605429a73d Bug 1326277 - Update README.mozilla to reflect the correct in-tree Hunspell version. DONTBUILD 2017-01-12 20:24:07 -05:00
Michael Layzell 085958fee1 Bug 1272623 part.1 Don't destroy nodes during text replacement due to spell checking r=masayuki
Spellchecker shouldn't delete selection with nsIEditor::eStrip before calling nsIPlaintextEditor::InsertText() because it causes removing some parent nodes which may have some style rules.

MozReview-Commit-ID: 2VJhFFbTzrh

--HG--
extra : rebase_source : ffe9cfb47cbae665219c1399875c592f49aff397
2016-12-27 18:41:07 +09:00
Ryan VanderMeulen 7afab1ba7f Bug 1326277 - Upgrade Hunspell to version 1.6.0. r=masayuki
--HG--
extra : rebase_source : dfd3b592a52a708fe62c49c826bfaedea801769d
2017-01-05 23:42:31 -05:00
Ryan VanderMeulen 0d5d58913a Bug 1322666 - Change MAXWORDLEN to 100, matching the previous default from Hunspell 1.3. r=masayuki 2016-12-14 21:42:32 -05:00
Ehsan Akhgari 23ab21c6fc Bug 1322995 - Update the en-US dictionary to SCOWL 2016.11.20 2016-12-13 14:46:50 -05:00
Ryan VanderMeulen 29af881512 Bug 1318955 - Upgrade to Hunspell 1.5.4. r=masayuki 2016-07-12 10:37:04 -04:00
Jan Beich face87e5ac Bug 1320621 - Make sure --enable-system-hunspell picks up system headers. r=glandium
MozReview-Commit-ID: ALlx4wGuvRH

--HG--
extra : rebase_source : f9cfe08623ea01135eca7961d4eeb3de3fecc5c7
2016-11-28 03:54:39 +00:00
Ryan VanderMeulen 906fc553b2 Backed out changeset 25c7efa29d66 (bug 1318955) for breaking Hungarian spellchecking.
--HG--
extra : rebase_source : 8267bc48037eaf64d26ff93d60cd7998cb26d0ac
2016-11-28 21:44:06 -05:00
Ryan VanderMeulen 08f3aaaca6 Bug 1318955 - Upgrade to Hunspell 1.5.0. r=masayuki
--HG--
extra : rebase_source : e5e0fe0ba11975e0e7bb8d5354561ba0b9f24248
2016-07-12 10:37:04 -04:00
Sylvestre Ledru 34c92c780f Bug 1317430 - Avoid a unnecessary copy by passing a const & in extensions/spellcheck/ r=njn
MozReview-Commit-ID: H7V0fap294l

--HG--
extra : rebase_source : d1bd92a379df53e4d239b1f3b2077a1162e7d6d9
2016-11-14 23:16:11 +01:00
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Masatoshi Kimura bdc9c380b3 Bug 1313280 - Fix invalid non-UTF-8 bytes from Hunspell. r=glandium
MozReview-Commit-ID: ClJbuk6FkfL

--HG--
extra : rebase_source : f41859d20175cb0893d8e1ff8de20136b16a0c7d
extra : source : ced53269c25222bb54e88065ae9fbe19185e2cfd
2016-10-28 21:09:09 +09:00
Phil Ringnalda a7bc94158c Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD

--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Sebastian Hengst a29b7edbc4 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: extensions. r=RyanVM
MozReview-Commit-ID: H0AlYp2iIkp

--HG--
extra : rebase_source : 075e57481d6b986b4c87ddc7fae334a4c3369b14
2016-11-05 11:29:19 +01:00
Jookia 9d1c2e6c7b Bug 1310835 - Look for spellcheck dictionaries in DICPATH. r=smaug
Other applications allow loading dictionaries from DICPATH, so look
there too. A double-pass is required since dictionaries overwrite
each other, and DICPATH intends them to be overridden right-to-left
like any PATH on Unix-like systems.
2016-11-01 08:10:50 +11:00
Ekanan Ketunuti 79ac78034b Bug 1267325 - Add outlier, outliers and outlier's to the en-US dictionary. r=ehsan 2016-10-06 11:18:22 +07:00
Ekanan Ketunuti 0d6b019139 Bug 1255327 - Add canonicalization, canonicalizations, canonicalization's, canonicalize, canonicalized, canonicalizing and canonicalizes to the en-US dictionary. r=ehsan
MozReview-Commit-ID: 3BwfyUmIzxJ
2016-10-06 10:50:52 +07:00
m-r-m-s 04e71c59d2 Bug 1293704 - added adoptee/MS. r=ehsan 2016-09-27 08:11:47 +02:00
Michael Layzell 36e08437d0 Bug 1018486 - Part 8: Various other changes, r=smaug
MozReview-Commit-ID: B0dsomkWgEk
2016-09-07 10:50:45 -04:00
Nicholas Nethercote b71747b2ac Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
The new name makes the sense of the condition much clearer. E.g. compare:

  NS_WARN_IF_FALSE(!rv.Failed());

with:

  NS_WARNING_ASSERTION(!rv.Failed());

The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.

--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Emilio Cobos Álvarez 619cb14d87 Bug 1299066: Make NS_STYLE_DISPLAY_* an enum class. Prefer indexing instead of linear search in the frame constructor r=heycam,bz
The main renaming was generated with the following python script:

```

import sys
import re

CAMEL_CASE_REGEX = re.compile(r"(^|_|-)([A-Z])([A-Z]+)")
DISPLAY_REGEX = re.compile(r"\bNS_STYLE_DISPLAY_([^M][A-Z_]+)\b")

def to_camel_case(ident):
  return re.sub(CAMEL_CASE_REGEX,
                lambda m: m.group(2) + m.group(3).lower(), ident)

def constant_to_enum(constant):
  return "StyleDisplay::" + to_camel_case(constant) + ("_" if constant == "NONE" else "")

def process_line(line):
  return re.sub(DISPLAY_REGEX,
                lambda m: constant_to_enum(m.group(1)), line)

lines = []
with open(sys.argv[1], "r") as f:
  for line in f:
    lines.append(process_line(line))

with open(sys.argv[1], "w") as f:
  for line in lines:
    f.write(line)
```

And the following shell commands:

```
find . -name '*.cpp' -exec python display.py {} \;
find . -name '*.h' -exec python display.py {} \;
```

MozReview-Commit-ID: 91xYCbLC2Vf
2016-09-01 20:41:17 -07:00
Nicholas Nethercote c2306345d5 Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.

The patch also does some associated clean-up.

- Replaces some uses of nsIMemoryReporterCallback with the preferred
  nsIHandleReportCallback typedef.

- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
  parameter names, for consistency.

- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.

- Uses the MOZ_COLLECT_REPORT macro in all suitable places.

Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.

--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Ehsan Akhgari c23cea6e98 Bug 1288977 - Update the en-US dictionary to SCOWL 2016.06.26 2016-07-26 12:43:51 -04:00
Carsten "Tomcat" Book 336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Nathan Froyd 82f3460a41 Bug 1288390 - avoid a few more warnings in third-party code when compiling with clang; r=mshal 2016-07-21 18:58:37 -04:00
Carsten "Tomcat" Book 0d2c8ddbb2 Merge mozilla-central to autoland 2016-07-11 11:51:22 +02:00
Daniel Holbert ecdc48365b Bug 1285640: Move mozHunspell::CollectReports definition from .h file to .cpp file, to avoid clang 3.9 warning about static variable declared in header. r=njn
MozReview-Commit-ID: 8mUP6zYPhIO

--HG--
extra : rebase_source : 0ab4dbcb933f02451f7557e82f5d2d1967855988
2016-07-08 13:17:27 -07:00
Masayuki Nakano 7f30e926b8 Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8
MozReview-Commit-ID: FZSExwkHH2B
2016-07-08 14:03:31 +09:00
Masayuki Nakano f382711dc3 Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8
This patch also renames:

EditorInputEventDispatcher -> mozilla::EditorInputEventDispatcher

And some variable names are renamed from aEditor or mEditor to aEditorBase or mEditorBase for making their types clearer.

MozReview-Commit-ID: 2FCXWpLMn8e

--HG--
rename : editor/libeditor/nsEditor.cpp => editor/libeditor/EditorBase.cpp
rename : editor/libeditor/nsEditor.h => editor/libeditor/EditorBase.h
2016-07-08 13:10:13 +09:00
Masayuki Nakano 28ebbbd99b Bug 1260651 part.13 Rename nsAutoPlaceHolderBatch to mozilla::AutoPlaceHolderBatch r=mccr8
MozReview-Commit-ID: E8IlZjFSFRU
2016-06-23 18:51:19 +09:00
Masayuki Nakano 9771fba160 Bug 1260651 part.1 Rename nsEditorUtils to mozilla::EditorUtils (and their files too) r=mccr8
MozReview-Commit-ID: 7Z48LHQBRo7

--HG--
rename : editor/libeditor/nsEditorUtils.cpp => editor/libeditor/EditorUtils.cpp
rename : editor/libeditor/nsEditorUtils.h => editor/libeditor/EditorUtils.h
extra : rebase_source : e53301378ab6001cdb126c5cc8742b7cadfbbccc
extra : source : 0147a9c79800924614157f1fa74cda3b9397f688
2016-07-07 11:49:42 +09:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Nicholas Nethercote ba949d4617 Bug 1278452 - Fix a typo in mozEnglishWordUtils::GetLanguage. r=ehsan.
|aLanguage| must be dereferenced when checked.

--HG--
extra : rebase_source : 8e5125c2eb99d66f731d58590a377b8238a81e70
2016-06-07 15:15:56 +10:00
Eric Rahm d16e0561bb Bug 1275064 - Use unsigned type in RealWord bitfield. r=froydnj 2016-05-25 12:15:27 -07:00
Carsten "Tomcat" Book 9e3e4f59dc Backed out changeset ac9e8b31ac78 (bug 1275064) for bustage on a CLOSED TREE
--HG--
extra : rebase_source : d810dbef0beaebe2b9434300c0c89f66df84b3e2
2016-05-24 11:51:53 +02:00
Eric Rahm cb88225fa4 Bug 1275064 - Use unsigned type in RealWord bitfield. r=froydnj 2016-05-23 15:05:19 -07:00
Eric Rahm 32c7d12a03 Bug 1261304 - Part 3: Avoid rebuilding real word list if possible. r=ehsan
We can avoid rebuilding the real word list if the begin and end nodes have not
changed. This can help with heap churn and possibly speed things up.
2016-05-21 10:07:16 -07:00
Eric Rahm af7d64ab20 Bug 1261304 - Part 2: Shrink RealWord struct. r=ehsan 2016-05-21 10:07:15 -07:00
Eric Rahm 60cbdf73f4 Bug 1261304 - Part 1: Make word splitting fallible. r=ehsan 2016-05-21 10:07:13 -07:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Ryan VanderMeulen 0ddefc4583 Bug 1269941 - Upgrade to Hunspell 1.4.1. r=ehsan 2016-05-03 19:00:00 -04:00