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

2307 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org 65a3d9575a Don't clear memory gratuitously (after create-error; after destroy). 2000-05-19 05:10:58 +00:00
brendan%mozilla.org 5873c77a22 Don't destroy what hasn't been created (NOT PART OF BUILD). 2000-05-19 03:49:32 +00:00
brendan%mozilla.org c7e55e24c1 Experimental double-hashing code, hope to donate to nsprpub/lib/ds (NOT PART OF BUILD). 2000-05-19 02:51:20 +00:00
mccabe%netscape.com 9dd8c20ce2 Patch xpcshell.cpp to not try to call JS_malloc with 0 bytes.
Patch courtesy Mark G. Adams <madams@livepage.com>

r=mccabe

This code is part of xpcshell, and doesn't go into the mozilla product.  Prior to this fix, xpcshell crashed on startup.
2000-05-19 00:34:46 +00:00
rogerl%netscape.com c4b6a652d5 Bunch o' expression ops. 2000-05-18 00:04:15 +00:00
rogerl%netscape.com 4ec5cba5d9 Moved genExpr to ICodeGenerator - added most expression ops. 2000-05-18 00:03:23 +00:00
rogerl%netscape.com ad5c33b8e4 Moved genExpr to ICodeGenerator 2000-05-18 00:01:33 +00:00
beard%netscape.com 168fd5eca2 added on run handler 2000-05-17 20:02:17 +00:00
beard%netscape.com e717dd2ca6 Removing obsolete project file. This is supplanted by js.mcp.xml. 2000-05-17 20:01:08 +00:00
cls%seawood.org 1165ad3a33 Mass replace of -lmozjs with $(MOZ_JS_LIBS) needed for OS/2 and consistency. 2000-05-17 06:45:45 +00:00
brendan%mozilla.org b428bdcc8f Include jsstddef.h first in all js*.c files (r=tlundeen@webcrossing.com). 2000-05-17 06:24:45 +00:00
brendan%mozilla.org 7ec8bd2b9d JS_DestroyRuntime nukes all contexts; add JS_G/SetRuntimePrivate (r=tlundeen@webcrossing.com). 2000-05-17 06:23:03 +00:00
pavlov%netscape.com 0c75802384 changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
sfraser%netscape.com 758611a321 Fix to only broadcast to the autoreg observer if we are really registering. 2000-05-17 01:54:18 +00:00
mkaply%us.ibm.com 04f5a1c6d5 # 37239
r= rogerl
OS/2 bring up continues - fix for floating point trap
2000-05-16 22:51:12 +00:00
beard%netscape.com 351bd72f09 ensuring both arguments to max are the same type 2000-05-16 22:23:15 +00:00
rayw%netscape.com 1a08e06897 Added the fixes for 35866 and one older bug to the js component loader.
This means it is more careful about how it writes binary filenames in
the registry and it calls an observer to report autoregistrations.

This should have gone out with equivalent Native Component Loader fixes,
but it didn't.
2000-05-16 05:09:31 +00:00
cls%seawood.org 962f4851b8 Latest OS/2 makefile changes. Bug 34106. Batch 14, 15, & 16. 2000-05-16 04:41:54 +00:00
brendan%mozilla.org cde1ff4429 Fix GC request debiting to cope with multiple JSContexts on the same thread (39321, r=shaver). 2000-05-16 02:44:27 +00:00
rogerl%netscape.com 345804582d Bug #39034. Fixed stupid logic that broke \n, sorry. 2000-05-15 21:48:00 +00:00
brendan%mozilla.org 74b92d79e0 Common a string literal (js_call_str; r=shaver). 2000-05-15 20:21:05 +00:00
brendan%mozilla.org 11f2b967f5 Remove deadwood brought to my attention by tlundeen@webcrossing.com (r=shaver). 2000-05-15 20:04:41 +00:00
brendan%mozilla.org 66f16c7662 Fix stupid 0-for-enumerator-equal-to-0 warning (r=shaver). 2000-05-15 20:03:13 +00:00
mscott%netscape.com 681e89f874 backing out rayw's checkin because the tree WAS CLOSED! Shame on you =). 2000-05-15 18:07:36 +00:00
rayw%netscape.com 62565a9c19 I needed to add a better comment for the prior version I checked in.
Bug 3690, I added the native character writing / escaping logic to
the javascript components as it was added to native components.

r=dveditz
2000-05-15 17:29:20 +00:00
rayw%netscape.com bbea185af6 The remaining fix for international characters in component names. 2000-05-15 17:26:18 +00:00
brendan%mozilla.org 2cc44b24b1 Enforce interCaps Mozilla XPIDL style (r=shaver). 2000-05-15 07:03:46 +00:00
brendan%mozilla.org abe80212f1 Update JS_InitClass to match signature. 2000-05-15 06:07:10 +00:00
brendan%mozilla.org 77e3687daa Comment the need for rooted JS_NewScriptObject; whitespace/comment cleanup. 2000-05-15 06:06:12 +00:00
brendan%mozilla.org 96e08e9fe3 Cleanups from tlundeen@webcrossing.com, plus fun->call=>native renaming. 2000-05-15 03:54:50 +00:00
brendan%mozilla.org eaa1e364fe Forgot to check this in with the last batch! 2000-05-14 23:04:33 +00:00
brendan%mozilla.org 240be7a3b0 GC synchronization and lock fixes, plus comments (37983, r=waterson@netscape.com). 2000-05-14 23:00:51 +00:00
shaver%mozilla.org b6fe117b32 remove bogus CHECK_REQUEST in JS_ClearRegexpStatics (16128) 2000-05-14 15:38:04 +00:00
brendan%mozilla.org 2cdcef05eb Set newborn to root of object tree created by literal (followup to waterson nsJSEnvironment.cpp fix). 2000-05-14 05:38:51 +00:00
brendan%mozilla.org 19ff28a612 Avoid zero-length mallocs (prompted by ped@nospam.cadence.com). 2000-05-14 05:35:19 +00:00
beard%netscape.com 0a0acdcf76 fix for linux bustage 2000-05-13 02:14:52 +00:00
waldemar%netscape.com 23816b0170 Simplified grammar without changing syntax 2000-05-13 00:18:56 +00:00
beard%netscape.com 73c8cba40e added jsc/Main.java. 2000-05-12 06:23:43 +00:00
waldemar%netscape.com d3acc733e0 Fixed ?: parsing bug and pretty-printing offsets 2000-05-12 05:39:28 +00:00
waldemar%netscape.com b1a75a201a Fixed build flags 2000-05-12 05:16:08 +00:00
waldemar%netscape.com f2965154c2 Fixed parser errors 2000-05-12 05:15:52 +00:00
waldemar%netscape.com c8b3c01b71 Worked around Visual C++ problem 2000-05-12 05:15:17 +00:00
waldemar%netscape.com c17f899a83 Interchanged linearBreak and fillBreak 2000-05-12 03:43:35 +00:00
waldemar%netscape.com 3be5d6b79c Turned on expression parsing and printing 2000-05-12 03:26:43 +00:00
waldemar%netscape.com 80084c8eb5 Added expression parsing and printing code 2000-05-12 03:26:24 +00:00
waldemar%netscape.com 1f0d17398b Added RawArrayBuffer::reserve_advance_back 2000-05-12 03:25:49 +00:00
beard%netscape.com 34678ad655 removed unnecessary #include <iomanip> 2000-05-12 01:46:16 +00:00
beard%netscape.com d4060c6bef InterpretStage -> Context::Event. 2000-05-12 01:20:34 +00:00
beard%netscape.com e7503b10fb Fixed signed/unsigned warning. InterpretStage -> Context::Event. Context::removeListener now using find() from <algorithm>. 2000-05-12 01:19:39 +00:00
beard%netscape.com 171d878a64 InterpretStage -> Context::Event. Added typedefs for ListenerList and ListenerIterator. 2000-05-12 01:17:32 +00:00
beard%netscape.com 10e19444a4 turned off extra comma warnings. 2000-05-12 00:31:48 +00:00
rogerl%netscape.com 48f6891a39 post inc/dec 2000-05-11 00:35:43 +00:00
rogerl%netscape.com 33370b0248 Added post inc/dec for properties & names. 2000-05-11 00:35:06 +00:00
mccabe%netscape.com be51bb5b1c Mark 'clear' function exposed thru shell global object PR_CALLBACK, like other similar functions.
Patch courtesy Skip Nizinski <snizinsk@us.ibm.com>.
2000-05-10 23:58:51 +00:00
rogerl%netscape.com 97aead9971 Bug #38384, fix from norris (which I tweaked a little) to handle a bug in
recursive reseting of the thisObj in InterpreterData.
2000-05-10 22:03:15 +00:00
brendan%mozilla.org da321a0e18 Reword comment to fix typo (missing 'to'). 2000-05-10 20:05:17 +00:00
brendan%mozilla.org e73260b22d More minor style cleanups, plus a teeny optimization from tlundeen@webcrossing.com. 2000-05-10 19:58:28 +00:00
brendan%mozilla.org c697742103 Fix the TOO_MUCH_GC define (optional for GC stress-testing, not part of build). 2000-05-10 19:56:21 +00:00
brendan%mozilla.org 204a8cfeee Minor style improvements (80th column, over-parenthesization, better variable names). 2000-05-10 19:55:48 +00:00
mccabe%netscape.com 7b64369c95 Add pithy quote. 2000-05-10 00:35:30 +00:00
rogerl%netscape.com f8f64a0575 Bug #31316, didn't reset paren state after failed alt. 2000-05-09 23:47:18 +00:00
rogerl%netscape.com 4cfd991214 Bug #32937, toLocaleString added to Number class. 2000-05-09 23:46:13 +00:00
rogerl%netscape.com fdba51a861 Bug #22866, support \u2028 \u2029 line terminators 2000-05-09 23:44:49 +00:00
waldemar%netscape.com abe74d890c Added 'public' to the list of qualifiers 2000-05-09 20:55:09 +00:00
rogerl%netscape.com 908ce34c76 playing with gencode 2000-05-09 19:01:00 +00:00
beard%netscape.com a90cac7e92 Needed to transfer ownwership of iCode from ICodeGenerator to ICodeModule 2000-05-09 18:59:12 +00:00
beard%netscape.com 8b37e3f091 generalized gc_allocator copy constructor 2000-05-09 18:32:14 +00:00
beard%netscape.com 698cbbf51d removed JSFunction::operator delete 2000-05-09 18:31:43 +00:00
rogerl%netscape.com 737ea3d9ab Fixed leakage of ICodeModule via JSFunction 2000-05-09 18:09:33 +00:00
beard%netscape.com d991eb363d Need to modify string BEFORE caching iterators. 2000-05-09 06:39:39 +00:00
beard%netscape.com 1f06b15acc 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 6a4d27e9e3 map::find() works just fine on all platforms. 2000-05-09 05:55:30 +00:00
beard%netscape.com c5dcfed7a0 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 2a42ae2d9b LoadString now has JSString* as second operand 2000-05-09 05:38:48 +00:00
beard%netscape.com 9acc5cacea Added JSString(const String&) and operator<<(Formatter&, const JSString&) 2000-05-09 05:37:58 +00:00
beard%netscape.com 69e170c16b LOAD_STRING now has String as second operand rather than String* 2000-05-09 05:18:16 +00:00
beard%netscape.com 052dad7118 VC6 bustage: can't initialize refs using construction form 2000-05-09 04:29:32 +00:00
beard%netscape.com 5e9296ee19 std::numeric_limits isn't working... 2000-05-09 04:26:44 +00:00
beard%netscape.com f8c91a8cf2 JSNativeFunction::mCode returns JSValue now to avoid leaking 2000-05-09 03:57:28 +00:00
beard%netscape.com c5e54d1f21 print now returns JSValue, added space between args when printing 2000-05-09 03:56:56 +00:00
beard%netscape.com 3c70fd5a83 CASE(string) 2000-05-09 03:56:08 +00:00
beard%netscape.com e3056982ab g++ basic_string annoyances 2000-05-09 03:55:43 +00:00
beard%netscape.com ec32a56539 needed deallocate(void*, size_type) on XP_UNIX for basic_string. 2000-05-09 03:46:03 +00:00
beard%netscape.com 5511c85685 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 17bcf1f4d9 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 9e824b3492 make wchar_t an atomic type, for JSString. 2000-05-09 03:06:49 +00:00
waldemar%netscape.com b6ad6e0d78 Changed default constructor name from 'new' to the same name as its class 2000-05-09 00:10:50 +00:00
rogerl%netscape.com 9da7770958 testing native 'print' function 2000-05-08 23:12:10 +00:00
rogerl%netscape.com 70fd2e12cf Added more string handling + valueToString/Number code.
NativeFunction support.
2000-05-08 22:59:42 +00:00
waldemar%netscape.com 32a487e8ba Fixed syntax errors 2000-05-06 03:47:35 +00:00
waldemar%netscape.com 7ec407aaec 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 45d64f11e9 Reordered files back to dependency order. Added gc_allocator.h. 2000-05-06 03:33:25 +00:00
waldemar%netscape.com f92842a971 Fixed syntax error 2000-05-06 03:31:50 +00:00
waldemar%netscape.com 9258b98a99 Added formatters, zones, and other miscellaneous utilities 2000-05-06 03:31:35 +00:00
waldemar%netscape.com 172513021f Fixed mac warning 2000-05-06 03:30:37 +00:00
rogerl%netscape.com 73705a8af1 Load_String 2000-05-05 23:23:13 +00:00
rogerl%netscape.com 25d9160b79 Basic string literal & value support 2000-05-05 23:22:31 +00:00
rogerl%netscape.com 0abfa73fd7 New arithmetic ops. 2000-05-05 21:38:16 +00:00
rogerl%netscape.com 05b4422677 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 d1e0d062d0 Added debugger source 2000-05-05 18:20:05 +00:00