403 Commits

Author SHA1 Message Date
fur%netscape.com
57893c342f 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.


git-svn-id: svn://10.0.0.236/trunk@12898 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 18:10:39 +00:00
fur%netscape.com
5c124270ab 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
git-svn-id: svn://10.0.0.236/trunk@12818 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:27:15 +00:00
fur%netscape.com
3c23c30dbf In my haste to fix a busted Mac build, I checked in some copy-n-pasted C++ comments. Oops.
git-svn-id: svn://10.0.0.236/trunk@12804 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 15:25:07 +00:00
fur%netscape.com
30b4dee6b8 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 ?
git-svn-id: svn://10.0.0.236/trunk@12803 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 13:47:12 +00:00
fur%netscape.com
234afb6498 Group jsutil.c nicely, with other JS files.
git-svn-id: svn://10.0.0.236/trunk@12802 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 13:16:06 +00:00
fur%netscape.com
5978cd996d Add jsutil.c file, required for debug builds.
git-svn-id: svn://10.0.0.236/trunk@12801 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 13:13:04 +00:00
fur%netscape.com
8e51f4d46e Added jsutil.c, necessary for debug builds.
git-svn-id: svn://10.0.0.236/trunk@12800 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 13:12:12 +00:00
fur%netscape.com
b9def1b64c Remove declaration of gettimeofday() which is required on some versions of Solaris, but which leads to duplicate declarations on others
git-svn-id: svn://10.0.0.236/trunk@12799 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 12:02:54 +00:00
fur%netscape.com
e655606d45 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.


git-svn-id: svn://10.0.0.236/trunk@12797 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 10:22:38 +00:00
beard%netscape.com
f6c6701b08 Removed extraneous ; from IID macro.
git-svn-id: svn://10.0.0.236/trunk@11949 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:37:22 +00:00
beard%netscape.com
d51f6ab011 Now unwraps JSObject references properly.
git-svn-id: svn://10.0.0.236/trunk@11948 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:36:51 +00:00
cyeh%netscape.com
24bc22fe14 removing obsolete files. use MANIFEST instead.
git-svn-id: svn://10.0.0.236/trunk@11913 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:42:02 +00:00
cls%seawood.org
94dcc80bee Sync'd with Makefile
git-svn-id: svn://10.0.0.236/trunk@11719 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:17:22 +00:00
joki%netscape.com
e8b18e86a6 Remove accidental checkin.
git-svn-id: svn://10.0.0.236/trunk@11718 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:10:22 +00:00
joki%netscape.com
0cea84a3d0 Adding new js window methods/props, moving js string evaluation to UC strings.
git-svn-id: svn://10.0.0.236/trunk@11715 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 22:23:48 +00:00
sudu%netscape.com
5c9f54d6fa Changes to support secure liveconnect and compiling xpcom interfaces only when MOZ_OJI is defined
git-svn-id: svn://10.0.0.236/trunk@11590 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:41:25 +00:00
sudu%netscape.com
e9584f137a Adding new files for secure liveconnect
git-svn-id: svn://10.0.0.236/trunk@11588 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:41:15 +00:00
brendan%netscape.com
ecce3f68e3 - 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).


git-svn-id: svn://10.0.0.236/trunk@11524 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 02:07:26 +00:00
sudu%netscape.com
d4a78dc325 Moved .cpp files to CPPSRCS from CSRCS. apprvd checkin cyeh
git-svn-id: svn://10.0.0.236/trunk@11502 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:24:03 +00:00
bjorn%netscape.com
316f030593 Fix for negative values, similar to the one I put into jslock.c. This version
is used when gcc is *not* the compiler.


git-svn-id: svn://10.0.0.236/trunk@11482 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:39:11 +00:00
bjorn%netscape.com
1db1439f26 Additional fix to assembly to accommodate for nv < 0.
git-svn-id: svn://10.0.0.236/trunk@11477 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:31:27 +00:00
bjorn%netscape.com
017dc6f116 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.


git-svn-id: svn://10.0.0.236/trunk@11462 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:42:08 +00:00
pinkerton%netscape.com
c60a24416a Updated projects for Pro4. Turned off mod-date caching for depend builds. Using InterfacesStubs wrapper where appropriate for Carbon.
git-svn-id: svn://10.0.0.236/trunk@11359 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:11:00 +00:00
mcafee%netscape.com
e8b72d2289 Missing slash, fixes Linux autoconf breakage. Thanks to <smorrison@gte.com>.
git-svn-id: svn://10.0.0.236/trunk@11319 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 04:36:29 +00:00
mccabe%netscape.com
b99526dfbb 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


git-svn-id: svn://10.0.0.236/trunk@11282 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:05:39 +00:00
mcafee%netscape.com
add9d08e27 Added Rhapsody to the long list of OS's that can't handle localtime_r().
git-svn-id: svn://10.0.0.236/trunk@11207 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 07:12:12 +00:00
cyeh%netscape.com
e3ec535a8f (Actually mlm)
- Remove definition of inline which is breaking linux build


git-svn-id: svn://10.0.0.236/trunk@11124 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:49:30 +00:00
mlm%netscape.com
aa0f94398c Branch landing: Multithreading libmocha in mozilla.
- Add casts to make -DJS_THREADSAFE work.


git-svn-id: svn://10.0.0.236/trunk@11078 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:02:47 +00:00
mlm%netscape.com
6b810bf31d Branch landing: Multithreading libmocha in mozilla.
- Add -DJS_THREADSAFE


git-svn-id: svn://10.0.0.236/trunk@11077 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:02:19 +00:00
rogerl%netscape.com
e47ccc415b Oops, checked in a call to decompileFunctionBody which was for debugging
purposes only.


git-svn-id: svn://10.0.0.236/trunk@11058 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:10:27 +00:00
wtc%netscape.com
4aaac00988 Removed the inclusion of private NSPR header "prosdep.h" on the Mac.
Reviewed and approved by Warren Harris.


git-svn-id: svn://10.0.0.236/trunk@11019 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 04:43:58 +00:00
wtc%netscape.com
0ed6d23983 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}.


git-svn-id: svn://10.0.0.236/trunk@10914 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:16:52 +00:00
jband%netscape.com
8ba7042512 added class to minimize drawinf of list items. lxr friendlier generated files
git-svn-id: svn://10.0.0.236/trunk@10902 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 07:28:52 +00:00
jband%netscape.com
0a736ba31f add targets, generated files use C-stlye comments to be more lxr friendly
git-svn-id: svn://10.0.0.236/trunk@10901 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 07:27:07 +00:00
fur%netscape.com
1669c00013 Deleting obsolete contents of jsj directory
git-svn-id: svn://10.0.0.236/trunk@10864 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:32:24 +00:00
rogerl%netscape.com
59a95935d3 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.


git-svn-id: svn://10.0.0.236/trunk@10833 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:41:13 +00:00
rogerl%netscape.com
321b7ee962 Changes for error messages - arguments are now jschar.
git-svn-id: svn://10.0.0.236/trunk@10831 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:38:23 +00:00
rogerl%netscape.com
855761697c Bug #104766, decompileFunctionBody needed to set scope in printer before
calling decompileCode.


git-svn-id: svn://10.0.0.236/trunk@10830 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:37:58 +00:00
rogerl%netscape.com
50fd6c1e43 Changes for error messages - arguments are now jschar.
Bug #104766, decompileFunctionBody needed to set scope in printer before
calling decompileCode.


git-svn-id: svn://10.0.0.236/trunk@10829 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:36:18 +00:00
bjorn%netscape.com
7f3510ee2e Now using a lock in prarena instead of compare-and-swap.
git-svn-id: svn://10.0.0.236/trunk@10827 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:19:28 +00:00
bjorn%netscape.com
63784f2ba1 Removed a redundant assignment, f->susp=-1.
git-svn-id: svn://10.0.0.236/trunk@10815 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 19:51:26 +00:00
fur%netscape.com
20b526f9fa When finalizing the prototype objects, don't try to access the JNIEnv, since that can cause the JVM to be unnecessarily loaded
git-svn-id: svn://10.0.0.236/trunk@10807 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 18:36:38 +00:00
bjorn%netscape.com
b64ec41425 Patched the name JS_USE_ONLY_NSPR_LOCKS.
git-svn-id: svn://10.0.0.236/trunk@10705 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 21:45:13 +00:00
wtc%netscape.com
06d57ca345 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.


git-svn-id: svn://10.0.0.236/trunk@10691 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 16:59:57 +00:00
fur%netscape.com
430b53b9e4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@10670 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 03:07:13 +00:00
beard%netscape.com
80cbe1eecc Turned off registering the native methods that are now installed by the plugin.
git-svn-id: svn://10.0.0.236/trunk@10665 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:29:36 +00:00
beard%netscape.com
e4cf2baf78 Changed all interfaces to use UNICODE strings, changed some ints to jints.
git-svn-id: svn://10.0.0.236/trunk@10662 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:24:56 +00:00
beard%netscape.com
2feeb0375b Added netscape_javascript_JSObject.h.
git-svn-id: svn://10.0.0.236/trunk@10661 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:23:44 +00:00
matt%netscape.com
34170d0ad5 Adding mak file for HP-UXB.10.20
git-svn-id: svn://10.0.0.236/trunk@10658 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:13:56 +00:00
norris%netscape.com
376d6feeba 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.


git-svn-id: svn://10.0.0.236/trunk@10577 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:17:26 +00:00