Commit Graph

314609 Commits

Author SHA1 Message Date
Jonathan Griffin
c5cc838664 Bug 887841 - Be very careful when deleting a session that may not exist, r=mdas 2013-07-02 10:48:55 -07:00
Bobby Holley
a2697cd423 Bug 860085 - Remove XPCCallContext refcounting optimization. r=gabor
We only use XPCCallContext for reflector calls now, at which point an AddRef
is totally insignificant. Using an auto pointer here lets us clean up some
code, and makes the XPCCallContext destructor start to look pretty sane. :-)
2013-07-03 11:05:20 -06:00
Bobby Holley
6aa989b495 Bug 860085 - Remove nsIXPConnect::ReleaseJSContext. r=gabor 2013-07-03 11:05:19 -06:00
Bobby Holley
919587b427 Bug 860085 - Stop using XPConnect::ReleaseJSContext in nsJSEnvironment::DestroyJSContext. r=gabor,mccr8
We now have the invariant that any in-use cx must be pushed onto the JSContext
stack with one of our stack-scoped automatic nsCxPusher classes. These classes
hold a strong ref to the nsIScriptContext associated with the JSContext they
push (if any). This means that, if this cx is in use, we will always have at
least one strong reference to the nsJSContext coming from the stack, meaning
that neither the destructor nor the Unlink() implementation will be called.
So we don't need to do any deferred destruction of the cx anymore.
2013-07-03 11:05:19 -06:00
Bobby Holley
6c10fadc89 Bug 860085 - Make XPCJSContextStack manipulators private to enforce that we go through the RAII classes. r=gabor
With this change, we can be very, very sure that we never push an nsJSContext
without instantiating an AutoCxPusher on the stack.
2013-07-03 11:05:19 -06:00
Bobby Holley
fbb5534815 Bug 860085 - Remove unused AutoPopJSContext. r=gabor 2013-07-03 11:05:19 -06:00
Bobby Holley
9316537b6d Bug 860085 - Rename xpc::{Push,Pop}JSContext and make them assert against DOM JSContexts. r=gabor 2013-07-03 11:05:18 -06:00
Bobby Holley
e11487b445 Bug 860085 - Use an AutoPushJSContext in XPCCallContext instead of doing it manually. r=gabor 2013-07-03 11:05:18 -06:00
Jan de Mooij
ed5a9e1467 Bug 889825 - Eliminate more bounds checks when double arrays are used. r=h4writer 2013-07-03 18:55:01 +02:00
Shu-yu Guo
5f16c99706 Bug 888470 - Sweep parallelStringConcatStub_. (r=djvj) 2013-07-03 09:47:29 -07:00
Shu-yu Guo
f5327c618c Bug 888837 - Fix tagging of callee token in arguments rectifier. (r=jandem) 2013-07-03 09:47:28 -07:00
Shu-yu Guo
2c943a13c8 Bug 887921 - Don't toggle GC write barriers in parallel execution. (r=sstangl) 2013-07-03 09:47:28 -07:00
Shu-yu Guo
59332435c0 Bug 886102 - Ignore idempotency for parallel ICs. (r=nmatsakis) 2013-07-03 09:47:28 -07:00
Shu-yu Guo
0dfdf16c33 Bug 886101 - Only int32-specialized bitwise ops should be marked safe in parallel. (r=nmatsakis) 2013-07-03 09:47:28 -07:00
Joey Armstrong
a8ffe81a63 bug 870370: EXTRA_COMPONENTS cleanup for conversion patches #1 & #2. 2013-07-03 12:01:06 -04:00
Masatoshi Kimura
1a9e38cc24 Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-04 00:56:26 +09:00
Ryan VanderMeulen
8db0da549f Bug 848491 - Touch CLOBBER for the Skia update.
CLOSED TREE
2013-07-03 10:15:51 -04:00
Ryan VanderMeulen
f23d636f4e Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes. 2013-07-03 10:14:11 -04:00
George Wright
8794b4e364 Bug 848491 - Add patches to the Skia patches directory
From 35a22019f62d4e13a293e9d576b6a692b0411ac8 Mon Sep 17 00:00:00 2001
2013-07-02 22:32:00 -04:00
James Willcox
1a08fd2938 Bug 887927 - Hold a ref to DrawTargetSkia within SourceSurfaceSkia r=mattwoodrow 2013-06-28 22:59:19 -04:00
James Willcox
ef88089e2a Bug 887901 - Limit number of GLContexts used with SkiaGL r=bjacob 2013-06-28 22:58:40 -04:00
George Wright
1e94808fa1 Bug 848491 - Fuzz the redGradientBlueSolid analysis test a little bit to account for rasterising differences on Skia r=MattN 2013-06-27 16:10:08 -04:00
James Willcox
d29eda0f64 Bug 885627 - Disable unimplemented canvas composition tests with SkiaGL r=gw280 2013-06-24 13:33:55 -04:00
James Willcox
998381af1b Bug 885623 - Disable some gradient tests for SkiaGL r=gw280 2013-06-24 13:32:59 -04:00
George Wright
52db1681c4 Bug 848491 - Re-apply bug 795538 - Ensure we use the correct colour (and alpha) for the clamp values r=mattwoodrow 2013-06-20 09:21:21 -04:00
Benoit Jacob
584cd579b1 Bug 875218 - Make sGLContext thread-local r=mattwoodrow 2013-06-17 15:45:56 -04:00
Benoit Jacob
aa62cf2418 Bug 875218 - Fix all the Skia leaks! By avoiding addref'ing a second time the GrGLInterface and GrContext r=mattwoodrow 2013-06-17 13:45:04 -04:00
Benoit Jacob
2647d72fc9 Bug 875218 - Refactor the ownership model under DrawTargetSkia, so that DrawTargetSkia now owns a GLContext, and the only reference that the Skia GrGLInterface gets to the non-Skia world is a pointer back to the DrawTargetSkia r=mattwoodrow 2013-06-16 22:07:18 -04:00
Benoit Jacob
e153154b5d Bug 875218 - Make GLContext inherit GenericRefCounted, to allow moz2d to have strong references to GLContexts r=mattwoodrow 2013-06-16 22:05:56 -04:00
Benoit Jacob
a568ac2b45 Bug 882561 - Add a GenericRefCounted base class to moz2d, will allow moz2d to hold strong references to external objects without adding a dependency r=jwalden 2013-06-16 22:05:14 -04:00
George Wright
7149fbee84 Bug 869178 - Use SkCanvas::drawBitmapRect instead of a bitmap SkShader; it's slightly faster r=snorp 2012-11-15 19:57:40 -05:00
George Wright
4c15fc0684 Bug 736276 - Ensure we can never double addref a cairo scaled font in ScaledFontBase r=mattwoodrow 2013-06-28 22:50:59 -04:00
George Wright
602e1332d6 Bug 736276 - Only create the SkTypeface in ScaledFontCairo when necessary r=jrmuizel 2013-06-28 22:50:09 -04:00
Benoit Jacob
5ee1188ac5 Bug 886518 - Purge the Skia typeface cache on shutdown in debug/valgrind builds r=jrmuizel 2013-06-28 22:48:35 -04:00
George Wright
1c299f739f Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel 2013-06-05 13:48:59 -04:00
George Wright
df877b614e Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob 2013-05-29 14:04:25 -04:00
George Wright
e61b5a1337 Bug 848491 - Re-apply bug 817356 - Patch Skia to recognize uppercase PPC/PPC64. 2013-04-25 20:55:02 -04:00
George Wright
d9af191edc Bug 848491 - Re-apply bug 751418 - Add our own GrUserConfig 2013-04-25 20:52:32 -04:00
George Wright
124aeb0b57 Bug 848491 - Re-apply 759683 - Handle compilers that don't support SSSE3 intrinsics 2013-04-25 20:49:45 -04:00
George Wright
a1e2df78e0 Bug 848491 - Re-apply bug 687188 - Expand the gradient cache by 2 to store 0/1 colour stop values for clamping. 2013-04-25 20:47:06 -04:00
George Wright
ab3fdb36e9 Bug 848491 - Re-apply Bug 777614 - Add our SkUserConfig.h 2013-04-25 20:40:12 -04:00
George Wright
a4446c9681 Bug 736276 - Add a new SkFontHost that takes a cairo_scaled_font_t r=karl 2012-08-01 16:43:15 -04:00
George Wright
f96da80250 Bug 848491 - Update skia-npapi to use new Skia APIs r=mattwoodrow 2013-04-09 15:57:38 -04:00
George Wright
8a86a63e18 Bug 848491 - Update DrawTarget and gfxPlatform to use the new Skia APIs r=mattwoodrow 2013-04-09 15:57:22 -04:00
George Wright
6cb4038886 Bug 848491 - Re-apply Bug 795549 - Move TileProc functions into their own file to ensure they only exist once in a library 2013-01-14 17:59:09 -05:00
George Wright
c08ffed5fa Bug 848491 - Update Skia to r8495 2013-04-02 16:49:07 -04:00
Xidorn Quan
bdddacd158 Bug 888645 - Error when access userAgent from jar protocol. r=gavin 2013-07-03 09:22:05 -04:00
Jed Davis
01058d2707 Bug 888578 - Extend ARM masm's floatArgsInGPR workaround to memory loads. r=mjrosenb
The move resolver doesn't understand using a pair of registers, which
we have to do on ARM softfp to pass doubles in the integer registers,
if they occur early enough in the argument list.  We had a workaround
(see uses of floatArgsInGPR) for when the argument is moved from a float
register; this change extends it to handle loading from memory.
2013-07-03 09:21:50 -04:00
Andrea Marchesini
6f5a9609fd Bug 885539 - Crash - Heap-use-after-free in nsTArray_base. r=bz 2013-07-03 09:21:30 -04:00
Ryan VanderMeulen
daaef03958 Merge m-c and inbound. 2013-07-03 09:14:15 -04:00