norris%netscape.com
41dfd3c7ea
Fix use of unsupported typedef.
...
r=Jerry.Kirk@Nexwarecorp.com
git-svn-id: svn://10.0.0.236/trunk@59300 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:10:12 +00:00
norris%netscape.com
6fd4778318
Remove unused private method.
...
git-svn-id: svn://10.0.0.236/trunk@59258 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 18:49:07 +00:00
waldemar%netscape.com
de2a99bda5
Added numerics.cpp
...
git-svn-id: svn://10.0.0.236/trunk@59184 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 08:25:59 +00:00
waldemar%netscape.com
156c3a115b
Fixed NOT_REACHED
...
git-svn-id: svn://10.0.0.236/trunk@59183 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 08:25:36 +00:00
waldemar%netscape.com
722d12630c
Added NATIVE_INT64 flag
...
git-svn-id: svn://10.0.0.236/trunk@59182 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 08:25:02 +00:00
waldemar%netscape.com
96823e93e7
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@59181 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 08:24:40 +00:00
jband%netscape.com
f41619667d
trivial rename of local var in test to fix shadow warning
...
git-svn-id: svn://10.0.0.236/trunk@59155 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 04:53:22 +00:00
jband%netscape.com
77d7383029
show more info when a call to wrapped JS object fails due to lack of the callee method - show what we were trying to call rather than let the engine just error out with 'undefined is not a function'. r=mccabe
...
git-svn-id: svn://10.0.0.236/trunk@59026 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 06:02:41 +00:00
mang%subcarrier.org
337f8a662f
Add rules for incremental relinking on Unix to partially fix bug 23724.
...
The static libraries on Win32 are still broken. r=mccabe
git-svn-id: svn://10.0.0.236/trunk@58993 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 01:39:11 +00:00
norris%netscape.com
76de1553f1
Propagate changes from Rhino150R1_BRANCH.
...
git-svn-id: svn://10.0.0.236/trunk@58949 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 17:35:29 +00:00
norris%netscape.com
65d1cf2c89
Fix test cases for long values, with one right at the boundary and one negative test just over the boundary.
...
git-svn-id: svn://10.0.0.236/trunk@58944 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 16:56:43 +00:00
jband%netscape.com
d4927333c7
make certain that the JSRuntimeService singleton does not go away before the xpconnect singleton. Fix for bug 25093. r=ssu@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@58910 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 08:58:48 +00:00
norris%netscape.com
b2369eab40
Changing file to be conformance rather than negative test.
...
git-svn-id: svn://10.0.0.236/trunk@58857 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 00:58:41 +00:00
rginda%netscape.com
760c6d99f2
Fix for gcc opt bug described in bug 24892. JSRef build fix only, mozilla build still needs some lovin'.
...
r=rogerl
git-svn-id: svn://10.0.0.236/trunk@58848 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 00:01:29 +00:00
beard%netscape.com
8672d92f96
changes to build on Mac OS X, r=mccabe
...
git-svn-id: svn://10.0.0.236/trunk@58831 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:48:49 +00:00
mccabe%netscape.com
33c5ea5faf
Fix to 24800. Change FREEBSD to __FreeBSD__, allowing the standalone JS engine to build and link on FreeBSD without the client build system (which defines FREEBSD).
...
Thanks go to braden@endoframe.com for the patch, and to sidr@albedo.net and fur@geocast.com for bug discussion.
git-svn-id: svn://10.0.0.236/trunk@58823 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:27:51 +00:00
beard%netscape.com
4544e5c832
configuration file for Mac OS X.
...
git-svn-id: svn://10.0.0.236/trunk@58822 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:27:29 +00:00
rogerl%netscape.com
f04da2ffb4
r=norris,waldemar
...
Fixes for bugs#23607, 23608, 23610, 23612, 23613. Also, first cut at URI
encode & decode routines.
git-svn-id: svn://10.0.0.236/trunk@58818 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:15:06 +00:00
norris%netscape.com
a2d6ee77d7
Propagate changes from 1.5 branch.
...
git-svn-id: svn://10.0.0.236/trunk@58797 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 18:57:00 +00:00
jband%netscape.com
3a859cec33
trivial fixes to get rid of warnings
...
git-svn-id: svn://10.0.0.236/trunk@58775 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 11:08:24 +00:00
jband%netscape.com
7ac1267323
Lots of xpconnect bug fixes...
...
- fix bug 12954 "should throw when setting non-settable props".
- fix bug 13418 "xpconnect needs to be threadsafe".
I think I filled in the cracks. Tests would be nice :)
- fix bug 22802 "[MLK] XPConnect Leaks".
- fix bug 24119 "[MLK] Reminder about cleaning up maps".
- fix bug 24453 "xpconnect needs default security manager".
I also changed the code in DOM and caps to just install a default secman and
not install a secman for each JSContext.
- fix bug 24687 "xpconect should avoid resolve performance suckage".
Added (modified) patch from shaver to create my JSObjects with the
global object as the temporary proto to avoid losing lookup.
- hack for bug 24688 "runtime errors in wrapped JS are not made obvious"
Added a debug only printf. We still need a JSErrorConsole service for this.
- fix bug 16130 "createInstanace and getService can create wrappers around wrappers"
Fixing this one really entailed changing the semantics of nsIXPConnect::wrapNative
and nsIXPConnect::wrapJS to use common code in xpcconvert that deals with existing
wrappers and DOM objects (with their own schemes for wrapping and unwrapping).
So, I changed the callers because the params changed slightly and some callers
were doing more work than necessary given the new semantics.
- Continued in the crusade to replace manaual refcounting with nsCOMPtrs whenever
touching old code.
- Added myself as first contributor to xpconnect files (vanity prevails!)
- Added new copyright header on some files that were missing it.
- Added some API comments.
- Converted nsXPCWrappedJS to implement nsIXPConnectWrappedJS via MI rather than
the old loser scheme of the nsIXPConnectWrappedJSMethods tearoff object.
- added DumpJSStack as globals to xpconnect and DOM dlls to be callable from
debuggers. I have ideas on how to improve and expand this support soon.
r=mccabe
git-svn-id: svn://10.0.0.236/trunk@58762 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 08:38:10 +00:00
rogerl%netscape.com
82d7a46066
!! Not part of the build !!
...
Fixed some typo's
git-svn-id: svn://10.0.0.236/trunk@58688 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:29:51 +00:00
waldemar%netscape.com
93782e8ee8
Rearranged link order
...
git-svn-id: svn://10.0.0.236/trunk@58645 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 23:00:19 +00:00
waldemar%netscape.com
fe868e35ad
Added constructor
...
git-svn-id: svn://10.0.0.236/trunk@58644 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 22:59:28 +00:00
waldemar%netscape.com
868917d9e3
Added char16 and uchar16
...
git-svn-id: svn://10.0.0.236/trunk@58643 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 22:58:55 +00:00
waldemar%netscape.com
6b8dc20de2
Added string, character, and exception utilities
...
git-svn-id: svn://10.0.0.236/trunk@58642 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 22:58:34 +00:00
waldemar%netscape.com
066096d53f
Continuing to implement
...
git-svn-id: svn://10.0.0.236/trunk@58641 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 22:57:32 +00:00
waldemar%netscape.com
71029d488f
Switched to using appendChars
...
git-svn-id: svn://10.0.0.236/trunk@58640 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 22:56:48 +00:00
waldemar%netscape.com
a92dbd7cc6
Fixed syntax error
...
git-svn-id: svn://10.0.0.236/trunk@58639 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 22:56:14 +00:00
rogerl%netscape.com
52f33a0ee6
!! Not a part of the build !!
...
r=norris. Updated license contents (continuing bug#15529)
git-svn-id: svn://10.0.0.236/trunk@58616 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 18:42:55 +00:00
brendan%mozilla.org
a3f5a85a8c
Track js_Invoke API change (24668, r=jband@netscape.com).
...
git-svn-id: svn://10.0.0.236/trunk@58555 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 04:00:45 +00:00
dougt%netscape.com
714da09a59
Landing nsIFile.
...
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
beard%netscape.com
2eb0f407b5
changed all "try { s = (Scriptable) obj; } catch (ClassCastException e) {...}" to "if (obj instanceof Scriptable) { ... }". This will generally be more efficient NOT to use exception handling where instanceof will do.
...
git-svn-id: svn://10.0.0.236/trunk@58388 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 04:41:30 +00:00
beard%netscape.com
e36ce06075
fix case for anonymous functions.
...
git-svn-id: svn://10.0.0.236/trunk@58384 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 03:28:04 +00:00
michael.lowe%bigfoot.com
6856aa06f0
Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
norris%netscape.com
54ceaa1876
Fix ecma_3/ExecutionContexts/10.1.3.js
...
r=rogerl
git-svn-id: svn://10.0.0.236/trunk@58318 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 20:59:56 +00:00
rginda%netscape.com
a4e709470d
Fixed testcase
...
git-svn-id: svn://10.0.0.236/trunk@58316 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 20:35:39 +00:00
rginda%netscape.com
9a67bdaab7
Remove 'use 5.004;', only seems to work on linux
...
git-svn-id: svn://10.0.0.236/trunk@58282 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 01:21:05 +00:00
rogerl%netscape.com
8fca7d6b86
Bug #24023 , infinite loop in interpreter when catch clause has a throw.
...
This was caused by a previous bug fix in which I moved the try stack
decrement to the end of the catch clause because it was getting skipped
by the final statement in the try block (which is always a goto around the
catch block). Better is to make sure the endTry is the statment just before
that goto, and do the try stack decrement in the catch the way god intended.
git-svn-id: svn://10.0.0.236/trunk@58266 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:50:27 +00:00
rogerl%netscape.com
71147656fd
Bug #23609 - optimization in IRFactory for post-increment was incomplete.
...
git-svn-id: svn://10.0.0.236/trunk@58254 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 19:32:45 +00:00
norris%netscape.com
a93e26d45a
Fix icode printing for call opcodes.
...
git-svn-id: svn://10.0.0.236/trunk@58245 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 18:38:42 +00:00
brendan%mozilla.org
ed47451d79
Long-awaited fix courtesy rogerl's keen analysis (19165, r=rogerl@netscape.com).
...
git-svn-id: svn://10.0.0.236/trunk@58217 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:53:07 +00:00
briano%netscape.com
6ffbed72ef
Some platforms object to using JS_ASSERT without including jsutil.h.
...
git-svn-id: svn://10.0.0.236/trunk@58210 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:00:04 +00:00
rginda%netscape.com
ef06e19181
Initial add.
...
git-svn-id: svn://10.0.0.236/trunk@58201 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:46:25 +00:00
rginda%netscape.com
c395c3dd51
Added regexp to test
...
git-svn-id: svn://10.0.0.236/trunk@58196 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:36:54 +00:00
rginda%netscape.com
db275e7db2
Initial Add
...
git-svn-id: svn://10.0.0.236/trunk@58189 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:19:16 +00:00
rginda%netscape.com
097c4d4ff1
Initial add
...
git-svn-id: svn://10.0.0.236/trunk@58184 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:51:21 +00:00
rginda%netscape.com
1b3014298d
corrected testcase
...
git-svn-id: svn://10.0.0.236/trunk@58183 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:47:24 +00:00
rginda%netscape.com
3679d67366
initial add
...
git-svn-id: svn://10.0.0.236/trunk@58180 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:34:03 +00:00
rginda%netscape.com
fbd3dd0b0f
Initial add
...
git-svn-id: svn://10.0.0.236/trunk@58173 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:16:20 +00:00