3298 Commits

Author SHA1 Message Date
peterv%netscape.com
3bc42b5bea Get the JS debugger building on Mac. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@93678 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 22:15:28 +00:00
peterv%netscape.com
59bd1598be Get the JS debugger building on Mac. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@93675 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 22:08:11 +00:00
pschwartau%netscape.com
c850162418 Minor change to status message.
git-svn-id: svn://10.0.0.236/trunk@93653 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 18:15:26 +00:00
pschwartau%netscape.com
a95d149932 Initial add. Regression test for bug 74474.
git-svn-id: svn://10.0.0.236/trunk@93592 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 00:27:29 +00:00
pschwartau%netscape.com
7b1421b0bc Initial add. Regression test for bug 31316.
git-svn-id: svn://10.0.0.236/trunk@93578 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 23:35:15 +00:00
pschwartau%netscape.com
8fbe8662ad Initial add. Regression test for bug 76683.
git-svn-id: svn://10.0.0.236/trunk@93564 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 21:57:10 +00:00
rginda%netscape.com
4988d50909 - not built -
add invalidate() method to jsdIScript
rework jsdIScriptHook interface


git-svn-id: svn://10.0.0.236/trunk@93562 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 21:37:24 +00:00
rginda%netscape.com
c47e40293f - not built -
add debug instance counter for jsdScript
add mValid flag to jsdScript


git-svn-id: svn://10.0.0.236/trunk@93561 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 21:35:06 +00:00
rginda%netscape.com
af4204d295 - not built -
validate integrity of jsdScript data to guard against calling into a destroyed script.
queue up script deletes that happen during the JS GC cycle, call them when GC finishes (bug 76979.)
don't NS_IF_ADDREF objects that we get using *::FromPtr()
add jsdScript::Invalidate()


git-svn-id: svn://10.0.0.236/trunk@93560 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 21:33:43 +00:00
beard%netscape.com
491588c91f Now builds two sub-projects, jscore.mcp, jstools.mcp and merges the resulting jar files into js.jar. This uses the new source tree organization.
git-svn-id: svn://10.0.0.236/trunk@93550 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 17:24:48 +00:00
beard%netscape.com
734d22dfe5 Builds org.mozilla.javascript.tools.* classes.
git-svn-id: svn://10.0.0.236/trunk@93548 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 17:19:16 +00:00
beard%netscape.com
a50efaa1ae Builds core org.mozilla.* classes.
git-svn-id: svn://10.0.0.236/trunk@93547 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 17:18:14 +00:00
pschwartau%netscape.com
0c1d390bc8 Initial add. Regression test for bug 78156.
git-svn-id: svn://10.0.0.236/trunk@93481 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 22:54:09 +00:00
cls%seawood.org
cfeb5eff5b Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775
git-svn-id: svn://10.0.0.236/trunk@93397 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 19:48:12 +00:00
beard%netscape.com
d6d834189d Reverted back to old directory structure.
git-svn-id: svn://10.0.0.236/trunk@93319 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 22:57:30 +00:00
beard%netscape.com
8a428d4ac2 Restore revision history.
git-svn-id: svn://10.0.0.236/trunk@93287 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 19:45:52 +00:00
beard%netscape.com
1ad0bdf849 Restore revision history.
git-svn-id: svn://10.0.0.236/trunk@93285 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 19:37:39 +00:00
beard%netscape.com
67e5b6addf Restore revision history.
git-svn-id: svn://10.0.0.236/trunk@93280 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 18:57:38 +00:00
pschwartau%netscape.com
1e18a4822c Minor whitespace cleanup.
git-svn-id: svn://10.0.0.236/trunk@93179 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 20:49:14 +00:00
pschwartau%netscape.com
47e0ffbf50 Minor change: improving variable names for greater clarity -
git-svn-id: svn://10.0.0.236/trunk@93100 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 00:18:09 +00:00
pschwartau%netscape.com
3b49f521de Minor improvement: in a shell file, keep the scope of i, j as local as possible -
git-svn-id: svn://10.0.0.236/trunk@93099 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 00:09:56 +00:00
beard%netscape.com
7e52985075 Reconstructed using new rhino/src and rhino/toolsrc directory organization.
git-svn-id: svn://10.0.0.236/trunk@93096 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 22:32:20 +00:00
rginda%netscape.com
0ea2922f10 - not built -
add GetService() member


git-svn-id: svn://10.0.0.236/trunk@93090 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 21:55:20 +00:00
rginda%netscape.com
bfa6d3acfe - not built -
register for gc callbacks
explicitly create a singleton factory
only call OnScriptLoaded() if |creating| is true


git-svn-id: svn://10.0.0.236/trunk@93089 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 21:54:59 +00:00
rginda%netscape.com
39cba63929 - not built -
move from pc as a ulong to pc as an object wrapped around a uword (jsdIPC)
rename init() to on() on jsdIService
move lineToPc and pcToLine from jsdIThreadState to jsdIScript (where they belong)
add setBreakpoint(), clearBreakpoint(), and clearAllBreakpoints() to jsdIScript
add off(), clearAllBreakpoints(), and breakpointHook attribute to jsdIService
add creatorURL, creatorLine, constructorURL, constructorLine, and value attribut
es to jsdIObject


git-svn-id: svn://10.0.0.236/trunk@93078 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 18:29:51 +00:00
rginda%netscape.com
10c6da3a4c - not built -
move from pc as a ulong to pc as an object wrapped around a uword
relocate jsdService constructor to jsd_xpp.cpp in order to initialize the global
 service


git-svn-id: svn://10.0.0.236/trunk@93077 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 18:22:49 +00:00
rginda%netscape.com
99e6af67fd - not built -
add global service for the breakpoint callback
add breakpoint callback
move c callbacks to top of source
add creatorURL, creatorLine, constructorURL, constructorLine, and value attribut
es to jsdObject
move from pc as a ulong to pc as an object wrapped around a uword
move lineToPc and pcToLine from ThreadState to Script (where it belongs)
add setBreakpoint(), clearBreakpoint(), and clearAllBreakpoints() to jsdScript
relocate jsdService constructor from jsd_xpp.h in order to initialize the global
 service
rename init() to on() on jsdService
add off(), clearAllBreakpoints(), and breakpointHook attribute to jsdService


git-svn-id: svn://10.0.0.236/trunk@93076 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 18:20:47 +00:00
nboyd%atg.com
c4e946599b Finish javadoc fix.
git-svn-id: svn://10.0.0.236/trunk@93075 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 17:11:34 +00:00
nboyd%atg.com
a1aa12604c Fix javadoc with new directory structure.
git-svn-id: svn://10.0.0.236/trunk@93066 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 14:36:15 +00:00
nboyd%atg.com
4bf66aa6f7 UPdate name of debugger main class.
git-svn-id: svn://10.0.0.236/trunk@93063 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 13:46:46 +00:00
nboyd%atg.com
1d256edf77 Fix javadoc generation.
git-svn-id: svn://10.0.0.236/trunk@93046 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 00:24:18 +00:00
rginda%netscape.com
f0bb58e88e - not built -
turn off jsd_EvaluateUCScriptInStackFrame until 77081 gets checked in.


git-svn-id: svn://10.0.0.236/trunk@93038 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 23:53:59 +00:00
rginda%netscape.com
ee606ac24d - not built -
patch from peterv.  We can't use js_* in this module because they're libjs' private stash.  I got away with it on Linux somehow, but not on mac, and probably not on windows.  jsd_EvaluateScriptInStackFrame now uses JS_EvaluateInStackFrame, instead of doing the inflation itself and calling JS_EvaluateUCInStackFrame.


git-svn-id: svn://10.0.0.236/trunk@93033 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 23:02:58 +00:00
nboyd%atg.com
0db811b512 Make the default just build core.
git-svn-id: svn://10.0.0.236/trunk@93014 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 21:06:34 +00:00
nboyd%atg.com
417b822fcf Move files to rhino/toolsrc.
git-svn-id: svn://10.0.0.236/trunk@93012 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 20:43:37 +00:00
nboyd%atg.com
29351465da Move files to rhino/toolsrc
git-svn-id: svn://10.0.0.236/trunk@93011 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 20:42:14 +00:00
nboyd%atg.com
362925a9fd Move files to rhino/src.
git-svn-id: svn://10.0.0.236/trunk@93010 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 20:39:47 +00:00
nboyd%atg.com
6300e65112 Somehow removed these right after I added them.
git-svn-id: svn://10.0.0.236/trunk@93009 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 20:36:58 +00:00
nboyd%atg.com
020115d7b4 Massive reconfiguration of the cvs directory structure:
mozilla/js/rhino/org is now distributed between
mozilla/js/rhino/src and mozilla/js/rhino/toolsrc.
The build.xml has been split in three.
Docs now live in the project directory.

These changes mean that the cvs directories mirror the distribution and thus a distribution
will build the same way as a cvs build.


git-svn-id: svn://10.0.0.236/trunk@93007 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 20:31:31 +00:00
nboyd%atg.com
2339275fa0 Break dependency between core and tools.
git-svn-id: svn://10.0.0.236/trunk@93000 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 18:08:46 +00:00
nboyd%atg.com
21b2c4215b Igor's latest patches, with some regression fixes.
git-svn-id: svn://10.0.0.236/trunk@92996 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 12:57:45 +00:00
nboyd%atg.com
ce375cd2d1 Fix test: can only look for FunctionDeclaration syntax.
15.3.4.2 Function.prototype.toString ( )
An implementation-dependent representation of the function is returned. This representation has the syntax of a
FunctionDeclaration. Note in particular that the use and placement of white space, line terminators, and semicolons
within the representation string is implementation-dependent.


git-svn-id: svn://10.0.0.236/trunk@92995 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 12:55:25 +00:00
pschwartau%netscape.com
f9254662af Avoid a name conflict; getClass() is already used in js/src/liveconnect/jsj_JavaClass.c
git-svn-id: svn://10.0.0.236/trunk@92981 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 01:30:53 +00:00
rginda%netscape.com
c11f7fe4c1 - not built -
add line attribute to jsdIStackFrame
remove isFuction from jsdIValue
add TYPE_UNKNOWN to jsType "enumeration" so we don't fail hard if we can't figure out the type.
add hook type "enumeration" to jsdIExecutionHook


git-svn-id: svn://10.0.0.236/trunk@92935 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 19:15:55 +00:00
rginda%netscape.com
baa9bebcf0 - not built -
add line attribute to jsdStackFrame
add pcToLine and lineToPc methods to jsdStackFrame
remove isFunction attribute from jsdValue (already covered by jsType attribute)
add propertyCount attribute to jsdValue so you can get the property cound without forcing a bunch of property wrappers to be created (as in GetProperties())


git-svn-id: svn://10.0.0.236/trunk@92934 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 19:12:56 +00:00
shaver%mozilla.org
2fbf0db9be not built: fix compilation error due to jschar/PRUnichar mismatch
git-svn-id: svn://10.0.0.236/trunk@92877 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 15:11:02 +00:00
rginda%netscape.com
52a52299eb - not built -
implement jsdIProperty


git-svn-id: svn://10.0.0.236/trunk@92876 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 07:21:27 +00:00
brendan%mozilla.org
31f6a8d613 Restore reviewed code that should have been in the last checkin (76976, r=beard, sr=shaver, a=blizzard).
git-svn-id: svn://10.0.0.236/trunk@92875 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 04:37:01 +00:00
nboyd%atg.com
f2db5eac9c Convert to IdScriptable form.
Patch from Igor.


git-svn-id: svn://10.0.0.236/trunk@92833 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-20 14:29:56 +00:00
pschwartau%netscape.com
3a1720cd7f Minor change; see Brendan's comment at 2001-04-19 12:00 in Bugzilla bug 76634.
git-svn-id: svn://10.0.0.236/trunk@92809 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-20 04:57:51 +00:00