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

5662 Коммитов

Автор SHA1 Сообщение Дата
igor%mir2.org 6a15c2b2bb Resolving bug 236193: require enetered Context for compilation 2004-03-03 11:20:33 +00:00
brendan%mozilla.org 57b160d3af Fix HasFinalReturn to cope with fall-thru in switch cases (235930, r=shaver). 2004-03-03 05:25:28 +00:00
brendan%mozilla.org 8ae50b8280 Save the next end of line char pointer into userbuf in case it's far away, and avoid searching for it repeatedly, when dealing with inputs with very long lines (218511, r=shaver). 2004-03-03 01:50:46 +00:00
igor%mir2.org 7cc3ebfd9c Making javaToJS static to match the rest of API 2004-03-01 19:19:47 +00:00
brendan%mozilla.org 6c9f42d9fa Fiddle comment. 2004-02-25 22:34:53 +00:00
timeless%mozdev.org 2119ac88aa Bug 123584 JavaScript engine should use malloc/realloc/free consistently
Removing the unused JS_MALLOC macro per brendan
2004-02-25 14:05:29 +00:00
timeless%mozdev.org df707c9788 Bug 123584 JavaScript engine should use malloc/realloc/free consistently
Removing the unused JS_NEW and JS_DELETE macros per brendan
2004-02-25 14:01:24 +00:00
timeless%mozdev.org ff7704d674 Bug 123584 JavaScript engine should use malloc/realloc/free consistently
Replace JS_DELETE with free/JS_smprintf_free
r=rogerl
2004-02-25 13:33:42 +00:00
timeless%mozdev.org 3352558cdd Treat bug "numbers" which aren't numbers as links instead of prepending a url base
similar to runtests.pl:js_print_bugnumber

Problem input:
           Testcase ecma_2/RegExp/properties-001.js failed Bug Number http://scopus/bugsplat/show_bug.cgi?id=346000
2004-02-25 13:01:29 +00:00
brendan%mozilla.org effdf8506f Use label local in Statement; eliminate somewhat arbitrary empty lines. 2004-02-25 09:06:36 +00:00
jst%mozilla.jstenback.com a589ac3ec2 Fixing bogus assert on startup for DEBUG_xpc_hacker people. Not part of the default build. 2004-02-24 22:50:46 +00:00
brendan%mozilla.org f09979b677 Duh. 2004-02-24 21:23:45 +00:00
igor%mir2.org cf09991901 Fixing JavaDoc 2004-02-24 07:20:49 +00:00
igor%mir2.org d02a51ad4c Making NativeScript package private: if this will be controversial, then the public status can be restored 2004-02-24 07:19:56 +00:00
kyle.yuan%sun.com c7236a9370 Bug 200016 Crash accessing Java package from JS
r=xiaobin.lu, sr=brendan
Block accessing to sun.plugin package
2004-02-24 03:18:09 +00:00
brendan%mozilla.org 9be47ec08d s/compile/parse/ -- compile is overgeneral, especially in light of what's next. 2004-02-24 03:04:40 +00:00
brendan%mozilla.org eb90e6eae3 Simplify consts generation slightly. 2004-02-24 03:03:33 +00:00
brendan%mozilla.org 4b6cb095da Add ecmaStrictMode to CompilerContext. 2004-02-22 07:21:55 +00:00
brendan%mozilla.org 3f2c089f48 Move script_filename_table into JSRuntime where it belongs (235145, r=shaver). 2004-02-22 03:21:15 +00:00
dbaron%dbaron.org 761fbd40e7 Backing out brendan's checkin due to tinderbox orange. 2004-02-22 01:11:47 +00:00
brendan%mozilla.org f536555ceb Move script_filename_table into JSRuntime where it belongs (235145, r=shaver). 2004-02-21 19:41:52 +00:00
cls%seawood.org d44793ecbe Add support for cross-compiling to mingw.
Bug #222013 r=bryner
2004-02-20 22:14:14 +00:00
timeless%mozdev.org 110ba9e499 Bug 235035 change nsIRunnable.Run to nsIRunnable.run
r=dougt sr=darin
2004-02-20 21:34:57 +00:00
brendan%mozilla.org 1f4d1acecd Elaborate reference error message; fix iloop in __hasInstance__. 2004-02-20 07:35:28 +00:00
timeless%mozdev.org 51c9e399dd Bug 234703 mClassInfoFlags is always 0 instead of using the XPCWrappedNativeProto(..., ClassInfoFlags, ...) value
r=jst sr=bz moa=dbradley
2004-02-19 15:20:39 +00:00
darin%meer.net 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
nboyd%atg.com 07d97e2bfb Remove "pre" from a candidate build. 2004-02-18 17:28:40 +00:00
igor%mir2.org 765d9c1f9e Preparations for 1.5R5 2004-02-18 12:24:27 +00:00
brendan%mozilla.org 6a7bb61959 t.scanOperand should be true by default, eliminating scanForOperand bloat. 2004-02-17 08:43:48 +00:00
timeless%mozdev.org 7de15d2110 Bug 233335 XP_PC still referenced in jssh.c
Use defined()
2004-02-16 18:27:06 +00:00
brendan%mozilla.org 2426ec2edc s/this/v/g in getValue. 2004-02-16 16:55:40 +00:00
brendan%mozilla.org 402cc46636 - Add source and cursor properties to SyntaxError exceptions.
- Rework labeled statements to fix chicken-and-egg problem with BREAK to label
  completion type targeting.
- Unify next-statement non-expression token cases and default: in Expression.
2004-02-16 02:38:19 +00:00
brendan%mozilla.org f99569416a - Fix global.String to convert its argument to string type when called as
a function.
- Rework labeled statements to fix chicken-and-egg problem with BREAK to label
  completion type targeting.
- Avoid defining Function.prototype.__call__, __construct__, and
  __hasInstance__ once they're set, to avoid storing host-uninterpretable
  target function objects in those properties.
- Fix evaluate to throw a host exception if returning to the host interpreter.
2004-02-16 02:15:27 +00:00
brendan%mozilla.org ce04728b4d Fully bootstrapped, but host still can't apply target functions. 2004-02-14 21:58:10 +00:00
brendan%mozilla.org 20d6618029 Fix Expression to work with Statement's automatic semicolon insertion logic. 2004-02-14 21:56:41 +00:00
leaf%mozilla.org b12f6038f2 bug 226380. backout code that breaks ActiveX plugin properties, a=chofmann 2004-02-14 01:01:08 +00:00
igor%mir2.org b796a6fb8d Preparations for 15R5 release. 2004-02-13 18:50:51 +00:00
igor%mir2.org 0bdc147fa8 Fixing NativeGlobal.encode: it was broken for chars beyond 0xFFFF as it sb.setLength(k) was called after k was increased to consume the second char from UTF-16 encoding to build UCS-4. 2004-02-12 19:05:47 +00:00
igor%mir2.org 52f8463b7d Preparations for 1.5R5 2004-02-12 18:13:00 +00:00
brendan%mozilla.org 21766deb5a Fix Expression to stop on : only if hookLevel is not elevated. 2004-02-11 08:30:20 +00:00
brendan%mozilla.org 6e82d5c043 Checkpoint, still not quite metacircularly bootstrapped. 2004-02-11 07:57:19 +00:00
brendan%mozilla.org 129485cc28 Fix two nits in last checkin. 2004-02-11 07:51:50 +00:00
brendan%mozilla.org 43b10e36e5 NARCISSUS ifdefs and related general fixes (r=shaver). 2004-02-11 07:21:59 +00:00
jst%mozilla.jstenback.com 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
igor%mir2.org 83ea5840cf Fixing bug 233274: for/in loop goes through array elements in wrong order
Fix: populate ids array in NativeArray with dense indexes first

Since array literals in Rhino creates instances of NativeArray with the
internal dense array containing literal elements, the patch changes
NativeArray.getIds to return ids array with dense indexes coming first and
indexes for elements added later after that.
2004-02-06 20:16:36 +00:00
igor%mir2.org d51a78039d Adding backward compatibility to SecurityController so it can be used with Rhino 1.5R4.1 subclasses 2004-02-05 15:10:52 +00:00
kyle.yuan%sun.com 47c14cbcf6 Bug 110584 Missing call to jsj_ExitJava
use |break| instead of |return| in |switch|
r=xiaobin.lu, sr=brendan
2004-02-04 02:01:54 +00:00
brendan%mozilla.org 6dcc130f14 - ECMA-prescribed {DontEnum} attributes for length on empty arg list, and on
<any-function>.prototype.constructor.
- Put rarely-set default properties in prototypes.
- Improve a couple of comments.
2004-02-03 23:58:03 +00:00
brendan%mozilla.org 1314cb7e3b JS implemented in JS, initial checkin. 2004-02-03 03:28:54 +00:00
timeless%mozdev.org 4b7614b9e5 Bug 137193 Debug Mozilla aborts when JSObject.call("func", args) and args is zero-length array
r=kyle sr=brendan
2004-02-02 19:10:33 +00:00