Commit Graph

446731 Commits

Author SHA1 Message Date
Andrea Marchesini
b134d4fff4 Bug 1215684 - Shut down AudioChannelService in the child process. r=mccr8 2015-10-20 11:04:00 -04:00
Lee Salzman
6b93ba2439 Bug 1205854 - Workaround for Windows printer drivers that can't handle swapped X and Y axes. r=jrmuizel
--HG--
extra : histedit_source : 03180d1b57d978be70be0feb2dbb167b52e49fcf%2C352058d1d245f67feaea2a925ff7dac116390dab
2015-10-20 13:38:57 -04:00
Ryan VanderMeulen
4538efc57a Bug 1214713 - Upgrade SQLite to version 3.9.1. r=mak 2015-10-21 12:19:31 -04:00
Jim Chen
aacb32b312 Bug 1207642 - Work around Dalvik bug by realigning stack on JNI entry. r=snorp
Use the force_align_arg_pointer attribute to force realigning stack at JNI entry points.
2015-10-21 08:27:00 -04:00
Sebastian Kaspari
56e65abbc0 Bug 1204917 - Remove Nightly flag: Always grow close button hit area. r=margaret
--HG--
extra : commitid : 97yxs1SMXdO
extra : rebase_source : 5beeffa3127c330514930545bcabf630c7c9ddcb
2015-10-20 13:29:03 +02:00
Sebastian Kaspari
a887df9ca8 Bug 1204917 - Remove Nightly flag from tab thumbnail aspect ratio. r=margaret
--HG--
extra : commitid : 26N8ECiN3TH
extra : rebase_source : 05f3d5de32afbd55eec0c4c593c8166a8bee4f00
2015-10-20 13:04:12 +02:00
Sebastian Kaspari
e0ef389b25 Bug 1204917 - Remove Nightly flag from full screen tabs tray. r=margaret
--HG--
extra : commitid : 4akotUXYFp5
extra : rebase_source : 5bcf57e7b2da318929df616b33f5f74923864eed
2015-10-20 13:01:48 +02:00
Sebastian Kaspari
220f8575d6 Bug 1204851 - Inline back button in tabs panel layout. r=margaret
Previously we used a ViewStub to only show the back button for some configurations. Now we
show the button always, so we can get rid of the ViewStub.

--HG--
extra : commitid : EcIVAzNG08l
extra : rebase_source : 4bf70217fee2c8913a8343da1bf579b183c81693
2015-10-20 12:48:16 +02:00
Sebastian Kaspari
b20d449c97 Bug 1204917 - Remove Nightly flag for back button in tabs tray. r=margaret
--HG--
extra : commitid : 3eWonkL2jBq
extra : rebase_source : e641b2c31b7082175851eb99c396af56ad2d613c
2015-10-20 12:43:33 +02:00
Thomas Zimmermann
ca6d3097cf Bug 1207480 - Remove B2G Bluedroid configuration from tree. r=shuang
The Bluedroid configuration header for B2G is now located in the repo
of libhardware_moz, as Bluedroid drivers should not depend on Gecko's
source code. This patch removes the configuration header from Gecko.
2015-10-20 07:11:00 +02:00
Johann Hofmann
e602c93ac2 Bug 1198405 - Use MatchPattern to match URLs in tabs.query. r=billm
--HG--
extra : rebase_source : 9a461d879f79cc67fb1f5405f9b68bd605dfa47d
2015-10-19 12:29:29 +02:00
Mark Finkle
81a77e2682 Bug 1210089 - Remove NIGHTLY flag for Switchboard support r=margaret 2015-10-22 01:06:19 -04:00
Mark Finkle
e1b3e2d96d Bug 1210088 - Make sure the Switchboard config fetch acts like a true HTTP GET r=margaret 2015-10-22 01:06:15 -04:00
Mark Finkle
402520db93 Bug 1210088 - Point Switchboard URLs to new mozilla-services endpoint r=margaret 2015-10-22 01:06:09 -04:00
Nick Alexander
d8b296faa4 Bug 1216434 - Don't symlink to objdir in |mach gradle-install|. r=sebastian
DONTBUILD NPOTB

This has always been possible with Gradle -- Gradle doesn't care where
in the file tree resources are found.  (Gradle is perfectly happy to
take resources from outside of the root project directory.)  IntelliJ,
however, displays resources outside of known "content roots" in
special and frankly unhelpful ways.  Here, we avoid that on a
technicality: IntelliJ doesn't acknowledge (or even register a content
root!) for the non-standard AndroidManifest.xml locations set in
build.gradle.  This means we don't see odd content roots in unexpected
places in IntelliJ.

With this change, the formerly failing command

mach clobber && mach configure && mach gradle-install

completes successfully.  That gets us one step closer to being able to
open Fennec in IntelliJ without running additional commands.

--HG--
extra : commitid : 6KuAzJIpq3Y
extra : rebase_source : 0b85181412d86fa49ee52cf7d612dd3c4028dfb6
extra : histedit_source : 6b8d8171810501a0af053df080b336af70c456b6
2015-10-18 16:44:04 -07:00
Nick Alexander
3d37255928 Bug 1216430 - Use Gradle version 2.7. r=sebastian
DONTBUILD NPOTB

--HG--
extra : commitid : A0aZcd0tZL8
extra : rebase_source : df35101b7ee2164837c98f9e8f768d2f8ea8aeb0
extra : histedit_source : 57291b70b841c84d6542ded8f2a3fa0263ae4732
2015-10-18 17:05:29 -07:00
Nick Alexander
6b0e257278 Bug 1208793 - Part 4: Remove 'preprocessed_code' Gradle project. r=sebastian
DONTBUILD NPOTB

This needed the same dependency changes that the previous part did.
There's a nice simplification here because some of the code is now
being compiled in the containing project (base) and not the (now
removed) sibling project.

--HG--
extra : commitid : IHKXiR8SpLr
extra : rebase_source : 0b2e03f0a76ed17782f0bbaba61adbfa547a6ba2
extra : histedit_source : 0c3420152b2c37dfcbb6e11e6ca58e6c03ad7aca
2015-10-19 18:22:32 -07:00
Nick Alexander
8f151be29c Bug 1208793 - Part 3: Remove 'preprocessed_resources' Gradle project. r=sebastian
While testing, I found some issues with the existing dependencies.  To
address them, I've made all project preBuild tasks depend on the
(single) root generateCodeAndResources; this should ensure that the
Make integration happens as early as possible.  In addition, I fixed
the dependencies syncing the generated resources into the build
directory, which weren't quite right.  This works well locally now.

--HG--
extra : commitid : 4Kblf9h0yst
extra : rebase_source : e9e6fa415939f2622a7cfc09f5945e31269338e4
extra : histedit_source : 4cdf1470a0d99b1f805a4fda69d57f425f613421
2015-10-19 18:06:10 -07:00
Nick Alexander
960750c909 Bug 1208793 - Part 2: Remove 'branding' Gradle project. r=sebastian
Technically, branding should be part of the App and not GeckoView, but
we don't have separated resources yet, so in it goes.

--HG--
extra : commitid : 5r00T6BTBRE
extra : rebase_source : ca1411809bb5352617814bc136689d77358fd29c
extra : histedit_source : a435587e3bf16ad3f5457936a0e4efeffa69f9a4
2015-10-19 17:10:53 -07:00
Nick Alexander
b27086641f Bug 1208793 - Part 1: Fix gradle-targets dependencies. r=sebastian
We were both lazy and incomplete before.  Lazy because .aapt.deps is a
sentinel, and doesn't necessarily see relevant changes, due to
timestamps and deletions.  Incomplete because we never forced
generated Java code to be fresh.

--HG--
extra : commitid : JXLe9uWqjhN
extra : rebase_source : 8eaa2d012915ad59d5cd03d7e4a6552ae4db13c1
extra : histedit_source : 231ca7ad88e7965424a8c8a3e80dac68a32980a7
2015-10-19 17:01:26 -07:00
Aaron Klotz
a6a5a83572 Bug 1213567: Prevent neutering from occurring during CreateWindow(Ex) calls; r=jimm
--HG--
extra : rebase_source : 9b5afc18fe334efbe9210e3d61508bb433c5a72f
2015-10-17 13:28:53 -06:00
Jakob Olesen
e00aff10ae Bug 1207827 - Delete Assembler::actualOffset() and transitive closure. r=nbp
The implemetation of Assembler::actualOffset() is now a no-op in all
targets, and it is no longer necessary to rewrite assembler buffer
offsets to their final form after finishing the assembler buffer.

- Delete Assembler::actualOffset() in all targets.
- Delete AsmJSModule::CodeRange::updateOffsets().
- Delete AsmJSModule::updateCodeOffset().
- Delete AsmJSModule::updateOffsets().
- Delete CodeOffsetLabel::fixup().
- Delete ICEnty::fixupReturnOffset().
- Delete LSafepoint::fixupOffset().
- Delete OsiIndex::fixUpOffset().
- Delete PCMappingEntry::fixupNativeOffset().

Also delete all code calling these functions.

--HG--
extra : rebase_source : ff8a0173560e3368c2960442986da41c0b575e49
2015-10-20 12:57:40 -07:00
Jakob Olesen
041f92a59d Bug 1207827 - Remove ARM temporary offset buffers. r=nbp
The ARM assembler no longer needs to keep track of code offsets for
later translation to 'actual' offsets. The AssemblerBuffer offsets
are directly usable now.

Remove tmpDataRelocations_, tmpPreBarriers_, and tmpJumpRelocations_.

--HG--
extra : rebase_source : c07b5a000fa94bb1bbc4220add1af7cd8cbaf22e
2015-10-20 12:57:39 -07:00
Jakob Olesen
901d32e8e5 Bug 1207827 - Remove ARM64 temporary offset buffers. r=nbp
The ARM64 assembler no longer needs to keep track of code offsets for
later translation to 'final' offsets. The AssemblerBuffer offsets are
directly usable now.

Remove tmpDataRelocations_, tmpPreBarriers_, tmpJumpRelocations_, and
the finalOffset() method.

--HG--
extra : rebase_source : 52e73f091b1e63970b9fb37b9c22453b0b37910f
2015-10-20 12:57:39 -07:00
Jakob Olesen
9421e197a2 Bug 1207827 - Eliminate poolSizeBefore(). r=nbp
This method was used by the Assembler::actualOffset() methods to
translate buffer offsets from pre-pool to post-pool numbers. Since
pools are now injected immediately, there is no need to translate
offsets.

All the actualOffset() methods have become no-ops in all our supported
targets.

--HG--
extra : rebase_source : 7985a847bad5bfde2b696e1ff81420aa981d426c
2015-10-20 12:57:39 -07:00
Jakob Olesen
f592a41614 Bug 1207827 - Switch jit::Pool to a LifoAllocPolicy. r=nbp
This is possible because we no longer PodCopy the pools.

Use a more reasonable size for the inline memory in the loadOffsets
vector (8 loads instead of 512). This saves stack space when a
MacroAssembler is created on the stack. Use a matching inline size of 8
entries for the poolData array itself.

Don't drop memory in Pool::reset() by calling placement new - call
Vector::clear() instead which hangs on to previously allocated memory
for use by the next pool.

Delete an unused array of pools in arm64/vixl/MozBaseAssembler-vixl.h.

--HG--
extra : rebase_source : 5bf8228d04b7014934dbc4a4dd035b9508910cb8
2015-10-20 12:57:39 -07:00
Jakob Olesen
2b0c9e8667 Bug 1207827 - Use a Vector for poolInfo_. r=nbp
Use a Vector with 8 preallocated slots and a LifoAllocPolicy allocating
from the parent AssemblerBuffer's lifoAlloc_. We'll rarely need more
than 8 constant pools in a single assembler.

We can't actually allocate memory from this->lifoAlloc_ in the
constructor, but it is OK to capture allocator references like the
Vector constructor does.

Add an assertion to initWithAllocator() to verify that we didn't
allocate anything from lifoAlloc_ before the MacroAssembler constructor
had a chance to install an AutoJitContextAlloc.

--HG--
extra : rebase_source : 13fd97a76f2fbf318b0c30532a0f5f9ebb024a91
2015-10-20 12:57:39 -07:00
Jakob Olesen
ba6685b98f Bug 1207827 - Stop perforating AssemblerBuffers. r=nbp
There is no longer a 1-1 correspondence between buffer slices and
constant pools. We no longer need the ability to truncate a buffer
slice prematurely.

This uses less memory.

--HG--
extra : rebase_source : 11fb7941d197991201f9c064f54de5d3078b53bc
2015-10-20 12:57:39 -07:00
Jakob Olesen
cf990027c9 Bug 1207827 - Copy pool data into buffer immediately. r=nbp
Since constant pools have been simplified such that they always follow
the load instructions referencing them, it is now possible to copy the
pool data into the main assembly buffer right away in finishPool()
instead of deferring the copy to executableCopy(). This has the
important effect that BufferOffset values don't need to be adjusted to
account for the size of injected constant pools.

- In finishPool(), copy the constant pool data into the main assembler
  buffer with putBytesLarge() which allows the potentially large pool
  data to be split over multiple slices.

- Stop copying pool data in executableCopy(). It has already
  been copied in finishPool().

- Simplify the PoolInfo data structure to a simple (firstEntry, offset)
  pair which records the necessary information about a single emitted
  constant pool.

- Rewrite poolEntryOffset() to use the new PoolInfo data.

- Simplify poolSizeBefore() to just return 0. This function will be
  removed entirely in a followup patch.

- Stop patching branches in executableCopy() and delete the
  patchBranch() method. Since buffer offsets are reliable when the
  branches are inserted and when labels are bound, there is no need to
  adjust branches to account for constant pools.

- Delete the BufferSliceTail class. It is no longer necessary to
  maintain a bit vector of branch instructions since we don't rewrite
  branches any longer. Use the plain AssemblerBuffer::Slice class
  instead.

This patch implements the basic functional change of copying pool data
immediately instead of deferring it. Followup patches will clean up the
now redundant code.

--HG--
extra : rebase_source : 719225aef25dbf1b4bb7561391224b3c5f8793a5
2015-10-20 12:57:39 -07:00
Jakob Olesen
cd23e799de Bug 1207827 - Fix ARM64 OOM bugs in Assembler::bind(). r=nbp
--HG--
extra : rebase_source : 2fe66f442dd68ebb8a3cf09cb638f649b9e61466
2015-10-20 12:57:39 -07:00
Jakob Olesen
84e7b07d84 Bug 1207827 - Fix OOM error in ARM64 simulator. r=nbp
--HG--
extra : rebase_source : c787540a53aa5e377fb8c28fd62f28dfe1ace289
2015-10-20 12:57:38 -07:00
Jakob Olesen
4d8122b7f6 Bug 1207827 - Add AssemblerBuffer::putBytesLarge. r=nbp
This new method copies a large amount of data into the assembler
buffer, potentially splitting it across multiple slices.

The existing putBytes() method can only copy into a single slice which
limits the maximum since of data that can be inserted and potentially
wastes space at the end of the previous slice.

--HG--
extra : rebase_source : aab678bd50e232a328748232ca039da7d063639a
2015-10-20 12:57:38 -07:00
Tom Schuster
efac7fe726 Bug 1215814 - Small ThrowIfNotConstructing cleanup. r=efaust 2015-10-20 22:05:10 +02:00
Michael Layzell
a8be3974ec Bug 918771 - Part 3: Update Web Platform tests to check for correct behavior, r=bz 2015-10-20 15:54:17 -04:00
Michael Layzell
d2d7336d08 Bug 918771 - Part 2: Send text/html as MIME type for XHR send() of HTML document, r=bz 2015-10-20 15:54:15 -04:00
Michael Layzell
3a0f4a517e Bug 918771 - Part 1: Move Fragment Serialization logic into nsContentUtils::SerializeNodeToMarkup, r=bz 2015-10-20 15:54:14 -04:00
David Burns
7cc0a899a5 Bug 1206122: Add support for switchToParentFrame r=jgriffin
This allows us from a child frame to go up one level. This is documented
at http://w3c.github.io/webdriver/webdriver-spec.html#switch-to-parent-frame

--HG--
extra : commitid : GtXAxWLM61v
extra : rebase_source : 9b18d51a5dbefb4dad1cb39b229dc3d55cfae26a
extra : histedit_source : d0a0479e0c9946f242efd71e722685447ae48fd1
2015-10-19 21:39:48 +01:00
Eric Rahm
5b38c55967 Bug 1174785 - Part 2: Convert xpcom over to LogModule. r=froydnj
--HG--
extra : rebase_source : 58d3b32bd0174f2540512cef810cafdd3556ef6b
2015-10-19 12:50:14 -07:00
Eric Rahm
e6f7a67577 Bug 1174785 - Part 1: Add LogModule, LogModuleManager, and LazyLogModule. r=froydnj
The logging interface is moved to xpcom/base, a LogModule wrapper for PR_Log is
added, a thread-safe LogModuleManager is added, and a LazyLogModule class used
to lazily load log modules in a thread-safe manner is added.

--HG--
rename : xpcom/glue/Logging.h => xpcom/base/Logging.h
extra : rebase_source : 89b76664d9477e2c894448cdea4dae1c61f8ca24
2015-10-19 12:22:11 -07:00
David Rajchenbach-Teller
595ac9eae2 Bug 1098357 - Make Session Restore talos test e10s-friendly. r=mconley
--HG--
extra : transplant_source : v0S%0C%7Cq%A96i%7B%05%D1%FF%91Q%B3IN%5D%93
2015-10-16 11:07:49 +02:00
James Cheng
a62a1ecc50 Bug 1194606 - Add gtest for demuxed-only scenario in MediaFormatReader. r=jya 2015-10-20 10:47:00 -04:00
James Cheng
f01266ed3f Bug 1194606 - Make MediaDecoderStateMachine capable of requesting different kind (decoded/raw) of media data. r=jya 2015-10-20 05:33:00 -04:00
Jeff Walden
84010a57d1 Bug 1215430 - Refactor RegExp code to be more spec-like in its ordering of things, and eliminate the confusing statefulness of RegExpObjectBuilder. r=efaust
--HG--
extra : rebase_source : 6f5069325e11d3222ce9d2cdc13d09e2506fe359
2015-10-16 00:30:02 -07:00
Jeff Walden
7ed8c84c6d Bug 1215430 - Inline the guts of the shared method implementing |new RegExp(...)| and |RegExp.prototype.compile| into each separate method, for clarity. r=efaust
--HG--
extra : rebase_source : ce7902b93faafdbe23322c6ae2ca214d0d6b3a7c
2015-10-16 00:29:38 -07:00
Nicholas Nethercote
ae59720e00 Bug 1186786 - Replace nsBaseHashtable::EnumerateRead() calls in accessible/ with iterators. r=tbsaunde.
--HG--
extra : rebase_source : 3909fa78de6ce0b3d6acd9fe2017e7cb5021c84f
2015-10-19 17:52:43 -07:00
Masayuki Nakano
4adbaf87c5 Bug 1217275 Fix missing \n in IMMHandler::HandleDocumentFeed(), it was replaced to empty string accidentally r=m_kato 2015-10-23 10:12:15 +09:00
Daniel Holbert
2e2f24455a Bug 1210575 part 9: Remove some obsolete XXXdholbert comments from property_database.js. (no review, comment-only so DONTBUILD) 2015-10-22 17:28:58 -07:00
L. David Baron
adbd67f2a7 Bug 1216431 patch 7 - Back out bug 1209603 patch 6. r=heycam
This backs out all of the patch except that it retains some of the
comment changes for nsStyleContext::mBits.

--HG--
extra : commitid : 9mBuaxmSDjX
extra : rebase_source : 57935f302f350331f46f98dac86f8f833264c5da
2015-10-23 08:57:36 +09:00
L. David Baron
8acc13bdfa Bug 1216431 patch 6 - Back out bug 1209603 patch 8. r=heycam
This requires a little bit of gymnastics since it has to add the inverse
of tests, since the is-a-reset-struct tests originally added in patch 8
were made unconditional in patch 9, and with this backout we now want to
execute the code only for inherited structs.

This also doesn't back out the cleanup to use NS_STYLE_INHERIT_BIT() for
constants rather than nsCachedStyleData::GetBitForSID.

This backs out the part of bug 1209603 whose speed I was concerned about.

--HG--
extra : commitid : 6BWdXCpywlU
extra : rebase_source : 15597857a721a3a399432c8454ecfc7b789e5e2d
2015-10-23 08:57:36 +09:00
L. David Baron
43e7bc5c52 Bug 1216431 patch 5 - Back out half of bug 1209603 patch 10. r=heycam
This leaves the half related to inherited structs, since we can still
bail early for them even without mBits.

--HG--
extra : commitid : 28h25awejXa
extra : rebase_source : 9b92da7d25fc2963c33cab063bca4fef4388a816
2015-10-23 08:57:36 +09:00