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

18849 Коммитов

Автор SHA1 Сообщение Дата
taustin@Thomas-Austins-Computer.local de6be8ab42 merging changes 2010-07-12 22:44:32 -07:00
Robert Sayre dd51c79fca Merge mozilla-central to tracemonkey. 2010-07-12 20:42:21 -07:00
taustin@host-6-61.mv.mozilla.com 6e0a4af7e2 Remove Narcissus's dependencies on features available only in special builds 2010-07-12 16:58:38 -07:00
Chris Jones 2fb0ec3f31 Compile with -D__STDC_LIMIT_MACROS to avoid having to fight with system headers over which includes stdint.h first. irc-r=jimb,Waldo 2010-07-12 18:06:23 -05:00
Blake Kaplan b6fd95653a Bug 576351 - Make this assertion not fire if the caller has UniversalXPConnect. r=jorendorff 2010-07-12 14:11:14 -07:00
Ben Turner 8a0b39e463 Bug 575517 - 'Optional jsvals that are not specified should be JSVAL_VOID, not JSVAL_NULL'. r=jst 2010-07-12 10:04:59 -04:00
Nicholas Nethercote a461835fa4 Bug 577764 - TM: avoid a dead guard at the end of loop fragments. r=dvander. 2010-07-12 11:01:58 +10:00
Robert Sayre 86b530a417 Merge mozilla-central to tracemonkey. 2010-07-11 16:23:48 -07:00
Chris Leary 7b3a52805c Arena pool macros don't want to die. 2010-07-11 00:09:34 -07:00
Chris Leary a850080a2f Bug 559408: Arena macros to methods. (r=galish) 2010-07-10 23:19:14 -07:00
Eli Friedman 9e77ec8324 Bug 576359 - Remove unused function from jstracer.cpp (which breaks building with clang) r=brendan 2010-07-12 11:57:11 +02:00
Raul Porcel 8c5406e295 Bug 577319 - Fixed OS_TEST case for ARM r=khuey 2010-07-12 11:56:09 +02:00
Igor Bukanov 21a98fb81f bug 572494 - removal of JSObjectOps::defaultValue, r=jorendorff 2010-07-07 09:53:47 +02:00
Robert Sayre fced15d17b Merge. 2010-07-08 18:18:36 -07:00
Robert Sayre b376d9f810 Merge mozilla-central to tracemonkey. 2010-07-08 18:15:52 -07:00
Andreas Gal 212b5bc08f re-seed PRNG when clearing the scope (577512, r=bz). 2010-07-08 16:00:54 -07:00
Jeff Walden 3898c7eeb0 Bug 577375 - Make CPOWs handle all-properties enumeration correctly. r=gal 2010-07-07 15:11:17 -07:00
Andreas Gal cbca95f74c Make sure proxy objects always have a parent (576714, r=jorendorff). 2010-07-07 12:32:36 -07:00
Robert Sayre f94d6c3608 Merge mozilla-central to tracemonkey. 2010-07-06 11:05:39 -07:00
Jason Orendorff eeebc509e7 Bug 576755 - JS_Assert on Windows produces a stack MSVS 2010 debugger can't decipher. r=dmandelin. 2010-07-06 04:29:45 -05:00
Wes Garland bd536137bb Bug 575379 jsapi-test for JSClass::getProperty. r=jorendorff 2010-07-05 12:27:04 -04:00
Saint Wesonga 4bd9280674 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Mark Banner da3302e5c3 Bustage fix follow up to changeset d92fd4a1ddf5 (part of bug 568691) - remove unnecessary semi-colons that are causing bustage on non-libxul Linux builds 2010-07-05 08:36:36 +01:00
Nicholas Nethercote 9f212110a0 Bug 553962 - nanojit: finish adding get/set methods for CallInfo::_typesig (TM-specific part). r=gal. 2010-07-04 20:00:33 -07:00
Nicholas Nethercote 8ae4dd288a Update nanojit-import-rev stamp. 2010-07-04 19:52:07 -07:00
Nicholas Nethercote 0ce1d85ee2 Fix ARM bustage for bug 553962. r=me.
--HG--
extra : convert_revision : bb74ad1990fc0299c107c6d44a04c3682e8cb9fe
2010-07-04 19:45:53 -07:00
Nicholas Nethercote be9801c9c5 Bug 553962 - nanojit: finish adding get/set methods for CallInfo::_typesig. r=edwsmith.
--HG--
extra : convert_revision : cfbed237877f0939423d9c1ac591c0a7edb5b0c0
2010-07-04 19:39:09 -07:00
Eli Friedman 90226a86a3 Bug 576363 - Qualify accesses to dependent base in js. r=nnethercote.
--HG--
extra : convert_revision : 5c5cacef53d6a42f6226636c0fa71c13e428b52f
2010-07-04 19:12:15 -07:00
Jason Orendorff 61bc026152 Merge fix for bug 575208. 2010-07-03 08:10:46 -05:00
Chris Leary 31cabb1fdf One more changeset to back out. (r=red) 2010-07-03 02:06:14 -07:00
Chris Leary 7d5b8294f0 Back out Yarr until I can unbreak ARM build. (r=red) 2010-07-03 01:54:21 -07:00
Chris Leary cd014beba1 Push-and-pray to try to fix ARM build breaks. (r=red). 2010-07-02 23:57:51 -07:00
Chris Leary 3830538ae6 Bug 564953: Port of Yarr regexp engine and Nitro macroassembler. No PPC support. (r=gal,lw) 2010-07-02 22:25:37 -07:00
Andreas Gal e03b5f1c7c Only check for proxy handler if we are sure its a proxy (fallout bug 574924, r=orange). 2010-07-02 18:53:00 -07:00
Robert Sayre 422d275bc6 Fix ObjectWrapperChild bustage 2010-07-02 18:17:06 -07:00
Robert Sayre 2fd899ed0f Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Andreas Gal 4a0bb32328 Move wrappers directory in a desperate attempt to make our build system build bug 574924.
--HG--
rename : js/src/xpconnect/src/wrappers/AccessCheck.cpp => js/src/xpconnect/wrappers/AccessCheck.cpp
rename : js/src/xpconnect/src/wrappers/AccessCheck.h => js/src/xpconnect/wrappers/AccessCheck.h
rename : js/src/xpconnect/src/wrappers/CrossOriginWrapper.cpp => js/src/xpconnect/wrappers/CrossOriginWrapper.cpp
rename : js/src/xpconnect/src/wrappers/CrossOriginWrapper.h => js/src/xpconnect/wrappers/CrossOriginWrapper.h
rename : js/src/xpconnect/src/wrappers/FilteringWrapper.cpp => js/src/xpconnect/wrappers/FilteringWrapper.cpp
rename : js/src/xpconnect/src/wrappers/FilteringWrapper.h => js/src/xpconnect/wrappers/FilteringWrapper.h
rename : js/src/xpconnect/src/wrappers/Makefile.in => js/src/xpconnect/wrappers/Makefile.in
rename : js/src/xpconnect/src/wrappers/WrapperFactory.cpp => js/src/xpconnect/wrappers/WrapperFactory.cpp
rename : js/src/xpconnect/src/wrappers/WrapperFactory.h => js/src/xpconnect/wrappers/WrapperFactory.h
rename : js/src/xpconnect/src/wrappers/XrayWrapper.cpp => js/src/xpconnect/wrappers/XrayWrapper.cpp
rename : js/src/xpconnect/src/wrappers/XrayWrapper.h => js/src/xpconnect/wrappers/XrayWrapper.h
2010-07-02 15:26:27 -07:00
Jason Orendorff 69edc596c1 Bug 575208 - Crash [@ js::ExecuteFrameGuard::~ExecuteFrameGuard] or "Assertion failure: origin != destination". r=gal. 2010-07-02 16:51:42 -05:00
Andreas Gal 280ac9e770 Makefile fix for bug 574924. 2010-07-02 14:45:52 -07:00
Andreas Gal 9f6c689628 Missing files for bug 574924. 2010-07-02 14:09:48 -07:00
Andreas Gal e1de8eff4f Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-02 13:54:53 -07:00
Chris Leary c97ac5de82 Bug 576148: Factor out js::UpvarCookie. (r=mrbkap, dvander) 2010-07-02 13:37:39 -07:00
Jason Orendorff c85e6d2711 Bug 576295 - Fix tests.py to work on Windows. r=dmandelin. Re-landing. 2010-07-02 12:08:46 -05:00
timeless@mozdev.org 8d583bc01e Bug 576386 - AddPropertyHelper builtin would crash under JS_UNLOCK_SCOPE if js_GetMutableScope fails. r=jorendorff. 2010-07-02 09:57:19 -05:00
Mitchell Field d0f35f6883 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Vladimir Vukicevic 7fefda8964 sync up js/src/build/autoconf/make-makefile 2010-07-02 12:09:37 -07:00
Benjamin Smedberg 3e909b0671 Fix --disable-libxul from bug 568691. r=Mossop 2010-07-02 14:23:41 -04:00
Jeff Walden c1597c0af6 Bug 574474 - Eliminate a gratuitous property-name copy from the implementation of Object.keys. r=gal 2010-06-24 15:03:54 -07:00
Jeff Walden e809f4b20f Bug 509733 - ES5: arguments.toString() === "[object Arguments]". r=brendan 2010-07-13 16:39:03 -05:00
Dão Gottwald b2124655df Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga 8952503f91 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Eli Friedman b586c675ec Bug 576355 - Make configure work with clang. r=ted 2010-07-04 20:27:33 +02:00
Chris Jones 613ff7284a Bug 578262: Clean up style in and remove build warnings from new-ishly merged e10s code. r=bsmedberg
--HG--
rename : dom/ipc/ContentProcessChild.cpp => dom/ipc/ContentChild.cpp
rename : dom/ipc/ContentProcessChild.h => dom/ipc/ContentChild.h
rename : dom/ipc/ContentProcessParent.cpp => dom/ipc/ContentParent.cpp
rename : dom/ipc/ContentProcessParent.h => dom/ipc/ContentParent.h
rename : dom/ipc/ContentProcessProcess.cpp => dom/ipc/ContentProcess.cpp
rename : dom/ipc/ContentProcessProcess.h => dom/ipc/ContentProcess.h
rename : dom/ipc/PIFrameEmbedding.ipdl => dom/ipc/PBrowser.ipdl
rename : dom/ipc/PContentProcess.ipdl => dom/ipc/PContent.ipdl
2010-07-19 13:33:33 -05:00
wfernandom2004@gmail.com 038f9df910 Bug 577479 - Quickstub nsIWebSocket, r=smaug
--HG--
extra : rebase_source : 7b667e60a07c80ed1ff121a4777bbc274f297718
2010-07-19 15:45:18 +03:00
Olli Pettay 6f759b3d50 Bug 577472 - Quickstub string handling shouldn't addref/release the string buffer, r=mrbkap
--HG--
extra : rebase_source : 5c343f210f3fb4a0aca5fc5f8b9b2d492248d3f3
2010-07-19 13:34:23 +03:00
Walter Meinl ad6f5a9c63 Bug 576606 - [OS/2] Fix registration follow-up to bug568691 r=dragtext
--HG--
extra : rebase_source : ff548f598f1e3e7c7b3b70e1f7d683011b238dd2
2010-07-18 11:22:01 +02:00
Eli Friedman 406336b84f Bug 579689 - Fix cases of return without expression in a function returning "int". r=khuey 2010-07-18 11:19:48 +02:00
Brad Lassey 590aa51e71 reverting change from 0f1fddce41e1 because buildbots have CC set in bash profile 2010-07-16 16:11:31 -04:00
Brad Lassey fd98c02df7 bug 579477 - get android platform's arch from target r=khuey 2010-07-16 16:11:31 -04:00
Brad Lassey cc496a7c34 bug 577635 - android_stub.h broken for android platform version 8 r=khuey 2010-07-16 12:11:09 -04:00
Brad Lassey 5e5cb36122 bug 577636 - add configure option to use ccache r=khuey 2010-07-16 11:50:13 -04:00
Vladimir Vukicevic 75d5bd841e b=576020; type check in typed array slice; r=jorendorff 2010-07-15 13:17:56 -07:00
timeless@mozdev.org 8bf192f5b2 Bug 577457 warning: comparison between signed and unsigned integer expressions in ObjectWrapperChild::AnswerNewEnumerateNext
r=cjones

--HG--
extra : rebase_source : ea67589475f27b04f3e038069e62a4581ef001b8
2010-07-08 13:34:40 +03:00
Benjamin Smedberg b01f1296ca Bug 577684 - Jetpack should push the JS context on to the XPConnect stack when running message receivers, r=mrbkap 2010-07-15 10:40:33 -04:00
Boris Zbarsky 9f015fd890 Bug 577505. Quickstub nsIDOMCSSStyleDeclaration.*. r=peterv 2010-07-15 09:59:24 -04:00
Zack Weinberg e7545a1f5e Bug 558235 part 2: Kill CSS2PropertiesTearoff. r=dbaron 2010-07-14 13:58:56 -07:00
Benjamin Smedberg 9585dd44eb Bug 577638 - Outdated comments in XPCOMUtils.jsm after bug 568691 2010-07-14 13:09:42 -04:00
Robert Sayre e3ad7b484c merge tracemonkey to mozilla-central. 2010-07-14 06:00:32 -07:00
Ted Mielczarek eeaaf71e76 bug 577589 bustage fix - define DLL_PREFIX and DLL_SUFFIX as strings in the Makefile to handle empty values 2010-07-13 12:03:41 -04:00
Ted Mielczarek 50e15945bc add a ctypes.libraryName utility function to get shared library names per-platform. r=dwitte
--HG--
extra : rebase_source : f0585aa0332c2146bee375584a69af4eaed7ed77
2010-07-13 08:53:16 -04:00
Jeff Walden 61b0ed7260 Bug 564621 - Add some documentation for JSONParserState enum values, so that future changes here don't have to lack docs or be the odd man out. r=sayrer
--HG--
extra : rebase_source : c2ce6322c17ec125f216dd0dc00dcec68585431f
2010-05-12 15:03:04 -07:00
Michael Kohler 10548f19c5 Bug 506041 - Correct misspellings in source code (Patch 3)
r=timeless

--HG--
extra : rebase_source : 1917c999a5865676ffb7ec3c2834c3e091bb64dc
2010-07-07 15:33:52 +02:00
timeless@mozdev.org f0252e7cbf Bug 575024 JSObject::resizeDenseArrayElements comparison is always false due to limited range of data type
r=dvander

--HG--
extra : rebase_source : 2be13535bf494080eb098ab4c4f9008d7a6feb88
2010-06-28 13:22:52 +03:00
timeless@mozdev.org 261888bbb9 Bug 555686 scope is never used in JS_NextProperty
r=jorendorff

--HG--
extra : rebase_source : 65aaf4e7c50880e467fec4397bf9a514eee5dd38
2010-05-25 04:11:48 +03:00
timeless@mozdev.org 9760e90b3d Bug 564717 warning: functions defined but not used in xpcmodule.cpp
r=mrbkap

--HG--
extra : rebase_source : e8a15a17c5210b3ad17c6af79f1e2443f3eeb0b3
2010-05-25 17:34:13 +03:00
timeless@mozdev.org 0cf7eea542 Bug 564763 ReservedSlotIndexOK and js_GetReservedSlot-limit are unused in nondebug builds
r=jorendorff

--HG--
extra : rebase_source : 417ac35e2aefbfe029dae891d551c71ef456712e
2010-07-07 17:22:26 +03:00
timeless@mozdev.org ff924125c4 Bug 552686 JS_GetFrameThis seems to require a JSContext these days when it calls some xpconnect wrapper that gets a thisObject
r=jorendorff

--HG--
extra : rebase_source : 7db05ad444219ffd5dbb64a86ac7470aa8095ace
2010-05-25 04:11:47 +03:00
Peter Van der Beken 06960e57dc Part 6 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - pass the wrapper cache to WrapNative. r=jst.
--HG--
extra : rebase_source : 06db2c01b59630cd47c6d9d4f2302bf952233897
2010-05-10 20:53:05 +02:00
Benjamin Smedberg da07f45084 Bug 578809 - Jetpack .callMessage should be RPC, not sync, so that handles created during the reply are available correctly, r=bent 2010-07-23 17:11:33 -04:00
Benjamin Smedberg 56a11e40a6 Bug 578773 - Jetpack processes should send messages about uncaught exceptions to the parent, r=bent 2010-07-23 17:11:33 -04:00
Stefan Hundhammer 3d6ad795e6 Bug 581318: Qt moc calls need DEFINES and ACDEFINES for conditional compilation. r=khuey 2010-07-23 10:56:19 -07:00
Olli Pettay 6059821942 Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Mounir Lamouri 5736cdf126 Bug 581021 - js_RestoreRegExpStatics has too many arguments. r=jorendorff a=blocking-2.0+ 2010-07-22 16:55:11 +02:00
Johnny Stenback ae563eb8c2 Disable tests on 64-bit systems where they don't behave. r=bclary@bclary.com 2010-07-21 01:34:14 -07:00
Bob Clary fd0d84db64 Fixing orange caused by fix for bug 572190. r=jst 2010-07-21 00:22:52 -07:00
Johnny Stenback c10aab9042 Fixing at least part of bug 572190. Make JS stack size a factor of size_t so that roughly as much fits on the stack whether we're on a 32 or 64 bit system. r=mrbkap@gmail.com 2010-06-29 18:25:56 -07:00
Rail Aliev a4787c8a73 Bug 580010, bump versions to Fx4.0b3pre/Gecko 2.0b3pre, r=nthomas (CLOSED TREE) 2010-07-21 12:49:22 +12:00
Benjamin Smedberg 8c3ec754de Back out bug 578751 to help solve bug 580360 (all dynamic components fail to load). The patch was not properly reviewed to begin with :-( 2010-07-20 17:52:27 -04:00
Benjamin Smedberg bb899649a4 Backed out changeset 0c116ba35956 2010-07-20 17:49:10 -04:00
Taras Glek 90c891c399 Bug 576399 - GCC 4.5 -Os bustage workaround r=khuey 2010-07-01 16:20:39 -07:00
Benjamin Smedberg a677e5bf91 Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg e17740e1ab Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg e474c09ee8 Fix packaging of test-only XPT files for crashreporter and httpserver.
--HG--
extra : rebase_source : 27abb29f16e071a7c08220d46f9cbef4ded08fc4
2010-06-30 12:42:24 -04:00
Benjamin Smedberg e2c331db23 Require XPT files to be loaded explicitly: they are never auto-registered when found in a components/ directory. 2010-06-29 18:16:48 -04:00
Neil Rashbrook 0b35b94dab Bug 572996 Compiler dependencies don't work for debug-only includes r=ted 2010-06-30 12:44:18 +01:00
Benjamin Smedberg 45364ac2e1 Add a classID check in generateNSGetFactory, from bug 568691 comment 62. 2010-06-27 21:05:47 -04:00
Benjamin Smedberg 29e089defb Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg a6e59d8d09 Sync js/src/{config,rules}.mk 2010-06-25 11:11:56 -04:00
Benjamin Smedberg 5f7a36ec28 Testing fixes for bug 568691 - change xpcshell do_load_module to do_load_manifest, and switch the relevant tests to use manifests and the new function. 2010-06-25 10:43:25 -04:00
Ben Newman fd4a775b61 Disable hanging jetpack XPCShell tests. r=sdwilsh 2010-06-25 11:42:34 -07:00
Benjamin Smedberg 822ccb0789 Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Ben Turner 4334db65c2 Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst. 2010-06-23 12:46:08 -07:00
Benjamin Smedberg 4fcdf21a84 Revert accidental change to XPCOMUtils.jsm introduced in revision 731d52e5b732 2010-06-23 15:19:18 -04:00
Benjamin Smedberg 107141f8f0 Remove hard tabs which I accidentally introduced into nsComponentManager.{h,cpp}. 2010-06-23 13:36:53 -04:00
Benjamin Smedberg baccf65616 Sync js/src/rules.mk from bug 568691 2010-06-22 13:05:06 -04:00
Benjamin Smedberg a73308ef4b Bug 568691 - Add CID data back to classinfo because it's required for fastload to work correctly. 2010-06-22 12:59:57 -04:00
Benjamin Smedberg 5d8c2e8024 Bug 568691 - Fix XPCOMUtils.jsm to generate NSGetFactory, and fix nsSample.js to use XPCOMUtils 2010-06-21 14:29:32 -04:00
Benjamin Smedberg 18fcb3c625 Address review comments from bug 568691 comment 13/14/17:
* rename mozilla::Module struct entries to be clearer
* change Module documentation so that the last entry is { NULL } in all cases (the compiler will 0-expand the structure)
* remove NS_XPCOM_COMPONENT_REGISTRY_FILE
* add MOZ_MEDIA/MOZ_OGG/MOZ_WAVE/MOZ_WEBM ifdefs to nsHTMLMediaElement.h and nsContentUtils.cpp
2010-06-21 12:46:26 -04:00
Benjamin Smedberg 0df0345c66 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg edbd474f05 Bug 568691 part C - Register all components based on reading .manifest files from the components directories. Binary components auto-register using "binary-component name.dll". JS components register using "component CID file.js" "contract @mozilla.org/contract;1 CID" and "category categoryname keyname value".
This patch has some bugs, specifically we stop looking for .manifest files in chrome/. I will fix that in a followup. It also probably breaks non-libxul builds because of ordering issues.

Another followup will actually fix our in-tree JS components and add build machinery for creating a proper components.manifest file.
2010-06-11 16:13:26 -04:00
Benjamin Smedberg a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Benjamin Smedberg c611ebcd81 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Rail Aliev 4414f690e6 bug 569426: Tracking bug for build and release of Firefox 3.7a5 - Version bump for default branch. r=bhearsum 2010-06-10 10:35:42 -04:00
Dão Gottwald 0978149cf3 Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga c81affe35c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Nick Thomas 687dcf861a Bug 570022, bump Firefox/Gecko version to 4.0b2pre/2.0b2pre after 4.0b1 tagging, r=jhford, a=beltzner, CLOSED TREE 2010-06-29 15:09:55 +12:00
Ben Turner d4a7c32a21 Bug 575399 - 'IndexedDB: Remove XPConnect slow paths from some IndexedDB methods'. r=sdwilsh 2010-06-28 15:22:41 -07:00
Ben Turner 24407948af Bug 574872 - 'Allow XPConnect to pass the JSContext through XPIDL when requested'. r=jst 2010-06-28 15:22:39 -07:00
Shawn Wilsher f871937b41 Bug 574811 - Rename IDBCursorRequest to IDBCursor
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher 3d5256df47 Bug 574811 - Rename IDBIndexRequest to IDBIndex
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBIndexRequest.cpp => dom/indexedDB/IDBIndex.cpp
rename : dom/indexedDB/IDBIndexRequest.h => dom/indexedDB/IDBIndex.h
2010-06-28 11:51:06 -07:00
Shawn Wilsher c4b3932911 Bug 574811 - Rename IDBObjectStoreRequest to IDBObjectStore
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBObjectStoreRequest.cpp => dom/indexedDB/IDBObjectStore.cpp
rename : dom/indexedDB/IDBObjectStoreRequest.h => dom/indexedDB/IDBObjectStore.h
2010-06-28 11:51:06 -07:00
Zack Weinberg aacc755259 Bug 571989 part 1: Move the contents of gfx/src/psshared into widget/src/gtk2, which is the sole user.
--HG--
rename : gfx/src/psshared/nsCUPSShim.cpp => widget/src/gtk2/nsCUPSShim.cpp
rename : gfx/src/psshared/nsCUPSShim.h => widget/src/gtk2/nsCUPSShim.h
rename : gfx/src/psshared/nsPSPrinters.cpp => widget/src/gtk2/nsPSPrinters.cpp
rename : gfx/src/psshared/nsPSPrinters.h => widget/src/gtk2/nsPSPrinters.h
rename : gfx/src/psshared/nsPaperPS.cpp => widget/src/gtk2/nsPaperPS.cpp
rename : gfx/src/psshared/nsPaperPS.h => widget/src/gtk2/nsPaperPS.h
2010-06-28 10:36:17 -07:00
Shawn Wilsher a2baef3136 Bug 574811 - Rename IDBDatabaseRequest to IDBDatabase
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBDatabaseRequest.cpp => dom/indexedDB/IDBDatabase.cpp
rename : dom/indexedDB/IDBDatabaseRequest.h => dom/indexedDB/IDBDatabase.h
2010-06-28 09:46:49 -07:00
Shawn Wilsher b68638c849 Bug 574811 - Rename IDBTransactionRequest to IDBTransaction
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBTransactionRequest.cpp => dom/indexedDB/IDBTransaction.cpp
rename : dom/indexedDB/IDBTransactionRequest.h => dom/indexedDB/IDBTransaction.h
2010-06-28 09:46:21 -07:00
Shawn Wilsher 3405a47131 Bug 574740 - Rename nsIIndexedDatabaseRequest to nsIIDBFactory
Update interface names per specification.
r=bent

--HG--
rename : dom/indexedDB/IndexedDatabaseRequest.cpp => dom/indexedDB/IDBFactory.cpp
rename : dom/indexedDB/IndexedDatabaseRequest.h => dom/indexedDB/IDBFactory.h
rename : dom/indexedDB/nsIIndexedDatabaseRequest.idl => dom/indexedDB/nsIIDBFactory.idl
2010-06-28 09:44:30 -07:00
timeless 4ab4321776 Bug 568007 - js_GetReservedSlot is too friendly to api abusers r=jorendorff 2010-06-28 12:00:07 +02:00
Masatoshi Kimura eb279b4d05 Bug 570365 - Remove -MANIFESTUAC:NO linker flag from configure r=ted.mielczarek
--HG--
extra : rebase_source : 75eb9e70e04abac7e61e835f62f0aef82c085cec
2010-06-27 01:33:17 +02:00
Jacek Caban d976802e3d Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander
--HG--
extra : rebase_source : 1ae22e8abd799137e661f34b0c8346006a511617
2010-06-27 01:28:10 +02:00
Jacek Caban be2d8d71ce Bug 569821 - js compilation failure on mingw-w64 r=dvander
--HG--
extra : rebase_source : 849d0c26e909917d6bdf7643928978cf59ed61b5
2010-06-27 01:27:18 +02:00
Daniel Holbert 60bb80c99c Bug 557566 followup: disable FAIL_ON_WARNINGS on Android. r=mwu 2010-06-26 15:15:35 -07:00
Ginn Chen ae8390a3fd Bug 574639 fix a typo in last commit 2010-06-27 01:09:34 +08:00
Ginn Chen b8f8b9b8aa Bug 574639 Several fixes for configure.in and rules.mk for Solaris r=bsmedberg 2010-06-27 00:56:07 +08:00
Peter Van der Beken de01ad9bd3 Fix for bug 563948 (Quickstub nsIDOMNSElement.*). r=bz. 2010-05-06 14:32:14 +02:00
Peter Van der Beken bd7716cf97 Workaround for bug 564171 (Difference in behaviour between quickstubbed and non-quickstubbed readonly properties). r=jorendorff. 2010-05-12 15:04:18 +02:00
Johnny Stenback 13f97abecf Merging in changeset 4aebd52d74e8. 2010-06-30 17:06:01 -07:00
Doug Turner 6497f4ed68 Bug 575914 - Disabling cpow tests until they are not orange. r=jst 2010-06-30 16:07:36 -07:00
Chris Jones 4284e16fc8 Bug 575918: Temporarily disable OOP xpcshell on OS X because it's completely broken. r=bsmedberg 2010-06-30 17:53:51 -05:00
Doug Turner 9491e021f6 merge with mc 2010-06-30 10:50:45 -07:00
Doug Turner 0d868b7cdf Merge with mozilla-central 2010-06-28 21:10:55 -07:00
Doug Turner e5c86fcd42 Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Oleg Romashin 39a0145aea Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Doug Turner 9c89be497e Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Saint Wesonga 770c665f0d Bug 512447 - JSON.stringify does not correct handle replacer functions. r=sayrer 2010-06-24 13:32:07 -07:00
Jason Duell 386a098a89 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Josh Matthews a896ac2531 Bug 564382 - Remove CPOWs from PContentProcess tree. r=olli 2010-06-17 14:10:14 -07:00
Doug Turner b2c88178e3 Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Robert Sayre c1d57c9e55 Merge. 2010-06-06 14:56:31 -04:00
Robert Sayre 899c142ca3 Merge tracemonkey to mozilla-central. 2010-06-06 14:55:52 -04:00
Robert Sayre cecd0f18ee Merge mozilla-central to tracemonkey. 2010-06-06 11:28:04 -04:00
Nicholas Nethercote 0f7c36fac7 Update nanojit-import-rev stamp. 2010-06-05 20:15:51 -07:00
Jacob Bramley f977ca1e42 Remove stack-size limitations in asm_spill for ARM. [Bug 561977] [r=rreitmai] 2010-06-05 20:12:54 -07:00
Robert Sayre 5a3f306961 Merge mozilla-central to tracemonkey. 2010-06-05 19:13:45 -04:00
Igor Bukanov 06ddfe2226 bug 566836 - eliminating JSObjectOps::dropProperty. r=gal
--HG--
extra : rebase_source : cdffca0a863d8a3dddbc77335fc3cdac2eff9f4b
2010-06-05 23:24:54 +02:00
Robert Sayre c5199de06b Merge backout. 2010-06-05 11:43:27 -04:00
Robert Sayre 878aca6218 Backed out changeset 52be13ea0488. Bug 556277 - Compute this eagerly in more cases. r=brendan. Suspected of performance regression on SunSpider unpack-code. 80ms -> 135ms. 2010-06-05 11:42:59 -04:00
Vladimir Vukicevic 2bf724adbb b=570025; don't use JS_ConstructObjectWithArguments in typed arrays; r=gal 2010-06-04 12:03:43 -07:00
Jason Orendorff 5bf5fbc4e7 Bug 556277 - Compute this eagerly in more cases. r=brendan.
--HG--
extra : rebase_source : b295b576f019a95b55d12b86077aaef295e3eec8
2010-06-04 00:34:57 -07:00
Luke Wagner 3242a1c4d5 Fix misnamed js_DumpStackFrameChain (r=me)
--HG--
extra : rebase_source : c8d4e523cea0909dc190eac3c368d207d9c6abbb
2010-06-04 11:15:23 -07:00
Jason Orendorff fc6b177f0b Fix up the tests from bug 555246 to pass in the browser.
--HG--
extra : rebase_source : 7402ef86dc51523e55013345eba02a2e95122478
2010-06-03 23:33:40 -07:00
Andreas Gal c3f36f58a1 Suppress deleted properties during iteration (569735, r=brendan). 2010-06-03 21:41:01 -07:00
Nicholas Nethercote 864fd5ca21 Backout the last NJ-to-TM merge (TM revisions b44daa2c0503 to b3167f8f9459, inclusive) because it caused lots of oranges. r=me. 2010-06-03 21:28:18 -07:00
Peter Van der Beken 3c3a5c3f7f Backout 0f6b3c305e16 and 590f2dd5a293 to fix bustage 2010-06-04 15:26:26 +02:00
Peter Van der Beken 3692c2402a Bustage fix. 2010-06-04 14:48:52 +02:00
Andreas Gal b89b4107c3 Don't allow proxies to be fixed while handler traps execute (568473, r=igor). 2010-06-03 18:12:01 -07:00
Nicholas Nethercote 2e54f1ddb1 Update nanojit-import-rev stamp. 2010-06-03 17:53:33 -07:00
William Maddox a4204a3095 Bug 555345 - Add profiling capability for JIT-generated code (vprof changes only) (r=rreitmai+)
An earlier patch to tamarin-redux included vprof patches as well as a coordinated set of changes
to other files in TR.  The vprof directory is imported from nanojit-central, and the vprof changes
were overwritten.  This patch separates the initialization of new profile records from the logging
of data therein, which facilitates the use of the profiling infrastructure from JIT-generated code.

--HG--
extra : convert_revision : 10b865fa5d413277c2e11c211302f75d87029f06
2010-06-03 16:02:28 -07:00
Steven Johnson 3b080ba357 Bug 527512 - ExprFilter missing trivial optimizations for ugt, ult (r=edwsmith,nnethercote)
--HG--
extra : convert_revision : 9bdc25ecdb1b5b3b6a81705df3ae573b812bc990
2010-06-03 10:35:26 -07:00
Jeff Walden 3661a5c498 Bug 548671 - Stop using shared-permanent properties "inherited" from the prototype to represent (function(){}).length and [].length. r=jorendorff
--HG--
extra : rebase_source : c5d48e4fe489f9e350798b49bed70f763e3abf37
2010-06-02 23:44:24 -07:00
Andreas Gal 8c624148c6 Add an API for compartments (570040, r=jorendorff). 2010-06-04 16:32:10 -07:00
Taras Glek 080da9a0bd Bug 570195 - Object.prototype.hasOwnProperty doesn't set the JSRESOLVE_DETECTING flag. r=jorendorff, test by jorendorff.
--HG--
extra : rebase_source : 20ef8f345efc18887c296059aff94e8d4e754cc9
2010-06-04 14:20:53 -07:00
Leon Sha cd0826d88d http://www.dancertheband.com/ does not work correct with flash player 10.1 beta for solaris sparc. r=edwsmith
--HG--
extra : convert_revision : ccfc1e56c6f7dcf68719329cf1615aa5bfc4e3a5
2010-06-02 13:13:24 +08:00
Peter Van der Beken 5db3486c6d Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3j - use fast unwrapping for nsIDOMElement_. r=jst.
--HG--
extra : rebase_source : f4cbf4af1213028818e48cd8c3c4200dab2b6c5e
2010-05-31 22:49:44 +02:00
Peter Van der Beken 33dbe5ebb2 Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3i - use fast unwrapping for nsIDOMDocument_, nsIDOMNSDocument_, nsIDOM3Document_. r=jst. 2010-05-31 22:46:56 +02:00
Peter Van der Beken 62bf49d8fa Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3i - use fast unwrapping for nsIDOMDocument_, nsIDOMNSDocument_, nsIDOM3Document_. r=jst. 2010-05-31 22:46:56 +02:00
Peter Van der Beken 5458c8f217 Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3h - use fast unwrapping for nsIDOMNSHTMLElement_. r=jst. 2010-05-31 22:40:42 +02:00
William Maddox b48e4f458f Support arithmetic with branch on overflow on MIPS -- bug 560926 (r=rreitmai+)
Adds support for MIPS target lacking in earlier patch.
Bug 560926 - Add support for arithmetic with branch on overflow
We simply extend the existing logic for exit-on-overflow in the
manner done for other targets.  There appear to other issues
with oveflow detection in general that are not dealt with here.

--HG--
extra : convert_revision : 3a62ee8cc7d6caf63cbd594f71814c8e8f3d4f7a
2010-05-27 18:00:45 -07:00
William Maddox ae8740c74b Fix missed renaming in NativeMIPS.cpp in patch for bug 560926 (r=rreitmai+)
Bug 560926 - Add support for arithmetic with branch on overflow

--HG--
extra : convert_revision : 8c6a61c935172f56eb7c660b476a5516cd3f04ab
2010-05-27 12:53:35 -07:00
Rick Reitmaier 303174277f Fix winmo macro madness breakage
Extra parenthesis needed in order to correctly resolve macros;
  NativeARM.cpp(2040) : error C2105: '--' needs l-value

--HG--
extra : convert_revision : 6f625518afb60a49717b27ba482ace08309cff12
2010-05-27 11:29:47 -07:00
Rick Reitmaier 9cc43411be Bug 568393 - msvc 2008 compiler generates bad code for CallInfo static initializer (r+wmaddox)
ugh

--HG--
extra : convert_revision : f7c07b8ca96fc2ef1179171f05e69b841ac2865f
2010-05-26 18:02:31 -07:00
William Maddox 8964b34f79 Bug 560639 - Reinstate CodeAlloc::size(const CodeList*) recently removed as "dead" (r=edwsmith+ nnethercote+)
--HG--
extra : convert_revision : aec5028a49e90c4be18de667a2807896e3b689ad
2010-05-26 17:29:16 -07:00
Rick Reitmaier f3647e34bc Bug 567900 - Enable JIT verbose output for release debugger builds (r+stejohns)
Somewhere along the line -Dverbose=jit was disabled for all non-debug builds.
This means that we can no longer see jit generated verbose output unless we
build a debug build, which is very inconvenient.

Also, the define NJ_VERBOSE_DISABLED was introduced without a corresponding
ifdef around the JIT verbose flags of the shell which leads one to erroneously
assume that methods are not being JIT'd (no output visible).

As the verbose mechanism in the JIT adds less than 2% to overall size (measured
on xcode built x86-32 shell) , recommend adding it back.

--HG--
extra : convert_revision : 367041a278adc74f7db6c9a13166f1700b133ec7
2010-05-26 11:08:55 -07:00
Edwin Smith 7e2cdf62e7 Bug 560926 - Add support for arithmetic with branch on overflow (r=nnethercote+ edwsmith+ wmaddox+)
Patch to add 'j' (branch) variants of the exit-on-overflow instructions,
plus a few dependents:

32-bit:
LIR_addjovi
LIR_subjovi
LIR_muljovi

64-bit:
LIR_subq
LIR_addjovq
LIR_subjovq

--HG--
extra : convert_revision : 68023362b0833433a0bc0c3b5af8994894488f33
2010-05-26 14:03:14 -04:00
Doug Turner 3b935d5b7c Merge with mc 2010-05-25 13:48:25 -07:00
Oleg Romashin 2538039097 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay 5331145f44 Use mozilla::void_t, so that CPOW compiles 2010-05-25 10:51:33 +03:00
Olli Pettay 93984b6736 m-c to e10 merge 2010-05-24 17:45:59 +03:00
Edwin Smith cdbe76e6b6 Constant folding for LIR_i2q and ui2uq (bug 560106 r=gal+)
Helps x64 and ppc64.

--HG--
extra : convert_revision : e6ce59a07d5fd363fadc242a93a2677f6fc69989
2010-05-24 09:13:11 -04:00
Jacob Bramley 3a802dd334 Remove stack-size limitations in asm_spill for ARM. [Bug 561977] [r=rreitmai]
--HG--
extra : convert_revision : 09f682eb3100993e4f15758f209601c033d5ca3c
2010-05-24 11:30:06 +01:00
Jeff Walden 44e735af21 Split up DST tests a bit more. r=time 2010-06-03 15:48:26 -07:00
Andreas Gal 48ee43fde4 Rename JSNoopProxyHandler to JSWrapper and move it into jswrapper.[h|cpp] (568731, r=cdleary). 2010-06-03 15:27:29 -07:00
David Mandelin 175ff103aa Bug 569767: add separate trace-type 'magic' for JSVAL_HOLE, r=dvander 2010-06-03 10:38:44 -07:00
Brendan Eich d5e7d067e2 Fix failure to handle deep bail, and stop recording properly, in wake of bug 523452 (569843&569849, r=jorendorff). 2010-06-03 11:08:58 -07:00
Jeff Walden aa9aa411ea Bug 569471 - Rename js_GetWrappedObject to JSObject::wrappedObject. r=jorendorff 2010-06-01 15:59:02 -07:00
Jason Orendorff d7d1646903 Bug 569771 - Factor out calling resolve hooks from js_LookupPropertyWithFlags. r=gal. 2010-06-02 23:11:31 -07:00
Jason Orendorff 37f324c09c Back out changeset 96dbe8a784f1 (bug 569735) due to failing tests. 2010-06-02 23:48:22 -07:00
Andreas Gal 98a785e069 Rip out proto cache and store prototypes in the global object (569537, r=jorendorff). 2010-06-02 20:30:45 -07:00
Andreas Gal ae899f25c0 Suppress deleted properties during iteration (569735, r=brendan). 2010-06-02 20:11:56 -07:00
Jason Orendorff 7182d1f3dd Bug 567152 - Assertion failure: !generic(). r=brendan.
--HG--
extra : rebase_source : 8a09f3c6b9570d764ebc404a2ff870625e156801
2010-06-02 16:45:23 -07:00
Jeff Walden 6b0f8e657a Bump jstests.py timeout limit to 150s; reftest harness times out at 300s now, so this both substantially raises the ceiling and doesn't raise it so far that a fast-in-shell-but-slow-in-browser test might time out only in browser, or at least that's the hope. r=flakiness 2010-06-02 17:04:37 -07:00
Brendan Eich 8e61d91a7b Test for bug 568056. 2010-06-02 16:39:49 -07:00