Commit Graph

1560 Commits

Author SHA1 Message Date
Birunthan Mohanathas
2083419fba Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
J. Ryan Stinnett
70d3810dd0 Bug 1244304 - Remove unused appId / inBrowser from permission manager. r=ehsan 2016-02-01 13:15:26 -06:00
Myk Melez
9e529b528f Bug 1242899 - consolidate mozApps tests into dom/apps/tests/ dir; r=marco 2016-01-31 15:04:54 -08:00
Phil Ringnalda
b885c4b318 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
a93e22749f Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey
ce39f191af Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Masayuki Nakano
02e1026b7d Bug 1243657 spellchecker should check if IME composition works as deleting whole text r=ehsan 2016-01-30 09:56:03 +09:00
Wes Kocher
1ee8b92023 Backed out changeset 2c56aed63687 (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE 2016-01-29 10:15:38 -08:00
Bill McCloskey
365f97ee97 Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
sajitk
1bb0c34cc7 Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in various files. r=bsmedberg 2016-01-28 10:35:00 -05:00
Carsten "Tomcat" Book
1b898382e6 merge mozilla-inbound to mozilla-central a=merge 2016-01-27 11:59:49 +01:00
Mike Hommey
ac8c7cb630 Bug 1234130 - Fix MSVC LNK4217 warning in hunspell. r=mshal 2016-01-27 14:41:34 +09:00
malayaleecoder
2d5f815e6a Bug 1234875 - Remove alwaysAcceptSessionCookies pref. r=mak 2016-01-26 14:54:21 +01:00
Jorg K
7ee5c163b0 Bug 1144254 - Add naive (with diaeresis) and derived words to the en-US dictionary. r=ehsan 2016-01-23 12:11:51 -05:00
Sylvestre Ledru
a898200615 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
Blake Kaplan
454bfc4c1e Bug 1241557 - Make cookie tests pass in e10s. r=mccr8 2016-01-21 16:14:27 -08:00
Wes Kocher
1fc92057c1 Backed out 2 changesets (bug 1241557) for build failures CLOSED TREE
Backed out changeset aeb7f61db88b (bug 1241557)
Backed out changeset 8ed3a7be233e (bug 1241557)
2016-01-21 15:41:18 -08:00
Blake Kaplan
c440236e19 Bug 1241557 - Make cookie tests pass in e10s. r=mccr8 2016-01-21 15:15:41 -08:00
Ehsan Akhgari
564b055d20 Bug 1240916 - Part 2: Update the en-US dictionary to SCOWL 2016.01.19 2016-01-21 14:38:56 -05:00
Kevin Atkinson
d8607023db Bug 1240916 - Part 1: Fix dictionary upgrade scripts 2016-01-21 14:35:33 -05:00
Ehsan Akhgari
baa461498a Backout bug 1240916 because the update from upstream seems to be broken
This is probably caused by https://github.com/kevina/wordlist/issues/144.
2016-01-21 13:17:13 -05:00
Ehsan Akhgari
9abb0747c1 Bug 1240916 - Update the en-US dictionary to SCOWL 2016.01.19 2016-01-21 09:54:34 -05:00
Jorg K
aea33f9f42 Bug 301712 - Remove uncommon proper names, remove unneeded words. r=ehsan 2016-01-21 08:34:29 +01:00
Kevin Atkinson
e17d29516b 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
a0cc9ade83 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
9108cff25e Bug 1237668 - Remove nsSimpleUnicharStreamFactory r=froydnj 2016-01-11 19:31:29 -05:00
Jorg K
83e3708279 Bug 1235506 - Correct 353 entries in the en-US dictionary. r=ehsan 2016-01-07 15:02:00 -05:00
Jorg K
a2e93657e4 Bug 1235216 - fix comment in mozISpellCheckingEngine.idl. r=ehsan 2015-12-26 11:38:00 +01:00
Christoph Kerschbaumer
d0fb73b9d6 Bug 1229888 - Convert JS callsites to use asyncOpen2 within extensions/ (r=sicking) 2015-12-06 20:58:23 -08:00
Wes Kocher
fda6177cd9 Backed out 4 changesets (bug 1230221, bug 1230220, bug 1229890) for m-e10s(2) permafails in test_window_open_close.html CLOSED TREE
Backed out changeset a1cd28ddbfa2 (bug 1230221)
Backed out changeset 7e89f5020ac7 (bug 1230220)
Backed out changeset 91f6e72fa9f4 (bug 1229890)
Backed out changeset 7e717a810420 (bug 1229890)
2015-12-04 15:58:40 -08:00
Christoph Kerschbaumer
8d359ab583 Bug 1229890 - Convert JS callsites to use asyncOpen2 within extensions/ (r=sicking) 2015-12-04 09:39:34 -08:00
Nathan Froyd
84e3d19a36 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
ecb3b353b6 Bug 1228174 - Add validator to the en-US dictionary. r=ehsan 2015-11-26 07:13:03 +07:00
Carsten "Tomcat" Book
a5dcef39f3 Merge mozilla-central to b2g-inbound 2015-11-25 14:00:32 +01:00
Yoshi Huang
b657390188 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Birunthan Mohanathas
f6aa64ea3b Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Christoph Kerschbaumer
84ac55d093 Bug 1119386 - Part 3: Use document's principal for favicons in browser (r=billm) 2015-11-24 13:32:10 -08:00
Ethan Tseng
e9801b02d5 Bug 1165267 - Fix downgrading issue by restoring appId and inBrowserElement columns v3. r=honzab 2015-11-01 11:13:12 -05:00
Nicholas Nethercote
c794ccb9cb Bug 1186814 - Replace nsBaseHashtable::EnumerateRead() calls in extensions/spellcheck/ with iterators. r=ehsan. 2015-10-19 22:31:53 -07:00
Nicholas Nethercote
4b27ee8c29 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
Chris Peterson
c43eb54cfd Bug 1215902 - Fix clang's -Wimplicit-fallthrough warnings in extensions/cookie. r=jdm
extensions/cookie/nsCookiePermission.cpp:207:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:933:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:952:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:979:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:1061:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:1255:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:1353:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
extensions/cookie/nsPermissionManager.cpp:1377:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-17 22:12:38 -07:00
Nathan Froyd
9c5965b035 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
Yoshi Huang
4a3c1419c4 Bug 1191653 - Listen to clear-origin-data in nsPermissionManager. r=bholley 2015-10-13 10:27:42 +08:00
Carsten "Tomcat" Book
21ec743e8e Merge m-c to mozilla-inbound 2015-10-14 12:47:31 +02:00
Carsten "Tomcat" Book
8a9d35471d merge mozilla-inbound to mozilla-central a=merge 2015-10-14 12:46:09 +02:00
Daniel Holbert
3faeaf2c65 Bug 1181313: Remove some unnecessary logging statements for success conditions, in nsPermissionManager.cpp. r=bsmedberg 2015-10-13 17:19:06 -07:00
Ekanan Ketunuti
cda63cc133 Bug 1213765 - Add preliminarily to the en-US dictionary. r=ehsan 2015-10-12 15:21:51 +07:00
M Hamdy
b3ec1b2bee Bug 606655 - delete cookies UI option AskMeEveryTime and its related comments and tests. r=mak 2015-10-08 09:13:00 +02:00
Michael Layzell
158c051429 Bug 1211591 - Part 2: Tests for nsPermissionManager::RemovePermissionsForApp, r=jdm 2015-10-08 08:42:40 -04:00
Michael Layzell
ba2b61bb75 Bug 1211591 - Part 1: Remove incorrect sql statement from nsPermissionManager::RemovePermissionsForApp, r=jdm
This initial query to clear the database was initially removed because of the removal of the appId column, and replaced with the following logic which parses the origin strings to obtain the appId property, and then removes those entries using `AddInternal`. Unfortunately, during a rebase, it appears as though the code crept back into the codebase.

I'm not sure why this codepath wasn't ever tested before bkelly noticed it, but we should probably add a test of some form which actually runs the RemovePermissionsForApp codepath, to ensure that it actually works.
2015-10-08 08:42:38 -04:00