Commit Graph

118850 Commits

Author SHA1 Message Date
Vicamo Yang
79c87d9f73 Bug 813978 - Part 5/5: test cases for mixed filter targets. r=philikon 2013-01-17 16:06:21 +08:00
Vicamo Yang
b2fb99c162 Bug 813978 - Part 4/5: rewrite filtering by multiple phone numbers. r=ferjm 2013-01-17 16:05:20 +08:00
Vicamo Yang
c36f442f8b Bug 813978 - Part 3/5: rewrite filtering by mix of any two conditions. r=ferjm 2013-01-17 16:05:16 +08:00
Vicamo Yang
62c1d7bf02 Bug 813978 - Part 2/5: rewrite filtering by only one condition. r=philikon 2013-01-17 16:05:13 +08:00
Vicamo Yang
2c2ba7ee4f Bug 813978 - Part 1/5: use multi-key indexes. r=sicking, ferjm 2013-01-17 16:05:10 +08:00
Randell Jesup
db14a79f0f Bug 831427: Gate RemoveListener(stream) to avoid calling if Destroy() pending r=roc 2013-01-17 02:38:21 -05:00
Benoit Girard
c856ab3666 Bug 830809 - Remove 'shutdown start' label with eConsiderQuit. r=ehsan
--HG--
rename : content/svg/content/nsISVGPoint.cpp => content/svg/content/src/DOMSVGPoint.cpp
extra : rebase_source : 9150564527326347a8007be7e766b92ef7823c6a
2013-01-16 11:01:14 -05:00
Ehsan Akhgari
a47a4076eb Remove the unneeded explicit keyword from SharedLibrary's private constructor, no bug 2013-01-16 23:26:46 -05:00
Irving Reid
9dc4426d8d Bug 831459: use RawScript in JMChunkInfo::Convert() to prevent UnrootedScript construction in signal handler r=billm 2013-01-16 23:10:46 -05:00
Jeff Walden
dd2fbe0549 Fix some used-but-not-defined warnings, and some format-string warnings about needing to cast T* to void* for the %p specifier. No bug, r=themaid 2013-01-16 19:47:34 -08:00
Chris Jones
af29d559b0 Bug 831307: Log breakpoint-level IPC errors always. r=dougt,jdm,jst a=blocking-b2g 2013-01-16 19:47:21 -08:00
Rik Cabanier
6365d8055c Bug 827053 - Add support for winding in fill + clip + isPointInPath + tests the feature. r=bas 2013-01-16 21:55:43 -05:00
Bobby Holley
7a0d54fa07 Bug 824864 - Fix Ms2ger nits. r=me 2013-01-16 18:50:27 -08:00
Bobby Holley
fe9b482b3b Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz 2013-01-16 18:50:27 -08:00
Bobby Holley
80fbe9010d Bug 824864 - Move responsibility for checking for JSVERSION_UNKNOWN to the one caller of EvaluateString that might pass it. r=bz 2013-01-16 18:50:26 -08:00
Bobby Holley
b5e0ee1f7c Bug 824864 - Use an nsCxPusher in EvaluateString, and pull the principal off the target object. r=bz
This simplifies a lot of code, and makes the function scope-agnostic.
2013-01-16 18:50:26 -08:00
Bobby Holley
89a6e0fc9e Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz
Now that there's only one of them, we can get rid of the silly suffix. \o/
2013-01-16 18:50:26 -08:00
Bobby Holley
5dfabb90ca Bug 824864 - Remove unused optional arguments from nsIScriptContext::ExecuteScript. r=bz
This lets us get rid of a bunch of junk.
2013-01-16 18:50:26 -08:00
Bobby Holley
9f95924a28 Bug 824864 - Remove nsIScriptContext::EvaluateString. r=bz 2013-01-16 18:50:26 -08:00
Bobby Holley
ef4055939e Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz 2013-01-16 18:50:26 -08:00
Bobby Holley
1724ed7409 Bug 824864 - Improve the API for EvaluateStringWithValue. r=bz
There are a few changes we make here:
1 - Having callers pass JS::CompileOptions directly.
2 - Removing aUndefined, which makes no sense and is unused by consumers.
3 - Making aScopeObject and aRetValue non-optional, via references.
3 - Adding an argument to optionally coerce the return value to a string.

Coercing jsvals to strings is the reason we currently have two nearly-identical
functions, EvaluateString and EvaluateStringWithValue, since the coercion can
trigger arbitrary script and thus needs to be bracketed by all the junk that
nsJSContext does. However, if callers can be guaranteed that the return value
will be a bonafide string, then they can easily extract the string themselves
if they so desire. This will allow us to combine the two functions.
2013-01-16 18:50:26 -08:00
Bobby Holley
8d5b0ca82e Bug 824864 - Move consumers of CompileFunction to the nsJSUtils version, and kill the nsJSContext version. r=bz
Note that the three consumers were all XBL, and were all passing aShared = true,
which had the effect of passing null for the target object. So we actually want
to pass JS::NullPtr() (the HandleObject version of nullptr) instead of
aClassObject in order to maintain the old behavior (whatever that is).
2013-01-16 18:50:25 -08:00
Bobby Holley
d8ecec9ede Bug 824864 - Hoist the guts of CompileFunction into nsJSUtils. r=bz 2013-01-16 18:50:25 -08:00
Bobby Holley
2780e92307 Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley
057de60a8d Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke 2013-01-16 18:50:25 -08:00
Christian Holler
e17d414972 Bug 829598 - Make js/src/jit-test/tests/gc/bug-820186.js a slow test. r=jandem, DONTBUILD 2013-01-16 16:14:08 +01:00
Jonathan Griffin
15f0cc1850 Bug 828558 - Don't attach to jsconsole window, r=mdas 2013-01-15 17:41:36 -08:00
Rafael Ávila de Espíndola
aaabaa443a Bug 831133 - Record only the basename. r=vladan. 2013-01-16 21:02:32 -05:00
Rafael Ávila de Espíndola
3120837557 Bug 831100 - use std::string. r=vladan. 2013-01-16 20:38:22 -05:00
David Zbarsky
b524843372 Bug 821955 r=longsonr
--HG--
rename : content/svg/content/src/DOMSVGPoint.cpp => content/svg/content/nsISVGPoint.cpp
rename : content/svg/content/src/DOMSVGPoint.cpp => content/svg/content/src/nsISVGPoint.cpp
2013-01-16 20:35:24 -05:00
Jon Coppeard
a1c1778179 Bug 831205 - Fix GCC warning "comma at end of enumerator list". r=billm DONTBUILD 2013-01-16 17:24:28 -08:00
Jeff Walden
f9df2fd3e0 Bug 719659 - Add -std=gnu99 to CFLAGS so that gcc and friends permit use of C99 constructs without warnings. This doesn't mean that everything in C99 is permitted now -- only the stuff supported by all the compilers we care about, including MSVC. r=espindola
--HG--
extra : rebase_source : 5fdfd130f529e1dfbc9ec48ecc9e83186c844c39
2013-01-16 17:01:52 -08:00
Jeff Walden
850da9c953 Add a JSObject::addDataProperty overload that takes Handle<PropertyName*>, to preserve the name/element distinction further when possible, anticipating future property-splitting work. No bug, r=sparky
--HG--
extra : rebase_source : 2fe4e9819bf8ab23b163889411b5d1fa74d59597
2012-12-27 11:20:22 -06:00
Jeff Walden
ee65e29d55 Bug 830871 - Remove JS_FRIEND_API from js_GetClassPrototype as it isn't (and shouldn't be) used outside SpiderMonkey. r=jorendorff
--HG--
extra : rebase_source : aefa8e56c479bec12b9237e1479c34bbf2c88d19
2013-01-11 11:59:50 -08:00
David Zbarsky
f2cbe1aa26 Bug 830181: SVGSymbolElement should QI to SVGTests r=me 2013-01-16 20:02:59 -05:00
Fabrice Desré
d348b12398 Bug 830294 - Can't launch an app after canceling its update r=ferjm 2013-01-16 16:55:50 -08:00
Daniel Holbert
31564da828 Followup to Bug 821292: Remove unneeded semicolon after NS_INLINE_DECL_THREADSAFE_REFCOUNTING(), to fix build warning. 2013-01-16 16:54:15 -08:00
Jeff Hammel
2c009f005e Bug 831081 - kill VirtualenvManager._check_output() now that we require python 2.7;r=gps 2013-01-16 16:52:21 -08:00
Chris Peterson
31363cc56f Bug 831188 - Don't list inactive plugins (blocklisted or disabled) on about:plugins. r=bsmedberg
--HG--
extra : rebase_source : c4e71815533220fd7d356b13c6d5e8bc647d059a
2013-01-16 11:06:35 -08:00
Masatoshi Kimura
0ee4541218 Bug 827824 - Use uint8_t for mTxInlineFrame. r=mcmanus 2013-01-17 08:25:03 +09:00
Trevor Saunders
9f0ad48b28 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Marco Bonardo
8a7a32c2a8 Bug 825786 - crash in nsAutoCompleteController::HandleDelete.
r=Enn
2013-01-17 00:12:43 +01:00
Ed Morley
4f18982ee0 Backout 780c48afccc1 (bug 831354) for Android reftest failures on a CLOSED TREE 2013-01-16 23:08:07 +00:00
David Rajchenbach-Teller
dd4235ccf1 Bug 828228 - Measure nsSearchService init with Telemetry. r=gavin 2013-01-16 18:03:05 -05:00
Jonathan Watt
3cb64f9dbd Bug 462197 - Part 2: The "Remove All Reports" button in about:crashes should remove old InstallTime files. r=ted 2013-01-16 18:03:05 -05:00
Jonathan Watt
12278db0f3 Bug 462197 - Part 1: Use the variable name submittedDir instead of the misleading name reportsDir. r=ted 2013-01-16 18:03:04 -05:00
Matt Woodrow
23cabe0437 Bug 820839 - Draw OSX titlebar content into a retained buffer during the ThebesLayer painting phase, before we clear invalidation state. r=roc 2013-01-17 11:59:23 +13:00
Josh Matthews
d9e184597f Bug 824472 - Traverse containing frames when looking for scrollable content for browser elements. r=schien 2013-01-14 18:03:32 +01:00
Trevor Saunders
122785b394 bug 828141 - windows shouldn't hold onto events r=surkov 2013-01-08 19:41:58 -05:00
Andrew McCreight
b934f7fc9a Bug 829430 - Use the right check for if we're GCing. r=billm 2013-01-15 09:10:36 -08:00