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
norris%netscape.com
c6c60bb6bc
skip getter/setters
2000-03-02 23:26:56 +00:00
rogerl%netscape.com
9594ff55ad
r=rginda
...
Make shared lib thingy configurable.
2000-03-02 23:21:04 +00:00
rogerl%netscape.com
429c1db8e9
r=brendan,rginda
...
Added ECMA3 compliant getter/setter syntax.
Fixed bugs
- #28686 , mishandling of \$ in replace()
- #27902 , eval not detected as heavyweight indicator for non ECMA
context version.
2000-03-02 23:21:03 +00:00
beard%netscape.com
8875ed1f5c
can't use operator new to allocate containers that use GC_allocator, because the Mac heap zone isn't scanned.
2000-03-02 21:06:36 +00:00
beard%netscape.com
e6d16f593a
added gc_traits_finalizable to use GC finalization facilities to call destructors.
2000-03-02 20:58:26 +00:00
cls%seawood.org
08e716cb3e
Reverted part of slamm's checkin so that non-official builds (including tinderboxes) stop on errors. Changed makefiles to use gmake's -C option instead of 'cd'.
2000-03-02 12:41:47 +00:00
waldemar%netscape.com
a07f1abdee
*** empty log message ***
2000-03-02 03:46:10 +00:00
waldemar%netscape.com
3abb50f20b
Workarounds for VC6 bugs
2000-03-02 03:43:40 +00:00
waldemar%netscape.com
31bb7ef286
Added Visual C++ workspace
2000-03-02 02:06:40 +00:00
waldemar%netscape.com
9c407890b0
*** empty log message ***
2000-03-02 02:02:58 +00:00
waldemar%netscape.com
ad182ae0cb
Visual C++ version
2000-03-02 01:54:49 +00:00
rogerl%netscape.com
271ec11a32
Switch to using new DToA stuff for numberToString().
2000-03-02 00:30:01 +00:00
rogerl%netscape.com
69d4d5e142
Need to pass expressions containing unicode identifiers as split strings
...
since the string processing will convert the unicode sequences into regular
characters before the identifier is recognized. The fact that Monkey was
cool with this is a separate bug.
2000-03-01 23:28:14 +00:00
rogerl%netscape.com
f704383014
Fix endian bug for BigInteger constructor.
2000-03-01 23:25:23 +00:00
waldemar%netscape.com
130574d5ec
File Removed.
2000-03-01 23:24:20 +00:00
waldemar%netscape.com
144c5973df
First Checked In.
2000-03-01 23:24:19 +00:00
rogerl%netscape.com
94975b3a1c
Hmm, better do that negate.
2000-03-01 22:20:48 +00:00
rogerl%netscape.com
684459eed5
Oops, remove debugging hack.
2000-03-01 22:20:09 +00:00
rogerl%netscape.com
c9d7bb356f
Fixing Unicode ECMA 3 compliance issues
2000-03-01 22:15:35 +00:00
rogerl%netscape.com
0123e33bfd
Fixing Unicode ECMA 3 compliance issues.
...
Fixed bug in $ handling for ECMA 3 (don't support \$)
2000-03-01 22:14:34 +00:00
norris%netscape.com
a74b41a9c1
Fix bug 6063.
2000-03-01 21:35:38 +00:00
norris%netscape.com
c2e981fdf2
Switch back to using getDeclaredMethods--I was able to get it working with a
...
security manager.
2000-03-01 18:26:43 +00:00
waldemar%netscape.com
5afe7c41b7
Added parser output classes
2000-03-01 07:00:31 +00:00
waldemar%netscape.com
cc161a3dad
Added linked list and arena destructor utilities
2000-03-01 07:00:05 +00:00
beard%netscape.com
a0c7e9ebf2
importable XML project file for CWPro5 (with CWPro4 Java Tools)
2000-03-01 01:12:20 +00:00
beard%netscape.com
1a942c72f1
CWPro5 format project (using CWPro4 Java tools).
2000-03-01 01:00:38 +00:00
beard%netscape.com
5cf73aa879
added LazilyLoadedCtor.java
2000-03-01 00:57:29 +00:00
norris%netscape.com
d111d58045
1. Implement a new method of Context that allows embedders to disable or clear cached items
...
2. Change from using Class.getDeclaredMethods to Class.getMethods since the former may cause
security problems. Implement a cache to ameleorate the possible performance degredation.
3. Add a new class to lazily load constructors to improve performance
2000-02-29 21:35:45 +00:00
norris%netscape.com
fc2ff1cb84
Remove reference to parent scope for Java methods. This was resulting in dangling
...
references that were never released to a large pool of objects.
2000-02-29 17:27:56 +00:00
beard%netscape.com
6a76191c91
gc_traits used to control whether a type is allocated using GC_malloc vs. GC_malloc_atomic.
2000-02-29 16:03:24 +00:00
beard%netscape.com
c2f0490a2b
gc_allocator test
2000-02-29 16:01:57 +00:00
beard%netscape.com
5748379d82
allocator for garbage collection
2000-02-29 01:48:02 +00:00
norris%netscape.com
aea0fb6d79
Guard against possible NullPointerException if the Context has not been properly entered.
2000-02-28 18:40:34 +00:00
norris%netscape.com
dfb69c7a8d
Some users with JDK 1.1 but JDK 1.2 security were getting NullPointerExceptions here.
2000-02-28 18:38:37 +00:00
norris%netscape.com
b5a79f600f
Fix warning.
2000-02-28 18:32:19 +00:00
norris%netscape.com
a54067df23
Generalize error test to catch any catches appearing after a catch-all.
2000-02-28 18:28:45 +00:00
jband%netscape.com
417094058a
Fix bug 28982. Call to JS_ClearScope in property setter (e.g. window.location = "foo")
...
was causing defered calls to js_FreeSlot to do wild pointer writes into slots that
were no longer owned by the object. Also this improves the fix to 14462 (see note
in 28982 from brendan). r=brendan@mozilla.org a=jar@netscape.com
2000-02-26 23:47:33 +00:00
bryner%uiuc.edu
6985354db4
Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
...
building in the tests directories. Should not affect the build at all if
you do not have this environment variable. r=leaf.
2000-02-25 04:12:40 +00:00
norris%netscape.com
851e9b0870
Enable catchguard with new 'if' syntax.
...
Implement check.
2000-02-24 19:35:22 +00:00
rogerl%netscape.com
3726b9fb19
Ported toFixed, toExponential & toPrecision to NativeNumber from C sources.
2000-02-23 18:46:36 +00:00
norris%netscape.com
218d1595d0
Move JavaObjectToLong to be a conformance rather than a negative test.
2000-02-23 18:29:35 +00:00
shaver%mozilla.org
60daa8a8d1
fix #25581 (leaking JSScript, r=beard, a=waterson)
2000-02-23 06:09:04 +00:00
waldemar%netscape.com
0fca92837a
Work on adding parser
2000-02-23 01:54:30 +00:00
waldemar%netscape.com
fdd3317995
Added .h files to project
2000-02-23 01:53:08 +00:00
waldemar%netscape.com
aa5e162709
Fixed non-DEBUG warning
2000-02-23 01:51:44 +00:00
waldemar%netscape.com
1385512113
Added arenas
2000-02-23 01:40:48 +00:00
bruce%cybersight.com
e789f4a295
Fixes a memory leak. r=shaver,a=waterson
2000-02-22 22:22:02 +00:00
beard%netscape.com
1b076ba222
building into dist/liveconnect. *NOT PART OF MOZILLA BUILD*
2000-02-21 22:51:29 +00:00
waldemar%netscape.com
db41e85aa9
Backed out extraneous change
2000-02-21 19:52:47 +00:00
waldemar%netscape.com
ffbd92eb71
Added x86 gcc support
2000-02-21 19:49:21 +00:00
waldemar%netscape.com
2b2ab50498
Added debug flags
2000-02-21 19:48:45 +00:00
waldemar%netscape.com
fe36f6f9bc
Unix makefile
2000-02-19 10:03:07 +00:00
waldemar%netscape.com
51fdaf2000
Updated for GCC
2000-02-19 10:01:53 +00:00
waldemar%netscape.com
1604239c48
Fixed signed/unsigned warning
2000-02-19 09:32:45 +00:00
waldemar%netscape.com
46af6a2ba4
Fixed GCC incompatibilities
2000-02-19 09:26:59 +00:00
jband%netscape.com
2902b13e55
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
jband%netscape.com
4d59da1ce5
fix bug 28381. Make xpcshell bypass the caps security manager. dougt has looked at and used this but is not around for a 'r='. a=jar
2000-02-19 00:14:44 +00:00
norris%netscape.com
c4a75c3727
Fix wrapping of InvocationTargetException. Thanks to Kurt Westerfeld for pointing this out.
2000-02-18 17:38:11 +00:00
norris%netscape.com
656a44d953
Add equals() and equalsIgnoreCase() to the String object, at the suggestion of Tom Beauvais <tbeauvais@bowstreet.com>
2000-02-18 17:37:27 +00:00
rogerl%netscape.com
011ec66cec
Added decode/encode URI handling.
2000-02-18 00:22:02 +00:00
norris%netscape.com
695ad099fa
Fix cases of LiveConnected classes that have a field and methods with the same name.
...
Also clean up Bean properties, making implementation more efficient.
2000-02-17 22:32:37 +00:00
norris%netscape.com
a0b34a5bc1
Remove untrue comment.
2000-02-17 22:31:43 +00:00
norris%netscape.com
f051596d19
Update implementation version.
2000-02-17 22:31:16 +00:00
norris%netscape.com
9badc84057
Add tests for fields and methods with the same name, and for bean properties.
2000-02-17 19:28:33 +00:00
norris%netscape.com
255e39d7e2
Add to "dont-test" list.
2000-02-16 18:35:10 +00:00
norris%netscape.com
3a479188da
Add support for dynamic scopes and fix remaining test failures in the tip.
2000-02-16 17:40:53 +00:00
cls%seawood.org
5d9778ac08
Temporary fix for bug #24892
2000-02-16 07:58:45 +00:00
dveditz%netscape.com
f620060761
registry speed ups (part of 12817)
2000-02-16 07:45:20 +00:00
rginda%netscape.com
4a4e1595ae
Fix for 26725, r=jband
2000-02-16 06:26:21 +00:00
rginda%netscape.com
545de1b470
Fix for JS bug 26463. r=rogerl
2000-02-16 01:02:25 +00:00
rogerl%netscape.com
0d6278177c
Bug #9141 , prevent recurse death for greedy matching on MAC.
...
r=rginda
2000-02-16 00:49:34 +00:00
norris%netscape.com
6d54dce0ca
Avoid static never-released reference to streams; causes problems for Patrick Beard's use of the shell.
2000-02-15 17:08:31 +00:00
jband%netscape.com
d5f3a1ff79
Reimplement the Components.[ID,Exception,Constructor] properties in C++. These
...
things were completely unusable due to security restriction in anything besides
xpcshell. This fixes bug 26879 and helps a lot for bug 8700 because is reduces
the work done for JSContext creation.
Also, ease the burden of xptcall porters by doing IS_COMPONENT for all unix platforms.
r=mccabe
2000-02-15 06:43:51 +00:00
norris%netscape.com
4187c3d263
Fix contributors list.
2000-02-15 00:09:58 +00:00
rogerl%netscape.com
adda1105ce
Nuts, checked in wrong file AND named wrong bug in previous checkin, msu
...
be friday or something.
Correct bug# is 26060.
2000-02-11 23:00:21 +00:00
rogerl%netscape.com
64cbad6efe
r=brendan@mozilla.org
...
bug #26857
Fix for evaluating multi-part script prologs in advance.
2000-02-11 22:21:15 +00:00
rogerl%netscape.com
34fb934c53
r=brendan@mozilla.org
...
Prepare for new setter/getter syntax.
2000-02-11 22:19:33 +00:00
rogerl%netscape.com
a952f351c4
r=mccabe
...
bug #22866
Support unicode line/paragraph separators.
2000-02-11 22:17:56 +00:00
rogerl%netscape.com
76de968c08
r=norris
...
Deal with precendence warning whinings
2000-02-11 22:16:55 +00:00
beard%netscape.com
b49ea8f4c9
added DTOA.java
2000-02-09 23:15:27 +00:00
rogerl%netscape.com
49e2fdfbfb
Changed implementation of toString(<base>) to use Waldemar's code from
...
SpiderMonkey.
2000-02-09 19:52:31 +00:00
mccabe%netscape.com
278d8d2829
Added comment recommending rooting of new script objects, to address problems experienced by netscape.public.mozilla.jseng developers.
...
Also verbiage refactory.
r=brendan
2000-02-08 01:38:20 +00:00
rogerl%netscape.com
1b01852975
r=brendan@mozilla.org
...
Bug #14462 , lot's of discussin there about these changes, but here's
Brendan's description :
In order, changes in the patch are:
- Rename JSSLOT_ITR_STATE to be JSSLOT_ITER_STATE (avoid cybercrud abbreviation
as cbrcrd, no more six-char id limits!).
- Property cache tests must occur with the object's scope-lock held, to close a
race with delete (js_DestroyProperty, always called with the property's scope
locked). Once the cache has been hit, and before the lock is released, the
property's refcount must be bumped. This requires re-acquisition of the lock
and js_DropScopeProperty afterward.
- Reworked js_FindProperty to use a do-while loop, as cx->fp->scopeChain must be
non-null. This avoids a gratuitous lastobj init done to "Suppress gcc warning"
in the old revision.
- Akin to the property cache hit cases in jsinterp.c and jsobj.c's
js_FindProperty, code to hold and drop the scope-property by its refcount that
was #ifdef JS_THREADSAFE must be unconditional, now that user-defined getters
and setters may delete the property id they're getting or setting.
- Fixed overlong continuation line in jsobj.h.
/be
2000-02-08 01:24:53 +00:00
scc%netscape.com
73802d6f2e
Pro5 update
2000-02-07 23:06:04 +00:00
brendan%mozilla.org
8f35d9a247
Comment/cosmetic changes only (r=shaver@mozilla.org).
2000-02-07 07:28:25 +00:00
norris%netscape.com
d58c9a657d
Fix 18860 impossible to call applet's public methods from JavaScript
...
(fix from jeff.dyer@compilercompany.com , r=norris)
2000-02-06 23:34:50 +00:00
risto%netscape.com
65c0d3c80a
Changing all cvs-mirror.mozilla.org references to point to politically
...
correct addresses, for example tinderbox.mozilla.org, lxr.mozilla.org or
bonsai.mozilla.org. cvs-mirror shouldn't use in URLs anymore because it's
now on different server.
r=bryner
2000-02-05 07:23:36 +00:00
brendan%mozilla.org
a3a7b17f1f
Argh, fix stupid typo that sometimes breaks for/in loops (26595, r=jband@netscape.com).
2000-02-05 02:04:16 +00:00
brendan%mozilla.org
544df81550
Fix crash reported in bug 26595 (r=jband@netscape.com) via better compilation-frame conditioning.
2000-02-05 01:54:13 +00:00
waldemar%netscape.com
c1057de79c
Fixed bug
2000-02-05 00:39:58 +00:00
waldemar%netscape.com
97ff1329f4
Fixed & bugs
2000-02-04 23:54:29 +00:00
waldemar%netscape.com
ed715c8685
Fixed syntax error
2000-02-04 23:54:08 +00:00
pinkerton%netscape.com
31d1e5651b
oops, messed up the optimized target. now fixed.
2000-02-04 05:22:37 +00:00
pinkerton%netscape.com
7d8250392f
fix the access paths for pro5 migration. r=macdev.
2000-02-04 03:27:36 +00:00
brendan%mozilla.org
1462b9a294
- Eliminate ancient, bogus proxying of function object for its call objects (23346, r=jband@netscape.com).
...
- Tabs expanded as much as I could stand, without taking too much cvsblame.
2000-02-04 02:01:49 +00:00
rogerl%netscape.com
ac432c6284
r=Norris
...
License updating, bug#15529, continuing.
2000-02-04 00:08:13 +00:00
waldemar%netscape.com
c1326568e6
VC6 project and workspace
2000-02-03 08:27:00 +00:00
waldemar%netscape.com
aef6520d4d
Updated for VC6
2000-02-03 08:25:01 +00:00
jband%netscape.com
678368622b
fix XPCContext leak bug 25911 r=beard. fix DOM wrapping case where static called object does not have a static DOM scope, but is run in a DOM context; e.g. calling a JS component from within a window that calls some native service that returns a DOM window - the serive is not a DOm object and has no static DOm scope, but the call is made on a DOM context so a dynamic lookup works. r=mscott
2000-02-03 03:25:53 +00:00
rginda%netscape.com
03f03d45ee
Uncompressed version (so it can be in your classpath on all platforms.)
2000-02-03 00:48:50 +00:00
rogerl%netscape.com
1a7b6442d8
r=norris
...
Bug#24712, regexp greedy recursing wasn't handling zero kid back-tracked
state nor re-setting parenCount correctly.
Added license junk for bug#15529 (continuing).
Fix type-mismatch warning in jsstr.c
Switched off DEBUG only use of fd_pow under Windows.
2000-02-03 00:44:03 +00:00
rginda%netscape.com
4671326346
Renamed JavaObjectToLong-005.js to JavaObjectToLong-005-n.js
2000-02-02 20:21:34 +00:00
waldemar%netscape.com
445e9926e4
Turned off optimizations and inlining in debug build
2000-02-02 08:51:16 +00:00
waldemar%netscape.com
b82ff40e5d
Changed to match parser.h
2000-02-02 08:50:54 +00:00
waldemar%netscape.com
0639e1baad
Added ArrayAutoPtr and reworked cstring -> String conversions
2000-02-02 08:50:26 +00:00
waldemar%netscape.com
94a4726044
Added parsing of numerals and token printing
2000-02-02 08:48:40 +00:00
waldemar%netscape.com
3f3536ec17
Cleaned up and added String routines
2000-02-02 08:47:54 +00:00
waldemar%netscape.com
60f5d2006b
Added lexer call
2000-02-02 08:47:03 +00:00
waldemar%netscape.com
bb68568cfc
Fixed bug
2000-02-02 08:46:36 +00:00
mccabe%netscape.com
e2e7c63c10
Changes to allow Spider Monkey to be compiled under C++.
...
Courtesy Bill Gibbons <bill@gibbons.org>
His comments:
Here are the changes to JSRef to make it compile either as C or C++. Mostly the changes are to add missing casts (since C++ doesn't have implict conversion from void* to other pointer types nor implicit casts from ints to enumerations) plus a few random things like the use of "private" as a variable name.
There are a few other minor bug fixes; in particular:
* A long statement with and'ed conditions is reformatted to make it easier to remove other builtin objects (e.g. Date).
* A #if was added to jsscript.c for the JS_HAS_SCRIPT_OBJECT off case.
* In jsmath a #ifdef was changed to #if.
My notes also mention...
* jsobj.c should include jsopcode.h
* jsfun.c - doesn't link if JS_HAS_ARGS_OBJECT is off
* jsarray.c - a reference to js_ValueToSource should be conditional on JS_HAS_TOSOURCE
r=mccabe
2000-02-02 01:10:31 +00:00
rginda%netscape.com
bac4bd315b
Fix bitrot in RhinoEnv.java and DataTypes_017.java.
...
fresh build of jstests.jar
2000-02-02 00:57:03 +00:00
norris%netscape.com
c04c4d51f9
Fix bug #25864 watch() vulnerability
...
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
rginda%netscape.com
1938c2bc35
initial add
2000-02-02 00:22:23 +00:00
rginda%netscape.com
fabff05162
fresh build
2000-02-02 00:18:57 +00:00
rginda%netscape.com
f587753a85
initial add of compiled testdriver
2000-02-01 22:48:52 +00:00
jband%netscape.com
02fd16eef8
trivial block scope loop counter variable rename to squelch shadow warning.r=jband
2000-02-01 10:53:34 +00:00
mccabe%netscape.com
430c33bc7f
Warning fixes. (Found one semantic problem in nsCLiveconnect.cpp)
...
r=mozbot
2000-02-01 09:12:58 +00:00
jband%netscape.com
cb324c279e
add improved support for dumping the JS stack from the native debugger or using the 'debugger' statement in JavaScript. Doc coming to the mozilla site soon. r=mccabe
2000-02-01 08:48:17 +00:00
jband%netscape.com
15133fff9c
added files: mozilla/js/src/xpconnect/src/xpcdebug.cpp
2000-02-01 08:48:00 +00:00
norris%netscape.com
14eac0c49a
Fix use of unsupported typedef.
...
r=Jerry.Kirk@Nexwarecorp.com
2000-01-31 23:10:12 +00:00
norris%netscape.com
e221b94f7b
Remove unused private method.
2000-01-31 18:49:07 +00:00
waldemar%netscape.com
4f219e3102
Added numerics.cpp
2000-01-29 08:25:59 +00:00
waldemar%netscape.com
d3e3ede491
Fixed NOT_REACHED
2000-01-29 08:25:36 +00:00
waldemar%netscape.com
ab615dec5b
Added NATIVE_INT64 flag
2000-01-29 08:25:02 +00:00
waldemar%netscape.com
7b8284b4fe
First Checked In.
2000-01-29 08:24:40 +00:00
jband%netscape.com
60c7c8fa76
trivial rename of local var in test to fix shadow warning
2000-01-29 04:53:22 +00:00
jband%netscape.com
567062d06e
show more info when a call to wrapped JS object fails due to lack of the callee method - show what we were trying to call rather than let the engine just error out with 'undefined is not a function'. r=mccabe
2000-01-28 06:02:41 +00:00
mang%subcarrier.org
2508c667ce
Add rules for incremental relinking on Unix to partially fix bug 23724.
...
The static libraries on Win32 are still broken. r=mccabe
2000-01-28 01:39:11 +00:00
norris%netscape.com
97ca106067
Propagate changes from Rhino150R1_BRANCH.
2000-01-27 17:35:29 +00:00
norris%netscape.com
610ce93d04
Fix test cases for long values, with one right at the boundary and one negative test just over the boundary.
2000-01-27 16:56:43 +00:00
jband%netscape.com
b73b7ffc54
make certain that the JSRuntimeService singleton does not go away before the xpconnect singleton. Fix for bug 25093. r=ssu@netscape.com
2000-01-27 08:58:48 +00:00
norris%netscape.com
40a8c3ff06
Changing file to be conformance rather than negative test.
2000-01-27 00:58:41 +00:00
rginda%netscape.com
eebd0c9ee3
Fix for gcc opt bug described in bug 24892. JSRef build fix only, mozilla build still needs some lovin'.
...
r=rogerl
2000-01-27 00:01:29 +00:00
beard%netscape.com
75de48ff41
changes to build on Mac OS X, r=mccabe
2000-01-26 22:48:49 +00:00
mccabe%netscape.com
09eaa9addc
Fix to 24800. Change FREEBSD to __FreeBSD__, allowing the standalone JS engine to build and link on FreeBSD without the client build system (which defines FREEBSD).
...
Thanks go to braden@endoframe.com for the patch, and to sidr@albedo.net and fur@geocast.com for bug discussion.
2000-01-26 22:27:51 +00:00
beard%netscape.com
59cc89438e
configuration file for Mac OS X.
2000-01-26 22:27:29 +00:00
rogerl%netscape.com
f9fb6c6dfc
r=norris,waldemar
...
Fixes for bugs#23607, 23608, 23610, 23612, 23613. Also, first cut at URI
encode & decode routines.
2000-01-26 22:15:06 +00:00
norris%netscape.com
da933ad300
Propagate changes from 1.5 branch.
2000-01-26 18:57:00 +00:00
jband%netscape.com
80c44359ef
trivial fixes to get rid of warnings
2000-01-26 11:08:24 +00:00
jband%netscape.com
eef6de8432
Lots of xpconnect bug fixes...
...
- fix bug 12954 "should throw when setting non-settable props".
- fix bug 13418 "xpconnect needs to be threadsafe".
I think I filled in the cracks. Tests would be nice :)
- fix bug 22802 "[MLK] XPConnect Leaks".
- fix bug 24119 "[MLK] Reminder about cleaning up maps".
- fix bug 24453 "xpconnect needs default security manager".
I also changed the code in DOM and caps to just install a default secman and
not install a secman for each JSContext.
- fix bug 24687 "xpconect should avoid resolve performance suckage".
Added (modified) patch from shaver to create my JSObjects with the
global object as the temporary proto to avoid losing lookup.
- hack for bug 24688 "runtime errors in wrapped JS are not made obvious"
Added a debug only printf. We still need a JSErrorConsole service for this.
- fix bug 16130 "createInstanace and getService can create wrappers around wrappers"
Fixing this one really entailed changing the semantics of nsIXPConnect::wrapNative
and nsIXPConnect::wrapJS to use common code in xpcconvert that deals with existing
wrappers and DOM objects (with their own schemes for wrapping and unwrapping).
So, I changed the callers because the params changed slightly and some callers
were doing more work than necessary given the new semantics.
- Continued in the crusade to replace manaual refcounting with nsCOMPtrs whenever
touching old code.
- Added myself as first contributor to xpconnect files (vanity prevails!)
- Added new copyright header on some files that were missing it.
- Added some API comments.
- Converted nsXPCWrappedJS to implement nsIXPConnectWrappedJS via MI rather than
the old loser scheme of the nsIXPConnectWrappedJSMethods tearoff object.
- added DumpJSStack as globals to xpconnect and DOM dlls to be callable from
debuggers. I have ideas on how to improve and expand this support soon.
r=mccabe
2000-01-26 08:38:10 +00:00
rogerl%netscape.com
a286b8fb4a
!! Not part of the build !!
...
Fixed some typo's
2000-01-26 01:29:51 +00:00