Commit Graph

88023 Commits

Author SHA1 Message Date
Vicamo Yang
e3c8227f8a Bug 729876 - Part 2: Add all GSM 7-bit national languages. r=philikon 2012-03-02 20:11:23 +08:00
Vicamo Yang
228bb2cf25 Bug 729876 - Part 1: Convert alphabet array to array of strings. r=philikon 2012-03-02 18:50:48 +08:00
Terrence Cole
4c43796d29 Bug 733372 - Fix an infinite recursion in GC marking; r=billm
Since the private data is sometimes packed in strange ways into the underlying
structure, we cannot just pass a reference to it to the marker.  Instead, we
store the gotten value on the C stack, do marking and potentially update its
value there, then pass the updated privates location to the object using
setPrivate.  If the setPrivate function triggers write barriers that end up
marking, this can recurse.  For now we should simply not do this.
2012-03-06 11:44:34 -08:00
Bobby Holley
3f3ca5637d Bug 731442 - Back out f9145dab4be9 (bug 718543) due to test failures. r=backout 2012-03-06 11:05:29 -08:00
Matt Brubeck
43000d83d3 Merge last green changeset from inbound to mozilla-central 2012-03-06 10:59:26 -08:00
Serge Gautherie
5632f3d616 Bug 732792. (Av1) test_bug674770-2.html: Set "middlemouse.contentLoadURL" preference too. r=ehsan. 2012-03-06 18:14:44 +01:00
Serge Gautherie
e2501d0b4f Bug 730551. (Bv2) browser_bug638292.js: Check load target, Make SeaMonkey support more specific. r=bmcbride. 2012-03-06 15:10:25 +01:00
Serge Gautherie
56b6bd2acf Bug 718237. (Cv1) Call initAutoComplete() early to support XPFE AutoComplete. r=surkov.alexander. 2012-03-06 15:10:10 +01:00
Dão Gottwald
ffbb92c91c Bug 732915 - Reduce the URL and search bar border radii. r=shorlander 2012-03-06 11:15:31 +01:00
Bobby Holley
138146697b Bug 720580 - Assert that we have the global jsclass flag if and only if we're a global. r=mrbkap 2012-03-05 15:22:53 -08:00
Bobby Holley
d3345b4254 Bug 720580 - Assert against creating globals in xpc_NewSystemInheritingJSObject. r=mrbkap
With this patch, the only call to JS_NewGlobalObject in XPConnect happens in xpc_CreateGlobalObject. \o/
2012-03-05 15:22:45 -08:00
Bobby Holley
73485885f8 Bug 720580 - Do the last bit of wrapped global initialization once the dust has settled. r=mrbkap 2012-03-05 15:22:45 -08:00
Bobby Holley
e0a6e0b68d Bug 720580 - Kill temporary globals. r=mrbkap
This patch breaks the "every commit is a 100% correct tree" invariant a little bit, because constructors and prototypes for DOM globals are broken (PostCreatePrototype never gets called). This is fixed in the next patch. Doing it this way makes for a cleaner series of commits, and the browser still builds and runs fine.
2012-03-05 15:22:45 -08:00
Bobby Holley
06eb6e6126 Bug 720580 - Introduce XPCWrappedNative::WrapNewGlobal. r=mrbkap 2012-03-05 15:22:45 -08:00
Bobby Holley
df8c12c18b Bug 720580 - Call TraceDOMPrototypes via TraceXPCGlobal, and avoid the verification process for wrapped natives. r=mrbkap 2012-03-05 15:22:45 -08:00
Bobby Holley
8fbe582aea Bug 720580 - Make the call to PostCreatePrototype optional. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
ea2172967e Bug 720580 - Factor out the call to PostCreatePrototype into a helper method. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
9afaa4890f Bug 720580 - Accept an explicit native global during XPCWrappedNativeScope creation. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
8a333a7b50 Bug 720580 - Manually resolve |Object| on the global in XPCWrappedNativeScope::SetGlobal() to avoid calling into the XPConnect resolve hook too early. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
90f6c6474a Bug 720580 - Make JSID class initialization happen on demand. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
9c4024ecaa Bug 720580 - Modify the semantics of XPCWrappedNative::FinishCreate() so that it doesn't muck around with the refcounts of its inparam. r=mrbkap
The current semantics involve the caller transfering ownership of the input wrapper to FinishCreate(), which is complicated and error-prone. Now that we're using nsRefPtr at the callsites, we can get rid of it.
2012-03-05 15:22:44 -08:00
Bobby Holley
c1e81348b9 Bug 720580 - Use nsRefPtr instead of manual AddRef/Release in XPCWrappedNative::{GetNewOrUsed,Morph}. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
7f6929b9ff Bug 720580 - Move the AutoMarkingWrappedNativePtr in XPCWrappedNative::{GetNewOrUsed,Morph} closer to where we need it. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
15d04a0773 Bug 720580 - Stop passing isGlobal everywhere and use the nsIXPCScriptable flags instead. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
d3868262e8 Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
1a5208e617 Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
a7519fcb64 Bug 720580 - Introduce a flag for global natives and assert that we have it. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
b1d50a8c93 Bug 720580 - Indicate free bits in nsIXPCScriptable.idl. r=mrbkap 2012-03-05 15:22:43 -08:00
Gregory Szorc
c8bf2dab06 Merge services-central into mozilla-central 2012-03-05 15:18:16 -08:00
Cameron McCormack
24ec15b64b Bug 732664 - Use FormatMessageA so that XPCOM stack walker prints error message correctly. r=dbaron 2012-03-06 10:04:40 +11:00
Andrew McCreight
001abedc5d Bug 728460, part 2: remove childless nodes in slice before CC. r=smaug 2012-03-05 13:48:33 -08:00
Andrew McCreight
7dc772d01a Bug 728460, part 1 - add forget_skippable option to remove childless nodes. r=smaug 2012-03-05 13:48:04 -08:00
Brian Nicholson
84bac5f8c4 Bug 729252 - Cache cursor data for AwesomeBar context menu. r=mfinkle 2012-03-05 13:31:55 -08:00
Brian Hackett
fef4714ccf Don't use reference to freed contents of JIT script, bug 730806. r=dvander 2012-03-05 13:25:24 -08:00
Brian Nicholson
11527c9e91 Bug 726080 - Only update tab URLs if valid. r=mfinkle 2012-03-05 13:20:04 -08:00
Matt Brubeck
c17447d0ef Merge last green changeset from inbound to mozilla-central 2012-03-05 12:58:10 -08:00
Charles Chan
ae3662fc99 Bug 724736 - Move js::StringBuffer into js/src/vm/StringBuffer{-inl.h,.cpp}. r=jwalden
--HG--
extra : rebase_source : 69c3319801fbe80dbe0fc150680c9ffca2e519d9
2012-03-05 12:40:11 -08:00
Brian R. Bondy
673dc065d6 Bug 731901 - update.status telemetry ping is not reporting correctly. r=ehsan 2012-03-05 15:47:46 -05:00
Brian R. Bondy
22c90e2a57 Bug 711054 - Stop using readstrings errors for updater. r=rstrong
--HG--
rename : toolkit/mozapps/readstrings/errors.h => toolkit/mozapps/update/common/errors.h
rename : toolkit/mozapps/readstrings/readstrings.cpp => toolkit/mozapps/update/common/readstrings.cpp
rename : toolkit/mozapps/readstrings/readstrings.h => toolkit/mozapps/update/common/readstrings.h
2012-03-05 15:47:46 -05:00
Brian R. Bondy
3612e788bd Bug 730792 - Enable new security checks for updates without the service. r=rstrong 2012-03-05 15:47:46 -05:00
Brian Hackett
5a694ed717 Ensure 'for' loops have a leading JSOP_NOP, bug 732776. r=dvander. 2012-03-05 12:45:14 -08:00
Benoit Girard
0eac7fe3b7 Bug 728352 - Implement a render trace utility for GFX perf & debugging. r=mattwoodroow 2012-03-05 15:17:13 -05:00
Wes Johnston
ac74e609f7 Backout 4253a5a838a8 and 7f5e40eb37c1 2012-03-05 12:01:48 -08:00
Ehsan Akhgari
910469c0d2 Bug 733058 - merge-dictionaries uses the system locale for sort order; r=jrmuizel
DONTBUILD
2012-03-05 14:18:46 -05:00
Serge Gautherie
dcf9b5b30f Bug 731663. (Bv1a-FF) test_bookmarks_html.js: Fix nits, Add/Use do_print(), Improve documentation. r=mak77. 2012-03-05 19:44:47 +01:00
Serge Gautherie
fc7137852e Bug 727954. (Bv1) test_autocomplete_delayOnPaste.xul: Support XPFE AutoComplete widget too. r=mak77. 2012-03-05 19:34:55 +01:00
Jeff Walden
868086dce7 Bug 732669 - Box primitive values correctly when accessing properties of them. r=bhackett
--HG--
extra : rebase_source : c4c084557425e6d42b990ca22c10972fcc6697ce
2012-03-05 09:34:38 -08:00
Joel Maher
9c15f61b3c Bug 732835 - Deploy new talos.zip to fix 732655 and 732656. r=armenzg 2012-03-05 11:03:11 -05:00
Ed Morley
e63b667897 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Justin Dolske
d311d2f32e Bug 720294 - Refactor style sheet switching code in browser.js. r=gavin 2012-03-05 11:53:34 +01:00