Commit Graph

155958 Commits

Author SHA1 Message Date
Nicholas Nethercote
7e277cbf48 Bug 921224 (part 1) - Don't use ballast in MarkStack. r=wmccloskey.
--HG--
extra : rebase_source : f847b35b7d5879816f1cde112c1f3cbf0fe58414
2013-11-14 18:43:11 -08:00
Joshua Cranmer
aa46ce9d92 Bug 940202 followup, due to missing a review comment. 2013-11-19 00:16:34 -06:00
Joshua Cranmer
40f2b0e149 Bug 940202 - Make FINAL_LIBRARY work with comm-central, r=glandium
--HG--
extra : rebase_source : fc8bc5cf6e69be02eeefa7dd98eb5273998831db
2013-11-19 00:12:25 -06:00
Chris Peterson
4a2b179b07 Bug 939578 - Build netwerk/streamconv in unified mode. r=mcmanus 2013-11-16 23:33:56 -08:00
Kyle Huey
0d9571cd68 Bug 940071: Free the proto and iface cache for generated globals. r=bz 2013-11-19 14:05:42 +08:00
Kyle Huey
017986a69c Bug 936327. r=bent 2013-11-19 14:05:41 +08:00
Phil Ringnalda
aa4f4a9e99 Back out 4fd2bf2ec8db (bug 939662) for Windows build bustage
CLOSED TREE
2013-11-18 21:34:48 -08:00
Phil Ringnalda
e4aeb333c0 Back out 4d8015a52178 (bug 936566) for build bustage 2013-11-18 21:34:23 -08:00
Nicholas Nethercote
20c49820fd Bug 819801 - In DMD builds, check that SQLite's reporting of its total memory consumption are correct. r=asuth.
(NPOTB because it's DMD-only changes.)
2013-11-15 05:11:10 -08:00
Jeff Muizelaar
6da588e57d Bug 845874. Switch to Y-X banded regions. r=roc
Previously our region code was just a simple y,x sorted list of
non-intersecting rectangles. This can cause us to have simple regions
represented in a complex unoptimizable way.

Switching to pixman regions gives us a canonical region implementation.

There are some cases when this can cause performance regressions.

For example, with the old region code we end up with this region:
http://people.mozilla.org/~jmuizelaar/region-pre.html
which is represented like this:
http://people.mozilla.org/~jmuizelaar/region-post.html
with the new code.

We call SimplifyOutward(4) on this. With old regions we can't simplify it so we
end up taking the bounds and get 1 rect. With the new regions we have only 3
rects to start and so we do nothing. The difference between 3 rects and 1 rect
cause D2D to do a PushLayer() instead of a ClipRect() and that seems to be the
causes for the regression.

--HG--
extra : rebase_source : 65e0d29d67b51a3780448eaecfde33dbcb6b99b1
2013-11-18 13:01:54 -05:00
Benoit Girard
625be5b3b4 Bug 939950 - Build gfx/2d in unified mode. r=bjacob,ehsan,bas
--HG--
extra : rebase_source : 4776cc15a2de124149624b8297ae0c4953621eae
2013-11-18 16:45:14 -05:00
Benoit Girard
d2974b1b18 Bug 936566 - Print mask layers in layers dump. r=nrc
--HG--
extra : rebase_source : cb960d4f8880f9c3fd39fafc8a4c8a21f6a19596
2013-11-18 20:22:41 -05:00
Mark Finkle
f4dd29d30f Backout 86253e0141c8 to avoid cross-branch merge isses from fx-team and bug 913985 2013-11-18 23:52:01 -05:00
Mike Hommey
7efe3105fb Bug 938437 - Replace nsStaticXULComponents.cpp with smart use of sections. r=bsmedberg,irc-r=decoder 2013-11-19 13:45:31 +09:00
Mark Finkle
f516c210c6 Bug 939680 - Implement nsINetworkLinkService.linkType on Android r=blassey 2013-11-18 23:43:09 -05:00
Nicholas Cameron
598a82835d merge again 2013-11-19 17:40:32 +13:00
Jim Blandy
34f45f6bbf Bug 936143 - Part 2: Simplify and fix js_GetScriptLineExtent. (r=shu) 2013-11-18 20:39:57 -08:00
Nicholas Cameron
5e244c94b1 merge 2013-11-19 17:39:24 +13:00
Shu-yu Guo
33f7783818 Bug 936143 - Part 1: Add Debugger.Script.lineCount test where the script's source notes end in newline notes. (r=jimb) 2013-11-18 20:38:52 -08:00
Mike Conley
d07a108d77 Bug 457296 - Allow nsIPermissionManager to accept mailto URLs. r=jdm. 2013-11-18 23:34:00 -05:00
John Daggett
b18d80483b merge again 2013-11-19 13:32:34 +09:00
John Daggett
061a55265d merge 2013-11-19 13:31:47 +09:00
John Daggett
d8b0337fe2 Bug 913264 - add reftest for none value of font-variant-ligatures. r=jfkthame 2013-11-19 13:30:25 +09:00
John Daggett
f66ccc7e96 Bug 913264 - add none value to font-variant-ligatures. r=dbaron 2013-11-19 13:30:25 +09:00
Paul Adenot
06e81488b1 Bug 919215 - Start the AudioStream on creation when in low-latency mode, and let it underrun. r=roc
The BufferedAudioStream buffers the data it gets through the Write() calls and
what is consumed by the callback. This means that if the audio producer starts
Write()ing data right after Start()ing the stream, data will accumulate in this
buffer and won't be consumed. Eventually, the buffer will be of a certain size
before it begins to be consumed by the callback, and this means an
umcompressible latency (because the data will be written at more or less the
same rate as it is produced).

This patch start the BufferedAudioStream right away when it is created, dropping
the silent AudioSegment until it finds real data (and padding with silence is
then done at the beginning). The stream will underrun, but the callback will
synthetize silence, avoiding overbuffering in the BufferedAudioStream. This
ensures minimal latency cause by the buffering.

Note that the clock will still advance, so this will not change the behavior of
content that has leading silence.
2013-11-19 10:43:15 +13:00
Matthew Gregan
fdcb4e1cac Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce
--HG--
extra : rebase_source : 922db8de8e9103e3001c26f23ed7402efa8237f5
2013-11-18 17:22:47 +13:00
Christian Holler
2ec98848e2 Bug 934641 - Switch ASan tests to using the low-memory config instead of the mid-memory config, to work around intermittent OOM failures, r=philor 2013-11-14 01:44:41 +01:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
9c3682bcd9 Bug 939632 - Allow LIBRARY_NAME to be omitted when FINAL_LIBRARY is defined. r=gps 2013-11-19 11:48:13 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
56b313a90d Bug 939074 - Infer LIBXUL_LIBRARY from FINAL_LIBRARY. r=gps 2013-11-19 11:47:52 +09:00
Mike Hommey
9ec00225de Bug 939622 - Remove LIBXUL_LIBRARY for intermediate libs that end up in gkmedias. r=gps
What LIBXUL_LIBRARY does is:
  - Imply FORCE_STATIC_LIB
  - Build with -DIMPL_LIBXUL
  - Build with -DMOZILLA_INTERNAL_API

Those intermediate libs that end up in gkmedias and have LIBXUL_LIBRARY defined
in their moz.build are all third party code (or handled like third party code).
Besides FORCE_STATIC_LIB, none of the side effects of LIBXUL_LIBRARY should be
needed.
2013-11-19 11:47:49 +09:00
Mike Hommey
f94778cdf9 Bug 939071 - Kill SHORT_LIBNAME. r=ted 2013-11-19 11:47:47 +09:00
Mike Hommey
636b672657 Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal 2013-11-19 11:47:45 +09:00
Mike Hommey
3b185d79c9 Bug 939044 - Make the build frontend and backend forget about MODULE. r=gps 2013-11-19 11:47:44 +09:00
Mike Hommey
b18be7aacd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
094cb7c044 Bug 939044 - Remove the last uses of the MODULE variable in makefiles. r=gps 2013-11-19 11:47:30 +09:00
Mike Hommey
b73ed76683 Bug 939042 - Remove library building related variables in directories that build no C/C++ sources. r=mshal 2013-11-19 11:47:29 +09:00
Mike Hommey
9c5c5d8f00 Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey
f85ec564e8 Bug 939039 - Make FINAL_LIBRARY imply FORCE_STATIC_LIB. r=gps
This also moves the LIBXUL_LIBRARY implies FORCE_STATIC_LIB test in the emitter
instead of config.mk, since both variables are defined in moz.build exclusively.
backend.mk can end up with both LIBXUL_LIBRARY and FORCE_STATIC_LIB defined, but
it's just fine.
2013-11-19 11:47:26 +09:00
Mike Hommey
71b60fe95d Bug 935881 - Remove SHARED_LIBRARY_LIBS handling for moz.build. r=gps 2013-11-19 11:47:18 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Mike Hommey
015bd905d7 Bug 935881 - Add a FINAL_LIBRARY variable to use in moz.build. r=gps
This will be used to declare in what shared library or intermediate static
library objects are going to be linked into.
2013-11-19 11:46:42 +09:00
Mike Hommey
cf857e87f3 Bug 935881 - Make libxul's LIBRARY_NAME 'xul' on mac. r=gps 2013-11-19 11:46:40 +09:00
Wes Kocher
227b9b8a2c Merge inbound to m-c on a CLOSED TREE 2013-11-18 18:30:47 -08:00
Wes Kocher
d600490156 Merge fx-team to m-c on a CLOSED TREE 2013-11-18 18:25:57 -08:00
Wes Kocher
5dbb537c3e Backed out 2 changesets (bug 932783, bug 937750) for unrelated mochitest-metro test bustage on a CLOSED TREE
Backed out changeset 7acfc449097b (bug 937750)
Backed out changeset 3bde0e601ab8 (bug 932783)
2013-11-18 17:45:17 -08:00
Wes Kocher
cb635bb7ad Backed out changeset 71dc115fe230 (bug 929766) for other m-bc bustage on what I'm guessing is a CLOSED TREE 2013-11-18 16:03:13 -08:00
Jim Mathies
e532e9ae7b Bug 938685 - Tab tray peek should delay if there's mouse activity the tray. r=rsilveira 2013-11-18 17:29:00 -06:00