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

265549 Коммитов

Автор SHA1 Сообщение Дата
Vicamo Yang 7a74bbc1ed Bug 729876 - Part 2: Add all GSM 7-bit national languages. r=philikon 2012-03-02 20:11:23 +08:00
Vicamo Yang 9c839d0491 Bug 729876 - Part 1: Convert alphabet array to array of strings. r=philikon 2012-03-02 18:50:48 +08:00
Terrence Cole afe4a36752 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 eddc1f4a42 Bug 731442 - Back out f9145dab4be9 (bug 718543) due to test failures. r=backout 2012-03-06 11:05:29 -08:00
Matt Brubeck 267022e17f Merge last green changeset from inbound to mozilla-central 2012-03-06 10:59:26 -08:00
Serge Gautherie fa28cf7ed9 Bug 732792. (Av1) test_bug674770-2.html: Set "middlemouse.contentLoadURL" preference too. r=ehsan. 2012-03-06 18:14:44 +01:00
Serge Gautherie cb99f25d68 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 c16fe03cd5 Bug 718237. (Cv1) Call initAutoComplete() early to support XPFE AutoComplete. r=surkov.alexander. 2012-03-06 15:10:10 +01:00
Dão Gottwald 5d6642d896 Bug 732915 - Reduce the URL and search bar border radii. r=shorlander 2012-03-06 11:15:31 +01:00
Bobby Holley bf482f8215 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 9c7a81fdcd 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 c6f2bff359 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 c811c1de89 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 80b0c702b7 Bug 720580 - Introduce XPCWrappedNative::WrapNewGlobal. r=mrbkap 2012-03-05 15:22:45 -08:00
Bobby Holley 52cec1e1dd 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 75bca9c1ad Bug 720580 - Make the call to PostCreatePrototype optional. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley 2c37481521 Bug 720580 - Factor out the call to PostCreatePrototype into a helper method. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley a916a97461 Bug 720580 - Accept an explicit native global during XPCWrappedNativeScope creation. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley 290339924f 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 6fa1a307cf Bug 720580 - Make JSID class initialization happen on demand. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley 90e916fe1a 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 00beb8f458 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 34848e85d4 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 9b083bbde3 Bug 720580 - Stop passing isGlobal everywhere and use the nsIXPCScriptable flags instead. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley 3ca761b44b 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 5dd44b1a43 Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley 5541db6a29 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 b103446e9c Bug 720580 - Indicate free bits in nsIXPCScriptable.idl. r=mrbkap 2012-03-05 15:22:43 -08:00
Gregory Szorc 3d0dd5e8d4 Merge services-central into mozilla-central 2012-03-05 15:18:16 -08:00
Cameron McCormack 1cabdcdd82 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 202cc5f858 Bug 728460, part 2: remove childless nodes in slice before CC. r=smaug 2012-03-05 13:48:33 -08:00
Andrew McCreight f578cf1551 Bug 728460, part 1 - add forget_skippable option to remove childless nodes. r=smaug 2012-03-05 13:48:04 -08:00
Brian Nicholson 0efcb5f0fb Bug 729252 - Cache cursor data for AwesomeBar context menu. r=mfinkle 2012-03-05 13:31:55 -08:00
Brian Hackett a952a6bce4 Don't use reference to freed contents of JIT script, bug 730806. r=dvander 2012-03-05 13:25:24 -08:00
Brian Nicholson e9375d5144 Bug 726080 - Only update tab URLs if valid. r=mfinkle 2012-03-05 13:20:04 -08:00
Matt Brubeck f469e8c133 Merge last green changeset from inbound to mozilla-central 2012-03-05 12:58:10 -08:00
Charles Chan 8000bc23b3 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 f27051818a Bug 731901 - update.status telemetry ping is not reporting correctly. r=ehsan 2012-03-05 15:47:46 -05:00
Brian R. Bondy 7812985d9c 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 e35ec9e9b0 Bug 730792 - Enable new security checks for updates without the service. r=rstrong 2012-03-05 15:47:46 -05:00
Brian Hackett 678734f1a5 Ensure 'for' loops have a leading JSOP_NOP, bug 732776. r=dvander. 2012-03-05 12:45:14 -08:00
Benoit Girard 5908dc7ff3 Bug 728352 - Implement a render trace utility for GFX perf & debugging. r=mattwoodroow 2012-03-05 15:17:13 -05:00
Wes Johnston 44b468dead Backout 4253a5a838a8 and 7f5e40eb37c1 2012-03-05 12:01:48 -08:00
Ehsan Akhgari 62f7357b4e Bug 733058 - merge-dictionaries uses the system locale for sort order; r=jrmuizel
DONTBUILD
2012-03-05 14:18:46 -05:00
Serge Gautherie 062aabc288 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 b960e1fafc Bug 727954. (Bv1) test_autocomplete_delayOnPaste.xul: Support XPFE AutoComplete widget too. r=mak77. 2012-03-05 19:34:55 +01:00
Jeff Walden aa898d4232 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 ad380b7ff8 Bug 732835 - Deploy new talos.zip to fix 732655 and 732656. r=armenzg 2012-03-05 11:03:11 -05:00
Ed Morley 3c657080b5 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Justin Dolske b760ef4d66 Bug 720294 - Refactor style sheet switching code in browser.js. r=gavin 2012-03-05 11:53:34 +01:00