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

296636 Коммитов

Автор SHA1 Сообщение Дата
Rik Cabanier 3a85a98855 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 6e038d2b99 Bug 824864 - Fix Ms2ger nits. r=me 2013-01-16 18:50:27 -08:00
Bobby Holley 9fce3b092f Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz 2013-01-16 18:50:27 -08:00
Bobby Holley 2659d8fc54 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 a26c078c60 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 5515799556 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 746d5bebee 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 d3d15aa3fe Bug 824864 - Remove nsIScriptContext::EvaluateString. r=bz 2013-01-16 18:50:26 -08:00
Bobby Holley 1f2a4747c6 Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz 2013-01-16 18:50:26 -08:00
Bobby Holley a14609b21a 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 5a19a07bef 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 baf74b5ce0 Bug 824864 - Hoist the guts of CompileFunction into nsJSUtils. r=bz 2013-01-16 18:50:25 -08:00
Bobby Holley d668366180 Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley 5ecdee02e9 Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke 2013-01-16 18:50:25 -08:00
Christian Holler 320a60cced 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
Tim Taubert c0731037b0 Bug 805338 - Use http://127.0.0.1:1/ as a reliable error page for testing r=jaws 2013-01-16 13:34:03 +01:00
Panos Astithas ee55ec9122 Merge m-c to fx-team 2013-01-16 10:13:29 +02:00
Gregory Szorc 7d3f562b28 Merge mozilla-central into services-central 2013-01-15 23:11:26 -08:00
Gregory Szorc 10764a1f22 Bug 829881 - Part 2: Re-enable pre-processing of about:telemetry; r=tchevalier 2013-01-15 17:53:09 -08:00
Jonathan Griffin de4b6b4a10 Bug 828558 - Don't attach to jsconsole window, r=mdas 2013-01-15 17:41:36 -08:00
Rafael Ávila de Espíndola f4b478e911 Bug 831133 - Record only the basename. r=vladan. 2013-01-16 21:02:32 -05:00
Rafael Ávila de Espíndola 57e8f549f6 Bug 831100 - use std::string. r=vladan. 2013-01-16 20:38:22 -05:00
David Zbarsky 71e0a5342d 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 b9ec9d66ed Bug 831205 - Fix GCC warning "comma at end of enumerator list". r=billm DONTBUILD 2013-01-16 17:24:28 -08:00
Jeff Walden 2f40d20918 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
Olli Pettay b70de8d5a7 Bug 830948, null check mDocshell before using it, r=bz
--HG--
extra : rebase_source : ea20dabe0ec39b3b98fab07e72b0f1f51f9d32a8
2013-01-16 01:12:14 +02:00
Marco Bonardo 6790d1a75d Backout 0d33af2a2a75 (bug 823109) cause it breaks some Windows builds 2013-01-16 00:33:13 +01:00
Ed Morley c6e0c9a36d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2013-01-15 22:57:50 +00:00
Gregory Szorc 9265169115 Bug 828703 - Correct removal of idle-daily observer; r=rnewman 2013-01-15 14:53:34 -08:00
Gregory Szorc ad9d143963 Bug 829881 - Remove references to replaced Telemetry notification bar; r=tchevalier 2013-01-15 12:38:01 -08:00
Joe Walker d6b82b5d24 Bug 774619 - Fix browser_dbg_bfcache.js test by making GCLI force GC; r=past 2013-01-15 19:38:52 +00:00
Gregory Szorc da8c995e59 Merge mozilla-central into services-central 2013-01-15 08:36:17 -08:00
Jeff Muizelaar 656d4aaa63 Bug 786533. Add a comment about the purpose of XPCOM_MIN/MAX. r=ehsan
--HG--
extra : rebase_source : 97ed3b670dee51b929344e1222be0d61ce18b3af
2013-01-15 11:26:58 -05:00
Mihai Sucan 259732578f Bug 787985 - Console API messages are not consistent; r=past 2013-01-15 16:02:25 +02:00
Olli Pettay 1defaa48e6 Bug 825544: backout Bug 825544, Bug 825544, Bug 765192 and Bug 808035 to bring back the old .location=val behavior, r=bz 2013-01-15 13:46:35 +02:00
Gregory Szorc f5dd61342e Bug 830626 - Add HealthReportComponents.manifest to package manifest; r=trivial 2013-01-14 21:49:25 -08:00
Gregory Szorc e85728ec72 Bug 828149 - Enable Firefox Health Report on Linux; r=mconnor
We suspect the previous patch fixes the shutdown crash on Linux that
caused us to disable FHR on Linux.
2013-01-14 19:09:13 -08:00
Gregory Szorc d265e9b521 Bug 828149 - Cancel timer during application shutdown. r=rnewman 2013-01-14 18:01:53 -08:00
Mike Connor 0b668841f6 bug 830090 - Access key for Choose What I Share button in info bar is broken, r=gps 2013-01-14 20:30:49 -05:00
Mike Connor 9d9b51b04b bug 830498 - fix hardcoded brand references in data choices prefpane, r=jaws 2013-01-14 19:56:04 -05:00
Mike Connor d4fe13826f bug 830418 - hide health report menu items if health report is disabled, r=rnewman 2013-01-14 19:55:43 -05:00
Gregory Szorc 14f99fa6d0 Bug 829953 - Interact with FHR properly from about:healthreport; r=rnewman 2013-01-14 15:08:40 -08:00
Ehsan Akhgari 18b2461321 Merge the last PGO-green changeset of mozilla-central into mozilla-inbound 2013-01-14 17:27:01 -05:00
Chris AtLee 6dc67e5cd7 Bug 830371: Put the kernel in the right place. r=nthomas DONTBUILD 2013-01-14 15:59:09 -05:00
Gian-Carlo Pascutto 46b11e1e9a Backout ff82d1a3955e (Bug 830308). 2013-01-14 20:16:38 +01:00
Trevor Saunders 84fd122dde bug 830396 - add back nsIDOMCSSValueList r=bz 2013-01-14 12:29:27 -05:00
Jeff Muizelaar 04046379bd Bug 823109. Only extract d3d dlls when necessary. r=ted
This adds proper dependencies so that make can do better.

--HG--
extra : rebase_source : 4878bf741f29d738603f090e914a1adf2e31732b
2013-01-15 11:14:04 -05:00
Felipe Gomes 58a53db2e7 Bug 779754. Fix intermittent test_destinationURI_annotation.xul by cleaning up possible leftover files before starting the test. r=mconley 2013-01-15 14:11:39 -02:00
Mike Habicher fc22619eca Bug 830116 - remove off-main-thread calls to nsMainThreadPtrHandle::get() in error-handling paths, r=jst 2013-01-15 10:57:22 -05:00
Mike Conley eb8edfdd52 Bug 825852 - Add UI migration to put the Downloads button into the navigation bar. r=mak, f=gavin. 2013-01-15 10:47:58 -05:00