Birunthan Mohanathas
94998cf5fe
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Ethan Tseng
8d6569a5a7
Bug 1165267 - Fix downgrading issue by restoring appId and inBrowserElement columns v3. r=honzab
2015-11-01 11:13:12 -05:00
Nicholas Nethercote
7bbe1c72c3
Bug 1186814 - Replace nsBaseHashtable::EnumerateRead() calls in extensions/spellcheck/ with iterators. r=ehsan.
2015-10-19 22:31:53 -07:00
Nicholas Nethercote
e49efba560
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
4f9d99db36
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
e4e2da55c9
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
349b7c0380
Bug 1191653 - Listen to clear-origin-data in nsPermissionManager. r=bholley
2015-10-13 10:27:42 +08:00
Carsten "Tomcat" Book
62b4cc0ebe
Merge m-c to mozilla-inbound
2015-10-14 12:47:31 +02:00
Carsten "Tomcat" Book
631d2babdf
merge mozilla-inbound to mozilla-central a=merge
2015-10-14 12:46:09 +02:00
Daniel Holbert
824d966357
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
320de474c2
Bug 1213765 - Add preliminarily to the en-US dictionary. r=ehsan
2015-10-12 15:21:51 +07:00
M Hamdy
72753aa511
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
181be22db0
Bug 1211591 - Part 2: Tests for nsPermissionManager::RemovePermissionsForApp, r=jdm
2015-10-08 08:42:40 -04:00
Michael Layzell
bbf3674bee
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
Carsten "Tomcat" Book
d7f143eaad
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
b9e5717f50
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
b5f316de44
Bug 1202902 - Scripted fix the world.
2015-10-06 14:00:31 -07:00
Ethan Tseng
a892e5d270
Bug 1165267 - Part 1: Replace appId and inBrowser by originAttributes v2. r=honzab
2015-09-03 18:22:51 +08:00
Michael Layzell
072ae0f39d
Bug 1195492 - Remove the backup moz_hosts table and the moz_hosts_is_backup marker table, r=ehsan
2015-10-03 14:30:52 -04:00
Yoshi Huang
497ec5cf2a
Bug 1210459: Add originAttributes for tests that implement nsILoadContext. r=bholley
2015-09-30 18:14:12 -07:00
Jorg K
d59aea0d8a
Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan
2015-09-29 08:25:00 +02:00
Jorg K
0e935cb055
Bug 1205983 - Remove all observer code from nsEditor. r=ehsan
2015-09-28 23:53:00 +02:00
Mike Hommey
19c798623d
Bug 1209391 - Remove build/unix/uniq.py. r=mshal
2015-09-30 11:51:46 +09:00
Carsten "Tomcat" Book
ade15da63c
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
28555691e6
Bug 1205983 - Remove all observer code from nsEditor. r=ehsan
2015-09-28 23:53:00 +02:00
Jorg K
0a2a158744
Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan
2015-09-28 13:28:00 +02:00
Ehsan Akhgari
7f044d9dd0
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
Mike Kaply
2f472ac6fb
Bug 1193625 - Fallback to ASCII if AutoConfig UTF-8 conversion fails. r=Mossop, mrbkap
2015-09-28 08:04:47 -05:00
Chris Peterson
dd2fcb9b7d
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Ehsan Akhgari
3cf853e5af
Bug 1198078 - Add support for TYPE_INTERNAL_SERVICE_WORKER; r=ckerschb,tanvi
2015-09-16 19:15:30 -04:00
Christoph Kerschbaumer
cb97217d73
Bug 1205151 - Use channel->Open2() in extensions/cookie/nsPermissionManager.cpp (r=sicking)
2015-09-15 19:47:27 -07:00
Shu-yu Guo
45211869c8
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
sajitk
e0223d4184
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
e3883607bf
Bug 697981 - Prevent reloading of spelling dictionary on unfocused editors; r=roc
2015-09-15 11:35:10 +05:30
Michael Layzell
873c7b0ac1
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
5e2eb52b5f
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
6321005a2b
backout 06bb0c1766f1 for more frequent bc failures
2015-09-09 07:55:37 -04:00
Kaustabh Datta Choudhury
9bead31fd9
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
50eb16ea28
Bug 1202600 - Add Fukushima to the en-US dictionary. r=ehsan
2015-09-08 16:24:47 +07:00
Christoph Kerschbaumer
9988fb9b5b
Bug 1195168 - Use channel->ascynOpen2 src/nsAutoConfig.cpp (r=sicking)
2015-09-03 13:31:56 -07:00
Christoph Kerschbaumer
9ee4ffafca
Bug 1197926 - Use channel->Open2() in extensions/pref/autoconfig/src/nsReadConfig.cpp (r=sicking)
2015-09-02 11:38:28 -07:00
Ekanan Ketunuti
2e735b6135
Bug 1200508 - Add dialogs to the en-US dictionary. r=ehsan
2015-09-01 11:51:54 +07:00
Nicholas Nethercote
69d088e45f
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
e92c0ef1a6
Bug 1199540 - Update the en-US dictionary to SCOWL 2015.08.24
2015-08-27 23:06:54 -04:00
Ekanan Ketunuti
f1f18dc533
Bug 1199532 - Add disassembly, disassembler to the en-US dictionary. r=ehsan
2015-08-28 08:34:02 +07:00
Yoshi Huang
de4b8a9d76
Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley
2015-08-18 15:01:42 +08:00
Yoshi Huang
2e408d4ba7
Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley
2015-08-17 17:03:19 +08:00
Bobby Holley
8f42e826dc
Backed out 3 changesets (bug 1165272) for b2g sanity blocker.
2015-08-25 11:16:21 -07:00
Ryan VanderMeulen
1235b5142f
Bug 1170484 - Skip the new test on Mulet as well.
2015-08-24 14:25:48 -04:00
Bobby Holley
aab82229b5
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