Commit Graph

1393 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
f5bb659c76 Bug 1224694 - Unify and clean up initialization of CSP (r=sicking) 2016-01-14 13:21:31 -08:00
Nigel Babu
b6ccf7a9ba Backed out changeset f001a01c85d7 (bug 1224694) for browser-chrome bustage on a CLOSED TREE 2016-01-14 08:04:50 +05:30
Christoph Kerschbaumer
d8811678f0 Bug 1224694 - Unify and clean up initialization of CSP (r=sicking) 2016-01-13 15:51:30 -08:00
Wilmer Paulino
9108cff25e Bug 1237668 - Remove nsSimpleUnicharStreamFactory r=froydnj 2016-01-11 19:31:29 -05:00
Chris Peterson
764e308681 Bug 1236322 - Part 2: Suppress -Wimplicit-fallthrough warnings in parser/html generated code. r=hsivonen 2015-12-25 00:00:36 -07:00
Chris Peterson
8fb4f37431 Bug 1236322 - Part 1: Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in parser/. r=hsivonen
parser/html/nsHtml5Highlighter.cpp:572:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

parser/htmlparser/nsScanner.cpp:425:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
parser/htmlparser/nsScanner.cpp:780:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-12-25 00:01:32 -07:00
Nicholas Nethercote
4676f038a8 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Nicholas Nethercote
320b190914 Bug 1232219 (part 2.5) - Fix -Wunused warnings in parser/expat/lib/. r=hsivonen. 2015-12-16 22:56:34 -08:00
Nathan Froyd
902655adb1 Bug 1229962 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in parser/html/; r=hsivonen 2015-11-19 20:19:57 -05:00
Christoph Kerschbaumer
2b66f1c976 Bug 1227554 - Default to NullPrincipal if doc is not available within expatdriver. r=bz 2015-12-02 10:44:59 -08:00
Olli Pettay
94829a0cb5 Bug 1134648, handle dynamic changes to rel=dns-prefetch, r=bz 2015-12-01 19:22:20 +02:00
Franziskus Kiefer
2050e99124 Bug 1187357 - rename referrer attribute to referrerpolicy. r=hsivonen 2015-11-30 16:13:03 -08:00
William Chen
f83443eb1d Bug 1187357 - Generated code for renaming referrer to referrerpolicy in html parser. r=hsivonen 2015-11-30 16:12:59 -08:00
Christoph Kerschbaumer
5c5459f2d8 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
483c0c02d4 Bug 1182546 - Use channel->Open2() in parser/htmlparser/nsExpatDriver.cpp (r=bz) 2015-11-20 10:55:54 -08:00
Nigel Babu
5b389aeb02 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
1c7af76fc0 Bug 1182546 - Use channel->Open2() in parser/htmlparser/nsExpatDriver.cpp (r=bz) 2015-11-18 19:23:28 -08:00
Christoph Kerschbaumer
a3d72fa5d6 Bug 663570 - MetaCSP Part 4: Speculative parser changes (r=bz) 2015-11-14 19:28:51 -08:00
Birunthan Mohanathas
f6aa64ea3b Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Ryan VanderMeulen
c76533b080 No bug - Various crashtest manifest cleanups. 2015-10-31 19:35:27 -04:00
Andrew McCreight
1b9d8f8692 Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap 2015-10-31 06:26:44 -07:00
Tooru Fujisawa
9a9e4140ab Bug 1217422 - Remove for-each from parser/. r=jst 2015-10-19 02:20:47 +09:00
Ting-Yu Lin
786126efb4 Bug 1215781 - Use MOZ_UTF16 to generate sTagUnicodeTable. r=mrbkap 2015-10-16 22:56:00 +02: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
Boris Zbarsky
d1f8bb3f6d 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
72b24f7c05 Bug 1207499 - Part 7: Remove use of expression closure from parser/. r=jst 2015-09-23 18:42:18 +09:00
Nicholas Nethercote
248f611da3 Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
Nicholas Nethercote
87b72844e7 Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj. 2015-09-10 00:50:51 -07:00
Nicholas Nethercote
f71059bd78 Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru. 2015-09-14 14:23:47 -07:00
Nicholas Nethercote
acbee27050 Bug 1121760 (part 5) - Remove PL_DHashMarkTableImmutable(). r=poiru. 2015-09-14 14:23:27 -07:00
Nicholas Nethercote
6f753fbb80 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru. 2015-09-14 14:23:12 -07:00
Nicholas Nethercote
e600d6de49 Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru. 2015-05-21 00:34:25 -07:00
Masayuki Nakano
726a94cc6d Bug 895274 part.109 Rename NS_SVG_LOAD to eSVGLoad r=smaug 2015-09-07 23:55:51 +09:00
Ted Clancy
357d188e33 Bug 1178484 - Part 2: Regenerate gecko's in-tree parser. r=hsivonen 2015-08-28 03:31:24 -07:00
Nicholas Nethercote
10d95cca57 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
40a65bd331 Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium 2015-08-25 09:14:38 -07:00
Henri Sivonen
ca863ef080 Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
Henri Sivonen
5f4681cd7a Bug 1176681 - Make character buffer allocations in the HTML5 tree builder fallible. r=wchen. 2015-08-25 18:05:46 +03:00
Henri Sivonen
1dadb0c45e 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
14f70da138 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
5cceb5f091 Bug 1176668 - Fix overflow avoidance in numeric character reference handling. r=wchen. 2015-08-25 18:05:45 +03:00
Henri Sivonen
d3c97c628e Bug 559303 - Consolidate strBuf and longStrBuf in the tokenizer. r=wchen. 2015-08-25 18:05:45 +03:00
Xidorn Quan
6f7cb57689 Bug 1196050 - Replace NSCAP_Zero usage with decltype(nullptr). r=froydnj 2015-08-20 10:30:10 +10:00
Christoph Kerschbaumer
3d815cc0ed Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch) 2015-08-19 10:43:30 -07:00
Francois Marier
6349d3c212 Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
Code changes
2015-08-12 20:19:11 -07:00
Birunthan Mohanathas
16e6be1e15 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
fd290c6aa3 Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj 2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
0e83cd889c Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj 2015-08-11 08:29:46 -07:00
Boris Zbarsky
cb0a5d1aa0 Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly 2015-07-14 15:28:57 -04:00
Dragana Damjanovic
c7fc0a288e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00