Commit Graph
646 Commits
Author SHA1 Message Date
Kevin Atkinson 2314bdfa54 Bug 1238031 - Fix make-new-dict to use a custom en_US dictionary that adds common variants and accented words. r=ehsan 2016-01-14 10:33:12 +01:00
Aidin Gharibnavaz d457460d0c Bug 1230216 - Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug
All the event interfaces changed except for nsIDOMUIEvent and its inheritors.
2016-01-12 07:49:08 +03:30
Wilmer Paulino 5eb1329131 Bug 1237668 - Remove nsSimpleUnicharStreamFactory r=froydnj 2016-01-11 19:31:29 -05:00
Jorg K 8e10431f40 Bug 1235506 - Correct 353 entries in the en-US dictionary. r=ehsan 2016-01-07 15:02:00 -05:00
Jorg K f17c33b889 Bug 1235216 - fix comment in mozISpellCheckingEngine.idl. r=ehsan 2015-12-26 11:38:00 +01:00
Nathan Froyd 6fb34264ea Bug 1225923 - part 1 - convert all needs-to-copy instances of AppendElement(nsDependentString(...)); r=erahm
When people write:

  array.AppendElement(nsDependentString(...));

(resp. nsDependentCString), it's not clear whether they expect the newly
constructed dependent string to live in the array, or whether they're
just making a nsString-like holder whose contents can be freely copied
into the array's newly-created nsString.  Sometimes the latter is what
you prefer, and sometimes the former.  In all cases, however, the latter
behavior is what you get.

Let's try to make that behavior more explicit by pre-constructing
nsString elements and then using Assign to show that copying is taking
place.  This patch involves no functional change in behavior (it ought
to be epsilon faster due to using AppendElements, rather than repeatedly
calling AppendElement).
2015-11-18 10:25:19 -05:00
Ekanan Ketunuti 911077238c Bug 1228174 - Add validator to the en-US dictionary. r=ehsan 2015-11-26 07:13:03 +07:00
Nicholas Nethercote 3f27a14aec Bug 1186814 - Replace nsBaseHashtable::EnumerateRead() calls in extensions/spellcheck/ with iterators. r=ehsan. 2015-10-19 22:31:53 -07:00
Nicholas Nethercote b9c33b1c31 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.
2015-10-19 18:05:20 -07:00
Nathan Froyd 4e6d8f6705 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Ekanan Ketunuti 871aaf07bd Bug 1213765 - Add preliminarily to the en-US dictionary. r=ehsan 2015-10-12 15:21:51 +07:00
Carsten "Tomcat" Book 036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book 12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo 474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Jorg K 1d34f656c5 Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan 2015-09-29 08:25:00 +02:00
Jorg K 2af3e41f39 Bug 1205983 - Remove all observer code from nsEditor. r=ehsan 2015-09-28 23:53:00 +02:00
Carsten "Tomcat" Book 9bad0e6ba5 Backed out 2 changesets (bug 1205983) for memory leaks on a CLOSED TREE
Backed out changeset f2c49c0ab84f (bug 1205983)
Backed out changeset a81630dba992 (bug 1205983)
2015-09-29 13:58:35 +02:00
Jorg K 2b33ed430e Bug 1205983 - Remove all observer code from nsEditor. r=ehsan 2015-09-28 23:53:00 +02:00
Jorg K c0b18b9240 Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan 2015-09-28 13:28:00 +02:00
Ehsan Akhgari 94c0a166d2 Bug 1208885 - Remove mozGenericWordUtils; r=smaug
Found by Viva64.  In the future we need to add support for more
langauges, but right now mozGenericWordUtils doesn't provide any value.
2015-09-28 09:08:40 -04:00
Chris Peterson 752223fd52 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
sajitk 043ce48109 Bug 1200065 - Split Mozilla specific code from extensions/spellcheck/hunspell directory to glue directory and adjusted moz.build files. r=glandium 2015-09-11 07:44:00 +02:00
Jorg K 3b98305081 Bug 697981 - Prevent reloading of spelling dictionary on unfocused editors; r=roc 2015-09-15 11:35:10 +05:30
Michael Layzell 96aa0b429b Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug 2015-09-12 17:56:44 -04:00
Kaustabh Datta Choudhury 1306ff3c92 Bug 1162003 - Enable run-by-dir mode on Fx desktop debug & ASAN builds. r=jmaher 2015-09-10 09:52:00 +02:00
Joel Maher 70044adee0 backout 06bb0c1766f1 for more frequent bc failures 2015-09-09 07:55:37 -04:00
Kaustabh Datta Choudhury c5d803c2d2 Bug 1162003 - Enable run-by-dir mode on Fx desktop debug & ASAN builds. r=jmaher 2015-09-09 05:42:04 -04:00
Ekanan Ketunuti eff484526d Bug 1202600 - Add Fukushima to the en-US dictionary. r=ehsan 2015-09-08 16:24:47 +07:00
Ekanan Ketunuti 289e7f7c22 Bug 1200508 - Add dialogs to the en-US dictionary. r=ehsan 2015-09-01 11:51:54 +07:00
Nicholas Nethercote 12fec02dfb Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Ehsan Akhgari cb9dae013a Bug 1199540 - Update the en-US dictionary to SCOWL 2015.08.24 2015-08-27 23:06:54 -04:00
Ekanan Ketunuti c01e4bb288 Bug 1199532 - Add disassembly, disassembler to the en-US dictionary. r=ehsan 2015-08-28 08:34:02 +07:00
Ryan VanderMeulen a607d39b97 Bug 1170484 - Skip the new test on Mulet as well. 2015-08-24 14:25:48 -04:00
Bobby Holley 238f116874 Bug 1170484 - Followup fix to make the guard object actually a guard object. r=me CLOSED TREE 2015-08-24 10:01:47 -07:00
Bobby Holley 293d5af7eb Bug 1170484 - Test. r=ehsan 2015-08-24 08:42:04 -07:00
Bobby Holley 1d76c5692d Bug 1170484 - Use {Begin,End}PlaceHolderTransaction from mozInlineSpellCheck::ReplaceWord. r=ehsan
Both InsertText and DeleteSelection do a placeholder transaction. When the placeholder
transaction depth drops to zero, we fire input events (which in turn does a microtask
checkpoint). So we can prevent that from happening mid-operation by scoping a larger
placeholder transaction around both calls.
2015-08-24 08:42:03 -07:00
Ehsan Akhgari d878d82c4e Bug 1184298 - Remove a spammy spellchecker warning 2015-08-10 23:54:42 -04:00
Ekanan Ketunuti 9deee9719b Bug 1192054 - Add subsumption to the en-US dictionary. r=ehsan 2015-08-07 08:43:44 +07:00
Birunthan Mohanathas a0f7c73250 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Jorg K 4b32cb3c30 Bug 345852 - Save personal dictionary when a word is added or removed. r=ehsan 2015-07-22 02:06:00 -04:00
Ryan VanderMeulen 79fdd2b43a Merge m-c to fx-team. a=merge 2015-07-16 16:23:27 -04:00
Birunthan Mohanathas e5ec24ad7c Bug 1182408 - Part 3: Use nsTHashTable::Iterator in mozPersonalDictionary. r=ehsan 2015-07-14 10:53:23 -07:00
Ekanan Ketunuti c7ba5b9887 Bug 1183765 - Add crappiness to our en-US dictionary. r=ehsan
CLOSED TREE
2015-07-15 08:34:14 +07:00
Birunthan Mohanathas a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Geoff Brown e7ae18404c Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Emanuel Hoogeveen b30abdc582 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez 89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen 7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Ehsan Akhgari 9173745135 Bug 1168802 - Update the en-US dictionary to SCOWL 2015.05.18 2015-05-27 08:12:59 -04:00