3933 Commits

Author SHA1 Message Date
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
pschwartau%netscape.com
175c0d3676 Adding one more case to test.
git-svn-id: svn://10.0.0.236/trunk@109587 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:54:00 +00:00
pschwartau%netscape.com
b0ecf5191b Added more cases to test; updated the license at top.
git-svn-id: svn://10.0.0.236/trunk@109434 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 03:29:24 +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
pschwartau%netscape.com
735e9a7b96 Skipping a new, big test that exceeds Java classfile size limitations
git-svn-id: svn://10.0.0.236/trunk@108977 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 04:21:28 +00:00
pschwartau%netscape.com
4c980e750e Initial add. Regression test for bug 111557.
git-svn-id: svn://10.0.0.236/trunk@108976 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 04:13:03 +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
nboyd%atg.com
b79fb11b45 JavaAdapter serialization contribution from Kemal Bayram.
git-svn-id: svn://10.0.0.236/trunk@108846 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 20:40:08 +00:00
nboyd%atg.com
a66c0d63c1 Hi, Norris!
In our browser we need to support scripts that use as an identifier name future reserved keywords such as interface. The scripts are rather old and perfectly legal under previous revisions of EcmaScript which does not included the list of almost every Java keyword to the future reserve.

To support this I added an option to query Context.hasFeature for FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER:

    /**
     * if hasFeature(RESERVED_KEYWORD_AS_IDENTIFIER) returns true,
     * treat future reserved keyword (see  Ecma-262, section 7.5.3) as ordinary
     * identifiers but warn about this usage
     */
    public static final int FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER = 3;

The corresponding code in TokenStream checks for it and issues just a warning when this feature is enabled.

I also think that it would be better not to return RESERVED as a token from TokenStream.getToken but report the specific syntax error immediately because it is very unclear from the error message:

js> x.interface = 1
js: "<stdin>", line 1: uncaught JavaScript exception: SyntaxError: missing name after . operator (<stdin>; line 1)
js: x.interface = 1
js: ..........^

what exactly went wrong. I can send a patch later for that.

Regards, Igor


git-svn-id: svn://10.0.0.236/trunk@108845 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 20:38:50 +00:00
nboyd%atg.com
5cebd79ae6 Update for new failures.
git-svn-id: svn://10.0.0.236/trunk@108830 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 01:20:56 +00:00