3943 Commits

Author SHA1 Message Date
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
rginda%netscape.com
baac6c13bd bug 117907, patch=joerg.schaible@gmx.de (Jörg Schaible), r=me
add release build option to jsdb.mak


git-svn-id: svn://10.0.0.236/trunk@111363 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 19:24:14 +00:00
nboyd%atg.com
02b78fef78 Update implemenation version date.
git-svn-id: svn://10.0.0.236/trunk@111355 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 14:04:42 +00:00
nboyd%atg.com
f18dd09b71 Fix bug reported by rathje40@yahoo.com
We are converting from spidermonkey to rhino and it appears that the
name property for the constructor function returns "constructor" for
all builtin types.  Spidermonkey would return "Date" or "Array" or
whatever.  Is there a workaround?  This code needs to work with both
interpreters.

Here is an example of the rhino behavior:

js> var i=new Date;
js> i.constructor.name
constructor
js> Date.name
constructor
js> function bob(){}
js> bob.name
bob
js> var i = new Array();
js> i.constructor.name
constructor
js>


git-svn-id: svn://10.0.0.236/trunk@111354 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 14:04:01 +00:00
nboyd%atg.com
63eddaafb9 Remove override that is duplicate of superclass.
git-svn-id: svn://10.0.0.236/trunk@111353 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 14:02:36 +00:00
nboyd%atg.com
594c536e31 Print implementation version when starting up interactive mode.
git-svn-id: svn://10.0.0.236/trunk@111352 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 14:02:02 +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
igor%mir2.org
c22fae358a Use Vector.elementAt instead of Vector.getfor jdk 1.1 complience
git-svn-id: svn://10.0.0.236/trunk@110919 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 22:05:42 +00:00
igor%mir2.org
f0950e8452 Fixes to allow to use jikes to compile and produce less warnings:
1. Replace catch(Exception) by catch(RuntimeException) when only RuntimeException can be throws

2. Make sure that inner classes does not use the same name for parameters as parent scope, see  http://domino.watson.ibm.com/syssftpr/JavaTech/Jikes.nsf/Named/SunQuery8


git-svn-id: svn://10.0.0.236/trunk@110914 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 21:15:02 +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
nboyd%atg.com
e562c240a7 Added comment about bug 115717.
git-svn-id: svn://10.0.0.236/trunk@110810 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 15:31:56 +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
pschwartau%netscape.com
bfeddf4872 Updating bug number reference in test. The original bug has outgrown.
git-svn-id: svn://10.0.0.236/trunk@110678 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:23:15 +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
nboyd%atg.com
fe3f8d08dd Fix formatting.
git-svn-id: svn://10.0.0.236/trunk@110427 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-13 15:27:16 +00:00
sfraser%netscape.com
28c8490d87 Fix bug 114915 -- app not starting up in Mac opt builds. Work around a CodeWarrior optimizer bug by bumping down the optimization level for the optimized target. r=brendan, sr=shaver, a=Roto-rooter
git-svn-id: svn://10.0.0.236/trunk@110422 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-13 07:11:28 +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
nboyd%atg.com
6737fe6bb9 Fix bug 114491: if (true) function f(){}()
git-svn-id: svn://10.0.0.236/trunk@110394 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 14:16:57 +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
nboyd%atg.com
033d7b0e6b Fix bug 114493: "3"[5]();
git-svn-id: svn://10.0.0.236/trunk@110255 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 14:16:13 +00:00
nboyd%atg.com
b73cbdf18c Fix memory leak of class names--reset every time we get a new ClassLoader.
git-svn-id: svn://10.0.0.236/trunk@110254 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 14:13:55 +00:00
ccarlen%netscape.com
6ac2890533 Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@110232 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 05:45:45 +00:00
ccarlen%netscape.com
4132901d1d Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@110226 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 05:10:45 +00:00
pschwartau%netscape.com
c6288fa578 Initial add. Regression test for bug 114493.
git-svn-id: svn://10.0.0.236/trunk@110191 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 01:59:58 +00:00
pschwartau%netscape.com
7785c9b2c6 Initial add. Regression test for bug 114491.
git-svn-id: svn://10.0.0.236/trunk@110190 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 01:59:22 +00:00
ccarlen%netscape.com
7c7ff999b7 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110181 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 21:32:41 +00:00
ccarlen%netscape.com
ba7edd8a3b Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110172 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 20:42:22 +00:00
pschwartau%netscape.com
885e11bada Adding new cases to test
git-svn-id: svn://10.0.0.236/trunk@110142 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 00:43:13 +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
pschwartau%netscape.com
6ebfe58a8f Adding one more case to test
git-svn-id: svn://10.0.0.236/trunk@110070 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 03:29:52 +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
pschwartau%netscape.com
3e9d190892 Added three more cases to test
git-svn-id: svn://10.0.0.236/trunk@109985 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 07:23:57 +00:00
nboyd%atg.com
9f29e60d86 Updates for Rhino1.5R3.
git-svn-id: svn://10.0.0.236/trunk@109838 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 14:53:59 +00:00
nboyd%atg.com
eeb8ec0a7c Update release number, date.
git-svn-id: svn://10.0.0.236/trunk@109837 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 14:33:44 +00:00
nboyd%atg.com
53e89a1022 Change version to 1.5R3.
git-svn-id: svn://10.0.0.236/trunk@109836 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 14:27:26 +00:00
nboyd%atg.com
854d7cedcf Hello !
I'm the maintainer of JPackage project rhino package (see
jpackage.sourceforge.net). I just found two problems for building it (version
1.52 from cvs):
- the property src.debugger is badly initialised in toolsrc/build.xml. See
patch attached for correction. Moreover, this was a real pain to make offline
building possible. I guess it's a licensing problem that prevents you
including those files in rhino sources ?
- the produced javadoc has an empty (0 sized) package-list file. Have you got
any idea why ?
-- Guillaume Rousse <rousse@ccr.jussieu.fr>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html


git-svn-id: svn://10.0.0.236/trunk@109835 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 14:26:26 +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