beard%netscape.com
755c2cebf9
Added JSFunction, defineFunction()
2000-04-11 05:10:40 +00:00
beard%netscape.com
43a8442f14
defineFunction, added assert
2000-04-11 05:09:38 +00:00
beard%netscape.com
a1e930178f
_Charalloc, deallocate(void*) for _WIN32 only
2000-04-11 04:55:27 +00:00
beard%netscape.com
38c0d29748
defineGlobalProperty
2000-04-11 03:11:47 +00:00
beard%netscape.com
61caef62db
JSObject, JSArray : public JSMap, gc_object<T>. Frame -> JSFrame. Added JSFrameStack which is an std:stack<JSFrame*, std:vector<JSFrame*> >.
2000-04-11 03:11:00 +00:00
beard%netscape.com
7683394fc6
use gc_allocator<T> everywhere, addGlobalProperty -> defineGlobalProperty
2000-04-11 03:07:39 +00:00
beard%netscape.com
bf940ffbab
removed commented out GET_PROP/SET_PROP.
2000-04-11 02:59:52 +00:00
beard%netscape.com
4ca0198d48
added gc_object.
2000-04-11 02:59:14 +00:00
beard%netscape.com
bbffbab18d
fixing an assert and warnings
2000-04-11 01:10:26 +00:00
rogerl%netscape.com
bb3a13555c
CALL opcode & frames etc. (r=beard)
2000-04-11 00:32:17 +00:00
waldemar%netscape.com
4e0864d1c2
Fixed delete/delete[] mismatch
2000-04-10 22:23:17 +00:00
waldemar%netscape.com
58dd2238a6
Fixed memory leak
2000-04-10 22:20:00 +00:00
beard%netscape.com
717ab59840
Fixed warnings about member initializers on Linux. Whatever.
2000-04-08 04:49:41 +00:00
beard%netscape.com
513caa886a
Reduced size of args arrays to minimum.
2000-04-08 04:41:19 +00:00
beard%netscape.com
207529a65d
Reordered parameters to getProperty()/setProperty() to be consistent with operand ordering. Added array allocation/indexing to testObjects().
2000-04-08 04:15:02 +00:00
beard%netscape.com
65f51d1dc0
JSArray::elements(1), operator[](const JSValue&), fixed register-indexing.
2000-04-08 04:12:28 +00:00
beard%netscape.com
654a3c2f25
Fixed NEW_ARRAY, GET_ELEMENT, SET_ELEMENT printing.,
2000-04-08 04:11:16 +00:00
beard%netscape.com
baed85e41a
NEW_ARRAY
2000-04-08 03:37:49 +00:00
beard%netscape.com
3a59608302
Reordered GetProp/SetProp operands to base, name. Added NewArray, GetElement, SetElement instructions.
2000-04-08 03:37:18 +00:00
beard%netscape.com
5834a20d81
added JSArray, GET_ELEMENT, SET_ELEMENT, changed some ops to dest/src.
2000-04-08 03:23:44 +00:00
beard%netscape.com
fffdece17c
added JSArray, comments.
2000-04-08 02:44:34 +00:00
beard%netscape.com
eecdd6e6fb
Changed boilerplate, chmod -x
2000-04-08 02:29:07 +00:00
beard%netscape.com
bd9723a414
converted NotALabel to an enum, so it obeys proper scoping rules.
2000-04-08 02:25:37 +00:00
rogerl%netscape.com
5071a48e76
added interpreter & icodegenerator
2000-04-08 01:09:50 +00:00
rogerl%netscape.com
3e3b3e45fd
Fixed wacky tabs
2000-04-08 01:08:01 +00:00
rogerl%netscape.com
4898874939
Added ICodeModule to collect extra info about executable chunks.
2000-04-08 01:04:55 +00:00
beard%netscape.com
365dd176a7
fixed LoadImmediate.
2000-04-08 00:57:28 +00:00
beard%netscape.com
13179cd572
reindented, introduced gc_map_allocator to hide platform differences
2000-04-08 00:52:59 +00:00
beard%netscape.com
cd69e46bec
conforming to MSVC++ allocators
2000-04-08 00:48:13 +00:00
rogerl%netscape.com
adb5b77071
Re-ordered instructions so destination is always first.
...
Changed labels to be struct * instead of ints.
2000-04-07 22:19:36 +00:00
rogerl%netscape.com
748a0de92d
fix invalid return in GC_free for win32 build
2000-04-07 21:58:33 +00:00
rginda%netscape.com
0bc7ecc593
#if out references to std::iterator to get gcc to compile
2000-04-07 21:11:40 +00:00
beard%netscape.com
545dc2fc59
printing code in testObjects().
2000-04-07 04:59:57 +00:00
beard%netscape.com
8a93b77fcd
added code to print SAVE_NAME, NEW_OBJECT, GET_PROP, and SET_PROP iCodes.
2000-04-07 04:58:58 +00:00
beard%netscape.com
0679b2e1cf
JSObject and its elements now allocated using gc_allocator<T> (XP_MAC only).
2000-04-07 04:39:50 +00:00
beard%netscape.com
abdc92ce96
JSValues now using gc_allocator (XP_MAC only for now).
2000-04-07 04:38:18 +00:00
beard%netscape.com
1ec7e291c8
added gc library.
2000-04-07 04:36:38 +00:00
beard%netscape.com
eb84a5964f
prebuilt gc library for bootstrapping.
2000-04-07 04:35:14 +00:00
beard%netscape.com
34e5ea1801
added stub implementations of GC entry points.
2000-04-07 04:00:21 +00:00
beard%netscape.com
28357888da
added failed gc_rebind, for future compilers to ponder.
2000-04-07 03:11:38 +00:00
beard%netscape.com
dee4064778
duh, can't use wide string constants on Linux
2000-04-07 03:08:20 +00:00
beard%netscape.com
deb19d6e30
XP_MAC: no longer auto close upon exit (so we can see asserts, etc.). Renamed testInterpreter() to testFactorial(). Added testObjects(), which allocates an object, stores it in the global variable "global", assigns 0.0 to "global.counter", and finally defines a function "increment" which adds 1.0 to "global.counter" each time it is called.
2000-04-07 02:58:01 +00:00
beard%netscape.com
5e0d72e3ce
Added preliminary object representation class JSObject, which is simply an STL map<String, JSValue> for now. Changed static globals to be a JSObject (can you say scope chain?). Implemented NEW_OBJECT, GET_PROP, and SET_PROP, all in terms of operations provided by JSObject. No GC (yet).
2000-04-07 02:52:07 +00:00
beard%netscape.com
82ea502a7c
added forward declaration to class JSObject, and changed void* JSValue.ref to JSObject* JSValue.obj.
2000-04-07 02:47:53 +00:00
beard%netscape.com
1c75ce0fa0
fix calls to template superclass for gcc
2000-04-07 02:45:33 +00:00
beard%netscape.com
ec6420f75b
added NEW_OBJECT instruction. unified typedef GetProp, SetProp. changed typedef Return to class Return, added class NewObject. These classes automatically pass their opcode to their base-class, and look better in the debugger. Added a virtual destructor to Instruction() #ifdef DEBUG. Added newObject(), saveName() and setProperty() methods to ICodeGenerator.
2000-04-07 02:41:21 +00:00
beard%netscape.com
b40caf2ec9
added newObject(), saveName() and setProperty().
2000-04-07 02:41:08 +00:00
waldemar%netscape.com
5e1e49d9bb
Worked around Visual C++ bugs
2000-04-07 00:47:39 +00:00
beard%netscape.com
cd193318c5
needed to qualify isFieldKind
2000-04-07 00:24:42 +00:00
beard%netscape.com
cddbf0e5ec
adding int to printCharBufferSize
2000-04-07 00:23:33 +00:00
waldemar%netscape.com
c039ba6036
Fixed Mac MPW build
2000-04-07 00:06:05 +00:00
rginda%netscape.com
fc42f77598
fix to include java version info on rhino(i|ms|msi) engines
2000-04-07 00:05:50 +00:00
waldemar%netscape.com
7c8bcb9a14
Made Mac MPW js2 tool work
2000-04-07 00:05:23 +00:00
waldemar%netscape.com
e92d0084eb
Added Buffer, BitSet, and implemented Formatters for output
2000-04-06 23:48:05 +00:00
waldemar%netscape.com
6e1ee07def
Implemented Formatters for output
2000-04-06 23:47:33 +00:00
waldemar%netscape.com
8cc02a37b8
Implemented Formatters for output and added parseMember
2000-04-06 23:45:58 +00:00
waldemar%netscape.com
cd3fd34095
Fixed syntax errors
2000-04-06 23:43:08 +00:00
waldemar%netscape.com
52080f6c74
Commented out syntax error
2000-04-06 23:40:47 +00:00
rogerl%netscape.com
7741726bd9
Changed compare/branch handling to determine last compare opcode.
...
Made returnStatement a member in ICG.
2000-04-06 22:40:17 +00:00
rginda%netscape.com
7532a2af4c
punctuation fix
2000-04-06 21:50:03 +00:00
rginda%netscape.com
9599baeb52
-- NOT PART OF THE DEFAULT BUILD --
...
Added -c (stackchunksize) option to the js shell, for testing purposes
r=pschwartau
2000-04-06 21:19:56 +00:00
rginda%netscape.com
fc2af836d3
added -o/--opt options to pass args to js engine
2000-04-06 21:14:23 +00:00
rginda%netscape.com
331f034b21
remove +x mode.
...
Not part of the default build.
2000-04-06 20:27:22 +00:00
beard%netscape.com
774881879c
Added interpreter.o to build of js2.
2000-04-06 03:05:12 +00:00
beard%netscape.com
580c9ba5d4
cases for SUBTRACT, MULTIPLY, DIVIDE in print().
2000-04-06 03:02:24 +00:00
beard%netscape.com
e6900034ca
added testInterpreter(), which computes factorial using iCode (woo hoo!)
2000-04-06 02:59:16 +00:00
beard%netscape.com
fb68200586
more arithmetic, conditional branches, return instruction.
2000-04-06 02:58:22 +00:00
beard%netscape.com
c94d749d3f
added new instructions, SUBTRACT, MULTIPLY, DIVICE, BRANCH_*, and RETURN. Changed LoadVar/SaveVar to have uint32 operand. Added optional paramter branchOp to ICodeGenerator::branchConditional() & endWhileExpression() to parametrize branch kind. Added complete(Register) to generate a RETURN instruction.
2000-04-06 02:57:42 +00:00
beard%netscape.com
22f7ad270e
added a ref field, changed default constructor to initialize f64.
2000-04-06 02:52:51 +00:00
rogerl%netscape.com
a43377758b
Resolved branch targets
2000-04-06 00:04:11 +00:00
beard%netscape.com
bb3c0f54a0
removed usage of labels (duh)
2000-04-05 23:57:51 +00:00
rogerl%netscape.com
0e8b29460c
typedef'd instructions
2000-04-05 23:41:58 +00:00
beard%netscape.com
f1fef2ea55
Added default case to avoid warning
2000-04-05 21:26:01 +00:00
beard%netscape.com
f8999eeb8f
added "globals", labels parameter for branches, combined some Instruction_N<> typedefs.
2000-04-05 20:33:41 +00:00
beard%netscape.com
3e4629d808
added labels parameter.
2000-04-05 20:29:09 +00:00
beard%netscape.com
fab870daa5
added Instruction::opcode(), and Instruction_N::oN(), and ICodeGenerator::getLabels().
2000-04-05 20:28:17 +00:00
beard%netscape.com
1e6377ccaa
moved declaration of lgBasicAlignment & basicAlignment inside the include guard.
2000-04-05 20:26:49 +00:00
rogerl%netscape.com
7925e76257
added missing semi in win32 case
2000-04-05 18:20:02 +00:00
beard%netscape.com
6e3b668298
added interpreter.cpp/.h
2000-04-05 18:06:04 +00:00
brendan%mozilla.org
889c987de0
Fix 22048 and 33391 (see bugs for details; r=jband@netscape.com).
2000-04-05 06:39:11 +00:00
beard%netscape.com
d9f7558a70
linux fixes
2000-04-05 06:10:53 +00:00
beard%netscape.com
8283b89064
first crack at an icode interpreter
2000-04-05 06:05:57 +00:00
beard%netscape.com
0b18dd168a
turned off '\n' -> '\r' mapping
2000-04-05 04:25:51 +00:00
beard%netscape.com
a8127fa669
backed out "fix" (thanks waldemar)
2000-04-05 04:24:19 +00:00
beard%netscape.com
1da98657a9
removed newline mapping code (instead using compiler mapping of '\n' to '\r' in literals, which should do the right thing).
2000-04-05 03:57:57 +00:00
beard%netscape.com
a1c47ffba5
added JS2MPW target (non-debug), converted MPW targets to do newline mapping (rather than using explicit override functions).
2000-04-05 03:56:34 +00:00
beard%netscape.com
561078ba6b
removed DEBUG
2000-04-05 03:54:46 +00:00
beard%netscape.com
7b9a3a6d76
debug prefix for MPW tool.
2000-04-05 03:54:30 +00:00
dveditz%netscape.com
a5cef05670
Use threadsafe ISupports for service
2000-04-05 03:31:57 +00:00
brendan%mozilla.org
ec99956290
Clean up ugly whitespace, some of which survived my r=brendan comments.
2000-04-05 02:17:38 +00:00
beard%netscape.com
75fe46e792
now using gc_container<T>.
2000-04-05 02:05:12 +00:00
beard%netscape.com
200888085c
convenience container types that use the GC_allocator.
2000-04-05 02:03:03 +00:00
beard%netscape.com
39293204c1
added a comment.
2000-04-05 01:55:14 +00:00
beard%netscape.com
cf49d1a5d6
making icode generation test not mutually exclusive with the REPL.
2000-04-05 00:52:47 +00:00
beard%netscape.com
dde290c866
changed to use locally built gc.o library.
2000-04-05 00:50:59 +00:00
beard%netscape.com
2dec354876
gc configuration file.
2000-04-05 00:50:32 +00:00
beard%netscape.com
a5aa982d30
local project to build the gc itself.
2000-04-05 00:50:01 +00:00
beard%netscape.com
a8a9242fac
Fixing linux build: needed <algorithm> and stub implementations of parseMember, parseNonAssignmentExpression, paraseAssignmentExpression and parseExpression.
2000-04-04 23:58:30 +00:00
waldemar%netscape.com
428084c741
Updated for lexer changes
2000-04-04 21:43:28 +00:00
waldemar%netscape.com
7170168e24
Added insertChars, removed SourcePosition, and reorganized Exception class
2000-04-04 21:42:39 +00:00
waldemar%netscape.com
b620a17caf
Added postfix expression parsing. Simplified Reader.
2000-04-04 21:39:59 +00:00
waldemar%netscape.com
ac3d51ea23
Updated sprintf call
2000-04-04 21:38:53 +00:00
waldemar%netscape.com
143e65e71e
Updated lexer API
2000-04-04 21:38:25 +00:00
waldemar%netscape.com
2b53fb6a68
Reordered files
2000-04-04 21:37:20 +00:00
waldemar%netscape.com
cc9ba4e5b0
Fixed syntax errors
2000-04-04 21:36:57 +00:00
brendan%mozilla.org
e7aad0c475
Eliminate unused var warning and clean up other stuff not in the patch I reviewed and approved!
2000-04-04 08:17:05 +00:00
cls%seawood.org
f6740baa20
Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287
2000-04-04 04:46:38 +00:00
rogerl%netscape.com
fcd2e813a5
cleaning up the codestate classes; continue labels
2000-04-04 01:48:35 +00:00
cls%seawood.org
9249743718
Use LDFLAGS when creating shared libraries. It may contain the paths to essential libraries.
2000-04-03 01:04:59 +00:00
cls%seawood.org
da66e49516
Adding a script to print out which of a given list of files do not end with a newline. Source files that do not end with a newline break at least the HP-UX compiler. Adding newlines to all of the source files found at this point.
2000-04-02 07:17:25 +00:00
brendan%mozilla.org
6fd7f42463
Don't forget to drop property in getter/setter case (34069, r=jband,a=leaf).
2000-04-01 04:23:04 +00:00
rogerl%netscape.com
b8da7521e4
For statements.
2000-04-01 02:53:16 +00:00
rogerl%netscape.com
f4b33493b8
Added do & switch statements, more hacking at the code state thing.
2000-04-01 01:30:32 +00:00
scc%netscape.com
c05019b2a8
making string conversions explicit
2000-04-01 00:39:02 +00:00
mccabe%netscape.com
bd22a269de
Error reporting mechanisms for nsDocShell (xul js and content js) and mosJSComponentLoader (JS components) now pipe error objects to the JavaScript console.
2000-03-31 11:19:51 +00:00
jband%netscape.com
7f5854b8f2
fix a side effect of the fix to bug 32485. It turns out it is better to leak some native objects while shutting down then to fire off Release calls on those wrapped native objects and watch the browser crash
2000-03-31 10:31:00 +00:00
beard%netscape.com
dff6633c76
fixing a broken header.
2000-03-31 05:47:42 +00:00
jband%netscape.com
6ed140070f
use JS_LookupProperty to find the Components object in the JS scope because the OBJ_GET_PROPERTY call we had been using can fail for security reasons. travis needs this to fix bug 33489. r=brendan@mozilla.org
2000-03-31 02:47:46 +00:00
brendan%mozilla.org
67eed4bca0
Allow anonymous function compilation via JS_Compile*Function (33840, r=shaver,jband).
2000-03-31 02:47:15 +00:00
rogerl%netscape.com
820c2dd375
Changes to CodeState thing, still not happy with this - RTTI would be
...
better?
2000-03-31 01:54:28 +00:00
beard%netscape.com
8d72166d5d
making icodegenerator work on Linux
2000-03-31 00:42:25 +00:00
beard%netscape.com
5894b78c53
added icodegenerator.cpp
2000-03-31 00:09:24 +00:00
jband%netscape.com
b7e17c9d8f
fix a search-and-replace mistake that was hiding in an #ifdef
2000-03-30 22:37:29 +00:00
jband%netscape.com
7ab8e93ba3
Expose method for getting a 'safe' JSContext appropriate for use on the current thread. This will help travis fix bug 33489. r=brendan@mozilla.org.
2000-03-30 07:06:10 +00:00
jband%netscape.com
ea3935a3b7
fix for bug 32485. Mark wrappednatives when xpconnect shuts down to avoid bad things happening when JS collects the JSObject part of the wrapper. r=mccabe
2000-03-30 00:09:15 +00:00
rogerl%netscape.com
5501a7eae5
Bug #32677 , fix for optimizer reducing expression incorrectly for Math.pow
...
edge cases.
2000-03-29 23:46:08 +00:00
rogerl%netscape.com
b76e51bc61
Bug #32677 , r=rginda bugs in Win32 optimized version for edge cases in
...
Math.exp and Math.pow
Bug #32937 , r=rginda, implement missing toLocaleString
2000-03-29 23:45:07 +00:00
rogerl%netscape.com
a0dcea4077
Test driver for icg in main, just a temporary thing
2000-03-29 19:24:07 +00:00
rogerl%netscape.com
98ade2a277
First hack at some icode generation.
2000-03-29 19:19:23 +00:00
jband%netscape.com
1a98fc8141
adding new files - not part of build
2000-03-28 05:14:51 +00:00
jband%netscape.com
f0e95e63d4
Landing changes that have been banging around in my tree... - Add #ifdef'd out support for profiling. - Add support for calling the JS gc root dumper. - Add unified #define for dumping shutdown info". Remove redundant define in makefile.win. - Prepare for semantic change to nsIInterfaceInfo::GetParent if there is no parent (return null rather than an error code).
2000-03-28 03:54:34 +00:00
jband%netscape.com
6447c456fe
allow for later use of xpconnect\tools
2000-03-28 03:46:21 +00:00
jband%netscape.com
1703b6270a
general cleanup
2000-03-28 03:45:12 +00:00
norris%netscape.com
ea63971f10
Fix bug 33239.
2000-03-24 23:06:02 +00:00
brendan%mozilla.org
6744754724
Augh! Fix one name-hiding warning, add another... Fixed.
2000-03-24 03:01:47 +00:00
brendan%mozilla.org
e68cd0817f
Eliminate name-hiding and consequent compiler warning (r=shaver@mozilla.org).
2000-03-24 00:20:02 +00:00
brendan%mozilla.org
22afff17dc
Rename stacksize formal param to stackChunkSize (27767, really a doc bug).
2000-03-23 23:50:29 +00:00
brendan%mozilla.org
49b6521edf
Rename stacksize to stackChunkSize, similar cleanups, default new object class extension (27767).
2000-03-23 23:47:23 +00:00
brendan%mozilla.org
17eca8e2c8
Optimize lightweight function calls, and bound their recursion (27767, r=rogerl@netscape.com).
2000-03-23 23:29:36 +00:00
rogerl%netscape.com
1678fe3c07
r=brendan@mozilla.org
...
Bug #32674 , JS_SetVersion hides error; also, jsscan.c keyword bug
2000-03-23 23:00:35 +00:00
slamm%netscape.com
1923718f2a
Quiet a warning: '/*' within a comment.
2000-03-22 04:56:37 +00:00
rginda%netscape.com
8235dda43c
Fixed lame speeling erras
2000-03-22 01:25:37 +00:00
waldemar%netscape.com
bc5679269d
Made ifdef _WIN32 uniform
2000-03-22 00:52:06 +00:00
rogerl%netscape.com
c72c567bc7
r=rginda
...
bug #31316 , screwed up match array contents for | operator.
2000-03-21 21:11:19 +00:00
ftang%netscape.com
84856445ab
add assertion code to catch data lostage. r=jband
2000-03-21 21:02:18 +00:00
beard%netscape.com
9ccba843c1
fix stand-alone LiveConnect shell on XP_MAC.
2000-03-18 09:45:13 +00:00
beard%netscape.com
8817a932f6
fix simple callbacks (not part of standard LiveConnect)
2000-03-18 09:44:07 +00:00
beard%netscape.com
58b9aa6ad7
added classpath processing.
2000-03-18 09:42:15 +00:00
beard%netscape.com
4412d25298
removed redundant implementation of strdup.
2000-03-18 00:55:47 +00:00
beard%netscape.com
a24c8a18bb
fixed to work with Universal Headers 3.3 JManager interfaces.
2000-03-18 00:55:15 +00:00
beard%netscape.com
b6e6704f30
fixed to work with Universal Headers 3.3 to get MRJ interfaces/libraries, added jsj_simpleapi.c. (not part of mozilla build)
2000-03-18 00:53:55 +00:00
mccabe%netscape.com
ca1868c245
Patches for building perlconnect, courtesy Pavel Hlavnicka <pavel@gingerall.cz>.
2000-03-17 06:40:22 +00:00
gagan%netscape.com
e1b0d2b26c
Fix a mem leak. r=jband
2000-03-16 23:31:53 +00:00
norris%netscape.com
4b10c5a00b
fix NullPointerException
2000-03-16 22:43:03 +00:00
rginda%netscape.com
ebcbb5007c
changing format of generated results file name to place the date before the engine name
2000-03-15 21:49:13 +00:00
norris%netscape.com
6513a8feb0
clean up regressions in test suite from last fix
2000-03-15 19:40:53 +00:00
norris%netscape.com
884167f722
Fix regressions caused by support for function expression statements.
2000-03-15 17:18:12 +00:00
mkaply%us.ibm.com
b54097c65e
# 25555
...
r= rogerl@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-03-15 14:50:26 +00:00
mkaply%us.ibm.com
ab9c3bf6ce
# 25555
...
r= rogerl@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-03-15 14:31:55 +00:00
norris%netscape.com
9cca0a1352
31251 NervousText.js applet doesn't work
2000-03-14 01:20:45 +00:00
beard%netscape.com
855f2ed7a8
added mozilla/js/rhino/org/mozilla/javascript/tools/jsc/Main.java
2000-03-14 00:24:23 +00:00
norris%netscape.com
092098261a
generalize on number of threads, add synchronization point so test case behaves as advertised
2000-03-13 21:45:02 +00:00
norris%netscape.com
068e84c7d4
Implement distinction between function statements, function expressions, and function expression-statements.
2000-03-13 18:27:42 +00:00
norris%netscape.com
a05b7af158
Fix 31639 Oldstyle Java property method names no longer work with defineClass
2000-03-13 17:12:36 +00:00
jband%netscape.com
728658cf2d
Fix protection against gc reentry on same thread but on different JSContexts. Also fix potential deadlock in gc when destroying a JSContext while some other thread is blocked in gc waiting for the EndRequest of the first thread. The reentrance fix is needed to fix bug 28570. r=brendan@mozilla.org
2000-03-12 05:09:46 +00:00
norris%netscape.com
060e388a6b
Files:
...
caps/idl/nsICertificatePrincipal.idl
caps/idl/nsIPrincipal.idl
caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com
Files:
caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com
Files:
caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com
Files:
dom/public/nsDOMPropEnums.h
dom/public/nsDOMPropNames.h
dom/src/base/nsGlobalWindow.cpp
modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com
Files:
dom/src/base/nsJSUtils.cpp
dom/src/base/nsJSUtils.h
dom/src/base/nsJSEnvironment.cpp
dom/tools/JSStubGen.cpp
layout/base/src/nsDocument.cpp
layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com
Files:
layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
pavlov%netscape.com
ce094b4cfc
changes to let us build on MacOS X
2000-03-11 03:08:04 +00:00
norris%netscape.com
b1bb0c6e43
Make Wrapper an API class.
2000-03-10 20:55:36 +00:00
norris%netscape.com
26943a61bb
Add support for testing against the MS VM.
2000-03-10 20:38:57 +00:00
rginda%netscape.com
a17c7ec492
Put the redirect back in. (Doh)
2000-03-10 19:12:53 +00:00
rginda%netscape.com
c66d2fe108
Removing debug output
2000-03-10 19:06:36 +00:00
rginda%netscape.com
f0ce2b2a73
Fix lame syntax error
2000-03-10 18:58:45 +00:00
rginda%netscape.com
0ce1875c14
Modified jsDriver.pl to allow multiple engine arguments, updated readme to tell the world.
2000-03-10 18:54:21 +00:00
rginda%netscape.com
f4d1a0f805
Initial add of Function Expression/Statement tests
2000-03-10 18:31:04 +00:00
mccabe%netscape.com
3f8b45f3f4
Replace some ternary expressions
...
step += (InLeapYear(t) ? 29 : 28);
with the form
if (InLeapYear(t))
step += 29;
else
step += 28;
to work around an apparent JRE bug in which the code always returns 28.
2000-03-10 02:05:41 +00:00
beard%netscape.com
3d929551f5
now includes all of the optimizer classes
2000-03-10 01:05:28 +00:00
norris%netscape.com
c567ae6df2
javadoc comment.
2000-03-10 01:03:59 +00:00
beard%netscape.com
789e50b184
imports js.mcp.xml into js-all.mcp
2000-03-10 01:03:58 +00:00
norris%netscape.com
d121bdcda7
Fix command line
2000-03-09 23:33:06 +00:00
norris%netscape.com
6b2aea0f90
Add html page for the NervousText applet.
2000-03-09 23:06:54 +00:00
norris%netscape.com
cd8ce490e8
Fixes for NervousText example.
2000-03-09 21:50:14 +00:00
norris%netscape.com
ec66213a10
Try to fix Solaris/Linux failures.
2000-03-09 21:46:42 +00:00
rogerl%netscape.com
85f0dbf22b
Put NonGreedy back in.
2000-03-09 02:39:58 +00:00
beard%netscape.com
3578deece1
Added gctest target, added -lm to get floor()
2000-03-09 02:11:52 +00:00
beard%netscape.com
f890b439c5
oops, commented out gc_types<T>::string.
2000-03-09 01:44:35 +00:00
beard%netscape.com
5f33cd841d
g++ doesn't provide numeric_limits<T>
2000-03-09 01:35:53 +00:00
beard%netscape.com
52c6a7f379
Cleaning up for GCC
2000-03-09 01:34:57 +00:00
rogerl%netscape.com
1a509a268e
Fixed handling of {1,} quantifiers
2000-03-08 01:24:55 +00:00
rogerl%netscape.com
08a7900333
Reduced stack usage for greedy matching.
2000-03-08 01:08:32 +00:00
norris%netscape.com
8640325859
Remove test cases with classes from the rmi package that isn't supported by ths MS VM.
2000-03-07 21:16:13 +00:00
norris%netscape.com
a481bb8745
Fix typo.
2000-03-07 17:22:43 +00:00
jeff.dyer%compilercompany.com
53375c1c1e
Fix for #16438 (r=stanley.ho@eng.sun.com). Adds functionality for unwrapping
...
wrapped JSObjects.
2000-03-07 02:38:44 +00:00
beard%netscape.com
83b2bf90b7
more tests, using safer auto_ptr.
2000-03-07 01:21:53 +00:00
norris%netscape.com
7701888952
Add rhinoi as an engine type.
2000-03-06 21:28:57 +00:00
rginda%netscape.com
88db2bee58
Added bugnumber to uc-003.js and regress-24712.js
...
new testcase regress-28686.js added
2000-03-03 22:14:09 +00:00
norris%netscape.com
140fe5ab49
Clean up debugging interfaces.
2000-03-03 21:46:44 +00:00
rginda%netscape.com
dbdabead7e
Initial add of regress-24712.js
2000-03-03 21:33:08 +00:00
norris%netscape.com
fa21a5c8da
Clean up examples to use current jsFunction_ and jsGet_ method forms.
2000-03-03 19:15:51 +00:00
rogerl%netscape.com
9f37d04d49
Added lineTerminator test back into \s & \S atoms
2000-03-03 19:07:16 +00:00
norris%netscape.com
08455904ae
Fix js1_2/function/Function_object.js
2000-03-03 17:18:49 +00:00