beard%netscape.com
eb9d678d61
Need to modify string BEFORE caching iterators.
2000-05-09 06:39:39 +00:00
beard%netscape.com
ad2ad1e77c
ensure that source buffer is always terminated by a uni::null (which isn't automatically true for basic_string<T>).
2000-05-09 06:31:54 +00:00
beard%netscape.com
7a09fcc4cd
map::find() works just fine on all platforms.
2000-05-09 05:55:30 +00:00
beard%netscape.com
a2f5fc24f7
generating code rather than showing tokens, printing generic result rather than assuming it's a float64.
2000-05-09 05:46:26 +00:00
beard%netscape.com
1c816f64a6
LoadString now has JSString* as second operand
2000-05-09 05:38:48 +00:00
beard%netscape.com
6f85ea39ec
Added JSString(const String&) and operator<<(Formatter&, const JSString&)
2000-05-09 05:37:58 +00:00
beard%netscape.com
c7c46e062f
LOAD_STRING now has String as second operand rather than String*
2000-05-09 05:18:16 +00:00
beard%netscape.com
8647206526
VC6 bustage: can't initialize refs using construction form
2000-05-09 04:29:32 +00:00
beard%netscape.com
7b293d0e75
std::numeric_limits isn't working...
2000-05-09 04:26:44 +00:00
beard%netscape.com
3f60dde90e
JSNativeFunction::mCode returns JSValue now to avoid leaking
2000-05-09 03:57:28 +00:00
beard%netscape.com
3553a3b540
print now returns JSValue, added space between args when printing
2000-05-09 03:56:56 +00:00
beard%netscape.com
d0c644149e
CASE(string)
2000-05-09 03:56:08 +00:00
beard%netscape.com
e0725293d9
g++ basic_string annoyances
2000-05-09 03:55:43 +00:00
beard%netscape.com
7f3d0eee51
needed deallocate(void*, size_type) on XP_UNIX for basic_string.
2000-05-09 03:46:03 +00:00
beard%netscape.com
5e272eaaf9
Fixed leaks by changing JSValue::toString()/toNumber() to return JSValue rather than JSValue*. LOAD_STRING now creates a JSString from a String*.
2000-05-09 03:11:54 +00:00
beard%netscape.com
0327df07be
Added JSString for gc-able UNICODE strings, changed toString(), toNumber() to return JSValue rather than JSValue*.
2000-05-09 03:10:04 +00:00
beard%netscape.com
f97cc95de0
make wchar_t an atomic type, for JSString.
2000-05-09 03:06:49 +00:00
waldemar%netscape.com
0857316bd7
Changed default constructor name from 'new' to the same name as its class
2000-05-09 00:10:50 +00:00
rogerl%netscape.com
d703cf6197
testing native 'print' function
2000-05-08 23:12:10 +00:00
rogerl%netscape.com
261b8ef660
Added more string handling + valueToString/Number code.
...
NativeFunction support.
2000-05-08 22:59:42 +00:00
waldemar%netscape.com
1d6bd07587
Fixed syntax errors
2000-05-06 03:47:35 +00:00
waldemar%netscape.com
fd0ea8f40a
Reordered includes to ensure that systemtypes.h is always included first; that's needed for Visual C++
2000-05-06 03:47:13 +00:00
waldemar%netscape.com
73847d74d6
Reordered files back to dependency order. Added gc_allocator.h.
2000-05-06 03:33:25 +00:00
waldemar%netscape.com
fdfd1288f5
Fixed syntax error
2000-05-06 03:31:50 +00:00
waldemar%netscape.com
4a3e9723dd
Added formatters, zones, and other miscellaneous utilities
2000-05-06 03:31:35 +00:00
waldemar%netscape.com
d9dcb3515c
Fixed mac warning
2000-05-06 03:30:37 +00:00
rogerl%netscape.com
504e3cfd96
Load_String
2000-05-05 23:23:13 +00:00
rogerl%netscape.com
7030042c20
Basic string literal & value support
2000-05-05 23:22:31 +00:00
rogerl%netscape.com
ca4af3db37
New arithmetic ops.
2000-05-05 21:38:16 +00:00
rogerl%netscape.com
ed1a08b00a
Bunch more arithmetic ops etc.
...
Also fixed case munging when class name was only 2 letters long.
2000-05-05 21:36:36 +00:00
beard%netscape.com
8f3673e367
Added debugger source
2000-05-05 18:20:05 +00:00
norris%netscape.com
3300d508c9
Fix bug of IndexOutOfRangeException for
...
function query(query, text) {}
2000-05-05 16:38:16 +00:00
norris%netscape.com
26d7203e07
Make NativeJavaPackage.class optional.
2000-05-05 16:37:40 +00:00
beard%netscape.com
aa279464b9
No need to use string, now that size_t LineReader::readLine(String& wstr) exists.
2000-05-05 05:25:00 +00:00
beard%netscape.com
70fd8a8a97
added size_t LineReader::readLine(String& wstr) for convenience.
2000-05-05 05:24:02 +00:00
beard%netscape.com
eba9b0985c
regenerated dependencies
2000-05-05 04:58:56 +00:00
beard%netscape.com
ec5da004d9
LineReader returns at least '\n'
2000-05-05 04:50:45 +00:00
beard%netscape.com
5a1ab13253
stdin rather than cin
2000-05-05 04:45:39 +00:00
beard%netscape.com
a3c7ab8446
Needed to use namespace Interpreter to see Context, using LineReader instead of istream.
2000-05-05 04:44:51 +00:00
beard%netscape.com
f1cda623c3
remove unnecessary #include <iostream>
2000-05-05 04:44:01 +00:00
beard%netscape.com
efc76ad32c
Use FILE* instead of istream& for better line handling
2000-05-05 04:43:12 +00:00
beard%netscape.com
825b909a2d
EOF handling
2000-05-05 04:19:20 +00:00
beard%netscape.com
a6aad50ed4
can't use std::getline() with a String on all platforms.
2000-05-05 04:10:01 +00:00
beard%netscape.com
00af2ac3c8
forward declaring std::istream.
2000-05-05 04:08:59 +00:00
beard%netscape.com
57e570a531
fixed ICodeGenerator/ICodeModule::print on Mac, which seems to be getting confused when using operator<< in another namespace.
2000-05-05 04:05:56 +00:00
beard%netscape.com
a7729c3959
removed unused macro NS_JSICG.
2000-05-05 04:04:23 +00:00
rginda%netscape.com
d2e0252642
much debugger spankage; parse and execute step, continue, set, and print (kind-of) commands.
...
push implementation details of ICodeGenerator::print() into InstructionStream so they can be shared with ICodeModule.
copy variableList from ICodeGenerator to ICodeModule.
s/ScringAtom/const StringAtom/ in gencode.pl, regenerate vmtypes.h
2000-05-04 22:42:49 +00:00
rogerl%netscape.com
cc4d067c13
Added const to the StringAtom usage.
...
Propagated variableList to ICodeModule
2000-05-04 22:08:38 +00:00
cls%seawood.org
4bb89416eb
More OS/2 Makefile changes. Bug #34106 Batch 12
2000-05-04 11:00:47 +00:00
norris%netscape.com
afafee3288
Add missing files.
2000-05-03 22:00:22 +00:00
norris%netscape.com
6e0e18c45e
Clean up; remove need for synchronize
2000-05-03 21:55:09 +00:00
beard%netscape.com
5a2a9f040d
fix assert bustage in DEBUG build.
2000-05-03 01:41:37 +00:00
cls%seawood.org
ab7b9347df
MOZ_JS_LIBS doesn't set the linker path so put it after MOZ_COMPONENT_LIBS.
2000-05-03 00:21:08 +00:00
thayes%netscape.com
e4c6cab6d9
Replace implementation of nsISupports with thread-safe version. This allows
...
SSL/HTTPS operations to complete on debug builds with thread-safety checking.
r=bryner
2000-05-03 00:04:48 +00:00
mkaply%us.ibm.com
2c291b6d67
# 34082
...
r= rogerl
OS/2 bring up continues - support for debugging asserts on OS/2
2000-05-02 23:18:32 +00:00
mkaply%us.ibm.com
bb754cab59
# 34082
...
r= rogerl
OS/2 bring up continues - VisualAge fixes
2000-05-02 22:44:23 +00:00
rogerl%netscape.com
0573914859
Cleaning up some label stuff
2000-05-02 21:36:28 +00:00
norris%netscape.com
9bf723214b
Fix bug: All the standard object constructors were showing up as enumerable properties of the global object.
2000-05-02 17:36:47 +00:00
cls%seawood.org
04417332fe
OS/2 Makefile.in tweaks. Batch 10 & 11. Bug #34106
2000-05-02 01:18:46 +00:00
rogerl%netscape.com
54e812842e
r=norris@netscape.com. Add ASSERT/ASSERT_NOT cases to fixNext child
...
processing - was running into garbage when processing these as children
of a '|'
2000-05-01 21:57:22 +00:00
rogerl%netscape.com
0d6de00daf
r=norris@netscape.com
...
Bug #34187 , adding 'eval' as property of global object.
Bug #31864 , decompiler failure when attempting to invoke a non-function
where that object is accessed via an incoming argument of the current
function.
2000-05-01 21:55:52 +00:00
rogerl%netscape.com
ba3bbf1120
r=norris@netscape.com; Bug#32174
...
Prevent recursive death when user has a function 'Object'.
2000-05-01 21:53:20 +00:00
beard%netscape.com
846e79c959
warnings on Linux
2000-05-01 17:18:49 +00:00
beard%netscape.com
97c6f17dfa
fixing breakage on Linux
2000-05-01 17:18:23 +00:00
beard%netscape.com
4942c057e3
removed unnecessary casts to int32 in ICodeGenerator::setLabel() which were generating warnings.
2000-05-01 17:11:36 +00:00
waldemar%netscape.com
1d32f1a9b3
Changed syntax of identifiers, attributes, expressions, functions, and packages. Added export, use, constructor, namespace, import.
2000-05-01 06:21:39 +00:00
beard%netscape.com
2d4c0ff91a
made startsWith() static, to fix no prototype warning.
2000-04-30 14:56:31 +00:00
beard%netscape.com
e863459fb5
added debugger.cpp/h.
2000-04-30 14:55:51 +00:00
beard%netscape.com
a5df22b0a6
Removed setGlobalObject(), as only the interpreter should be mucking with it after initial creation. Added getWorld(), made getICode() out of line, removed mICode since it's part of Activation record.
2000-04-29 14:44:42 +00:00
beard%netscape.com
7d9e844cad
Implemented WITHIN, WITHOUT instructions, removed mICode from Context since it's part of Activation. No longer deleteing mActivation, just clearing it, since Activation objects are garbage collected.
2000-04-29 14:43:36 +00:00
beard%netscape.com
b6d49c9fe0
Added JSScope::getParent().
2000-04-29 14:39:50 +00:00
beard%netscape.com
6f9510ebc6
JSNamespace -> JSScope.
2000-04-29 14:14:28 +00:00
beard%netscape.com
e9c3fbc2e1
JSValue::operator==(const JSValue&)
2000-04-29 14:13:43 +00:00
beard%netscape.com
6d66e9ffb3
Added JSValue::operator==(const JSValue&), renamed JSNamespace JSScope.
2000-04-29 14:13:08 +00:00
beard%netscape.com
50f1660869
moved kUndefinedValue to jstypes.cpp, where it belongs.
2000-04-29 14:11:27 +00:00
beard%netscape.com
9a9f6ba249
added WITHIN, WITHOUT instructions.
2000-04-29 14:10:53 +00:00
beard%netscape.com
3eed137323
fixing windows bustage.
2000-04-29 00:29:56 +00:00
rginda%netscape.com
522d51c5b6
somewhat weak debugger console hookup.
...
build shouldn't *look* different yet.
Moved Context::interpret() local vars into Context private, added accessors for
stuff, using JavaScript::Lexer to lex debugger commands.
Fixed sign comparison warning in icg.cpp
2000-04-29 00:23:06 +00:00
beard%netscape.com
4a8f41d458
Added jstypes.cpp
2000-04-28 23:10:06 +00:00
beard%netscape.com
1f0e341d77
Merged JSMap & JSObject. Introduced JSNamespace.
2000-04-28 23:04:43 +00:00
rginda%netscape.com
a41de8f590
80 column nit picked, comment fixed
2000-04-28 15:32:54 +00:00
beard%netscape.com
aec49c3ae8
Don't print BRANCH operands.
2000-04-28 13:46:01 +00:00
beard%netscape.com
34189b3459
tightened up spacing in printOperands(), changed GenericBranch.printOperands() to conditionally print condition register contents.
2000-04-28 13:44:59 +00:00
beard%netscape.com
f4ae9c632f
tightened up spacing in printOperands().
2000-04-28 13:43:49 +00:00
beard%netscape.com
74ffb17601
Added Tracer to testFunctionCall().
2000-04-28 13:31:39 +00:00
beard%netscape.com
0be964c389
const ArgList& makes gcc happy.
2000-04-28 13:25:57 +00:00
beard%netscape.com
0a05625ba6
Added jstypes.o
2000-04-28 13:25:24 +00:00
beard%netscape.com
3583fb214c
added ArgList helper struct to print Call operands, regenerated printOperands() methods to reduce warnings.
2000-04-28 13:20:26 +00:00
beard%netscape.com
b790669bbc
operator<< (Formatter& f, ArgList& al)
2000-04-28 13:18:03 +00:00
beard%netscape.com
9252fe2e66
support for printing ArgLists.
2000-04-28 13:17:35 +00:00
beard%netscape.com
63bdc966ee
Unused.
2000-04-28 13:16:23 +00:00
beard%netscape.com
5416b79b52
regenerated dependencies
2000-04-28 05:46:22 +00:00
beard%netscape.com
905703a8f3
tracing now prints instruction operands.
2000-04-28 05:44:38 +00:00
beard%netscape.com
74a712cb16
using JSValue::tag to do simple operand validation.
2000-04-28 05:43:33 +00:00
beard%netscape.com
0738cd6cd1
forward declaring ICodeModule, to break circularity. JSValue is now a tagged union.
2000-04-28 05:42:46 +00:00
beard%netscape.com
ea344e71ab
Instruction::count(), Instruction::printOperands(), plus newly generated instruction classes.
2000-04-28 05:41:54 +00:00
beard%netscape.com
d175bc97b6
added jstypes.cpp
2000-04-28 05:40:42 +00:00
beard%netscape.com
ca3c76a044
operator<<(Formatter&, const JSValue&)
2000-04-28 05:40:16 +00:00
beard%netscape.com
554a69c801
generates printOperands()
2000-04-28 05:39:27 +00:00
beard%netscape.com
f9b2ea4212
runs gencode.pl with MW Perl.
2000-04-28 05:39:04 +00:00