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

2006 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com 4f8934ad1d Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec. 2002-08-26 20:36:44 +00:00
rogerl%netscape.com 35b76fe46c Bug 58274. Support double byte characters for toSource identifiers.
r=khanson, sr=brendan.
2002-08-26 20:07:58 +00:00
brendan%mozilla.org 3b91b3f362 One-character fix to a comment, use modulus with %, not mask. 2002-08-24 22:14:15 +00:00
brendan%mozilla.org f3faeb8796 My tweaks on top of a patch from Mark Hawlitzeck <mhawlitzeck1@earthlink.net> to avoid last-ditch gc failure (162779, sr=jband/shaver). 2002-08-23 07:56:11 +00:00
dbradley%netscape.com cde2b461c1 Bug 160602 - Patch sets FPU precision to 53 bit mantissa. r=khanson, sr=brendan 2002-08-20 12:56:30 +00:00
brendan%mozilla.org 08bb9cab14 Avoid reloading rt->interruptHandler on each cycle of the bytecode interpreter (121414, r=rginda, sr=jband). 2002-08-14 00:17:27 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
timeless%mac.com 89ff5bdc9e sorting pure js engine includes alphabetically to match js engine prevailing style
rs=brendan
2002-08-09 00:49:44 +00:00
timeless%mac.com b3565bc10e ### Building "Viper1-Disk:Source Tree:mozilla:js:macbuild:_JavaScript.mcp" (Thu Aug 8 15:19:17 2002)
Error   : function has no prototype
jslock.c line 854   js_FinishDtoa();
adding an include and hoping it works
2002-08-08 22:36:15 +00:00
brendan%mozilla.org 873971ec4c Fix js_NewObject not to share proto's map if proto and obj don't have the same number of reserved slots (112974, r=rogerl, sr=jband). 2002-08-08 21:51:54 +00:00
seawood%netscape.com 2dd8386976 Misc build cleanup v1:
Cleanup win32 configure output. Remove EMACS
Bug #161461 r=bryner
2002-08-08 21:35:45 +00:00
timeless%mac.com 2e645bfdd7 Bug 148171 js_FinishDtoa() not called unless JS_THREADSAFE is set
patch by scole@planetweb.com r=khanson sr=shaver
2002-08-08 20:53:14 +00:00
jdunn%netscape.com b9a04ca106 fixing AIX optimization issue with jsatom.c
# 161542
r=cls@seawood.org
submitted by pkw@austin.ibm.com, checking in for khanson@netscape.com
2002-08-08 13:22:51 +00:00
brendan%mozilla.org 65405aa551 Fix a couple of jsemit.h glitches, and a benign but confusing hard case to do with extended switch jumps in jsemit.c's OptimizeSpanDeps (158382, r=khanson, sr=shaver). 2002-08-08 00:30:20 +00:00
dbradley%netscape.com d64eed2142 Bug 159667 - xpconnect needs support for finding *real* wrapped native methods. r=dbradley, sr=jst patch=jband 2002-08-07 23:39:11 +00:00
brendan%mozilla.org a099682b6e Fix a macro name (LIMIT, not MAX -- fencepost, not maximum value; r=lumpy, sr=jack). 2002-08-07 20:22:38 +00:00
seawood%netscape.com 301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
alecf%netscape.com f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
brendan%mozilla.org c2dc7271c9 Steven Don's patch for bug 160592, opt:noicf linker option required for release builds (not part of Mozilla build). 2002-08-02 05:34:41 +00:00
jdunn%netscape.com b3c11d95b2 removing antiquated aix/jdk1.1.6 hackery
sr=brendan@mozilla.org
r=rogerl@netscape.com
a=asa@mozilla.org
# 158115
2002-08-01 11:04:21 +00:00
brendan%mozilla.org 4cbe5aceda khanson's patch with a comment elaboration for bug 157652 (r=rogerl, sr=me, a=rjesup). 2002-07-31 21:42:12 +00:00
dbradley%netscape.com 7e203d102e Added makefile.in to prepare for nmake going away. This is built separately, not part of the mozilla build process. 2002-07-29 20:47:02 +00:00
brendan%mozilla.org 4e32a6ca06 Finally fix 137000, which requires working around an MSVC ISO-C violation ('identical COMDAT folding', 151066, r=brendan/jrgm, sr=bryner/shaver, a=asa). 2002-07-24 01:48:40 +00:00
brendan%mozilla.org bdbc5696c2 Don't return 1 cast to JSProperty* for a property found in a non-LiveConnect prototype object (155740, r=rogerl, sr=jband, a=chofmann/blizzard/scc). 2002-07-19 22:00:03 +00:00
seawood%netscape.com fe2f4b55ff Remove DARWIN define from osx builds as it cripples the feature set provided by OSX headers.
Bug #154232 r=wtc sr=scc a=scc
2002-07-18 04:09:30 +00:00
brendan%mozilla.org a845077b0d Emulate IE6 by making RegExp.prototype match the empty string (156355, r=rogerl, sr=shaver, a=dbaron). 2002-07-12 04:54:57 +00:00
brendan%mozilla.org c567b92abe Fix GC_MARK_DEBUG (DEBUG only, r/sr=dbaron). 2002-07-10 03:01:32 +00:00
brendan%mozilla.org 703c294a0e Null-check prop before dropping it (156354, r=khanson, sr=shaver). 2002-07-09 02:24:51 +00:00
brendan%mozilla.org 6377e47a6d Eliminate broken old pre-ECMA switch case compile-time evaluation (144834, r=khanson, sr=shaver). 2002-07-09 02:15:49 +00:00
timeless%mac.com 98fbaca8bd Bug 125411 [NuBus] Mac installer crashes with a type 12 error (SleepQInstall)
r=dmose sr=jst
2002-07-08 07:26:41 +00:00
timeless%mac.com 651ae14d30 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
brendan%mozilla.org 1d67c5d684 rogerl's fix to conform to ECMA by not enumerating regexp instance properties (155291, r=khanson, sr=brendan). 2002-07-03 21:07:53 +00:00
brendan%mozilla.org 413c0e6e50 rogerl's patch to fix some ECMA arity glitches (155289, r=khanson, sr=brendan). 2002-07-03 21:03:02 +00:00
brendan%mozilla.org da451aaa9c khanson's fix for Function.prototype.apply.length ECMA glitch (145779, r=rogerl, sr=brendan). 2002-07-03 21:00:15 +00:00
rogerl%netscape.com c7c6b759c0 Bug #155285. Array.join(undefined) should use ',' - ECMA compatibility.
r=scole, sr=brendan.
2002-07-03 07:22:14 +00:00
timeless%mac.com e92566d986 Bug 154737 String(NaN) crashes JS Engine if JS_THREADSAFE is set
r=dbradley sr=brendan
2002-07-03 02:14:51 +00:00
seawood%netscape.com 03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
rogerl%netscape.com e86d47baeb Bug #154338, r=khanson,sr=jag. Misuse of string length field, when string
was dependent, extracted bad value for subsequent memory request.
2002-07-02 18:14:01 +00:00
jst%netscape.com f77d6579ac Fixing bug 129622. Make comparing an XPConnect wrapped native object to a number (<, >, ==, ...) in JS always return falase. r=dbradley@netscape.com, sr=jband@netscape.com 2002-06-25 22:14:58 +00:00
timeless%mac.com 46878c2746 Bug 125411 [NuBus] Mac installer crashes with a type 12 error (SleepQInstall)
r=sfraser sr=beard
thanks to tim@maroney.org (see bug 138156)
2002-06-25 19:39:08 +00:00
khanson%netscape.com 823e1920ba patch 88484 for bug 14044. checks for out of memory conditon in jsdtoa.c. sr=brendan, r=khanson 2002-06-24 06:14:02 +00:00
rogerl%netscape.com c80b7c5e07 Bug #112626 - setting RegExp static field 'input', making sure the paren
capture substring contents aren't gc'd. r=rginda, sr=brendan.
2002-06-21 18:38:45 +00:00
dougt%netscape.com f93a81bfcb Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com 2002-06-14 21:33:05 +00:00
brendan%mozilla.org ca6d53b08b Back out last change pending debug build (see crash bug 151066). 2002-06-12 08:31:43 +00:00
brendan%mozilla.org 7eefb1753b Report uncaught errors-as-exceptions from outermost JS_Compile*Function* API calls, just as for JS_Compile*Script* (150584, r=rginda, sr=jst). 2002-06-12 08:04:28 +00:00
brendan%mozilla.org b051aea202 For the file input case, roll our own fgets replacement to handle NULs in files (148800, r=rogerl, sr=shaver). 2002-06-11 21:32:54 +00:00
brendan%mozilla.org 16f97be249 Drop non-ECMA f.a-for-arg/var-a-in-active-f support (137000, r=khanson, sr=shaver). 2002-06-11 20:43:50 +00:00
mcafee%netscape.com 76a4589d6e Splitting liveconnect off from the java module, new module is called liveconnect, similar to what was done for xpconnect (145347). r=blythe, sr=alecf, a=asa 2002-06-08 06:59:53 +00:00
alecf%netscape.com bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
brendan%mozilla.org 791ae0c843 Ensure a live keyHash *after* multiplying by the irrational (146907, r=dbaron, sr=shaver). 2002-06-05 00:47:38 +00:00
brendan%mozilla.org 1740ef44a7 Respect addProperty failure (148899, r=khanson, sr=shaver). 2002-06-04 18:13:55 +00:00
dbradley%netscape.com b20ac26ede Fixes XPCONNECT_STANDALONE bustage - see bug 121438 for details 2002-05-31 13:51:08 +00:00
khanson%netscape.com 32f096fe9c patch to speed up array.sort of strings by 40% r=brendan, sr=shaver 2002-05-27 05:53:57 +00:00
brendan%mozilla.org f981dd90ae Don't emit JSOP_DEF{VAR,CONST} unless at top-level or in a heavyweight function (146596, r=jband, sr=shaver). 2002-05-26 00:33:23 +00:00
shaver%mozilla.org 5edfcc1ec0 146210: Add Date.now to mirror JS_Now in script. r=rginda, sr=brendan. 2002-05-24 01:55:15 +00:00
dbaron%fas.harvard.edu 412d54c9d6 Fix Mac bustage from brendan's checkin. 2002-05-22 00:53:12 +00:00
brendan%mozilla.org f1f6f1398e Don't fail to call OBJ_CHECK_ACCESS for o.__proto__ = x, with enough mode bits to say what's happening (143369, r=shaver, sr=jst). 2002-05-22 00:06:40 +00:00
bratell%lysator.liu.se abb8bd42b5 Bug 85267 - clear internal jsdtoa caches when closing down the js engine. Patch by steve.taylor@ndsuk.com r=khanson@netscape.com, sr=brendan@mozilla.org 2002-05-20 20:07:48 +00:00
bratell%lysator.liu.se 6778e86241 Followup to checkin for bug 120992. It asserted in an edge case which this fixes. r=mozbot 2002-05-18 17:33:37 +00:00
bratell%lysator.liu.se 911958f715 Bug 120992 - avoid expensive locking when converting numbers to strings. Now we look once for the whole operation instead of over and over again any time we access a shared structure. r=khanson@netscape.com, sr=brendan@mozilla.org. 2002-05-18 06:21:49 +00:00
jst%netscape.com 2fdb4e3b04 Checking in jband's fix for bug 143853. Make sure to refresh the cached prototype JSObject when a context is reinitialized and a global object is reused between pages in a window. r=dbradley@netscape.com, sr=jst@netscape.com 2002-05-17 22:36:54 +00:00
brendan%mozilla.org c2c188c8cc Checking in khanson@netscape.com's patch fixing GMT offset day-overflow (65671, r=mccabe, sr=jband). 2002-05-15 19:44:34 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
seawood%netscape.com 4293400e69 Because js uses static data structures and is linked into other shared libraries, js must be built as a shared library.
Thanks to Colin Blake <colin@theblakes.com> for the original patch.
Bug #127442 r=bryner
2002-05-15 01:37:07 +00:00
darin%netscape.com 6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
brendan%mozilla.org 3f518e626f Avoid toSource bloat in e.stack; fix related crash due to unrooted errObject in js_ErrorToException (139316, r=rginda, sr=shaver). 2002-05-07 08:34:51 +00:00
brendan%mozilla.org 4d9e715520 Fix old bogus static dollarStr thread-safety bug (142651, r=jband, sr=shaver). 2002-05-07 08:29:39 +00:00
bryner%netscape.com 7f766daf07 Adding the functions JS_LockGCThingRT and JS_UnlockGCThingRT, which are variants that only require a JSRuntime, not a JSContext. Converted some internal callers to use the new interface. Bug 141356, patch from shaver, r=bryner, sr=brendan. 2002-05-04 05:28:09 +00:00
darin%netscape.com 9508d71adc fixes build bustage with --enable-xpctools
patch=dmose r/sr=darin
2002-05-03 19:04:14 +00:00
brendan%mozilla.org bf8e80d0d1 Fix js_SetProtoOrParent to handle non-native and native-but-incompatible-class-change proto-setting scenarios (140164, r=khanson, sr=jband). 2002-05-02 20:59:35 +00:00
brendan%mozilla.org 30322b2b64 Don't 'constant-fold' if(false)var foo=42 into nothing (140974, r=khanson, sr=shaver). 2002-04-30 23:28:34 +00:00
darin%netscape.com e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
jband%netscape.com 8c580862e8 fix bug 139243. Remove reference count based rooting of JS objects of wrapped natives and replace it with GC-time marking. This is a pretty good DOM performance win. r=dbradley sr=jst. 2002-04-26 06:08:35 +00:00
brendan%mozilla.org d4e55c2951 Purge the deflated string cache entry, if any, before finalizing external strings (140070, r=jband, sr=shaver). 2002-04-25 22:55:03 +00:00
khanson%netscape.com dd8c0773df Reverse of Patch 66477 for bug #121744. Bug #131348, r=shaver, sr=brendan. 2002-04-25 20:33:33 +00:00
khanson%netscape.com d817cc069a fixes memory leak in jsdtoa.c bug 138666, sr=brendan, r=khanson 2002-04-24 23:36:48 +00:00
seawood%netscape.com 97531eb92c Add make -j support to win32 gmake builds.
Bug #132848 r=bryner
2002-04-19 02:42:28 +00:00
brendan%mozilla.org 3f8594ea0e Forgot to #ifdef JS_THREADSAFE last change (no effect on Mozilla build; fixes broken standalone/single-threaded JS builds, sanity-sr=shaver). 2002-04-04 18:02:59 +00:00
brendan%mozilla.org e424e842c6 Followup fix to synchronize with a nt-last-destroy-context racing GC when unpinning pinned atoms (133773, r=shaver, sr=jband, a=rjesup). 2002-04-03 20:38:39 +00:00
beard%netscape.com 8f9516a234 Fixes an installer crash on pre-PCI PowerMacs, bug # 125411. sr=sfraser, r=sdagley, a=asa 2002-04-02 23:27:55 +00:00
seawood%netscape.com 090c63d423 More cruft removal. Remove platform.h xp_debug.h xpassert.h & xp_trace.h from the build.
Replace currently unused references to XP_ASSERT with one of NS_ASSERTION & friends.
Bug #38061 r=bryner sr=alecf a=tor/drivers a=putterman/adt
2002-04-02 07:57:02 +00:00
brendan%mozilla.org 0555817eef Fix next-to-last vs. last context GC race, plus ClaimScope vs. js_DestroyContext race; removed js_ForceGC from the FRIEND JS API (133773, sr=jband&shaver, a=asa). 2002-04-02 04:23:21 +00:00
dbaron%fas.harvard.edu 6cdcd7ef3a Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
brendan%mozilla.org ac2c08044b Fix JSOP_DEFFUN to define functions in global code permanently, and not permanently in eval code (131964, r=khanson, sr=shaver, a=scc). 2002-03-23 17:34:24 +00:00
brendan%mozilla.org 74c88d8460 Cope with OOM creating rt->atomState.table (131246, r=scole@planetweb.com, sr=jband, a=scc, thanks to scole for finding these OOM recovery bugs). 2002-03-23 07:38:08 +00:00
khanson%netscape.com 51645833cc patch #75132 changes for bug#132230 (str_unescape and js_str_escape in jsstr.c ignore OOM errors) Written by Steven Cole, sr=bendan, r=khanson, a=asa. Handles an out of memory conditions more gracefully. 2002-03-22 21:24:46 +00:00
pschwartau%netscape.com 4cf8850876 Updating JS_GetImplementationVersion() to date of latest JS release (67111). 2002-03-22 20:43:47 +00:00
jband%netscape.com 6ce09c1621 fix bug 132713. Use the iid for nsIException to detect exceptions rather than nsIXPCException. This allows for better error reporting of natively implemented exceptions. r=dbradley sr=jst a=scc. 2002-03-22 19:14:57 +00:00
dougt%netscape.com 40642fc34c 130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, sr=brendan@mozilla.org a=asa@mozilla.org 2002-03-21 23:43:21 +00:00
jband%netscape.com 16d78379aa fix bug 125084. Add support for empty arrays in nsIVariant. This is expressed as atype id rather than as a regular array with no elements. Includes changes to xpconnect to support mapping to empty JSArrays, xpconnect tests, and SOAP. Patches are from jcorwin@us.ibm.com and rayw@netscape.com. r=jband sr=brendan a=asa 2002-03-21 23:21:54 +00:00
brendan%mozilla.org c2ee1d2afb Fix js_FinalizeStringRT so it doesn't depend on a dependent string's base, which may already be finalized (132088, r=scole, sr=shaver, a=asa). 2002-03-21 09:06:00 +00:00
khanson%netscape.com 5bf172e81d Patch 74900 for bug #131817 (OOM in AllocSrcNote causes crash in js_NewSrcNote). The patch was contributed by Steven Cole (scole@planetweb.com), sr=brendan, r=khanson, a=scc 2002-03-20 05:45:12 +00:00
brendan%mozilla.org 94a74d7db5 Defend against early OOM when finishing JSDHashTables (131815, r=scole, sr=jband, a=asa). 2002-03-20 02:22:50 +00:00
brendan%mozilla.org a0f36bedac Fix ChangeScopeTable gross dimensioning bug (131904, r=scole&khanson, sr=jband, a=asa). 2002-03-19 23:25:17 +00:00
brendan%mozilla.org cdad9798f3 Fix 'var arguments;' in a function by specializing to JSOP_ARGUMENTS properly (131510, r=khanson, sr=jband, a=asa). 2002-03-19 22:51:48 +00:00
timeless%mac.com dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
brendan%mozilla.org 0c6a6e0115 Forgot to check this in yesterday: fix all engine-defined getters and setters to have no slot [to be JSPROP_SHARED] (130970, r/sr=shaver&jband, a=asa). 2002-03-17 11:01:34 +00:00
brendan%mozilla.org 9402b61613 Null test to handle recovery from OOM under js_NewContext reported by scole@planetweb.com (r/sr=jband, a=me). 2002-03-16 23:19:35 +00:00
brendan%mozilla.org 1e126a67d9 Restore non-bogus assertion removed in last rev, and fix the case that tripped it in js_ChangeScopeProperty, by not removing [and maybe freeing sprop->slot] before re-adding sprop; also fix all engine-defined getters and setters to have no slot [to be JSPROP_SHARED] (130970, r/sr=shaver&jband, a=asa). 2002-03-16 04:51:29 +00:00
rginda%netscape.com 5ab837c899 bug 129519, "JS_GetPropertyDesc gives up too easily", r=jband, sr=shaver, a=bren
dan
Make JS_GetPropertyDesc degrade gracefully instead of fail outright when we run
into a problem fetching the property value.
2002-03-16 01:56:19 +00:00
khanson%netscape.com e67d7ec049 bug #130991 (Out-of-Memory in jsshell causes assertion failure in jsobj.c) patch by Brendan, sr=jband, r=khanson, a=asa 2002-03-15 06:22:00 +00:00
jband%netscape.com 78b2988012 fix bug 130139. We are iterating an array of pointers not an array of objects. r=dbradley sr=brendan a=asa. 2002-03-15 04:10:25 +00:00
khanson%netscape.com be5d94c4a1 bug #130711, r=khanson, sr=brendan, a=asa, memory leak in JS_dtoa 2002-03-15 00:11:44 +00:00
brendan%mozilla.org 40ba9a0a2a Remove bogus assertion, tripped by js_ChangeScopePropertyAttrs calling js_AddScopeProperty (130970, r=shaver, sr=jband, a=shaver). 2002-03-14 21:59:16 +00:00
brendan%mozilla.org 6f45f575a4 Fix JS/PL_DHashTableEnumerate to compress or shrink the table after enumeration using the same logic as ADD and REMOVE use (120953, r=dbaron, sr=shaver, a=asa). 2002-03-14 21:55:08 +00:00
timeless%mac.com 0a6eb6a388 Bug 61314 Makefile rules for "jsmath.o" and "jsmathtemp.o" cause stale object files, obscure bugs
patch by mang@subcarrier.org r=rogerl sr=brendan a=asa
2002-03-14 21:41:09 +00:00
brendan%mozilla.org 62bc0d659b No strict warnings without the strict option, and other js1.5/mozilla1.0 tidying (129972, r=shaver, sr=jband, a=asa). 2002-03-14 00:14:48 +00:00
brendan%mozilla.org d3a05a01eb Fix Array.prototype.sort to follow ECMA and win perf by not (re-)defining length on the 'this' object (130451, r=shaver, sr=jband, a=asa). 2002-03-14 00:10:31 +00:00
brendan%mozilla.org 05d2d349ce khanson@netscape.com's patch to switch from QuickSort to heap-sort, plus a crucial ECMA-purity/property-tree-perf fix to InitArrayObject (to SET rather than DEFINE; bug 99120, r=waldemar, sr=shaver&brendan, a=asa). 2002-03-13 01:50:13 +00:00
brendan%mozilla.org 21978efea8 Missing JSFunction API (129545, r=shaver, sr=jband, a=asa). 2002-03-12 21:58:27 +00:00
brendan%mozilla.org 5074f6ebd1 Don't forget to lock obj in js_AddNativeProperty and js_ChangeNativePropertyAttrs (130137, r=jband, sr=shaver, a=roc+moz). 2002-03-12 07:17:30 +00:00
jband%netscape.com cb6ae8ad3e fix bug 129697. Don't leave a dangling (to crash later) JS root if JS_NewObject fails while creating a wrapped native. r=beard sr=jst a=asa (for trunk and 0.9.9 branch). 2002-03-09 03:01:44 +00:00
brendan%mozilla.org 75a8745d3d Avoid MSVC bogo-warning. 2002-03-09 00:55:26 +00:00
brendan%mozilla.org efe08cd95c Fix longstanding bug where watchpoints didn't work with JSPROP_SETTER (127243, r=rginda, sr=shaver, a=dbaron). 2002-03-08 22:46:13 +00:00
beard%netscape.com cb2b8b58fb Fix for bug #123920, prevents reentering the JS engine during Java object JS wrapper finalization, by deferring calls into Java at the end of the garbage collection cycle and storing the wrappers in a linked list, which gets processed by a GC callback.
r=jband, sr=brendan, a=asa
2002-03-08 22:37:40 +00:00
seawood%netscape.com d97d6d301f This patch replaces the bogus USE_AUTOCONF ifdef + platform ifdef tests with a
simple HAVE_LOCALTIME_R test.  -DHAVE_LOCALTIME_R has been added to the
js/src/config/<platform>.mks as necessary.
bug #128556 r=brendan sr=shaver a=asa
2002-03-08 01:42:32 +00:00
rginda%netscape.com 36a0ec70a8 bug 128057, r=brendan, sr=shaver, a=asa
check for JS_GetPropertyDesc failure in JS_GetPropertyDescArray
2002-03-06 22:12:38 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
brendan%mozilla.org 4047cc7888 Not part of build, for the js testsuite only: add clone shell function to clone a function object (for 127557 regression testing, a=shaver). 2002-03-06 04:45:32 +00:00
beard%netscape.com e56ba03add Universal config file for Darwin. 2002-03-05 15:52:37 +00:00
beard%netscape.com 3dbc5b854c fix for bug #59686, a=asa@mozilla.org, r=rogerl, sr=shaver. 2002-03-05 15:09:05 +00:00
shaver%mozilla.org dac4fdf779 Bug 106864: xptcall support for the ARM platform, and mild jsnum.h arm-define
tweaks. Patches from Mark Crichton <crichton@gimp.org>, Russell King
<rmk@arm.linux.org>, Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>.
r=brendan on jsnum.h, sr=shaver, a=asa for trunk and branch.
2002-03-05 06:35:50 +00:00
nisheeth%netscape.com 8872795d15 Fix for bug 125465. r=jag, sr=jband, a=asa. Add AString, ACString, and AUTF8String support to XPCOM's variant data type. Also, add forward declarations of AString and ACString to nsrootidl.idl. 2002-03-05 02:22:02 +00:00
beard%netscape.com 50d5d72d66 Needed for Mac OS X 10.1.3 / Darwin 5.3 2002-03-04 16:14:41 +00:00
brendan%mozilla.org be783ec091 Runaway recursion safety for Exception and js_ErrorToException.
The latter no longer calls the former via js_ConstructObject, to
minimize failure opportunities when converting an error into an
exception.  Also, the 'stack' property of exception objects
faithfully preserves Unicode in function names and decompiled
actual argument sources.

Also, fun_xdrObject was reversing property order when encoding;
fixed to maximize property tree compression gain.

Also^2, js_ConstructObject was not handling success+not-found
return from FindConstructor.

bug 127136, r=rginda, sr=shaver, a=chofmann
2002-03-03 00:59:16 +00:00
brendan%mozilla.org 4f6d566527 Fix topcrash regression from bug 62164: keep track of duplicate kids below the root ply of the property tree, so we can fix up each dup's parent link (128258, r=shaver, sr=jband, a=asa). 2002-03-01 23:29:54 +00:00
brendan%mozilla.org 32d76a128b Fix call_enumerate to reflect compiler-created properties from function to its call object (127557, r=jband, sr=shaver, a=asa). 2002-03-01 23:25:34 +00:00
brendan%mozilla.org 8ecde6229e Fix GC_MARK_DEBUG #ifdef'd code (not part of default build; r=polarbear, sr=shaver, a=dbaron). 2002-03-01 05:22:26 +00:00
rginda%netscape.com 72469311ce part of bug 109652, "Venkman needs to profile"
sr=brendan, r=peterv, a=shaver
add JS_Now to the jsapi, and JS_GetScriptVersion to jsdbgapi
2002-02-27 09:17:21 +00:00
sfraser%netscape.com 2f1de24dbc Fixing Mac bustage; add a bunch of casts between PRUnichar* and jschar* (why isn't jschar a wchar_t?). r=nisheeth 2002-02-26 03:01:03 +00:00
nisheeth%netscape.com 46db685f9a Fix for bug 84186. r=dbradley, jag. sr=jband. Added support for CStrings, UTF8String, and AStrings to XPIDL. Also added the -t cmd line flag to XPIDL and XPTLINK that allows us to generate output for a specific XPT version. The XPT version number is being upped from 1.1 to 1.2 with this checkin. 2002-02-26 01:41:42 +00:00
brendan%mozilla.org bcc02f397b Fix stale comment about duplicate formal params (a=drivers, comment-only followup to 62164's big patch). 2002-02-24 00:26:57 +00:00
brendan%mozilla.org 032c9bde1f Comment change only, quick followup to last humongous checkin. 2002-02-23 04:44:40 +00:00
brendan%mozilla.org 57483a3082 Major footprint/perf win: share property state using a tree whose root represents empty scopes, and whose non-root nodes represent scopes with properties added in order from the root to that node; to use double hashing to map these tree-paths for per-scope property lookup; and avoid locking where possible through immutability and mostly-benign&rare race tolerance (62164, r=shaver, sr=jband). 2002-02-23 03:49:27 +00:00
jband%netscape.com 78dddf0f3b fix bug 126333. reduce shutdown leakage by releaseing Components object members. r=dbradley sr=alecf 2002-02-20 07:03:27 +00:00
rogerl%netscape.com e2486ebfbe r=thesteve, sr=brendan, bug @119909 - crashing RegExp with > 10 backrefs. 2002-02-20 05:43:26 +00:00
dbradley%netscape.com 5372835bdb Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst 2002-02-19 14:48:00 +00:00
dbradley%netscape.com db81563416 Bug 121938 - XPCWrappedJS::GetNewORUsed does not look for inherited interfaces when matching interfaces. r=jband, sr=jst 2002-02-19 11:24:21 +00:00
brendan%mozilla.org 33746feb4c Fix bad old js_ValueToInt32 to have an int-jsval fast path, to avoid f.p. inaccuracy (126159, r=shaver, sr=jband). 2002-02-19 00:02:29 +00:00
jband%netscape.com 17e692e072 bug 123770. extend xpconnect to use dynamic 'additional' interface info managers to support dynamic type info. Also, abstract out the Components.interfaces object and make the items use a bit less memory. r=dbradley sr=vidur 2002-02-18 23:47:30 +00:00
brendan%mozilla.org f2dabe8b2c Followup fix for ECMA-262 15.10.6.2 step 6, plus warning fixes (76717, r/sr=shaver&jband). 2002-02-18 23:43:28 +00:00
seawood%netscape.com 3ae0856e3e Removing unneeded LIBS setting. LIBS isn't used to link libraries. 2002-02-18 23:19:49 +00:00
jband%netscape.com 1ef661eab1 fix bug 125430. Unbust Components.returnCode by not setting the JSPROP_READONLY bit on the read/write property. r=bzbarsky sr=jst 2002-02-15 03:33:37 +00:00
dbradley%netscape.com 90a78e1012 Bug 121526 - Need to expose the security info pointer from the nsIXPConnectWrappedNative interface. r=jst, sr=jband 2002-02-15 03:11:15 +00:00
rginda%netscape.com 5d58b5146e bug 124474, "JS_IsNativeFrame should return !fp->script"
also includes typo fix from bug 124474
sr=shaver, r=jband
2002-02-14 07:52:02 +00:00
brendan%mozilla.org aba15fbd2d Construct error objects to consolidate their default property setting; this entails adding JS_ConstructObjectWithArguments (123177, r=rginda, sr=shaver). 2002-02-14 07:25:34 +00:00
jband%netscape.com 7a83c28af1 add regression test for bug 125430. NOT PART OF THE BUILD 2002-02-14 06:01:54 +00:00
dbradley%netscape.com 41da93a53b Bug 124251 - Fix for some DOMStrings leaking when using -mail. r=dbaron, sr=jst 2002-02-14 00:12:44 +00:00
rogerl%netscape.com 3cafa8d101 Fixing bug #103351 - using undefined as RegExp value for String.replace.
r=khanson, sr=brendan
2002-02-12 19:12:42 +00:00
brendan%mozilla.org 1e4bb807d7 Hack special frame flags into fp when compiling under JS_Evaluate*InStackFrame, so useless expressions don't get optimized away (92087, r=rginda, sr=jband). 2002-02-12 07:44:48 +00:00
brendan%mozilla.org 3375f6f6f0 Add exception object stack property, string valued; clean up NULL/VOID mixup, missing OOM test, etc. (123177, r=rginda, sr=shaver). 2002-02-09 06:28:58 +00:00
brendan%mozilla.org fa54cd9d8a Remove bad old regexp object locking across huge, deadlock-prone, so-not-critical sections (123930, r=rogerl, sr=jband&shaver). 2002-02-09 00:14:31 +00:00
brendan%mozilla.org a219a25636 Fix recently-uncovered ECMA violation: lastIndex must use double storage (124339, r=rogerl, sr=shaver). 2002-02-08 23:59:49 +00:00
brendan%mozilla.org a22a44116b Make regexp.lastIndex threadsafe by multiplexing it by thread-id in each r.e. (76717, r=rogerl, sr=shaver). 2002-02-08 02:46:03 +00:00
brendan%mozilla.org a911b05d03 Avoid all gc <> obj-lock deadlocks by letting the gc run lock-free, safe since all requests are suspended or ended when the gc runs (114712, r=shaver, sr=jband). 2002-02-08 01:55:30 +00:00
brendan%mozilla.org 2edcffaaed Quick followup to last checkin -- warning fixes (d'oh!) 2002-02-06 07:56:29 +00:00
brendan%mozilla.org 2653cdfd3a Fix call and new expression parsenode beginning line number, where the arglist is on another line from the function or constructor, to avoid a bogus assertion in UPDATE_LINENO_NOTES, which is now replaced by better comments and an avoided gratuitous store to cg->currentLine (123371, r=rginda, sr=shaver). 2002-02-06 07:39:20 +00:00
brendan%mozilla.org 2c41247d14 Fix failure to check for JS_InitClass failure, reported by Eric Brueggemann <eric_brueggemann@yahoo.com>, r=shaver, sr=mozbot. 2002-02-06 07:01:37 +00:00
jband%netscape.com dcbd4a1a96 Add better support to xpconnect for converting between variants and arrays. bug 120881. r=dbradley sr=vidur. Trivial fix for case where we were hitting an assert at xpcom shutdown. bug 121536. r=dbradley rs=vidur. 2002-02-05 06:45:08 +00:00
jband%netscape.com f0115acfab unbust XPCONNECT_STANDALONE build. No change to default build. bug 121438. rs=jband. 2002-02-03 20:05:22 +00:00
seawood%netscape.com 8f2816f49f Do not place the .res file inthe srcdir 2002-02-01 04:50:32 +00:00
brendan%mozilla.org fdf6f6bfee Fix for(i in null) and for(i in undefined) to error per ECMA, rather than iterating zero times (121744, r=khanson, sr=shaver). 2002-01-31 07:30:05 +00:00
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
dougt%netscape.com c50ca402ad 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
brendan%mozilla.org 1d1d042dce Checking in rogerl's fix for double-reports of compile-time errors (120197, r=brendan, sr=shaver). 2002-01-27 04:42:37 +00:00
seawood%netscape.com 39ba085fc5 Fix "static" build support for win32 gmake builds.
Bug #58981 r=bryner
2002-01-25 03:20:51 +00:00
brendan%mozilla.org b8f48f2f9f Make 'too much recursion' errors be exceptions #if JS_HASH_ERROR_EXCEPTIONS (121658, r=rogerl, sr=shaver). 2002-01-25 00:49:52 +00:00
brendan%mozilla.org f303a64843 Checking in patch from Daniel Bratell <bratell@lysator.liu.se>, r=khanson, sr=me. 2002-01-25 00:47:11 +00:00
rogerl%netscape.com d8f1df22cb Fix bug #104375. Bug in String.replace() with $n where n > # parens.
r=khanson, sr=brendan.
2002-01-24 19:27:21 +00:00
jst%netscape.com 755aed19ba Fixing bug 120901. Eliminating unnecessary QI call in XPCWrappedNative::GetNative(). r=dbradley@netscape.com, sr=jband@netscape.com 2002-01-24 06:03:25 +00:00
jst%netscape.com cc17fd30b7 Fixing bug 120718. Making XPCReadableJSStringWrapper not allocate non-shared buffer handles, this caused a malloc to happen for every XPCReadableJSStringWrapper that was accessed in mozilla, ~400 allocations at startup. r=dbaron@fas.harvard.edu sr=jaggernaut@netscape.com. 2002-01-24 05:59:41 +00:00
bratell%lysator.liu.se af5d807ca1 Bug 120990 - make conversion from integer to string faster by not using sprintf. r=khanson, sr=brendan 2002-01-24 05:24:39 +00:00
brendan%mozilla.org dcbcdb0799 Inline-eliminate js_Emit{Break,Continue} and move SRC_CONTINUE generation to the right place (120571, r=rogerl, sr=jst&jband, a=asa). 2002-01-22 22:06:10 +00:00
sfraser%netscape.com 0428dc97e3 Fix for bug 120451 -- clean up the sleep Q entry on quit, so that we don't leave a bad entry there and hose the machine some time later. r=sdagley, sr=beard, a=blizzard 2002-01-18 21:40:13 +00:00
beard%netscape.com 5dfeb6c1a2 Configuration to build on Mac OS X 10.1. 2002-01-17 06:39:04 +00:00
jst%netscape.com 50295b2702 Fixing part of bug 118933. Speeding up the global resolve hook in the DOM JS helpers by eliminating the use of nsHashtable and nsStringKey in favor of pldhash. Adding global HashString(const nsA[C]String&) functions that calculate a hash code from a nsA[C]String, code by dbaron@fas.harward.edu. Also checking in brendan@mozilla.org's fix for a type error in the jsdhash/pldhash API found while working on this. sr=brendan@mozilla.org, r=peterv@netscape.com 2002-01-17 04:08:14 +00:00
dbaron%fas.harvard.edu 362b589445 Missing part of fix for bug 117153, fixing threadsafety problems with shared empty buffer handles. b=120300 r=jag sr=alecf a=blizzard 2002-01-17 00:07:15 +00:00
rogerl%netscape.com be480d0e2d Fixed RegExp bug #72964, r=khanson, sr=brendan 2002-01-16 06:47:06 +00:00
rogerl%netscape.com 08c2912aac Fixed RegExp bugs #105972 & #87231. r=khanson, sr=brendan. 2002-01-16 06:06:34 +00:00
brendan%mozilla.org 71be933776 Simplify #ifdefs in JS_Assert to default to fprintf (45673, debug only, r=rogerl, sr=me, patch from jband). 2002-01-16 05:17:58 +00:00
brendan%mozilla.org 958c05b6cc Checking in patch for rob1@rekl.yi.org, r=khanson, sr=brendan (but neither file is part of the build). 2002-01-16 05:12:53 +00:00
seawood%netscape.com e56e20b1dc Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
brendan%mozilla.org 007db84d18 Checking in patch for Steven Cole <scole@planetweb.com> to fix js_DoubleToECMAInt32 (120083, r=khanson, sr=brendan). 2002-01-16 00:17:16 +00:00
dbradley%netscape.com 81bbc17978 Bug 111068 - SyncXPCContextLists uses of XPCContext::Mark is not thread safe. patch by jband, r=dbradley, sr=jst 2002-01-15 22:49:46 +00:00
jband%netscape.com 66c9536fcc fix bug 119387. Add a non-allocating IID version of the frequently used getIIDForParam method. r=dbradley sr=jst 2002-01-14 20:02:14 +00:00
bryner%netscape.com cfc984cc6c Bug 119743 - autocomplete doesn't work in gcc 2.96 -O2 builds. r=hixie, sr=brendan. 2002-01-14 06:45:21 +00:00
pschwartau%netscape.com d24a0fe0ca Updating JS_GetImplementationVersion() to date of latest JS release (67111). 2002-01-11 23:18:39 +00:00
brendan%mozilla.org 28d27d47f8 Remove Call constructor (118732) and fix old bug in Function where it failed to convert args to strings (118849; both r=timeless, sr=shaver). 2002-01-10 08:51:01 +00:00
bryner%netscape.com 7bdffe5186 Bug 117276 - regression on gcc 2.95.x debug builds. Since we don't
understand exactly what the problem is here, and it does not seem to
happen on gcc 2.96, and 2.95 doesn't have the alias optimizations that
called for the new code in the first place, just make 2.95 use the old
code.  r=timeless, sr=brendan.
2002-01-09 19:23:37 +00:00
dbaron%fas.harvard.edu 85a52892dc Don't use C++ comments in C files. 2002-01-08 02:29:11 +00:00
alecf%netscape.com 5965318acb C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin 2002-01-08 01:31:25 +00:00
brendan%mozilla.org 8d24cf46e4 Checking in patch written by balleysson@bigfoot.com based on tenthumbs@cybernex.net's sketch, to avoid mallocs in js_strtod (115627, r=khanson, sr=me). 2002-01-07 23:42:25 +00:00
brendan%mozilla.org 56d43516cb Group date and time fields in toString's result so as to work with PR_ParseTimeString (118266, r=khanson, sr=shaver). 2002-01-07 11:09:04 +00:00
brendan%mozilla.org 2ba4c7d57c Null pointer defense in FUN_CALLER fun_getProperty case (117307, r/sr skipped, trivial). 2002-01-01 21:12:21 +00:00
brendan%mozilla.org 8962b0ec01 Fix old bug introduced by rev 3.2, where this() crashes due to uninitialized obj register (116228, r=timeless, sr=shaver). 2001-12-27 08:47:33 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
dougt%netscape.com 3a73c9be8d fixing dumbass error. This could should have returned null if obsoleteManager was null, not the inverse. r=jband@netscape.com 2001-12-20 00:26:28 +00:00
brendan%mozilla.org de1592438e Don't double-drop a property when strict-warning about duplicate formals (115436, r=khanson, sr=jband). 2001-12-19 02:10:26 +00:00
beard%netscape.com 21b53b29a8 fix for bug #115545. r=sdagley, sr=sfraser 2001-12-19 00:23:05 +00:00
dougt%netscape.com 849d297364 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
pavlov%netscape.com 15273ea50a bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan 2001-12-16 06:13:17 +00:00
seawood%netscape.com 51fa852613 Make OS/2 use the win32 build changes and finish LIB_PREFIX substitution.
Thanks to Javier Pedemonte (pedemont@us.ibm.com) for the patch.
Bug #58981 r=cls
2001-12-14 23:49:04 +00:00
brendan%mozilla.org 74151505f6 Long ago, mccabe copied the principals setting code in Function from late to early in the function (should've moved, but no one noticed); last month, I fixed bug 90546 in the original site but not in the copy; this change eliminates the duplication, moving the fix up to the copy's site (90546, r=jst, sr=jband, a=chofmann). 2001-12-13 00:27:20 +00:00
brendan%mozilla.org 7b2b1b44ad Fix try/finally and try/guarded-catches/finally hard cases (104077, r=jband, sr=shaver). 2001-12-12 05:00:29 +00:00
brendan%mozilla.org 140631bce2 Checking in rogerl@netscape.com's patch for bug 100199 (r=rginda, sr=me). 2001-12-12 04:27:50 +00:00
dbaron%fas.harvard.edu f7b755c4e0 Prevent XPCReadableJSStringWrapper from having a null buffer handle. b=112496 r=shaver, jag sr=jst 2001-12-08 22:49:05 +00:00
dbradley%netscape.com 944c82b990 Bug104843 - Added requires to makefile 2001-12-07 13:34:48 +00:00
seawood%netscape.com 16e4f2d4d9 Drop optimization level for select files on Irix when compiling with MIPSpro to workaround suspected compiler bug.
Thanks to Nick Blievers <nickb@adacel.com.au> for the patch.
Bug #79562 r=brendan sr=cls
2001-12-07 09:12:16 +00:00
rogerl%netscape.com 5586bf8bdc Bugs #100199 & 78156. r=khanson, sr=brendan. Fixing multiline matching and
pathological character class cases in regular expression handling.
2001-12-05 23:58:51 +00:00
pschwartau%netscape.com eb9c1aae74 not part of default build
bug 111365, JS standalone doesn't build on solaris.
point AS to /usr/ccs/bin/as
2001-12-05 19:32:16 +00:00
pschwartau%netscape.com c59566e1a8 not part of default build
bug 111365, JS standalone doesn't build on solaris.
point AS to /usr/ccs/bin/as
2001-12-05 00:31:55 +00:00
seawood%netscape.com c8994a7ac0 Initial landing of win32 support for autoconf builds.
Bug #58981 sr=alecf
2001-12-04 21:17:48 +00:00
dbaron%fas.harvard.edu 824e7d22ca Make nsSharable[C]String writable by overriding appropriate methods. Ensure that it doesn't store null buffer handle pointer internally, and override get() on nsXPIDL[C]String for backwards-compatibility. Collapse nsSharedBufferHandle and nsFlexBufferHandle into nsSharedBufferHandle which knows its length but can't have a storage start distinct from its data start. Convert string users who were working around broken nsSharableString::Assign back to using it. b=104663, 100751, 74726 r=jag sr=scc 2001-11-28 05:22:57 +00:00
brendan%mozilla.org 25f3ad4fb3 Update all pointers to an arena that moved when it was reallocated (111557, r=shaver, sr=jband). 2001-11-27 21:27:59 +00:00
timeless%mac.com 51a4520c4a Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
brendan%mozilla.org 106186f720 Thanks to scole@planetweb.com (Steven Cole) for fixing date_format to respect PRMJ_FormatTime's return value (102159, r=beard, sr=brendan). 2001-11-21 23:53:54 +00:00
brendan%mozilla.org 3350a394b5 Don't eagerly allocate fatlock freelist chunks; don't preallocate so much, and use a smaller global lock hashtable (109218, r=shaver/sr=jband). 2001-11-21 23:28:52 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
brendan%mozilla.org 9b46da979c Thanks to scole@planetweb.com, no more un-ECMA error for /* in a /**/ comment (110286, r=khanson, sr=brendan). 2001-11-20 23:35:45 +00:00
brendan%mozilla.org d2eb2bf046 Better fix than 0.9.6 minimal fix for NUL-termination assumption in replace (108832, r=shaver, sr=jband). 2001-11-20 21:26:33 +00:00
brendan%mozilla.org 5eaba7585d Don't warn or 'correct' = to == in a condition unless the right operand has greater precedence than == (106244, r=shaver, sr=jband). 2001-11-20 05:20:57 +00:00
rginda%netscape.com 43f2ce47ff bug 110903, patch=brendan, sr=shaver, r=me
Call new script hook for scripts created via xdr.
2001-11-20 02:47:41 +00:00
brendan%mozilla.org 024ffbebe7 Don't ass-u-me fp->argv => fp->fun (109635, sr=shaver/jband). 2001-11-20 02:37:01 +00:00
timeless%mac.com 060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
brendan%mozilla.org 051d085765 Remove __call__ and add a callback used to check f.caller access for any function object f (109113, r=jst, sr=jband). 2001-11-16 02:56:49 +00:00
seawood%netscape.com c7ca889121 Build libmozjs during the install phase.
Bug #104307 sr=jband
2001-11-14 04:52:55 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
brendan%mozilla.org 8b9fb46499 Avoid ClaimScope (lock-free to -full transition) in JS_GetClass and js_FinalizeObject called from the GC (109183, r=shaver, sr=jband). 2001-11-11 21:25:13 +00:00
jband%netscape.com cd8dc8ee2c not part of build. Now that null DOM strings are correctly supported we can fix the test case 2001-11-10 22:35:26 +00:00
brendan%mozilla.org 91397f1e55 For now (0.9.6), str_replace requires an independent replacement string (108832, r=shaver, sr=jband, a=asa). 2001-11-08 23:53:33 +00:00
brendan%mozilla.org 63cb2c1077 Fix Function.call(this, 'alert(42)')() so the anonymous function finds its nearest scripted caller's principals (90546, sr=shaver&jband). 2001-11-07 06:34:04 +00:00
dbaron%fas.harvard.edu 8cd8d91750 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
mkaply%us.ibm.com 5991fb004d #105476
r=os2team, sr=brendan@mozilla.org
Add ASM implementation of js_CompareAndSwap for OS/2 VACPP
2001-11-07 05:20:33 +00:00
dbaron%fas.harvard.edu bfb2f49916 Add assertions that users of nsDependentC?String meet the requirements of nsAFlatC?String. Add nsDependentSingleFragmentC?Substring for users that don't. Additional cleanup after bug 100214. b=104651 r=jag sr=scc 2001-11-07 04:12:20 +00:00
brendan%mozilla.org c220d0c707 Avoid recursive join/toString death (108440, r=shaver, sr=jband). 2001-11-07 00:15:44 +00:00
brendan%mozilla.org be20b21443 Move the oversized arena back-pointer to a well-aligned header extension lying just behind a->base (108013, sr=waterson&jband). 2001-11-07 00:11:22 +00:00
jband%netscape.com 0c81cb1768 better error message when zero passed where object or null expected. bug 108284. r=dbradley sr=shaver. Also, fix uninitilized counter var in debug only code rs=jband 2001-11-06 00:40:54 +00:00
seawood%netscape.com be10c3b1a8 Backing out fix for remote mach-o builds as it left mach-o builds fragile.
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696
2001-11-03 03:29:05 +00:00
rginda%netscape.com 2085b262f0 bug 108257, "source notes broken for functions compiled via JS_CompileUCFunctionForPrincipals", sr=brendan, r=shaver
no need to emit the function body after calling FunctionBody
2001-11-03 00:10:47 +00:00
dbradley%netscape.com 5cb0f9371f Bug 83426 - Remove DOM exception hack. r=jst, r=dbradley, sr=jband 2001-11-01 15:52:53 +00:00
jband%netscape.com 3bcdaf198c fixing warnings from recent landing and uncommenting test cases I did not mean to comment out for the checkin 2001-11-01 05:18:35 +00:00
brendan%mozilla.org 3c38914b93 Fix nul-termination assumption hidden in lastIndexOf, broken by dependent strings fix for bug 56940 (107771, r=jag, sr=waterson). 2001-11-01 03:19:54 +00:00
jband%netscape.com a2511b96a8 fix Mac bustage. I can't believe the Mac can't do this conversion without a cast! 2001-11-01 02:36:19 +00:00
jband%netscape.com 3ff792dd5d the HP compiler says that anonymous unions can't even have structs. So the union must be named. Fixing that bustage 2001-11-01 01:45:48 +00:00
jband%netscape.com c052cc3bf0 fix Mac bustage (I hope). I think these names conflicted with other names 2001-11-01 01:15:53 +00:00
seawood%netscape.com 8a2a775382 Since '-framework Carbon' causes binaries to require console access to run, do not link using that flag by default. Otherwise, remote builds & non-console tinderboxes will break. Mac OSX Mach-O only.
Bug #107696 r=mozbot
2001-11-01 00:54:48 +00:00
pete%alphanumerica.com b52992027b b=107823, r=ccarlen, sr=brendan
--pete
2001-11-01 00:11:15 +00:00
jband%netscape.com 84bfc894a4 add support for nsIVariant and nsIPropertyBag. bug 44675 and bug 98209. sr=vidur r=dbradley 2001-10-31 23:35:07 +00:00