1 2005-08-03 Alex Fritze <alex@croczilla.com>
4 Register as command line handler rather than hooking into profile startup.
6 2005-01-31 Alex Fritze <alex@croczilla.com>
8 * resources/content/jssh-debug.js:
9 Add explanatory notes about pushContext() & its problems with QueryInterface.
11 2004-05-24 Alex Fritze <alex@croczilla.com>
13 * resources/content/jssh-debug.js: * moz-jssh.el:
14 Fix escaping of '//.*//.*' lines in jssh-eval-* functions.
16 Add 'time()' function.
18 2004-05-24 Alex Fritze <alex@croczilla.com>
21 Fix escaping of '//.*//.*' lines in jssh-eval-* functions.
24 Add 'time()' function.
26 2004-05-07 Alex Fritze <alex@croczilla.com>
29 Add moz-jssh-buffer-shell function which opens a jssh shell with
30 global object given by 'moz-jssh-buffer-globalobj'.
31 Also, moz-jssh-eval-internal is now fixed for commands strings
32 that change the context object.
35 exit() is now overriden to unwind the context stack (global
37 pushContext(obj) now sandwiches the jssh object between 'obj' and
38 obj.__proto__ rather than appending it to the end of the chain. This
39 is to prevent other objects that share 'obj's prototype inheriting
42 2004-04-25 Alex Fritze <alex@croczilla.com>
45 moz-jssh-eval-buffer will now eval the given buffer on the object
46 given by the variable moz-jssh-buffer-globalobj. The idea is that
47 this variable is specified buffer-locally in the local variable
48 list of a file (e.g. in the first line between -*-'s).
50 2004-04-21 Alex Fritze <alex@croczilla.com>
55 Convert build to statically link the xpcom glue lib rather than
56 linking against xpcom.dll. The main reason is so that we can use a
57 debug build of the jssh component in a mozilla release build. If
58 we link a debug jssh against xpcom.dll and try to use it in a
59 non-debug Mozilla, Windows (not Linux for some reason - even in a
60 stripped build) will complain about missing nsDebug::*
61 symbols. The downside of linking in the xpcom glue lib is that it
62 increases the jssh xpi size by ~25KB, but I guess we can live with
65 2004-04-20 Alex Fritze <alex@croczilla.com>
69 Add XPI build. Run 'make xpi' to build dist/jssh-date-arch.xpi.
73 Update for nsIScriptObjectPrincipal deCOMification change.
75 2004-03-31 Alex Fritze <alex@croczilla.com>
81 Add support for blocking shells. nsIJSShServer::runShell() now
82 takes a boolean 'blocking' argument which controls whether the
83 shell will block the ui thread or not. jssh-debug.js adds a global
84 function 'jssh(startupURI)' which starts a nested blocking shell.
87 Increase input buffer size to 100kB.
93 Remove redundant 'interactive' parameter from
94 nsIJSShServer::runShell(). The same effect of a non-interactive
95 shell can be achieved by passing 'null' as the input stream.
98 Add new global functions:
99 getInputStream(): returns the current input stream (nsIInputStream)
100 getOutputStream(): returns the current output stream (nsIOutputStream)
102 2004-03-30 Alex Fritze <alex@croczilla.com>
105 Add global 'debugBreak' function. Causes a break into the debugger
106 (debug builds only + on Linux the environment variable
107 'XPCOM_DEBUG_BREAK' needs to be set to 'trap').
110 Add global 'flushEventQueue' function.
112 2004-03-26 Alex Fritze <alex@croczilla.com>
118 Use a wrapped native object implementing nsIScriptObjectPrincipal
119 instead of setting a security manager for the context with
120 SetSecurityManagerForJSContext(). Fixes the security-related
121 problems described in bug 238572.
123 2004-03-24 Alex Fritze <alex@croczilla.com>
126 Make the taskbarOverlay work on the jssh-server *service* rather
127 than a jssh-server instance so that it plays nice with the '-jssh'
133 Add serverListening, serverPort, serverStartupURI and
134 serverLoopbackOnly attributes to nsIJSShServer.
138 Added nsJSShStarter.js JS XPCOM component which automatically
139 starts a jssh server if mozilla is started with '-jssh'
142 Added some keybindings:
143 [(control c) m j] creates a moz-jssh buffer
144 [(control c) m e] jssh-evaluates the current buffer
146 2004-03-15 Alex Fritze <alex@croczilla.com>
151 Add 'loopbackOnly'-option to nsIJSShServer::startServerSocket().
153 2004-03-14 Alex Fritze <alex@croczilla.com>
156 Fix crash when foreign context objects set with 'setContextObj()'
157 get garbarge collected.
160 Add functions for context pushing/popping. 'pushContext(obj)'
161 installs the jssh context into the proto chain of 'obj' and sets
162 'obj' as the current context object. 'popContext()' restores the
163 previous context object.
166 Fix escaping of '//'-style comments in jssh-eval-* functions.
168 2004-02-19 Alex Fritze <alex@croczilla.com>
171 Add moz-jssh-eval-buffer function.