beard%netscape.com
1a72358ec1
added classes in org.mozilla.classfile
1999-04-27 19:43:56 +00:00
rogerl%netscape.com
d1ead3225d
#Not a part of SeaMonkey
1999-04-27 19:02:40 +00:00
norris%netscape.com
83a8060991
Better javadoc.
1999-04-27 16:55:44 +00:00
rogerl%netscape.com
572493e3a9
# Not a part of SeaMonkey
1999-04-27 16:22:20 +00:00
cbegle%netscape.com
7356f0624b
Make sure that the test directory name ends with a trailing slash.
1999-04-27 16:15:30 +00:00
fur%netscape.com
ab2f3e1d25
Merge changes from SpiderMonkey140_BRANCH. Note: none of the
...
added files participate in the client build.
1999-04-27 15:18:57 +00:00
fur%netscape.com
a8204ac954
Temporarily disable this entire file because it makes use of a part of
...
the JSAPI that has changed in the SpiderMonkey140_BRANCH and we need to
land that branch today.
1999-04-27 15:09:06 +00:00
rogerl%netscape.com
0fcc96e53b
Oops.
1999-04-27 06:28:04 +00:00
rogerl%netscape.com
a263bb26cf
Removing coies of Rhino code
1999-04-27 06:25:07 +00:00
rogerl%netscape.com
0a6917da87
Removing copies of Rhino code
1999-04-27 06:23:48 +00:00
rogerl%netscape.com
3c8ad4ca5b
TestMain class
1999-04-27 06:18:56 +00:00
rogerl%netscape.com
49e4bf3747
# Not a part of SeaMonkey
...
Added expression node building stuff.
1999-04-27 06:08:35 +00:00
fur%netscape.com
28bb34afa5
Got rid of aborted attempt to graft XPCOM onto JS
1999-04-27 05:25:43 +00:00
fur%netscape.com
12bfdf2146
Tweaks
1999-04-27 05:08:14 +00:00
fur%netscape.com
7a3e1124c7
Got rid of aborted attempt to graft XPCOM onto JS
1999-04-27 05:00:07 +00:00
sfraser%netscape.com
2d04489213
Fix a ton of link warnings by removing MathLib, since this is imported via InterfaceStubs.
1999-04-27 04:07:06 +00:00
norris%netscape.com
3ec3e8c70a
Clean up, add javadoc.
1999-04-27 03:56:23 +00:00
brendan%netscape.com
6a25530e2f
Cast printf %p args to (void*).
1999-04-27 03:42:28 +00:00
waterson%netscape.com
fa96401411
Add linker directives to make sure that all the libs we need get loaded.
1999-04-26 23:29:10 +00:00
brendan%netscape.com
3afa92a219
Check for JS_SetPrivate failure in JS_NewScriptObject.
1999-04-26 23:15:27 +00:00
brendan%netscape.com
09e66f998c
Use #ifdef or equivalent to test XP_UNIX, not #if or equiv.
1999-04-26 23:14:12 +00:00
waterson%netscape.com
276d74c3aa
Install xpc3250.dll into the components directory so that XPConnect works.
1999-04-26 22:54:40 +00:00
rogerl%netscape.com
ffb58c2f10
#Not a part of SeaMonkey
...
New.
1999-04-26 22:50:50 +00:00
norris%netscape.com
92847bcfca
Make JavaAdapter work on mozilla-only.
1999-04-26 20:41:57 +00:00
fur%netscape.com
763a5b3c10
Interim checkin of JS2 grammar. Still many ambiguities and bugs, though.
1999-04-26 18:22:30 +00:00
jband%netscape.com
80c9c32228
fix Win32 crash on startup - not copying xpc3250.dll to components dir
1999-04-25 18:56:09 +00:00
jband%netscape.com
5552e33b84
Commenting out the component registration didn't do what I expected. So, I'll unset the IS_COMPONENT flag in Makefile.in to keep the .so from being copied to the components directory at on on Unix
1999-04-24 09:40:51 +00:00
jband%netscape.com
8528722ecd
Comment out component registration of xpconnect except on XP_PC. The problem for Unix is that xpconnect relies on xptcall at runtime. Apprunner and viewer are core dumping on linux. However TestXPC and xpcshell work fine. Further study is required. For now I'll try to unbreak apprunner and viewer for others.
1999-04-24 09:32:35 +00:00
jband%netscape.com
4c897fba05
made xpconnect a service and changed the Win32 and Unix makefiles to have the xpconnect dll installed to the components directory
1999-04-24 08:10:16 +00:00
beard%netscape.com
1bfb6db3b0
made the class to use for the JavaAdapter selectable via the Java property "org.mozilla.javascript.JavaAdapter"
1999-04-24 06:28:17 +00:00
waterson%netscape.com
7f374cbe4e
Added CID for XPConnect.
1999-04-24 02:39:09 +00:00
norris%netscape.com
fb18c81dfe
If the security resource isn't present, catch the exception and proceed.
1999-04-23 19:54:28 +00:00
norris%netscape.com
a2b9800d35
Clean up javadoc.
1999-04-23 17:31:59 +00:00
norris%netscape.com
be56635558
Clean up javadocs; make Context creation faster.
1999-04-23 17:31:09 +00:00
norris%netscape.com
aaf0996351
Clean up formatting.
1999-04-23 17:30:31 +00:00
mccabe%netscape.com
19c68fb53b
Backed out my previous checkin.
...
I realized that:
- we build on more than one build system.
- I'm too tired to fix it.
1999-04-23 09:20:36 +00:00
mccabe%netscape.com
ab6924a6b7
Removed the XPTDIR environment variable requirement; the xpt typelib directory is now constructed by adding 'components' to the executable directory. This adds an -lraptorbase requirement to linking against xptinfo.
1999-04-23 09:10:09 +00:00
mccabe%netscape.com
d6d13a6c37
Twiddled error reporter; added a '\n' after messages.
1999-04-23 09:01:18 +00:00
norris%netscape.com
fd2121d6c8
Transfer examples to mozilla.
1999-04-22 20:58:54 +00:00
norris%netscape.com
73531f9924
Add examples to mozilla.
1999-04-22 20:41:57 +00:00
norris%netscape.com
46fe713382
Fix the following bug:
...
Subject:
Context.newArray() bug
Date:
Thu, 22 Apr 1999 00:26:29 -0700
From:
beard@netscape.com (Patrick Beard)
To:
Norris Boyd <norris@netscape.com>
When the arguments array gets created, its prototype isn't set up
correctly. I think the problem is in Context.newArrayHelper(), which isn't
able to look up the "Array" constructor in the passed-in scope. For this
reaon, top-level scripts that use "arguments.length" don't work.
- Patrick
1999-04-22 18:29:07 +00:00
beard%netscape.com
679f173ebe
First Checked In.
1999-04-22 02:50:18 +00:00
fur%netscape.com
f6f409d854
Fixed a few typos so that the generated file actually compiles
1999-04-21 22:44:32 +00:00
fur%netscape.com
2fcafdeae2
Partial grammar for JS2, expressed using the ANTLR parser generator
1999-04-21 21:08:14 +00:00
norris%netscape.com
fc05296d97
Load optimizer package from com.netscape.
1999-04-21 04:40:36 +00:00
norris%netscape.com
ade142a34c
Forgot to add Messages.properties.
1999-04-20 20:21:55 +00:00
sspitzer%netscape.com
d10d578e63
adding Makefile to the ignore list
1999-04-20 19:25:21 +00:00
mccabe%netscape.com
177e6d852f
Fixed erroneous comment.
...
Thanks to David Gardiner <david.gardiner@unisa.edu.au> for catching this.
1999-04-20 19:02:40 +00:00
norris%netscape.com
3a188e59ad
Publish Rhino as open source.
1999-04-19 20:43:53 +00:00
fur%netscape.com
855f61ae38
Sync up with SpiderMonkey140_BRANCH
1999-04-19 05:19:56 +00:00
fur%netscape.com
d78116f092
Sync up with SpiderMonkey140_BRANCH
1999-04-19 05:12:25 +00:00
rogerl%netscape.com
b6a03c7261
Sample driver for IR factory
1999-04-16 02:55:36 +00:00
rogerl%netscape.com
f5deb2638e
Changes for try/catch handling
1999-04-16 02:54:56 +00:00
rogerl%netscape.com
7c116f72b8
# NOT A PART OF SEAMONKEY IN ANY WAY
...
Some new, some old filres copiedfrom Rhino to form start of prototyping
environment for Project Brenda
1999-04-15 18:24:00 +00:00
mccabe%netscape.com
310295cc79
Backwards-compatible versioned behavior for getYear(), for legacy scripts.
1999-04-15 04:09:22 +00:00
shaver%netscape.com
5e25d421a3
add a cast to try and make xlc happy
1999-04-15 02:55:02 +00:00
jdunn%netscape.com
9c688339b9
fix compiler error: need unix head file for isatty
1999-04-13 18:10:24 +00:00
jband%netscape.com
3bc1eaa7b6
remove inadvertant scope over-qualification to fix HP-UX bustage
1999-04-13 07:13:43 +00:00
jband%netscape.com
de664d9f82
- made nsJSCID's createInstance and getService work as attributes using nsIXPCScriptable::call to support security and sevicemanager protocol.
...
- made xpccontext strings id scheme more generic.
- fixed stupif IID hash function.
- fixed nsIXPCScriptable call and construct to work with the correct function object.
- added gc and dump (using xpclog) to xpcshell.
1999-04-13 04:15:36 +00:00
jdunn%netscape.com
ff6ad10f0b
Fixing native compiler error (NS_DECL_ISUPPORTS shouldn't have a ';' at the end
1999-04-12 20:35:04 +00:00
mccabe%netscape.com
9c47ff807f
Fixed initial copyright date.
...
Thanks to Tim Rowley <tor@cs.brown.edu> for this SunOS fix.
1999-04-12 08:57:06 +00:00
mccabe%netscape.com
4dda9c93be
Fix to 4575.
...
Buildsystem changes to handle the lock_SunOS.s file properly on the native compiler.
Also added a new SunOS5.7 config file, and changed several SunOS config files from redundant copies to includes of a base file.
1999-04-12 07:54:52 +00:00
beard%netscape.com
06f5a6c4e2
First Checked In.
1999-04-11 00:28:06 +00:00
beard%netscape.com
2c5a4a4edf
First Checked In.
1999-04-10 23:52:55 +00:00
sspitzer%netscape.com
f1e1d10f96
some more cvs ignore work
1999-04-10 21:22:31 +00:00
jband%netscape.com
03439dfdbb
set as component for unix
1999-04-10 07:15:21 +00:00
jband%netscape.com
54daa301df
adding library to makefile
1999-04-10 07:09:04 +00:00
jband%netscape.com
7b3b133abe
fix copy-paste error
1999-04-10 07:05:26 +00:00
jband%netscape.com
b2ce67516e
- added an interactive shell for xpconnect testing.
...
- added tests/components which autregs itself for testing.
- added finalize listener for wrapped natives to support services.
- added getService to CID class.
- renamed newInstance to createInstance in CID class.
- simplified api for Components object (easy attach to global object).
1999-04-10 06:51:01 +00:00
jband%netscape.com
252e152440
export yet another header file (jsstddef.h is included by jsemit.h which is needed for external interactive shells)
1999-04-10 06:47:20 +00:00
jband%netscape.com
1e4ded964a
finishing file removal
1999-04-10 06:25:25 +00:00
mccabe%netscape.com
57c84ce475
Not part of the mozilla build. The currently about-to-ensue breakage is not my fault!
...
Remove redundant sub. Patch courtesy Dave Neuer <dneuer@futuristics.net>.
1999-04-10 00:37:46 +00:00
pinkerton%netscape.com
3a6a48bf99
Move all apple libs into MacOS target of interfaces.mcp. Only "apple" lib in each project should now be InterfacesStubs (with some minor exceptions). permission to checkin granted by cyeh.
1999-04-10 00:15:14 +00:00
jband%netscape.com
131caf4150
generated binary files update
1999-04-07 00:30:20 +00:00
jband%netscape.com
993ff933a8
Added support for [scriptable] flag in interface descriptor. Added [noscript]. xpconnect now checks for the [scriptable] flag.
1999-04-06 22:42:10 +00:00
cbegle%netscape.com
8aa406e8cd
a little better error handling if no argument provided.
1999-04-06 01:11:12 +00:00
jband%netscape.com
b0859a052d
fixed typo so no extra .pdb files get left behind
1999-04-06 00:10:10 +00:00
cbegle%netscape.com
47690c0a75
Add a little more info to the template file.
1999-04-05 23:56:28 +00:00
cbegle%netscape.com
9f52c280da
The JavaScript Test Library, Part I. ECMA v. 1.0. See the page at
...
http://www.mozilla.org/js/tests/library.html for information about
these tests, like how to run them and stuff.
According to fur, these tests should not get checked out when you
check out Mozilla -- you'd have to specifically check out mozilla/js/tests
to get all these files.
1999-04-05 22:58:49 +00:00
mccabe%netscape.com
21b576f3d4
More tweaks to perlconnect build system -
...
Added jsperlbuild.pl file to abstract the location of xsubpp. Many thanks to Dave Neuer (dneuer@futuristics.net ) for this and much other porting help with perlconnect.
Combined jsperl.so and JS.pm into a JS.so object for use from both javascript and perl.
Fixed rules.mk to recur into DIRS for clean, clobber.
1999-04-03 12:44:47 +00:00
jband%netscape.com
30fe33188b
use nsAllocator instead of local wrapper. added Components.lastResult with tests
1999-04-03 10:12:50 +00:00
jband%netscape.com
d746d178e7
js_DefaultValue now accepts that it is OK for a request with hint of JSTYPE_OBJECT to result in an object of type JSTYPE_FUNCTION. This is done so that objects that happen to have 'call' ops will not fail when being 'converted' to 'Object'. This Fix is going onto the trunk, SpiderMonkeyDev_BRANCH, and SpiderMonkey140_BRANCH
1999-04-02 23:16:40 +00:00
rogerl%netscape.com
0506b21587
Adding multiline property
1999-04-01 23:10:45 +00:00
briano%netscape.com
e392b3ec67
Do not descend into the tests directory unless ENABLE_TESTS is set.
1999-03-30 03:02:14 +00:00
jband%netscape.com
ef5eeb2770
Added support and test for [shared]. Added nsrootidl.idl with some typedefs and annotated 'native' declarations used elsewhere - this will eventially migrate to a more public place. Fixed 'reciever' misspelling (oh boy!). Made constants work (with test) using new 'const' stuff in xpidl. Fixed failure to mark pointer 'out' params for later free'ing - was leaking!
1999-03-28 22:11:22 +00:00
mcafee%netscape.com
3a99c257a4
Ignore generated files.
1999-03-27 09:22:27 +00:00
jband%netscape.com
c2b5ff3549
adding to include list for new dependency on libxpt
1999-03-27 08:42:36 +00:00
mccabe%netscape.com
34f8d2da5f
Consolidated xpt_cpp.h with xptinfo.h; removed xpt_cpp.h. Also
...
modified uses...
1999-03-27 08:02:15 +00:00
jband%netscape.com
3a88317bc8
quick fix for bustage -- JS_HAVE_LONG_LONG is not being set correctly in JS. Also, this code is not necessarily right on platforms here nspr's HAVE_LONG_LONG is not defined. I'll fix it right soon
1999-03-27 02:57:42 +00:00
jband%netscape.com
24e4b3868c
removing (more!) misplaced semi-colons that break some platforms
1999-03-27 02:08:30 +00:00
jband%netscape.com
3ae10d4e6b
removing misplaced semi-colons and comma after last item in enum that break some platforms
1999-03-27 02:00:27 +00:00
jband%netscape.com
6c4b3398a3
integrating code from John Fairhurst <mjf35@cam.ac.uk> to deal with platforms without long long support
1999-03-27 00:30:19 +00:00
danm%netscape.com
17cffb116d
removing glowcode. a:jband
1999-03-26 02:37:22 +00:00
jband%netscape.com
9850a9e41c
catpure caller information to display in the exception if uncaught and verbose is set
1999-03-26 01:31:16 +00:00
mccabe%netscape.com
c17ac10f7c
Move xptinfo, xptcall from export phase (erroneously copied from libxpt Makefile.in) to libs and back out previous tree patch.
1999-03-25 10:28:39 +00:00
jband%netscape.com
9f6df884a6
backout building of xpconnect on Unix
1999-03-25 09:17:54 +00:00
mccabe%netscape.com
0bc66ee504
Adding libxpt and xpconnect to the build.
1999-03-25 07:50:11 +00:00
mccabe%netscape.com
826c36dd89
Not part of the client build.
...
Ignore (generated) JS.c file.
1999-03-25 04:21:26 +00:00
mccabe%netscape.com
63654c73a3
Not part of the client build!
...
Preliminary, non-portable support for compiling JS.xs into a C file.
1999-03-25 04:19:52 +00:00
mccabe%netscape.com
5087a4bffd
Removed support for the JSFILE define. Not to be confused with the
...
'jsfile' js file object, the JSFINE define conditionally compiled
support for allowing the javascript scanner to read from filehandles.
We've decided that it's more annoying to support not supporting that
feature, so we enable it all of the time.
1999-03-25 03:47:02 +00:00
jband%netscape.com
13a165ef01
add xpconnect to the build on win32
1999-03-25 03:39:25 +00:00
mccabe%netscape.com
02975526c0
First cut at unix Makefile support for building the perlconnect
...
javascript-to-perl extension with the standalone javascript shell.
It's mostly a direct copy of a similar mechanism for liveconnect.
Many thanks to Dave Neuer <dneuer@futuristics.net> for a patch
magically resolving issues with linking with perl.
1999-03-24 08:29:03 +00:00
jband%netscape.com
ca84aebf94
getting those Unix Makefiles working again
1999-03-23 20:43:41 +00:00
jband%netscape.com
13907929fa
getting those Unix Makefiles working again
1999-03-23 20:30:06 +00:00
jband%netscape.com
89d20d61cd
re-organized xpconnect tree struct. Main sources moved from xpconnect to xpconnect/src. md stuff moved to xpcom/libxpt/xptcall
1999-03-23 20:22:00 +00:00
jband%netscape.com
1c3c8ba9fb
deleting old stuff before checking in reorged new stuff
1999-03-23 20:09:10 +00:00
jband%netscape.com
f087ac928e
getting the Makefiles working on Linux again
1999-03-23 08:02:27 +00:00
jband%netscape.com
104344b559
getting the Makefiles working on Linux again
1999-03-23 07:49:51 +00:00
jband%netscape.com
bfe18a704e
getting the Makefiles working on Linux again
1999-03-23 07:44:27 +00:00
jband%netscape.com
8a4ca6d27e
getting the Maekefiles working on Linux again
1999-03-23 07:30:19 +00:00
jband%netscape.com
adfeaf4c6b
use code frome:
1999-03-23 02:48:57 +00:00
mccabe%netscape.com
efcf7135ef
Fix to bugzilla bug 4088; fixed javascript Date string parsing to
...
handle 12:30 AM and 12:30 PM properly.
(Previously, the code just added 12 hours whenever it saw PM.)
1999-03-23 02:45:01 +00:00
jband%netscape.com
73ed9e9a0f
update TODO list, fixed finalization to wrapper release mapping for wrapped native
1999-03-19 04:57:09 +00:00
leaf%mozilla.org
0a0f5ac00f
Landing nspr library name change, and plevent function call change.
1999-03-17 21:32:03 +00:00
jband%netscape.com
06796df9d0
use of typelibs via xptinfo working with test program on win32. Untested on Linux. typelib generation not yet integrated into the make system
1999-03-14 06:07:21 +00:00
beard%netscape.com
9b3c1956e6
added IID accessors
1999-03-14 04:40:54 +00:00
ramiro%netscape.com
846235af9b
Make it possible to prefix mozilla dlls that conflict with system dlls.
1999-03-12 12:43:04 +00:00
ramiro%netscape.com
51b24a505b
Change MOZILLA_HOME to MOZILLA_FIVE_HOME so that we dont fight Communicator
...
4.x installations.
1999-03-11 20:00:57 +00:00
jband%netscape.com
de88c428cb
adding Components object. Got rid of jsapi based nsID object and replaced it with reflected xpcom objects for IID and CID. adapted to xpt_struct changes. added allocator static helpers to the module. starting to use nsIComponentManager. fixed scriptable stuff. and on and on
1999-03-10 01:28:49 +00:00
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
akkana%netscape.com
25cd4f851d
Changes to fix the Irix N32/egcs build; thanks to Jason Heirtzler <jasonh@cthulhu.engr.sgi.com>
1999-03-09 00:24:17 +00:00
val4%cornell.edu
21bcb07687
Some changes here and there. Added noted about PerlConnect.pm. Added update history.
1999-03-08 22:43:17 +00:00
beard%netscape.com
826def77ae
took out singleton management, and registering with the repository. That's what the service manager/component manager is for.
1999-03-06 22:25:55 +00:00
scc%netscape.com
31ff626ae9
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
val4%cornell.edu
ae12839ab5
Suport module for jsperl.c. It's not intended for use from Perl.
1999-03-03 16:42:57 +00:00
val4%cornell.edu
19e0242fa3
Fix a prolem with prev. check-in
1999-03-02 23:08:06 +00:00
val4%cornell.edu
8dfeb4aa69
Divided JS.pm into two modules to break dependencies between jsperl.c support functions
...
and functions exporsed from Perl. test.pl fails one of the tests -- need to look at that.
Worspace build settings also changed.
1999-03-02 22:53:16 +00:00
jband%netscape.com
2206c41e7b
nsID JSObject can now do mapping to and from interface names using nsIInterfaceInfoManager. Fixed a bug in getting name. Added nsID tests
1999-03-02 22:51:11 +00:00
jband%netscape.com
7911fad2a7
fix misguided use of ebx in tests too
1999-03-02 18:31:25 +00:00
jband%netscape.com
63af189245
fixes to make it work in release builds: some #ifdef DEBUGs, don't munge ebx register on win32!, stray star, friendlier result if linux code included in non-Linux build
1999-03-02 18:24:17 +00:00
jband%netscape.com
d3f0d5273e
fixed some makefile flags
1999-03-02 07:55:42 +00:00
jband%netscape.com
e8457a35d3
some fixes pointed out by purify. Tests better verify that wrappers are not leaking
1999-03-02 03:32:42 +00:00
brendan%netscape.com
090bf16404
- Added 'W' format to JS_ConvertArguments, for conversion to string and return
...
via a jschar* out parameter.
- Fused common string conversion and argv[i] GC-rooting code in JS_ConvertArgs.
- Added to cvtargs test command, which really needs to stop using a hardwired
format string!
- Fixed char-typed fgetc-receiving variable to be of int type for correct EOF
comparison on machines with unsigned chars.
1999-03-02 02:38:45 +00:00
ramiro%netscape.com
bb5e2580dc
AIX portability fixes. (Waqar Malik <waqar@netscape.com>)
1999-03-01 06:10:54 +00:00
jband%netscape.com
2bc19f18cc
catch JS exceptions when calling a wrapped JSObject and reflect as an nsresult error code to the calling xpcom object - with test
1999-02-28 04:57:13 +00:00
jband%netscape.com
4ee202ed32
using JS exception thrower (with tests)
1999-02-28 04:16:20 +00:00
jband%netscape.com
95667a0fc0
adding code to throw exceptions into JS with customizable messages
1999-02-28 01:41:20 +00:00
jband%netscape.com
3ee35536c3
catch
1999-02-27 06:38:24 +00:00
jband%netscape.com
5c7118d706
added .cvsignore files
1999-02-27 06:31:04 +00:00
jband%netscape.com
1cc06712ea
got rid of allocator hack since the nsAllocator is now alive
1999-02-27 06:26:32 +00:00
alecf%netscape.com
5310ca898f
fix uninitialize variable and fix various signed/unsigned warnings
1999-02-26 17:59:16 +00:00
alecf%netscape.com
977421488a
fix HPUX bustage - can't have const user-defined (typedefed) variables inside structures without initializing them inside that structure
1999-02-26 17:39:28 +00:00
ebina%netscape.com
66e1467fa8
Changing RegisterFactory to use the new API.
1999-02-26 17:19:00 +00:00
warren%netscape.com
97781f4c14
Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
1999-02-26 10:17:14 +00:00
jband%netscape.com
af4ea1e85b
removed cruft
1999-02-26 02:52:48 +00:00
jband%netscape.com
118068fa86
fixed warnings
1999-02-26 02:46:35 +00:00
jband%netscape.com
0bcf5a51d9
Linux x86 now runs and passes all the same tests as Win32. Added md/test as a place and framework to start ports to other platforms
1999-02-26 02:04:33 +00:00
sfraser%netscape.com
d847eb7428
Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order.
1999-02-26 00:54:57 +00:00
jband%netscape.com
806785630b
added unix makesfiles, fixed two bad static casts, invoke code working on Linux, working on stubs code for Linux
1999-02-25 18:14:51 +00:00
sfraser%netscape.com
ae7361f008
File Removed.
1999-02-25 05:09:53 +00:00
beard%netscape.com
0895abe6ef
Updated to CWPro 4 format.
1999-02-25 04:25:04 +00:00
jband%netscape.com
4526bb98d7
initial checkin of linux invoker - untested. slight changes to platform compile time protection
1999-02-24 19:26:51 +00:00
jband%netscape.com
d14ed6f506
banishing win32 specific stuff to its own directory before adding any analogous code for other platforms
1999-02-24 07:17:27 +00:00
jband%netscape.com
6c1d7818fe
lots of cleanup
1999-02-21 00:20:40 +00:00
jband%netscape.com
c0c9d0729d
compiler warning inspired fixes
1999-02-20 09:00:55 +00:00
jband%netscape.com
6badfca6ec
compiler warning inspired fixes
1999-02-20 08:52:00 +00:00
jband%netscape.com
9e9faf246d
added file to Makefile.in and fixed typo
1999-02-20 08:33:21 +00:00
jband%netscape.com
c1f56dd159
jsint was supposed to be jsid
1999-02-20 08:31:36 +00:00
jband%netscape.com
b035f4b934
graphs of all the important objects can now be dumped for diagnostic purposes
1999-02-20 01:31:02 +00:00
jband%netscape.com
0c7e82ae37
in the middle of adding diagnostics
1999-02-19 05:59:59 +00:00
waldemar%netscape.com
f24012b095
Added traditional and super and changed [] to allow multiple arguments
1999-02-19 04:28:16 +00:00
jband%netscape.com
09da76e388
changed MAP_IS_NATIVE to allow for objects that have their own jsObjectOps but still use the slots in the 'normal' manner (this is necessary for XPConnect) - same change as made on SpiderMonkey140_BRANCH
1999-02-18 05:36:16 +00:00
jband%netscape.com
76e705d516
more tests
1999-02-18 04:30:20 +00:00
jband%netscape.com
5ad4f9874c
more tests and type conversion fixes
1999-02-17 09:24:12 +00:00
jband%netscape.com
a205cb2192
more tests and fixed to get the tests to run, clean up of iid stuff for compiling on Linux
1999-02-17 07:07:39 +00:00
jband%netscape.com
896c28ad84
NOT YET PART Of SEAMONKEY - fixes for conversions, added 'load' to test program to breakout js code into its own file, added support for global object being a wrapped native, fixed parent interface support, change makefiles for JS_THREADSAFE, add missing dropProperty support to my Ops, added more tests
1999-02-16 06:29:29 +00:00
jband%netscape.com
b65de451d8
NOT YET PART OF SEAMONKEY - more conversion stuff implemented
1999-02-13 19:28:38 +00:00
jband%netscape.com
e1d388285d
NOT YET PART Of SEAMONKEY - in the middle of adding support for converting more data types, changes to deal with changes to xpt_struct.h
1999-02-12 06:15:06 +00:00
waldemar%netscape.com
770beb7c2f
Added getter, setter, with, default arguments, and renamed declarations to definitions
1999-02-12 04:59:19 +00:00
waldemar%netscape.com
b438df047a
Added option to turn off line breaks within a tag
1999-02-12 04:57:49 +00:00
alecf%netscape.com
1eb4fec1e3
ignore generated files
1999-02-11 07:31:53 +00:00
alecf%netscape.com
810f16627a
add Unix makefiles
1999-02-11 07:29:55 +00:00
sar%netscape.com
eecbed5e4c
Turn of "modification date caching" so that dependencies are sure to work.
1999-02-11 00:04:46 +00:00
waldemar%netscape.com
2170e07fc9
First complete release
1999-02-10 06:42:20 +00:00
waldemar%netscape.com
da47404fd1
Reorganized left-side-expression and suppressed unused nonterminal warnings
1999-02-10 06:41:43 +00:00
waldemar%netscape.com
db5f8596aa
Added :spc
1999-02-10 06:40:53 +00:00
waldemar%netscape.com
331b7966a8
Added support for excluding some nonterminals from grammar
1999-02-10 06:39:58 +00:00
jband%netscape.com
2e54eeb86f
NOT YET PART OF SEAMONKEY - prepped the four files for movement to libxpt, centralized/simplified access to services, fixed InterfaceInfoImpl::GetName, removed files I forgot to remove before
1999-02-10 04:17:53 +00:00
jband%netscape.com
a34a2be5a5
NOT YET PART OF SEAMONKEY - now using types based on xpcom/src/libxpt/public/xpt_struct.h. Using nsIAllocator (which has an implementation hacked in in test/TestXPC.cpp - since the real one in xpcom/src is not being registered and used)
1999-02-09 07:31:00 +00:00
waldemar%netscape.com
40f5437810
File Removed.
1999-02-06 03:25:19 +00:00
waldemar%netscape.com
951d8be6cf
First Checked In.
1999-02-06 03:21:09 +00:00
waldemar%netscape.com
685711e0ef
Removed spaces from file names
1999-02-06 03:20:35 +00:00
jband%netscape.com
e4593e7c1a
NOT YET PART OF SEAMONKEY - removed bogus wrappers, turned runtime methods into wrapper methods, added special interface for wrappedjs methods, fixed spelling, changed return types from nsresult to NS_IMETHODIMP, trimmed extra space (just to pad the difs :)
1999-02-05 06:08:09 +00:00
jband%netscape.com
488ff21c88
fixed enum
1999-02-04 20:05:55 +00:00
jband%netscape.com
45ba453dad
NOT YET PART OF SEAMONKEY - minimal tests of nsIXPCScriptable working
1999-02-04 18:15:08 +00:00
amusil%netscape.com
a9129eb4e6
Added oji, liveconnect and caps shared libs to the registry.
1999-02-04 00:18:22 +00:00
mcafee%netscape.com
7c230013d2
Ignore generated jscpucfg, jsautocfg.h files
1999-02-02 06:15:27 +00:00
waldemar%netscape.com
0def3457bd
First Checked In.
1999-01-30 01:19:00 +00:00
slamm%netscape.com
53e0329beb
CPP_PROG_LINK is now set in rules.mk so it is not needed here.
1999-01-28 00:59:52 +00:00
jband%netscape.com
8502ca6d27
removed IMalloc clone and replaced it with use of nsIAllocator
1999-01-27 23:06:33 +00:00
pollmann%netscape.com
35d81dca2d
Bug 2370: FreeBSD 3.0 patches
1999-01-27 05:10:54 +00:00
sudu%netscape.com
6624efe2b9
OJI MozClassic to raptor merge
1999-01-25 08:05:00 +00:00
jband%netscape.com
9fbe63dd99
NOT PART OF SEAMONKEY. Workingon dealing with more types. Added access to WrappedNative from JSObject
1999-01-20 06:38:00 +00:00
val4%cornell.edu
398493209d
Background image
1999-01-18 03:43:04 +00:00
jband%netscape.com
52e7143833
NOT PART OF SEAMONKEY - factored out data conversion routines, need to now make them handle datatypes not yet handled
1999-01-14 04:25:31 +00:00
val4%cornell.edu
8ddbf0d0d1
Working on condensing the file manipulation functions.
...
Some error checking.
1999-01-13 23:39:46 +00:00
norris%netscape.com
14c78f2b2e
fix bug 335882: crash printing out a function
1999-01-13 23:28:45 +00:00
jband%netscape.com
ad06d77c8b
NOT PART OF SEAMONKEY - initial stuff for calling from native to JS (works with int params and hardcoded InterfaceInfo). quick implementation of nsID for JavaScript
1999-01-13 22:45:12 +00:00
val4%cornell.edu
655712f964
Even more error handling stuff. Will need to go thru the
...
file and double-check all error handlers.
1999-01-08 04:58:34 +00:00
val4%cornell.edu
f450835272
More error handling code
1999-01-08 02:37:38 +00:00
val4%cornell.edu
eb1d915201
Some additional error messages
1999-01-08 02:03:43 +00:00
val4%cornell.edu
49199935a7
*** empty log message ***
1999-01-08 02:03:09 +00:00
jband%netscape.com
2691175a87
calling XPCOM method from JS with two int params using hardcoded InterfaceInfo
1999-01-07 23:36:07 +00:00
jband%netscape.com
3184dee8ea
int constants accessible from JS using hardcoded InterfaceInfo
1999-01-07 05:18:09 +00:00
val4%cornell.edu
289fe17021
Some fixes for native files. This shouldn't probably become exposed in the API...
...
Root.parent now should return null. A problem with mkdir fixed.
1999-01-07 04:41:20 +00:00
val4%cornell.edu
9ea7a8ce2f
Some pretty significant changes in terms of native file support, changed if(file->handle)
...
by if(file->isNative), etc. Made handle/nativehandle a union. Added some warnings.
1999-01-07 04:17:23 +00:00
jband%netscape.com
964a441fec
more stuff that doesn't yet work
1999-01-07 03:49:40 +00:00
val4%cornell.edu
183ff8c444
Done going through the code! Now will need to add error handling,
...
tests, security.
1999-01-06 02:51:26 +00:00
val4%cornell.edu
526ca13869
Almost done with jsfile.c corrections, error handling, etc.
...
This version will compile but may not run.
1999-01-06 02:30:27 +00:00
jband%netscape.com
cd970dd2b8
added header comment
1999-01-06 01:42:11 +00:00
jband%netscape.com
8e69cc657b
Added primitive Win32 invoker. cleaned up a lot of trailing whitespace
1999-01-06 01:31:51 +00:00
val4%cornell.edu
cf7a9076f6
Some more changes, there's not that much left. Need to figure out a
...
model for error reporting and security.
1999-01-05 03:51:30 +00:00
val4%cornell.edu
a300f77744
I am half way through changing the file object error handling code and
...
generally cleaning everything up.
1999-01-05 02:18:26 +00:00
val4%cornell.edu
d6949cc234
Netscape licence added
1999-01-05 01:08:45 +00:00
val4%cornell.edu
951664e9eb
Extended shell. Previously was part of the ns tree. See README.html for
...
more details.
1999-01-04 23:45:08 +00:00
brade%netscape.com
a91213d560
add typecasts to reduce warnings on Macintosh compiler (r/a mike mccabe)
1999-01-04 15:31:52 +00:00
jband%netscape.com
b392c2d9e9
minor fixes
1999-01-04 03:35:42 +00:00
jband%netscape.com
98cca058a3
type names less generic
1999-01-04 03:30:09 +00:00
jband%netscape.com
b1a03903b8
Initial checkin of XPConnect. This is not yet at all functional nor anywhere near finished.
1999-01-04 03:14:01 +00:00
val4%cornell.edu
28c2689592
Changes in the way error reporting works. Removed JS_ReportOutOfMemory
...
because JS_malloc calls it on failure. Removed checks for NULL returned
from JS_GetInstancePrivate because we have a check in JS_SetPrivate.
1999-01-02 04:02:36 +00:00
val4%cornell.edu
4ace9d87e9
Lots of changes in implementation of various functions and formatting.
...
The only major feature added in support of pipes, it hasn't been tested
yet.
1999-01-01 04:37:28 +00:00
val4%cornell.edu
5b70cbb5d7
The following changes were made:
...
jsfile.h
- NewFileObject function exposed
jsfile.c
- Added .msg-style error support of error reporting
- ucs2 changed to binary
- input/output/error properties are created
1998-12-31 05:58:26 +00:00
val4%cornell.edu
b0120fa1ec
The following changes were made:
...
- Changed the DLL export macros JS_EXTERN_API, etc. to conform with the
current standards
- Updates the docs in README.html
- Updated the include locations and the MSDEV project to make
the build process easier.
- Managed to build PerlConnect with Perl 5.005_02. It's not compatible
with previous versions. Don't use ActivePerl! It probably won't work!
- There is a fix to js.c which I am going to chech in a bit later.
1998-12-30 01:36:55 +00:00
val4%cornell.edu
0c30f1eb61
Added support for dir["file"] syntax.
1998-12-25 02:31:49 +00:00
sfraser%netscape.com
2cc3580620
First Checked In.
1998-12-16 03:28:54 +00:00
beard%netscape.com
48c16d8ad3
First Checked In.
1998-12-13 05:01:04 +00:00
ramiro%netscape.com
2009b728de
Add cvsignore entries for makefiles generated bu autoconf.
1998-12-05 09:07:33 +00:00
fur%netscape.com
abc4079908
Compiler-generated file shouldn't be checked in
1998-12-01 04:23:35 +00:00
cyeh%netscape.com
e9d3c67427
Removing static makefiles as a part of the transition to Autoconf. I have taken great
...
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.
If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com .
1998-11-21 00:34:32 +00:00
briano%netscape.com
108d535e80
Change for QNX. Might as well get it in while this file still exists....
1998-11-18 23:16:29 +00:00
cls%seawood.org
c4f9024342
Added include for platform.h inside MOZILLA_CLIENT ifdef. Approved by shaver@netscape.com
1998-11-18 22:14:44 +00:00
cls%seawood.org
ae41107faa
CFLAGS wasn't getting set properly due to ordering problems with config.mk
1998-11-17 22:20:25 +00:00
matt%netscape.com
199468aff8
Re-updated to CW 4.0 - we need it at this level so that the Mac tinderbox doesn't get wedged.
1998-11-13 18:28:59 +00:00
shaver%netscape.com
488f988be6
remove old *.mk sanity checking that isn't needed by autoconf
1998-11-06 15:46:39 +00:00
jband%netscape.com
fbfb840a6c
not part of mozilla build - merging from SpiderMonkey140_BRANCH
1998-11-05 08:57:24 +00:00
jband%netscape.com
25fb25e0f1
not part of mozilla build - merging from SpiderMonkey140_BRANCH
1998-11-05 08:47:44 +00:00
mang%netscape.com
adbd81b844
Fixed possible infinite loop in dependency.
1998-11-05 02:13:43 +00:00
mccabe%netscape.com
0a50098916
Not part of the client build. Propagate perlconnect work from development branch.
1998-11-05 01:53:57 +00:00
mccabe%netscape.com
ab3c1def59
Stable drop of JavaScript interpreter code from SpiderMonkey140_BRANCH
1998-11-05 00:08:43 +00:00
fur%netscape.com
6398bdcdd8
Finished -commit option
1998-11-04 23:02:28 +00:00
fur%netscape.com
2dbcd10593
Script utility for checking in the JS branch
1998-11-04 22:02:26 +00:00
sudu%netscape.com
a4f7620f28
Changes to support liveconnect security using ProxyJNI
1998-11-02 23:11:38 +00:00
matt%netscape.com
9731c4f23a
Updated to 4.0
1998-10-29 00:48:46 +00:00
cls%seawood.org
1f612e9ddf
Some updated to work with nglayout. Others sync'd to remove cruft.
1998-10-28 03:49:12 +00:00
waldemar%netscape.com
697d1f5981
Fixed Mac warning
1998-10-23 20:44:28 +00:00
cls%seawood.org
382f88e891
Removed some MKLINUX & MACLINUX ifdefs. Replace a couple with (defined(linux) && defined(__powerpc__)).
...
Added glibc ifndefs to strdup declarations.
Fixed problem with stderr under glibc 2.1.
Patch submitted by Tom Rini <trini@kernel.crashing.org>.
1998-10-22 06:05:19 +00:00
cls%seawood.org
f57a6b582a
s/defined(SOLARIS)/defined(sun) && defined(__svr4__)/ .... we really need a platform.h to abstract this.
1998-10-21 23:32:43 +00:00
cls%seawood.org
001ed2ffd4
Sync'd various Makefile.ins to their Makefile counterparts.
...
Removed nspr & nspr20 from REQUIRES. Removed NSPR_LDFLAGS.
Changed LIBNSPR refs to NSPR_LIBS.
Removed leftover NSPR20 ifdefs.
1998-10-21 02:13:56 +00:00
cyeh%netscape.com
b4ef35eb6b
Remove NSPR20 #ifdefs
1998-10-19 20:21:57 +00:00
cls%seawood.org
1b12571414
Added checks for Linux Alpha & Linux Sparc. Thanks to Steve Willis <steve@redhat.com> for providing the fix.
1998-10-19 18:37:21 +00:00
cls%seawood.org
8388af6a67
Sparc asm should only be tried on a sparc.
1998-10-19 18:34:41 +00:00
fur%netscape.com
d8ebf0ac3c
The files in this directory are all obsolete. JavaScript development
...
has been moved to the js/src directory. Sample code has been moved to
js/samples.
1998-10-16 22:18:00 +00:00
fur%netscape.com
dc66f02150
1) Change HAVE_LONG_LONG to be JS_HAVE_LONG_LONG to avoid collision with NSPR.
...
2) On Linux, define JS_HAVE_LONG_LONG since we're using gcc.
1998-10-15 18:10:39 +00:00
fur%netscape.com
7526395281
Changed uses of cpp macro LINUX to linux. The former was defined by the old build system, but the latter is defined by the compiler. LINUX is not used in autoconf
1998-10-14 20:27:15 +00:00
fur%netscape.com
38672115e4
In my haste to fix a busted Mac build, I checked in some copy-n-pasted C++ comments. Oops.
1998-10-14 15:25:07 +00:00
fur%netscape.com
7ebd9a6a50
I had fixed the declaration of getttimeofday(), but not the use. Will somebody please tell me how Sun can change the type signature of such a commonly-used function ?
1998-10-14 13:47:12 +00:00
fur%netscape.com
dba3073e49
Group jsutil.c nicely, with other JS files.
1998-10-14 13:16:06 +00:00
fur%netscape.com
764500da39
Add jsutil.c file, required for debug builds.
1998-10-14 13:13:04 +00:00
fur%netscape.com
14a3aa9dac
Added jsutil.c, necessary for debug builds.
1998-10-14 13:12:12 +00:00
fur%netscape.com
484f7374da
Remove declaration of gettimeofday() which is required on some versions of Solaris, but which leads to duplicate declarations on others
1998-10-14 12:02:54 +00:00
fur%netscape.com
e625374abd
Checkpoint JS1.4 from JS_STABLE_10131998_BRANCH. Changes include:
...
+ merging of js/src and js/ref
+ elimination of most dependencies on NSPR
+ JS1.4 feature additions and accumulated bug fixes
More details are in last week's mozilla status report.
1998-10-14 10:22:38 +00:00
fur%netscape.com
50843da7fe
Ignore generated files
1998-10-12 08:05:36 +00:00
beard%netscape.com
3f3172f86b
Removed extraneous ; from IID macro.
1998-10-05 22:37:22 +00:00
beard%netscape.com
5887cb3dd5
Now unwraps JSObject references properly.
1998-10-05 22:36:51 +00:00
cyeh%netscape.com
3c34f3063b
removing obsolete files. use MANIFEST instead.
1998-10-05 18:42:02 +00:00
cls%seawood.org
2044707344
Sync'd with Makefile
1998-10-01 23:17:22 +00:00
joki%netscape.com
be3367506b
Remove accidental checkin.
1998-10-01 23:10:22 +00:00
joki%netscape.com
d665195693
Adding new js window methods/props, moving js string evaluation to UC strings.
1998-10-01 22:23:48 +00:00
sudu%netscape.com
29644366f7
Changes to support secure liveconnect and compiling xpcom interfaces only when MOZ_OJI is defined
1998-09-30 20:41:25 +00:00
sudu%netscape.com
7e8d463bd8
Adding new files for secure liveconnect
1998-09-30 20:41:15 +00:00
brendan%netscape.com
7f2ef26145
- Need JS_THREADSAFE in mozilla.mak and config.mak (and because of the latter,
...
don't need it in js/src/makefile.win).
- Added DOM support.
- Break up really long lines in mozilla.mak using backslashes.
- Added /I../../lib/libdom to several places (ugh).
- factor some mime.lib stuff better, but still not consistent in how SMART_MAIL
and MOZ_MAIL_NEWS select it.
- Include spans and transclusion stuff, shaver and toshok to clean up later.
- Use ?: instead of if/else in layout.c to minimize source and generated code.
- Use strong typing for struct DOM_foo * types without including domstyle.h,
by using mighty struct tags.
- Fix doc_id signedness in lm_dom.h (also eliminate tabs, but use 8 for
tab-width).
1998-09-30 02:07:26 +00:00
sudu%netscape.com
ac6fc0a710
Moved .cpp files to CPPSRCS from CSRCS. apprvd checkin cyeh
1998-09-30 00:24:03 +00:00
bjorn%netscape.com
fe07816072
Fix for negative values, similar to the one I put into jslock.c. This version
...
is used when gcc is *not* the compiler.
1998-09-29 23:39:11 +00:00
bjorn%netscape.com
5d16cd691d
Additional fix to assembly to accommodate for nv < 0.
1998-09-29 23:31:27 +00:00
bjorn%netscape.com
dfbc18b043
Changed the assertion which used to trigger when nv < 0 in CompareAndSwap.
...
It now triggers when nv == -1. This is only relevant on a Solaris compiled
for SPARC v8.
1998-09-29 22:42:08 +00:00
pinkerton%netscape.com
7c640d6f80
Updated projects for Pro4. Turned off mod-date caching for depend builds. Using InterfacesStubs wrapper where appropriate for Carbon.
1998-09-29 17:11:00 +00:00
mcafee%netscape.com
ce5c3afc88
Missing slash, fixes Linux autoconf breakage. Thanks to <smorrison@gte.com>.
1998-09-29 04:36:29 +00:00
mccabe%netscape.com
02e4d1f0cf
Initial checkin of PerlConnect, migrated from the private tree.
...
Perlconnect is a set of facilities for controlling and interacting
with a perl interpreter from javascript, and vice versa. It supplies
several mechanisms for transparently reflecting perl scalars, hashes
and arrays as the corresponding types in javascript.
Currently maintained by Vladimir Livshits, val4@cornell.edu
1998-09-28 22:05:39 +00:00
mcafee%netscape.com
ba1cf16b8f
Added Rhapsody to the long list of OS's that can't handle localtime_r().
1998-09-28 07:12:12 +00:00
cyeh%netscape.com
7f4d3649e0
(Actually mlm)
...
- Remove definition of inline which is breaking linux build
1998-09-25 23:49:30 +00:00
mlm%netscape.com
436a20c45b
Branch landing: Multithreading libmocha in mozilla.
...
- Add casts to make -DJS_THREADSAFE work.
1998-09-25 22:02:47 +00:00
mlm%netscape.com
8a7f9bed7f
Branch landing: Multithreading libmocha in mozilla.
...
- Add -DJS_THREADSAFE
1998-09-25 22:02:19 +00:00
rogerl%netscape.com
a0048d229d
Oops, checked in a call to decompileFunctionBody which was for debugging
...
purposes only.
1998-09-25 18:10:27 +00:00
wtc%netscape.com
cb7942563b
Removed the inclusion of private NSPR header "prosdep.h" on the Mac.
...
Reviewed and approved by Warren Harris.
1998-09-25 04:43:58 +00:00
wtc%netscape.com
b6396e45b6
Removed references to the obsolete library libmsgc21 in the comments.
...
Reviewed and approved by Scott Furman.
Files changed: js/src/{Makefile,Makefile.in},
js/src/xpcom/{Makefile,Makefile.in}.
1998-09-24 14:16:52 +00:00
jband%netscape.com
bbc8879ec5
added class to minimize drawinf of list items. lxr friendlier generated files
1998-09-24 07:28:52 +00:00
jband%netscape.com
e00a320f96
add targets, generated files use C-stlye comments to be more lxr friendly
1998-09-24 07:27:07 +00:00
fur%netscape.com
0924815636
Deleting obsolete contents of jsj directory
1998-09-24 00:32:24 +00:00
rogerl%netscape.com
1677c5f2ec
Added the #define for turning on the default messages. Not sure if this is
...
the right place for it, but I wanted to get it in before the merge-a-thon.
1998-09-23 20:41:13 +00:00
rogerl%netscape.com
42ea15c0fa
Changes for error messages - arguments are now jschar.
1998-09-23 20:38:23 +00:00
rogerl%netscape.com
34a0fc731a
Bug #104766 , decompileFunctionBody needed to set scope in printer before
...
calling decompileCode.
1998-09-23 20:37:58 +00:00
rogerl%netscape.com
1b3214c449
Changes for error messages - arguments are now jschar.
...
Bug #104766 , decompileFunctionBody needed to set scope in printer before
calling decompileCode.
1998-09-23 20:36:18 +00:00
bjorn%netscape.com
93ad2631a7
Now using a lock in prarena instead of compare-and-swap.
1998-09-23 20:19:28 +00:00
bjorn%netscape.com
67f98161c1
Removed a redundant assignment, f->susp=-1.
1998-09-23 19:51:26 +00:00
fur%netscape.com
f4b103218e
When finalizing the prototype objects, don't try to access the JNIEnv, since that can cause the JVM to be unnecessarily loaded
1998-09-23 18:36:38 +00:00
bjorn%netscape.com
dbd174aa04
Patched the name JS_USE_ONLY_NSPR_LOCKS.
1998-09-22 21:45:13 +00:00
wtc%netscape.com
3b8cb781fb
NO_NSPR_PRIVATE_HEADER_BRANCH landing. Removed the inclusions of
...
private NSPR headers (prosdep.h and primpl.h) from the Mozilla source.
The part of prosdep.h that is actually needed by Mozilla was extracted
and put in the new file mozilla/include/xp_path.h.
1998-09-22 16:59:57 +00:00
fur%netscape.com
e0dc1d9ab1
First Checked In.
1998-09-22 03:07:13 +00:00
beard%netscape.com
f76185761d
Turned off registering the native methods that are now installed by the plugin.
1998-09-22 02:29:36 +00:00
beard%netscape.com
019915d254
Changed all interfaces to use UNICODE strings, changed some ints to jints.
1998-09-22 02:24:56 +00:00
beard%netscape.com
644ec01ca5
Added netscape_javascript_JSObject.h.
1998-09-22 02:23:44 +00:00
matt%netscape.com
38f78db0e2
Adding mak file for HP-UXB.10.20
1998-09-22 02:13:56 +00:00
norris%netscape.com
17bc1b47f5
Fix bug 323696 "js12: unimplemented bytecode error in switch test"
...
Rename js_ResetCodeGenerator to js_FinishCodeGenerator to indicate that
js_InitCodeGenerator must be called after finish before it can be reused.
1998-09-21 17:17:26 +00:00
brendan%netscape.com
4e50700cf3
Fix last checkin.
1998-09-20 02:58:41 +00:00
norris%netscape.com
08ad5b88c4
Remove ECMA v2 versioning since v2 is far from settled and we don't know which JavaScript version will implement it.
1998-09-18 20:40:35 +00:00
norris%netscape.com
b99dad572b
Update version number and release date. Use the date of our next customer drop.
1998-09-18 20:35:09 +00:00
rogerl%netscape.com
4e6d31693b
Bug #315139 (aka 104859). Some discrepancies between JS1.2 behaviour for
...
matching at empty pattern at end of string. I'm not real confident of
this fix since it removes code that seems to explicitly address the issue,
but it does fix the bug.
1998-09-18 20:22:59 +00:00
rogerl%netscape.com
d6fadbfcf5
Bug #316839 . Re-allocation of space for flat1/flat coalesce wasn't using
...
sizeof(jschar).
1998-09-18 20:20:53 +00:00
jband%netscape.com
8f013128c5
(not part of client build) added short description to each source file
1998-09-18 19:56:45 +00:00
fur%netscape.com
80d7ac77f8
We decided not to create mini-NSPR
1998-09-18 18:09:26 +00:00
sudu%netscape.com
d367add305
Removed dependancy on caps/oji plugin stuff in building liveconnect
1998-09-18 02:28:50 +00:00
warren%netscape.com
d668f0e06c
Abstracted away need for JavaVM object and GetJavaVM plugin API call.
1998-09-18 01:29:08 +00:00
jband%netscape.com
5a01795fc7
(not part of client build) added call/return hooks to js_Invoke and js_Execute. Also added additional accessors to jsdbgapi for JSStackFrame contents. This will better facilitate tracking exceptions as they propagate up the stack, allow for faster stepping schemes, and support less intrusive tracing/profiling schemes.
1998-09-18 00:57:11 +00:00
mccabe%netscape.com
52ad7eee4d
Propagate mcafee compile-warning fixes from js/src.
1998-09-17 23:48:20 +00:00
beard%netscape.com
323bad066e
09171998 LiveConnect Carpool
1998-09-17 20:41:00 +00:00
sudu%netscape.com
d40f36ea7f
including config.mak to get default MOZ_OJI flag being set in config
1998-09-17 19:22:38 +00:00
beard%netscape.com
9222ac3da4
09171998 LiveConnect Carpool
1998-09-17 19:20:20 +00:00
sudu%netscape.com
c1b4798eb7
removed c++ style comments
1998-09-17 19:06:00 +00:00
sudu%netscape.com
2347f56a4d
Included confg.mk so that MOZ_OJI flag gets picked up from there. Else liveonnect dir would not be traversed
1998-09-17 18:35:15 +00:00
sudu%netscape.com
c06e4c58e5
Added new XPCOM apis to liveconnect
1998-09-17 18:21:49 +00:00
sudu%netscape.com
2f75fb0a91
removing jni files which were placed by mistake in _jri dir
1998-09-17 18:18:16 +00:00
sudu%netscape.com
a99c5bf3f0
Resurrecting the files which were placed in wrong dir _jri
1998-09-17 18:17:04 +00:00
sudu%netscape.com
624ee74854
New xpcom liveconnect apis
1998-09-17 18:13:55 +00:00
jband%netscape.com
064288d52b
(not part of client build) moving to mozilla from jsdse_branch of ns/js/jsd/corba. This code constitutes the server side of the Corba/iiop based remote JavaScript debugging system. There is not currently a build system for the C++ code in place
1998-09-16 22:24:00 +00:00
jband%netscape.com
8d552690e0
(not part of client build) added single makefile controlled switchpoint using awk generated Java source file for ASSERT and DEBUG in ifcui
1998-09-16 19:04:53 +00:00
mcafee%netscape.com
7d2763b637
Uninitialized variable compiler warnings on Linux
1998-09-16 06:54:49 +00:00
mcafee%netscape.com
cf997d12d6
Uninitialized variable compiler warnings on Linux
1998-09-16 05:16:58 +00:00
jband%netscape.com
1bd8f8e166
(not part of client build) initial checkin of mozilla/js/jsdj (migrated from ns/js/jsdj)
1998-09-16 02:07:50 +00:00
jband%netscape.com
c2f2903d6c
(not EVEN part of mozilla) fix conditional compile code to allow use of debugger without liveconnect
1998-09-16 00:56:47 +00:00
ccooper%netscape.com
0e3859c96c
Added NPL to LiveConnect java classes.
...
New file 'JSWrappedException' is used for passing exceptions between Java
and JavaScript.
1998-09-15 19:53:48 +00:00
rogerl%netscape.com
1de575797f
Fixed bug #316293 ; when break was very first statement in a loop it wasn't
...
getting patched and so looped for ever.
1998-09-14 22:33:19 +00:00
norris%netscape.com
e4ef097296
Fix 179417 "crash in with tests with with object"
...
The problem was that when "w=With()" is executed, the new object "w" is created
such that it shares a scope with Object.prototype. When GC runs and
Object.prototype and "w" are both collected, the test in js_DropObjectMap
currently looks like
if (MAP_IS_NATIVE(map) && ((JSScope *)map)->object == obj)
((JSScope *)map)->object = NULL;
The problem is that MAP_IS_NATIVE is false because the object ops are special
for the With object. Thus map->object is left nonnull and when "w" is collected,
it tries to drop its scope, which causes map->object to be referenced, causing
the null dereference.
Update MAP_IS_NATIVE to include With objects as well.
1998-09-14 22:01:01 +00:00
jband%netscape.com
aed9fecc0f
added CRT_CALL decoration to callback typedefs in jsprvtd.h (it had only been used in jspubtd.h) and moved the last remaining callback typedef (JSTrapHandler) out of jsdbgapi.h and into jsprvtd.h along with the others
1998-09-11 19:58:15 +00:00
brendan%netscape.com
db6f030682
- Fix js_AllocTryNotes to track how much space has been allocated from tempPool
...
for trynotes in the current code generator, and grow that space as needed.
- Avoid dividing by a multiple of 3 (JSTryNote is 3 ptrdiff_t's) via (char *)
arithmetic.
1998-09-11 09:25:15 +00:00
jband%netscape.com
a176d21d9e
(not part of mozilla build) added source hook to jsdbgapi so that debugger can get clean access to source from jsscan when the JSFILE hack is used
1998-09-11 04:04:26 +00:00
brendan%netscape.com
f4dfd6b008
Don't CHECK_BRANCH(len) in GOSUB (len must be > 0) or at all in RETSUB.
1998-09-10 20:46:37 +00:00
brendan%netscape.com
2d4896a55d
- GOSUB pushes the next pc after it, not its own pc (tradition!) and RETSUB
...
sets pc to the unbiased result of the pop.
- Use #if JS_HAS_EXCEPTIONS in the decompiler, fiddle similar cosmetic stuff.
1998-09-10 20:42:26 +00:00
norris%netscape.com
4b1cfedc62
Fix 312954 "monkey: on HPUX, special case failure when dividing by -0"
1998-09-10 20:27:16 +00:00
brendan%netscape.com
23e6a804c2
- Added commentary for TOK_DEFSHARP nodes explaining pn_kid's purpose.
...
- Don't over-commend nearby #endifs at the expense of legibility.
1998-09-10 20:13:06 +00:00
brendan%netscape.com
2c20c38cbc
- Use JSBool for MatchChar's return type and values.
...
- Spacing nits.
1998-09-10 19:58:15 +00:00
brendan%netscape.com
39468107f2
Remove excessive JS_FRIEND_API uses; clean up nits.
1998-09-10 19:18:23 +00:00
shaver%netscape.com
4669a11d9a
clean up old assertions and remove vestigial tryLimit
1998-09-10 17:45:37 +00:00
shaver%netscape.com
bc8cabf0a8
fix memory leak
1998-09-10 14:56:58 +00:00
brendan%netscape.com
066a9e29bc
Need to prevent GC activation during compile on the compiling context, not
...
just when evaluating old-style switch case expressions.
1998-09-10 07:09:44 +00:00
brendan%netscape.com
5666dc55db
Remove javaData, left over from original LiveConnect.
1998-09-09 19:20:07 +00:00
brendan%netscape.com
b939515f17
Now that SRC_COMMA has been renamed to reflect its generality (SRC_PCDELTA),
...
and more important, to save a byte of useless note offset, use SRC_CONTINUE
instead of SRC_PCDELTA to annotate JSOP_ENDINIT when there's an extra comma
at the end of an array literal (e.g. [1,2,,]).
1998-09-09 19:18:01 +00:00
brendan%netscape.com
876b607ce8
- Might as well use tempPool to arena-allocate collected_args as well as the
...
tokenstream in Function, to avoid calling malloc at all.
- But do check for malloc failure under PR_ARENA_ALLOCATE (the old call to
JS_malloc was unchecked).
1998-09-09 10:02:12 +00:00
brendan%netscape.com
b91138b3e9
Fix tempPool bloat bugs in Function by mark/release around NewTokenStream.
1998-09-09 09:50:40 +00:00
brendan%netscape.com
165efd95a2
- Don't cast malloc's return value, it's void *.
...
- Don't double-report a scanner error such as illegal character in
Function("a@b", "return a*b")
- Do report a "malformed formal parameter" error in
Function("a,b,", "return a*b")
- Fiddle comments to more precisely rule out the above bugs.
1998-09-09 09:27:56 +00:00
brendan%netscape.com
d6bcc66b5a
JSMSG_NO_FORMAL duplicated DUPLICATE_FORMAL, now is reborn as BAD_FORMAL.
1998-09-09 09:04:35 +00:00
brendan%netscape.com
0d9f9884d3
Improve TABLESWITCH comment precision and add XXX about JSVERSION_IS_ECMAv2.
1998-09-09 06:35:30 +00:00
brendan%netscape.com
d8ab773a94
Renamed SRC_COMMA to SRC_PCDELTA and fixed related comments.
1998-09-09 02:16:19 +00:00
brendan%netscape.com
9aeed8c533
Fix busted version check in JSOP_TABLESWITCH.
1998-09-09 02:01:52 +00:00
shaver%netscape.com
41f9d67912
ToBoolean behaviour for all non-ECMA versions, not just 1.2
1998-09-08 20:59:19 +00:00
beard%netscape.com
939e21a6a8
Changed JavaPackage_resolve, to remove a memory leak.
1998-09-08 19:08:09 +00:00
brendan%netscape.com
5de3307f74
Don't emit two SRC_HIDDENs in a row.
1998-09-08 18:26:37 +00:00
norris%netscape.com
c796c40dc7
Fix bug: space was not allocated for terminal '\0' in string.
...
Spell "JavaScript" correctly.
1998-09-08 18:18:52 +00:00
brendan%netscape.com
40006025df
Oops! How did that ever work on my Win32 build?
1998-09-08 05:49:12 +00:00
brendan%netscape.com
f8bbc56e36
js.c jsemit.c jsemit.h jsgc.c jsinterp.c jsopcode.c jsopcode.def
...
- Switch improvements:
- JSOP_CONDSWITCH is a 1 byte nop, not variable length with the same kind
of immediate operand as JSOP_LOOKUPSWITCH (which is useless except for
decompilation). New scheme uses SRC_COMMA notes on each JSOP_CASE opcode,
usually 2 bytes per note, and a typically-1-byte 2nd offset on SRC_SWITCH:
1 + 2 * ncases
vs. the previous JSOP_LOOKUPSWITCH immediate, which consumed:
4 * ncases
bytes after the switch opcode just for decompilation.
- SRC_SWITCH has two offsets, first to end of switch as before, the second
to first case if JSOP_CONDSWITCH, for decompilation.
- Optimize switches with all-constant cases using JSOP_TABLESWITH, or if
that can't be used, JSOP_LOOKUPSWITCH, before falling back on ECMAv2's
JSOP_CONDSWITCH.
- Use cx->gcDisabled when evaluating case exprs at compile time for old,
pre-ECMAv2 switches, to prevent branch-callback-based GC invocations
from ripping apart the unrooted temporary script for each case expr.
- Fixed up stale SRC_SWITCH comments in jsemit.h.
jsemit.c jsemit.h
- TREE_CONTEXT_INIT to match ATOM_LIST_INIT, not English word order.
- Reorganized JSCodeGenerator to sort of match argument order to
js_InitCodeGenerator.
- Got rid of confusing CG_RESET* macros and used memset(cg, 0, sizeof *cg)
and non-zero-default init in js_InitCodeGenerator. js_ResetCodeGenerator
just releases the code and temp arena pools and leaves the cg in a state
where it must be re-initialized (as before, but more obvious).
- In the same spirit, don't do partial "resets" or src and trynotes in their
js_FinishTaking*Notes functions -- those are friends of jsscript.c and are
not general, idempotent functions.
jsapi.c jsapi.h jsarray.c jsatom.c jsatom.h jscntxt.c jsemit.c jsmsg.def
jsnum.c jsobj.c jsopcode.c jsregexp.c jsscan.c jsstr.c jsxdrapi.
- Use PR_snprintf rather than sprintf always, so we don't have to worry
about systems with 64-bit longs that overflow 12-byte buffers and open
Morris-Worm-type security holes.
- Trim extra spaces, fix hanging indentation, and similar anal retention.
- Renamed JSMSG_BAD_PROTO_SORT to JSMSG_BAD_SORT_ARG cuz that's what it
is complaining about.
- SRC_CATCHGUARD still lived in comments, but it's SRC_CATCH in code.
jscntxt.c jscntxt.h jsinterp.c
- Packed nearby JSPackedBools and added a new one: gcDisabled, for use by
jsemit.c's pre-ECMAv2 switch case expr eval.
- Rip out old js_InterpreterHooks stuff from original liveconnect (moja).
- Remove javaData and savedErrors from JSContext. Leaving it to fur or
shaver to remove javaData from jsscript.h.
1998-09-08 05:39:51 +00:00
brendan%netscape.com
46aa885dda
Remove '(balance' comments, fix hanging indents, other nits.
1998-09-06 19:23:06 +00:00
brendan%netscape.com
609066b387
Fix switch comments, it's not a ternary node any longer.
1998-09-06 19:19:04 +00:00
brendan%netscape.com
ecee262fc9
- Use consistent spelling in the API: "Callback" not "CallBack" -- it's a one
...
word neologism, not two words.
- Use consistent neighboring terseness ("error" rather than "err" in intercaps
identifiers).
- Don't leave pointers in JSErrorReport to freed memory if bailing on OOM in
jscntxt.c:js_ExpandErrorArguments.
- Hanging indentation, code fusion via continue, and other misc. cleanups.
1998-09-06 08:07:35 +00:00
bjorn%netscape.com
1bb3e5b0bf
Added a missing read in ArenaAllocate.
1998-09-05 00:36:14 +00:00
bjorn%netscape.com
2d12c330d1
Locks with almost no global locking. This will relieve contention.
1998-09-05 00:34:03 +00:00
shaver%netscape.com
6a77edc230
fix ifdef breakage
1998-09-04 18:48:16 +00:00
norris%netscape.com
f6a67c927e
Previous checkin was mistaken; back it out.
1998-09-04 00:47:22 +00:00
norris%netscape.com
dc23c0e4d4
Add support for ECMA switch statements. These are like LISP cond in that they
...
evaluate the case label each time.
Still to do is to optimize so that TABLESWITCH and LOOKUPSWITCH are created
when possible.
1998-09-04 00:45:21 +00:00
rogerl%netscape.com
c75452266b
Removed redundant #undef
1998-09-03 22:50:55 +00:00
cyeh%netscape.com
1c64db1d73
remove JSJDebug.o and JSJ.o files from all targets. also turn modification date caching off to fix dependencies not working
1998-09-03 20:53:27 +00:00
rogerl%netscape.com
2fef67b510
New errorNumber handling.
...
Fixed bug #317398 , for loop without condition wasn't decompiling the body
correctly since the first statement in that body was getting eaten by
mistake when trying to consume the condition expression.
1998-09-03 20:44:55 +00:00
rogerl%netscape.com
fd393cb2aa
New errorNumber handling
1998-09-03 20:35:41 +00:00
rogerl%netscape.com
f4c1e2bc8a
New break-out of error message text from core engine
1998-09-03 20:33:32 +00:00
rogerl%netscape.com
dd93d6bab1
New errorNumber handling
1998-09-03 20:29:37 +00:00
fur%netscape.com
cf089a8339
Backing out check-in of these files that are causing pain with Mozilla builds,
...
at least until we can properly control search paths on the Mac.
1998-09-03 07:28:30 +00:00
cyeh%netscape.com
aa846c401f
re-arranged search path so that :dist is searched before the local
project folder.
1998-09-03 05:01:40 +00:00
fur%netscape.com
0a34ab0e7d
Added Mac-specific defines.
1998-09-03 03:52:13 +00:00
fur%netscape.com
6c8df0e23c
*** empty log message ***
1998-09-03 03:51:38 +00:00
fur%netscape.com
7751496487
Ignore generated files
1998-09-03 03:47:13 +00:00
fur%netscape.com
727e88915d
Checked in wrong version of project by mistake. This is the right one.
1998-09-03 03:46:25 +00:00
fur%netscape.com
97885207f0
Added comments and declaration of PR_Abort().
1998-09-03 03:40:50 +00:00
fur%netscape.com
b44ae2a355
Project files to build standalone JS using mini-NSPR
1998-09-02 22:38:20 +00:00
fur%netscape.com
2b48c8cb1d
Minimal NSPR subset required to build JS engine
1998-09-02 22:37:14 +00:00
fur%netscape.com
9f23931161
ignore generated files
1998-09-02 22:36:05 +00:00
mccabe%netscape.com
ab9b3e68d3
Further exception work - added 'message' to the js_ErrorToException
...
call, and experimented with copying the original JSErrorReport into
private data. Much of this to support a toString method for exception
objects.
It's not polished, but I wanted to get toString available quickly.
1998-09-02 20:01:34 +00:00
mccabe%netscape.com
6d679d576b
Another platform!
...
Thanks go to Marc Fraioli <fraioli@dg-rtp.dg.com> for
the initial port of the js/ref standalone javascript
engine to DG/UX.
1998-09-02 08:19:31 +00:00
mccabe%netscape.com
a559236681
Fixes for NetBSD and OpenBSD.
...
Thanks Marco S Hyman <marc@snafu.org>.
1998-09-02 07:56:50 +00:00
bjorn%netscape.com
600c519f00
Added compare-and-swap patches for AIX (_check_lock) and Solaris (stbar).
1998-09-01 20:21:11 +00:00
shaver%netscape.com
01f3edae31
if throwing, cx->exception is a valid root
1998-09-01 12:38:59 +00:00
mccabe%netscape.com
ea764e6ca8
restore npl.
1998-09-01 01:16:45 +00:00
mccabe%netscape.com
b1360a1d96
More runtime errors now bound to exceptions.
...
Most of these will require a second look, but I wanted to get all of
them (that need exceptions) throwing something interesting.
1998-09-01 01:15:16 +00:00
beard%netscape.com
5a078003d0
The equals method isn't native in the Mozilla tree.
1998-08-31 23:39:51 +00:00
beard%netscape.com
0ef35aea1f
Changed JavaPackage_resolve so that it doesn't return immediately if quiet_resolve_failure is true. Otherwise, pre_define_java_packages fails.
1998-08-31 23:39:04 +00:00
warren%netscape.com
df46919654
Added jsj_JavaMember.c (Changes from SpiderMonkey131_BRANCH of js/ref/liveconnect.)
1998-08-31 20:17:31 +00:00
beard%netscape.com
31ebc87cdd
Changes from SpiderMonkey131_BRANCH of ns/ref/liveconnect.
1998-08-31 20:15:32 +00:00
beard%netscape.com
df72b1ae5e
Added jsj_JavaMember.c (Changes from SpiderMonkey131_BRANCH of ns/ref/liveconnect.)
1998-08-31 20:12:42 +00:00
mccabe%netscape.com
6e240ffb5b
Further runtime error work... expose many new errors as catchable
...
exceptions. Mostly syntax errors, so far. Fixed missing #if
JS_HAS_ERROR_EXCEPTIONS
1998-08-31 09:49:43 +00:00
mccabe%netscape.com
38dfa16122
Added a call to js_ErrorToException to
...
the compile-error reporting mechanism,
providing a way to associate exceptions
(very likely SyntaxError exceptions)
with compile-time errors.
(Hopefully this is temporary, as I'd
prefer one central place in the
error-reporting process to put the
js_ErrorToException call.)
Also changed the error reporter in js.c
to only ignore error reports marked with
the JSREPORT_EXCEPTION advisory flag when
the error occurs during javascript execution.
If it's at the toplevel compilation
level, then the error is still reported
(and the exception discarded.)
The api is feeling slightly dirtier, but
it still seems like the best
compromise...
1998-08-31 08:17:40 +00:00
mccabe%netscape.com
a6a41f773e
Added jsmsg.def to the list of files used by the
...
'make tar' target.
1998-08-31 07:33:13 +00:00
mccabe%netscape.com
c295318e74
Made the enum JSErrNum into a typedef
...
enum JSErrNum, and changed a uintN
errorNumber declaration to JSErrNum.
It'd be nice to change the uintN
errorNumber field in JSErrorReport to
JSErrNum, but it's not clear that
JSErrNum is or should be exposed in the
API. Any C esthetes want to offer their
opinions?
It made my debugger slightly happier.
1998-08-31 07:07:26 +00:00
fur%netscape.com
ac62391b29
Shane's makefiles
1998-08-29 03:04:11 +00:00