brendan%mozilla.org
845f74be1e
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).
...
git-svn-id: svn://10.0.0.236/trunk@111510 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:42:25 +00:00
brendan%mozilla.org
83bed63477
Group date and time fields in toString's result so as to work with PR_ParseTimeString (118266, r=khanson, sr=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@111479 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 11:09:04 +00:00
brendan%mozilla.org
af0418b366
Null pointer defense in FUN_CALLER fun_getProperty case (117307, r/sr skipped, trivial).
...
git-svn-id: svn://10.0.0.236/trunk@111220 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 21:12:21 +00:00
brendan%mozilla.org
83c274bf08
Fix old bug introduced by rev 3.2, where this() crashes due to uninitialized obj register (116228, r=timeless, sr=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@111105 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-27 08:47:33 +00:00
timeless%mac.com
21c081c8bc
Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
...
r='s from many people. sr=jst
git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
dougt%netscape.com
a28bdb3c7a
fixing dumbass error. This could should have returned null if obsoleteManager was null, not the inverse. r=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@110827 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 00:26:28 +00:00
brendan%mozilla.org
c81d5d8b4b
Don't double-drop a property when strict-warning about duplicate formals (115436, r=khanson, sr=jband).
...
git-svn-id: svn://10.0.0.236/trunk@110768 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 02:10:26 +00:00
beard%netscape.com
7dc6187ad4
fix for bug #115545 . r=sdagley, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@110750 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:23:05 +00:00
dougt%netscape.com
c01e94cad7
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
git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
seawood%netscape.com
0bd62df729
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
git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com
d1529aed21
Remove timer from REQUIRES, the makefile.win edition
...
git-svn-id: svn://10.0.0.236/trunk@110586 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 18:08:20 +00:00
pavlov%netscape.com
b7d549610f
bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@110563 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 06:13:17 +00:00
seawood%netscape.com
0fff265da2
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
git-svn-id: svn://10.0.0.236/trunk@110499 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:49:04 +00:00
brendan%mozilla.org
3a8c6f3d85
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).
...
git-svn-id: svn://10.0.0.236/trunk@110410 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-13 00:27:20 +00:00
brendan%mozilla.org
82236d9ede
Fix try/finally and try/guarded-catches/finally hard cases (104077, r=jband, sr=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@110362 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 05:00:29 +00:00
brendan%mozilla.org
7e25727635
Checking in rogerl@netscape.com's patch for bug 100199 (r=rginda, sr=me).
...
git-svn-id: svn://10.0.0.236/trunk@110358 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 04:27:50 +00:00
dbaron%fas.harvard.edu
dcf293faca
Prevent XPCReadableJSStringWrapper from having a null buffer handle. b=112496 r=shaver, jag sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110098 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 22:49:05 +00:00
dbradley%netscape.com
f3f4a77cb3
Bug104843 - Added requires to makefile
...
git-svn-id: svn://10.0.0.236/trunk@110003 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 13:34:48 +00:00
seawood%netscape.com
814ef934e4
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
git-svn-id: svn://10.0.0.236/trunk@109990 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 09:12:16 +00:00
rogerl%netscape.com
727a6700d5
Bugs #100199 & 78156. r=khanson, sr=brendan. Fixing multiline matching and
...
pathological character class cases in regular expression handling.
git-svn-id: svn://10.0.0.236/trunk@109762 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 23:58:51 +00:00
pschwartau%netscape.com
148d11e201
not part of default build
...
bug 111365, JS standalone doesn't build on solaris.
point AS to /usr/ccs/bin/as
git-svn-id: svn://10.0.0.236/trunk@109748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 19:32:16 +00:00
pschwartau%netscape.com
43115b71dd
not part of default build
...
bug 111365, JS standalone doesn't build on solaris.
point AS to /usr/ccs/bin/as
git-svn-id: svn://10.0.0.236/trunk@109694 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 00:31:55 +00:00
seawood%netscape.com
2750945184
Initial landing of win32 support for autoconf builds.
...
Bug #58981 sr=alecf
git-svn-id: svn://10.0.0.236/trunk@109658 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:17:48 +00:00
dbaron%fas.harvard.edu
c0b306795b
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
...
git-svn-id: svn://10.0.0.236/trunk@109114 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 05:22:57 +00:00
brendan%mozilla.org
ef8a450c12
Update all pointers to an arena that moved when it was reallocated (111557, r=shaver, sr=jband).
...
git-svn-id: svn://10.0.0.236/trunk@109027 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 21:27:59 +00:00
timeless%mac.com
535b6f20f2
Bugzilla Bug 107823 change nsIFile
...
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
git-svn-id: svn://10.0.0.236/trunk@108891 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 08:05:05 +00:00
brendan%mozilla.org
4e8a45eab4
Thanks to scole@planetweb.com (Steven Cole) for fixing date_format to respect PRMJ_FormatTime's return value (102159, r=beard, sr=brendan).
...
git-svn-id: svn://10.0.0.236/trunk@108753 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 23:53:54 +00:00
brendan%mozilla.org
1adc3b3656
Don't eagerly allocate fatlock freelist chunks; don't preallocate so much, and use a smaller global lock hashtable (109218, r=shaver/sr=jband).
...
git-svn-id: svn://10.0.0.236/trunk@108743 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 23:28:52 +00:00
seawood%netscape.com
889469fd27
Rename 'install' build phase to 'libs'.
...
Bug #56601 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
brendan%mozilla.org
5655c0ae34
Thanks to scole@planetweb.com, no more un-ECMA error for /* in a /**/ comment (110286, r=khanson, sr=brendan).
...
git-svn-id: svn://10.0.0.236/trunk@108642 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 23:35:45 +00:00
brendan%mozilla.org
fa065f1652
Better fix than 0.9.6 minimal fix for NUL-termination assumption in replace (108832, r=shaver, sr=jband).
...
git-svn-id: svn://10.0.0.236/trunk@108625 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 21:26:33 +00:00
brendan%mozilla.org
989357e2ad
Don't warn or 'correct' = to == in a condition unless the right operand has greater precedence than == (106244, r=shaver, sr=jband).
...
git-svn-id: svn://10.0.0.236/trunk@108556 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 05:20:57 +00:00
rginda%netscape.com
db9ee285d0
bug 110903, patch=brendan, sr=shaver, r=me
...
Call new script hook for scripts created via xdr.
git-svn-id: svn://10.0.0.236/trunk@108541 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 02:47:41 +00:00
brendan%mozilla.org
93edeeffb3
Don't ass-u-me fp->argv => fp->fun (109635, sr=shaver/jband).
...
git-svn-id: svn://10.0.0.236/trunk@108539 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 02:37:01 +00:00
timeless%mac.com
7b921259da
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
git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
brendan%mozilla.org
056cf28a63
Remove __call__ and add a callback used to check f.caller access for any function object f (109113, r=jst, sr=jband).
...
git-svn-id: svn://10.0.0.236/trunk@108257 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:56:49 +00:00
seawood%netscape.com
54111460c9
Build libmozjs during the install phase.
...
Bug #104307 sr=jband
git-svn-id: svn://10.0.0.236/trunk@108015 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 04:52:55 +00:00
bzbarsky%mit.edu
068756d821
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
brendan%mozilla.org
589201c307
Avoid ClaimScope (lock-free to -full transition) in JS_GetClass and js_FinalizeObject called from the GC (109183, r=shaver, sr=jband).
...
git-svn-id: svn://10.0.0.236/trunk@107900 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 21:25:13 +00:00
jband%netscape.com
37eba2b798
not part of build. Now that null DOM strings are correctly supported we can fix the test case
...
git-svn-id: svn://10.0.0.236/trunk@107854 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 22:35:26 +00:00
brendan%mozilla.org
57a2bb6907
For now (0.9.6), str_replace requires an independent replacement string (108832, r=shaver, sr=jband, a=asa).
...
git-svn-id: svn://10.0.0.236/trunk@107705 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 23:53:33 +00:00
brendan%mozilla.org
4566fb535b
Fix Function.call(this, 'alert(42)')() so the anonymous function finds its nearest scripted caller's principals (90546, sr=shaver&jband).
...
git-svn-id: svn://10.0.0.236/trunk@107586 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:34:04 +00:00
dbaron%fas.harvard.edu
13b5500ba3
Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
...
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
mkaply%us.ibm.com
7bdb802715
#105476
...
r=os2team, sr=brendan@mozilla.org
Add ASM implementation of js_CompareAndSwap for OS/2 VACPP
git-svn-id: svn://10.0.0.236/trunk@107572 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 05:20:33 +00:00
dbaron%fas.harvard.edu
52bea38360
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
...
git-svn-id: svn://10.0.0.236/trunk@107556 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 04:12:20 +00:00
brendan%mozilla.org
c1526a5251
Avoid recursive join/toString death (108440, r=shaver, sr=jband).
...
git-svn-id: svn://10.0.0.236/trunk@107522 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 00:15:44 +00:00
brendan%mozilla.org
d97c123a81
Move the oversized arena back-pointer to a well-aligned header extension lying just behind a->base (108013, sr=waterson&jband).
...
git-svn-id: svn://10.0.0.236/trunk@107517 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 00:11:22 +00:00
jband%netscape.com
9501633b32
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
...
git-svn-id: svn://10.0.0.236/trunk@107364 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 00:40:54 +00:00
seawood%netscape.com
76780820f4
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
git-svn-id: svn://10.0.0.236/trunk@107199 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 03:29:05 +00:00
rginda%netscape.com
db72e1cb29
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
git-svn-id: svn://10.0.0.236/trunk@107131 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 00:10:47 +00:00