Commit Graph

5888 Commits

Author SHA1 Message Date
John Daggett
2a26acbb3c Bug 1224965 p1 - add pref for max substitutions for generics under fontconfig. r=m_kato 2015-11-20 13:35:15 +09:00
Tobias Schneider
77b45e9dd2 Bug 1221677 - "[css-grid] Put the 'subgrid' support behind a pref, disabled by default". r=mats 2015-11-13 13:15:00 +01:00
Phil Ringnalda
9f5bb3f714 Back out changeset 1d431c8667a3 (bug 1209388) for breaking test_can_play_type_mpeg.html (and thus, probably, the playing of audio) on OS X 10.6
CLOSED TREE
2015-11-18 19:25:08 -08:00
Jean-Yves Avenard
250e623786 Bug 1209388: P2. [mp3] Remove AppleMP3Reader. r=kentuckyfriedtakahe
Remove prefs missed during rebase.
2015-11-19 10:52:52 +11:00
Mason Chang
28ca4b5b3d Bug 1208636 - Adjust displayport size based on available system memory. r=kats 2015-11-18 15:48:19 -08:00
Botond Ballo
57d6791cb8 Bug 1217515 - Clean up the way touch event support is configured. r=roc
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
  platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value
2015-10-26 16:06:27 -04:00
Valentin Gosu
5e2fb6ab16 Bug 1218918 - Issues with devtools "work offline" when connectivity changes r=mcmanus,dao
* Flip the network.offline-mirrors-connectivity pref, so that ioservice.offline means the same as devtools work offline
* ioService.manageOfflineStatus shouldn't be changed when going to offline mode.
* Add logging to nsIOService in order to track offline/connectivity issues
2015-11-18 15:25:39 +01:00
James Willcox
bf64ea1e0c Bug 1225287 - Use more reasonable APZ multipliers on mobile 2015-11-17 10:09:16 -05:00
William Chen
4481b2e455 Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge 2015-11-16 21:33:11 -08:00
Phil Ringnalda
53ed38ad2d Back out 3 changesets (bug 1210211) for b2g build bustage
CLOSED TREE

Backed out changeset 204a1746f421 (bug 1210211)
Backed out changeset e5d16111e809 (bug 1210211)
Backed out changeset b78d00c9af42 (bug 1210211)
2015-11-16 19:34:14 -08:00
William Chen
5c41ea00c1 Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge 2015-11-16 13:20:09 -08:00
Cameron McCormack
fa1b4b0db7 Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc 2015-11-16 19:18:45 +11:00
Wes Kocher
d2a6b5e418 Backed out changeset 4efb6cc4fd5d (bug 1225004) for build bustage CLOSED TREE 2015-11-16 14:51:17 -08:00
Cameron McCormack
eb6607915c Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc 2015-11-16 19:18:45 +11:00
Ben Kelly
74ebcbe8e0 Bug 1217909 P8 Track navigation interceptions per scope in ServiceWorkerManager. r=catalinb 2015-11-16 08:04:11 -08:00
Nigel Babu
140d783020 Backed out changeset 6d47b0590988 (bug 1225004) for ASAN build bustage on a CLOSED TREE 2015-11-16 14:46:58 +05:30
Cameron McCormack
79d069eaee Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc 2015-11-16 19:18:45 +11:00
Daniel Stenberg
79a5320acd Bug 1207798 - add pref to toggle proxy behavior when inaccessible. r=mcmanus 2015-11-10 15:27:45 +01:00
Phil Ringnalda
63560ca236 Back out 9 changesets (bug 1214305) for e10s devtools browser_bug1045902_console_csp_ignore_reflected_xss_message.js failures
Backed out changeset 82929be36e95 (bug 1214305)
Backed out changeset e926606aefbf (bug 1214305)
Backed out changeset 226c83ca9a2a (bug 1214305)
Backed out changeset 88ab26108f2d (bug 1214305)
Backed out changeset 2e3e4f256d46 (bug 1214305)
Backed out changeset 347cd0f8f1e3 (bug 1214305)
Backed out changeset be072bba15fc (bug 1214305)
Backed out changeset 3b85acbe7be7 (bug 1214305)
Backed out changeset 49b930683c02 (bug 1214305)
2015-11-14 10:09:58 -08:00
Ehsan Akhgari
ed92e70636 Bug 1214305 - Part 3: Add a nsIInterceptedChannel.secureUpgradedChannelURI helper; r=jdm 2015-11-02 11:27:00 -05:00
Maire Reavy
af838ad249 Bug 1201832 - Add unify's domains to the screensharing whitelist. r=jesup 2015-11-13 17:38:45 -05:00
Wes Kocher
4334870e05 Backed out changeset b6edabc35c21 (bug 1217515) for mulet reftest failures 2015-11-13 12:11:05 -08:00
Botond Ballo
0215c25618 Bug 1217515 - Clean up the way touch event support is configured. r=roc
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
  platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value
2015-10-26 16:06:27 -04:00
Jonas Sicking
a5c3f20e97 Bug 990270 - Enable navigator.sendBeacon by default on Firefox OS. r=fabrice 2015-11-12 12:40:45 -08:00
Benoit Girard
e7a9b7f7b5 Bug 1223540 - Add a pref for CGL's multithreaded mode (EMPEngine). r=jrmuizel 2015-11-10 16:14:24 -05:00
Kartikaya Gupta
aff0bd88ad Bug 898075 - Remove the mozbrowserasyncscroll event from Gecko. r=botond,kanru,sicking 2015-11-11 10:17:47 -05:00
Jonathan Kew
6393c0d04d Bug 1122918 - Put the logical values for 'float' and 'clear' behind a pref, and enable them only on nightly builds and for B2G. r=heycam 2015-11-10 09:07:01 +00:00
Kit Cambridge
e901a1c306 Bug 1210896, Part 1 - Use Console.jsm to log Push errors. r=mt 2015-11-09 13:58:32 -08:00
Kartikaya Gupta
b84ed986fc Bug 1174532 - Even if the APZC is not pannable, have a small slop area to consume touchmove events. r=botond 2015-11-09 16:42:34 -05:00
Nathan Froyd
e16a4caa8c Bug 1222575 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in modules/libjar/; r=aklotz 2015-11-03 16:36:32 -05:00
Josh Aas
9427b573f9 Bug 1180564: Don't implement NSTextInput any more, just NSTextInputClient. r=masayuki 2015-11-07 18:19:49 +09:00
Chris Lord
457f3bcd31 Backout ed2fdc36728d (Bug 1177842) for undesirable behaviour. r=botond 2015-11-05 13:58:16 +00:00
Andrea Marchesini
76f380944b Bug 1215235 - Drop support for jar: URIs by default, r=bz 2015-11-04 11:19:02 +00:00
Kris Maglione
7ffbc9e953 Bug 1214058: Part 1 - Add a simplified JSON-based add-on update protocol. r=Mossop 2015-11-03 14:49:46 -08:00
Wes Kocher
1aa2dd2be4 Backed out 2 changesets (bug 1214058) for xpcshell bustage
Backed out changeset 90e625ac70b2 (bug 1214058)
Backed out changeset a4d5d63a03ef (bug 1214058)
2015-11-03 16:06:23 -08:00
Kris Maglione
b55ae08207 Bug 1214058: Part 1 - Add a simplified JSON-based add-on update protocol. r=Mossop 2015-11-03 14:49:46 -08:00
Nathan Froyd
a866bf7d6f Bug 1219310 - part 2 - keep track of how much pref file we have read; r=njn
Looking at a preference file read with strace typically looks like:

open("...", O_RDONLY) = X
...
read(X, "...", SIZE) = SIZE
read(X, "...", SIZE) = 0
...

There's no reason to call Read() and make another syscall to determine
there's no data left for reading.  We can keep track of how much we've
read at minimal cost and thus determine for ourselves when we are done.
2015-10-28 12:19:03 -04:00
Nathan Froyd
8ecc1d6489 Bug 1219310 - part 1 - ask the prefs file for its size directly; r=njn
Calling nsIInputStream::Available on nsIFileInputStreams is relatively
expensive, as it requires three system calls: one to determine the
current file position, one to seek to the end file position, and one to
rewind to the previous file position.

We can do better by asking the file for its size directly, prior to
opening the stream.  This only requires one system call, stat, and is
thus superior--at least in considering the number of system calls.
2015-10-28 12:16:33 -04:00
Mats Palmgren
7e5d43cd58 Bug 1000592 - Enable CSS Grid by default in non-release channels. r=dholbert 2015-11-03 21:45:33 +01:00
Ben Kelly
5928de9149 Bug 1220007 P2 Make InterceptedChannel's collect logs locally and only flush to nsIChannel on main thread r=bz 2015-11-03 11:20:56 -08:00
Carsten "Tomcat" Book
111855e600 Backed out changeset d8d75be11275 (bug 1220007) 2015-11-03 14:08:04 +01:00
Ben Kelly
d4d90a81c2 Bug 1220007 P2 Make InterceptedChannel's collect logs locally and only flush to nsIChannel on main thread r=bz 2015-11-02 12:04:29 -08:00
Mike Hommey
712b747ca3 Bug 1219126 - Move greprefs.js definition in moz.build. r=mshal 2015-10-31 07:32:48 +09:00
Wes Kocher
9b4b36e1bc Backed out changeset 57137bb5c665 (bug 1219126) 2015-10-30 10:11:42 -07:00
Ben Kelly
33e095fae1 Bug 1215140 P10 Avoid AddRef'ing the nsIChannel OMT. r=bz 2015-10-29 19:53:25 -07:00
Seth Fowler
fb69ea022a Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-29 16:37:42 -07:00
Mike Hommey
7dff89ad27 Bug 1219126 - Move greprefs.js definition in moz.build. r=mshal 2015-10-30 08:19:04 +09:00
Phil Ringnalda
51a93c44eb Back out 8 changesets (bug 1207355) for OS X 10.10 reftest failures in generated-content/
CLOSED TREE

Backed out changeset aafd6db2fbb4 (bug 1207355)
Backed out changeset 9dd950b837fb (bug 1207355)
Backed out changeset e941e0e106a1 (bug 1207355)
Backed out changeset ecebca101fcb (bug 1207355)
Backed out changeset 08f2017137e1 (bug 1207355)
Backed out changeset 3dc69e37c9b4 (bug 1207355)
Backed out changeset bcdf51edb121 (bug 1207355)
Backed out changeset 1d4c00dbf49a (bug 1207355)
2015-10-28 22:57:43 -07:00
Seth Fowler
cef55f867e Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-28 16:40:42 -07:00
James Willcox
45f3fb7b19 Bug 1214678 - Allow Apple media decoders to work on iOS r=jya 2015-10-28 14:10:28 -05:00
Nicholas Nethercote
f7ec3dff73 Bug 1186815 (part 2) - Replace nsBaseHashtable::Enumerate() calls in modules/libjar/ with iterators. r=mwu. 2015-10-26 17:35:30 -07:00
Nicholas Nethercote
a5431ee271 Bug 1186815 (part 1) - Replace nsBaseHashtable::Enumerate() calls in modules/libjar/ with iterators. r=mwu. 2015-10-26 17:34:38 -07:00
Jean-Yves Avenard
7dcad9c068 Bug 1101885: P4. Enable Intel VP8/VP9 HW decoder by default. r=cpearce 2015-10-29 00:46:30 +11:00
Benoit Girard
9d19429c30 Bug 1097321 - Add layers.amd-switchable-gfx.enabled pref. r=jrmuizel 2015-10-20 12:58:11 -07:00
Birunthan Mohanathas
a535083ab4 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Ehsan Akhgari
961fe0ab76 Bug 1203359 - Enable interception of opaque responses through service workers; r=bkelly 2015-10-26 20:47:46 -04:00
Chris Lord
e2802f55df Bug 1177842 - Introduce separate friction for fling-snap. r=botond 2015-10-26 18:04:02 +00:00
Shih-Chiang Chien
2a41b723b0 Bug 1217807 - disable MDNS discovery. r=xeonchen. 2015-10-26 01:28:00 +01:00
Carsten "Tomcat" Book
ac441ed762 Merge m-c to mozilla-inbound 2015-10-26 11:29:00 +01:00
Carsten "Tomcat" Book
2dbe6c23a9 merge mozilla-inbound to mozilla-central a=merge 2015-10-26 10:57:35 +01:00
dimi
82b187fea0 Bug 1207727 - Add WPT tests for service worker update algorithm. r=bkelly 2015-10-26 11:03:47 +08:00
Wes Kocher
6c59a72f4e Merge m-c to fx-team, a=merge 2015-10-23 15:52:55 -07:00
Patrick McManus
bf49d29441 bug 1217834 - buzzfeed packet loss r=dragana 2015-10-22 17:46:02 -04:00
Gijs Kruitbosch
99f0e5c2ac Bug 1217806 - flip OSK pref on release builds, r=jaws 2015-10-23 13:17:20 +01:00
Jonathan Hao
1e4dab63ca Bug 1216469 - Bypass verification for signed packages from trust origins. r=valentin 2015-10-22 17:09:44 +08:00
Josh Matthews
3239c406c6 Bug 1173811 - Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly 2015-10-22 09:23:39 -04:00
Ehsan Akhgari
861bbb31bc Bug 1216697 - Unship Request.cache until the implementation is finished; r=bzbarsky 2015-10-23 15:38:47 -04:00
Phil Ringnalda
b4d210227c Back out 2 changesets (bug 1173811) for test_synthesized_response.js timeouts
CLOSED TREE

Backed out changeset 56bc1314e660 (bug 1173811)
Backed out changeset 0ad51d302ba9 (bug 1173811)
2015-10-21 20:21:05 -07:00
Josh Matthews
b88a44b092 Bug 1173811 - Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly 2015-10-21 00:05:40 -04:00
Francois Marier
104759bc8e Bug 1216604 - Ensure that Mozilla list are downloaded immediately in new profiles. r=gcp 2015-10-21 14:34:58 -07:00
Chris Pearce
4d729d7483 Bug 1205083 - Don't enable low latency WMF video decoding as it crashes sometimes. r=jya 2015-10-21 21:17:56 +13:00
Wes Kocher
eaf328ceb9 Merge b2ginbound to central, a=merge 2015-10-20 14:59:07 -07:00
Jeremy Chen
c74c0fe875 Bug 1210341 - (v3) Reduce accessiblecaret size. r=TYLin 2015-10-19 01:53:00 +02:00
Carsten "Tomcat" Book
c880577c82 merge mozilla-inbound to mozilla-central a=merge 2015-10-20 12:00:53 +02:00
Gijs Kruitbosch
1cdf893d96 Bug 1213845 - enable osk support on windows 8, but hide it behind a preference, r=jaws 2015-10-16 16:28:13 +01: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
Andrea Marchesini
03f2438f81 Bug 1214782, r=ehsan 2015-10-20 13:32:47 +02:00
Makoto Kato
fc62c1d156 Bug 978679. Implement touch events for GTK3. r=karlt 2015-04-30 08:29:34 +12: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
Carsten "Tomcat" Book
ca1d229007 Backed out changeset 2f909d41108b (bug 978679) for bustage on a CLOSED TREE 2015-10-19 13:22:55 +02:00
Makato Kato
becef386ca Bug 978679 - Implement touch events for GTK3. r=karlt 2015-10-19 23:04:52 +13:00
Jonas Sicking
f79de0661c Bug 1215745: Safer implemetation of nsJarChannel::AsyncOpen2. r=ckerschb 2015-10-18 20:20:29 -07:00
Chris Pearce
312848539e Bug 1214932 - Remove fragmented-mp4 from media prefs. r=jya 2015-10-15 14:51:28 +13: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
Aaron Klotz
206511be8b Bug 1211262: Ensure that STORED entries in ZIP are considered corrupt if compressed and uncompressed sizes differ; r=mwu 2015-10-13 12:20:25 -06:00
Wes Kocher
c5f64af322 Backed out changeset 6d7a8e19086c (bug 1211262) for wError build bustage CLOSED TREE 2015-10-13 13:59:15 -07:00
Aaron Klotz
a8d1e2c8cc Bug 1211262: Ensure that STORED entries in ZIP are considered corrupt if compressed and uncompressed sizes differ; r=mwu 2015-10-13 12:20:25 -06:00
Chris Pearce
65938600aa Bug 1209385 - Backout 417dab86a413 and 6078e8b4878b. r=backout 2015-10-14 19:42:25 +13:00
Henry
91f3ca4967 Bug 1210235 - Skip package verification if pref out or no signature. The package would be treated unsigned. r=valentin 2015-10-12 15:38:41 +08: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
Timothy Nikkel
72d9557ba9 Bug 1213953. Remove pref "layout.imagevisibility.enabled_for_browser_elements_only", it is unused and obsolete. r=seth 2015-10-12 13:50:16 -05:00
Hiroyuki Ikezoe
279cfef515 Bug 1167627 - Part 2: Use mozinfo in modules/libmar/. r=rstrong 2015-10-11 21:48:00 +02:00
Morris Tseng
b1e15627bf Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.
2015-10-12 11:21:03 +08:00
Jean-Yves Avenard
d8a8bf0881 Bug 1213173: Always use FFmpeg regardless of version. r=kentuckyfriedtakahe
We don't need to prevent using FFmpegDecoderModule on older version anymore
2015-10-12 10:00:04 +11:00
Steve Singer
8aa08a28b7 Bug 1213136 - Declare BrotliPullByte before it is used. r=mcmanus 2015-10-11 18:13:10 +02:00
Xidorn Quan
958a06e546 Bug 1213123 - Make Preferences::SetString accept char16ptr_t instead of char16_t*. r=froydnj 2015-10-10 12:19:23 +11:00
Ehsan Akhgari
23271d86e1 Bug 1213150 - Part 3: Remove nsIInterceptedChannel.isNavigation; r=jdm 2015-10-09 10:52:56 -04:00
Ehsan Akhgari
3163858808 Bug 1213150 - Part 2: Rework ShouldPrepareForIntercept() in terms of subresource requests; r=jdm 2015-10-09 10:52:55 -04:00
Matt Howell
2a8b1b4fe3 Bug 1209551 - Don't read past the end of a buffer in libmar
The index section of a MAR archive file contains several fixed-length fields
and also variable-length names for each file in the archive, terminated by a
null byte. Since that makes the length of the index variable, the length of the
entire index is also provided in the file.
When libmar opens a file, it allocates a buffer with the length given in the
file and reads the index from the file into that buffer.
mar_consume_index() then parses the entire index from that copy,
trying to make sure it doesn't read past the buffer it was given.

The length of the buffer is given to mar_consume_index()
by providing it a pointer to one byte past the end of the buffer.
However, mar_consume_index() treats this pointer as pointing *to* the end.
Therefore, it is possible for a malformed MAR file (one where the stated length
is less than the real length) to trigger a read of one byte beyond the
allocated memory.

Fix this by failing the parse when we reach the buffer end pointer minus one,
instead of when we reach that address itself.
2015-10-06 09:11:43 -07:00