brendan%mozilla.org
6a220f2f41
Fix unreviewed changes made to fix 'Uninitialized variable compiler warnings'.
2000-05-28 00:02:26 +00:00
jst%netscape.com
60b53dbf6e
Fixing bustage on solaris native builds. reported and reviewed by Tomi.Leppikangas@oulu.fi
2000-05-27 13:14:31 +00:00
edburns%acm.org
67cfd5f36b
r=brendan
...
a=brendan
bug: 27362
This fix makes it so nsCLiveconnect.cpp doesn't #include
files within an extern "C" {} block. To make this work, I
simply moved the extern "C" {} to the minimum necessary
range. This required placing an "ifdef __cplusplus extern "C""
block in jsj_private.h, since nsCLiveconnect.cpp is the only
c++ file that includes jsj_private.h.
2000-05-27 01:12:40 +00:00
rogerl%netscape.com
4e3dcc082c
Removed old branches, changed offset printing to handle NULL operand.
2000-05-26 22:35:36 +00:00
rogerl%netscape.com
565b842243
Update to new icg constructor etc.
2000-05-26 22:34:42 +00:00
rogerl%netscape.com
573531b249
Statement fun
2000-05-26 22:33:05 +00:00
waldemar%netscape.com
bd3b79569c
Added var, const, and for statements
2000-05-26 06:20:11 +00:00
shaver%mozilla.org
634ad644e4
use NS_METHOD for register/unregister callback, for Win32
2000-05-26 05:55:00 +00:00
shaver%mozilla.org
12fe3f7799
fix build bustage -- I'm an ass
2000-05-26 05:18:31 +00:00
shaver%mozilla.org
ee8d2a82fe
remove useless nsIModule paste ( #22922 ), add debug() for JS components, use categories for component loaders, XPCONNECT_STANDALONE ( #39875 ), r=dp,waterson a=brendan
2000-05-26 04:56:23 +00:00
mkaply%us.ibm.com
367ea5b7df
# 34106
...
r = leaf, a = brendan
Mistake was made with an earlier makefile checkin - removing double definition of EXTRA_DSO_OPTS
2000-05-25 14:25:04 +00:00
mccabe%netscape.com
b05da32465
Fix the fix to 40406, fixing bustage.
...
Don't destroy the per-thread safe JS context on cleanup if that context was provided through the setter.
r=waterson
2000-05-25 08:33:53 +00:00
mccabe%netscape.com
ba80f85fb1
Fix for 40406. Add setter to XPConnect to set default JS context used to execute JS components when no appropriate context can be found.
...
The setter changes per-thread data - for the DOM/UI thread, this means that we can set the JS Context to one with DOM magic. This magic allows some DOM JS <-> XPConnect JS conversions to succeed, and in particular allows creation of a DOM window from within a JS component.
Unblocks nsbeta2 work by Vishy and Pavlov.
r=mccabe,vishy. a=brendan,sleestack.
2000-05-24 22:54:57 +00:00
nboyd%atg.com
a7fc06c9a3
Add rhino9 and rhinoms9.
2000-05-24 18:10:55 +00:00
waldemar%netscape.com
cec8a6816d
Fixed case/default indenting
2000-05-24 02:18:57 +00:00
rogerl%netscape.com
39ebb9c8d8
Codegen for statements. Blew off old statement API and most of the test
...
functions for now, sorry.
2000-05-24 02:11:39 +00:00
waldemar%netscape.com
d4e4f10d14
Turned on statement parsing and printing
2000-05-24 01:51:32 +00:00
waldemar%netscape.com
c970639ae9
Added statement parsing
2000-05-24 01:51:20 +00:00
waldemar%netscape.com
fe6fac7c85
Added using std::fmod declaration
2000-05-24 00:55:23 +00:00
waldemar%netscape.com
389625522b
Fixed Mac warning
2000-05-24 00:54:56 +00:00
waldemar%netscape.com
bdd3276507
Fixed Mac warnings
2000-05-24 00:54:40 +00:00
waldemar%netscape.com
0765893319
Fixed syntax errors: can't use qualified names in class definitions, and 'not' is a C++ reserved word
2000-05-24 00:54:28 +00:00
nboyd%atg.com
0074ca5edf
Remove unused constructor.
2000-05-23 21:03:50 +00:00
nboyd%atg.com
108f81d6ac
Fix up bug where direct calls were getting the parent scope when they shouldn't have,
...
resulting in a NullPointerException on the following code when run on the MS VM with -opt 9:
var testcases = getTestCases();
function getTestCases() {
return new Boolean(new MyObject(true));
}
function MyObject( value ) {
this.value = value;
this.valueOf = new Function( "return this.value" );
return this;
}
2000-05-23 20:59:13 +00:00
rginda%netscape.com
b71c85c7dc
apparently windows is too
2000-05-23 00:15:06 +00:00
rginda%netscape.com
27345b3bb3
linux is so picky
2000-05-23 00:13:48 +00:00
rogerl%netscape.com
709d6c75d9
COMPARE_GT etc are gone.
2000-05-23 00:09:44 +00:00
rogerl%netscape.com
8dc4133f96
Fall out from operator overloading.
2000-05-23 00:09:02 +00:00
rogerl%netscape.com
932d63213b
Added operator overloading support
2000-05-23 00:08:29 +00:00
rogerl%netscape.com
e562e8eb21
Fix bug #39309 - parameters must be AnyType, also vars used before def.
2000-05-23 00:06:24 +00:00
rginda%netscape.com
6fa16759c6
quieting linux warnings and fixing build bustage
2000-05-22 21:05:35 +00:00
nboyd%atg.com
b76123f465
Fix formatting.
2000-05-22 03:03:37 +00:00
nboyd%atg.com
85a7b4aa6c
Fix 38590.
2000-05-22 00:10:10 +00:00
cls%seawood.org
cb31f6e62d
More OS/2 changes. Batches 19 & 20 of Bug #34106 r=pavlov
2000-05-21 13:32:11 +00:00
brendan%mozilla.org
addb7242fb
Fix remove-while-enumerating, beef up metering and add JS_DHashTableDumpMeter (these files are not part of the client build).
2000-05-20 18:42:22 +00:00
brendan%mozilla.org
0858bc61ea
Fix old stddev calc bug (#ifdef'd code, not part of build).
2000-05-20 18:41:13 +00:00
cls%seawood.org
df5725e323
Finishing off the standalone modules framework.
...
List js/src/liveconnect & js/src/xpconnect in toplevel Makefile.in to allow js to be built using the standalone framework.
Use the <module>_STANDALONE defines anytime BUILD_MODULES != all.
r=slamm
2000-05-20 02:45:59 +00:00
brendan%mozilla.org
e1b56a4ce1
Use int for shift type consistently; optimize primary hash match (NOT PART OF BUILD).
2000-05-19 18:26:37 +00:00
rogerl%netscape.com
408e469b4b
Playing with operator overloading & Type types.
2000-05-19 17:41:10 +00:00
beard%netscape.com
091146e0f7
fix const cast away linux breakage
2000-05-19 05:38:29 +00:00
brendan%mozilla.org
725ff208a6
Don't clear memory gratuitously (after create-error; after destroy).
2000-05-19 05:10:58 +00:00
brendan%mozilla.org
83d65f9508
Don't destroy what hasn't been created (NOT PART OF BUILD).
2000-05-19 03:49:32 +00:00
brendan%mozilla.org
91e4edcef8
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
65950e22ec
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
79201b942d
Bunch o' expression ops.
2000-05-18 00:04:15 +00:00
rogerl%netscape.com
477b9aecd9
Moved genExpr to ICodeGenerator - added most expression ops.
2000-05-18 00:03:23 +00:00
rogerl%netscape.com
f38a2dd543
Moved genExpr to ICodeGenerator
2000-05-18 00:01:33 +00:00
beard%netscape.com
f82644b580
added on run handler
2000-05-17 20:02:17 +00:00
beard%netscape.com
ebd9cea0c3
Removing obsolete project file. This is supplanted by js.mcp.xml.
2000-05-17 20:01:08 +00:00
cls%seawood.org
a8000b8bb5
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
7bc9169a36
Include jsstddef.h first in all js*.c files (r=tlundeen@webcrossing.com).
2000-05-17 06:24:45 +00:00
brendan%mozilla.org
7dd0a4f6c4
JS_DestroyRuntime nukes all contexts; add JS_G/SetRuntimePrivate (r=tlundeen@webcrossing.com).
2000-05-17 06:23:03 +00:00
pavlov%netscape.com
803190ad4b
changes all usages of NS_NewTimer to CreateInstance
2000-05-17 02:49:35 +00:00
sfraser%netscape.com
7c1335fa2a
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
68897b7076
# 37239
...
r= rogerl
OS/2 bring up continues - fix for floating point trap
2000-05-16 22:51:12 +00:00
beard%netscape.com
aa18b202a8
ensuring both arguments to max are the same type
2000-05-16 22:23:15 +00:00
rayw%netscape.com
18fabd3cae
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
8a94c9df50
Latest OS/2 makefile changes. Bug 34106. Batch 14, 15, & 16.
2000-05-16 04:41:54 +00:00
brendan%mozilla.org
98af3bcf58
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
02d34752cd
Bug #39034 . Fixed stupid logic that broke \n, sorry.
2000-05-15 21:48:00 +00:00
brendan%mozilla.org
26edd3b893
Common a string literal (js_call_str; r=shaver).
2000-05-15 20:21:05 +00:00
brendan%mozilla.org
453918e0e2
Remove deadwood brought to my attention by tlundeen@webcrossing.com (r=shaver).
2000-05-15 20:04:41 +00:00
brendan%mozilla.org
d69376f26f
Fix stupid 0-for-enumerator-equal-to-0 warning (r=shaver).
2000-05-15 20:03:13 +00:00
mscott%netscape.com
09228d712f
backing out rayw's checkin because the tree WAS CLOSED! Shame on you =).
2000-05-15 18:07:36 +00:00
rayw%netscape.com
e3232d90a0
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
6e8adc1631
The remaining fix for international characters in component names.
2000-05-15 17:26:18 +00:00
brendan%mozilla.org
44ffcfa883
Enforce interCaps Mozilla XPIDL style (r=shaver).
2000-05-15 07:03:46 +00:00
brendan%mozilla.org
2fcf1e1f5e
Update JS_InitClass to match signature.
2000-05-15 06:07:10 +00:00
brendan%mozilla.org
6d9f9c1954
Comment the need for rooted JS_NewScriptObject; whitespace/comment cleanup.
2000-05-15 06:06:12 +00:00
brendan%mozilla.org
53e6c7a2fa
Cleanups from tlundeen@webcrossing.com, plus fun->call=>native renaming.
2000-05-15 03:54:50 +00:00
brendan%mozilla.org
46bb75c8df
Forgot to check this in with the last batch!
2000-05-14 23:04:33 +00:00
brendan%mozilla.org
1afb3be62c
GC synchronization and lock fixes, plus comments (37983, r=waterson@netscape.com).
2000-05-14 23:00:51 +00:00
shaver%mozilla.org
ee453f5618
remove bogus CHECK_REQUEST in JS_ClearRegexpStatics (16128)
2000-05-14 15:38:04 +00:00
brendan%mozilla.org
2152d1c678
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
48a16c808c
Avoid zero-length mallocs (prompted by ped@nospam.cadence.com).
2000-05-14 05:35:19 +00:00
beard%netscape.com
312fe40643
fix for linux bustage
2000-05-13 02:14:52 +00:00
waldemar%netscape.com
e4b1d1c7b0
Simplified grammar without changing syntax
2000-05-13 00:18:56 +00:00
beard%netscape.com
95c604b7cc
added jsc/Main.java.
2000-05-12 06:23:43 +00:00
waldemar%netscape.com
1038627ac0
Fixed ?: parsing bug and pretty-printing offsets
2000-05-12 05:39:28 +00:00
waldemar%netscape.com
e0d60183af
Fixed build flags
2000-05-12 05:16:08 +00:00
waldemar%netscape.com
4332726ebb
Fixed parser errors
2000-05-12 05:15:52 +00:00
waldemar%netscape.com
87e3817578
Worked around Visual C++ problem
2000-05-12 05:15:17 +00:00
waldemar%netscape.com
6f509ed95c
Interchanged linearBreak and fillBreak
2000-05-12 03:43:35 +00:00
waldemar%netscape.com
0a6fc9df09
Turned on expression parsing and printing
2000-05-12 03:26:43 +00:00
waldemar%netscape.com
66582beffd
Added expression parsing and printing code
2000-05-12 03:26:24 +00:00
waldemar%netscape.com
f240e58708
Added RawArrayBuffer::reserve_advance_back
2000-05-12 03:25:49 +00:00
beard%netscape.com
7e8c26b8ab
removed unnecessary #include <iomanip>
2000-05-12 01:46:16 +00:00
beard%netscape.com
71c6e11ea9
InterpretStage -> Context::Event.
2000-05-12 01:20:34 +00:00
beard%netscape.com
5323c7b05c
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
04581163ba
InterpretStage -> Context::Event. Added typedefs for ListenerList and ListenerIterator.
2000-05-12 01:17:32 +00:00
beard%netscape.com
314e712f22
turned off extra comma warnings.
2000-05-12 00:31:48 +00:00
rogerl%netscape.com
b29b7084fa
post inc/dec
2000-05-11 00:35:43 +00:00
rogerl%netscape.com
3dd4d8ff15
Added post inc/dec for properties & names.
2000-05-11 00:35:06 +00:00
mccabe%netscape.com
b97688b654
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
1f1c369c98
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
d422e712d9
Reword comment to fix typo (missing 'to').
2000-05-10 20:05:17 +00:00
brendan%mozilla.org
d5cc8fbf14
More minor style cleanups, plus a teeny optimization from tlundeen@webcrossing.com.
2000-05-10 19:58:28 +00:00
brendan%mozilla.org
e4977c0ede
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
df66e6872c
Minor style improvements (80th column, over-parenthesization, better variable names).
2000-05-10 19:55:48 +00:00
mccabe%netscape.com
e6f060e635
Add pithy quote.
2000-05-10 00:35:30 +00:00