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

2536 Коммитов

Автор SHA1 Сообщение Дата
mccabe%netscape.com 08a7acd612 Fix to 39438.
Add a TokenStream entry to the regexp parser state so that regexps compiled at script-compilation time can report filename and line number on error.
2000-08-11 23:51:12 +00:00
conrad%ingress.com 008b9ba5fb Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h r=valeski 2000-08-11 20:31:57 +00:00
waldemar%netscape.com 7bc998fc6f Updated to generate Netscape 6-compatible HTML 2000-08-11 06:27:55 +00:00
waldemar%netscape.com c99d99da39 Added attributes to for-initializers and no-line-breaks in a few places 2000-08-11 06:27:25 +00:00
waldemar%netscape.com 7c9cec02ab Updated to match documentation site 2000-08-11 06:24:57 +00:00
waldemar%netscape.com 917c30fb01 Updated to match styles.css on documentation site 2000-08-11 06:24:39 +00:00
mccabe%netscape.com bb5fe130e4 Back in backed-out fix. 2000-08-11 02:58:30 +00:00
mccabe%netscape.com 121f13f6ad Backout until I can figure out why mac doesn't like strlen here, even though it seems OK elsewhere. 2000-08-10 23:32:03 +00:00
mccabe%netscape.com 7486821862 Fix to 46566.
Always copy the current line string out of the token buffer when generating an error report, rather than just passing the token buffer itself.  The token buffer wasn't necessarily a well-terminated string, so displaying the contents of the string in the error report produced unexpected results.

The unicode string in the error report is owned by a JSString; this string is rooted for the (stack-based) lifetime of the error report.

Fix courtesy jband.

r=mccabe
a=beard
2000-08-10 23:02:39 +00:00
mccabe%netscape.com 80888bc8ae Fix to 34425 -
Always create an error report, even when there is no current stack frame and it might be empty.  This fixes an API regression; we used to allow JS_ReportError to be called from the API when no JavaScript was running.

r=rogerl
a=beard
2000-08-10 22:57:40 +00:00
mccabe%netscape.com 3ef2f70f03 Fix to 47409 -
Don't use timezone comment in javascript Date object toString string if it looks like it might not be ASCII.

a,r=beard
2000-08-10 22:54:45 +00:00
brendan%mozilla.org fe5af9cfa3 Fix cut-and-paste bugs in JavaMember_finalize (48304, r=pschwartau). 2000-08-10 03:09:41 +00:00
mccabe%netscape.com 28cb72d740 Cast some parameters to PRUnichar * from jschar * to make the Mac happy. 2000-08-09 23:42:24 +00:00
mccabe%netscape.com 3ec109ea38 Fix to 24688. Post a message to the JavaScript console whenever a call is made through XPConnect to a JS Component or other JS object that results in an exception.
Also eliminate xpcJSErrorReport and merge some functionality from it into nsScriptError.

r=jband,a=beard
2000-08-09 22:48:52 +00:00
rogerl%netscape.com 5cabacffb2 r,a=brendan@mozilla.org. Adding missing ECMA3 compliance toLocaleXXX
functions to built-in Array, Date and Object object prototypes.
2000-08-09 21:46:03 +00:00
nboyd%atg.com 067dbf82fb fix 47859 2000-08-09 20:23:50 +00:00
nboyd%atg.com 6505531063 Fix 47859 2000-08-09 20:22:37 +00:00
rogerl%netscape.com 7dd101a0af r=brendan, bug# 34276. Fix for correctly including winsock2.h. 2000-08-08 20:28:49 +00:00
rogerl%netscape.com 8d6efefdc6 (update to fix for bug #31255). Previous patch was insufficient in that it
didn't handle the case when the tokenstream is not tokenizing newlines.
2000-08-08 20:24:56 +00:00
rogerl%netscape.com f3529e06b0 Added 'static' to global object routines. 2000-08-04 20:54:24 +00:00
rogerl%netscape.com b7a244e864 Oops. Left icode output on by default, now off. 2000-08-04 20:37:42 +00:00
rogerl%netscape.com 54317af353 Prototype munging for built-in global properties, implemented Function
object & Boolean object.
2000-08-04 20:28:35 +00:00
waldemar%netscape.com 12dc591a84 Made link order consistent 2000-08-02 23:09:53 +00:00
waldemar%netscape.com 9e6ed90896 Fixed Mac errors and warnings 2000-08-02 23:09:29 +00:00
jband%netscape.com 96a94769c3 interim fix for bug 25180. Build double wrappers around JS components used by JS code. Includes secured scheme for getting at underlying JSObject for those who really need to do this. a=warren r=rginda 2000-08-02 03:57:59 +00:00
beard%netscape.com ee310fed4c fixing warnings, removing need for JStrings to be copied for mClass 2000-08-02 03:53:04 +00:00
nboyd%atg.com dcf4e1e9e4 Fix javadoc. 2000-07-31 21:19:05 +00:00
rginda%netscape.com 10d5245302 shut up "unused param" warnings by only naming the register param if the icode uses a RegisterList operand. 2000-07-29 02:00:12 +00:00
nboyd%atg.com 057fb2785e Experimental changes for debugger. 2000-07-27 14:54:13 +00:00
rogerl%netscape.com 16e74e371a Patch from Norris :
A Rhino user has complained about concurrency problems in the interpreter,
and I think the attached diff fixes some problems that could be caused if
the same interpreted function or script was called simultaneously from
two different threads.
2000-07-26 23:04:14 +00:00
mccabe%netscape.com aff2fb4f1e Not part of the Mozilla build.
Promulgate line-editing to the lcshell standalone command-line interpreter, and add more comments to the js shell support for the same.
2000-07-26 03:14:49 +00:00
rogerl%netscape.com 4105edc56c Function prototype objects etc. 2000-07-26 01:56:47 +00:00
rogerl%netscape.com 785fb348fd More ECMA 3 mucking about to support constructors etc. 2000-07-25 22:58:04 +00:00
brendan%mozilla.org 23e7eef778 What a dork, I didn't test-build on Linux! 2000-07-24 21:28:08 +00:00
putterman%netscape.com 0d22a278e4 backing out brendan's changes to fix build 2000-07-24 21:13:13 +00:00
morse%netscape.com 737f59960d attempt to fix build bustage 2000-07-24 21:03:41 +00:00
brendan%mozilla.org dd89a16a61 Micro-optimize source (compilers probably do it, but hey); fix a comment. 2000-07-24 20:17:24 +00:00
brendan%mozilla.org 5510a3a176 Fix broken code that stored off the end of 'vector' in ProcessArgs (not part of build). 2000-07-24 20:13:50 +00:00
brendan%mozilla.org a4164779e0 Fix second (prototype-owns-property) setter/shared special case to unlock properly (45940, r=mccabe). 2000-07-22 01:03:04 +00:00
rogerl%netscape.com b3b9f1eed2 r=brendan@mozilla.org Bug #31381 Bug in Alpha 64-bit pointer cast.
Added extra 'long'field to Java wrapper object to handle platforms with
64 bit pointers.
2000-07-21 21:57:29 +00:00
rogerl%netscape.com 0f1f29797d r,a=brendan@mozilla.org. Bug #23502, crash in qsort when user function
misbehaves.
2000-07-21 21:46:22 +00:00
nboyd%atg.com f452ceaa23 Fix 45928 NativeDate uses getDeclaredConstructor instead of getConstructor 2000-07-21 17:13:09 +00:00
beard%netscape.com 02fe5b2d84 added jsmath.cpp/h 2000-07-21 05:07:29 +00:00
beard%netscape.com e7b6d31185 XML project file. 2000-07-21 05:07:05 +00:00
beard%netscape.com e67d7257c7 update dependencies to include jsmath.o 2000-07-21 05:01:10 +00:00
beard%netscape.com ec770e5462 add jsmath.cpp to the build. 2000-07-21 05:00:43 +00:00
beard%netscape.com a915099fef scope of loop variables fix 2000-07-21 05:00:10 +00:00
rogerl%netscape.com 4ae568de5e Implementing Object.prototype object and global object for ECMA 3
Adding Math class support.
2000-07-21 01:16:49 +00:00
jband%netscape.com 196dad70b4 drastically reduce unnecessary malloc calls from js_Atomize. r=brendan@mozilla.org. a=brendan@mozilla.org 2000-07-21 00:57:19 +00:00
dougt%netscape.com 07462eab19 more debug information. r=jband. 2000-07-21 00:53:07 +00:00