Commit Graph

1380 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
6be6d3f2d2 Bug 1226437 - Speculative CSP should set speculative referrer policy instead of actual referrer policy. r=sicking 2015-11-20 09:35:32 -08:00
Christoph Kerschbaumer
b285f554ba Bug 1182546 - Use channel->Open2() in parser/htmlparser/nsExpatDriver.cpp (r=bz) 2015-11-20 10:55:54 -08:00
Nigel Babu
8a5bc7a096 Backed out changeset 95069f2ce648 (bug 1182546) for Android M(c) bustage ON A CLOSED TREE 2015-11-19 14:26:33 +05:30
Christoph Kerschbaumer
b15a00221a Bug 1182546 - Use channel->Open2() in parser/htmlparser/nsExpatDriver.cpp (r=bz) 2015-11-18 19:23:28 -08:00
Christoph Kerschbaumer
320edcc5a0 Bug 663570 - MetaCSP Part 4: Speculative parser changes (r=bz) 2015-11-14 19:28:51 -08:00
Birunthan Mohanathas
94998cf5fe Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Ryan VanderMeulen
a46beb2ec9 No bug - Various crashtest manifest cleanups. 2015-10-31 19:35:27 -04:00
Andrew McCreight
183abfaf12 Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap 2015-10-31 06:26:44 -07:00
Tooru Fujisawa
1b1c51c551 Bug 1217422 - Remove for-each from parser/. r=jst 2015-10-19 02:20:47 +09:00
Ting-Yu Lin
f416870c12 Bug 1215781 - Use MOZ_UTF16 to generate sTagUnicodeTable. r=mrbkap 2015-10-16 22:56:00 +02: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
Boris Zbarsky
233fb264ff Bug 1209658 part 2. Add text/json and text/vtt as text MIME types. r=bkelly 2015-10-05 12:23:26 -04:00
Tooru Fujisawa
1b70fb4a3a Bug 1207499 - Part 7: Remove use of expression closure from parser/. r=jst 2015-09-23 18:42:18 +09:00
Nicholas Nethercote
6855b78fbf Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
Nicholas Nethercote
09b4a9e997 Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj. 2015-09-10 00:50:51 -07:00
Nicholas Nethercote
ac3ae5e6c1 Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru. 2015-09-14 14:23:47 -07:00
Nicholas Nethercote
93fcb9414c Bug 1121760 (part 5) - Remove PL_DHashMarkTableImmutable(). r=poiru. 2015-09-14 14:23:27 -07:00
Nicholas Nethercote
538c6626e9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru. 2015-09-14 14:23:12 -07:00
Nicholas Nethercote
ba83ffc5ec Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru. 2015-05-21 00:34:25 -07:00
Masayuki Nakano
bc04e07473 Bug 895274 part.109 Rename NS_SVG_LOAD to eSVGLoad r=smaug 2015-09-07 23:55:51 +09:00
Ted Clancy
3de238708b Bug 1178484 - Part 2: Regenerate gecko's in-tree parser. r=hsivonen 2015-08-28 03:31:24 -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
Chris Peterson
cd0fd3466a Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium 2015-08-25 09:14:38 -07:00
Henri Sivonen
658ddbbb1a Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
Henri Sivonen
55fa40f5a5 Bug 1176681 - Make character buffer allocations in the HTML5 tree builder fallible. r=wchen. 2015-08-25 18:05:46 +03:00
Henri Sivonen
e5447e2f4a Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen. 2015-08-25 18:05:45 +03:00
Henri Sivonen
b936b07af1 Bug 489820 part 1 - Make charRefBuf non-growable and have the same lifetime as the tokenizer. r=wchen. 2015-08-25 18:05:45 +03:00
Henri Sivonen
60bd872c8e Bug 1176668 - Fix overflow avoidance in numeric character reference handling. r=wchen. 2015-08-25 18:05:45 +03:00
Henri Sivonen
abf2d6a74c Bug 559303 - Consolidate strBuf and longStrBuf in the tokenizer. r=wchen. 2015-08-25 18:05:45 +03:00
Xidorn Quan
42ee4a8599 Bug 1196050 - Replace NSCAP_Zero usage with decltype(nullptr). r=froydnj 2015-08-20 10:30:10 +10:00
Christoph Kerschbaumer
a12861eafc Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch) 2015-08-19 10:43:30 -07:00
Francois Marier
300306be73 Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
Code changes
2015-08-12 20:19:11 -07:00
Birunthan Mohanathas
42a1b7ddcb Bug 1185763 - Part 5: Remove now unnecessary nsTArray::AppendElements optimizations in parser/html/. r=froydnj 2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
a44818609c Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj 2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
88ff16fb47 Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj 2015-08-11 08:29:46 -07:00
Boris Zbarsky
5e2335828e Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly 2015-07-14 15:28:57 -04:00
Dragana Damjanovic
e3003eee82 Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Juan Gomez
01df2f691b Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Franziskus Kiefer
16c410b7a8 Bug 1166910 - Referrer attribute for img tag. r=ckerschb, r=hsivonen, r=bz 2015-06-05 15:25:24 -07:00
William Chen
0f426a5b60 Bug 1166910 - Gecko changes for adding referrer attribute. r=hsivonen 2015-05-29 16:43:07 -07:00
William Chen
a3908e9075 Bug 1178513 - Add <extapp> element and interfaces to be used by ACL. r=khuey 2015-06-30 11:27:57 -07:00
Carsten "Tomcat" Book
29a854f0cd Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage 2015-07-01 08:19:28 +02:00
Franziskus Kiefer
2e40f313d0 Bug 1166910 - referrer attribute for img tag. r=hsivonen 2015-06-05 15:25:24 -07:00
Patrick McManus
6d76c92cda bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen 2015-06-19 17:11:42 -04:00
Ryan VanderMeulen
e6131fc8b8 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
2128198065 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Carsten "Tomcat" Book
5ff4dca6c1 Backed out changeset feb7cd25aafb (bug 1174152) for mulet timeout in test_rel_preconnect.html 2015-06-17 16:58:57 +02:00
Patrick McManus
e2775676c4 bug 1174152 link rel=preconnect crossorigin=anonymous r=hsivonen 2015-05-06 10:09:27 -04:00
Andrea Marchesini
0bf63bcbef Bug 1170794 - Improve the length check of the input in nsUnicode*::GetMaxLength, r=dveditz 2015-06-17 12:21:39 +01:00
Henri Sivonen
1d1f1d519f Bug 1173818 - Make jArray.h assert bound checks. r=wchen. 2015-06-12 14:54:31 +03:00