Граф коммитов

11552 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd ac15b0955e Bug 1222575 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in modules/libjar/; r=aklotz 2015-11-03 16:36:32 -05:00
Josh Aas bbb0292ad2 Bug 1180564: Don't implement NSTextInput any more, just NSTextInputClient. r=masayuki 2015-11-07 18:19:49 +09:00
Chris Lord b80cfac62c Backout ed2fdc36728d (Bug 1177842) for undesirable behaviour. r=botond 2015-11-05 13:58:16 +00:00
Andrea Marchesini 9d98f9a481 Bug 1215235 - Drop support for jar: URIs by default, r=bz 2015-11-04 11:19:02 +00:00
Kris Maglione c663cc0727 Bug 1214058: Part 1 - Add a simplified JSON-based add-on update protocol. r=Mossop
--HG--
extra : commitid : HUFAitZpdVA
extra : rebase_source : b2eb9ede0582b804e1e583570e165e27f42c8fa7
extra : source : a4d5d63a03ef3938d95f629a6a9ea31d3e88627d
2015-11-03 14:49:46 -08:00
Wes Kocher 7a3e94be61 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 84b37ed6ea Bug 1214058: Part 1 - Add a simplified JSON-based add-on update protocol. r=Mossop
--HG--
extra : commitid : kx59XtC26O
extra : rebase_source : 95f8fa8f13be16f2353ea3dcaa230a92563e6af6
2015-11-03 14:49:46 -08:00
Nathan Froyd 65fd1f7783 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 17b7d5be31 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 2fc77d7073 Bug 1000592 - Enable CSS Grid by default in non-release channels. r=dholbert 2015-11-03 21:45:33 +01:00
Ben Kelly 8267928bb3 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 042b4d64cd Backed out changeset d8d75be11275 (bug 1220007) 2015-11-03 14:08:04 +01:00
Ben Kelly 537f8dad54 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 ccf2ec68da Bug 1219126 - Move greprefs.js definition in moz.build. r=mshal 2015-10-31 07:32:48 +09:00
Wes Kocher 46439f8894 Backed out changeset 57137bb5c665 (bug 1219126)
--HG--
extra : commitid : 2AioSh3eozm
2015-10-30 10:11:42 -07:00
Ben Kelly 69c8a55480 Bug 1215140 P10 Avoid AddRef'ing the nsIChannel OMT. r=bz 2015-10-29 19:53:25 -07:00
Seth Fowler d8821b6da6 Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-29 16:37:42 -07:00
Mike Hommey b6620df9b1 Bug 1219126 - Move greprefs.js definition in moz.build. r=mshal 2015-10-30 08:19:04 +09:00
Phil Ringnalda a727c1fe68 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 68cc239e9d Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-28 16:40:42 -07:00
James Willcox d51dcbce99 Bug 1214678 - Allow Apple media decoders to work on iOS r=jya 2015-10-28 14:10:28 -05:00
Nicholas Nethercote 3e614fd566 Bug 1186815 (part 2) - Replace nsBaseHashtable::Enumerate() calls in modules/libjar/ with iterators. r=mwu.
--HG--
extra : rebase_source : 524a2788d656fc1d14633f81c851b137af0fac43
2015-10-26 17:35:30 -07:00
Nicholas Nethercote 17162f9052 Bug 1186815 (part 1) - Replace nsBaseHashtable::Enumerate() calls in modules/libjar/ with iterators. r=mwu.
--HG--
extra : rebase_source : 179d4a80182bd1631415c210618d2a54a77abafd
2015-10-26 17:34:38 -07:00
Jean-Yves Avenard 038e893621 Bug 1101885: P4. Enable Intel VP8/VP9 HW decoder by default. r=cpearce 2015-10-29 00:46:30 +11:00
Benoit Girard 5b68a8adf7 Bug 1097321 - Add layers.amd-switchable-gfx.enabled pref. r=jrmuizel
--HG--
extra : commitid : 4X1a35Dm5sB
extra : rebase_source : 9d5a51da0f7f4697edb164a23a24698285c9b704
2015-10-20 12:58:11 -07:00
Birunthan Mohanathas 44936aabb2 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 0d4e98b0d2 Bug 1203359 - Enable interception of opaque responses through service workers; r=bkelly 2015-10-26 20:47:46 -04:00
Chris Lord e31fb8cd6d Bug 1177842 - Introduce separate friction for fling-snap. r=botond
--HG--
extra : rebase_source : 1ce9d27b5208622a9ba14be4b684116adbc6c453
2015-10-26 18:04:02 +00:00
Shih-Chiang Chien 04cd256752 Bug 1217807 - disable MDNS discovery. r=xeonchen. 2015-10-26 01:28:00 +01:00
Carsten "Tomcat" Book 3f4ea95cfa Merge m-c to mozilla-inbound 2015-10-26 11:29:00 +01:00
Carsten "Tomcat" Book 758c43af6b merge mozilla-inbound to mozilla-central a=merge 2015-10-26 10:57:35 +01:00
dimi 975b82b179 Bug 1207727 - Add WPT tests for service worker update algorithm. r=bkelly 2015-10-26 11:03:47 +08:00
Wes Kocher e01755351b Merge m-c to fx-team, a=merge
--HG--
extra : commitid : 5iarrH8FlDy
2015-10-23 15:52:55 -07:00
Patrick McManus 266550b577 bug 1217834 - buzzfeed packet loss r=dragana 2015-10-22 17:46:02 -04:00
Gijs Kruitbosch 6612459260 Bug 1217806 - flip OSK pref on release builds, r=jaws
--HG--
extra : commitid : Dby1tgbTA9G
extra : rebase_source : 4e3917f3cf481be69c6b309a0a398f00a95bf086
2015-10-23 13:17:20 +01:00
Jonathan Hao 3d02a2da65 Bug 1216469 - Bypass verification for signed packages from trust origins. r=valentin 2015-10-22 17:09:44 +08:00
Josh Matthews d3726427db 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 383397be38 Bug 1216697 - Unship Request.cache until the implementation is finished; r=bzbarsky 2015-10-23 15:38:47 -04:00
Phil Ringnalda 6401c0185c 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 591281df75 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 54ba9beffb Bug 1216604 - Ensure that Mozilla list are downloaded immediately in new profiles. r=gcp 2015-10-21 14:34:58 -07:00
Chris Pearce e2337163c0 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 9630ce26b8 Merge b2ginbound to central, a=merge 2015-10-20 14:59:07 -07:00
Jeremy Chen f59482fa1d Bug 1210341 - (v3) Reduce accessiblecaret size. r=TYLin
--HG--
extra : rebase_source : 15fdcdf119d30e1e51d98e69a1f229778aa26256
2015-10-19 01:53:00 +02:00
Carsten "Tomcat" Book 3198b767f9 merge mozilla-inbound to mozilla-central a=merge 2015-10-20 12:00:53 +02:00
Gijs Kruitbosch e182a0c49c Bug 1213845 - enable osk support on windows 8, but hide it behind a preference, r=jaws
--HG--
extra : commitid : HGvNNv1htDF
extra : rebase_source : 7c39d7903bfda6040a202d6784c5a4e469a7eeed
extra : amend_source : af5a54a5fe9f3120c30dfe6ac3b607da596364e9
2015-10-16 16:28:13 +01:00
Nathan Froyd 01583602a9 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

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Andrea Marchesini 51d11d89ea Bug 1214782, r=ehsan
--HG--
extra : rebase_source : f1dec852aa864b681b4417467992c7431f9103bf
2015-10-20 13:32:47 +02:00
Makoto Kato 26c8790fb2 Bug 978679. Implement touch events for GTK3. r=karlt
--HG--
extra : commitid : 7Sm7XcTb8Do
extra : rebase_source : c10ad90f03b90eb34349edc80be110b90cc2a663
2015-04-30 08:29:34 +12:00
Nicholas Nethercote 5b34a25af2 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.

--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00