Граф коммитов

257 Коммитов

Автор SHA1 Сообщение Дата
alecf%netscape.com 52cd89e71b win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
rginda%netscape.com f74fb4592e bug 99601, add filter support to js/jsd, r=jband sr=brendan
large addition to the jsd_xpc component allows arbitrary filtering of debug hooks by url pattern, line range, and global object.  also adds ability to begin instrumenting jsscripts at app startup.
2001-10-30 13:41:32 +00:00
jaggernaut%netscape.com ba810640be More REQUIRES clean-up. 2001-10-16 22:08:55 +00:00
rginda%netscape.com 66be1a9728 bug 103804, "Venkman doesn't like stopping in timeouts", r=jband, sr=shaver
add callback to the enterNestedEventLoop method
2001-10-10 06:35:46 +00:00
rginda%netscape.com 8a3f2761d0 bug 103831, r=cls, sr=jband
remove java stubs
2001-10-09 21:43:15 +00:00
rginda%netscape.com a84aff6f80 bug 102785, r=dp, sr=shaver, a=asa
remove venkman startup listener so we don't have to load the dll at startup.
checking into 0.9.5 branch also.
2001-10-08 19:44:35 +00:00
jaggernaut%netscape.com 25694acfa3 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
jaggernaut%netscape.com cd894610d1 Checking in updated mac project file for Venkman (the JS Debugger) 2001-09-30 12:39:29 +00:00
rginda%netscape.com 3cbb02048d - not built -
remove java references, add jsd_xpc.cpp note, explain jsdb.
2001-09-30 08:52:04 +00:00
rginda%netscape.com b74c9a9cfb move REQUIRES line above include config.mak, to fix bustage 2001-09-30 07:10:21 +00:00
rginda%netscape.com 7d633b2f82 fixing REQUIRES bustage 2001-09-30 06:28:38 +00:00
jaggernaut%netscape.com fdc4078bc4 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
rginda%netscape.com e4e3c2f748 - venkman only -
bug 100943, changes needed to build jsd on os/2
patch by Dainis Jonitis, r=mkaply,rginda
2001-09-22 01:39:24 +00:00
gerv%gerv.net 2a80f3fea9 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org da68f3ed78 bug #98089: ripped new license 2001-09-19 22:39:41 +00:00
jaggernaut%netscape.com 3826eb9902 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
rginda%netscape.com e9ca148ce0 - venkman only -
init xpconnect on the debugger's default context so that xpconnect can use it when it has to.  r=jband
2001-09-06 01:34:44 +00:00
rginda%netscape.com 39d53b3512 - venkman only -
turn off verbose debugging for me
push a thread event queue for necko before we enter a nested event loop
2001-09-05 21:29:59 +00:00
rginda%netscape.com 0a3c92841d -- not built --
exposing call hook functionality
2001-09-01 18:03:53 +00:00
rginda%netscape.com ae3da0ea95 -- not built --
whitespace cleanup
2001-09-01 18:01:28 +00:00
rginda%netscape.com bc31e2e0ee - not built -
spruce up some comments
added, then comented out, jsdIDebuggerService::filterGlobalObject
2001-08-28 22:03:44 +00:00
rginda%netscape.com 7013f31b75 - not built -
whitespace tweakage
2001-08-28 22:02:28 +00:00
rginda%netscape.com 84e05c27ce - not built -
don't allow gc's during script hooks if CAUTIOUS_SCRIPTHOOK is defined (which it is, by default.)  Should help with stability until we can fix the real problems.
Use JSVAL_ macros instead of JSD_* calls in jsdValue::GetJSType method, avoiding two c++ frames per call.
2001-08-28 22:02:07 +00:00
rginda%netscape.com fe16ecaba4 - not built -
modeline fix
2001-08-28 21:59:53 +00:00
cls%seawood.org 8405a1984e Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
rginda%netscape.com 7be0be9140 - not built -
add javadoc comments, remove jsdIScript::isActive, add jasIService::GC()
2001-08-03 05:15:27 +00:00
rginda%netscape.com cd03229855 - not built -
remove isActive attribute from jsdScript (it's the same thing as isValid)
fix bug in jsdValue::GetDoubleValue()
add jsdService::GC()
2001-08-03 05:14:21 +00:00
cls%seawood.org fd1695ac66 Update REQUIRES for jsd 2001-07-20 05:33:34 +00:00
cls%seawood.org 654b132df3 Updating .cvsignore files.
Bug #84824 r=jag
2001-07-06 02:36:37 +00:00
rginda%netscape.com 43dfbfdf6d - not built -
remove spaces from non debug definitions of DEBUG_*, bug 89240
2001-07-05 09:06:24 +00:00
rginda%netscape.com 94f76fe2f3 - not built -
add jsdIEphemeral interface, inherit from it in interfaces that need to.
2001-07-03 22:22:58 +00:00
rginda%netscape.com c9c7dff65b - not built -
move debug object counters and various constructors to jsd_xpc.cpp
add LiveEphemeral struct to reperesent a link in a PRCList of ephemeral objects.
declare jsdIEphemeral interface in objects that need it, add invalidaAll static method to jsdIProperty and jsdIValue.  jsdIObject still needs work.
2001-07-03 22:21:56 +00:00
rginda%netscape.com a69b4d96de - not built -
Large changes to improve the way we deal with our wrappers around js engine structures.  jsdIScript, jsdIStackFrame, jsdIValue, and jsdIProperty interfaces now inherit from a new interface "jsdIEphemeral".  This interface is used to invalidate the wrapper.  Once the wrapper is invalidated, *most* methods throw NS_ERROR_NOT_AVAILABLE, some interfaces, such as jsdIScript, cache important information so that the wrapper isn't utterly useless once it has been invalidated.  The boolean isValid attribute can be used to see if the wrapper is still valid.

factor debug object counters into some simple macros
add new velid assertion macros for the new ephemeral objects
add utility functions for dealing with PR_CLISTs full of ephemeral objects.
invalidate the jsdIFrame after the execution hook completes
move some c/dtors from jsd_xpc.h over here to avoid exposing debug object counters, and repeating some macros
fix incorrectly set out parameter in getValue::GetDoubleValue
2001-07-03 22:19:04 +00:00
rginda%netscape.com 0dd8228c9c - not built -
Add isValid to jsdIScript
Add jsdIService::isOn
2001-06-28 07:47:22 +00:00
rginda%netscape.com 27a7eb62fc - not built -
declare and initialize new provate members in jsdScript, copy important script properties at jsdScript creation time, so they're around after Invalidate().
2001-06-28 07:47:04 +00:00
rginda%netscape.com b799edc573 - not built -
large changes to fix the following bugs:
82684, crash manually clearing breakpoint
*actually* clearing mValid in jsdScript::Invalidate fixed this one.

85636, assertions on quiting venkman
jsdService::Off now disconnects the hooks into JSD, to avoid calling back into js after that.  It also processes any pending script delete events that occurred during the last GC. The code to process the gPendingScripts list has been factored out of the gc callback.  Processing the dead script list allows us to properly finalize all of the jsdIScript object, which seems to clear up the "gc roots exist at shutdown" assertions.  In effect, these changes get rid of *all* of the jsd related assertions on exit.

Added isOn attribute to jsdIService.
Added isValid attribute to jsdIScript.  We now prefetch appropriate properties from the underlying JSDScript, so that it's available after the script is Invalidate()d

moved jsdService constructor to jsd_xpc.h

Save the runtime passed to OnForRuntime so we can use it to clear the GC Gallback in Off().
2001-06-28 07:46:36 +00:00
waterson%netscape.com 0877b1a573 Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
valeski%netscape.com 221edc8f1a r=chak, sr=vidur, a=tor. 82000. removing unused arg from nsICategoryManager. 2001-06-05 21:25:57 +00:00
rginda%netscape.com d57c27e7a0 - not built -
add enumerateScripts() method to jsdIDebugger service
don't create a new debugger context if the user trys to call on[ForRuntime]() multiple times
2001-05-21 07:18:10 +00:00
rginda%netscape.com 8976a62304 - not built -
add onForRuntime() method to jsdIDebuggerService to let native code turn on the deubgger (on() can only be called from js)
register an app-start observer so we can turn on the debugger at startup if "js.debugger.autostart" pref is true.
r=peterv, bug 81840
2001-05-21 06:00:12 +00:00
rginda%netscape.com 9d4b8b8128 bug 76050, use the same module name across the module. Fix senna bustage. r=cls 2001-05-15 20:40:43 +00:00
rginda%netscape.com a7060622bf bug 76050, fix REQUIRES for jsd unix makefile. r=cls 2001-05-15 20:39:35 +00:00
rginda%netscape.com 6da2fab05f fix to help senna tinderbox find PRClist 2001-05-15 07:55:34 +00:00
rginda%netscape.com 270be09339 fix ports bustage 2001-05-15 07:42:58 +00:00
rginda%netscape.com 78f5f69a15 - not built -
add required libraries to unix make
2001-05-14 21:59:01 +00:00
rginda%netscape.com 732a56c73c - not built -
check for valid PC in ClearBreakpoint
Lock script subsystem while clearing all breakpoints
2001-05-13 21:08:06 +00:00
rginda%netscape.com 7b66a6f592 - not built -
Convert JS_SetTrap closure to a jsval so it works like a GC thing.
2001-05-13 21:07:03 +00:00
rginda%netscape.com 2e672b615b - not built -
updating windows build goop
2001-05-04 23:44:07 +00:00
rginda%netscape.com cab9e070b6 - not built -
remove jsdIContext and jsdIThreadstate interfaces
add TYPE_BOOLEAN to jsdIValue
update callback signatures to reflect the removal of jsdIContext and jsdIThreadstate
add errorHook and throwHook attributes to jsdIDebuggerService
2001-05-04 22:16:27 +00:00
rginda%netscape.com 58b8d4cafe - not built -
remove jsdContext and jsdThreadstate objects
2001-05-04 22:14:37 +00:00
rginda%netscape.com 80dbc00881 - not built -
remove jsdThreadState and jsdContext objects.
consolidate ExecutionHook and BreakpointHook callbacks
remove return value checking from all methods (xpconnect does this for us.)
2001-05-04 22:14:04 +00:00
rginda%netscape.com 4c606bc2eb - not built -
remove HAVE_PATCH_FROM_77081 not that 77081 is checked in.
2001-05-04 21:57:43 +00:00
peterv%netscape.com f8dfbc931f Get the JS debugger building on Mac. Not part of the build. 2001-05-02 22:15:28 +00:00
peterv%netscape.com 61be90661b Get the JS debugger building on Mac. Not part of the build. 2001-05-02 22:08:11 +00:00
rginda%netscape.com e53b69b6ab - not built -
add invalidate() method to jsdIScript
rework jsdIScriptHook interface
2001-05-01 21:37:24 +00:00
rginda%netscape.com 033de8731c - not built -
add debug instance counter for jsdScript
add mValid flag to jsdScript
2001-05-01 21:35:06 +00:00
rginda%netscape.com 100d86b9c1 - 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()
2001-05-01 21:33:43 +00:00
rginda%netscape.com 47f18d438b - not built -
add GetService() member
2001-04-25 21:55:20 +00:00
rginda%netscape.com 402639c0b0 - not built -
register for gc callbacks
explicitly create a singleton factory
only call OnScriptLoaded() if |creating| is true
2001-04-25 21:54:59 +00:00
rginda%netscape.com 4147e2be2f - 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
2001-04-25 18:29:51 +00:00
rginda%netscape.com 83f0bc57b2 - 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
2001-04-25 18:22:49 +00:00
rginda%netscape.com 3850267b29 - 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
2001-04-25 18:20:47 +00:00
rginda%netscape.com 7edbcf806c - not built -
turn off jsd_EvaluateUCScriptInStackFrame until 77081 gets checked in.
2001-04-24 23:53:59 +00:00
rginda%netscape.com e85168e1cb - 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.
2001-04-24 23:02:58 +00:00
rginda%netscape.com f2e8a848b6 - 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
2001-04-23 19:15:55 +00:00
rginda%netscape.com d584572d07 - 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())
2001-04-23 19:12:56 +00:00
shaver%mozilla.org ab2c095322 not built: fix compilation error due to jschar/PRUnichar mismatch 2001-04-21 15:11:02 +00:00
rginda%netscape.com 61623774d2 - not built -
implement jsdIProperty
2001-04-21 07:21:27 +00:00
rginda%netscape.com 55a224d617 - not build -
basic methods for jsdIObject and jsdIProperty
tweak string params
most methods for jsdIScript jsdIStackFrame, jsdIThreadState, and jsdIValue
add hack methods enterNestedEventLoop and exitNestedEventLoop.  These should be moved to another interface before long.
2001-04-20 04:08:47 +00:00
rginda%netscape.com fdd4636de8 - not built -
add private data to JSDContexts and JSDScripts, add JSD_EvaluateUCScriptInStackFrame
fix comment for JSD_GetValueProperty
2001-04-20 04:03:21 +00:00
rginda%netscape.com 426f9d21de - not built -
add private data to JSDContexts and JSDScripts, add JSD_EvaluateUCScriptInStackFrame
2001-04-20 03:59:43 +00:00
rginda%netscape.com 47c334c44f - not built -
declare jsdObject, jsdProperty, jsdStackFrame, jsdThreadState, and jsdValue
2001-04-20 03:57:28 +00:00
rginda%netscape.com 93545134c2 - not built -
mmm.
skeleton jsdIObject, jsdIProperty
string tweaking
lock / unlock script sytem for JSDScript calls
imeplement jsdIStackFrame, jsdIThreadState, and jsdIValue
hacked in EnterNestedEventLoop and ExitNestedEventLoop
2001-04-20 03:54:05 +00:00
rginda%netscape.com a9757b3117 - not built -
indentation fix
2001-04-20 03:48:03 +00:00
rginda%netscape.com 85d1d58f1a - not built -
add *_EvaluateUCScriptInStackFrame
2001-04-20 03:47:09 +00:00
rginda%netscape.com b382d68805 - not built -
add private data to JSDScripts, fix unsigned vs signed warning
2001-04-20 03:45:39 +00:00
rginda%netscape.com fea369338b - not built -
quiet unix missing initializer warnings
add private data to JSDContexxt
2001-04-20 03:44:25 +00:00
rginda%netscape.com ffeae7f304 -not built-
adding private data to JSDContext, add jsd_EvaluateUCScriptInStackFrame
2001-04-20 03:43:07 +00:00
rginda%netscape.com 0f47b1091d - not built -
include <ctype.h> for toupper
2001-04-20 03:41:10 +00:00
rginda%netscape.com dd76eb9d54 moving xpcom wrapper from extensions/venkman/src/ and idl/ to here. 2001-04-17 08:50:41 +00:00
rginda%netscape.com 8358704e96 -- not built --
unix make fixes
unix "missing initializer" warnings
2001-04-14 18:57:00 +00:00
jband%netscape.com 2a65a69e81 [Not part of mozilla build]. Fix for bug pointed out by Celso Aguiar <caguiar@Adobe.COM>. 2001-03-22 20:11:26 +00:00
jband%netscape.com 3041f6ac4e NOT PART OF SEAMONKEY BUILD - removed misplaced semi-colon added by toshok on 6 Sep 1999 which had converted a conditional block into a non-conditional block and made the debugger completely non functional 2000-02-19 02:34:05 +00:00
dmose%mozilla.org 7a91d8fab2 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:47:15 +00:00
toshok%hungry.com d5417ad6fa ignore Makefile and js 1999-09-07 05:03:42 +00:00
toshok%hungry.com 34172e4dec wrap calls to JSD_IsActiveScript with JSD_{Lock,Unlock}ScriptSubsystem. 1999-09-07 05:02:11 +00:00
toshok%hungry.com afe7957f30 fix up the unix build a bit -- egcs had problems with aggregate initializers, and linux whines about gets. also, include errno.h to stop errors dealing with the (questionable practice of) setting of errno to 0. 1999-09-07 05:00:56 +00:00
toshok%hungry.com 9993819d15 fix up unix build of jsdebugger. 1999-09-07 04:57:03 +00:00
toshok%hungry.com 75916cca3b lock/unlock the script subsystem around the call to jsd_DestroyAllJSDScripts 1999-09-07 04:54:41 +00:00
toshok%hungry.com 3a6cc145f1 move the typedef to jsd_lock.h so the prototypes will match the actual definition. 1999-09-06 00:19:14 +00:00
jband%netscape.com 1d83c5cbae updating readme 1999-06-01 02:31:13 +00:00
ramiro%netscape.com 2009b728de Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
cyeh%netscape.com e9d3c67427 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
jband%netscape.com fbfb840a6c not part of mozilla build - merging from SpiderMonkey140_BRANCH 1998-11-05 08:57:24 +00:00
cls%seawood.org 001ed2ffd4 Sync'd various Makefile.ins to their Makefile counterparts.
Removed nspr & nspr20 from REQUIRES.  Removed NSPR_LDFLAGS.
Changed LIBNSPR refs to NSPR_LIBS.
Removed leftover NSPR20 ifdefs.
1998-10-21 02:13:56 +00:00
cyeh%netscape.com 3c34f3063b removing obsolete files. use MANIFEST instead. 1998-10-05 18:42:02 +00:00
jband%netscape.com 064288d52b (not part of client build) moving to mozilla from jsdse_branch of ns/js/jsd/corba. This code constitutes the server side of the Corba/iiop based remote JavaScript debugging system. There is not currently a build system for the C++ code in place 1998-09-16 22:24:00 +00:00
cls%seawood.org 90d0af1408 AUTOCONF_1_0 landing. 1998-08-19 20:42:14 +00:00
danm f2ba7ea301 optionally include GlowCode. bug 299200 a:don. 1998-07-13 00:22:53 +00:00
sfraser 1af0fac3d3 Changes to project and prefix files for Mac commercial build 1998-06-03 23:01:03 +00:00
sfraser f63b044186 First Checked In. 1998-06-03 23:00:41 +00:00
sfraser ac426b6602 First Checked In. 1998-06-03 22:38:01 +00:00
jgellman 3eed711ae4 merge from OJI branch 1998-06-03 00:37:20 +00:00
scc 48c6bf24d4 First Checked In. 1998-06-02 23:54:58 +00:00
sfraser 061bb4d1e2 First Checked In. 1998-05-23 01:14:17 +00:00
ltabb 781c480871 Free the lizard 1998-03-28 02:44:41 +00:00