Compare commits

..

752 Commits

Author SHA1 Message Date
ashuk%eng.sun.com
be404ff8dc author=ashuk
Modified the README to indicate that for debug messages Pluglets should
be launched with the script "netscape_debug_pluglets" for 6.01A release.

_Ashu


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@89344 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 18:07:33 +00:00
ashuk%eng.sun.com
d3d5d7f268 author=ashuk
Made a small change to the instructions for launching
Pluglets. This is to incorporate the use of the
netscape_pluglets script for the 6.01A release


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@88686 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 20:39:48 +00:00
idk%eng.sun.com
fb4cad13ed * not part of tbox builds*
fix for 58205


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@82131 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 03:27:07 +00:00
idk%eng.sun.com
d85ffa594d *not part of tbox build*
fix for 57921


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@82130 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 03:06:19 +00:00
idk%eng.sun.com
a023e8f34c *not part of tbox build*
fix for 57812


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@82129 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 03:03:55 +00:00
idk%eng.sun.com
cc4fa2f0f9 *not part of tbox builds*
fix for 57812


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@82128 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 02:59:13 +00:00
idk%eng.sun.com
a230b7af54 * not part of tbox builds *
git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@82127 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 02:48:48 +00:00
ashuk%eng.sun.com
907a6d8f90 author=ashuk
Bug=54129


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@82113 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 23:58:54 +00:00
ashuk%eng.sun.com
6c165c11c1 author=ashuk
Bug=54129


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@82112 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 23:38:17 +00:00
ashuk%eng.sun.com
0342bf660b author=ashuk
Bug=54129


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@82111 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 23:19:20 +00:00
ashuk%eng.sun.com
0a9656e6e8 author=ashuk
Bug=58466


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@82006 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 18:24:20 +00:00
ashuk%eng.sun.com
b7ff38852d author=ashuk
Bug=54129

New runem_solaris shell script for the Commercial Solaris
package

_Ashu


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81998 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 06:27:47 +00:00
ashuk%eng.sun.com
d8560b0bbe author=ashuk
Bug=54129

Created new runem_solaris and changed Makefile.in to run a
shell script instead of using a Perl file

_Ashu


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81997 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 06:26:25 +00:00
ashuk%eng.sun.com
1ed3a41988 author=ashuk
Bug=54129


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81874 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 19:18:33 +00:00
ashuk%eng.sun.com
3295f80e90 author=ashuk
Bug=54129

fixed src_moz/Makefile.in


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81873 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 19:18:02 +00:00
edburns%acm.org
bd53a0cbcc Bug 55004:
The first step is to use the correct syntax for do_GetService.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81872 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 18:46:11 +00:00
edburns%acm.org
43923172ba bug=58167
r=ashuk
a=edburns

This fix does two things:

1. Remove nsSetupRegistry.cpp from the build process.
2. Don't cal NS_AutoRegisterComponents, since it's doen in NS_InitEmbedding.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81870 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 18:25:08 +00:00
ashuk%eng.sun.com
86f888b975 author=ashuk
Making FInd, FindNext and ResetFind throw UnImplementedException
since they dont work with PR3 Solaris

_Ashu


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81832 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 22:03:34 +00:00
ashuk%eng.sun.com
7897a8122d author=ashuk
Removing all features that dont work for PR3 solaris
from EMWindow.java

_Ashu


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81831 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 21:59:15 +00:00
edburns%acm.org
b0ee26348c Make it so this makefile puts the correct arguments to runem.pl
git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81798 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 04:43:28 +00:00
ashuk%eng.sun.com
d6cf78aa7f author=ashuk
Bug=54129

Fix to runem_commercial.pl to use absolute Bindir path on Solaris
and also to point to blackwood.jar for CLASSPATH


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81755 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 21:19:17 +00:00
ashuk%eng.sun.com
9252912fa8 author=ashuk
r=a=edburns
Bug=52883

enables Webclient to work with PR3 on Solaris

_Ashu


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81624 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 22:50:07 +00:00
ashuk%eng.sun.com
8027aa1c6c author=ashuk
Bug=54129

created a README.commercial for PR3

_Ashu


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81623 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 22:42:51 +00:00
rpallath%eng.sun.com
89f18715ea Modifed SOurces for JavaDOM tests
Bug Id: 57065
r=a=ed.burns@eng.sun.com

mozilla.csh: Environment setting (Unix)
mozilla.bat: Environment settings (Win32)
test.html  : Add <EMBED> tag
autorun.sh : Startup script, changed test.html to testxml.html
              Also changed Profile name
              Changed DOCROOT to take in file://
              Check for 'log' dir.

autorun.pl : Changed redirect.xml to testxml.html
              Changed redirect.html to test.html
              Check for 'log' dir.

BWTestClass.lst.html.ORIG: Test case list updated
BWTestClass.lst.xml.ORIG: Test case list updated
Makefile: Changed to reflect newsrc dir.
Makefile.solaris: Same as above
Makefile.win:  Same as above.
README:  updated

Added new file testxml.html
Added new dir 'newsrc'


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81338 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 01:13:14 +00:00
jdunn%netscape.com
bdfb4f5728 author=ashuk
Bug=54129

changed order of dirs in java/dom from
src jni classes
to
classes jni src

_Ashu


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81319 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:31:34 +00:00
edburns%acm.org
4ed8b2ef15 Make it so the build descends into external first.
git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81251 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 19:18:10 +00:00
edburns%acm.org
827c256347 This makefile unjars the dom into dist classes.
git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81250 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 19:17:15 +00:00
edburns%acm.org
36a5ecdb82 Include w3c Copyright notice.
git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81249 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 19:11:13 +00:00
idk%eng.sun.com
d21151a807 * not part of tbox builds *
fix for 56248


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81230 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 10:39:35 +00:00
idk%eng.sun.com
08ffe4e29e *** empty log message ***
git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81136 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 19:02:01 +00:00
edburns%acm.org
51aac1d5ff Make it so it compiles on linux.
git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81058 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 22:01:25 +00:00
ashuk%eng.sun.com
8e8c0141e7 author=ashuk
Bug=54129

On Shirley's request removing .so files from dist/bin and dist/lib
for commercial builds

_Ashu


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81033 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 17:52:19 +00:00
idk%eng.sun.com
2b6768af2c * not part of tbox builds *
fix for 18857, 56113


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80944 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 20:34:51 +00:00
ashuk%eng.sun.com
f6bb6b535e author=idk
Bug=54129


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80943 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 20:01:48 +00:00
idk%eng.sun.com
cfdf03ab78 * not part of tbox builds *
addont to previos check in


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80942 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 18:34:10 +00:00
idk%eng.sun.com
be58a69635 * not part of tbox builds *
changed makefiles for bundling.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80941 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 18:26:34 +00:00
ashuk%eng.sun.com
6762c2e35e author=ashuk
Bug=54129


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80940 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 18:18:41 +00:00
idk%eng.sun.com
a55d0dfc9a * not part of tbox build *
addon for fix for 18857


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80919 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 07:53:28 +00:00
idk%eng.sun.com
97ae13697a * not part of tbox build *
fix for 18857


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80918 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 07:42:54 +00:00
ashuk%eng.sun.com
ebde96a47c author=ashuk
Bug=54129


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80839 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 18:51:16 +00:00
ashuk%eng.sun.com
c7911276c4 author=ashuk
Bug=54129

_Ashu


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80838 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 18:41:14 +00:00
edburns%acm.org
92f6d4bce9 dont_use_compression_include_no_manifest
git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80795 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 02:55:08 +00:00
edburns%acm.org
0d3dbf8685 make_binary
git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80792 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 02:44:16 +00:00
edburns%acm.org
aac9d66d94 nary.
.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80791 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 02:42:41 +00:00
edburns%acm.org
6dae058df3 Make it so the top level makefile on Win32 automatically unjars
the dom classes into dist\classes before doing anything else.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80788 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 01:46:36 +00:00
edburns%acm.org
5f882971b6 Adding with -kb flag.
git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80782 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 01:05:53 +00:00
edburns%acm.org
4b92830b1f These files were added without the necessary -kb flag.
git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80781 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 01:04:18 +00:00
ashuk%eng.sun.com
50183b5c63 author=ashuk
Bug=54129

Fix for blackwood.jar creation problem reported by Geetha


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80750 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 22:14:55 +00:00
ashuk%eng.sun.com
028b876616 author=ashuk
Bug=54129

Removed spurious ^M characters from the Makefile.in appended by
XEmacs somehow. This didn't show up in vi or XEmacs, but did in
cvs diff

_Ashu


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80276 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 22:21:12 +00:00
ashuk%eng.sun.com
f9f59be02d author=ashuk
linked in 2 more libs for working on Solaris with PR3 branch

_Ashu


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80272 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 20:38:52 +00:00
edburns%acm.org
e396c79df5 Added comment:
# PENDING(edburns): make it so it's possible to just build
# webclient and javadom


git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80249 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 04:49:48 +00:00
(no author)
b55c520b41 This commit was manufactured by cvs2svn to create branch
'JAVADEV_PR3_20001002'.

git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@80240 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:59:32 +00:00
ashuk%eng.sun.com
d7234fdeb1 author=ashuk
r=a=edburns
Bug=54129

changes for Solaris commercial build

_Ashu


git-svn-id: svn://10.0.0.236/trunk@80239 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:59:31 +00:00
dmose%mozilla.org
d2711a2b7d nsLDAPMessage::GetValues() now is a good XPCOM citizen and creates a copy of the [out] array with the shared allocator. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80237 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:53:23 +00:00
ashuk%eng.sun.com
2fa9f204f6 author=ashuk
Bug=54129

W3C dom2.jar file containing JavaDOM interfaces needed for
building Blackwood components


git-svn-id: svn://10.0.0.236/trunk@80236 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:39:41 +00:00
ashuk%eng.sun.com
cf0897f7f3 author=ashuk
Bug=54129

Run Script for commercial build


git-svn-id: svn://10.0.0.236/trunk@80235 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:20:56 +00:00
ddrinan%netscape.com
e35d2e721e Allocate the padded result arena with the correct length
git-svn-id: svn://10.0.0.236/trunk@80234 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:58:39 +00:00
wtc%netscape.com
5671033c01 Bugzilla bug #54711: removed unused variables MOZ_DIST and MOZ_LIB
from OS2.mk.  Handle the different names of plc4 and plds4 libraries
on OS/2.  Thanks to Huynh Trinh <hctrinh@us.ibm.com> for the patch.
Modified Files:
    coreconf/OS2.mk nss/lib/ckfw/builtins/Makefile
    nss/lib/fortcrypt/swfort/pkcs11/Makefile


git-svn-id: svn://10.0.0.236/trunk@80233 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:58:18 +00:00
dmose%mozilla.org
664e265d7d cut down number of Write() and OnDataAvailable() PLEvents by an order of magnitude ; fix error handler for nsLDAPMessage::IterateAttributes to properly deallocate the array on an error; update TODO.txt. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80232 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:52:03 +00:00
nelsonb%netscape.com
8fb55c2b69 Fix bug 54956, and cleanup some other things. Warning reduction.
git-svn-id: svn://10.0.0.236/trunk@80231 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:36:53 +00:00
mkaply%us.ibm.com
7dcf7a75de #52455
r=dougt a=blizzard
These are OS/2 specific porting fixes in an XP file (plevent.c)
I'm checking it in without super-review because we desperately
need these fixes in our nightly build.


git-svn-id: svn://10.0.0.236/trunk@80228 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:20:05 +00:00
danm%netscape.com
aeb4d7fe57 guard against null entries in the insertion point table. bug 54747, bugscape bug 2641. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@80224 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 23:34:28 +00:00
hyatt%netscape.com
027949517d Fix for 44437. r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@80223 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 23:23:55 +00:00
wtc%netscape.com
099ac124d2 Bugzilla bug #49477: fixed memory leak in CERT_OpenCertDB. Have
certDBFilenameCallback duplicate the filename string so that its
return value can be freed.


git-svn-id: svn://10.0.0.236/trunk@80222 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 23:23:50 +00:00
wtc%netscape.com
890415bd51 Bugzilla bug #54869: support gcc for 32-bit Solaris/SPARC build.
git-svn-id: svn://10.0.0.236/trunk@80221 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 22:52:43 +00:00
mcgreer%netscape.com
3bd32da764 fix problems encountered in shell script. it appears that "echo nss > passfile" creates a file with 6 bytes on NT using the dos shell. the added bytes were causing problems with password files, which this while loop attempted to fix. however, it broke DER-encoded input that has added whitespace at the end. this checkin returns SECU_FileToItem to it's original state, which blindly accepts whitespace characters at the end of the file.
the second change is forced because SECITEM_AllocItem asserts dst->data == NULL, and many NSS utilities pass uninitialized SECItem's around.  In the future, those should be fixed, but for now zero the output buffer.


git-svn-id: svn://10.0.0.236/trunk@80219 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 22:30:27 +00:00
hyatt%netscape.com
899b919046 Fix for 54524. r=attinasi,waterson a=waterson. Also checking in patch
to nsXBLPrototypeHandler.cpp that went into the branch days ago (but that
I forgot to check in to the trunk).


git-svn-id: svn://10.0.0.236/trunk@80218 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 22:25:45 +00:00
mkaply%us.ibm.com
a0c82c648b #50764
r=mkaply, a=blizzard
Code from sobotka/jkobal to get clipboard working.


git-svn-id: svn://10.0.0.236/trunk@80217 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 22:10:26 +00:00
nboyd%atg.com
49ec458ad6 Avoid creating multiple wrappers.
git-svn-id: svn://10.0.0.236/trunk@80215 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 20:46:08 +00:00
mkaply%us.ibm.com
53e26dfbb4 #52455
r=pedemonte, a=blizzard
OK, here's the major font checkin. There's some debug code in here.


git-svn-id: svn://10.0.0.236/trunk@80214 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 19:00:52 +00:00
mkaply%us.ibm.com
48800f7c62 #45474
MAJOR OS/2 breakage as a result of 48758
Hey guys, we have a platformHTMLBindings.xml file too!


git-svn-id: svn://10.0.0.236/trunk@80213 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 18:44:26 +00:00
mcgreer%netscape.com
85581a8a3e fix 3.1 bugs: change && to || for arg check, two new functions are static
git-svn-id: svn://10.0.0.236/trunk@80212 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 17:39:37 +00:00
nboyd%atg.com
ae9c9e955c Do cheap test first.
git-svn-id: svn://10.0.0.236/trunk@80211 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 17:10:00 +00:00
despotdaemon%netscape.com
3250525177 Pseudo-automatic update of changes made by blizzard@redhat.com.
git-svn-id: svn://10.0.0.236/trunk@80209 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 14:56:37 +00:00
despotdaemon%netscape.com
aacf4638ca Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@80208 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 14:53:32 +00:00
wtc%netscape.com
916fc7046a Added SunOS5.7_i86pc.mk.
git-svn-id: svn://10.0.0.236/trunk@80207 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 06:08:58 +00:00
timeless%mac.com
f7f608d17a l10n for bug 54712, a=rginda
git-svn-id: svn://10.0.0.236/trunk@80206 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 03:35:29 +00:00
wtc%netscape.com
7faf466ae7 Bugzilla bug #39476: free the dbname in the success case.
git-svn-id: svn://10.0.0.236/trunk@80205 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 17:13:34 +00:00
radha%netscape.com
5aca44907c Fix for bug # 53869. Wording for location bar autocomplete not OK. r=ben a=ben
git-svn-id: svn://10.0.0.236/trunk@80204 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 06:20:42 +00:00
dougt%netscape.com
2994ac87eb Adding shor wchar support. r/a scc@mozilla.org cls@seawood.com b= 54564
git-svn-id: svn://10.0.0.236/trunk@80203 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 06:16:14 +00:00
wtc%netscape.com
fd9b927670 Restored the printing of the runtime library search path.
git-svn-id: svn://10.0.0.236/trunk@80202 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 06:14:57 +00:00
wtc%netscape.com
a8fc188120 Deleted an extra echo command.
git-svn-id: svn://10.0.0.236/trunk@80201 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 06:01:32 +00:00
dougt%netscape.com
cf97fcfc5f Removing unused class
git-svn-id: svn://10.0.0.236/trunk@80200 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:52:15 +00:00
dougt%netscape.com
437cd3b772 Fixes threadpool to maximize thread usage r=wtc@netscape.com, warren@netscape.com, brendan@mozilla.org, a=brendan@mozilla.org b=36750
git-svn-id: svn://10.0.0.236/trunk@80199 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:35:03 +00:00
dougt%netscape.com
8a775fff06 Removes need for chrome r/a=blizzard@redhat.com b=54428
git-svn-id: svn://10.0.0.236/trunk@80198 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:26:26 +00:00
dougt%netscape.com
e36912633f Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80197 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:24:00 +00:00
wtc%netscape.com
ac46281515 Deleted an extra cp.
git-svn-id: svn://10.0.0.236/trunk@80196 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:09:17 +00:00
wtc%netscape.com
287ec3547d Bugzilla bug #54711: use full maci on OS/2. Thanks to hctrinh@us.ibm.com
(Huynh Trinh) for the patch.


git-svn-id: svn://10.0.0.236/trunk@80195 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 03:29:42 +00:00
wtc%netscape.com
0da76eea1e Bugzilla bug #54711: fixed a typo. Thanks to hctrinh@us.ibm.com
(Huynh Trinh) for the patch.


git-svn-id: svn://10.0.0.236/trunk@80193 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 03:17:56 +00:00
jband%netscape.com
a6dcffbfb6 NOT PART OF THE BUILD. new code for testing the jar cache
git-svn-id: svn://10.0.0.236/trunk@80192 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 00:10:51 +00:00
jband%netscape.com
ffdceb7dee Mostly submitted patches...
- Fix bug 54264 from Jon Smirl <jonsmirl@mediaone.net>
  Do cleanup of thread local storage on main thread.

- Fix bug 54275 from Jon Smirl <jonsmirl@mediaone.net>
  Release components in shell before shutting down xpcom

- Fix bug 54310 from Jon Smirl <jonsmirl@mediaone.net>
  Call JS_DestroyScript in xpcshell and js.c

- Fix bug 54352 from Jon Smirl <jonsmirl@mediaone.net>
  Cleanup what static data we can in xpclog.

- Initial fix of bug 54473
  Don't report warnings as errors in wrapped JS calls.

- Fix bug 54462 from Mark Hammond <MarkH@ActiveState.com>
  Fix jband's stupid use of uint8 for method indexes.

- Use environment rather than prefs for #ifdef'd debug options

- Don't report NS_ERROR_FACTORY_REGISTER_AGAIN as an error.

r=mccabe@netscape.com a=jband@netscape.com


git-svn-id: svn://10.0.0.236/trunk@80191 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 08:16:09 +00:00
rpotts%netscape.com
a51405cbc5 bug #41398. The cache manager is now a memory-pressure observer and flushed the memory cache on each notification.
git-svn-id: svn://10.0.0.236/trunk@80189 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 05:30:22 +00:00
wtc%netscape.com
63d6c87d42 Added missing closing comment delimiter "*/".
git-svn-id: svn://10.0.0.236/trunk@80188 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 04:30:08 +00:00
cls%seawood.org
b35eca2c21 Apply fixes for previous attempt to add STRIP to nspr build.
git-svn-id: svn://10.0.0.236/trunk@80186 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 03:24:19 +00:00
cls%seawood.org
19cbb19cff I was incorrectly informed about the impact of elf-dynstr-gc on non-x86 builds. Turning it off for non-linux x86 builds. bug 54405
git-svn-id: svn://10.0.0.236/trunk@80185 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 03:21:02 +00:00
despotdaemon%netscape.com
9ffccfdfd4 Pseudo-automatic update of changes made by blizzard@redhat.com.
git-svn-id: svn://10.0.0.236/trunk@80184 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 02:58:53 +00:00
despotdaemon%netscape.com
8c185afb79 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@80183 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 02:54:28 +00:00
cls%seawood.org
c1290d8eb0 Turn elf-dynstr-gc on by default for linux. r=bryner bug 54405
git-svn-id: svn://10.0.0.236/trunk@80182 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 02:24:44 +00:00
nelsonb%netscape.com
920388cf0f Incorporate multiplication performance enhancements for UltraSparc CPUs
with the VIS instructions.


git-svn-id: svn://10.0.0.236/trunk@80181 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 01:46:30 +00:00
nelsonb%netscape.com
7a4fb55eef The Initial Developer of the Original Code is Netscape Communications
Corporation.  Portions created by Netscape are
Copyright (C) 2000 Netscape Communications Corporation.
All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@80180 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 01:43:27 +00:00
mccabe%netscape.com
2dd5d88811 Propagate fix to 41872 from the standalone JS shell to the standalone XPConnect-enabled JS shell. Make warnings on by default in the standalone JS shell, and introduce the -W option to suppress warnings if needed. Retained the -w option (enable warnings) in case somebody was using it.
This file doesn't go into the Mozilla distribution.

r=brendan,r=jband


git-svn-id: svn://10.0.0.236/trunk@80179 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 01:42:29 +00:00
wtc%netscape.com
ff19c64b23 Bugzilla bug #52904: deleted all the PKLITE and COMPRESS_TARGET stuff,
which is no longer needed.  This removes the requirement of 'which' on
Windows.
Modified files: ruleset.mk, rules.mk


git-svn-id: svn://10.0.0.236/trunk@80178 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 00:56:57 +00:00
mccabe%netscape.com
0307c96649 Fix to 41872. Make warnings on by default in the standalone JS shell, and introduce the -W option to suppress warnings if needed. Retained the -w option (enable warnings) in case somebody was using it.
This file is not part of the Mozilla build.

r=brendan


git-svn-id: svn://10.0.0.236/trunk@80177 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 00:24:22 +00:00
pnunn%netscape.com
e1a1eb55e0 bug#52390: fixes majick disappearing chrome images. (Turns off PIN_CHROME).
Checked into Commercial branch 09/29/00. pnunn.


git-svn-id: svn://10.0.0.236/trunk@80176 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 00:11:41 +00:00
disttsc%bart.nl
cae301f454 Make filepicker.css get packaged, should fix it not opening sometimes. bug=53697, r=/a=ben
git-svn-id: svn://10.0.0.236/trunk@80175 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 00:00:05 +00:00
nelsonb%netscape.com
30bcb59ec4 The Initial Developer of the Original Code is Sun Microsystems Inc.
Portions created by Sun Microsystems Inc. are
Copyright (C) 1999-2000 Sun Microsystems Inc.  All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@80174 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 23:39:30 +00:00
nelsonb%netscape.com
4964bf2790 The Initial Developer of the Original Code is Sun Microsystems Inc.
Portions created by Sun Microsystems Inc. are
Copyright (C) 1995-2000 Sun Microsystems Inc.  All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@80173 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 23:38:05 +00:00
robinf%netscape.com
0bcae0ec4d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@80172 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:45:00 +00:00
dmose%mozilla.org
ccfb778c6d fix up a progid->contractid conversion that got missed; update a few comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80171 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:35:35 +00:00
mcgreer%netscape.com
7c7b5185b4 add cipher and smime to the pantheon of nss tests.
git-svn-id: svn://10.0.0.236/trunk@80170 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:31:11 +00:00
dmose%mozilla.org
22a433d6b6 update so that datasource tests work with jar packaging. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80169 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:30:12 +00:00
mcgreer%netscape.com
fe62289b38 change for BSAFE. on windows, nsinstall will do copy instead of link.
need to forcibly remove library before attempting to reinstall.


git-svn-id: svn://10.0.0.236/trunk@80168 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:30:09 +00:00
mcgreer%netscape.com
52767c0e64 changes to use blapitest on NT.
git-svn-id: svn://10.0.0.236/trunk@80167 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:27:14 +00:00
nhotta%netscape.com
bf0debd67a (bstell speaking, (415) 845-7800)
bug 46974 - display of ascii (8 bit) data incorrect with 10646 (16 bit) font
a=erik r=blizzard, approved for trunk checkin by jar


git-svn-id: svn://10.0.0.236/trunk@80166 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:21:04 +00:00
nhotta%netscape.com
15b875f998 (bstell speaking, cell (415) 845-7800)
for bug 46974 we changed the type for nsFontHandle; make corresponding
changes here

bug 46974 - display of ascii (8 bit) data incorrect with 10646 (16 bit) font
a=erik r=blizzard, approved for trunk checkin by jar


git-svn-id: svn://10.0.0.236/trunk@80165 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:19:16 +00:00
disttsc%bart.nl
1617349a74 Remove an obsolete comment, r=/a=waterson
git-svn-id: svn://10.0.0.236/trunk@80164 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 21:34:48 +00:00
mkaply%us.ibm.com
899cae7f82 #54716
r=jkobal, a=blizzard
OS/2 only fix - we weren't destroying the splash screen.
Also put in a fix to honor system setting on OS/2 to not display the splash screen.


git-svn-id: svn://10.0.0.236/trunk@80163 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 21:20:12 +00:00
tor%cs.brown.edu
d98b5aefd5 Bug 52489 - prevent garbage from being shown when tiling a
partially received image.  Patch from adam@gimp.org.
r=alex@cendio.se,pavlov a=tor


git-svn-id: svn://10.0.0.236/trunk@80162 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 21:05:35 +00:00
mkaply%us.ibm.com
06a7fe7640 OS/2 Tinderbox break continued
Better fix for breakage per waterson


git-svn-id: svn://10.0.0.236/trunk@80161 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 20:48:04 +00:00
mkaply%us.ibm.com
9214cf5281 #54535
r=mkaply, dougt, a=jband
Code from jpedemonte to fix profile creation


git-svn-id: svn://10.0.0.236/trunk@80160 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 20:40:10 +00:00
dmose%mozilla.org
907f68d3ba Reorganized significantly. Triaged so that there are only 4 items left to do (the first four) before attempting an initial prerelease (0.x).
git-svn-id: svn://10.0.0.236/trunk@80159 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 20:09:38 +00:00
nelsonb%netscape.com
aedf4b3505 Don't use type "ulong". Use "unsigned long" instead.
git-svn-id: svn://10.0.0.236/trunk@80158 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 19:51:32 +00:00
despotdaemon%netscape.com
429d737c5f Pseudo-automatic update of changes made by pp@ludusdesign.com.
git-svn-id: svn://10.0.0.236/trunk@80157 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 17:48:39 +00:00
wtc%netscape.com
2fc6f07ea1 Initial NetBSD port contributed by Shin'ichiro TAYA <taya@sm.sony.co.jp>.
Modified Files:
    coreconf/config.mk nss/lib/util/unix_rand.c
Added Files:
    coreconf/NetBSD.mk


git-svn-id: svn://10.0.0.236/trunk@80156 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 17:42:39 +00:00
despotdaemon%netscape.com
5da2a6f226 Pseudo-automatic update of changes made by blizzard@redhat.com.
git-svn-id: svn://10.0.0.236/trunk@80155 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 16:46:44 +00:00
mcgreer%netscape.com
5b4051f47c initial checkin of smime test script. does signed-data, enveloped-data, encrypted-data, and certs-only (basic cases).
git-svn-id: svn://10.0.0.236/trunk@80154 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 16:39:13 +00:00
mcgreer%netscape.com
363ed3f1b7 add a shortcut encoder routine.
git-svn-id: svn://10.0.0.236/trunk@80153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 16:38:11 +00:00
mcgreer%netscape.com
2feef2ae49 brutish changes to get encrypted data working, will clean up later. allows test script for 3.1 to work.
git-svn-id: svn://10.0.0.236/trunk@80152 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 16:37:29 +00:00
mcgreer%netscape.com
f6f79f1ff0 add seeding call (for 3.1, for 3.2 I think this function needs to go away).
git-svn-id: svn://10.0.0.236/trunk@80151 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 15:27:00 +00:00
mcgreer%netscape.com
56065300c5 add seeding call (req by RNG)
git-svn-id: svn://10.0.0.236/trunk@80150 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 15:25:42 +00:00
axel%pike.org
2cd8ffa847 removing windows linefeeds, still reminents from the old days, not part of build
git-svn-id: svn://10.0.0.236/trunk@80147 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 14:58:26 +00:00
mkaply%us.ibm.com
6bbbd419da OS/2 Tinderbox breakage
Need to make these values really PRUint32 for VisualAge
If you guys thought your changes to get gcc to work were bad, wait until you see these


git-svn-id: svn://10.0.0.236/trunk@80146 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 14:36:46 +00:00
nboyd%atg.com
b83be8c5eb Allow null returns from SecuritySupport methods if someone only
wants to implement LiveConnect filtering


git-svn-id: svn://10.0.0.236/trunk@80143 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 13:49:47 +00:00
Peter.VanderBeken%pandora.be
358f7463b9 Fix for bug #53323, provided by jjs@acis.com.au. r=me. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@80142 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 12:19:15 +00:00
Peter.VanderBeken%pandora.be
9c1e0f0e7b Fixing compiler warnings. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@80141 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 12:17:23 +00:00
waterson%netscape.com
4f16bfd129 Better fix, with explicit temporary for gcc-2.7.2.3's lame self. (thanks for the assist, scc.)
git-svn-id: svn://10.0.0.236/trunk@80140 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 06:45:22 +00:00
waterson%netscape.com
c78a8b32d2 Temporary fix orange on gcc-2.7.2.3 build.
git-svn-id: svn://10.0.0.236/trunk@80139 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 06:29:44 +00:00
vidur%netscape.com
a6de021349 Fix for bugscape bug 2533. onload event firing now happens *after* the last reflow command has been processed. a=waterson, r=nisheeth, pollmann, jst
git-svn-id: svn://10.0.0.236/trunk@80138 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 06:22:09 +00:00
dave%intrec.com
8dde2f6d6a Fix for bug 52921: checksetup.pl fails to create database with password.
Now it won't choke on this anymore.  Patch also includes a Perl 5.6
compatibility update (see bug 52921 and bug 44622 for details).


git-svn-id: svn://10.0.0.236/trunk@80137 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 05:43:53 +00:00
dougt%netscape.com
0706b5bdd1 removing annoying unneeded assertion. r/a=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80136 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 05:30:02 +00:00
dave%intrec.com
0fda1404bb Fix for bug 44076: Editparams falsely detecting text field changes and
NS4Mac putting a single linefeed in empty fields.


git-svn-id: svn://10.0.0.236/trunk@80135 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 05:29:09 +00:00
waterson%netscape.com
45b53bedb1 Bug 46134, the final chapter. Factor funky attribute parsing logic into a separate routine, ParseAttribute(), add callbacks to make SubstituteText() and IsAttrImpactedByVars() use this. Also (the real fix), make sure that we call it from AddSimpleRuleBindings() so we don't drop old-sk00l bindings on the floor when multiple substitutions present in an attribute. r=rjc, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@80134 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 04:09:42 +00:00
nelsonb%netscape.com
9d54eecd40 Fix some bugs from the last checkin.
git-svn-id: svn://10.0.0.236/trunk@80133 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 04:03:34 +00:00
disttsc%bart.nl
725d70d563 Simple xbl fixups after xbl syntax change, r=/a=hyatt
argument  -> parameter      : bug=52891, bug=53875
interface -> implementation : bug=53874


git-svn-id: svn://10.0.0.236/trunk@80132 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 02:25:45 +00:00
nhotta%netscape.com
ab6ac3dcca backing out previous changes since depend versions of the tree won't build
git-svn-id: svn://10.0.0.236/trunk@80131 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 02:20:25 +00:00
mcgreer%netscape.com
85cb433e26 changes to allow build with RSA BSAFE Crypto-C library
git-svn-id: svn://10.0.0.236/trunk@80130 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 02:15:42 +00:00
mcgreer%netscape.com
01ab8488fd change to allow builds with RSA BSAFE Crypto-C library
git-svn-id: svn://10.0.0.236/trunk@80129 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 02:14:03 +00:00
mcgreer%netscape.com
1abd54607e fixes based on review by nelsonb:
use mp_sub instead of mp_mod when possible.
increment generator candidate for DH instead of creating a new random one each time.
fix potential bugs when DH_Derive and KEA_Derive, where the secret is longer than the buffer the user requests.
check input key size to RSA_NewKey.
implement private key op with no CRT for PKCS12.
reduce base mod p and q before using mp_exptmod.
use mpl_lsh in pqg code (in place of exponent and multiply).
change PQG_Verify to return SECSuccess unless there is a library failure (not if verification fails).


git-svn-id: svn://10.0.0.236/trunk@80128 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 02:10:24 +00:00
dmose%mozilla.org
12782ecfb6 * switch from old {First,Next}Attribute() functions to new GetAttributes() call
* adjust GetDn() calls to use an nsXPIDLString now that GetDN() does proper string ownership

* error-handling improvements

* partial addition of event sink infrastructure to be used for updating the status bar

* nsLDAP.h include replaced with nsLDAPInternal.h

* migrate from progids to contractids

* emacs mode-line added, and re-indented

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80127 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:20:31 +00:00
dmose%mozilla.org
ea180437e2 * pipeWrite() prototype changed from |char *| to |const char *|
* infrastructure for firing progress against an nsIProgressEventSink added

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80126 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:14:53 +00:00
dmose%mozilla.org
8a7b889861 Migrate from progids to contractids. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80125 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:11:34 +00:00
dmose%mozilla.org
ce1848e9c5 define __STRICT_ANSI__ and change the include order to keep linux gcc from whining about one of the system include files. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80124 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:10:40 +00:00
dmose%mozilla.org
6053db6b6e Tweak some comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80123 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:09:27 +00:00
dmose%mozilla.org
d81043d9d2 include nsLDAPInternal.h instead of nsLDAP.h now. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80122 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:08:17 +00:00
dmose%mozilla.org
3f6a882c55 * include of ldap.h removed. this header is now a public header, and clients of the XPCOM wrapper don't need to be polluted with the contents of ldap.h, since that functionality should happen entirely inside the wrapper.
* NS_ERROR_LDAP_DECODING_ERROR added

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80121 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:06:53 +00:00
dmose%mozilla.org
853bcfa2ec * migrate from progids to contractids
a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80120 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:04:24 +00:00
dmose%mozilla.org
daee20badf * removed mPosition variable, since getAttributes() is now a single function
* prototypes for Iterate{Attributes,AttrErrHandler} added

* emacs mode line added

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80119 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:01:10 +00:00
dmose%mozilla.org
e000572e96 * replaced {First,Next}Attribute() functions with GetAttributes(), which returns an array. threadsafe and easier on JS callers.
* fixed GetDn() to do better error handling and use the standard XPCOM string ownership model (ie getter_Copies)

* better error handling for GetValues()

* tweak some includes

* added an emacs modeline and reindented

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:58:38 +00:00
dmose%mozilla.org
afe7807e71 * replaced {first,next}Attribute() with getAttributes which returns an array: threadsafe and more useful from JS.
* added an emacs mode line and reindented.

* improved doxygen comments to include nsresult errors thrown


git-svn-id: svn://10.0.0.236/trunk@80117 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:53:29 +00:00
dmose%mozilla.org
76477e7be7 Added an emacs mode line, reindented with spaces as per the mode line. Also tweaked a couple of comments as well as some debugging stuff. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80116 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:48:26 +00:00
av%netscape.com
4181c8bc8f Fixing 53451. Added retun failure when plugin retuns zero on NPP_WriteReady call, r=waterson
git-svn-id: svn://10.0.0.236/trunk@80115 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:46:18 +00:00
dmose%mozilla.org
310311aadf Infrastructure for internal use by the LDAP code. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80114 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:45:52 +00:00
dmose%mozilla.org
2891cdb510 Significant updates to the todo list. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@80113 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:43:22 +00:00
brendan%mozilla.org
4e4aa590e8 Fix bungled GC_KEEP_ATOMS logic (51954, r=mccabe, a=jband).
git-svn-id: svn://10.0.0.236/trunk@80110 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:18:15 +00:00
brendan%mozilla.org
2d9eb5eb2d Don't leave fp->sp above fp->spbase when returning, js_Invoke may GC on the way out (53123, r=mccabe, a=jband).
git-svn-id: svn://10.0.0.236/trunk@80109 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:13:25 +00:00
mcafee%netscape.com
de5c7233da HTML 4.0-izing this file, part of gemal@gemal.dk's patch. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@80108 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:04:23 +00:00
ben%netscape.com
b24747354f fix for nsbeta3++ 52890, remove green boxes from html/titledbuttons in XUL, r=dr, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@80107 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:59:35 +00:00
disttsc%bart.nl
8cf3138a1f Fix blue location bar height. bug=52911, r=/a=ben
git-svn-id: svn://10.0.0.236/trunk@80105 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:57:02 +00:00
peterlubczynski%netscape.com
9654c3e56d Deactivate double buffering for plugins plus fix up position and clip. bug 32327, bug 51787, bug 19931 bug 37126 r=sfraser,pchen a=buster
git-svn-id: svn://10.0.0.236/trunk@80104 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:29:26 +00:00
waterson%netscape.com
0e77f05c99 Bug 54475. Don't mark leaf nodes as 'requiring more work'. We know they're leaves! r=rjc, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@80103 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:25:10 +00:00
buster%netscape.com
7481822419 bug 53568
r=karnaze
a=waterson
migrating fix back from branch to tip


git-svn-id: svn://10.0.0.236/trunk@80100 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:20:55 +00:00
mkaply%us.ibm.com
65b5030ef3 #53402
r=mkaply, a=blizzard
We had a really bad os2pref.js from 4.61


git-svn-id: svn://10.0.0.236/trunk@80099 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:20:09 +00:00
hyatt%netscape.com
3a2e0e0561 fix for 53838, r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@80098 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:18:14 +00:00
waterson%netscape.com
976476e949 Bug 53353. Factor nsMemoryImpl create/destroy from flusher thread startup/shutdown. Avoids creation of second memory flusher thread after XPCOM shutdown. r=scc, sr=warren
git-svn-id: svn://10.0.0.236/trunk@80097 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:17:49 +00:00
rpotts%netscape.com
fb69d93bc3 when RemoveAll() is called do not double count the storage being freed...
git-svn-id: svn://10.0.0.236/trunk@80095 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:03:03 +00:00
nelsonb%netscape.com
6cff24caa7 Add mp_set_long and mp_set_ulong to the public API.
git-svn-id: svn://10.0.0.236/trunk@80094 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:53:45 +00:00
sgehani%netscape.com
132928e98d Merging pr3 branch to trunk:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@80093 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:52:51 +00:00
sgehani%netscape.com
a0562917b2 Merge pr3 branch to trunk:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@80092 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:51:16 +00:00
nhotta%netscape.com
3507185c5d the previous checkin was by bstell (Brian Stell)
cube:   (650) 937-2797
mobile: (415) 845-7800
home:   (415) 826-8141


git-svn-id: svn://10.0.0.236/trunk@80091 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:48:57 +00:00
valeski%netscape.com
acf05a190f 54508. r=edburns@acm.org, a=brendan@mozilla.org. we were installing the oji.dll in the bin dir *and* the bin/components dir which was redundant. oji.dll is a component and doesn't need to be in the bin dir.
git-svn-id: svn://10.0.0.236/trunk@80090 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:47:48 +00:00
nhotta%netscape.com
a95e523409 bug 46974 - display of ascii (8 bit) data incorrect with 10646 (16 bit) font
a=erik r=blizzard, approved for trunk checkin by jar


git-svn-id: svn://10.0.0.236/trunk@80089 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:46:27 +00:00
valeski%netscape.com
68360a0050 54508. removing oji.dll from the bin dir in the packager file. the lib is no longer installed in the bin dir, rather now only in the components dir.
git-svn-id: svn://10.0.0.236/trunk@80088 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:46:07 +00:00
sgehani%netscape.com
6b666fa74d Oops! Trunk not open: backing out last change.
git-svn-id: svn://10.0.0.236/trunk@80085 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:02:28 +00:00
sgehani%netscape.com
a0377bc6df Merge pr3 branch to trunk for:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@80084 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:00:39 +00:00
edburns%acm.org
825bc96e67 bug=52883
author=ashuk
r,a=edburns

Make webclient work with the tip.


git-svn-id: svn://10.0.0.236/trunk@80080 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 21:37:25 +00:00
thayes%netscape.com
a89066e266 Bugzilla 39476: Copy the argument string in the OpenDBFilename callback function.
git-svn-id: svn://10.0.0.236/trunk@80079 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 21:36:11 +00:00
thayes%netscape.com
85f95a41ba Use T61 String for any ASCII characters that don't meet the PrintableString
requirements in name attribute values.


git-svn-id: svn://10.0.0.236/trunk@80078 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 21:29:14 +00:00
nelsonb%netscape.com
19f21c5bbd Fix numerous bugs in CERT_GetNickName. Fix bug 45247.
git-svn-id: svn://10.0.0.236/trunk@80077 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 21:13:29 +00:00
despotdaemon%netscape.com
775031d440 Pseudo-automatic update of changes made by pp@ludusdesign.com.
git-svn-id: svn://10.0.0.236/trunk@80076 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 20:39:12 +00:00
nelsonb%netscape.com
b246eb6761 Fix bug 39482. Don't use varargs when first argument is null.
git-svn-id: svn://10.0.0.236/trunk@80075 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 19:01:14 +00:00
despotdaemon%netscape.com
d5e52fd157 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@80074 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 18:36:00 +00:00
larryh%netscape.com
8b7f82ceec Bugzilla: 51465. strip binaries on optimized builds
git-svn-id: svn://10.0.0.236/trunk@80073 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 17:47:22 +00:00
relyea%netscape.com
e6b8b24e9d Add function for determining if we have root cert modules.
fix bug in internal root cert modules.


git-svn-id: svn://10.0.0.236/trunk@80072 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 17:40:48 +00:00
sgehani%netscape.com
5b983e2e6f Merge pr3 branch to trunk:
Part of fix for "Plugins" -> "Plug-ins" for backward compatibility.

b=53976
r=ssu
a=sfraser,granrose


git-svn-id: svn://10.0.0.236/trunk@80071 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 17:32:05 +00:00
mkaply%us.ibm.com
5f76fa5473 #45474
r=mkaply, a=blizzard
Finally, real OS/2 keyboard support


git-svn-id: svn://10.0.0.236/trunk@80068 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 13:37:38 +00:00
idk%eng.sun.com
21e5afbcd7 * NOT PART OF TBOX BUILD *
Fixed 54348


git-svn-id: svn://10.0.0.236/trunk@80067 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 11:27:41 +00:00
ssu%netscape.com
4eddbc72ad fixing bug #53906 - updated Java 2 installer bits. sr=vishy, r=dveditz,sgehani. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@80064 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 11:01:41 +00:00
cls%seawood.org
5210420bb0 Do not use c++ comments in c file. Breaks WS5.0 compiler.
git-svn-id: svn://10.0.0.236/trunk@80063 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 08:08:02 +00:00
wtc%netscape.com
f0a40595f6 Added config file for OSF1 V5.0.
git-svn-id: svn://10.0.0.236/trunk@80062 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 07:45:11 +00:00
sgehani%netscape.com
7e606948be Merging pr3 branch change to trunk for:
Part of fix for "Plugins" -> "Plug-ins" for backward compatibility.

b=53976
r=ssu
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@80061 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 07:14:56 +00:00
cls%seawood.org
a6ca675404 Some platforms include a version number for their dll suffixes. Use SHARED_LIBRARY instead of hardcoding a library name & suffix.
git-svn-id: svn://10.0.0.236/trunk@80059 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 06:57:00 +00:00
cls%seawood.org
8ace0cd4de Only build nullplugin when MOZ_ENABLE_GTK is set because nullplugin requires gtk and is breaking our non-gtk ports.
git-svn-id: svn://10.0.0.236/trunk@80058 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 06:48:02 +00:00
nisheeth%netscape.com
787c2b7cf1 r=pollmann. Fix for nsbeta3++ bug 48382. Fixes the infinite loop when location.href was set from the onload handler of a frame.
git-svn-id: svn://10.0.0.236/trunk@80056 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 05:44:10 +00:00
bratell%lysator.liu.se
90861c1db4 Fix for bug 54016 - crash when indentation wider then wrap width. The fix was to check for that condition. r=akkana@netscape.com, a=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80055 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 05:32:52 +00:00
mccabe%netscape.com
30978dc1d7 Fix to 54307. Patch courtesy Jon Smirl <jon@mediaone.net>.
Clean up several locks that jsdtoa uses, when JS_THREADSAFE.

a=brendan
r=mccabe


git-svn-id: svn://10.0.0.236/trunk@80053 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 05:14:32 +00:00
dveditz%netscape.com
fe987ceace Bug 53845 make InstallTrigger.getVersion() work for SmartUpdate site. r=ssu,sr=mscott,a=pdt nsbeta3++
git-svn-id: svn://10.0.0.236/trunk@80051 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 04:14:15 +00:00
neeti%netscape.com
54302036e0 fix for crasher nsbeta3++ bug 52818, r=dp, r/a=rpotts
git-svn-id: svn://10.0.0.236/trunk@80050 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 04:08:22 +00:00
cls%seawood.org
55b259a10b Add .DELETE_ON_ERROR: target so that if the build fails while building the target, it will remove the incomplete target. Bug 48404
git-svn-id: svn://10.0.0.236/trunk@80049 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 04:02:15 +00:00
mccabe%netscape.com
5ab17af9a7 Remove unused function prototype.
r=jband


git-svn-id: svn://10.0.0.236/trunk@80048 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 02:47:40 +00:00
nelsonb%netscape.com
f9d4f13115 Fix crash when PR_Connect times out.
git-svn-id: svn://10.0.0.236/trunk@80046 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 01:50:15 +00:00
saari%netscape.com
4df2e52418 fix for 53760, xbl double firing key events. r=hyatt, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80045 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 01:05:26 +00:00
hewitt%netscape.com
699bf985d9 54107 - [Modern] stop menulists from being too small initially, r=andreww, a=hangas
git-svn-id: svn://10.0.0.236/trunk@80044 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 00:38:25 +00:00
sfraser%netscape.com
a14fff2410 Fix for 52150; show caret in new composer/mail composer/AIM windows. If the editor is focussed on creation, show the caret instead of relying on a focus event. r, sr = kin,saari, hyatt
git-svn-id: svn://10.0.0.236/trunk@80042 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 00:31:48 +00:00
sfraser%netscape.com
4b74e084f3 Fix for 52150; show caret in new composer/mail composer/AIM windows. Uncomment a line that supresses focus, because we can get window activation calls after editor sets up the caret, and these need to be suppressed. r, sr = saari, hyatt
git-svn-id: svn://10.0.0.236/trunk@80041 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 00:31:35 +00:00
sgehani%netscape.com
d654b3ab76 Merging pr3 branch change for:
Fix setup dlg display to make selected dir legible.

b=52739
r=ssu
a=vishy


git-svn-id: svn://10.0.0.236/trunk@80038 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:57:22 +00:00
akhil.arora%sun.com
684bee80a4 implementation of the null plugin for unix
checking in on behalf of stephen mak <smak@sun.com>
b=48483 r=pollmann@netscape.com a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@80035 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:44:02 +00:00
hyatt%netscape.com
6bca73e533 Really patching leak.
git-svn-id: svn://10.0.0.236/trunk@80034 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:39:47 +00:00
hyatt%netscape.com
6ba172354f Attempting to plug the leak. I assume I'm allowed to check in leak fixes.
git-svn-id: svn://10.0.0.236/trunk@80033 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:27:13 +00:00
sfraser%netscape.com
6163e30db0 Fix for bugzilla bug 54079, bugscape bug 2331. builtinURLs.js: renamed vars to avoid conflicts, fixed it not to rely on the SinkObserver being called each time (this was only called for the first window), and to throw rather than returning "".
utilityOverlay.js: fixes in openTopWin() to ensure that we always call xlateURL on URNs, and load about:blank if the url is still "" (should never happen).
r=ben,tao. sr=waterson.

Checked into trunk and branch.


git-svn-id: svn://10.0.0.236/trunk@80031 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:13:09 +00:00
sfraser%netscape.com
2c8d85ad08 Fix for bug 54079: don't crash when loading XUL into the composer content area. Simple null check a=akkana, sr=brendan. Landed on trunk and branch
git-svn-id: svn://10.0.0.236/trunk@80030 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:08:09 +00:00
mcgreer%netscape.com
095c1d1361 shell script to run self-tests on ciphers supported by NSS.
git-svn-id: svn://10.0.0.236/trunk@80029 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:04:01 +00:00
mcgreer%netscape.com
15c0d6fdae changes for nss script. passed tests produce no output. fix dsa test case.
git-svn-id: svn://10.0.0.236/trunk@80028 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:03:21 +00:00
cmanske%netscape.com
57a52fa4f0 Part of fix for nested tables bug 53733. r=brade, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@80024 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:29:41 +00:00
cmanske%netscape.com
5770560ad9 Fixed nested tables bug 53733. r=brade, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@80023 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:24:17 +00:00
cmanske%netscape.com
939b1716e8 Part of fix for nested tables bug 53733. r=brade, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@80022 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:23:03 +00:00
pchen%netscape.com
a8d7dae7e8 Backing out jim_nance's checkins, breaks win32 build, also has #ifdef
XP_MAC which is crufty, should be able to do this xp


git-svn-id: svn://10.0.0.236/trunk@80021 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:21:05 +00:00
pchen%netscape.com
719a5dcaa1 Backing out jim_nance's checkins, break win32 build, also have #ifdef
XP_MAC which is crufty, should be able to do this xp


git-svn-id: svn://10.0.0.236/trunk@80020 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:16:50 +00:00
dougt%netscape.com
ca868ef44f Adding button to dump memory usage stat. r-valeksi, a-mscott
git-svn-id: svn://10.0.0.236/trunk@80019 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:15:08 +00:00
mccabe%netscape.com
459c2f3979 Fix to 54305, free array holding fat locks. Patch courtesy Jon Smirl <jonsmirl@mediaone.net>.
a=brendan
r=mccabe


git-svn-id: svn://10.0.0.236/trunk@80018 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:52:27 +00:00
hyatt%netscape.com
a14a7f850f Fix for 53417. r=brendan, a=brendan
git-svn-id: svn://10.0.0.236/trunk@80017 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:48:05 +00:00
radha%netscape.com
dbef2eb1b5 Fix for bugscape bug # 1644. keywords work eventhough the pref for it is turned off.
r=valeski a=mscott


git-svn-id: svn://10.0.0.236/trunk@80016 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:27:35 +00:00
varada%netscape.com
5a7e2d4797 fix for bug#33777;changing installer background text font and colour and shadow
git-svn-id: svn://10.0.0.236/trunk@80015 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:26:54 +00:00
despotdaemon%netscape.com
d9570400a0 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@80014 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:18:27 +00:00
rhp%netscape.com
d0e75ff34c Fixing Crash bug 53258 - crash with inline image viewing - r: sspitzer - PDT approval
git-svn-id: svn://10.0.0.236/trunk@80013 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:09:47 +00:00
mcafee%netscape.com
bcff87b79a Adding timeout to reload page.
git-svn-id: svn://10.0.0.236/trunk@80010 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 20:44:55 +00:00
valeski%netscape.com
9dd9cc908f whoops, that's supposed to be a 32bit int
git-svn-id: svn://10.0.0.236/trunk@80008 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 20:25:15 +00:00
hyatt%netscape.com
ad9a001211 added files: mozilla/layout/xbl/src/nsXBLPrototypeBinding.cpp
git-svn-id: svn://10.0.0.236/trunk@80007 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 20:24:47 +00:00
hyatt%netscape.com
c833b6b56c Fix for 53417. r=brendan, a=brendan
git-svn-id: svn://10.0.0.236/trunk@80006 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 20:23:49 +00:00
valeski%netscape.com
a2dba32cc0 r=brendan,a=brendan. 54127. This change cleans up a leak when we run out of memory, and reduces allocation of the file extension buffer by 2x. it also dumps the count to a local variable to do away w/ memory ambiguity using a pointer to elementCount
git-svn-id: svn://10.0.0.236/trunk@80005 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 19:50:59 +00:00
valeski%netscape.com
fc0398591c a=mscott,r=rpotts. 54199. optimized windows builds now link w/ the '/opt:nowin98' flag to reduce win98 page info in shared library output. there is a possible shared library loading performance degredation on win98 (I did not notice one on my win98 box).
git-svn-id: svn://10.0.0.236/trunk@80004 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 19:25:28 +00:00
cmanske%netscape.com
2d038abfe4 Fixing new content serializer's formatting to match behavior in current HTMLContentSink output. (This is a branch to be integrated later; not part of any current tip or 6.0 branch build) r/a=vidur
git-svn-id: svn://10.0.0.236/trunk@80003 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 19:23:36 +00:00
cyeh%bluemartini.com
d9c4caf971 fix for 45384: checksetup.pl fails to update very old bugzilla (10/1998) databases.
patch submitted by sstock@iconnect-inc.com


git-svn-id: svn://10.0.0.236/trunk@80002 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 17:51:36 +00:00
nisheeth%netscape.com
e972437e67 r=joki. Switching off the "nglayout.events.showHierarchicalHover" pref by default. This was enabled late in the beta 3 cycle and is causing performance problems with mousing over chrome. No code change is required.
git-svn-id: svn://10.0.0.236/trunk@80001 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 14:37:55 +00:00
nisheeth%netscape.com
34fd354477 Fix for nsbeta3++ bug 53219. Checking in for joki because he is away for a DOM face to face meeting today and tomorrow.
git-svn-id: svn://10.0.0.236/trunk@80000 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 14:34:50 +00:00
kin%netscape.com
357648d514 fix bug #51557; move JS functions out of html into xul; r/a=kin, sfraser
git-svn-id: svn://10.0.0.236/trunk@79999 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 14:33:05 +00:00
jim_nance%yahoo.com
9002271977 Workaround for bug 50782. The first attempt to fix this was r=pnull
a=brendan r=brendan.  Unfortunatly it broke the Mac.  This is the same
patch with #ifdefs for the mac.  This is r=scc


git-svn-id: svn://10.0.0.236/trunk@79998 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 11:48:54 +00:00
mcafee%netscape.com
2c5afc07f8 First add
git-svn-id: svn://10.0.0.236/trunk@79997 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 08:06:35 +00:00
wtc%netscape.com
fea63cfbcf Use '$(INSTALL) -m 444' to install files in nss/lib/crypto. By default
INSTALL is $(NSINSTALL) -R on Unix, which creates relative-path symlinks.


git-svn-id: svn://10.0.0.236/trunk@79994 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 05:51:04 +00:00
akhil.arora%sun.com
281efa9839 fixes for making auto proxies work again (phase1) b=53080 r=gagan@netscape.com a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@79992 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 02:03:43 +00:00
varada%netscape.com
5cef111f48 changing ib.cpp because of jar changes
git-svn-id: svn://10.0.0.236/trunk@79990 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 01:42:51 +00:00
cmanske%netscape.com
6fb48462ec Repairing code accidentally remove by subsequent checkin: b=53377, r=mjudge, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@79989 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 01:09:49 +00:00
cls%seawood.org
0ff119d973 Make build ids work on unix again. Bug #53559 r=jag a=jar
git-svn-id: svn://10.0.0.236/trunk@79987 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 00:38:38 +00:00
andreww%netscape.com
6f662aecd5 bugzilla=53813, r=hewitt, a=hangas, fix for bad reference to prefpanels.css messing up skin switching.
git-svn-id: svn://10.0.0.236/trunk@79986 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 00:12:08 +00:00
ben%netscape.com
821c50a74b fix for 53537, middle mouse click drag on scrollbar causes clipboard to load in content area.
patch from jrgm, r=alecf, sr=ben (juss' checking it in...)


git-svn-id: svn://10.0.0.236/trunk@79984 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 00:08:27 +00:00
mcafee%netscape.com
86ddc3ed86 Ctrl-Home isn't supposed to go to home page, says lake the UI czar (51597). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@79983 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 23:02:08 +00:00
sspitzer%netscape.com
cd6fb60fe5 fix for nsbeta3++ bug #2203.
the problem was we were calling CreateIncomingServer() before the accounts were
loaded.  To solve this, I put a safe call to LoadAccounts() at the start of
CreateIncomingServer().

looking at the checkin logs, mscott made the same fix a while ago, but it got
overwritten by another change.

r/a=mscott


git-svn-id: svn://10.0.0.236/trunk@79982 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 22:37:13 +00:00
nhotta%netscape.com
47e7ee700d Changed to delay unescaping URI so it's only applied to a folder path portsion, bug 52165, r=putterman, a=alecf.
git-svn-id: svn://10.0.0.236/trunk@79980 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 22:09:59 +00:00
mcafee%netscape.com
3a78308de9 Adding ctrl+/- accelerators for View|Text Size enlarge/reduce (51597). patch=jag, r=mcafee
git-svn-id: svn://10.0.0.236/trunk@79979 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 22:05:40 +00:00
despotdaemon%netscape.com
2608ad259a Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@79978 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 21:57:23 +00:00
attinasi%netscape.com
c1aa8ab9c0 Checking for null before deref: b=55358 r=a=buster
git-svn-id: svn://10.0.0.236/trunk@79976 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 21:00:32 +00:00
harishd%netscape.com
8ce4b6eeb9 50965 [nsbeta3+ - PDTP1]
Making sure that textnodes are created for SCRIPT,STYLE,TITLE,XMP,TEXTAREA,PLAINTEXT,
in FragmentSink, for editor->HTML Source.

r=jst
a=waterson.


git-svn-id: svn://10.0.0.236/trunk@79974 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 19:19:28 +00:00
sonmi%netscape.com
c19b7513e8 added SHLIB_PATH and LIBPATH for HPUX and AIX
git-svn-id: svn://10.0.0.236/trunk@79972 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 18:47:15 +00:00
jband%netscape.com
218ad77245 NOT PART OF BUILD. fixing tools bustage
git-svn-id: svn://10.0.0.236/trunk@79970 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 10:24:36 +00:00
rjc%netscape.com
d6ffb7a06f Fix bug # 53835: use appropriate namespace. r=waterson sr=brendan
git-svn-id: svn://10.0.0.236/trunk@79969 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 09:57:21 +00:00
idk%eng.sun.com
9a670ffd77 * NOT PART OF TBOX BUILDS *
Fixed bug with attributes handling.
Reported by Arthur Barrett


git-svn-id: svn://10.0.0.236/trunk@79968 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 08:46:42 +00:00
kvisco%ziplink.net
0e84aa541e Not part of regular build, a=leaf. Fixed xsl:include, reported by Steve Tinney
git-svn-id: svn://10.0.0.236/trunk@79967 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 07:38:51 +00:00
idk%eng.sun.com
ab0393e100 * NOT PART OF TBOX BUILDS *
Updated Pluglets to tip of the tree and latest jdk1.3 on solaris
Fixed 40615


git-svn-id: svn://10.0.0.236/trunk@79966 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 06:53:53 +00:00
hewitt%netscape.com
efefac8ab7 #53735 - [Modern] preventing toolbar buttons from stealing focus, r=andreww, a=hangas
git-svn-id: svn://10.0.0.236/trunk@79965 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 06:22:46 +00:00
m_kato%ga2.so-net.ne.jp
9940474780 fix bug 52863 r=rginda a=ben
fix installed-chrome.txt problem.  All chatzilla component do not register to installed-chrome.txt.  So IRC menu isn't shown in Task menu.


git-svn-id: svn://10.0.0.236/trunk@79964 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 06:10:39 +00:00
ssu%netscape.com
370cd25ed0 fixing bugscape #2469 - setuprsc.dll contains windows extended dialogs. sr=vishy r=dveditz affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@79963 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 05:23:00 +00:00
cls%seawood.org
0673f064f2 Fix OS/2 gmake problem. Bug #54080. r=leaf a=brendan Thanks to Mike Kaply <mkaply@us.ibm.com> for the patch
git-svn-id: svn://10.0.0.236/trunk@79962 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 05:20:06 +00:00
kmcclusk%netscape.com
9f4886f121 Added new method to control whether ViewManager and ViewManager2 double-buffer when rendering. bug 49743 a=roc+moz@cs.cmu.edu r=peterl@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79960 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 05:04:53 +00:00
warren%netscape.com
c597247d16 Bug 52111. Fix for race condition between file transport and async stream listener -- mStatus was temporarily getting set to WOULD_BLOCK. code=alex@cendio.se, r=warren
git-svn-id: svn://10.0.0.236/trunk@79959 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 05:03:47 +00:00
radha%netscape.com
a650350252 Fix for bug # 52457. Autocomplete not active in modern themes. r=ben, a=ben
git-svn-id: svn://10.0.0.236/trunk@79958 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 04:52:12 +00:00
wtc%netscape.com
f014e09be3 Bugzilla bug #54131: link executable programs with the -z and +s linker
options.


git-svn-id: svn://10.0.0.236/trunk@79957 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 04:49:09 +00:00
waterson%netscape.com
3f80aa8798 Bug 53608. Avoid creating atoms in nsXULContentUtils. r,a=hyatt
git-svn-id: svn://10.0.0.236/trunk@79956 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 03:54:44 +00:00
sfraser%netscape.com
44996a74ef Fix build scripts to work when using BuildNGLayout{Debug}.pl to both pull and build (configure after the checkout), and fix MozJar.pm to generate correct paths in installed-chrome.txt when not using jar files.
git-svn-id: svn://10.0.0.236/trunk@79954 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 02:24:55 +00:00
warren%netscape.com
5456205381 Fixed REGCHROME to work when MOZ_DISABLE_JAR_PACKAGING is defined. r=waterson
git-svn-id: svn://10.0.0.236/trunk@79953 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 02:21:41 +00:00
pschwartau%netscape.com
9bd84a2465 Adding new test case for scope check and creating js1_5 test suite.
git-svn-id: svn://10.0.0.236/trunk@79950 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 21:24:09 +00:00
thayes%netscape.com
aef272aa20 Add UTF8String handling to Name attributes.
git-svn-id: svn://10.0.0.236/trunk@79949 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 21:13:24 +00:00
svn%xmlterm.org
2ca3d7e207 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Fix for XMLterm user level/icons mode selection (workaround for bug 53448).


git-svn-id: svn://10.0.0.236/trunk@79947 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 14:57:27 +00:00
nboyd%atg.com
0ed7fc4c54 Miscellaneous formatting changes.
git-svn-id: svn://10.0.0.236/trunk@79946 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 14:07:45 +00:00
nboyd%atg.com
d815f995a1 Drop unneeded references.
git-svn-id: svn://10.0.0.236/trunk@79945 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 14:06:47 +00:00
nboyd%atg.com
a077088af8 Fix enum.js regression.
git-svn-id: svn://10.0.0.236/trunk@79944 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 14:04:20 +00:00
cls%seawood.org
bf6bf4c74f Make sure we stay within the posix cmdline length limit (4096) when creating jars. Fix for aix & irix. Bug #53881 r=daa@distributed.net
git-svn-id: svn://10.0.0.236/trunk@79943 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 00:36:12 +00:00
cls%seawood.org
533e71175e Unlink file before rename() ing it. Fixes OS/2 bustage. r=mkaply Bug 51857
git-svn-id: svn://10.0.0.236/trunk@79942 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 00:11:03 +00:00
cls%seawood.org
737f4811a5 Make MOZ_DISABLE_JAR_PACKAGING not create jar files.
git-svn-id: svn://10.0.0.236/trunk@79941 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 23:56:38 +00:00
cls%seawood.org
6c1c1f1dda Explicitly check for glib instead of relying upon libIDLs check. Avoid duplicate checks. Bug #53230
git-svn-id: svn://10.0.0.236/trunk@79940 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 23:36:13 +00:00
cls%seawood.org
b5208f7b1f Autoconf's handling of certain cached values appears to be lame. Need to set the cache file to /dev/null so that perl can be found under a new path.
git-svn-id: svn://10.0.0.236/trunk@79939 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 20:45:54 +00:00
cls%seawood.org
d0164aaac3 Bump required perl version to 5.004. Check the PERL env variable for perl as well as the path. Bug #52065 r=jag
git-svn-id: svn://10.0.0.236/trunk@79938 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 20:07:15 +00:00
svn%xmlterm.org
b9cc6b24fc --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Changes to get XMLterm working with the new jar packaging.


git-svn-id: svn://10.0.0.236/trunk@79937 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 14:33:30 +00:00
svn%xmlterm.org
b782bca0ee --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Recent changes to nsChromeProtocolHandler.cpp have caused chrome HTML files to lose their XPConnect privileges. This meant that content/xmlterm.html could no longer access the XMLTermShell object. This checkin provides a somewhat clumsy workaround for that problem, to get XMLterm working with NS PR3/6.0.


git-svn-id: svn://10.0.0.236/trunk@79936 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 14:22:11 +00:00
svn%xmlterm.org
7d7277040e --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Fix to handle click events in inserted HTML fragments properly.


git-svn-id: svn://10.0.0.236/trunk@79935 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 14:13:21 +00:00
disttsc%bart.nl
b2f4a32b89 Last batch of checkins for bug=53297 ('rdf:resource' -> 'resource', 'rdf:containment' -> 'containment'). r=akkana, r=cmanske, r=rginda, r=ben, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79934 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 08:14:55 +00:00
waldemar%netscape.com
5dd5dfffc6 Added void and classof operators
git-svn-id: svn://10.0.0.236/trunk@79933 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 06:08:53 +00:00
cls%seawood.org
5e76e229eb Turn off MONOLITHIC_TOOLKIT for Irix. Thanks to Robert Low <rob@adacel.com.au> for the patch. Bug #53471 r=cls a=brendan
git-svn-id: svn://10.0.0.236/trunk@79931 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 02:09:47 +00:00
mozilla.BenB%bucksch.org
fd41c16a4d 51285: Move |EnsureBlockDisplay| to make it less agressive. Patch by attinasi, r=buster
git-svn-id: svn://10.0.0.236/trunk@79930 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 17:59:20 +00:00
disttsc%bart.nl
eed6922727 Turn View -> Text Size back on now that bug 52985 (mac menu bug) is fixed. Bug=53207, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79929 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 14:41:58 +00:00
waldemar%netscape.com
531c0dfeb8 Made implements clauses js2-only
git-svn-id: svn://10.0.0.236/trunk@79928 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 08:15:06 +00:00
pavlov%netscape.com
eedbefe232 fix for bug #52414 r,a,etc=brendan
git-svn-id: svn://10.0.0.236/trunk@79927 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 02:53:16 +00:00
tor%cs.brown.edu
7adc5e3b90 Bug 52275 - crasher if we ended up in DrawComposited() with a zero
width or height.  r=pavlov,scc a=buster


git-svn-id: svn://10.0.0.236/trunk@79926 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 01:55:30 +00:00
brendan%mozilla.org
22321f285c Fix two distinct bugs with similar symptoms (53123, r=law, a=jband).
git-svn-id: svn://10.0.0.236/trunk@79925 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 01:26:03 +00:00
rods%netscape.com
758be6484a The font size for selects and buttons needs to reduce the font size by 2 points
from the default font size set in prefs
b=53744 a=buster


git-svn-id: svn://10.0.0.236/trunk@79923 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 00:30:04 +00:00
relyea%netscape.com
06c8b64538 Fix problem where RSA op failures cause multiple retries of the RSA algorithm.
git-svn-id: svn://10.0.0.236/trunk@79922 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 00:05:27 +00:00
relyea%netscape.com
48c1a3bc08 Move the header files.
git-svn-id: svn://10.0.0.236/trunk@79921 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 00:04:34 +00:00
relyea%netscape.com
ae0d608418 Use the new NSS_NoDB_init.
git-svn-id: svn://10.0.0.236/trunk@79920 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 00:00:05 +00:00
nhotta%netscape.com
e1ca114bb9 Changed to escape folder name to prevent 8 bit data from bad conversions,
also changed to apply correct conversions (UTF-8 for RDF, OS native charset for file name), bug 52165, r=putterman, a=alecf.


git-svn-id: svn://10.0.0.236/trunk@79919 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 23:58:19 +00:00
wtc%netscape.com
b42598d7a0 Added perl-generated files nssckpev.h nssckft.h nssckg.h nssck.api.
git-svn-id: svn://10.0.0.236/trunk@79916 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 22:52:20 +00:00
peterlubczynski%netscape.com
41bcbed581 Fix to ensure we don't go past array bounds in ScanNormalUnicodeText() b=52722 r=buster a=karnaze
git-svn-id: svn://10.0.0.236/trunk@79915 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 22:45:31 +00:00
ddrinan%netscape.com
0a16350103 Copy over ALL of the components directory
git-svn-id: svn://10.0.0.236/trunk@79914 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 22:32:35 +00:00
timeless%mac.com
044938dcec r=ben a=ben. This is to match spec, bug 44895.
git-svn-id: svn://10.0.0.236/trunk@79913 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 21:09:39 +00:00
dr%netscape.com
d6eef97b0f fix for 53750. mmmm, moodifiers. r=putterman,scc
git-svn-id: svn://10.0.0.236/trunk@79910 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 19:03:39 +00:00
putterman%netscape.com
055952db1b Fix for 53736 for jglick. r=hangas,scottip. a=leaf. make search dialog open correctly.
git-svn-id: svn://10.0.0.236/trunk@79909 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 18:29:12 +00:00
putterman%netscape.com
5404507189 Fix for 53752. r=sspitzer, a=leaf. Make drang and drop work in mailnews by removing incorrect ';'
git-svn-id: svn://10.0.0.236/trunk@79908 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 18:09:55 +00:00
putterman%netscape.com
c26a9faec2 Fix for 53736. r=hangas, a=leaf. Make mailnews search dialog come up.
git-svn-id: svn://10.0.0.236/trunk@79907 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 17:53:13 +00:00
relyea%netscape.com
2363b76ffe Add NSS_NoDB_Init()
git-svn-id: svn://10.0.0.236/trunk@79906 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 17:34:29 +00:00
relyea%netscape.com
0403eae9d6 Check in changes to add NSS_NoDB_Init().
git-svn-id: svn://10.0.0.236/trunk@79905 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 17:33:46 +00:00
mkaply%us.ibm.com
b45d8cbddd OS/2 Tinderbox breakage
HOME dir isn't working on OS/2, so profile can't be created so the browser won't come up.
Change to OS2 dir to get things working.
r=dr


git-svn-id: svn://10.0.0.236/trunk@79904 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 17:32:10 +00:00
ddrinan%netscape.com
512fcc3806 Make the component directory writeable
git-svn-id: svn://10.0.0.236/trunk@79903 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 17:06:59 +00:00
mcgreer%netscape.com
397511ee21 revert changes to DH param gen. MPI does compute q=2p+1 for strong primes, but returns q not p. #ifdef in rsa for testing mp_exptmod_d vs. mp_exptmod, mp_exptmod is considerably faster.
git-svn-id: svn://10.0.0.236/trunk@79902 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 16:24:16 +00:00
kestes%staff.mail.com
f647f0ce7b clarify the mailing system discriptions
git-svn-id: svn://10.0.0.236/trunk@79901 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:24:16 +00:00
kestes%staff.mail.com
35b749a41d fully tested
git-svn-id: svn://10.0.0.236/trunk@79900 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:17:14 +00:00
kestes%staff.mail.com
1b657dd390 factor out functions to the new package MailProcess
git-svn-id: svn://10.0.0.236/trunk@79899 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:16:52 +00:00
kestes%staff.mail.com
a114f4ca86 use the new named time constants
use BTData


git-svn-id: svn://10.0.0.236/trunk@79898 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:15:00 +00:00
kestes%staff.mail.com
ef3538a98d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@79897 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:08:53 +00:00
kestes%staff.mail.com
3e20a8b13d add gen test for the bug tracking system
git-svn-id: svn://10.0.0.236/trunk@79896 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:08:09 +00:00
kestes%staff.mail.com
557fbaff34 add information about the bug tracking system
git-svn-id: svn://10.0.0.236/trunk@79895 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:07:28 +00:00
kestes%staff.mail.com
b33c139472 clarify that the timestamp is for the build mail not any other mail.
git-svn-id: svn://10.0.0.236/trunk@79894 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:03:32 +00:00
kestes%staff.mail.com
ea641d2e47 modify escapeHTML() to escape the "'" as well as standard characters,
so that my popup windows code do not see a "'" in their input as this
confuses them. (It does not help the popup but seems like a good idea
to leave in.)


git-svn-id: svn://10.0.0.236/trunk@79893 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:03:03 +00:00
kestes%staff.mail.com
756fb7dca6 add information about bug tracking module
git-svn-id: svn://10.0.0.236/trunk@79892 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:01:58 +00:00
kestes%staff.mail.com
a4fb5cdd81 add named constants for time.
git-svn-id: svn://10.0.0.236/trunk@79891 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:01:32 +00:00
jeff.dyer%compilercompany.com
4cdc60c355 #45692:r=edburns,a=brendan. Backing out latest change.
git-svn-id: svn://10.0.0.236/trunk@79890 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:01:29 +00:00
kestes%staff.mail.com
188368516b add use HTMLPopUp; (how did this ever work?)
git-svn-id: svn://10.0.0.236/trunk@79889 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:59:20 +00:00
kestes%staff.mail.com
81628dfe2e localize variables which had not been declared.
add comments to generated html to help debugging.
remove comments about $HTMLPopUp::EMPTY_TABLE_CELL,
     they belong in HTMLPopUp.pm.
Add more data to popup window title.


git-svn-id: svn://10.0.0.236/trunk@79888 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:58:40 +00:00
kestes%staff.mail.com
24a82c7783 typo
git-svn-id: svn://10.0.0.236/trunk@79887 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:56:14 +00:00
kestes%staff.mail.com
4a579248b7 use configure to set #!perl
git-svn-id: svn://10.0.0.236/trunk@79886 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:55:58 +00:00
kestes%staff.mail.com
eb4fab01ed increase time for tipClose so that IE users get a chance to read the
popup windows while javascript fights for focus.


git-svn-id: svn://10.0.0.236/trunk@79885 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:55:12 +00:00
wtc%netscape.com
6e29508dde Bugzilla bug #53114: fixed license.
git-svn-id: svn://10.0.0.236/trunk@79884 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:55:03 +00:00
wtc%netscape.com
46066dbd6d Added a white space.
git-svn-id: svn://10.0.0.236/trunk@79883 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:52:32 +00:00
mkaply%us.ibm.com
2cecdb7f90 #53387
r=brendan, a=brendan
We were doing bad things to the OS/2 character code before we gave it to XP


git-svn-id: svn://10.0.0.236/trunk@79882 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:43:19 +00:00
rods%netscape.com
4a1da53975 now prints only leaf docshells when there is a frameset and print leaf docshells
AND the rest of the document for anything else.
b=47478 a=buster


git-svn-id: svn://10.0.0.236/trunk@79881 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:42:13 +00:00
jeff.dyer%compilercompany.com
3e3315c27f #45692:r=edburns,a=brendan. Followup fixes for oji liveconnect security. Second attempt.
git-svn-id: svn://10.0.0.236/trunk@79880 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:17:46 +00:00
jeff.dyer%compilercompany.com
46c56443e5 #45692:r=edburns,a=brendan. Followup fixes for oji liveconnect security.
git-svn-id: svn://10.0.0.236/trunk@79879 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 13:48:20 +00:00
mkaply%us.ibm.com
b1ecc043c5 OS/2 Tinderbox break
Using true instead of PR_TRUE


git-svn-id: svn://10.0.0.236/trunk@79878 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 12:16:14 +00:00
jst%netscape.com
9a5175b281 Oops, missed a file, this should fix the horkeage.
git-svn-id: svn://10.0.0.236/trunk@79877 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 11:16:27 +00:00
jband%netscape.com
3b9eecb7ec backing out check in from jin_nance that broke Mac
git-svn-id: svn://10.0.0.236/trunk@79876 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:42:54 +00:00
hewitt%netscape.com
70dc19ecee wrong case on makefile.in, full checkin coming in a sec for bug #51645
git-svn-id: svn://10.0.0.236/trunk@79875 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:19:16 +00:00
jst%netscape.com
b45fd7a390 Redoing how 'replaceable' properties on DOM objects are resolved to be compatible with 4.x, with this change named frames in framesets override 'replaceable' properties so that window.toolbar (or any replaceable property) in a frameset document with a frame named 'toolbar' actually resolves to the frame, and not the native toolbar. r/a=brendan, r=rpotts&scc
git-svn-id: svn://10.0.0.236/trunk@79874 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:18:07 +00:00
jband%netscape.com
8f808e9b01 checking in patch from Jon Smirl <jonsmirl@mediaone.net> that lets us see past xptcall 'SharedStub' frames in stack traces. Because xptcall was doing a non-standard frame the debuggers and trace tools were not showing callers. This fixes that problem and will allow us to get *much* better data on crashes and other problems where the stack crosses xptcall. Tested on debug and release. r=jband@netscape.com, a=brendan@mozilla.org, a=waterson@mozilla.org. Thank you Jon!
git-svn-id: svn://10.0.0.236/trunk@79873 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:09:23 +00:00
hewitt%netscape.com
eabbfb7284 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@79872 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 09:45:35 +00:00
jim_nance%yahoo.com
ff4e76f2a7 Fixed 50782. Multiply defined symbols cause Tru64 5.0 to crash.
Found and fixed by harbaugh.  Fix improved by tor, r=pnunn, a=brendan


git-svn-id: svn://10.0.0.236/trunk@79871 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 09:18:40 +00:00
scc%mozilla.org
fa0975f86b bug #36908: checking in for endico, r=scc, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79870 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 09:05:57 +00:00
hewitt%netscape.com
11d21b9c95 #46423 - [Modern] focus border for menulist, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79869 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 09:05:01 +00:00
scc%mozilla.org
2e8330aa99 bug #36908: checking in for endico, r=scc, a=brendan. This file may no longer be used, but it's here, so I'm patching it appropriately. If it's not used, no harm done.
git-svn-id: svn://10.0.0.236/trunk@79868 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 08:44:13 +00:00
scc%mozilla.org
960306f179 bug #36908: checking in for endico, r=scc, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79867 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 08:42:44 +00:00
waldemar%netscape.com
7f85fa8f1a Major revisions for Sep 18 and 21 language changes
git-svn-id: svn://10.0.0.236/trunk@79866 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 08:16:22 +00:00
waldemar%netscape.com
6abc9a93ec Removed "constructor" keyword
git-svn-id: svn://10.0.0.236/trunk@79865 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 08:14:56 +00:00
scc%mozilla.org
1bb5c6c6ce bug #36908: checking in for endico, r=scc, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79864 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 07:51:47 +00:00
beard%netscape.com
c985ec638f [not part of build] base class for all references, provides interior pointer detection.
git-svn-id: svn://10.0.0.236/trunk@79863 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 07:35:59 +00:00
beard%netscape.com
9c224f03d5 [not part of build] interior pointer detection, cycle detection.
git-svn-id: svn://10.0.0.236/trunk@79862 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 07:32:52 +00:00
ssu%netscape.com
c9414dffa7 fixing bug #39015 - enabling proxy info to be set in bin\defaults\prefs\all-proxy.js if set in installer as well. a=mscott r=dveditz
git-svn-id: svn://10.0.0.236/trunk@79861 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 07:29:58 +00:00
mcafee%netscape.com
96076802e0 Adding rule to add separators in taskbar menus, e.g. <NC:separator>sep</NC:separator> (bugscape 2281). r=saari,ben
git-svn-id: svn://10.0.0.236/trunk@79860 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:52:36 +00:00
saari%netscape.com
2a874a3d33 fix for 53017, linux specific focus bug. a=brendan
git-svn-id: svn://10.0.0.236/trunk@79859 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:48:56 +00:00
av%netscape.com
c6e1678052 Fix for 44692, allowing default plugin guess about mime type by extension, a=mscott
git-svn-id: svn://10.0.0.236/trunk@79858 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:31:29 +00:00
mstoltz%netscape.com
eddbf0c4fe bug 24765, hooking up necko file cache to jar protocol. Hopefully without leaks this time. Also fixed leak in nsJARURI. r=beard, warren
git-svn-id: svn://10.0.0.236/trunk@79857 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:21:18 +00:00
av%netscape.com
43504d4fc0 Fix for 53399, check for null-pointer to avoid crash, by sean, r=av, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79856 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:17:28 +00:00
ben%netscape.com
c1f7605975 46519, classic skin polish fixes, remove bottom border from internetresults tree. a=hyatt
git-svn-id: svn://10.0.0.236/trunk@79855 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:13:47 +00:00
saari%netscape.com
1449d3bf79 Mac part of 48785 (hyatt's keybinding checkin) and also a fix for 52552. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79854 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:03:13 +00:00
hyatt%netscape.com
53b9fa182d added files: mozilla/layout/xbl/src/nsXBLWindowKeyHandler.cpp
git-svn-id: svn://10.0.0.236/trunk@79853 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:49:40 +00:00
hyatt%netscape.com
0f1e48936e removed files: mozilla/rdf/content/src/nsXULKeyListener.cpp
git-svn-id: svn://10.0.0.236/trunk@79852 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:47:47 +00:00
hyatt%netscape.com
de4a9b070d added files: mozilla/rdf/content/src/nsXULKeyListener.cpp
git-svn-id: svn://10.0.0.236/trunk@79851 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:45:45 +00:00
hyatt%netscape.com
8d87fd2a19 48758. r=ben,saari, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79850 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:44:16 +00:00
hewitt%netscape.com
2d104433f1 #51645 - mac theme preview images, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79849 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:42:05 +00:00
wtc%netscape.com
d729098ae8 Bugzilla bug #53114: fixed license in nss/cmd/zlib/Makefile and
manifest.mn.  Thanks to Brian Ryner <bryner@netscape.com> for the bug
report.


git-svn-id: svn://10.0.0.236/trunk@79848 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:35:35 +00:00
hyatt%netscape.com
bd7730ac60 48758. r=ben,saari, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79847 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:31:36 +00:00
timeless%mac.com
4fd864a251 a=ben, partial fixes for bugs 38840, 41535 and Mail3PaneVertlayout
git-svn-id: svn://10.0.0.236/trunk@79846 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:30:04 +00:00
hewitt%netscape.com
35f0785e9e #46423 - make menulists crop, fixes overflowing text on messengercompose in modern. r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79845 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:17:53 +00:00
hewitt%netscape.com
69cc2f0a34 #46519 - s/align/orient on tabcontrol, corrects classic look, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79844 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:14:11 +00:00
cmanske%netscape.com
78ede3e3a8 Fixed bugs 43394 (wrong type for getting recent menu max items pref), 52878 (wrong doc url results in adding a charset incorrectly), 47704 (making composer new page prefs work). r=mjudge. a=ben
git-svn-id: svn://10.0.0.236/trunk@79843 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:13:34 +00:00
bryner%uiuc.edu
97949f9310 Oops, forgot this file. bug 53648, r=scc, a=gagan,brendan.
git-svn-id: svn://10.0.0.236/trunk@79842 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:09:36 +00:00
ccarlen%netscape.com
8388f7b7b5 Bug #48981
Make use of mpfilelocprovider for Shrimp
r=bhuvan,mscott


git-svn-id: svn://10.0.0.236/trunk@79841 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:05:48 +00:00
vishy%netscape.com
144cb573f0 bugzilla 52182. r=a=mscott.
Modify the logic to launch external browser (only for target=_content
and target=_blank links). Also add something to DocShellLoadInfo
so that a user of nsDocShell::LoadURI can specify the target desired.


git-svn-id: svn://10.0.0.236/trunk@79840 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:04:58 +00:00
ccarlen%netscape.com
9bb8b1d598 Bug #48981
Added mpfilelocprovider lib to makefile
r=bhuvan,mscott


git-svn-id: svn://10.0.0.236/trunk@79839 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:04:47 +00:00
hewitt%netscape.com
929c75b66e #46423 - [Modern] focus borders on widgets, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79838 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:03:57 +00:00
ccarlen%netscape.com
74a90a99c3 Bug #48981
Added mpfilelocprovider lib to project
r=sfraser


git-svn-id: svn://10.0.0.236/trunk@79837 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:03:30 +00:00
hyatt%netscape.com
0e0805138e 48758. r=ben,saari, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79836 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:02:20 +00:00
blakeross%telocity.com
3d641b38d9 Fix nsbeta3+ bug 50202, IE favorites not working in PT Bookmarks menu. r=a=don
git-svn-id: svn://10.0.0.236/trunk@79835 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:57:06 +00:00
dveditz%netscape.com
4d29994735 bug 47080 change value of navigator.platform for backward compatibility, r=sgehani,a=scc
git-svn-id: svn://10.0.0.236/trunk@79834 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:52:22 +00:00
radha%netscape.com
5405a421fe Fix for bug #52215 r=ben a=ben
git-svn-id: svn://10.0.0.236/trunk@79833 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:51:34 +00:00
scc%mozilla.org
cabcbd58e4 bug#53648: including IDL from the security world; actually bryner's change; r=scc, a=gagan,brendan
git-svn-id: svn://10.0.0.236/trunk@79832 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:42:21 +00:00
bryner%uiuc.edu
0d33cc389b Moving files out of security/base at request of security team. The new home for these files is in netwerk. Bug 53648. r=scc. a=gagan,brendan.
git-svn-id: svn://10.0.0.236/trunk@79831 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:42:20 +00:00
pinkerton%netscape.com
c38e9e651f in the event proc for the NavServices dialogs, tell the watch task that we've hit an event loop so that it doesn't change the cursor to a watch. r=hyatt, bug# 53121
git-svn-id: svn://10.0.0.236/trunk@79830 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:27:24 +00:00
cmanske%netscape.com
26ff6cc9d3 Fixed wrong image for toolbar bug 53588. r=mjudge, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@79829 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:27:07 +00:00
neeti%netscape.com
f9d6a6c4f8 fix for bug 51095- mStorageInUse grows faster than required if we update files.r=dp,a=mscott
git-svn-id: svn://10.0.0.236/trunk@79828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:17:22 +00:00
hewitt%netscape.com
9e91428b33 #46423 - on behalf of jglick: mail/news search dialog cleanup, r=hewitt, a=hangas
git-svn-id: svn://10.0.0.236/trunk@79827 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:14:04 +00:00
rpotts%netscape.com
d56d04d162 bug #53273 (r=neeti,fur a=me).Clear the TRUNCATED_CONTENT flag when all of the data arrives for a URI. This handles the case where the entry was evicted (and the content was truncated) and is later reused...
git-svn-id: svn://10.0.0.236/trunk@79826 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:12:42 +00:00
chuang%netscape.com
1b3a8cc931 Bug50584 Lists in Personal Address Book not migrating as lists, r=putterman,a=mscott
git-svn-id: svn://10.0.0.236/trunk@79825 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:59:13 +00:00
hewitt%netscape.com
781b6f3216 #46423 - remove underlines from personal toolbar folders on :hover, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79824 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:54:42 +00:00
hewitt%netscape.com
0c1e4fe8a6 #46423 - mac font correctness on search button, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79823 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:53:40 +00:00
hewitt%netscape.com
4eadc013ed #46423 - return black bottom border to personal toolbar, r=marlon, a=ben
git-svn-id: svn://10.0.0.236/trunk@79822 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:52:07 +00:00
hewitt%netscape.com
60ab465817 #46423 - on behalf of jag: correctly sized check image, r=hewitt, a=ben
git-svn-id: svn://10.0.0.236/trunk@79821 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:50:21 +00:00
hewitt%netscape.com
c0ef5ee3cd #46423 - make text colors consistent in modern, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79820 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:49:39 +00:00
hewitt%netscape.com
47b299f3f7 #46423 - color adjustment on bookmark icons, r=hyatt, a=ben
git-svn-id: svn://10.0.0.236/trunk@79819 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:48:40 +00:00
jefft%netscape.com
1f98c68b8b fixed bug53238.txt -- Data loss: attachment option {Save All} fails to prompt user if destination dir has an existing file w/ same file name. r=mscott; a=msanz
git-svn-id: svn://10.0.0.236/trunk@79818 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:46:31 +00:00
ccarlen%netscape.com
72e6e9370e Adding mpfilelocprovider to build
This lib is being used to fix #48981
r=bhuvan, mscott


git-svn-id: svn://10.0.0.236/trunk@79817 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:46:18 +00:00
mscott%netscape.com
aeb15cd0e7 Bug #44176 --> pass in the length as the max progress for the download. This allows implementors of
nsIWebProgressLIstener to get notifications for ftp downloads.
r=valeski r=gagan


git-svn-id: svn://10.0.0.236/trunk@79816 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:46:11 +00:00
mscott%netscape.com
5d650ce115 Bug #44176 --> in order to have a progress dialog for helper apps, we reset the notifications. http
wasn't regenerating the proxied notifciation calls.
r=gagan


git-svn-id: svn://10.0.0.236/trunk@79815 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:44:13 +00:00
ccarlen%netscape.com
510117945d This lib is being used to fix #48981
This change is for a whole in the Unix implementation of nsIFile
r=bhuvan, mscott


git-svn-id: svn://10.0.0.236/trunk@79814 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:43:12 +00:00
dbragg%netscape.com
515c8f7edc Fix for bug 53511. Added the warning text and formatted the dialog to fit it correctly. r=ben a=ben
git-svn-id: svn://10.0.0.236/trunk@79813 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:17:52 +00:00
putterman%netscape.com
cf3bbb471f More work on 46888. Checking in for naving. Make sure delete doesn't prevent messages from being displayed later on. r=scottip,a=alecf.
git-svn-id: svn://10.0.0.236/trunk@79812 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:10:21 +00:00
ben%netscape.com
a648f48f5b part of previous checkin, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@79811 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:00:04 +00:00
ben%netscape.com
990dbe9766 fix for bug 53265, trees, menulists, etc have grey background on linux.
Introduce some unix-classic stylesheets here to force the colour scheme for these widgets to be black-on-white. a=hyatt@netscape.com.

Update the windows classic skin files for textfields to remove the hack put in place to accommodate linux.


git-svn-id: svn://10.0.0.236/trunk@79810 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:58:41 +00:00
shanjian%netscape.com
daaa82a806 #49414 crash in exist when global ime exist
r/a=ftang
gAIMMApp->Deactivate() should be called before release. This is documented
in MS documentation and tested in 4.x code.


git-svn-id: svn://10.0.0.236/trunk@79809 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:54:28 +00:00
taka%netscape.com
dd5e79acec fix for #45222. r=alecf, a=alecf
git-svn-id: svn://10.0.0.236/trunk@79808 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:52:11 +00:00
varada%netscape.com
5737de1749 fix for bug#31263;make splitters persist position in mail;r=putterman;a=alecf
git-svn-id: svn://10.0.0.236/trunk@79807 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:51:33 +00:00
varada%netscape.com
e1e2ea4db4 fix for bug#28520; keyboard navigation for mail;r=putterman;a=alecf
git-svn-id: svn://10.0.0.236/trunk@79806 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:51:23 +00:00
alecf%netscape.com
9e2154c173 fix for #53200 r=putterman,mscott
make the priority and status strings localizable, and add a priority string for "Normal"
localization change a=msanz


git-svn-id: svn://10.0.0.236/trunk@79805 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:48:11 +00:00
timeless%mac.com
ec823041ed another fix for another part of bug 41535 r=cmanske a=ben.
git-svn-id: svn://10.0.0.236/trunk@79804 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:45:51 +00:00
ben%netscape.com
4966dbf83e fix for 51360, cleanup for sidebar panel preview. r=matt, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@79803 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:30:34 +00:00
sgehani%netscape.com
09af5ae64b Throw up an error dialog and stop if any zippy errors detected. [nsbeta3+ b=34014; r=ssu; a=syd]
git-svn-id: svn://10.0.0.236/trunk@79802 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:23:54 +00:00
sgehani%netscape.com
d075dda93e Make linux installer work with netscape.com ftp servers. Flush the *entire*
response from the control connection.
[nsbeta3++ b=53289; r=ssu; a=mscott]


git-svn-id: svn://10.0.0.236/trunk@79801 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:20:32 +00:00
av%netscape.com
c82a187603 This should fix the redness
git-svn-id: svn://10.0.0.236/trunk@79800 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 01:48:05 +00:00
ftang%netscape.com
15aa3407c3 fix bug 53210. check in for yokoyama from ftang
a=ftang r=ftang remove static link of IMM32.DLL


git-svn-id: svn://10.0.0.236/trunk@79799 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 01:06:51 +00:00
ftang%netscape.com
b1d31f2c7d fix bug 33162. a=ftang
check in machine generate code
remove NEC japanese range


git-svn-id: svn://10.0.0.236/trunk@79798 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 01:03:39 +00:00
av%netscape.com
8c26ff9682 Fixing #36089. Allowing Mac browse through both 'Plugins' and 'Plug-ins' folders, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79797 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:58:46 +00:00
ben%netscape.com
b3a6bd3bc0 fix for b53137, classic dual menubuttons don't click down anymore. Remove the hacks
that I put in place to compensate for incorrect :hover behaviour. r=ianh, a=hyatt


git-svn-id: svn://10.0.0.236/trunk@79796 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:55:35 +00:00
attinasi%netscape.com
8dda09c87d Added viewsource.css: style rules for viewsource window, extracted from html.css. Not Part Of Build, Not currently used. a=ianh@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79795 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:53:20 +00:00
sspitzer%netscape.com
9868572343 removing script, since it no longer works. r/a=ben
git-svn-id: svn://10.0.0.236/trunk@79794 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:44:18 +00:00
sspitzer%netscape.com
b6002faa44 fix for #53487. get open attachment to work from news messages.
code stolen from mscott's code for imap & local messages.
r/a=mscott.


git-svn-id: svn://10.0.0.236/trunk@79793 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:44:08 +00:00
mjudge%netscape.com
bf52251b65 r=sfrasier a=pdt+ fixing plain text mail 33654 see kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79792 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:43:44 +00:00
mscott%netscape.com
c1c3ebc382 Bug #51403, 52875 --> don't fall out with a failure just because we can't get a last
modification date for a document... r=a=waterson


git-svn-id: svn://10.0.0.236/trunk@79791 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:43:40 +00:00
mjudge%netscape.com
c28fcc88a1 r=sfrasier a=pdt fixed submitting not sending an on-change event before submit event.
git-svn-id: svn://10.0.0.236/trunk@79790 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:43:16 +00:00
rjc%netscape.com
11f9a7932b Fix bug # 52789: bookmark sorting fix. r=jag, brendan, scc
git-svn-id: svn://10.0.0.236/trunk@79789 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:42:21 +00:00
warren%netscape.com
e227340ba1 Fix for throbber blocker -- mixed up override and non-override case in make-jars.pl. Also fix for os/2 problem -- can't call utime on open file. Also removed extra CRs from die cmds. r=ssu,mkaply@us.ibm.com,fosterd@hartwick.edu
git-svn-id: svn://10.0.0.236/trunk@79788 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:31:58 +00:00
sfraser%netscape.com
283710af89 Fixing Mac out of memory blocker (dupped to bug 20743); make the low memory buffer purgeable again after reallocating it, and tweak the heap space numbers for GWorld allocations. r=pchen, sr=scc
git-svn-id: svn://10.0.0.236/trunk@79787 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:17:07 +00:00
despotdaemon%netscape.com
8da099d22b Pseudo-automatic update of changes made by yokoyama@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@79786 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:16:23 +00:00
edburns%acm.org
496cf20121 bug=47878
r=edburns
a=edburns
author=rmv@sparc.spb.su


git-svn-id: svn://10.0.0.236/trunk@79785 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:06:21 +00:00
ddrinan%netscape.com
88d5cc777e Copy ALL the contents of the components directory during build_xpi
git-svn-id: svn://10.0.0.236/trunk@79784 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:02:19 +00:00
mcgreer%netscape.com
d5e129d039 Fix DH param gen, MPI returns Sophie-Germain prime q, then compute 2q + 1. Initial checkin of two KEA functions.
git-svn-id: svn://10.0.0.236/trunk@79783 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 23:45:24 +00:00
gordon%netscape.com
a997b26141 Change for bug 21095 "about:cache and logging cache requests." Enabling changes for Macintosh. Added nsAboutCache.cpp to project file, and removed #if defs from nsNetModule.cpp. r=pinkerton a=brendan.
git-svn-id: svn://10.0.0.236/trunk@79782 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 23:08:12 +00:00
robinf%netscape.com
ddf93d4b95 fixing bug 52345: added View File button for panels.rdf
git-svn-id: svn://10.0.0.236/trunk@79781 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 23:02:44 +00:00
ddrinan%netscape.com
12277c548d This script will run regxpcom
git-svn-id: svn://10.0.0.236/trunk@79772 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 21:51:57 +00:00
ddrinan%netscape.com
a7c62abbcf More bug fixes for regxpcom
git-svn-id: svn://10.0.0.236/trunk@79771 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 21:50:23 +00:00
erik%netscape.com
f214eba503 bug 53585 and bug 53569; fixing a leak; r/a=brendan; a=granrose
git-svn-id: svn://10.0.0.236/trunk@79770 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 21:46:47 +00:00
sfraser%netscape.com
6accd6a5dd Rebuilt the project to attempt to avoid CodeWarrior crashes. a=granrose
git-svn-id: svn://10.0.0.236/trunk@79769 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 20:19:04 +00:00
evaughan%netscape.com
dbfd446b6e Fix for startup bug
-r waterson


git-svn-id: svn://10.0.0.236/trunk@79768 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 20:17:04 +00:00
ddrinan%netscape.com
42f5399239 Fix the directory location of regxpcom
git-svn-id: svn://10.0.0.236/trunk@79767 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 20:09:13 +00:00
mstoltz%netscape.com
6af6562c9e Fixing leak in nsXMLDocument to get the tree reopened. r=mccabe, brendan
git-svn-id: svn://10.0.0.236/trunk@79766 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 19:48:11 +00:00
ddrinan%netscape.com
9e00e22ad0 Fixed a problem with generating the component.reg file
git-svn-id: svn://10.0.0.236/trunk@79765 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 18:08:25 +00:00
warren%netscape.com
9e11d90fca Made it so that the commercial tree can find make-jars.pl
git-svn-id: svn://10.0.0.236/trunk@79764 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 17:24:07 +00:00
warren%netscape.com
44e0492e93 Added unlink before copy for case where commercial tree has a symlink.
git-svn-id: svn://10.0.0.236/trunk@79763 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 17:23:29 +00:00
cltbld%netscape.com
b4f8897a1c Do NOT hardcode values into the unix build. Let configure handled it. Fixing cement bustage
git-svn-id: svn://10.0.0.236/trunk@79762 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 16:37:14 +00:00
ccarlen%netscape.com
3c38de7ee0 Fix for #52181
r=dougt, a=buster


git-svn-id: svn://10.0.0.236/trunk@79761 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 13:45:31 +00:00
disttsc%bart.nl
6a7e4c2cd1 Partial fix for bug=53297 (rdf:resource -> resource), r=pavlov, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79760 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 13:32:30 +00:00
disttsc%bart.nl
eae12a24b7 Removing bookmarks.xul per dmose's suggestion ("that was really just me messing around"). bug=53297, r=dmose, a=(not in build).
git-svn-id: svn://10.0.0.236/trunk@79759 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 13:27:25 +00:00
locka%iol.ie
0f0bc80169 Commented out reference to undefined enum. b=39158
git-svn-id: svn://10.0.0.236/trunk@79758 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 12:08:31 +00:00
cls%seawood.org
663ac2d8a3 Removing perl mod test as it appears to be causing some ports to fail when they normally would not have.
git-svn-id: svn://10.0.0.236/trunk@79757 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 11:13:00 +00:00
locka%iol.ie
f7f131f31f Put a reentrancy hack into ActiveX control to prevent multiple instances of the control each trying to call NS_InitXPCOM and crashing. Should help VB programmers a lot. b=39158, a=valeski, r=valeski
git-svn-id: svn://10.0.0.236/trunk@79756 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 11:11:11 +00:00
pierre%netscape.com
8ae19847aa fix related to the reconstruction of html.css (#6625), the css system fonts (#1021 and #3371) and a regression on the Mac from #44656: make the html form controls look better on the Mac. a=buster
git-svn-id: svn://10.0.0.236/trunk@79755 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 10:22:14 +00:00
pierre%netscape.com
7598a7ebfc fix related to the reconstruction of html.css (#6625) and to css system fonts (#1021): in quirks mode and on each platform, use the same fonts as Nav4 for edit fields, lists and buttons. r=rods a=buster
git-svn-id: svn://10.0.0.236/trunk@79754 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 10:21:23 +00:00
pierre%netscape.com
290d99a73b bug 6625 et al: reconstruction of html.css, ua.css and quirks.css. Checked in for Ian Hickson (ianh@netscape.com). r=pierre a=buster
git-svn-id: svn://10.0.0.236/trunk@79753 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 10:20:23 +00:00
warren%netscape.com
60fc4becf1 Backing out jar protocol change because it introduced a big memory leak on tinderbox test. a=jag
git-svn-id: svn://10.0.0.236/trunk@79752 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 08:26:07 +00:00
cls%seawood.org
46ca8fa98f Argh! We're caching the results of the checks for zip & perl from way back when so we need to check them against : as an error condition.
git-svn-id: svn://10.0.0.236/trunk@79751 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 08:20:16 +00:00
cls%seawood.org
1485477b87 Sigh. We call that script unconditionally onw so this might as well be an error condition.
git-svn-id: svn://10.0.0.236/trunk@79750 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 08:10:19 +00:00
cls%seawood.org
cd1acf3251 adding missing path separators
git-svn-id: svn://10.0.0.236/trunk@79749 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:59:26 +00:00
ben%netscape.com
b3e0262c65 add missing file to fix bustage
git-svn-id: svn://10.0.0.236/trunk@79748 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:58:36 +00:00
warren%netscape.com
be480a8085 Fixed preview.gif in jar.mn
git-svn-id: svn://10.0.0.236/trunk@79747 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:45:26 +00:00
timeless%mac.com
1b885ae62b for bug 41535; r=cmanske, a=brendan; urgent=blake+l10n.
It seems that charsetOverlay was replaced by charsetDetectorsOverlay.


git-svn-id: svn://10.0.0.236/trunk@79746 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:44:39 +00:00
cls%seawood.org
4a9f14a61e fix for objdir bustage
git-svn-id: svn://10.0.0.236/trunk@79745 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:43:43 +00:00
warren%netscape.com
e033f13de3 Removed obsolete make-jars-unix.pl
git-svn-id: svn://10.0.0.236/trunk@79744 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:15:57 +00:00
warren%netscape.com
22384dd887 Made make-jars.pl not make intermediate copy. Fixed problem calling zip multiple times.
git-svn-id: svn://10.0.0.236/trunk@79743 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:14:35 +00:00
cls%seawood.org
82afea4c09 We're going to start checking for perl modules to avoid build bustage down the road. For now, disable jar packaging if we do not have the required modules.
git-svn-id: svn://10.0.0.236/trunk@79742 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:14:29 +00:00
ben%netscape.com
c7023b3ce4 make sure mac build system knows about extra jar.mn introduced by previous checkin...
git-svn-id: svn://10.0.0.236/trunk@79741 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:12:59 +00:00
ben%netscape.com
87eb98ee8f change jar.mn to accommodate previous checkin
git-svn-id: svn://10.0.0.236/trunk@79740 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:12:30 +00:00
ben%netscape.com
54c176cee1 second part of fix for 53159, editor UI fixes. r=hewitt, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@79739 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:11:20 +00:00
hewitt%netscape.com
c21d43a459 46423 - updated non-focused tree selection color, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79738 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:09:56 +00:00
hewitt%netscape.com
55ac99b2fa 46423 - [Modern] first round of new icons, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79737 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:09:31 +00:00
ben%netscape.com
1cfac46e3b first part of fix for 53156, editor UI issues. r=hewitt, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@79736 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:05:00 +00:00
ben%netscape.com
7e4407529f fix for instructional text in search panel not wrapping for narrow sidebar widths, bug 53159,
r=matt, sr=hangas


git-svn-id: svn://10.0.0.236/trunk@79735 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:04:03 +00:00
ben%netscape.com
2feec7dcac Fix for 53154, search customize dialog tidy up. r=hewitt, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@79734 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:02:38 +00:00
ben%netscape.com
e6d74053ce part of previous checkin
git-svn-id: svn://10.0.0.236/trunk@79733 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:00:10 +00:00
ben%netscape.com
9dc7de7811 Fix for bug 52966, blank first item in session history popup associated with URLBar. r=hewitt, sr=radha.
git-svn-id: svn://10.0.0.236/trunk@79732 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:59:25 +00:00
hewitt%netscape.com
b6b0f2716b #46519 - put addressbook.css back into classic.jar, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79731 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:57:11 +00:00
hewitt%netscape.com
0f842389df #46423 - [Modern] resurrect edit mode tabs in composer, r=cmanske, a=ben
git-svn-id: svn://10.0.0.236/trunk@79730 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:43:38 +00:00
hewitt%netscape.com
5fecb49040 #46423 - underlines on personal toolbar bookmarks, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79729 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:37:07 +00:00
bryner%uiuc.edu
096b686a65 Fixing 52749 - unset the currentitem attribute on the old current item
when a new one is selected.  sr,a=hyatt.


git-svn-id: svn://10.0.0.236/trunk@79728 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:33:55 +00:00
cls%seawood.org
10bd908e59 Remove hardcoded initial setting of MOZ_DISABLE_JAR_PACKAGING so users can set it in the env passed to configure. Thanks to decklin for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@79727 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:32:18 +00:00
warren%netscape.com
512d3769ea Making windows package the editor stuff. Fixing structure of editor jar.mn
git-svn-id: svn://10.0.0.236/trunk@79726 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:24:54 +00:00
cls%seawood.org
d87759af59 make MOZ_DISABLE_JAR_PACKAGING actually disable the building of jars. ports tinderboxes and other develoers were not ready for the extra build requirements. r=#mozilla
git-svn-id: svn://10.0.0.236/trunk@79725 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:22:06 +00:00
wtc%netscape.com
bdea4bc5b7 One only needs to link with either libcrypto or freebl. We need to copy
freebl/sha_fast.{c,h} to libcrypto to make libcrypto complete.
Modified files: nss/cmd/platlibs.mk, nss/lib/Makefile,
nss/lib/fortcrypt/swfort/pkcs11/Makefile.


git-svn-id: svn://10.0.0.236/trunk@79724 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:20:44 +00:00
buster%netscape.com
c6836cffe9 bug 52333 (infinite loop when shifting focus due to error in frame parentage)
r=waterson
a=waterson
fixed the frame parentage for generated content associated with a leaf element.


git-svn-id: svn://10.0.0.236/trunk@79723 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:04:58 +00:00
buster%netscape.com
2e806dc969 bug 50758 (text-align:right for text control doesn't render as you type)
r=sfraser
a=waterson
We now invalidate the line explicitly if text-align:right is set, because
our incremental painting is biased towards frames that grow to L2R.  This
is a heavy-handed workaround, but it ends up doing very little extra invalidation,
and uses an already existing mechanism by just setting an existing flag.


git-svn-id: svn://10.0.0.236/trunk@79722 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:03:39 +00:00
saari%netscape.com
95b6d2ada8 Fix for 52895, mac menus can get messed up by changing the title of a submenu. r=smfr
git-svn-id: svn://10.0.0.236/trunk@79721 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:29:20 +00:00
pinkerton%netscape.com
acecf6b5f9 remove watch task, it went into gfx. add accessors to get it.
git-svn-id: svn://10.0.0.236/trunk@79718 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:11:54 +00:00
pinkerton%netscape.com
9b75c9ab4a turn off watch task around print dialog, r=sfraser bug 53121.
git-svn-id: svn://10.0.0.236/trunk@79717 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:11:08 +00:00
pinkerton%netscape.com
32756e393e turn off watch task around TrackDrag(), r=sfraser bug 53121.
git-svn-id: svn://10.0.0.236/trunk@79716 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:10:55 +00:00
pinkerton%netscape.com
82380a4b74 add nsWatchTask, r=sfraser bug 53121.
git-svn-id: svn://10.0.0.236/trunk@79715 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:10:04 +00:00
pollmann%netscape.com
b64b4cd23b Bug 51576: Fix a crash when resizing browser to zero height or width for frameset pages; Fix thanks to tobias.weibel@gmx.net; r=self, jst, vidur
git-svn-id: svn://10.0.0.236/trunk@79714 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:07:06 +00:00
cls%seawood.org
9dc307ae32 Moving Cleanup() back into the JarIt() function until a proper fix for the bustage is found.
git-svn-id: svn://10.0.0.236/trunk@79713 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:05:26 +00:00
pinkerton%netscape.com
7aa2b031a8 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@79712 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:05:09 +00:00
mstoltz%netscape.com
2767b34064 Final (I hope) fix for 24765, using Necko file cache for the jar protocol. r=beard, a=warren.
git-svn-id: svn://10.0.0.236/trunk@79711 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:01:16 +00:00
pinkerton%netscape.com
5eb8b7c4b8 fix for 53478, mac menu items not responding to hidden attribute. r=saari/sfraser.
git-svn-id: svn://10.0.0.236/trunk@79710 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:01:09 +00:00
jband%netscape.com
bfe1b51ce8 - Use the thread context service rather than our own JSContext. This makes
us less unthreadsafe. Use THREADSAFE nsISupports impl macro. bug 52936
- Add JS_{Begin,End}Request. bug 39373
- Call xpc->InitClass on each global - not just the superglobal. bug 52591
- Remove some gotos using auto classes for cleanup.
- Converted WITH_SERVICE calls to do_GetService.
- Consistent placement of contractID strings.
a=shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@79709 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 04:30:32 +00:00
cls%seawood.org
7aeac0cad3 Replace custom recursive mkdir with perl5 standard File::Path::mkpath().
git-svn-id: svn://10.0.0.236/trunk@79708 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 04:29:59 +00:00
cmanske%netscape.com
7ebeb1d121 Strip out quote character in candidate filename, b=53377, r=pnunn, sfraser
git-svn-id: svn://10.0.0.236/trunk@79707 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 04:25:09 +00:00
cmanske%netscape.com
4e9fee0e5d Fixed hard-coded string, b=2410, r=pnunn, sfraser
git-svn-id: svn://10.0.0.236/trunk@79706 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 04:23:20 +00:00
rickg%netscape.com
832bd11159 fix potential leak from checkin for bug 48351. r=harishd, a=syd
git-svn-id: svn://10.0.0.236/trunk@79705 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 04:00:34 +00:00
waterson%netscape.com
13983dc9f9 Fix orange on linux; make page cycler load happen on event callback. r=warren, sort of
git-svn-id: svn://10.0.0.236/trunk@79704 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:59:54 +00:00
jband%netscape.com
b010fc6451 rest of the fix for bug 53268. a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@79703 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:56:42 +00:00
sspitzer%netscape.com
46ba1a56f0 fix for #53421. make it so we can save attachments from news messages.
the problem was to save attachments, we were calling DisplayMessage()
with news://host/article-id urls, instead of news_message://host/group#article-number
DisplayMessage() can handle news://host/article-id urls, so we just let it.
r/a=mscott


git-svn-id: svn://10.0.0.236/trunk@79702 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:54:17 +00:00
warren%netscape.com
a7c34311e1 Fixed 'zip warning: name not matched' problem
git-svn-id: svn://10.0.0.236/trunk@79701 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:51:35 +00:00
jst%netscape.com
55f542c6ee Fixing nsbeta3+ 38215. Making with(window.location) { href=someurl; } work by dynamically defining the 'href' property in LocationImpl::Resolve() (since src is defined as [noscript] in the IDL). r/a=vidur, r/a=brendan
git-svn-id: svn://10.0.0.236/trunk@79700 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:43:10 +00:00
ben%netscape.com
61f4054b88 fix for bug 53362, message header view has four collapsed toolbar grippies below it.
patched <toolbar> code to internally use an attribute with a slightly more arcane name
so that changes to XUL are not likely to cause this problem.
r=pinkerton, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@79699 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:33:11 +00:00
rickg%netscape.com
f49eac9ff8 WIP for nsbeta3+ bug 52725. r=buster, syd. A=syd. We need to confirm removal of nspr dependency, then we can strip winmm.lib from makefile
git-svn-id: svn://10.0.0.236/trunk@79697 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:59:39 +00:00
rickg%netscape.com
4621c994de fixed nsbeta3+PDT[n] bugs: 48351, 49278, 50070, 52478. Partial fix (WIP) for 49678 and 52725. R=attinasi, buster, syd. A=buster
git-svn-id: svn://10.0.0.236/trunk@79696 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:58:12 +00:00
jst%netscape.com
36f7537a83 Fixing nsbeta3+ 49112. Making with(someimageelement) { src=someurl; } work by dynamically defining the 'src' property in nsHTMLImageElement::Resolve() (since src is defined as [noscript] in the IDL). r/a=vidur, r/a=brendan
git-svn-id: svn://10.0.0.236/trunk@79695 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:42:46 +00:00
pinkerton%netscape.com
bb483bdfa6 Added a line to end the drag session on a drop. Fixes bug 51904. r=evaughan/hyatt
git-svn-id: svn://10.0.0.236/trunk@79694 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:35:10 +00:00
leaf%mozilla.org
15aa30e4a9 Automated update
git-svn-id: svn://10.0.0.236/trunk@79693 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:15:11 +00:00
mcafee%netscape.com
182bde85b7 Adding --disable-jar-packaging for unix. r=warren
git-svn-id: svn://10.0.0.236/trunk@79692 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:11:01 +00:00
danm%netscape.com
ad0184667c added null check to previous version's change. bug 53472.
git-svn-id: svn://10.0.0.236/trunk@79691 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:58:25 +00:00
javi%netscape.com
8d634e3465 bug #51568
r=thayes,ddrinan a=brendan

Modify the inputs to open PSM windows so that SDR password windows work properly.


git-svn-id: svn://10.0.0.236/trunk@79690 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:51:15 +00:00
warren%netscape.com
7f169b60ba Fixed (a) not deleting installed-chrome.txt (bugscape bug 2428), (b) made MOZ_DISABLE_JAR_PACKAGING work again, and (c) created dist/bin/chrome directory in add-chrome.pl -- breaking objdir builds. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@79689 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:47:19 +00:00
brendan%mozilla.org
52e543f81e Fix 53268, r=jband.
git-svn-id: svn://10.0.0.236/trunk@79688 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:37:02 +00:00
sfraser%netscape.com
82db7390cc More jar file landing script changes for Mac. New $options flags to control jar build, and some code to sanity check the combinations of options.
git-svn-id: svn://10.0.0.236/trunk@79687 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:36:34 +00:00
mkaply%us.ibm.com
b17acdf843 #53410
r=brendan, a=brendan
Using wrong identifier to get screen width and height


git-svn-id: svn://10.0.0.236/trunk@79686 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:26:00 +00:00
evaughan%netscape.com
4e14fe3ce1 fix for bug #52663
-r hyatt -a waterson


git-svn-id: svn://10.0.0.236/trunk@79683 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:20:00 +00:00
ddrinan%netscape.com
8467faca47 Fixed typo
git-svn-id: svn://10.0.0.236/trunk@79682 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:13:38 +00:00
dveditz%netscape.com
3a199a6226 mac blocker 53461, mail not registered, chatzilla not installed. a/r=warren
git-svn-id: svn://10.0.0.236/trunk@79681 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:02:28 +00:00
mcafee%netscape.com
763ecf020b Reverting v1.47 back to 1.46 to fix bustage. r=peterlubczynski
git-svn-id: svn://10.0.0.236/trunk@79679 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:21:24 +00:00
naving%netscape.com
f20ad01615 r=sspitzer a=mscott
git-svn-id: svn://10.0.0.236/trunk@79678 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:19:23 +00:00
naving%netscape.com
f1ec513bd0 r=sspitzer a=mscott. Added CancelFailed()
git-svn-id: svn://10.0.0.236/trunk@79677 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:18:31 +00:00
naving%netscape.com
2ed8824469 r=sspitzer a=mscott. Notifies failures for Cancel
git-svn-id: svn://10.0.0.236/trunk@79676 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:17:20 +00:00
naving%netscape.com
e7f7ad4219 r=sspitzer a=mscott.
git-svn-id: svn://10.0.0.236/trunk@79675 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:16:23 +00:00
naving%netscape.com
6f8e1ce387 r=sspitzer a=mscott. Added mDeleteOrMoveMsgFailed atom for notification in failed cases.
git-svn-id: svn://10.0.0.236/trunk@79674 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:15:47 +00:00
naving%netscape.com
02ceaa2d78 r=sspitzer a=mscott. Added notification for delete/cancel failures
git-svn-id: svn://10.0.0.236/trunk@79673 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:14:24 +00:00
naving%netscape.com
d544d38e95 r= sspitzer a=mscott Added notification for cancel/delete failures.
git-svn-id: svn://10.0.0.236/trunk@79672 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:13:08 +00:00
mstoltz%netscape.com
676f6215b3 Fixing 52497, security problem in document.implementation, r=jst a=brendan
git-svn-id: svn://10.0.0.236/trunk@79671 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:38:28 +00:00
warren%netscape.com
d1cfaf75a2 Added -s option to make-jars.pl (doh).
git-svn-id: svn://10.0.0.236/trunk@79670 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:36:42 +00:00
shanjian%netscape.com
481efead80 # 52142 Existence of XIM will crash mozilla
r=tajima@eng.sun.com a=ftang
Among all input styles, only over-the-spot works at this time. Force input
style to be over-the-spot.


git-svn-id: svn://10.0.0.236/trunk@79669 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:21:31 +00:00
bienvenu%netscape.com
131d2efafe part of fix for inability to select messages r=mscott 46888
git-svn-id: svn://10.0.0.236/trunk@79668 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:21:17 +00:00
peterlubczynski%netscape.com
a45f923fc4 Fix to ensure we don't go past array bounds in ScanNormalUnicodeText() b=52722 a=buster
git-svn-id: svn://10.0.0.236/trunk@79667 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:16:50 +00:00
ddrinan%netscape.com
a50ed5ff5a Generate a component.reg as part of the xpi build for Unix. Bug# 49507
git-svn-id: svn://10.0.0.236/trunk@79666 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:15:23 +00:00
ftang%netscape.com
596b49b200 fix bug 50816. add if statement for prevFont so it won't crash on win95J while prevFont is null (when we try to render a
Unicode which do not have glyph in any font on the system.
r=buster,erik a=buster.


git-svn-id: svn://10.0.0.236/trunk@79665 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:13:12 +00:00
dbragg%netscape.com
7dbb9e2619 Fix for bug 52827. Getting the parent window and passing it to the alert and confirm dialogs. r=dveditz, law a=law (I used the old appproval list).
git-svn-id: svn://10.0.0.236/trunk@79664 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:12:03 +00:00
hyatt%netscape.com
897a841c45 Fix for 51084, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@79663 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:10:48 +00:00
erik%netscape.com
5d0d1b28b3 bug 52655; r/a=ftang; switch from GetCharsetAtom2() to NS_NewAtom() since
the former does some unwanted charset name mapping to work around problems
with Web sites using the wrong charset names; also added self test code to
catch any spelling errors since we are now not going through the charset
manager (GetCharsetAtom2)


git-svn-id: svn://10.0.0.236/trunk@79662 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:06:53 +00:00
erik%netscape.com
791ffe17b5 bug 4238; r/a=ftang,buster,waterson; added language specific transforms so
that we can do things like U+005C -> U+00A5 (backslash -> yen sign for ja)


git-svn-id: svn://10.0.0.236/trunk@79661 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:00:32 +00:00
erik%netscape.com
47844e796a bug 4238; r/a=ftang,buster,waterson; added language specific transform type
getter to nsIPresContext so that we can do things like U+005C -> U+00A5
(backslash -> yen sign)


git-svn-id: svn://10.0.0.236/trunk@79660 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 22:59:20 +00:00
warren%netscape.com
dc1f3b667b Merged in cls' changes for objDir builds.
git-svn-id: svn://10.0.0.236/trunk@79659 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 22:45:45 +00:00
edburns%acm.org
ffa897dd6d These changes make it so webclient compiles with the tip as of 20
September 2000.  It will run, but without bookmarks.

The changes consist of the following kinds of changes:

Changes to method signatures for methods implemented by webclient.

Changes to string functions.

Changes to account for the demise of PROGIDS in favor of ContractIDs

Modified files:

M classes_spec/org/mozilla/webclient/test/EMWindow.java
M src_moz/CBrowserContainer.cpp
M src_moz/CurrentPageImpl.cpp
M src_moz/Makefile.win
M src_moz/NativeEventThread.cpp
M src_moz/RDFEnumeration.cpp
M src_moz/RDFTreeNode.cpp
M src_moz/ns_util_export.cpp
M src_moz/rdf_util.cpp


git-svn-id: svn://10.0.0.236/trunk@79658 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 21:53:05 +00:00
edburns%acm.org
ef806124bd This bug is about JavaDOM building on the tip. These changes make it so
you can build JavaDOM with the tip as of 20 Sept 2000.

M dom/jni/javaDOMGlobals.h

  changed nsString2 to nsString

M dom/jni/org_mozilla_dom_NodeImpl.cpp

  nsIDOMNode::Supports is now nsIDOMNode::IsSupported().


git-svn-id: svn://10.0.0.236/trunk@79657 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 21:47:42 +00:00
edburns%acm.org
dcc02d3f9e Changed to bring up to the tip.
bug=32162
a=brendan
r=leaf


git-svn-id: svn://10.0.0.236/trunk@79655 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 21:38:33 +00:00
warren%netscape.com
a52f8417a3 Taking stab at change -- need to use topsrcdir for objDir build system.
git-svn-id: svn://10.0.0.236/trunk@79653 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 21:28:30 +00:00
warren%netscape.com
c90b2b9551 Checking in diagnostics for puma problem.
git-svn-id: svn://10.0.0.236/trunk@79651 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 21:20:59 +00:00
sfraser%netscape.com
74f6ae493d Fixes from the jar branch; ensure we launch CodeWarrior before building, so that idepath.txt gets written out.
git-svn-id: svn://10.0.0.236/trunk@79644 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 20:03:34 +00:00
edburns%acm.org
3ada8c1653 bug=32162
r=leaf
a=brendan
# This file contains make rules for building java files using mozilla's
# make system.  To use this file, you must include this file before
# including rules.mak. Like this:

# include <$(DEPTH)\config\javarules.mak>
# include <$(DEPTH)\config\rules.mak>


git-svn-id: svn://10.0.0.236/trunk@79643 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 20:02:49 +00:00
sfraser%netscape.com
ae42a2b9cb Fixing to pull SeaMonkey from teh trunk again.
git-svn-id: svn://10.0.0.236/trunk@79642 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:45:54 +00:00
warren%netscape.com
cdc56bbf4c Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani
git-svn-id: svn://10.0.0.236/trunk@79641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:35:24 +00:00
cls%seawood.org
55b2ba2753 Added include so that LOAD_FLAGS_NONE is actually found. Now, maybe the ports will go green...err, orange again.
git-svn-id: svn://10.0.0.236/trunk@79640 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:26:44 +00:00
despotdaemon%netscape.com
83521b8fee Pseudo-automatic update of changes made by sonmi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@79635 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 17:57:26 +00:00
relyea%netscape.com
6db6c3f97c Changes to build OS/2 NSS.
git-svn-id: svn://10.0.0.236/trunk@79632 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 17:20:23 +00:00
relyea%netscape.com
f47ead3b87 OS/2 build changes.
git-svn-id: svn://10.0.0.236/trunk@79631 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 17:07:22 +00:00
mkaply%us.ibm.com
969ef21515 Tinderbox bustage - Ports SUNOS, Ports LinuxPPC
locka missed a LoadURI in xmlterm
a=leaf


git-svn-id: svn://10.0.0.236/trunk@79629 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 16:22:06 +00:00
jefft%netscape.com
1a37bc8c0c fixed bug34051 - use nsIFilePicker instead of nsIFileSpecWithUI; r=alecf
git-svn-id: svn://10.0.0.236/trunk@79628 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 14:50:55 +00:00
rods%netscape.com
6f8fc6b5b4 adding comments to the fix that already got checked in.
a=waterson r=attinasi


git-svn-id: svn://10.0.0.236/trunk@79627 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 14:47:18 +00:00
mkaply%us.ibm.com
deb47ab8e0 #45185
r=mkaply, a=brendan
An OS/2 specific splashscreen


git-svn-id: svn://10.0.0.236/trunk@79626 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 14:02:01 +00:00
locka%iol.ie
76130c2d8e Fixed typedef problem in Win32. b=50949
git-svn-id: svn://10.0.0.236/trunk@79625 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 13:28:19 +00:00
locka%iol.ie
485f539058 Removed bogus IDL entry causing horkage. b=50949
git-svn-id: svn://10.0.0.236/trunk@79624 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 12:49:48 +00:00
locka%iol.ie
b3b9b2c9a7 Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha
git-svn-id: svn://10.0.0.236/trunk@79623 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 12:23:53 +00:00
warren%netscape.com
3493178aec added contents.rdf files - not in build yet
git-svn-id: svn://10.0.0.236/trunk@79622 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 12:00:57 +00:00
leaf%mozilla.org
47d8c20481 Automated update
git-svn-id: svn://10.0.0.236/trunk@79621 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 11:46:43 +00:00
jdunn%netscape.com
8fddca4c14 unsetting the NO_LD_ARCHIVE flag for AIX, since it doesn't need
it and actually causes problems for us.
a= brendan@mozilla.org
#= 52783
r= cls@seawood.org


git-svn-id: svn://10.0.0.236/trunk@79620 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 11:40:42 +00:00
disttsc%bart.nl
474d2a9686 Remove incorrect 'rdf:' from 'rdf:resource', 'rdf:resource2' and 'rdf:containment'. Part of bug=53297, more to follow. r=rjc, a=waterson. This particular checkin should fix bug=52789 (column sorting in bookmarks and history) and bug=52547 (sidebar bookmarks panel not showing sort triangle).
git-svn-id: svn://10.0.0.236/trunk@79619 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 10:16:53 +00:00
edburns%acm.org
e9408a09a9 a=beard, waterson
r=av
bug=52963

Tested on win32.  Tested to build on win32 and solaris.

This patch fixes bug 52963, bug 52965, and bug 52973.

This patch contributed by Stanley Ho <stanley.ho@eng.sun.com>

52963: nsIPluginStreamListener::OnStartBinding isn't always called:

Added new ivar, mStartBinding:

   * Set to PR_TRUE after nsIPluginInstancePeer::OnStartBinding() has
   * been called.  Checked in ::OnStopRequest so we can call the
   * plugin's OnStartBinding if, for some reason, it has not already
   * been called.

52965: Length isn't always set:

  rv = channel->GetContentLength(&length);

  // it's possible for the server to not send a Content-Length.  We should
  // still work in this case.
  if (NS_FAILED(rv)) {
    mPluginStreamInfo->SetLength(-1);
  }
  else {
    mPluginStreamInfo->SetLength(length);
  }

52973: nsIHTTPHeaderListener called before nsIPluginStreamListener::NewStream

This fix required rolling back Andrei Volkov's change to the signature
of nsPluginStreamListenerPeer::SetUpStreamListener().  In order to call
the plugin with the headers before the NewStream is sent, we need the
nsIChannel.

files in this fix:

M modules/plugin/nglsrc/nsPluginHostImpl.cpp


git-svn-id: svn://10.0.0.236/trunk@79618 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 09:27:54 +00:00
waterson%netscape.com
6f54ba3dda Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@79617 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 08:25:48 +00:00
ben%netscape.com
fc8696fec9 a bunch more ViXEn stuff, not part of build!
git-svn-id: svn://10.0.0.236/trunk@79616 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 08:25:39 +00:00
mcafee%netscape.com
4bfe3604d8 Mis-named key id was preventing ctrl-s from showing up in File menu (53269). a,r=waterson
git-svn-id: svn://10.0.0.236/trunk@79615 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:39:38 +00:00
waterson%netscape.com
9d38102900 Fix orangeness on Linux.
git-svn-id: svn://10.0.0.236/trunk@79614 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:31:53 +00:00
waterson%netscape.com
518317ae26 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@79613 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:29:03 +00:00
hyatt%netscape.com
c8178f446e Fix for several XBL event regressions, trashing memory and crashers, sr=brendan,ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79612 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:21:35 +00:00
nisheeth%netscape.com
d6390acc47 r=reviewers@netscape.com (buster, waterson). Fix for nsbeta3+ bug . Turning on async reflow during doc load by default. This can be turned off by setting the "layout.reflow.async.duringDocLoad" pref to false in prefs.js.
git-svn-id: svn://10.0.0.236/trunk@79611 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:20:23 +00:00
hyatt%netscape.com
4420090f4e added files: mozilla/layout/xbl/src/nsXBLDragHandler.cpp, mozilla/layout/xbl/src/nsXBLFocusHandler.cpp, mozilla/layout/xbl/src/nsXBLFormHandler.cpp, mozilla/layout/xbl/src/nsXBLKeyHandler.cpp, mozilla/layout/xbl/src/nsXBLLoadHandler.cpp, mozilla/layout/xbl/src/nsXBLMouseHandler.cpp, mozilla/layout/xbl/src/nsXBLMouseMotionHandler.cpp, mozilla/layout/xbl/src/nsXBLScrollHandler.cpp, mozilla/layout/xbl/src/nsXBLXULHandler.cpp
git-svn-id: svn://10.0.0.236/trunk@79610 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:18:51 +00:00
hyatt%netscape.com
d6e1302ce6 Fix for several XBL event regressions, trashing memory and crashers, sr=brendan,ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79609 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:16:04 +00:00
dp%netscape.com
cb1b7d5fd7 bug 53122 OnFileAvailable() not being called due to release of
mCacheEntry by nsHTTPChannel before calling stop request. Delaying
release until after onStopRequest is called.

bug 51043 Caching cgi when we are not supposed to. Now we refetch a
page if there isn't Modified-Since header being sent. That isolates
cgis pretty well and keeps normal pages working as is.

bug 53272 Cache corruption triggers when we hit DNS errors. This is
due to the entry being in memory and never being flushed to
disk. Calling CacheAbort() on the error condition from
ResponseCompleted() takes care of that.
r=neeti, gagan


git-svn-id: svn://10.0.0.236/trunk@79608 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:13:03 +00:00
waterson%netscape.com
f10d520b6a Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@79607 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 06:40:22 +00:00
waterson%netscape.com
ac48abcd87 Bug 44352. Remove nsIMemoryPressureObserver in favor of nsIObserverService et al., and convert existing nsIMemoryPressureObserver clients. Add memory flusher thread. Add debug UI to force memory flush. r=alecf,sfraser,warren a=warren
git-svn-id: svn://10.0.0.236/trunk@79603 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 05:44:19 +00:00
jst%netscape.com
766617aaa5 Fixing nsbeta3+ bug 52724. Fixing an oversight found by David Baron in HTMLDocument::createElement(), this makes document.createElement() be case insensitive. r/a=vidur, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@79601 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 05:12:44 +00:00
bienvenu%netscape.com
10cddfdb57 fix crash replying to outlook message with dashed frame 52130 r=buster,waterson
git-svn-id: svn://10.0.0.236/trunk@79599 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 04:02:20 +00:00
bienvenu%netscape.com
d2b12e24b0 fix problem printing news messages r=mscott 52194
git-svn-id: svn://10.0.0.236/trunk@79598 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 03:43:08 +00:00
bienvenu%netscape.com
85b56a4170 fix corruption of msg threads r=scott 53184
git-svn-id: svn://10.0.0.236/trunk@79597 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 03:41:34 +00:00
idk%eng.sun.com
3ae85a8a7a * NOT PART OF TBOX BUILDS *
Fixed bug with [out] parametrs in java.
Improved component registration.
Added test for accessing ComponentManager from java


git-svn-id: svn://10.0.0.236/trunk@79594 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 01:32:12 +00:00
danm%netscape.com
bd843ec86f nip infinite recursion in GetInsertionPoint that can happen with xbl bindings that generate anonymous content and also contain a children element, as do trees and tabs. bugs 53116,53150. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79590 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 01:02:04 +00:00
hewitt%netscape.com
d60cb60c49 #46423 - [Modern] address book cleanup, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79589 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:26:30 +00:00
hewitt%netscape.com
f3071c548c #46519 - [Classic] address book cleanup, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79588 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:25:35 +00:00
hewitt%netscape.com
1a175077b0 #46519 - [Classic] messenger focus rings and general cleanup, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79587 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:24:05 +00:00
hewitt%netscape.com
aa5e60f7bb #46423 - messenger focus rings, :active behavior on "File" button, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79585 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:14:58 +00:00
waterson%netscape.com
0407eb4866 Bug 50999. Make nsBindingManager keep track of nsIAnonymousContentCreator-generated content; simplify anonymous content cleanup dance by making nsIBindingManager::ChangeDocumentFor() method. r=dbaron,hyatt a=hyatt
git-svn-id: svn://10.0.0.236/trunk@79584 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:14:04 +00:00
hewitt%netscape.com
32648347ca #46015 - making Ctrl-R work correctly for reload, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79583 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:08:50 +00:00
akkana%netscape.com
f8e7599ce6 More 50252: Handle the gtk keypad keys too. r=kin,pavlov
git-svn-id: svn://10.0.0.236/trunk@79582 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:02:30 +00:00
hewitt%netscape.com
c455a5a7f3 #46423 - cleaner navbar disabled buttons, r=marlon, a=ben
git-svn-id: svn://10.0.0.236/trunk@79581 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:59:38 +00:00
disttsc%bart.nl
06cec7ba8b Fixes a minor gotcha when selecting View -> Text Size -> Other, then cancel. Checkmark was left on Other instead of being set back on the menuitem it was on before. bug=52971, r=mozbot, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@79580 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:59:32 +00:00
hewitt%netscape.com
efa63ead01 #46423 - polish for menupopups of button-toolbar-2, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79579 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:58:36 +00:00
hewitt%netscape.com
eab50586f7 #46423 - menu tweaks and tooltip color change, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79578 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:57:37 +00:00
hewitt%netscape.com
2a9e53e4b8 #46423 - [Modern] toolbar collapsing fix, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79577 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:56:19 +00:00
hewitt%netscape.com
e63efe8cc0 #46423 - [Modern] making grippies scale vertically, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79575 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:48:52 +00:00
hewitt%netscape.com
df5321e419 #46423 - [Modern] making grippies scale vertically, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79574 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:40:04 +00:00
robinf%netscape.com
4e825d41a2 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@79573 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:24:39 +00:00
danm%netscape.com
cd9e2a50ef re-allow generalized event dispatch for windowshaded windows, but disallow mousemoved events. fixes bugs 33735, 51649, 52950, 51642. reverts bug 49007. sorry. r=pinkerton,sfraser.
git-svn-id: svn://10.0.0.236/trunk@79572 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:13:39 +00:00
disttsc%bart.nl
61f1446b68 Fixes View -> Text Size -> Other not opening a dialog on jar builds. Forgot to check this in last time. bug=52968, r=ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79571 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:13:02 +00:00
ssu%netscape.com
f47d9e1aee fixing bugscape #2351 - Cannot install from N6Setup.exe due to stale ns_temp dir. Affects only windows platforms a=mscott r=sgehani
git-svn-id: svn://10.0.0.236/trunk@79570 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:12:43 +00:00
hewitt%netscape.com
48783310a8 #46423 - [Modern] disabled text on navbar buttons should be dark, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79569 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:10:40 +00:00
hewitt%netscape.com
70ce68c245 #46423 - [Modern] tree cleanup, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79568 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:09:41 +00:00
timeless%mac.com
654b4466f3 fix bug 38866 r=ducarroz a=brendan using the revised string Auto-Detect per brendan and rudman
git-svn-id: svn://10.0.0.236/trunk@79567 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:02:06 +00:00
svn%xmlterm.org
2cd0b523d0 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Fixed missing caret problem. Updated jar.mn for locale stuff.


git-svn-id: svn://10.0.0.236/trunk@79566 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:01:42 +00:00
hewitt%netscape.com
4b60d57456 #46519 - get rid of border around treehead > treerow, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79565 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:01:25 +00:00
hewitt%netscape.com
aa6969ee2a #52828 - removed buggy tabpanel binding, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79564 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:59:24 +00:00
svn%xmlterm.org
f80101ba43 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Locale chrome changes. Added makefiles to handle xmltermOverlay.dtd


git-svn-id: svn://10.0.0.236/trunk@79563 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:58:39 +00:00
hewitt%netscape.com
3e5c33badf #46519 - put menubar on messageWindow within toolbox, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79562 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:58:28 +00:00
hewitt%netscape.com
9f4aa4ad1d #53084 - put twisties back on address book, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79561 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:55:42 +00:00
hewitt%netscape.com
4ebcaad5ad #52872 - removed extra tabs on form manager, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79559 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:51:09 +00:00
hewitt%netscape.com
d958ff74a6 #46519 - composer edit mode tab stuff, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79558 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:46:47 +00:00
hewitt%netscape.com
0bd0d8eb27 #45102 - theme preview images, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79557 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:41:53 +00:00
sspitzer%netscape.com
fece31ac28 part of the fix for #46888. after cancelling a news message, you can't
select another message.  fix by naving@netscape.com.  r=sspitzer,a=mscott
also a couple bullet proofing fixes to prevent crashes.


git-svn-id: svn://10.0.0.236/trunk@79556 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:40:52 +00:00
akkana%netscape.com
eac61c4ec3 50252: Fix non-alphabetic control/alt key events. r=kin,pavlov
git-svn-id: svn://10.0.0.236/trunk@79555 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:40:04 +00:00
sspitzer%netscape.com
97a1b2d046 bullet proofing for crash in #53250, related to #49115
r/a=mscott


git-svn-id: svn://10.0.0.236/trunk@79554 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:37:02 +00:00
harishd%netscape.com
e3738c1511 52013 - Block sink reentrance to avoid frame duplication.
49115 - Delay breaking the circularity, between parser & snk, with a death grip!!!

r=jst
a=vidur
[sheriff approved]


git-svn-id: svn://10.0.0.236/trunk@79553 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:35:50 +00:00
rpotts%netscape.com
1e559a5bcb bug #21095. Registering about:cache handler for windows and unix. The mac is excluded until some project work is done...
git-svn-id: svn://10.0.0.236/trunk@79552 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:33:55 +00:00
mscott%netscape.com
fa39469bdc Bug #52712 --> use collapsed attribute instead of hide consistantly...fixes problem
where attachment button would stop working after you switched folders
r=alecf


git-svn-id: svn://10.0.0.236/trunk@79551 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:26:54 +00:00
danm%netscape.com
c1e9cb725d skip parent window activation (bug 22658) on close if parent is HiddenWindow. bug 51619. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79550 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:17:32 +00:00
harishd%netscape.com
1bb3ea3774 42429 - Enabling code that I'd to back out due to bug 52443.
Looks like the TABLE code is ready to face the change.

r=rickg
a=jst


git-svn-id: svn://10.0.0.236/trunk@79549 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:13:53 +00:00
tor%cs.brown.edu
344c4a3a48 Lie in ImgDWriteReady as a minimal impact workaround until
41831 is fixed.  This was causing JNG images not to display
out of the cache, and probably occasionally a failed first
load.  r=pnunn, a=brendan


git-svn-id: svn://10.0.0.236/trunk@79548 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:03:31 +00:00
shanjian%netscape.com
dc6ad28b7b #53072 IME candidate window position problem
r=sfraser a=ftang
Offset within view is missing in one of the code path. Add it there.


git-svn-id: svn://10.0.0.236/trunk@79547 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:55:59 +00:00
tor%cs.brown.edu
8530ab1bab Small change to make a debug message from ilclient.cpp more
accurate, and only print it when compiled in debug mode (was
appearing when switching skins).
r=pnunn, a=brendan


git-svn-id: svn://10.0.0.236/trunk@79546 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:54:29 +00:00
heikki%netscape.com
82a70c8b59 Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods.
git-svn-id: svn://10.0.0.236/trunk@79545 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:47:04 +00:00
jband%netscape.com
0d1da1648f Allow for detection and graceful failure when we stumble upon an incompatible typelibs which might exist in the future. bug 53155. NOT fixing brendan's nit about the grammar in the comment. a=brendan@mozilla.org, r=shaver@mozilla.org,mccabe@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79544 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:42:47 +00:00
mcgreer%netscape.com
5f7f176064 Check in self-test based on FIPS 186-1 appendix 5
git-svn-id: svn://10.0.0.236/trunk@79543 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:14:22 +00:00
rogerl%netscape.com
19dd3fd7d2 Cleanup warning fix.
git-svn-id: svn://10.0.0.236/trunk@79542 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 20:56:49 +00:00
rogerl%netscape.com
9cb4c52c59 Fixed warnings for gcc build.
git-svn-id: svn://10.0.0.236/trunk@79541 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 20:35:05 +00:00
edburns%acm.org
74676b3b89 Jason found a bug left over from the manual diff.
git-svn-id: svn://10.0.0.236/trunk@79540 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 20:34:18 +00:00
beard%netscape.com
6559d1bc17 Backed out eager call to Initialize().
git-svn-id: svn://10.0.0.236/trunk@79539 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 20:15:15 +00:00
chrisk%netscape.com
00f892196c Fix bug # 53221: Call RNG_SystemInfoForRNG to provide RNG with enough
entropy for proper operation.


git-svn-id: svn://10.0.0.236/trunk@79538 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 19:34:46 +00:00
tao%netscape.com
a2188fb84c 09/17/00 history data.
git-svn-id: svn://10.0.0.236/trunk@79536 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 17:58:22 +00:00
beard%netscape.com
d083af01c7 [not part of build] make sure a writer is open at the end, before attempting to close it.
git-svn-id: svn://10.0.0.236/trunk@79535 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 17:53:17 +00:00
wtc%netscape.com
03b4e3428e Bugzilla bug #53204: import NSPR 4.0.1 on Windows NT and 4.0 on all other
platforms.
Modified files: manifest.mn, Makefile


git-svn-id: svn://10.0.0.236/trunk@79534 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 17:49:54 +00:00
mcgreer%netscape.com
89954b170a include support for adding S/MIME certs to the database. this will be needed for S/MIME test code.
git-svn-id: svn://10.0.0.236/trunk@79533 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 16:22:17 +00:00
terry%mozilla.org
0e2cfc5de9 Oops! This was changed a couple of months ago in such a way that a
large class of problems wouldn't be reported.  (It wouldn't show most
cases where a table had an invalid ID pointing into another table.)


git-svn-id: svn://10.0.0.236/trunk@79532 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 15:42:53 +00:00
beard%netscape.com
a728f62d23 [Not part of build] Changed getServices() to attribute services.
git-svn-id: svn://10.0.0.236/trunk@79531 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 14:48:11 +00:00
hyatt%netscape.com
2e04b10a30 Addendum to 53091. sr=ben
git-svn-id: svn://10.0.0.236/trunk@79527 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 07:25:45 +00:00
idk%eng.sun.com
83ab1ccef8 * NOT PART OF TBOX BUILDS *
Fixed bug with sending NULL pointer to object


git-svn-id: svn://10.0.0.236/trunk@79526 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 06:47:06 +00:00
mcgreer%netscape.com
0da23ab502 don't set modulus octets until good primes are generated.
git-svn-id: svn://10.0.0.236/trunk@79525 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 06:18:04 +00:00
wtc%netscape.com
5b8bc6256d Bugzilla bug #52404: FreeBSD doesn't have cuserid() either. Thanks to
Thomas Stromberg <tstromberg@rtci.com> for the bug report.


git-svn-id: svn://10.0.0.236/trunk@79524 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 06:05:28 +00:00
mcgreer%netscape.com
3de86952da don't set prime data until good primes are generated.
git-svn-id: svn://10.0.0.236/trunk@79523 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 06:03:52 +00:00
beard%netscape.com
937a69ab56 [Not part of build] Added traceCollection, getServices methods.
git-svn-id: svn://10.0.0.236/trunk@79520 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:40:17 +00:00
quy%igelaus.com.au
3e360363c1 removing mozilla script from ignore list. r=waterson
git-svn-id: svn://10.0.0.236/trunk@79519 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:40:04 +00:00
beard%netscape.com
6530afb6ed Fixed startup/terminate routines.
git-svn-id: svn://10.0.0.236/trunk@79518 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:38:23 +00:00
jst%netscape.com
a76efbcbf7 Fixing nsbeta3+ bug 52572. Renaming CSSValue::valueType to CSSValue::cssValueType to be up-to-date with the latest changes to the DOM Level 2 spec. r/a=vidur, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@79517 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:37:23 +00:00
jst%netscape.com
75e09ddb65 Fixing nsbeta3+ bug 50393. Make frameset windows request the principal form their parent if there's no document object in the frameset nor a cached principal, this can happen with <frame src='javascript:...'> frames. r/a=vidur, r=mstoltz.
git-svn-id: svn://10.0.0.236/trunk@79516 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:21:00 +00:00
jst%netscape.com
3eb8fb9e34 Fixing nsbeta3+ bug 43741. Making mozilla ignore document.open() calls that are executed while the document is being parsed, this is needed for backwards compatibility. r/a=vidur, r=joki
git-svn-id: svn://10.0.0.236/trunk@79515 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:11:59 +00:00
wtc%netscape.com
4ef9643340 Bugzilla bug #52399: handle FreeBSD. Thanks to Thomas Stromberg
<tstromberg@rtci.com> for the bug report.


git-svn-id: svn://10.0.0.236/trunk@79514 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 04:11:53 +00:00
wtc%netscape.com
db2d231de2 Bugzilla bug #52398: define USE_PTHREADS=1 by default. Do not link with
-lc or -lc_r.  Also merged other changes from NSPR's FreeBSD.mk.
Thanks to Thomas Stromberg <tstromberg@rtci.com> for the bug report.


git-svn-id: svn://10.0.0.236/trunk@79511 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:53:08 +00:00
sspitzer%netscape.com
205a80ccaf fix for bug #47521. if the user cancels the account wizard on an invalid account,
force the account to get created anyway.  r/a=alecf


git-svn-id: svn://10.0.0.236/trunk@79510 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:44:33 +00:00
saari%netscape.com
e752b34f33 more fixes for 53017. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79509 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:37:09 +00:00
saari%netscape.com
b4f2be2aec focus fixes for 52150 et all. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79508 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:16:30 +00:00
tao%netscape.com
bac8d2755d mt421 release from Henrik.
git-svn-id: svn://10.0.0.236/trunk@79507 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:14:37 +00:00
saari%netscape.com
00c4bfcb32 fixing focus bugs for 53017. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79506 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:14:31 +00:00
tao%netscape.com
967ad1d080 mt420 release from Henrik.
git-svn-id: svn://10.0.0.236/trunk@79505 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:11:15 +00:00
tao%netscape.com
c72110c027 mt415 from henrik
git-svn-id: svn://10.0.0.236/trunk@79503 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:04:18 +00:00
beard%netscape.com
b9d21d46b2 [Not part of build] Really increase default heap size, to 8192.
git-svn-id: svn://10.0.0.236/trunk@79502 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:50:00 +00:00
beard%netscape.com
d2cdd88fd3 Bumped up memory/stack.
git-svn-id: svn://10.0.0.236/trunk@79501 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:34:41 +00:00
wtc%netscape.com
bfb15d5c17 Bugzilla bug #53143: removed the definition of NSPR internal macros.
Modified files: FreeBSD.mk, HP-UXB.10.10.mk, HP-UXB.10.20.mk, Linux.mk,
OSF1.mk, SunOS5.mk, cmd/SSLsample/Makefile.NSS, lib/freebl/Makefile.


git-svn-id: svn://10.0.0.236/trunk@79500 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:24:31 +00:00
brendan%mozilla.org
fa61a08216 Add strict warning for undefined property reference (foo.bar where bar names no object in foo or its prototypes; r=jband).
git-svn-id: svn://10.0.0.236/trunk@79499 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:24:11 +00:00
brendan%mozilla.org
861e26cb89 Fix JS_BeginRequest to avoid self-deadlock if called from a finalizer (52808, r=jband).
git-svn-id: svn://10.0.0.236/trunk@79498 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:18:17 +00:00
wtc%netscape.com
5fef956239 Added FreeBSD.mk, which contains the common config stuff for all versions
of FreeBSD.mk.  FreeBSD2.mk now merely includes FreeBSD.mk.
Modified file: FreeBSD2.mk
Added file: FreeBSD.mk


git-svn-id: svn://10.0.0.236/trunk@79497 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 01:48:42 +00:00
hyatt%netscape.com
8a90e94a56 fix for 53091, r=saari, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@79496 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 01:24:44 +00:00
jband%netscape.com
238a849b3f fix shutdown crasher bug 52940. We can't leave the thread context stack service thinking that the context we are about to delete is still valid. a,r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@79495 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 01:09:48 +00:00
nhotta%netscape.com
e16f2bd594 bug: 45678 wrong font in mail composer
fix: set the 'document' charset (we figure out the target charset
     but did not set it in the 'document'
r=nhotta, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@79494 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 01:07:28 +00:00
cotter%netscape.com
aef795dddf Updated info re installation directories, running Communicator 4.x. Moved sentence re problems running PSM on Unix if you havelogged in as a different user since installation to Known Bugs/Issues.
git-svn-id: svn://10.0.0.236/trunk@79493 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:23:38 +00:00
brendan%mozilla.org
86e239c98f Fixes to use atomic rename(2) if possible in nsLocalFile::MoveTo (33098, r=?),
plus a bunch of other fixes and cleanups:

- Fix comment misstatements of fact in nsIFile.idl, improve style slightly.
- Fix typo in comment in nsILocalFile.idl.
- Avoid gratuitous nsCString and nsXPIDLCString copy-constructions, which
  entail malloc'ing, in nsLocalFileUnix.cpp's CopyTo and GetParent methods.
  But do use nsXPIDLCString instead of raw nsMemory::Alloc/Free.
- Get rid of unnecessary mLL_II2L and mLL_L2II macros, use "prlong.h" API only.
  Also use the LL_* macros consistently in case a Unix lacking long long type
  support wants to use this code.
* BTW, the "Date" methods should be renamed to use "Time" instead -- after all
  PRTime is the type, and traditionally "time" refers to the time-number, a
  scalar independent of one's position on the surface of the earth, while
  "date" refers to a struct full of locale-specific information derived from
  time and some "environment" variables such as DST.  Can we rename these
  nsIFile methods before Mozilla 0.9 / Netscape 6?
- Use CHECK_mPath consistently and first, before any assertions relating to
  arguments (which logically come after the 'this' parameter CHECK_mPath is
  making assertions about).
- Use nsCOMPtr for singly-inheriting implementations of XPCOM interfaces, to
  avoid scary-when-scaled 0-refcnt instances from being handled (these all
  got a ref via QI or equivalent soon enough, but you never know).  This also
  removed some naked deletes.
- Canonize all paths copied into mPath to lack trailing slashes, so we don't
  need to strip trailing slashes elsewhere, in higher-frequency methods (you
  set path less often than you get it or a substring of it).
- ssize_t for strlen return values.
- Since shaver used a function pointer to consolidate creat/mkdir logic, but
  didn't fold the necessary close of the new fd returned by non-failing creat
  into the pointed-at function, I did that.
- AppendRelativePath forbids .. as a component (bounded by / or beginning or
  end of string on either side), not just in the middle of fragment (so that
  foo..bar is not an illegal relative pathname -- it should not be).  BTW,
  what the heck is the difference between NS_ERROR_FILE_UNRECOGNIZED_PATH and
  ...INVALID_PATH?
- SetLeafName was overallocating the new pathname buffer by failing to subtract
  the old leafname's length.
- CopyTo was failing to return an NSRESULT_FOR_ERRNO(), it just called that
  macro on a line by itself -- eek!  It also contained redundant if (newFD
  == nsnull) {...} cleanup code, it did a useless PR_GetFileInfo call, and it
  leaked FDs on read or write error.
- Implemented CopyToFollowingLinks as a forwarded call to CopyTo, Unix does
  not support "copying" a symlink via normal file i/o.  Should we instead
  lstat in CopyTo and if a link is the source of the copy, do readlink and
  then symlink?
- Fixed the readlink method (GetTarget) to null-terminate the link string in
  the out parameter (readlink does not do that for you).
- Lots of little nsnull vs. NULL vs. 0, == and != applied to boolean or null
  literals, white-space, indentation, bracing, comment, and sloppy code order
  (e.g., declaring an initialized variable that's not used till after early
  returns) fixes.  Also invert some return logic so that NS_OK is the normal,
  least indented, final return.


git-svn-id: svn://10.0.0.236/trunk@79492 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:22:41 +00:00
edburns%acm.org
0898232dc5 This fix was contributed by
*      Jason Mawdsley <jason@macadamian.com>
 *      Louis-Philippe Gagnon <louisphilippe@macadamian.com>

It enables webclient to be built and run under JDK1.1.x.  Note that JavaDOM
does not work under jdk1.1.x.

The fix consists of two elements:

On the Java side, replace all JDK1.2 specific calls with JDK1.1.x
equivalents.  On the native side use pre-processer macro for
JNI_VERSION, like this:

#ifdef JNI_VERSION_1_2

#ifndef JNI_VERSION
#define JNI_VERSION JNI_VERSION_1_2
#endif

#else

#ifndef JNI_VERSION_1_1
#define JNI_VERSION_1_1 0x00010001
#endif

#ifndef JNI_VERSION
#define JNI_VERSION JNI_VERSION_1_1
#endif

#endif // END: JNI_VERSION_1_2

This fix has been tested on win32, solaris, and linux.

The following files are in this fix:

M webclient/classes_spec/org/mozilla/webclient/test/DOMTreeModel.java
M webclient/classes_spec/org/mozilla/webclient/test/DOMViewerFrame.java
M webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/BookmarksImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/nsActions.cpp
M webclient/src_share/jni_util.cpp
M webclient/src_share/jni_util.h
M webclient/src_share/jni_util_export.cpp


git-svn-id: svn://10.0.0.236/trunk@79490 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:18:18 +00:00
akkana%netscape.com
67dc59a9f1 46644: Fix FMM. Contribution from Daniel Bratell, bratell@lysator.liu.se, r=waterson and me
git-svn-id: svn://10.0.0.236/trunk@79489 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:14:12 +00:00
beard%netscape.com
56fd12973d Uncommented Initialize() call.
git-svn-id: svn://10.0.0.236/trunk@79488 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:04:02 +00:00
beard%netscape.com
b874112290 Export thePlugin.
git-svn-id: svn://10.0.0.236/trunk@79487 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:03:30 +00:00
beard%netscape.com
28eb5b10f0 Create MRJConsole even in 4.X build.
git-svn-id: svn://10.0.0.236/trunk@79486 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:00:27 +00:00
beard%netscape.com
ec5cfcac9a Added MRJConsole.class.
git-svn-id: svn://10.0.0.236/trunk@79485 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:57:25 +00:00
beard%netscape.com
bde3ae2b27 Added MRJConsole.java to MRJPlugin.jar target.
git-svn-id: svn://10.0.0.236/trunk@79484 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:56:51 +00:00
nelsonb%netscape.com
3b07c0e434 Fix a UMR, one of many where the SECItem type field was uninitialized.
bug 39483.  Also, eliminate a warning about calling an undeclared function
by including the header file.


git-svn-id: svn://10.0.0.236/trunk@79483 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:53:18 +00:00
alecf%netscape.com
8bc76cfbdd part of fix for #42102 - use nsIFile for migration issues
r=sspitzer, dbragg


git-svn-id: svn://10.0.0.236/trunk@79482 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:51:30 +00:00
beard%netscape.com
f8403f8fec Create SIOUX console with menus, etc. r=jband, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79481 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:49:46 +00:00
brendan%mozilla.org
8619f05fe8 Censor all Call objects, per ECMA-262 (r=rogerl, 53037).
git-svn-id: svn://10.0.0.236/trunk@79480 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:35:22 +00:00
gagan%netscape.com
fb15eb7a47 Fix for bug 52257. mResponseDataListener could be null. r=valeski, brendan.
git-svn-id: svn://10.0.0.236/trunk@79479 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:29:30 +00:00
ducarroz%netscape.com
52bf9b69ff Fix for bug 52323. Use event.originalTarget instead of event.target in order to get the right target. a,r=alecf
git-svn-id: svn://10.0.0.236/trunk@79477 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:08:09 +00:00
mkaply%us.ibm.com
81cee80d89 #53096
r=akkana, a=brendan
Use OS/2 files for OS/2, not unix files


git-svn-id: svn://10.0.0.236/trunk@79476 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:08:02 +00:00
mkaply%us.ibm.com
56683b9811 #53096
r=akkana, a=brendan
Can't override accelerators properly which we will be doing on OS/2


git-svn-id: svn://10.0.0.236/trunk@79475 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:04:07 +00:00
warren%netscape.com
9bd953c5d5 Added build for themes:classic:messenger:mac:jar.mn
git-svn-id: svn://10.0.0.236/trunk@79471 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:36:59 +00:00
ducarroz%netscape.com
d001d47efb Fix for bug 52190. Avoid crash by using NS_IF_ADDREF. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@79470 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:35:46 +00:00
warren%netscape.com
f5ae9919ed Updated to work for mac jar packaging.
git-svn-id: svn://10.0.0.236/trunk@79469 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:33:20 +00:00
warren%netscape.com
6f99bc49b4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@79468 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:32:51 +00:00
brendan%mozilla.org
523ce70589 - Fix encodeURI, decodeURI, etc. common subroutines to avoid realloc'ing char
by char, by using a larger chunk size (64 chars) for linear growth.  Also got
  rid of ASCII-oriented add_bytes subroutine and related sprintf usage.
- Avoid reloading loop invariant str->chars all the time in encode and decode.
- Avoid creating garbage strings for unescaped and reserved character sets, by
  using statically initialized jschar array constants.
- Expand tabs, clean up 80th column violations, use prevailing style, etc.


git-svn-id: svn://10.0.0.236/trunk@79467 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:17:30 +00:00
ducarroz%netscape.com
864b82122c Fix for bug 52819. Use nsEditor::GetRootElement for retreiving the body node. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@79466 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:16:10 +00:00
beard%netscape.com
abe09c3670 Conditionally compile in GC_trace_object.
git-svn-id: svn://10.0.0.236/trunk@79465 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:09:20 +00:00
mkaply%us.ibm.com
6d9ca9b319 #53096
r=mkaply, a=brendan
Grab the windows platformBindings files and use them for OS/2


git-svn-id: svn://10.0.0.236/trunk@79464 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 21:50:06 +00:00
jefft%netscape.com
1708dac375 fixed bug 45727 -- Problems with download (POP) truncated msg from folder other than Inbox; disable fileters while downloading truncated message; bullet prove to prevent accessing empty string buffer; r=mscott
git-svn-id: svn://10.0.0.236/trunk@79463 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 21:49:47 +00:00
sspitzer%netscape.com
df25a9707a part of the fix for #51571. r/a=mscott
git-svn-id: svn://10.0.0.236/trunk@79462 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 21:49:17 +00:00
sspitzer%netscape.com
da15bc85a6 part of the fix for #51571. r/a=mscott
git-svn-id: svn://10.0.0.236/trunk@79461 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 21:44:54 +00:00
cyeh%bluemartini.com
ca34c0f2c8 fix for 52228: Bug list title should be name of query if running named query
patch by dave@intrec.com (Dave Miller)


git-svn-id: svn://10.0.0.236/trunk@79460 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 21:29:45 +00:00
sfraser%netscape.com
815347af0f New Mac build scripts. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@79459 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 20:55:35 +00:00
sfraser%netscape.com
b4593fb213 New Mac build scripts. NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@79458 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 20:54:48 +00:00
mkaply%us.ibm.com
0e728a08ca #47874
r=mkaply, a=brendan
Code from jkobal - continuing port of nsWindow.*


git-svn-id: svn://10.0.0.236/trunk@79457 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 20:39:13 +00:00
karnaze%netscape.com
6178e7fca1 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@79455 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 20:24:16 +00:00
nelsonb%netscape.com
47e6d7e2f1 Fix bug 52396. Don't compile case ENOSR on platforms that don't have it.
git-svn-id: svn://10.0.0.236/trunk@79454 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:53:59 +00:00
akkana%netscape.com
eeebc2cd6a 50252: fix key events for printable but non-alphabetic keys. r=dr
git-svn-id: svn://10.0.0.236/trunk@79453 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:50:50 +00:00
kestes%staff.mail.com
f3ce9ac0cd add new arguments --skip-check --force-time
add parse_args to parse new arguments
add fix_nonunix_times() so that all dates can be in either format
send errors to stderr as well as logfile
debug check_required_vars();


git-svn-id: svn://10.0.0.236/trunk@79452 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:40:56 +00:00
beard%netscape.com
6589f4aef2 added SIOUXSettings.
git-svn-id: svn://10.0.0.236/trunk@79451 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:36:25 +00:00
dbragg%netscape.com
6282a8a87d Fix for bug 52839. Changed GetSizes() to PR_FALSE in the case of the Profile dir so that directories wont be traversed. r=dveditz, racham, law a=law
git-svn-id: svn://10.0.0.236/trunk@79450 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:34:16 +00:00
kestes%staff.mail.com
726b257e83 convert to new style tinderbox variables
git-svn-id: svn://10.0.0.236/trunk@79449 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:34:08 +00:00
kestes%staff.mail.com
b3f23bdc4b new regression test
git-svn-id: svn://10.0.0.236/trunk@79448 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:33:32 +00:00
kestes%staff.mail.com
5b1617101c document HTMLPopUp implementations
document new $DEFAULT_HTML_PAGE = 'status.html';
document TRIM_DAYS for rmlogs


git-svn-id: svn://10.0.0.236/trunk@79447 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:32:46 +00:00
kestes%staff.mail.com
b44e1a2106 security (taint) fixes
use  $MAX_DISPLAY_HOURS to peg the display used in links


git-svn-id: svn://10.0.0.236/trunk@79446 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:30:28 +00:00
kestes%staff.mail.com
a578928aee security (taint) fixes
allow null message of the day
do not hardcode <a href instead call Link()


git-svn-id: svn://10.0.0.236/trunk@79445 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:29:31 +00:00
kestes%staff.mail.com
d627553829 security (taint) fixes
git-svn-id: svn://10.0.0.236/trunk@79444 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:28:32 +00:00
kestes%staff.mail.com
35566a48fc security fixes
rename of file is not nessary
use new generalization: $FileStructure::DEFAULT_HTML_PAGE


git-svn-id: svn://10.0.0.236/trunk@79443 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:27:42 +00:00
kestes%staff.mail.com
dc129f5a91 use extract_filename_chars()
document passwd can be global or pertree
use new generalization: $FileStructure::DEFAULT_HTML_PAGE


git-svn-id: svn://10.0.0.236/trunk@79442 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:26:22 +00:00
kestes%staff.mail.com
dd027ca73f dont hard code <a href> use link()
use new generalization: $FileStructure::DEFAULT_HTML_PAGE


git-svn-id: svn://10.0.0.236/trunk@79441 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:25:17 +00:00
kestes%staff.mail.com
257f3f4d5c modules must end in 1;
git-svn-id: svn://10.0.0.236/trunk@79440 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:23:53 +00:00
kestes%staff.mail.com
5cca78ee75 add support for taint checking
add support for time checking
centrallize all 'atomic move' operations


git-svn-id: svn://10.0.0.236/trunk@79439 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:23:17 +00:00
kestes%staff.mail.com
0798452f5d this must use atomic_rename_file()
git-svn-id: svn://10.0.0.236/trunk@79438 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:21:56 +00:00
kestes%staff.mail.com
49592f52dc use extract_user() for untainting
git-svn-id: svn://10.0.0.236/trunk@79437 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:21:18 +00:00
kestes%staff.mail.com
bec339424d add sanity check for record
fix gunzip URL (it had appeared twice in the string)


git-svn-id: svn://10.0.0.236/trunk@79436 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:20:44 +00:00
kestes%staff.mail.com
07f8ccc2c8 update file with current status
git-svn-id: svn://10.0.0.236/trunk@79435 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:18:34 +00:00
kestes%staff.mail.com
8188c55010 add users section
add 'security' as a goal


git-svn-id: svn://10.0.0.236/trunk@79434 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:18:03 +00:00
hyatt%netscape.com
5c664126c2 Fix for 52810. r=danm
git-svn-id: svn://10.0.0.236/trunk@79433 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 18:49:58 +00:00
nboyd%atg.com
0e00432009 Expand javadoc.
git-svn-id: svn://10.0.0.236/trunk@79432 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 18:38:02 +00:00
mkaply%us.ibm.com
60bbaee41a #45185
r=law, a=brendan
Code from jblanco for splashscreen on OS/2


git-svn-id: svn://10.0.0.236/trunk@79431 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 18:31:10 +00:00
mkaply%us.ibm.com
acccdd5a57 #45185
r=cls, a=brendan
Code from jblanco for splashscreen on OS/2


git-svn-id: svn://10.0.0.236/trunk@79430 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 18:30:32 +00:00
nboyd%atg.com
40a8441d83 Remove old-style debug codegen.
git-svn-id: svn://10.0.0.236/trunk@79429 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 17:57:02 +00:00
mcafee%netscape.com
4ee7ddc95c Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@79428 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 17:48:38 +00:00
mcafee%netscape.com
8be3bdc490 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@79427 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 17:43:15 +00:00
nboyd%atg.com
ad981566d5 Better error message for common error.
git-svn-id: svn://10.0.0.236/trunk@79426 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 17:28:59 +00:00
mkaply%us.ibm.com
52d8b9ee2b #45185
r=mkaply, a=brendan
Code from jblanco for splashscreen on OS/2


git-svn-id: svn://10.0.0.236/trunk@79425 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 14:25:59 +00:00
radha%netscape.com
a697155d42 More changes to fix 49498. r=ben
git-svn-id: svn://10.0.0.236/trunk@79424 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 14:25:32 +00:00
idk%eng.sun.com
b1aac5afc7 * NOT PART OF TBOX BUILDS *
InterfaceRegistry.registerInterface became public.


git-svn-id: svn://10.0.0.236/trunk@79423 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 11:01:28 +00:00
idk%eng.sun.com
fa74131a8d * NOT PART OF TBOX BUILDS *
Changed ProgID usage to ContractID usage


git-svn-id: svn://10.0.0.236/trunk@79421 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 10:07:00 +00:00
cls%seawood.org
f631237ae7 A strict javascript warning says that initializers should not have trailing , so it was removed
git-svn-id: svn://10.0.0.236/trunk@79420 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 07:22:58 +00:00
cls%seawood.org
09273d6398 A strict warning says that this variable needs to be declared before being used. It let's View->Page Source work again
git-svn-id: svn://10.0.0.236/trunk@79419 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 07:19:13 +00:00
warren%netscape.com
d2adc229cc Setting release timeout inside lock -- avoiding race condition.
git-svn-id: svn://10.0.0.236/trunk@79417 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 07:08:22 +00:00
Peter.VanderBeken%pandora.be
9adb88e8fe Adding MozillaObjectWrapper.cpp. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@79416 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 06:18:55 +00:00
alecf%netscape.com
8f8c6d6bf7 fix for #35803 r=sspitzer
load the smtp server list before loading the default server


git-svn-id: svn://10.0.0.236/trunk@79415 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 06:13:53 +00:00
Peter.VanderBeken%pandora.be
67d5f6e006 Fix bug #51494. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@79414 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 06:06:10 +00:00
putterman%netscape.com
053a1dc1dc Fix for 52811. r=alecf. Delete message works on the Mac again.
git-svn-id: svn://10.0.0.236/trunk@79413 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 03:46:10 +00:00
sspitzer%netscape.com
239ccb5a87 whoops, the default is supposed to be false, not true.
git-svn-id: svn://10.0.0.236/trunk@79412 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 03:35:40 +00:00
sspitzer%netscape.com
9f2af1fdf0 fix for #22163 from Decklin Foster.
set a default pref to prevent the JS exception.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@79411 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 03:27:09 +00:00
brendan%mozilla.org
9cb06ebf27 Define QI now that XPConnect wraps JS objects; fix comments (NOT PART OF BUILD).
git-svn-id: svn://10.0.0.236/trunk@79410 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 02:31:11 +00:00
21489 changed files with 138551 additions and 3895149 deletions

View File

@@ -1,43 +0,0 @@
Please be apprised of the following Legal Notices:
A) The U.S. District Court for the Eastern District of Virginia has
ruled that the Netscape Navigator code does not infringe Wang's U.S.
Patent No. 4,751,669 ("the '669 Patent") because: 1) HTML is not
Videotex as defined by the '669 patent; 2) web servers are not central
suppliers; and 3) Navigator does not "connect," as defined by the '669
Patent, to web servers on the Internet. Wang may appeal this decision to
the Federal Circuit. Wang contended that its Patent disclosing a
"Videotext" system, is infringed by the following functionality in the
Netscape Navigator code: 1) the animated logo and status line indicators
--See Claims 1,8 and 9; 2) the "File Save As" function --See Claims
23-27; 3) Bookmarks and Rename Bookmarks in the Properties window --See
Claims 20-22; 4) storing HTML, GIF, and JPEG files and adding filename
extensions --See Claim 38
B) Intermind owns pending U.S. patent applications on communications
systems which employ metadata ("channel objects") to define a control
structure for information transfer. The Netscape code does not infringe
as released; however, modifications which utilize channel objects as
described by Intermind should be considered carefully. The following is
a statement from Intermind: "Intermind's claims fundamentally involve
the use of a control structure to automate communications. ...The
essence of Intermind's top claim is that two devices sender and
receiver have persistent storage, communicate over a network,
and exchange a control structure including metadata which describes: 1)
what information is to be updated, 2) when to update this information,
and 3) how to transfer the updated information. In addition, at least
the receiving device must be able to process the metadata in order to
perform the update determination and transfer. Any digital
communications system which incorporates all of these elements will be
covered by Intermind's patents." See Intermind.com.
C) Stac, Inc., and its licensing agent Hi/fn, own several patents which
disclose data compression methods implementing an LZS compression
algorithm, including U.S. Patent Nos. 4,701,745 and 5,016, 009 ("the
Stac Patents"). The Netscape Communicator code does not perform
compression. If you modify the Netscape source code to perform
compression, please take notice of the Stac Patents.
D) Netscape Communications Corporation ("Netscape") does not guarantee
that any source code or executable code available from the mozilla.org
domain is Year 2000 compliant.

View File

@@ -1,567 +0,0 @@
MOZILLA PUBLIC LICENSE
Version 1.1
---------------
1. Definitions.
1.0.1. "Commercial Use" means distribution or otherwise making the
Covered Code available to a third party.
1.1. "Contributor" means each entity that creates or contributes to
the creation of Modifications.
1.2. "Contributor Version" means the combination of the Original
Code, prior Modifications used by a Contributor, and the Modifications
made by that particular Contributor.
1.3. "Covered Code" means the Original Code or Modifications or the
combination of the Original Code and Modifications, in each case
including portions thereof.
1.4. "Electronic Distribution Mechanism" means a mechanism generally
accepted in the software development community for the electronic
transfer of data.
1.5. "Executable" means Covered Code in any form other than Source
Code.
1.6. "Initial Developer" means the individual or entity identified
as the Initial Developer in the Source Code notice required by Exhibit
A.
1.7. "Larger Work" means a work which combines Covered Code or
portions thereof with code not governed by the terms of this License.
1.8. "License" means this document.
1.8.1. "Licensable" means having the right to grant, to the maximum
extent possible, whether at the time of the initial grant or
subsequently acquired, any and all of the rights conveyed herein.
1.9. "Modifications" means any addition to or deletion from the
substance or structure of either the Original Code or any previous
Modifications. When Covered Code is released as a series of files, a
Modification is:
A. Any addition to or deletion from the contents of a file
containing Original Code or previous Modifications.
B. Any new file that contains any part of the Original Code or
previous Modifications.
1.10. "Original Code" means Source Code of computer software code
which is described in the Source Code notice required by Exhibit A as
Original Code, and which, at the time of its release under this
License is not already Covered Code governed by this License.
1.10.1. "Patent Claims" means any patent claim(s), now owned or
hereafter acquired, including without limitation, method, process,
and apparatus claims, in any patent Licensable by grantor.
1.11. "Source Code" means the preferred form of the Covered Code for
making modifications to it, including all modules it contains, plus
any associated interface definition files, scripts used to control
compilation and installation of an Executable, or source code
differential comparisons against either the Original Code or another
well known, available Covered Code of the Contributor's choice. The
Source Code can be in a compressed or archival form, provided the
appropriate decompression or de-archiving software is widely available
for no charge.
1.12. "You" (or "Your") means an individual or a legal entity
exercising rights under, and complying with all of the terms of, this
License or a future version of this License issued under Section 6.1.
For legal entities, "You" includes any entity which controls, is
controlled by, or is under common control with You. For purposes of
this definition, "control" means (a) the power, direct or indirect,
to cause the direction or management of such entity, whether by
contract or otherwise, or (b) ownership of more than fifty percent
(50%) of the outstanding shares or beneficial ownership of such
entity.
2. Source Code License.
2.1. The Initial Developer Grant.
The Initial Developer hereby grants You a world-wide, royalty-free,
non-exclusive license, subject to third party intellectual property
claims:
(a) under intellectual property rights (other than patent or
trademark) Licensable by Initial Developer to use, reproduce,
modify, display, perform, sublicense and distribute the Original
Code (or portions thereof) with or without Modifications, and/or
as part of a Larger Work; and
(b) under Patents Claims infringed by the making, using or
selling of Original Code, to make, have made, use, practice,
sell, and offer for sale, and/or otherwise dispose of the
Original Code (or portions thereof).
(c) the licenses granted in this Section 2.1(a) and (b) are
effective on the date Initial Developer first distributes
Original Code under the terms of this License.
(d) Notwithstanding Section 2.1(b) above, no patent license is
granted: 1) for code that You delete from the Original Code; 2)
separate from the Original Code; or 3) for infringements caused
by: i) the modification of the Original Code or ii) the
combination of the Original Code with other software or devices.
2.2. Contributor Grant.
Subject to third party intellectual property claims, each Contributor
hereby grants You a world-wide, royalty-free, non-exclusive license
(a) under intellectual property rights (other than patent or
trademark) Licensable by Contributor, to use, reproduce, modify,
display, perform, sublicense and distribute the Modifications
created by such Contributor (or portions thereof) either on an
unmodified basis, with other Modifications, as Covered Code
and/or as part of a Larger Work; and
(b) under Patent Claims infringed by the making, using, or
selling of Modifications made by that Contributor either alone
and/or in combination with its Contributor Version (or portions
of such combination), to make, use, sell, offer for sale, have
made, and/or otherwise dispose of: 1) Modifications made by that
Contributor (or portions thereof); and 2) the combination of
Modifications made by that Contributor with its Contributor
Version (or portions of such combination).
(c) the licenses granted in Sections 2.2(a) and 2.2(b) are
effective on the date Contributor first makes Commercial Use of
the Covered Code.
(d) Notwithstanding Section 2.2(b) above, no patent license is
granted: 1) for any code that Contributor has deleted from the
Contributor Version; 2) separate from the Contributor Version;
3) for infringements caused by: i) third party modifications of
Contributor Version or ii) the combination of Modifications made
by that Contributor with other software (except as part of the
Contributor Version) or other devices; or 4) under Patent Claims
infringed by Covered Code in the absence of Modifications made by
that Contributor.
3. Distribution Obligations.
3.1. Application of License.
The Modifications which You create or to which You contribute are
governed by the terms of this License, including without limitation
Section 2.2. The Source Code version of Covered Code may be
distributed only under the terms of this License or a future version
of this License released under Section 6.1, and You must include a
copy of this License with every copy of the Source Code You
distribute. You may not offer or impose any terms on any Source Code
version that alters or restricts the applicable version of this
License or the recipients' rights hereunder. However, You may include
an additional document offering the additional rights described in
Section 3.5.
3.2. Availability of Source Code.
Any Modification which You create or to which You contribute must be
made available in Source Code form under the terms of this License
either on the same media as an Executable version or via an accepted
Electronic Distribution Mechanism to anyone to whom you made an
Executable version available; and if made available via Electronic
Distribution Mechanism, must remain available for at least twelve (12)
months after the date it initially became available, or at least six
(6) months after a subsequent version of that particular Modification
has been made available to such recipients. You are responsible for
ensuring that the Source Code version remains available even if the
Electronic Distribution Mechanism is maintained by a third party.
3.3. Description of Modifications.
You must cause all Covered Code to which You contribute to contain a
file documenting the changes You made to create that Covered Code and
the date of any change. You must include a prominent statement that
the Modification is derived, directly or indirectly, from Original
Code provided by the Initial Developer and including the name of the
Initial Developer in (a) the Source Code, and (b) in any notice in an
Executable version or related documentation in which You describe the
origin or ownership of the Covered Code.
3.4. Intellectual Property Matters
(a) Third Party Claims.
If Contributor has knowledge that a license under a third party's
intellectual property rights is required to exercise the rights
granted by such Contributor under Sections 2.1 or 2.2,
Contributor must include a text file with the Source Code
distribution titled "LEGAL" which describes the claim and the
party making the claim in sufficient detail that a recipient will
know whom to contact. If Contributor obtains such knowledge after
the Modification is made available as described in Section 3.2,
Contributor shall promptly modify the LEGAL file in all copies
Contributor makes available thereafter and shall take other steps
(such as notifying appropriate mailing lists or newsgroups)
reasonably calculated to inform those who received the Covered
Code that new knowledge has been obtained.
(b) Contributor APIs.
If Contributor's Modifications include an application programming
interface and Contributor has knowledge of patent licenses which
are reasonably necessary to implement that API, Contributor must
also include this information in the LEGAL file.
(c) Representations.
Contributor represents that, except as disclosed pursuant to
Section 3.4(a) above, Contributor believes that Contributor's
Modifications are Contributor's original creation(s) and/or
Contributor has sufficient rights to grant the rights conveyed by
this License.
3.5. Required Notices.
You must duplicate the notice in Exhibit A in each file of the Source
Code. If it is not possible to put such notice in a particular Source
Code file due to its structure, then You must include such notice in a
location (such as a relevant directory) where a user would be likely
to look for such a notice. If You created one or more Modification(s)
You may add your name as a Contributor to the notice described in
Exhibit A. You must also duplicate this License in any documentation
for the Source Code where You describe recipients' rights or ownership
rights relating to Covered Code. You may choose to offer, and to
charge a fee for, warranty, support, indemnity or liability
obligations to one or more recipients of Covered Code. However, You
may do so only on Your own behalf, and not on behalf of the Initial
Developer or any Contributor. You must make it absolutely clear than
any such warranty, support, indemnity or liability obligation is
offered by You alone, and You hereby agree to indemnify the Initial
Developer and every Contributor for any liability incurred by the
Initial Developer or such Contributor as a result of warranty,
support, indemnity or liability terms You offer.
3.6. Distribution of Executable Versions.
You may distribute Covered Code in Executable form only if the
requirements of Section 3.1-3.5 have been met for that Covered Code,
and if You include a notice stating that the Source Code version of
the Covered Code is available under the terms of this License,
including a description of how and where You have fulfilled the
obligations of Section 3.2. The notice must be conspicuously included
in any notice in an Executable version, related documentation or
collateral in which You describe recipients' rights relating to the
Covered Code. You may distribute the Executable version of Covered
Code or ownership rights under a license of Your choice, which may
contain terms different from this License, provided that You are in
compliance with the terms of this License and that the license for the
Executable version does not attempt to limit or alter the recipient's
rights in the Source Code version from the rights set forth in this
License. If You distribute the Executable version under a different
license You must make it absolutely clear that any terms which differ
from this License are offered by You alone, not by the Initial
Developer or any Contributor. You hereby agree to indemnify the
Initial Developer and every Contributor for any liability incurred by
the Initial Developer or such Contributor as a result of any such
terms You offer.
3.7. Larger Works.
You may create a Larger Work by combining Covered Code with other code
not governed by the terms of this License and distribute the Larger
Work as a single product. In such a case, You must make sure the
requirements of this License are fulfilled for the Covered Code.
4. Inability to Comply Due to Statute or Regulation.
If it is impossible for You to comply with any of the terms of this
License with respect to some or all of the Covered Code due to
statute, judicial order, or regulation then You must: (a) comply with
the terms of this License to the maximum extent possible; and (b)
describe the limitations and the code they affect. Such description
must be included in the LEGAL file described in Section 3.4 and must
be included with all distributions of the Source Code. Except to the
extent prohibited by statute or regulation, such description must be
sufficiently detailed for a recipient of ordinary skill to be able to
understand it.
5. Application of this License.
This License applies to code to which the Initial Developer has
attached the notice in Exhibit A and to related Covered Code.
6. Versions of the License.
6.1. New Versions.
Netscape Communications Corporation ("Netscape") may publish revised
and/or new versions of the License from time to time. Each version
will be given a distinguishing version number.
6.2. Effect of New Versions.
Once Covered Code has been published under a particular version of the
License, You may always continue to use it under the terms of that
version. You may also choose to use such Covered Code under the terms
of any subsequent version of the License published by Netscape. No one
other than Netscape has the right to modify the terms applicable to
Covered Code created under this License.
6.3. Derivative Works.
If You create or use a modified version of this License (which you may
only do in order to apply it to code which is not already Covered Code
governed by this License), You must (a) rename Your license so that
the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
"MPL", "NPL" or any confusingly similar phrase do not appear in your
license (except to note that your license differs from this License)
and (b) otherwise make it clear that Your version of the license
contains terms which differ from the Mozilla Public License and
Netscape Public License. (Filling in the name of the Initial
Developer, Original Code or Contributor in the notice described in
Exhibit A shall not of themselves be deemed to be modifications of
this License.)
7. DISCLAIMER OF WARRANTY.
COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
8. TERMINATION.
8.1. This License and the rights granted hereunder will terminate
automatically if You fail to comply with terms herein and fail to cure
such breach within 30 days of becoming aware of the breach. All
sublicenses to the Covered Code which are properly granted shall
survive any termination of this License. Provisions which, by their
nature, must remain in effect beyond the termination of this License
shall survive.
8.2. If You initiate litigation by asserting a patent infringement
claim (excluding declatory judgment actions) against Initial Developer
or a Contributor (the Initial Developer or Contributor against whom
You file such action is referred to as "Participant") alleging that:
(a) such Participant's Contributor Version directly or indirectly
infringes any patent, then any and all rights granted by such
Participant to You under Sections 2.1 and/or 2.2 of this License
shall, upon 60 days notice from Participant terminate prospectively,
unless if within 60 days after receipt of notice You either: (i)
agree in writing to pay Participant a mutually agreeable reasonable
royalty for Your past and future use of Modifications made by such
Participant, or (ii) withdraw Your litigation claim with respect to
the Contributor Version against such Participant. If within 60 days
of notice, a reasonable royalty and payment arrangement are not
mutually agreed upon in writing by the parties or the litigation claim
is not withdrawn, the rights granted by Participant to You under
Sections 2.1 and/or 2.2 automatically terminate at the expiration of
the 60 day notice period specified above.
(b) any software, hardware, or device, other than such Participant's
Contributor Version, directly or indirectly infringes any patent, then
any rights granted to You by such Participant under Sections 2.1(b)
and 2.2(b) are revoked effective as of the date You first made, used,
sold, distributed, or had made, Modifications made by that
Participant.
8.3. If You assert a patent infringement claim against Participant
alleging that such Participant's Contributor Version directly or
indirectly infringes any patent where such claim is resolved (such as
by license or settlement) prior to the initiation of patent
infringement litigation, then the reasonable value of the licenses
granted by such Participant under Sections 2.1 or 2.2 shall be taken
into account in determining the amount or value of any payment or
license.
8.4. In the event of termination under Sections 8.1 or 8.2 above,
all end user license agreements (excluding distributors and resellers)
which have been validly granted by You or any distributor hereunder
prior to termination shall survive termination.
9. LIMITATION OF LIABILITY.
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
10. U.S. GOVERNMENT END USERS.
The Covered Code is a "commercial item," as that term is defined in
48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
software" and "commercial computer software documentation," as such
terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
all U.S. Government End Users acquire Covered Code with only those
rights set forth herein.
11. MISCELLANEOUS.
This License represents the complete agreement concerning subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. This License shall be governed by
California law provisions (except to the extent applicable law, if
any, provides otherwise), excluding its conflict-of-law provisions.
With respect to disputes in which at least one party is a citizen of,
or an entity chartered or registered to do business in the United
States of America, any litigation relating to this License shall be
subject to the jurisdiction of the Federal Courts of the Northern
District of California, with venue lying in Santa Clara County,
California, with the losing party responsible for costs, including
without limitation, court costs and reasonable attorneys' fees and
expenses. The application of the United Nations Convention on
Contracts for the International Sale of Goods is expressly excluded.
Any law or regulation which provides that the language of a contract
shall be construed against the drafter shall not apply to this
License.
12. RESPONSIBILITY FOR CLAIMS.
As between Initial Developer and the Contributors, each party is
responsible for claims and damages arising, directly or indirectly,
out of its utilization of rights under this License and You agree to
work with Initial Developer and Contributors to distribute such
responsibility on an equitable basis. Nothing herein is intended or
shall be deemed to constitute any admission of liability.
13. MULTIPLE-LICENSED CODE.
Initial Developer may designate portions of the Covered Code as
"Multiple-Licensed". "Multiple-Licensed" means that the Initial
Developer permits you to utilize portions of the Covered Code under
Your choice of the NPL or the alternative licenses, if any, specified
by the Initial Developer in the file described in Exhibit A.
EXHIBIT A -Mozilla Public License.
``The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.
The Original Code is ______________________________________.
The Initial Developer of the Original Code is ________________________.
Portions created by ______________________ are Copyright (C) ______
_______________________. All Rights Reserved.
Contributor(s): ______________________________________.
Alternatively, the contents of this file may be used under the terms
of the _____ license (the "[___] License"), in which case the
provisions of [______] License are applicable instead of those
above. If you wish to allow use of your version of this file only
under the terms of the [____] License and not to allow others to use
your version of this file under the MPL, indicate your decision by
deleting the provisions above and replace them with the notice and
other provisions required by the [___] License. If you do not delete
the provisions above, a recipient may use your version of this file
under either the MPL or the [___] License."
[NOTE: The text of this Exhibit A may differ slightly from the text of
the notices in the Source Code files of the Original Code. You should
use the text of this Exhibit A rather than the text found in the
Original Code Source Code for Your Modifications.]
----------------------------------------------------------------------
AMENDMENTS
The Netscape Public License Version 1.1 ("NPL") consists of the
Mozilla Public License Version 1.1 with the following Amendments,
including Exhibit A-Netscape Public License. Files identified with
"Exhibit A-Netscape Public License" are governed by the Netscape
Public License Version 1.1.
Additional Terms applicable to the Netscape Public License.
I. Effect.
These additional terms described in this Netscape Public
License -- Amendments shall apply to the Mozilla Communicator
client code and to all Covered Code under this License.
II. "Netscape's Branded Code" means Covered Code that Netscape
distributes and/or permits others to distribute under one or more
trademark(s) which are controlled by Netscape but which are not
licensed for use under this License.
III. Netscape and logo.
This License does not grant any rights to use the trademarks
"Netscape", the "Netscape N and horizon" logo or the "Netscape
lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript",
"Smart Browsing" even if such marks are included in the Original
Code or Modifications.
IV. Inability to Comply Due to Contractual Obligation.
Prior to licensing the Original Code under this License, Netscape
has licensed third party code for use in Netscape's Branded Code.
To the extent that Netscape is limited contractually from making
such third party code available under this License, Netscape may
choose to reintegrate such code into Covered Code without being
required to distribute such code in Source Code form, even if
such code would otherwise be considered "Modifications" under
this License.
V. Use of Modifications and Covered Code by Initial Developer.
V.1. In General.
The obligations of Section 3 apply to Netscape, except to
the extent specified in this Amendment, Section V.2 and V.3.
V.2. Other Products.
Netscape may include Covered Code in products other than the
Netscape's Branded Code which are released by Netscape
during the two (2) years following the release date of the
Original Code, without such additional products becoming
subject to the terms of this License, and may license such
additional products on different terms from those contained
in this License.
V.3. Alternative Licensing.
Netscape may license the Source Code of Netscape's Branded
Code, including Modifications incorporated therein, without
such Netscape Branded Code becoming subject to the terms of
this License, and may license such Netscape Branded Code on
different terms from those contained in this License.
VI. Litigation.
Notwithstanding the limitations of Section 11 above, the
provisions regarding litigation in Section 11(a), (b) and (c) of
the License shall apply to all disputes relating to this License.
EXHIBIT A-Netscape Public License.
"The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s): ______________________________________.
Alternatively, the contents of this file may be used under the
terms of the _____ license (the "[___] License"), in which case
the provisions of [______] License are applicable instead of
those above. If you wish to allow use of your version of this
file only under the terms of the [____] License and not to allow
others to use your version of this file under the NPL, indicate
your decision by deleting the provisions above and replace them
with the notice and other provisions required by the [___]
License. If you do not delete the provisions above, a recipient
may use your version of this file under either the NPL or the
[___] License."

View File

@@ -1,165 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DEPTH = .
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/build/unix/modules.mk
ifneq ($(BUILD_MODULES),all)
DIRS = $(BUILD_MODULE_DIRS)
ifdef USE_ELF_DYNSTR_GC
DIRS += tools/elf-dynstr-gc
endif
else
DIRS = config build
ifdef USE_ELF_DYNSTR_GC
DIRS += tools/elf-dynstr-gc
endif
ifdef MOZ_L10N
DIRS += l10n
endif
ifdef MOZ_JAVA_SUPPLEMENT
DIRS += \
java/util \
java/webclient \
$(NULL)
endif
# boehm needs to be built before XPCOM
ifdef GC_LEAK_DETECTOR
DIRS += gc/boehm
endif
DIRS += $(NSPRPUB_DIR)
DIRS += dbm modules/libreg js xpcom js/src/xpconnect
ifdef MOZ_OJI
DIRS += js/src/liveconnect
endif
ifndef MOZ_NATIVE_ZLIB
DIRS += modules/zlib
endif
ifndef MOZ_NATIVE_JPEG
DIRS += jpeg
endif
ifdef MOZ_ENABLE_GTK
DIRS += widget/src/gtksuperwin widget/src/gtkxtbin
endif
# Linux and Solaris installer needs standalone libjar, hence standalone zlib
ifneq (,$(filter Linux SunOS,$(OS_ARCH)))
DIRS += modules/zlib/standalone
endif
DIRS += \
widget/timer \
include \
modules/libutil \
netwerk \
modules/appfilelocprovider \
security \
uriloader \
intl \
modules/libpref \
modules/libimg \
modules/oji \
modules/libjar \
caps \
expat \
htmlparser \
gfx \
modules/plugin \
dom \
view \
widget \
layout \
db \
rdf \
docshell \
webshell \
embedding \
editor \
sun-java \
profile \
themes \
$(NULL)
# This must preceed xpfe
ifdef MOZ_JPROF
DIRS += tools/jprof
endif
ifdef MOZ_BUILD_XPFE
DIRS += xpfe
endif
DIRS += xpinstall
ifdef MOZ_EXTENSIONS
DIRS += extensions
endif
ifdef MOZ_MAIL_NEWS
DIRS += mailnews
endif
ifdef MOZ_LEAKY
DIRS += tools/leaky
endif
ifdef ENABLE_TESTS
DIRS += xpcom/tests
endif
ifdef MOZ_LDAP_XPCOM
DIRS += directory/c-sdk/ldap directory/xpcom
endif
DIRS += l10n
endif # BUILD_MODULES == all
STATIC_MAKEFILES := $(NSPRPUB_DIR)
GARBAGE_DIRS += dist
DIST_GARBAGE = config.cache config.log config.status config-defs.h \
dependencies.beos config/autoconf.mk config/myrules.mk config/myconfig.mk \
$(shell cat unallmakefiles) unallmakefiles \
$(topsrcdir)/.mozconfig.mk $(topsrcdir)/.mozconfig.out
include $(topsrcdir)/config/rules.mk

View File

@@ -1,4 +0,0 @@
For mozilla-the-client build instructions, please read:
http://www.mozilla.org/build

12
mozilla/aclocal.m4 vendored
View File

@@ -1,12 +0,0 @@
dnl
dnl Local autoconf macros used with mozilla
dnl The contents of this file are under the Public Domain.
dnl
builtin(include, build/autoconf/glib.m4)dnl
builtin(include, build/autoconf/gtk.m4)dnl
builtin(include, build/autoconf/libIDL.m4)dnl
dnl
define(MOZ_TOPSRCDIR,.)dnl MOZ_TOPSRCDIR is used in altoptions.m4
builtin(include, build/autoconf/altoptions.m4)dnl

View File

@@ -1,998 +0,0 @@
#! /bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# allmakefiles.sh - List of all makefiles.
# Appends the list of makefiles to the variable, MAKEFILES.
# There is no need to rerun autoconf after adding makefiles.
# You only need to run configure.
#
# Please keep the modules in this file in sync with those in
# mozilla/build/unix/modules.mk
#
MAKEFILES=""
# add_makefiles - Shell function to add makefiles to MAKEFILES
add_makefiles() {
MAKEFILES="$MAKEFILES $*"
}
if [ "$srcdir" = "" ]; then
srcdir=.
fi
#
# Common makefiles used by everyone
#
add_makefiles "
Makefile
build/Makefile
build/unix/Makefile
build/unix/mozilla-config
build/unix/nspr_my_config.mk
build/unix/nspr_my_overrides.mk
config/Makefile
config/autoconf.mk
config/mkdepend/Makefile
config/mkdetect/Makefile
include/Makefile
tools/elf-dynstr-gc/Makefile
"
MAKEFILES_db="
db/Makefile
db/mdb/Makefile
db/mdb/public/Makefile
db/mork/Makefile
db/mork/build/Makefile
db/mork/src/Makefile
"
MAKEFILES_dbm="
dbm/Makefile
dbm/include/Makefile
dbm/src/Makefile
dbm/tests/Makefile
"
MAKEFILES_dom="
dom/Makefile
dom/public/Makefile
dom/public/base/Makefile
dom/public/coreDom/Makefile
dom/public/coreEvents/Makefile
dom/public/css/Makefile
dom/public/events/Makefile
dom/public/range/Makefile
dom/public/html/Makefile
dom/public/idl/Makefile
dom/public/idl/base/Makefile
dom/public/idl/coreDom/Makefile
dom/public/idl/css/Makefile
dom/public/idl/events/Makefile
dom/public/idl/html/Makefile
dom/public/idl/range/Makefile
dom/src/Makefile
dom/src/base/Makefile
dom/src/build/Makefile
dom/src/coreDOM/Makefile
dom/src/css/Makefile
dom/src/events/Makefile
dom/src/range/Makefile
dom/src/html/Makefile
dom/src/jsurl/Makefile
dom/tools/Makefile
"
MAKEFILES_editor="
editor/Makefile
editor/base/Makefile
editor/public/Makefile
editor/idl/Makefile
editor/txmgr/Makefile
editor/txmgr/idl/Makefile
editor/txmgr/public/Makefile
editor/txmgr/src/Makefile
editor/txmgr/tests/Makefile
editor/txtsvc/Makefile
editor/txtsvc/public/Makefile
editor/txtsvc/src/Makefile
editor/ui/Makefile
editor/ui/composer/Makefile
editor/ui/composer/content/Makefile
editor/ui/composer/content/images/Makefile
editor/ui/composer/locale/Makefile
editor/ui/composer/locale/en-US/Makefile
editor/ui/dialogs/Makefile
editor/ui/dialogs/content/Makefile
editor/ui/dialogs/locale/Makefile
editor/ui/dialogs/locale/en-US/Makefile
"
MAKEFILES_expat="
expat/Makefile
expat/xmlparse/Makefile
expat/xmltok/Makefile
"
MAKEFILES_extensions="
extensions/Makefile
"
MAKEFILES_gfx="
gfx/Makefile
gfx/idl/Makefile
gfx/public/Makefile
gfx/src/Makefile
gfx/src/beos/Makefile
gfx/src/gtk/Makefile
gfx/src/ps/Makefile
gfx/src/motif/Makefile
gfx/src/photon/Makefile
gfx/src/rhapsody/Makefile
gfx/src/mac/Makefile
gfx/src/qt/Makefile
gfx/src/xlib/Makefile
gfx/src/os2/Makefile
gfx/src/xlibrgb/Makefile
gfx/tests/Makefile
"
MAKEFILES_htmlparser="
htmlparser/Makefile
htmlparser/robot/Makefile
htmlparser/robot/test/Makefile
htmlparser/src/Makefile
htmlparser/tests/Makefile
htmlparser/tests/grabpage/Makefile
htmlparser/tests/logparse/Makefile
htmlparser/tests/outsinks/Makefile
"
MAKEFILES_intl="
intl/Makefile
intl/chardet/Makefile
intl/chardet/public/Makefile
intl/chardet/src/Makefile
intl/uconv/Makefile
intl/uconv/idl/Makefile
intl/uconv/public/Makefile
intl/uconv/src/Makefile
intl/uconv/tests/Makefile
intl/uconv/ucvja/Makefile
intl/uconv/ucvlatin/Makefile
intl/uconv/ucvcn/Makefile
intl/uconv/ucvtw/Makefile
intl/uconv/ucvtw2/Makefile
intl/uconv/ucvko/Makefile
intl/uconv/ucvibm/Makefile
intl/locale/Makefile
intl/locale/public/Makefile
intl/locale/idl/Makefile
intl/locale/src/Makefile
intl/locale/src/unix/Makefile
intl/locale/src/os2/Makefile
intl/locale/tests/Makefile
intl/lwbrk/Makefile
intl/lwbrk/src/Makefile
intl/lwbrk/public/Makefile
intl/lwbrk/tests/Makefile
intl/unicharutil/Makefile
intl/unicharutil/idl/Makefile
intl/unicharutil/src/Makefile
intl/unicharutil/public/Makefile
intl/unicharutil/tables/Makefile
intl/unicharutil/tests/Makefile
intl/unicharutil/tools/Makefile
intl/strres/Makefile
intl/strres/public/Makefile
intl/strres/src/Makefile
intl/strres/tests/Makefile
"
MAKEFILES_js="
js/Makefile
js/src/Makefile
js/src/fdlibm/Makefile
"
MAKEFILES_liveconnect="
js/src/liveconnect/Makefile
js/src/liveconnect/classes/Makefile
"
MAKEFILES_xpconnect="
js/src/xpconnect/Makefile
js/src/xpconnect/public/Makefile
js/src/xpconnect/idl/Makefile
js/src/xpconnect/shell/Makefile
js/src/xpconnect/src/Makefile
js/src/xpconnect/loader/Makefile
js/src/xpconnect/tests/Makefile
js/src/xpconnect/tests/components/Makefile
js/src/xpconnect/tests/idl/Makefile
js/src/xpconnect/shell/Makefile
js/src/xpconnect/tools/Makefile
js/src/xpconnect/tools/idl/Makefile
js/src/xpconnect/tools/idl/Makefile
"
MAKEFILES_layout="
layout/Makefile
layout/base/Makefile
layout/base/public/Makefile
layout/base/src/Makefile
layout/base/tests/Makefile
layout/build/Makefile
layout/events/Makefile
layout/events/public/Makefile
layout/events/src/Makefile
layout/html/Makefile
layout/html/base/Makefile
layout/html/base/src/Makefile
layout/html/content/Makefile
layout/html/content/public/Makefile
layout/html/content/src/Makefile
layout/html/document/Makefile
layout/html/document/public/Makefile
layout/html/document/src/Makefile
layout/html/forms/Makefile
layout/html/forms/public/Makefile
layout/html/forms/src/Makefile
layout/html/style/Makefile
layout/html/style/public/Makefile
layout/html/style/src/Makefile
layout/html/table/Makefile
layout/html/table/public/Makefile
layout/html/table/src/Makefile
layout/html/tests/Makefile
layout/tools/Makefile
layout/xml/Makefile
layout/xml/content/Makefile
layout/xml/content/public/Makefile
layout/xml/content/src/Makefile
layout/xml/document/Makefile
layout/xml/document/public/Makefile
layout/xml/document/src/Makefile
layout/xul/Makefile
layout/xul/base/Makefile
layout/xul/base/public/Makefile
layout/xul/base/src/Makefile
layout/xul/content/Makefile
layout/xul/content/src/Makefile
layout/xbl/Makefile
layout/xbl/public/Makefile
layout/xbl/src/Makefile
"
MAKEFILES_libimg="
modules/libimg/Makefile
modules/libimg/public/Makefile
modules/libimg/public_com/Makefile
modules/libimg/src/Makefile
modules/libimg/gifcom/Makefile
modules/libimg/jpgcom/Makefile
modules/libimg/pngcom/Makefile
"
MAKEFILES_libjar="
modules/libjar/Makefile
"
MAKEFILES_libreg="
modules/libreg/Makefile
modules/libreg/include/Makefile
modules/libreg/src/Makefile
"
MAKEFILES_libpref="
modules/libpref/Makefile
modules/libpref/public/Makefile
modules/libpref/src/Makefile
"
MAKEFILES_libutil="
modules/libutil/Makefile
modules/libutil/public/Makefile
modules/libutil/src/Makefile
"
MAKEFILES_oji="
modules/oji/Makefile
modules/oji/public/Makefile
modules/oji/src/Makefile
"
MAKEFILES_plugin="
modules/plugin/Makefile
modules/plugin/nglsrc/Makefile
modules/plugin/public/Makefile
modules/plugin/src/Makefile
modules/plugin/test/Makefile
modules/plugin/SanePlugin/Makefile
"
MAKEFILES_netwerk="
netwerk/Makefile
netwerk/base/Makefile
netwerk/base/public/Makefile
netwerk/base/src/Makefile
netwerk/build/Makefile
netwerk/cache/build/Makefile
netwerk/cache/filecache/Makefile
netwerk/cache/Makefile
netwerk/cache/memcache/Makefile
netwerk/cache/mgr/Makefile
netwerk/cache/public/Makefile
netwerk/dns/Makefile
netwerk/dns/public/Makefile
netwerk/dns/src/Makefile
netwerk/protocol/Makefile
netwerk/protocol/about/Makefile
netwerk/protocol/about/public/Makefile
netwerk/protocol/about/src/Makefile
netwerk/protocol/data/Makefile
netwerk/protocol/data/public/Makefile
netwerk/protocol/data/src/Makefile
netwerk/protocol/datetime/src/Makefile
netwerk/protocol/datetime/Makefile
netwerk/protocol/file/Makefile
netwerk/protocol/file/public/Makefile
netwerk/protocol/file/src/Makefile
netwerk/protocol/finger/Makefile
netwerk/protocol/finger/src/Makefile
netwerk/protocol/ftp/Makefile
netwerk/protocol/ftp/public/Makefile
netwerk/protocol/ftp/src/Makefile
netwerk/protocol/http/Makefile
netwerk/protocol/http/public/Makefile
netwerk/protocol/http/src/Makefile
netwerk/protocol/jar/Makefile
netwerk/protocol/jar/public/Makefile
netwerk/protocol/jar/src/Makefile
netwerk/protocol/keyword/Makefile
netwerk/protocol/keyword/src/Makefile
netwerk/protocol/res/Makefile
netwerk/protocol/res/public/Makefile
netwerk/protocol/res/src/Makefile
netwerk/mime/Makefile
netwerk/mime/public/Makefile
netwerk/mime/src/Makefile
netwerk/socket/Makefile
netwerk/socket/base/Makefile
netwerk/streamconv/Makefile
netwerk/streamconv/converters/Makefile
netwerk/streamconv/public/Makefile
netwerk/streamconv/src/Makefile
netwerk/streamconv/test/Makefile
netwerk/test/Makefile
netwerk/testserver/Makefile
"
MAKEFILES_uriloader="
uriloader/Makefile
uriloader/base/Makefile
uriloader/build/Makefile
uriloader/extprotocol/Makefile
uriloader/extprotocol/base/Makefile
uriloader/extprotocol/unix/Makefile
uriloader/exthandler/Makefile
"
MAKEFILES_profile="
profile/Makefile
profile/src/Makefile
profile/public/Makefile
profile/resources/Makefile
profile/resources/content/Makefile
profile/resources/locale/Makefile
profile/resources/locale/en-US/Makefile
profile/pref-migrator/Makefile
profile/pref-migrator/public/Makefile
profile/pref-migrator/src/Makefile
profile/pref-migrator/resources/Makefile
profile/pref-migrator/resources/content/Makefile
profile/pref-migrator/resources/locale/Makefile
profile/pref-migrator/resources/locale/en-US/Makefile
profile/defaults/Makefile
"
MAKEFILES_rdf="
rdf/Makefile
rdf/base/Makefile
rdf/base/idl/Makefile
rdf/base/public/Makefile
rdf/base/src/Makefile
rdf/chrome/Makefile
rdf/chrome/build/Makefile
rdf/chrome/public/Makefile
rdf/chrome/src/Makefile
rdf/util/Makefile
rdf/util/public/Makefile
rdf/util/src/Makefile
rdf/resources/Makefile
rdf/build/Makefile
rdf/content/Makefile
rdf/content/public/Makefile
rdf/content/public/idl/Makefile
rdf/content/src/Makefile
rdf/datasource/Makefile
rdf/datasource/public/Makefile
rdf/datasource/src/Makefile
rdf/tests/Makefile
rdf/tests/domds/Makefile
rdf/tests/domds/resources/Makefile
rdf/tests/localfile/Makefile
rdf/tests/rdfsink/Makefile
rdf/tests/rdfcat/Makefile
rdf/tests/rdfpoll/Makefile
"
MAKEFILES_sun_java="
sun-java/Makefile
sun-java/stubs/Makefile
sun-java/stubs/include/Makefile
sun-java/stubs/jri/Makefile
sun-java/stubs/src/Makefile
"
MAKEFILES_caps="
caps/Makefile
caps/idl/Makefile
caps/include/Makefile
caps/src/Makefile
"
MAKEFILES_view="
view/Makefile
view/public/Makefile
view/src/Makefile
"
MAKEFILES_docshell="
docshell/Makefile
docshell/base/Makefile
docshell/build/Makefile
"
MAKEFILES_webshell="
webshell/Makefile
webshell/public/Makefile
webshell/src/Makefile
webshell/tests/Makefile
webshell/tests/viewer/Makefile
webshell/tests/viewer/public/Makefile
webshell/tests/viewer/unix/Makefile
webshell/tests/viewer/unix/gtk/Makefile
webshell/tests/viewer/unix/motif/Makefile
webshell/tests/viewer/unix/qt/Makefile
webshell/tests/viewer/unix/xlib/Makefile
webshell/embed/Makefile
"
MAKEFILES_widget="
widget/Makefile
widget/public/Makefile
widget/src/Makefile
widget/src/beos/Makefile
widget/src/build/Makefile
widget/src/gtk/Makefile
widget/src/gtksuperwin/Makefile
widget/src/gtkxtbin/Makefile
widget/src/motif/Makefile
widget/src/motif/app_context/Makefile
widget/src/photon/Makefile
widget/src/rhapsody/Makefile
widget/src/mac/Makefile
widget/src/xlib/Makefile
widget/src/os2/Makefile
widget/src/os2/res/Makefile
widget/src/os2/tests/Makefile
widget/src/qt/Makefile
widget/src/xlib/window_service/Makefile
widget/src/xpwidgets/Makefile
widget/src/support/Makefile
widget/tests/Makefile
widget/tests/scribble/Makefile
widget/tests/widget/Makefile
widget/timer/Makefile
widget/timer/public/Makefile
widget/timer/src/Makefile
widget/timer/src/beos/Makefile
widget/timer/src/rhapsody/Makefile
widget/timer/src/unix/Makefile
widget/timer/src/unix/gtk/Makefile
widget/timer/src/unix/motif/Makefile
widget/timer/src/unix/photon/Makefile
widget/timer/src/unix/xlib/Makefile
widget/timer/src/unix/qt/Makefile
"
MAKEFILES_xpcom="
xpcom/Makefile
xpcom/base/Makefile
xpcom/build/Makefile
xpcom/components/Makefile
xpcom/ds/Makefile
xpcom/io/Makefile
xpcom/typelib/Makefile
xpcom/reflect/Makefile
xpcom/typelib/xpt/Makefile
xpcom/typelib/xpt/public/Makefile
xpcom/typelib/xpt/src/Makefile
xpcom/typelib/xpt/tests/Makefile
xpcom/typelib/xpt/tools/Makefile
xpcom/typelib/xpidl/Makefile
xpcom/reflect/xptcall/Makefile
xpcom/reflect/xptcall/public/Makefile
xpcom/reflect/xptcall/src/Makefile
xpcom/reflect/xptcall/src/md/Makefile
xpcom/reflect/xptcall/src/md/os2/Makefile
xpcom/reflect/xptcall/src/md/test/Makefile
xpcom/reflect/xptcall/src/md/unix/Makefile
xpcom/reflect/xptcall/tests/Makefile
xpcom/reflect/xptinfo/Makefile
xpcom/reflect/xptinfo/public/Makefile
xpcom/reflect/xptinfo/src/Makefile
xpcom/reflect/xptinfo/tests/Makefile
xpcom/proxy/Makefile
xpcom/proxy/public/Makefile
xpcom/proxy/src/Makefile
xpcom/proxy/tests/Makefile
xpcom/sample/Makefile
xpcom/tests/Makefile
xpcom/tests/dynamic/Makefile
xpcom/tests/services/Makefile
xpcom/threads/Makefile
xpcom/tools/Makefile
xpcom/tools/registry/Makefile
"
MAKEFILES_xpinstall="
xpinstall/Makefile
xpinstall/packager/Makefile
xpinstall/public/Makefile
xpinstall/res/Makefile
xpinstall/res/content/Makefile
xpinstall/res/locale/Makefile
xpinstall/res/locale/en-US/Makefile
xpinstall/src/Makefile
xpinstall/stub/Makefile
xpinstall/wizard/unix/src2/Makefile
"
MAKEFILES_xpfe="
xpfe/Makefile
xpfe/browser/Makefile
xpfe/browser/public/Makefile
xpfe/browser/src/Makefile
xpfe/browser/samples/Makefile
xpfe/browser/samples/sampleimages/Makefile
xpfe/components/Makefile
xpfe/components/public/Makefile
xpfe/components/sample/Makefile
xpfe/components/sample/public/Makefile
xpfe/components/sample/src/Makefile
xpfe/components/sample/resources/Makefile
xpfe/components/shistory/Makefile
xpfe/components/shistory/public/Makefile
xpfe/components/shistory/src/Makefile
xpfe/components/bookmarks/Makefile
xpfe/components/bookmarks/public/Makefile
xpfe/components/bookmarks/src/Makefile
xpfe/components/bookmarks/resources/Makefile
xpfe/components/directory/Makefile
xpfe/components/timebomb/Makefile
xpfe/components/timebomb/tools/Makefile
xpfe/components/timebomb/resources/Makefile
xpfe/components/timebomb/resources/content/Makefile
xpfe/components/timebomb/resources/locale/Makefile
xpfe/components/timebomb/resources/locale/en-US/Makefile
xpfe/components/regviewer/Makefile
xpfe/components/find/Makefile
xpfe/components/find/public/Makefile
xpfe/components/find/src/Makefile
xpfe/components/find/resources/Makefile
xpfe/components/filepicker/src/Makefile
xpfe/components/filepicker/res/content/Makefile
xpfe/components/filepicker/res/locale/Makefile
xpfe/components/filepicker/res/locale/en-US/Makefile
xpfe/components/filepicker/res/Makefile
xpfe/components/filepicker/Makefile
xpfe/components/history/Makefile
xpfe/components/history/src/Makefile
xpfe/components/history/public/Makefile
xpfe/components/history/resources/Makefile
xpfe/components/prefwindow/Makefile
xpfe/components/prefwindow/resources/Makefile
xpfe/components/prefwindow/resources/content/Makefile
xpfe/components/prefwindow/resources/content/unix/Makefile
xpfe/components/prefwindow/resources/locale/Makefile
xpfe/components/prefwindow/resources/locale/en-US/Makefile
xpfe/components/prefwindow/resources/locale/en-US/unix/Makefile
xpfe/components/related/Makefile
xpfe/components/related/src/Makefile
xpfe/components/related/public/Makefile
xpfe/components/related/resources/Makefile
xpfe/components/search/Makefile
xpfe/components/search/datasets/Makefile
xpfe/components/search/resources/Makefile
xpfe/components/search/public/Makefile
xpfe/components/search/src/Makefile
xpfe/components/sidebar/Makefile
xpfe/components/sidebar/public/Makefile
xpfe/components/sidebar/resources/Makefile
xpfe/components/sidebar/src/Makefile
xpfe/components/xfer/Makefile
xpfe/components/xfer/public/Makefile
xpfe/components/xfer/src/Makefile
xpfe/components/xfer/resources/Makefile
xpfe/components/ucth/Makefile
xpfe/components/ucth/public/Makefile
xpfe/components/ucth/src/Makefile
xpfe/components/ucth/resources/Makefile
xpfe/components/remote/Makefile
xpfe/components/remote/public/Makefile
xpfe/components/remote/src/Makefile
xpfe/components/autocomplete/Makefile
xpfe/components/autocomplete/public/Makefile
xpfe/components/autocomplete/resources/Makefile
xpfe/components/autocomplete/resources/content/Makefile
xpfe/components/autocomplete/src/Makefile
xpfe/components/console/Makefile
xpfe/components/console/resources/Makefile
xpfe/components/console/resources/content/Makefile
xpfe/components/console/resources/locale/Makefile
xpfe/components/console/resources/locale/en-US/Makefile
xpfe/appshell/Makefile
xpfe/appshell/src/Makefile
xpfe/appshell/public/Makefile
xpfe/bootstrap/Makefile
xpfe/browser/Makefile
xpfe/browser/src/Makefile
xpfe/browser/resources/Makefile
xpfe/browser/resources/content/Makefile
xpfe/browser/resources/content/unix/Makefile
xpfe/browser/resources/locale/Makefile
xpfe/browser/resources/locale/en-US/Makefile
xpfe/browser/resources/locale/en-US/unix/Makefile
xpfe/appfilelocprovider/Makefile
xpfe/appfilelocprovider/public/Makefile
xpfe/appfilelocprovider/src/Makefile
xpfe/global/Makefile
xpfe/global/resources/Makefile
xpfe/global/resources/content/Makefile
xpfe/global/resources/content/os2/Makefile
xpfe/global/resources/content/unix/Makefile
xpfe/global/resources/locale/Makefile
xpfe/global/resources/locale/en-US/Makefile
xpfe/global/resources/locale/en-US/os2/Makefile
xpfe/global/resources/locale/en-US/unix/Makefile
xpfe/communicator/Makefile
xpfe/communicator/resources/Makefile
xpfe/communicator/resources/locale/Makefile
xpfe/communicator/resources/locale/en-US/Makefile
xpfe/communicator/resources/content/Makefile
"
MAKEFILES_embedding="
embedding/Makefile
embedding/browser/Makefile
embedding/browser/build/Makefile
embedding/browser/webBrowser/Makefile
embedding/browser/gtk/Makefile
embedding/browser/gtk/src/Makefile
embedding/browser/gtk/tests/Makefile
embedding/browser/photon/Makefile
embedding/browser/photon/src/Makefile
embedding/browser/photon/tests/Makefile
embedding/config/Makefile
embedding/tests/gtkEmbed/Makefile
"
MAKEFILES_security="
security/Makefile
security/base/Makefile
security/base/public/Makefile
security/base/res/Makefile
security/base/res/content/Makefile
security/base/res/locale/Makefile
security/base/res/locale/en-US/Makefile
security/psm/Makefile
security/psm/lib/Makefile
security/psm/lib/client/Makefile
security/psm/lib/protocol/Makefile
"
MAKEFILES_transformiix="
extensions/transformiix/source/base/Makefile
extensions/transformiix/source/main/Makefile
extensions/transformiix/source/net/Makefile
extensions/transformiix/source/xml/dom/standalone/Makefile
extensions/transformiix/source/xml/dom/Makefile
extensions/transformiix/source/xml/dom/mozImpl/Makefile
extensions/transformiix/source/xml/parser/Makefile
extensions/transformiix/source/xml/printer/Makefile
extensions/transformiix/source/xml/util/Makefile
extensions/transformiix/source/xml/Makefile
extensions/transformiix/source/xpath/Makefile
extensions/transformiix/source/xslt/functions/Makefile
extensions/transformiix/source/xslt/util/Makefile
extensions/transformiix/source/xslt/Makefile
extensions/transformiix/source/Makefile
extensions/transformiix/Makefile
"
if [ "$MOZ_MAIL_NEWS" ]; then
MAKEFILES_mailnews=`cat ${srcdir}/mailnews/makefiles`
fi
if [ ! "$SYSTEM_JPEG" ]; then
MAKEFILES_jpeg="jpeg/Makefile"
fi
if [ ! "$SYSTEM_ZLIB" ]; then
MAKEFILES_zlib="
modules/zlib/Makefile
modules/zlib/src/Makefile
"
fi
if [ ! "$SYSTEM_PNG" ]; then
MAKEFILES_libimg="$MAKEFILES_libimg modules/libimg/png/Makefile"
fi
#
# java/
#
if [ "$MOZ_JAVA_SUPPLEMENT" ]; then
MAKEFILES_java_supplement=`cat ${srcdir}/java/makefiles`
fi
#
# l10n/
#
MAKEFILES_langpacks=`cat ${srcdir}/l10n/makefiles.all`
if [ "$MOZ_L10N" ]; then
MAKEFILES_l10n="l10n/Makefile"
if [ "$MOZ_L10N_LANG" ]; then
MAKEFILES_l10n_lang="
l10n/lang/Makefile
l10n/lang/addressbook/Makefile
l10n/lang/bookmarks/Makefile
l10n/lang/directory/Makefile
l10n/lang/editor/Makefile
l10n/lang/global/Makefile
l10n/lang/history/Makefile
l10n/lang/messenger/Makefile
l10n/lang/messengercompose/Makefile
l10n/lang/navigator/Makefile
l10n/lang/pref/Makefile
l10n/lang/related/Makefile
l10n/lang/sidebar/Makefile
l10n/lang/addressbook/locale/Makefile
l10n/lang/bookmarks/locale/Makefile
l10n/lang/directory/locale/Makefile
l10n/lang/editor/locale/Makefile
l10n/lang/global/locale/Makefile
l10n/lang/history/locale/Makefile
l10n/lang/messenger/locale/Makefile
l10n/lang/messengercompose/locale/Makefile
l10n/lang/navigator/locale/Makefile
l10n/lang/pref/locale/Makefile
l10n/lang/related/locale/Makefile
l10n/lang/sidebar/locale/Makefile
"
fi
fi
# tools/jprof
if [ "$MOZ_JPROF" ]; then
MAKEFILES_jprof="tools/jprof/Makefile"
fi
# tools/leaky
if [ "$MOZ_LEAKY" ]; then
MAKEFILES_leaky="tools/leaky/Makefile"
fi
# layout/mathml
if [ "$MOZ_MATHML" ]; then
MAKEFILES_layout="$MAKEFILES_layout
layout/mathml/Makefile
layout/mathml/base/Makefile
layout/mathml/base/src/Makefile
layout/mathml/content/Makefile
layout/mathml/content/src/Makefile
"
fi
# layout/svg
if [ "$MOZ_SVG" ]; then
MAKEFILES_layout="$MAKEFILES_layout
layout/svg/Makefile
layout/svg/base/Makefile
layout/svg/base/public/Makefile
layout/svg/base/src/Makefile
layout/svg/content/Makefile
layout/svg/content/src/Makefile
"
fi
# directory/xpcom
if [ "$MOZ_LDAP_XPCOM" ]; then
MAKEFILES_ldap="
directory/xpcom/Makefile
directory/xpcom/base/Makefile
directory/xpcom/base/public/Makefile
directory/xpcom/base/src/Makefile
"
fi
# libimg/mng
if [ "$MOZ_MNG" ]; then
MAKEFILES_libimg="$MAKEFILES_libimg
modules/libimg/mng/Makefile
modules/libimg/mngcom/Makefile
"
fi
for extension in $MOZ_EXTENSIONS; do
case "$extension" in
cookie ) MAKEFILES_extensions="$MAKEFILES_extensions
extensions/cookie/Makefile
extensions/cookie/tests/Makefile
" ;;
psm-glue ) MAKEFILES_extensions="$MAKEFILES_extensions
extensions/psm-glue/public/Makefile
extensions/psm-glue/Makefile
extensions/psm-glue/src/Makefile
" ;;
irc ) MAKEFILES_extensions="$MAKEFILES_extensions
extensions/irc/Makefile
extensions/irc/xul/Makefile
extensions/irc/xul/content/Makefile
extensions/irc/xul/locale/Makefile
extensions/irc/xul/locale/en-US/Makefile
" ;;
transformiix ) MAKEFILES_extensions="$MAKEFILES_extensions
$MAKEFILES_transformiix"
;;
wallet ) MAKEFILES_extensions="$MAKEFILES_extensions
extensions/wallet/Makefile
extensions/wallet/public/Makefile
extensions/wallet/src/Makefile
extensions/wallet/editor/Makefile
extensions/wallet/cookieviewer/Makefile
extensions/wallet/signonviewer/Makefile
extensions/wallet/walletpreview/Makefile
extensions/wallet/build/Makefile
" ;;
xmlextras ) MAKEFILES_extensions="$MAKEFILES_extensions
extensions/xmlextras/Makefile
extensions/xmlextras/base/Makefile
extensions/xmlextras/base/src/Makefile
extensions/xmlextras/base/public/Makefile
extensions/xmlextras/build/Makefile
extensions/xmlextras/build/src/Makefile
extensions/xmlextras/soap/public/Makefile
" ;;
xmlterm ) MAKEFILES_extensions="$MAKEFILES_extensions
extensions/xmlterm/Makefile
extensions/xmlterm/base/Makefile
extensions/xmlterm/geckoterm/Makefile
extensions/xmlterm/linetest/Makefile
extensions/xmlterm/scripts/Makefile
extensions/xmlterm/tests/Makefile
extensions/xmlterm/ui/Makefile
" ;;
xml-rpc ) MAKEFILES_extensions="$MAKEFILES_extensions
extensions/xml-rpc/Makefile
extensions/xml-rpc/idl/Makefile
extensions/xml-rpc/src/Makefile
" ;;
esac
done
#
# Translate from BUILD_MODULES into the proper makefiles list
#
if [ "$BUILD_MODULES" = "all" ]; then
MAKEFILES_themes=`cat ${srcdir}/themes/makefiles`
add_makefiles "
$MAKEFILES_caps
$MAKEFILES_db
$MAKEFILES_dbm
$MAKEFILES_docshell
$MAKEFILES_dom
$MAKEFILES_editor
$MAKEFILES_embedding
$MAKEFILES_expat
$MAKEFILES_extensions
$MAKEFILES_gfx
$MAKEFILES_htmlparser
$MAKEFILES_intl
$MAKEFILES_java_supplement
$MAKEFILES_ldap
$MAKEFILES_leaky
$MAKEFILES_jpeg
$MAKEFILES_jprof
$MAKEFILES_js
$MAKEFILES_l10n
$MAKEFILES_l10n_lang
$MAKEFILES_langpacks
$MAKEFILES_layout
$MAKEFILES_libreg
$MAKEFILES_libimg
$MAKEFILES_libjar
$MAKEFILES_libpref
$MAKEFILES_libutil
$MAKEFILES_liveconnect
$MAKEFILES_mailnews
$MAKEFILES_oji
$MAKEFILES_plugin
$MAKEFILES_netwerk
$MAKEFILES_profile
$MAKEFILES_rdf
$MAKEFILES_security
$MAKEFILES_sun_java
$MAKEFILES_themes
$MAKEFILES_uriloader
$MAKEFILES_view
$MAKEFILES_webshell
$MAKEFILES_widget
$MAKEFILES_xpcom
$MAKEFILES_xpconnect
$MAKEFILES_xpinstall
$MAKEFILES_xpfe
$MAKEFILES_zlib
"
else
# Standalone modules go here
for mod in $BUILD_MODULES; do
case $mod in
dbm) add_makefiles "$MAKEFILES_dbm"
;;
js) add_makefiles "$MAKEFILES_js"
;;
necko) add_makefiles "
$MAKEFILES_netwerk $MAKEFILES_xpcom $MAKEFILES_libreg"
;;
transformiix) add_makefiles "$MAKEFILES_transformiix"
;;
xpcom) add_makefiles "$MAKEFILES_xpcom $MAKEFILES_libreg"
;;
xpconnect) add_makefiles "
$MAKEFILES_xpconnect $MAKEFILES_js $MAKEFILES_xpcom
$MAKEFILES_libreg"
;;
esac
done
fi

View File

@@ -1,36 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code,
# released March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DEPTH = ..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = unix
include $(topsrcdir)/config/rules.mk
# Install bloaturls.txt file for tinderbox Bloaty test.
install:: $(srcdir)/bloaturls.txt
$(INSTALL) $< $(DIST)/bin

View File

@@ -1,179 +0,0 @@
#! /usr/bin/env perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# acoutput-fast.pl - Quickly create makefiles that are in a common format.
#
# Most of the makefiles in mozilla only refer to two configure variables:
# @srcdir@
# @top_srcdir@
# However, configure does not know any better and it runs sed on each file
# with over 150 replacement rules (slow as molasses).
#
# This script takes a list of makefiles as input. For example,
#
# echo $MAKEFILES | acoutput-fast.pl
#
# The script creates each Makefile that only references @srcdir@ and
# @top_srcdir@. For other files, it lists them in a shell command that is
# printed to stdout:
#
# CONFIG_FILES="unhandled_files..."; export CONFIG_FILES
#
# This command can be used to have config.status create the unhandled
# files. For example,
#
# eval "echo $MAKEFILES | acoutput-fast.pl"
# AC_OUTPUT($MAKEFILES)
#
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
#use File::Basename;
sub dirname {
my $dir = $_[0];
return '.' if not $dir =~ m%/%;
$dir =~ s%/[^/][^/]*$%%;
return $dir;
}
# Create one directory. Assumes it doesn't already exist.
# Will create parent(s) if needed.
sub create_directory {
my $dir = $_[0];
my $parent = dirname($dir);
create_directory($parent) if not -d $parent;
mkdir "$dir",0777;
}
# Create all the directories at once.
# This can be much faster than calling mkdir() for each one.
sub create_directories {
my @makefiles = @_;
my @dirs = ();
my $ac_file;
foreach $ac_file (@makefiles) {
push @dirs, dirname($ac_file);
}
# Call mkdir with the directories sorted by subdir count (how many /'s)
if (@dirs) {
my $mkdir_command = "mkdir -p ". join(' ', @dirs);
if (system($mkdir_command) != 0) {
print STDERR "Creating dirs all at once failed; trying one at atime\n";
foreach $dir (@dirs) {
if (not -d $dir) {
print STDERR "Creating directory $dir\n";
create_directory($dir);
}
}
}
}
}
if ($ARGV[0] =~ /^--srcdir=/) {
$ac_given_srcdir = (split /=/, shift @ARGV)[1];
} else {
$ac_given_srcdir = $0;
$ac_given_srcdir =~ s|/?build/autoconf/.*$||;
$ac_given_srcdir = '.' if $ac_given_srcdir eq '';
}
# Read list of makefiles from the stdin or,
# from files listed on the command-line.
#
@makefiles=();
push @makefiles, split while (<>);
# Create all the directories at once.
# This can be much faster than calling mkdir() for each one.
create_directories(@makefiles);
# Output the makefiles.
#
@unhandled=();
foreach $ac_file (@makefiles) {
if (not $ac_file =~ /Makefile$/ or $ac_file =~ /:/) {
push @unhandled, $ac_file;
next;
}
$ac_file_in = "$ac_given_srcdir/$ac_file.in";
$ac_dir = dirname($ac_file);
if ($ac_dir eq '.') {
$ac_dir_suffix = '';
$ac_dots = '';
} else {
$ac_dir_suffix = "/$ac_dir";
$ac_dir_suffix =~ s%^/\./%/%;
$ac_dots = $ac_dir_suffix;
$ac_dots =~ s%/[^/]*%../%g;
}
if ($ac_given_srcdir eq '.') {
$srcdir = '.';
if ($ac_dots eq '') {
$top_srcdir = '.'
} else {
$top_srcdir = $ac_dots;
$top_srcdir =~ s%/$%%;
}
} elsif ($ac_given_srcdir =~ m%^/%) {
$srcdir = "$ac_given_srcdir$ac_dir_suffix";
$top_srcdir = "$ac_given_srcdir";
} else {
$srcdir = "$ac_dots$ac_given_srcdir$ac_dir_suffix";
$top_srcdir = "$ac_dots$ac_given_srcdir";
}
if (-e $ac_file) {
next if -M _ < -M $ac_file_in;
print STDERR "updating $ac_file\n";
} else {
print STDERR "creating $ac_file\n";
}
open (INFILE, "<$ac_file_in")
or ( warn "can't read $ac_file_in: No such file or directory\n" and next);
open (OUTFILE, ">$ac_file")
or ( warn "Unable to create $ac_file\n" and next);
while (<INFILE>) {
#if (/\@[_a-zA-Z]*\@.*\@[_a-zA-Z]*\@/) {
# warn "Two defines on a line:$ac_file:$.:$_";
# push @unhandled, $ac_file;
# last;
#}
s/\@srcdir\@/$srcdir/g;
s/\@top_srcdir\@/$top_srcdir/g;
if (/\@[_a-zA-Z]*\@/) {
warn "Unknown variable:$ac_file:$.:$_";
push @unhandled, $ac_file;
last;
}
print OUTFILE;
}
close INFILE;
close OUTFILE;
}
# Print the shell command to be evaluated by configure.
#
print "CONFIG_FILES=\"".join(' ', @unhandled)."\"; export CONFIG_FILES\n";

View File

@@ -1,107 +0,0 @@
dnl The contents of this file are subject to the Netscape Public
dnl License Version 1.1 (the "License"); you may not use this file
dnl except in compliance with the License. You may obtain a copy of
dnl the License at http://www.mozilla.org/NPL/
dnl
dnl Software distributed under the License is distributed on an "AS
dnl IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
dnl implied. See the License for the specific language governing
dnl rights and limitations under the License.
dnl
dnl The Original Code is mozilla.org code.
dnl
dnl The Initial Developer of the Original Code is Netscape
dnl Communications Corporation. Portions created by Netscape are
dnl Copyright (C) 1999 Netscape Communications Corporation. All
dnl Rights Reserved.
dnl
dnl Contributor(s):
dnl
dnl altoptions.m4 - An alternative way of specifying command-line options.
dnl These macros are needed to support a menu-based configurator.
dnl This file also includes the macro, AM_READ_MYCONFIG, for reading
dnl the 'myconfig.m4' file.
dnl Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
dnl MOZ_ARG_ENABLE_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE]])
dnl MOZ_ARG_DISABLE_BOOL( NAME, HELP, IF-NO [, IF-YES [, ELSE]])
dnl MOZ_ARG_ENABLE_STRING( NAME, HELP, IF-SET [, ELSE])
dnl MOZ_ARG_ENABLE_BOOL_OR_STRING( NAME, HELP, IF-YES, IF-NO, IF-SET[, ELSE]]])
dnl MOZ_ARG_WITH_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE])
dnl MOZ_ARG_WITHOUT_BOOL( NAME, HELP, IF-NO [, IF-YES [, ELSE])
dnl MOZ_ARG_WITH_STRING( NAME, HELP, IF-SET [, ELSE])
dnl MOZ_ARG_HEADER(Comment)
dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
dnl MOZ_TWO_STRING_TEST(NAME, STR1, IF-STR1, STR2, IF-STR2 [, ELSE])
AC_DEFUN(MOZ_TWO_STRING_TEST,
[if test "$enableval" = "[$2]"; then
ifelse([$3], , :, [$3])
elif test "$enableval" = "[$4]"; then
ifelse([$5], , :, [$5])
else
ifelse([$6], ,
[AC_MSG_ERROR([Option, [$1], does not take an argument ($enableval).])],
[$6])
fi])
dnl MOZ_ARG_ENABLE_BOOL(NAME, HELP, IF-YES [, IF-NO [, ELSE]])
AC_DEFUN(MOZ_ARG_ENABLE_BOOL,
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], yes, [$3], no, [$4])],
[$5])])
dnl MOZ_ARG_DISABLE_BOOL(NAME, HELP, IF-NO [, IF-YES [, ELSE]])
AC_DEFUN(MOZ_ARG_DISABLE_BOOL,
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], no, [$3], yes, [$4])],
[$5])])
dnl MOZ_ARG_ENABLE_STRING(NAME, HELP, IF-SET [, ELSE])
AC_DEFUN(MOZ_ARG_ENABLE_STRING,
[AC_ARG_ENABLE([$1], [$2], [$3], [$4])])
dnl MOZ_ARG_ENABLE_BOOL_OR_STRING(NAME, HELP, IF-YES, IF-NO, IF-SET[, ELSE]]])
AC_DEFUN(MOZ_ARG_ENABLE_BOOL_OR_STRING,
[ifelse([$5], ,
[errprint([Option, $1, needs an "IF-SET" argument.
])
m4exit(1)],
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], yes, [$3], no, [$4], [$5])],
[$6])])])
dnl MOZ_ARG_WITH_BOOL(NAME, HELP, IF-YES [, IF-NO [, ELSE])
AC_DEFUN(MOZ_ARG_WITH_BOOL,
[AC_ARG_WITH([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], yes, [$3], no, [$4])],
[$5])])
dnl MOZ_ARG_WITHOUT_BOOL(NAME, HELP, IF-NO [, IF-YES [, ELSE])
AC_DEFUN(MOZ_ARG_WITHOUT_BOOL,
[AC_ARG_WITH([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], no, [$3], yes, [$4])],
[$5])])
dnl MOZ_ARG_WITH_STRING(NAME, HELP, IF-SET [, ELSE])
AC_DEFUN(MOZ_ARG_WITH_STRING,
[AC_ARG_WITH([$1], [$2], [$3], [$4])])
dnl MOZ_ARG_HEADER(Comment)
dnl This is used by webconfig to group options
define(MOZ_ARG_HEADER, [# $1])
dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
AC_DEFUN(MOZ_READ_MOZCONFIG,
[AC_REQUIRE([AC_INIT_BINSH])dnl
# Read in '.mozconfig' script to set the initial options.
# See the mozconfig2configure script for more details.
_AUTOCONF_TOOLS_DIR=`dirname [$]0`/[$1]/build/autoconf
. $_AUTOCONF_TOOLS_DIR/mozconfig2configure])
dnl This gets inserted at the top of the configure script
MOZ_READ_MOZCONFIG(MOZ_TOPSRCDIR)

View File

@@ -1,54 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# clean-config.sh - Removes all files generated by mozilla configure.
# Only removes files from the topsrcdir. To clean up an objdir,
# simply remove the directory and start over.
#
# Usage:
# 1. cd <topsrcdir>
# 2. build/autoconf/clean-config.sh
#
# Send comments, improvements, bugs to slamm@netscape.com
topsrcdir=`cd \`dirname $0\`/../..; pwd`
if [ ! -f configure.in ]; then
echo "clean-config.sh only cleans the source tree. To run," 2>&1
echo " cd $topsrcdir; build/autoconf/clean-config.sh" 2>&1
echo " (To clean a separate objdir, simple remove the directory.)" 2>&1
exit 1
fi
if [ -f mailnews/makefiles ]; then
MOZ_MAIL_NEWS=1
export MOZ_MAIL_NEWS
fi
. allmakefiles.sh
rm -fr $MAKEFILES \
config-defs.h \
config.cache \
config.log \
config.status \
$NULL

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,200 +0,0 @@
# Configure paths for GLIB
# Owen Taylor 97-11-3
dnl AM_PATH_GLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or
dnl gthread is specified in MODULES, pass to glib-config
dnl
AC_DEFUN(AM_PATH_GLIB,
[dnl
dnl Get the cflags and libraries from the glib-config script
dnl
AC_ARG_WITH(glib-prefix,[ --with-glib-prefix=PFX Prefix where GLIB is installed (optional)],
glib_config_prefix="$withval", glib_config_prefix="")
AC_ARG_WITH(glib-exec-prefix,[ --with-glib-exec-prefix=PFX
Exec prefix where GLIB is installed (optional)],
glib_config_exec_prefix="$withval", glib_config_exec_prefix="")
AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and run a test GLIB program],
, enable_glibtest=yes)
if test x$glib_config_exec_prefix != x ; then
glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
if test x${GLIB_CONFIG+set} != xset ; then
GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
fi
fi
if test x$glib_config_prefix != x ; then
glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
if test x${GLIB_CONFIG+set} != xset ; then
GLIB_CONFIG=$glib_config_prefix/bin/glib-config
fi
fi
for module in . $4
do
case "$module" in
gmodule)
glib_config_args="$glib_config_args gmodule"
;;
gthread)
glib_config_args="$glib_config_args gthread"
;;
esac
done
dnl Force a version check to keep upgraded versions from being overridden by the cached value.
unset ac_cv_path_GLIB_CONFIG
AC_PATH_PROG(GLIB_CONFIG, glib-config, no)
min_glib_version=ifelse([$1], ,0.99.7,$1)
AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
no_glib=""
if test "$GLIB_CONFIG" = "no" ; then
no_glib=yes
else
GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_glibtest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GLIB_CFLAGS"
LIBS="$GLIB_LIBS $LIBS"
dnl
dnl Now check if the installed GLIB is sufficiently new. (Also sanity
dnl checks the results of glib-config to some extent
dnl
rm -f conf.glibtest
AC_TRY_RUN([
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.glibtest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_glib_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_glib_version");
exit(1);
}
if ((glib_major_version != $glib_config_major_version) ||
(glib_minor_version != $glib_config_minor_version) ||
(glib_micro_version != $glib_config_micro_version))
{
printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
$glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
glib_major_version, glib_minor_version, glib_micro_version);
printf ("*** was found! If glib-config was correct, then it is best\n");
printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
(glib_minor_version != GLIB_MINOR_VERSION) ||
(glib_micro_version != GLIB_MICRO_VERSION))
{
printf("*** GLIB header files (version %d.%d.%d) do not match\n",
GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
glib_major_version, glib_minor_version, glib_micro_version);
}
else
{
if ((glib_major_version > major) ||
((glib_major_version == major) && (glib_minor_version > minor)) ||
((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
glib_major_version, glib_minor_version, glib_micro_version);
printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
major, minor, micro);
printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the glib-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
printf("*** correct copy of glib-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_glib" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$GLIB_CONFIG" = "no" ; then
echo "*** The glib-config script installed by GLIB could not be found"
echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the GLIB_CONFIG environment variable to the"
echo "*** full path to glib-config."
else
if test -f conf.glibtest ; then
:
else
echo "*** Could not run GLIB test program, checking why..."
CFLAGS="$CFLAGS $GLIB_CFLAGS"
LIBS="$LIBS $GLIB_LIBS"
AC_TRY_LINK([
#include <glib.h>
#include <stdio.h>
], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GLIB or finding the wrong"
echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
echo "***"
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
echo "*** came with the system with the command"
echo "***"
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
echo "*** may want to edit the glib-config script: $GLIB_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
GLIB_CFLAGS=""
GLIB_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
rm -f conf.glibtest
])

View File

@@ -1,191 +0,0 @@
# Configure paths for GTK+
# Owen Taylor 97-11-3
# (copy of gtk.m4 (public domain))
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
dnl
AC_DEFUN(AM_PATH_GTK,
[dnl
dnl Get the cflags and libraries from the gtk-config script
dnl
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
gtk_config_prefix="$withval", gtk_config_prefix="")
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX
Exec prefix where GTK is installed (optional)],
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
, enable_gtktest=yes)
if test x$gtk_config_exec_prefix != x ; then
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
fi
fi
if test x$gtk_config_prefix != x ; then
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
fi
fi
dnl Force a version check to keep upgraded versions from being overridden by the cached value.
unset ac_cv_path_GTK_CONFIG
AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
min_gtk_version=ifelse([$1], ,0.99.7,$1)
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
no_gtk=""
if test "$GTK_CONFIG" = "no" ; then
no_gtk=yes
else
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_gtktest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
dnl
dnl Now check if the installed GTK is sufficiently new. (Also sanity
dnl checks the results of gtk-config to some extent
dnl
rm -f conf.gtktest
AC_TRY_RUN([
#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.gtktest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_gtk_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_gtk_version");
exit(1);
}
if ((gtk_major_version != $gtk_config_major_version) ||
(gtk_minor_version != $gtk_config_minor_version) ||
(gtk_micro_version != $gtk_config_micro_version))
{
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf ("*** was found! If gtk-config was correct, then it is best\n");
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
(gtk_minor_version != GTK_MINOR_VERSION) ||
(gtk_micro_version != GTK_MICRO_VERSION))
{
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
}
#endif /* defined (GTK_MAJOR_VERSION) ... */
else
{
if ((gtk_major_version > major) ||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
major, minor, micro);
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_gtk" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$GTK_CONFIG" = "no" ; then
echo "*** The gtk-config script installed by GTK could not be found."
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the GTK_CONFIG environment variable to the"
echo "*** full path to gtk-config."
echo "*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk"
else
if test -f conf.gtktest ; then
:
else
echo "*** Could not run GTK test program, checking why..."
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
AC_TRY_LINK([
#include <gtk/gtk.h>
#include <stdio.h>
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GTK or finding the wrong"
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
echo "***"
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
echo "*** came with the system with the command"
echo "***"
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
GTK_CFLAGS=""
GTK_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
rm -f conf.gtktest
])

View File

@@ -1,119 +0,0 @@
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5; it is not part of GNU.
#
# $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $
#
# This script is compatible with the BSD install script, but was written
# from scratch.
#
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
instcmd="$mvprog"
chmodcmd=""
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd="$stripprog"
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "install: no input file specified"
exit 1
fi
if [ x"$dst" = x ]
then
echo "install: no destination specified"
exit 1
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d $dst ]
then
dst="$dst"/`basename $src`
fi
# Make a temp file name in the proper directory.
dstdir=`dirname $dst`
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
$doit $instcmd $src $dsttmp
# and set any options; do chmod last to preserve setuid bits
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; fi
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; fi
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; fi
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; fi
# Now rename the file to the real destination.
$doit $rmcmd $dst
$doit $mvcmd $dsttmp $dst
exit 0

View File

@@ -1,198 +0,0 @@
# Configure paths for LIBIDL
dnl AM_PATH_LIBIDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for LIBIDL, and define LIBIDL_CFLAGS and LIBIDL_LIBS
dnl
AC_DEFUN(AM_PATH_LIBIDL,
[dnl
dnl Get the cflags and libraries from the libIDL-config script
dnl
AC_ARG_WITH(libIDL-prefix,[ --with-libIDL-prefix=PFX
Prefix where libIDL is installed (optional)],
libIDL_config_prefix="$withval", libIDL_config_prefix="")
AC_ARG_WITH(libIDL-exec-prefix,[ --with-libIDL-exec-prefix=PFX
Exec prefix where libIDL is installed (optional)],
libIDL_config_exec_prefix="$withval", libIDL_config_exec_prefix="")
AC_ARG_ENABLE(libIDLtest, [ --disable-libIDLtest Do not try to compile and run a test libIDL program],
, enable_libIDLtest=yes)
if test x$libIDL_config_exec_prefix != x ; then
libIDL_config_args="$libIDL_config_args --exec-prefix=$libIDL_config_exec_prefix"
if test x${LIBIDL_CONFIG+set} != xset ; then
LIBIDL_CONFIG=$libIDL_config_exec_prefix/bin/libIDL-config
fi
fi
if test x$libIDL_config_prefix != x ; then
libIDL_config_args="$libIDL_config_args --prefix=$libIDL_config_prefix"
if test x${LIBIDL_CONFIG+set} != xset ; then
LIBIDL_CONFIG=$libIDL_config_prefix/bin/libIDL-config
fi
fi
AM_PATH_GLIB(1.2.0)
dnl Force a version check to keep upgraded versions from being overridden by the cached value.
unset ac_cv_path_LIBIDL_CONFIG
AC_PATH_PROG(LIBIDL_CONFIG, libIDL-config, no)
min_libIDL_version=ifelse([$1], ,0.6.0,$1)
AC_MSG_CHECKING(for libIDL - version >= $min_libIDL_version)
no_libIDL=""
if test "$LIBIDL_CONFIG" = "no" ; then
no_libIDL=yes
else
LIBIDL_CFLAGS=`$LIBIDL_CONFIG $libIDL_config_args --cflags`
LIBIDL_LIBS=`$LIBIDL_CONFIG $libIDL_config_args --libs`
# hack to allow us to keep using libIDL 0.6.3-0.6.7. Anyone may remove
# this after we start requiring libIDL 0.6.8 or anything higher
LIBIDL_CFLAGS="$GLIB_CFLAGS $LIBIDL_CFLAGS"
LIBIDL_LIBS="$GLIB_LIBS $LIBIDL_LIBS"
libIDL_config_major_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
libIDL_config_minor_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
libIDL_config_micro_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_libIDLtest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $LIBIDL_CFLAGS"
LIBS="$LIBIDL_LIBS $LIBS"
dnl
dnl Now check if the installed LIBIDL is sufficiently new.
dnl
rm -f conf.libIDLtest
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <libIDL/IDL.h>
int
main ()
{
int major, minor, micro;
int libIDL_major_version;
int libIDL_minor_version;
int libIDL_micro_version;
char *tmp_version;
system ("touch conf.libIDLtest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup ("$min_libIDL_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_libIDL_version");
exit(1);
}
tmp_version = g_strdup (IDL_get_libver_string ());
if (sscanf(tmp_version, "%d.%d.%d",
&libIDL_major_version,
&libIDL_minor_version,
&libIDL_micro_version) != 3) {
printf("%s, bad version string\n", tmp_version);
exit(1);
}
if ((libIDL_major_version != $libIDL_config_major_version) ||
(libIDL_minor_version != $libIDL_config_minor_version) ||
(libIDL_micro_version != $libIDL_config_micro_version))
{
printf("\n*** 'libIDL-config --version' returned %d.%d.%d, but libIDL (%d.%d.%d)\n",
$libIDL_config_major_version, $libIDL_config_minor_version, $libIDL_config_micro_version,
libIDL_major_version, libIDL_minor_version, libIDL_micro_version);
printf ("*** was found! If libIDL-config was correct, then it is best\n");
printf ("*** to remove the old version of LIBIDL. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If libIDL-config was wrong, set the environment variable LIBIDL_CONFIG\n");
printf("*** to point to the correct copy of libIDL-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
else if ((libIDL_major_version != LIBIDL_MAJOR_VERSION) ||
(libIDL_minor_version != LIBIDL_MINOR_VERSION) ||
(libIDL_micro_version != LIBIDL_MICRO_VERSION))
{
printf("\n*** libIDL header files (version %d.%d.%d) do not match\n",
LIBIDL_MAJOR_VERSION, LIBIDL_MINOR_VERSION, LIBIDL_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
libIDL_major_version, libIDL_minor_version, libIDL_micro_version);
}
else
{
if ((libIDL_major_version > major) ||
((libIDL_major_version == major) && (libIDL_minor_version > minor)) ||
((libIDL_major_version == major) && (libIDL_minor_version == minor) && (libIDL_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of libIDL (%d.%d.%d) was found.\n",
libIDL_major_version, libIDL_minor_version, libIDL_micro_version);
printf("*** You need at least libIDL version %d.%d.%d.\n",
major, minor, micro);
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the libIDL-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of libIDL, but you can also set the LIBIDL_CONFIG environment to point to the\n");
printf("*** correct copy of libIDL-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_libIDL=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_libIDL" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$LIBIDL_CONFIG" = "no" ; then
echo "*** The libIDL-config script installed by libIDL could not be found"
echo "*** If libIDL was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the LIBIDL_CONFIG environment variable to the"
echo "*** full path to libIDL-config."
else
if test -f conf.libIDLtest ; then
:
else
echo "*** Could not run libIDL test program, checking why..."
CFLAGS="$CFLAGS $LIBIDL_CFLAGS"
LIBS="$LIBS $LIBIDL_LIBS"
AC_TRY_LINK([
#include <stdio.h>
#include <stdlib.h>
#include <libIDL/IDL.h>
], [ return IDL_get_libver_string ? 1 : 0; ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding libIDL or finding the wrong"
echo "*** version of LIBIDL. If it is not finding libIDL, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means libIDL was incorrectly installed"
echo "*** or that you have moved libIDL since it was installed. In the latter case, you"
echo "*** may want to edit the libIDL-config script: $LIBIDL_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
LIBIDL_CFLAGS=""
LIBIDL_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(LIBIDL_CFLAGS)
AC_SUBST(LIBIDL_LIBS)
rm -f conf.libIDLtest
])

View File

@@ -1,279 +0,0 @@
#! /usr/bin/env perl
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# make-makefiles - Quickly create Makefiles for subdirectories.
# Also, creates any needed subdirectories.
#
# usage: make-makefiles [ -t <topsrcdir> -d <depth> ] [ <subdir> | <subdir>/Makefile ] ...
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
#$debug = 1;
# Determine various tree path variables
#
($topsrcdir, $depth, @makefiles) = parse_arguments(@ARGV);
$object_fullpath = `pwd`;
chdir $depth;
$object_root = `pwd`;
chomp $object_fullpath;
chomp $object_root;
# $source_subdir is the path from the object root to where
# 'make-makefile' was called. For example, if make-makefile was
# called from "mozilla/gfx/src", then $source_subdir would be
# "gfx/src/".
$source_subdir = "$object_fullpath/";
$source_subdir =~ s|^$object_root/||;
# Prefix makefiles with $source_subdir so that paths
# will be relative to the top of the object tree.
#
for $makefile (@makefiles) {
$makefile = "$source_subdir$makefile";
}
create_directories(@makefiles);
# Find the path to the source directory based on how 'make-makefile'
# was invoked. The path is either relative to the object directory
# or an absolute path.
$given_srcdir = find_srcdir($topsrcdir, $depth);
if ($debug) {
warn "object_fullpath = $object_fullpath\n";
warn "object_root = $object_root\n";
warn "source_subdir = $source_subdir\n";
warn "makefiles = @makefiles\n";
warn "given_srcdir = $given_srcdir\n";
}
@unhandled = update_makefiles($given_srcdir, @makefiles);
run_config_status(@unhandled);
# end of Main
############################################################
sub dirname {
return $_[0] =~ /(.*)\/.*/ ? "$1" : '.';
}
# find_depth: Pull the value of DEPTH out of a Makefile (or Makefile.in)
sub find_depth {
my $depth = '';
open(MAKEFILE, "<$_[0]") || die "Unable to open $_[0]: $!\n";
while (<MAKEFILE>) {
next unless /^DEPTH\s*=\s*(\..*)/;
$depth = $1;
last;
}
close MAKEFILE;
return $depth;
}
sub parse_arguments {
my @args = @_;
my $depth = '';
my $topsrcdir = '';
my @makefiles = ();
while (1) {
if ($args[0] eq '-d') {
$depth = $args[1];
shift @args;
shift @args;
} elsif ($args[0] eq '-t') {
$topsrcdir = $args[1];
shift @args;
shift @args;
} else {
last;
}
}
if ($topsrcdir eq '') {
$topsrcdir = $0; # Figure out topsrcdir based on program name.
$topsrcdir =~ s|/?build/autoconf/.*$||;
}
if ($depth eq '') {
# Use $(DEPTH) in the Makefile or Makefile.in to determine the depth
if (-e "Makefile.in") {
$depth = find_depth("Makefile.in");
} elsif (-e "Makefile") {
$depth = find_depth("Makefile");
} elsif (-e "../Makefile") {
$depth = "../".find_depth("../Makefile");
$depth =~ s/\/\.$//;
} else {
warn "Unable to determine depth (e.g. ../..) to root of objdir tree.\n";
die "No Makefile(.in) present. Try running with '-d <depth>'\n";
}
}
# Build the list of makefiles to generate
#
@makefiles = ();
my $makefile;
foreach $makefile (@args) {
$makefile =~ s/\.in$//;
$makefile =~ s/\/$//;
$makefile =~ /Makefile$/ or $makefile .= "/Makefile";
push @makefiles, "$makefile";
}
@makefiles = "Makefile" unless @args;
return ($topsrcdir, $depth, @makefiles);
}
# Create all the directories at once.
# This can be much faster than calling mkdir() for each one.
sub create_directories {
my @makefiles = @_;
my @dirs = ();
my $ac_file;
foreach $ac_file (@makefiles) {
push @dirs, dirname($ac_file);
}
# Call mkdir with the directories sorted by subdir count (how many /'s)
system "mkdir -p ". join(' ', @dirs) if @dirs;
}
# Find the top of the source directory
# (Assuming that the executable is in $top_srcdir/build/autoconf)
sub find_srcdir {
my ($ac_given_srcdir, $depth) = @_;
if ($debug) {
print "ac_given_srcdir = $ac_given_srcdir\n";
print "depth = $depth\n";
}
if ($ac_given_srcdir =~ /^\./ and $depth ne '.') {
my $quoted_depth = quotemeta($depth);
$ac_given_srcdir =~ s|^$quoted_depth/?||;
}
if ($debug) {
print "ac_given_srcdir = $ac_given_srcdir\n";
}
$ac_given_srcdir = '.' if $ac_given_srcdir eq '';
return $ac_given_srcdir;
}
# Output the makefiles.
#
sub update_makefiles {
my ($ac_given_srcdir, @makefiles) = @_;
my @unhandled=();
my $ac_file;
foreach $ac_file (@makefiles) {
my $ac_file_in = "$ac_given_srcdir/${ac_file}.in";
my $ac_dir = dirname($ac_file);
my $ac_dots = '';
my $ac_dir_suffix = '';
my $srcdir = '.';
my $top_srcdir = '.';
# Determine $srcdir and $top_srcdir
#
if ($ac_dir ne '.') {
$ac_dir_suffix = "/$ac_dir";
$ac_dir_suffix =~ s%^/\./%/%;
$ac_dots = $ac_dir_suffix;
$ac_dots =~ s%/[^/]*%../%g;
}
if ($ac_given_srcdir eq '.') {
if ($ac_dots ne '') {
$top_srcdir = $ac_dots;
$top_srcdir =~ s%/$%%;
}
} elsif ($ac_given_srcdir =~ m%^/%) {
$srcdir = "$ac_given_srcdir$ac_dir_suffix";
$top_srcdir = "$ac_given_srcdir";
} else {
$srcdir = "$ac_dots$ac_given_srcdir$ac_dir_suffix";
$top_srcdir = "$ac_dots$ac_given_srcdir";
}
if ($debug) {
print "ac_dir = $ac_dir\n";
print "ac_file = $ac_file\n";
print "ac_file_in = $ac_file_in\n";
print "srcdir = $srcdir\n";
print "top_srcdir = $top_srcdir\n";
print "cwd = " . `pwd` . "\n";
}
# Copy the file and make substitutions.
# @srcdir@ -> value of $srcdir
# @top_srcdir@ -> value of $top_srcdir
#
if (-e $ac_file) {
next if -M _ < -M $ac_file_in; # Next if Makefile is up-to-date.
warn "updating $ac_file\n";
} else {
warn "creating $ac_file\n";
}
open INFILE, "<$ac_file_in" or do {
warn "$0: Cannot read $ac_file_in: No such file or directory\n";
next;
};
open OUTFILE, ">$ac_file" or do {
warn "$0: Unable to create $ac_file\n";
next;
};
while (<INFILE>) {
if (/\@[_a-zA-Z]*\@.*\@[_a-zA-Z]*\@/) {
#warn "Two defines on a line:$ac_file:$.:$_";
push @unhandled, $ac_file;
last;
}
s/\@srcdir\@/$srcdir/;
s/\@top_srcdir\@/$top_srcdir/;
if (/\@[_a-zA-Z]*\@/) {
#warn "Unknown variable:$ac_file:$.:$_";
push @unhandled, $ac_file;
last;
}
print OUTFILE;
}
close INFILE;
close OUTFILE;
}
return @unhandled;
}
sub run_config_status {
my @unhandled = @_;
# Run config.status with any unhandled files.
#
if (@unhandled) {
$ENV{CONFIG_FILES}= join ' ', @unhandled;
system "./config.status";
}
}

View File

@@ -1,85 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
# This script will match a dir with a set of dirs.
#
# Usage: match-dir.sh match [dir1 dir2 ... dirn]
#
# Send comments, improvements, bugs to ramiro@netscape.com
#
if [ -f Makefile ]; then
MAKEFILE="Makefile"
else
if [ -f Makefile.in ]; then
MAKEFILE="Makefile.in"
else
echo
echo "There ain't no 'Makefile' or 'Makefile.in' over here: $pwd, dude."
echo
exit 1
fi
fi
# Use DEPTH in the Makefile.in to determine the depth
depth=`grep -w DEPTH ${MAKEFILE} | grep "\.\." | awk -F"=" '{ print $2; }'`
cwd=`pwd`
# Determine the depth count
n=`echo $depth | tr '/' ' ' | wc -w`
cd $depth
objdir=`pwd`
path=`echo $cwd | sed "s|^${objdir}/||"`
match=$path
for i in $*
do
# echo "Looking for $match in $i"
echo $i | grep -q -x $match
if [ $? -eq 0 ]
then
echo "1"
exit 0
fi
# echo "Looking for $i in $match"
echo $match | grep -q $i
if [ $? -eq 0 ]
then
echo "1"
exit 0
fi
done
echo "0"
exit 0

View File

@@ -1,46 +0,0 @@
#! /bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Stephen Lamm <slamm@netscape.com>
#
# mozconfigfind - Loads options from .mozconfig onto configure's
# command-line. The .mozconfig file is searched for in the
# order:
# if $MOZCONFIG is set, use that.
# Otherwise, use $TOPSRCDIR/.mozconfig
# Otherwise, use $HOME/.mozconfig
#
topsrcdir=$1
for _config in $MOZCONFIG \
$MOZ_MYCONFIG \
$topsrcdir/.mozconfig \
$topsrcdir/mozconfig \
$topsrcdir/mozconfig.sh \
$topsrcdir/myconfig.sh \
$HOME/.mozconfig \
$HOME/.mozconfig.sh \
$HOME/.mozmyconfig.sh
do
if test -f $_config; then
echo $_config;
exit 0
fi
done

View File

@@ -1,94 +0,0 @@
#! /bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Stephen Lamm <slamm@netscape.com>
#
# mozconfig2client-mk - Translates .mozconfig into options for client.mk.
# Prints defines to stdout.
#
# See mozconfig2configure for more details
print_header() {
_mozconfig=${MOZCONFIG:-$HOME/.mozconfig}
cat >> $tmp_file <<EOF
# gmake
# This file is automatically generated for client.mk.
# Do not edit. Edit $_mozconfig instead.
# To create a new .mozconfig file, you can visit,
# http://webtools.mozilla.org/build/config.cgi
EOF
}
ac_add_options() {
echo "# $* is used by configure (not client.mk)" >> $tmp_file
}
mk_add_options() {
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash,
# and substitute '@<word>@' with '$(<word>)'.
_opt=`echo "$_opt" | sed -e 's/\([\"\\]\)/\\\1/g; s/@\([^@]*\)@/\$(\1)/g;'`
echo $_opt;
opts="${opts:+$opts^}$_opt";
done >> $tmp_file
}
mk_echo_options() {
echo "Adding client.mk options from $MOZCONFIG:"
IFS=^
for _opt in $opts; do
echo " $_opt"
done
}
# Main
#--------------------------------------------------
scriptdir=`dirname $0`
topsrcdir=$1
out_file=$2
tmp_file="$out_file-tmp$$"
opts=""
trap "rm -f $tmp_file; exit 1" 1 2 15
MOZCONFIG=`$scriptdir/mozconfig-find $topsrcdir`
print_header > $tmp_file
# If the path changes, configure should be rerun
echo "# PATH=$PATH" >> $tmp_file
if [ "$MOZCONFIG" ]
then
. $MOZCONFIG
fi
if [ "$opts" ]; then
mk_echo_options
fi
if test -f $out_file && cmp -s $tmp_file $out_file; then
rm $tmp_file
else
mv -f $tmp_file $out_file
fi

View File

@@ -1,70 +0,0 @@
#! /bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Stephen Lamm (slamm@netscape.com)
#
# mozconfig2configurator - Translates .mozconfig into options for
# the online configurator,
#
# http://webtools.mozilla.org/build/config.cgi
#
# This is called by the 'webconfig' target of mozilla/client.mk
#
ac_add_options() {
for _opt
do
# Escape special url characters
_opt=`echo $_opt | sed -e 's/%/%25/g;s/ /%20/g;s/&/%26/g;'`
case "$_opt" in
--*-*= ) url="$url$_opt&" ;;
--*-* ) url="$url$_opt=yes&" ;;
esac
done
}
mk_add_options() {
for _opt
do
# Escape special url characters
# Escape special url characters
_opt=`echo $_opt | sed -e 's/%/%25/g;s/ /%20/g;s/&/%26/g;'`
url="$url$_opt&"
done
}
#
# main
#
# find-mozconfig.sh
# In params: $MOZCONFIG $HOME ($MOZ_MYCONFIG)
scriptdir=`dirname $0`
MOZCONFIG=`$scriptdir/mozconfig-find $topsrcdir`
if [ "$MOZCONFIG" ]
then
url="http://webtools.mozilla.org/build/config.cgi?"
. $MOZCONFIG
# Drop the last character of $url
echo `expr "$url" : "\(.*\)."`
fi

View File

@@ -1,99 +0,0 @@
#! /bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Stephen Lamm <slamm@netscape.com>
#
# mozconfig2configure - Loads options from .mozconfig onto configure's
# command-line. See find-mozconfig.sh for how the config file is
# found
#
# The options from .mozconfig are inserted into the command-line
# before the real command-line options. This way the real options
# will override any .mozconfig options.
#
# .mozconfig is a shell script. To add an option to configure's
# command-line use the pre-defined function, ac_add_options,
#
# ac_add_options <configure-option> [<configure-option> ... ]
#
# For example,
#
# ac_add_options --with-pthreads --enable-debug
#
# ac_add_options can be called multiple times in .mozconfig.
# Each call adds more options to configure's command-line.
# Note: $_AUTOCONF_TOOLS_DIR must be defined in the script that includes this.
ac_add_options() {
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash.
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g;s/@\([^@]*\)@/\$\1/g;'`
_opt=`echo $_opt | sed -e 's/@\([^@]*\)@/\$(\1)/g'`
# Avoid adding duplicates
case "$ac_options" in
*"$_opt"* ) ;;
* ) mozconfig_ac_options="$mozconfig_ac_options $_opt" ;;
esac
done
}
mk_add_options() {
# These options are for client.mk
# configure can safely ignore them.
:
}
ac_echo_options() {
echo "Adding configure options from $MOZCONFIG:"
eval "set -- $mozconfig_ac_options"
for _opt
do
echo " $_opt"
done
}
# Main
#--------------------------------------------------
_topsrcdir=`dirname $0`
ac_options=
mozconfig_ac_options=
# Save the real command-line options
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash.
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g;'`
ac_options="$ac_options \"$_opt\""
done
MOZCONFIG=`$_AUTOCONF_TOOLS_DIR/mozconfig-find $_topsrcdir`
if [ "$MOZCONFIG" ]; then
. $MOZCONFIG
fi
if [ "$mozconfig_ac_options" ]; then
ac_echo_options 1>&2
fi
eval "set -- $mozconfig_ac_options $ac_options"

View File

@@ -1,102 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
# This script will generate a single Makefile from a Makefile.in using
# the config.status script.
#
# The config.status script is generated the first time you run
# ./configure.
#
#
# Usage: update-makefile.sh
#
# Send comments, improvements, bugs to ramiro@netscape.com
#
update_makefile_usage() {
_progname=`expr //$0 : '.*/\(.*\)'`
cat <<END_USAGE 2>&1
Usage: $_progname [-h -u] [<keyword>]
-d <dir> Subdir to update
-h Print usage
END_USAGE
}
# Parse the command-line options
#
subdir=
while getopts d:h OPT; do
case $OPT in
d) # Make sure "subdir" has exactly one ending slash
subdir=`echo $OPTARG | sed 's/\/$//;'`"/" ;;
\?|h) update_makefile_usage
exit 1
;;
esac
done
# find_depth: Pull the value of DEPTH out of Makefile (or Makefile.in)
find_depth() {
egrep '^DEPTH[ ]*=[ ]*\.' $1 | awk -F= '{ print $2; }'
}
# The Makefile to create
target_makefile=`pwd`"/${subdir}Makefile"
# Use $(DEPTH) in the Makefile or Makefile.in to determine the depth
if [ -f Makefile.in ]
then
depth=`find_depth Makefile.in`
elif [ -f Makefile ]
then
depth=`find_depth Makefile`
elif [ -f ../Makefile ]
then
depth="../"`find_depth Makefile`
else
echo
echo "There ain't no 'Makefile' or 'Makefile.in' over here: $pwd"
echo
exit
fi
# 'cd' to the root of the tree to run "config.status" there
cd $depth
# Strip the tree root off the Makefile's path
#
root_path=`pwd`
target_makefile=`expr $target_makefile : $root_path'/\(.*\)'`
# Make sure config.status exists
#
if [ -f config.status ]
then
CONFIG_FILES=$target_makefile ./config.status
else
echo
echo "There ain't no 'config.status' over here: $pwd"
echo
fi

View File

@@ -1,6 +0,0 @@
http://www.mozilla.org
ftp://ftp.mozilla.org
resource:///res/samples/test2.html
resource:///res/samples/test8.html
resource:///res/samples/test6.html
resource:///res/samples/test8.html

View File

@@ -1 +0,0 @@
0000000000

View File

@@ -1,292 +0,0 @@
#!perl -w
# This script copies modified files from a source CVS tree to a destination
# tree. Modified files are detected by comparing their modification dates
# with the CVS Entries file.
#
# Modified files are copied in their entirety to the destination tree
# (no diffing is done). Files are only copied of the CVS version of the
# file is the same in both trees. If the destination file is modified
# already, it is backed up and replaced.
#
# To use this on your tree/platform, do the following:
#
# 1. Fix the !perl line, if necessary.
# 2. Fix $dirsep to be the directory separator on your platform.
# 3. Uncomment the appropriate $dst_linebreaks file specify what linebreaks
# you want for the copied files. This variable defines the *destination* linebreaks
# that you want your changes to be converted to.
# For example, if you have a linux volume
# mounted (via SAMBA perhaps) to your windows box where you've made changes to
# source files, you'd want $dst_linebreaks to be set for unix. This ensures that
# linebreaks are converted to the appropriate OS linebreak scheme for your *target* tree.
# 4. Set $src_tree and $dest_tree to point to the directories you want
# to sync up. These don't have to point to the root of the tree,
# but should be equivalent directories in the two trees.
#
# First version:
# Simon Fraser <sfraser@netscape.com>
use File::stat;
use Time::Local;
# change for your platform ('\' == windows, ':' == mac, '/' == unix)
$dirsep = "\\";
# Set this to the native OS of the *destination* tree
# $dst_linebreaks = pack("cc", 13); # Mac
#$dst_linebreaks = pack("cc", 13, 10); # DOS
$dst_linebreaks = pack("cc", 10); # UNIX
#change for your src and dest trees
$src_tree = "x:\\mozilla\\xpfe\\components";
$dest_tree = "h:\\builds\\mozilla\\xpfe\\components";
#//--------------------------------------------------------------------------------------------------
#// _copyFile. Copy file from src to dest, converting linebreaks if necessary
#//--------------------------------------------------------------------------------------------------
sub _copyFile($;$;$;$)
{
my($srcdir, $destdir, $file, $backup) = @_;
my($srcfile) = $srcdir.$dirsep.$file;
my($dstfile) = $destdir.$dirsep.$file;
if ($backup)
{
my($counter) = 0;
while (-f $dstfile."-".$counter)
{
$counter ++;
}
rename($dstfile, $dstfile."-".$counter) or die "Failed to rename file\n";
}
print "Copying $file over to dest\n";
my($newdest) = $dstfile."_temp";
open(SRCFILE, "< $srcfile") or die "Can't open source file $srcfile\n";
open(NEWDEST, "> $newdest") or die "Can't open dest file $newdest\n";
while (<SRCFILE>)
{
chomp($_);
print NEWDEST $_.$dst_linebreaks;
}
close(SRCFILE);
close(NEWDEST);
if (!$backup) {
unlink($dstfile) or die "Failed to remove $dstfile\n";
}
rename($newdest, $dstfile) or die "Failed to rename $newdest\n";
}
#//--------------------------------------------------------------------------------------------------
#// _readCVSInfo. Suck in the CVS info from the Entries file
#//--------------------------------------------------------------------------------------------------
sub _readCVSInfo($)
{
my($cvsDir) = @_;
my($entries_file_name) = $cvsDir.$dirsep."CVS".$dirsep."Entries";
# print "Reading $entries_file_name\n";
open(ENTRIES, $entries_file_name) || die "Could not open file $entries_file_name";
my(%cvs_entries);
# Read in the path if available
while (defined ($line = <ENTRIES>))
{
chomp($line);
#parse out the line. Format is:
# files: /filename/version/date/options/tag
# dirs: D/dirname////
# dir? D
# because we might be reading an entries file from another platform, with
# different linebreaks, be anal about cleaning up $line.
if ($line =~ /^?\/(.+)\/(.+)\/(.+)\/(.*)\/(.*)?$/)
{
my($filename) = $1;
my($version) = $2;
my($date) = $3;
my($options) = $4;
my($tag) = $5;
my(%cvs_file) = (
"version" => $version,
"date" => $date,
"options" => $options,
"tag" => $tag
);
# print $filename." ".$version." ".$date." ".$options." ".$tag."\n";
$cvs_entries{$filename} = \%cvs_file;
}
}
close ENTRIES;
return %cvs_entries;
}
#//--------------------------------------------------------------------------------------------------
#// _fileIsModified. compare mod date with CVS entries to see if a file is modified
#//--------------------------------------------------------------------------------------------------
sub _fileIsModified($;$;$)
{
my($entries, $dir, $file) = @_;
my($abs_file) = $dir.$dirsep.$file;
if (exists($entries->{$file}))
{
my($date) = $entries->{$file}->{"date"};
# stat the file to get its date
my($file_data) = stat($abs_file) || die "Could not stat $file\n";
my($mod_string) = scalar(gmtime($file_data->mtime));
return ($mod_string ne $date);
}
else
{
return 0;
}
}
#//--------------------------------------------------------------------------------------------------
#// _processFile. args: entries hash, dir, filename
#//--------------------------------------------------------------------------------------------------
sub _processFile($;$;$;$;$)
{
my($src_entries, $dest_entries, $srcdir, $destdir, $file) = @_;
my($abs_file) = $srcdir.$dirsep.$file;
if (exists($src_entries->{$file}))
{
my($file_entry) = $src_entries->{$file};
my($version) = $file_entry->{"version"};
if (_fileIsModified($src_entries, $srcdir, $file))
{
my($rel_file) = $abs_file;
$rel_file =~ s/^$src_tree//;
# print "¥ÊFile $rel_file is modified\n";
# check CVS version in dest
my($dest_entry) = $dest_entries->{$file};
if ($dest_entry)
{
my($dest_version) = $dest_entry->{"version"};
my($versions_match) = ($version == $dest_version);
my($dest_modified) = _fileIsModified($dest_entries, $destdir, $file);
if ($versions_match)
{
# ok, we can copy the file over now, backing up dest if it is modified
_copyFile($srcdir, $destdir, $file, $dest_modified);
}
else
{
print "File $rel_file is version $version in the src tree, but $dest_version in dest. This file will not be copied.\n";
}
}
else
{
print "No CVS entry found in destination tree for $rel_file\n";
}
}
}
else
{
print "No entry for file $file\n";
}
}
#//--------------------------------------------------------------------------------------------------
#// _traverseDir. Traverse one dir, recurse for each found dir.
#//--------------------------------------------------------------------------------------------------
sub _traverseDir($;$)
{
my($srcdir, $destdir) = @_;
opendir(DIR, $srcdir) or die "Cannot open dir $srcdir\n";
my @files = readdir(DIR);
closedir DIR;
# suck in the CVS info for this dir, if there is a CVS dir
unless (-e $srcdir.$dirsep."CVS".$dirsep."Entries" && -e $destdir.$dirsep."CVS".$dirsep."Entries") {
print "$srcdir is not a CVS directory in both source and dest\n";
return;
}
print " Doing $srcdir\n";
my(%src_entries) = _readCVSInfo($srcdir);
my(%dest_entries) = _readCVSInfo($destdir);
my $file;
foreach $file (@files)
{
my $filepath = $srcdir.$dirsep.$file;
if (-d $filepath)
{
if ($file ne "CVS") # ignore 'CVS' dirs
{
# print "Going into $filepath\n";
_traverseDir($filepath, $destdir.$dirsep.$file);
}
}
else
{
# process this file
_processFile(\%src_entries, \%dest_entries, $srcdir, $destdir, $file);
}
}
}
#//--------------------------------------------------------------------------------------------------
#// MigrateChanges
#//--------------------------------------------------------------------------------------------------
sub MigrateChanges($;$)
{
my($srcdir, $destdir) = @_;
# Check that src and dest exist
if (! -d $srcdir) {
die "Source directory $srcdir does not exist\n";
}
if (! -d $destdir) {
die "Dest directory $destdir does not exist\n";
}
print "---------------------------------------------------------\n";
print "Migrating changes from\n $srcdir\nto\n $destdir\n";
print "---------------------------------------------------------\n";
_traverseDir($srcdir, $destdir);
print "---------------------------------------------------------\n";
}
MigrateChanges($src_tree, $dest_tree);

View File

@@ -1,29 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DATATYPE="$1"
INFILE="$2"
echo "${DATATYPE} RCDATA"
sed 's/"/""/g' ${INFILE} | awk 'BEGIN { printf("BEGIN\n") } { printf("\"%s\\r\\n\",\n", $0) } END { printf("\"\\0\"\nEND\n") }'
exit 0

View File

@@ -1,95 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
# Fix brain-damaged compilers that don't understand -o and -c together
#
CC=`echo $1 | sed -e "s|'||g" -e 's|"||g'`
shift
DASH_C=0
DASH_O=0
DUMMY="XxxXxxX"
GET_OBJECT=0
OBJ="${DUMMY}"
OBJECT="${DUMMY}"
for i in $*
do
[ "${CHECK_O}" = yes ] && {
case $i in
./*/*.o) OBJECT="$i"
OPTS="${OPTS} -o"
DASH_O=1
;;
./*.o) OBJECT="`basename $i`"
i=""
DASH_O=1
;;
*.o) if [ $i = `basename $i` ]
then
OBJECT="$i"
i=""
else
OPTS="${OPTS} -o"
fi
DASH_O=1
;;
*) OPTS="${OPTS} -o $i"
DASH_O=1
i=""
;;
esac
CHECK_O=no
}
case $i in
-c) DASH_C=1
OPTS="${OPTS} -c"
;;
-o) CHECK_O=yes
;;
*.c) C_SRC=$i
OPTS="${OPTS} $i"
# cc always creates the .o from the .c name
OBJ=`basename $C_SRC .c`.o
;;
*.s) S_SRC=$i
OPTS="${OPTS} $i"
# or the .o from the .s name
OBJ=`basename $S_SRC .s`.o
;;
*.o) OBJECT=$i
OPTS="${OPTS} $i"
;;
*) OPTS="${OPTS} $i"
;;
esac
done
${CC} ${OPTS} || exit $?
# if there was no -c and -o we're done
[ $DASH_C = 1 -a $DASH_O = 1 ] || exit 0
# if $OBJ and $OBJECT are the same we're done
[ $OBJ = $OBJECT ] && exit 0
[ -f $OBJ ] && mv -f $OBJ $OBJECT

View File

@@ -1,139 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
# Wrapper for brain-damaged compilers that don't understand -o and -c together.
#
CXX=`echo $1 | sed -e "s|'||g" -e 's|"||g'`
shift
DUMMY="XxxXxxX"
DASH_C=0
DASH_O=0
GET_OBJECT=0
C_SRC="${DUMMY}"
CC_SRC="${DUMMY}"
CPP_SRC="${DUMMY}"
S_SRC="${DUMMY}"
OBJECT="${DUMMY}"
NEW_i="${DUMMY}"
PLATFORM=`uname -s`
for i in $*
do
[ ${GET_OBJECT} -eq 1 ] && {
case $i in
./*/*.o) OBJECT="$i"
OPTS="${OPTS} -o"
DASH_O=1
;;
./*.o) OBJECT="`basename $i`"
i=""
DASH_O=1
;;
*.o) if [ $i = `basename $i` ]
then
i=""
else
OPTS="${OPTS} -o"
DASH_O=1
fi
;;
*) OPTS="${OPTS} -o $i"
DASH_O=1
i=""
;;
esac
GET_OBJECT=0
}
case $i in
-c)
DASH_C=1
OPTS="${OPTS} -c"
;;
-o)
GET_OBJECT=1
;;
*.c)
C_SRC="$i"
OPTS="${OPTS} $i"
# cc always creates the .o from the .c name
OBJ=`basename ${C_SRC} .c`.o
;;
+.*)
OPTS="${OPTS} $i"
;;
*.cpp)
CPP_SRC="$i"
if [ "${PLATFORM}" = "SCO_SV" ]; then
OPTS="${OPTS} +.cpp $i"
elif [ "${PLATFORM}" = "IRIX" ]; then
NEW_i=`basename ${CPP_SRC} .cpp`.C
rm -f ${NEW_i}
cp $i ${NEW_i}
OPTS="${OPTS} ${NEW_i}"
else
OPTS="${OPTS} $i"
fi
# cc always creates the .o from the .cpp name
OBJ=`basename ${CPP_SRC} .cpp`.o
;;
*.cc)
CC_SRC="$i"
OPTS="${OPTS} $i"
# cc always creates the .o from the .cc name
OBJ=`basename ${CC_SRC} .cc`.o
;;
*.s)
S_SRC="$i"
OPTS="${OPTS} $i"
# cc always creates the .o from the .s name
OBJ=`basename ${S_SRC} .s`.o
;;
*.o) OBJECT=$i
OPTS="${OPTS} $i"
;;
*) OPTS="${OPTS} $i"
;;
esac
done
${CXX} ${OPTS} || exit $?
rm -f ${NEW_i}
# Really only needed for NSPR now.
if [ "${PLATFORM}" = "IRIX" -a "$OBJ" != "$OBJECT" ]; then
OBJ=$OBJECT
fi
# LAME!!!
if [ -f -O ]; then
mv -f -- -O ${OBJECT}
fi
# if there was no -c and -o we're done
[ ${DASH_C} -eq 1 -a ${DASH_O} -eq 1 ] || exit 0
# if $OBJ and $OBJECT are the same we're done
[ $OBJ = $OBJECT ] && exit 0
[ -f $OBJ ] && mv -f $OBJ $OBJECT

View File

@@ -1,197 +0,0 @@
#!perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
# build script (optimized)
#
use Mac::Processes;
use NGLayoutBuildList;
use Cwd;
use Moz;
#-----------------------------------------------
# configuration variables that globally affect what is built
#-----------------------------------------------
$DEBUG = 0;
$CARBON = 0; # turn on to build with TARGET_CARBON
$PROFILE = 0;
$GC_LEAK_DETECTOR = 0; # turn on to use GC leak detection
$INCLUDE_CLASSIC_SKIN = 1;
$pull{all} = 0;
$pull{moz} = 0;
$pull{runtime} = 0;
$build{all} = 1; # turn off to do individual builds, or to do "most"
$build{most} = 0; # turn off to do individual builds
$build{dist} = 0;
$build{dist_runtime} = 0; # implied by $build{dist}
$build{xpidl} = 0;
$build{idl} = 0;
$build{stubs} = 0;
$build{runtime} = 0;
$build{common} = 0;
$build{imglib} = 0;
$build{necko} = 0;
$build{security} = 0;
$build{browserutils} = 0;
$build{intl} = 0;
$build{nglayout} = 0;
$build{editor} = 0;
$build{viewer} = 0;
$build{xpapp} = 0;
$build{extensions} = 1;
$build{plugins} = 0;
$build{mailnews} = 0;
$build{apprunner} = 0;
$build{resources} = 1;
$build{xptlink} = 0;
$options{transformiix} = 0;
$options{mathml} = 0;
$options{svg} = 0;
$options{mng} = 1;
$options{ldap} = 0;
$options{xmlextras} = 0;
$options{jar_manifests} = 1; # use jar.mn files for resources, not MANIFESTs
$options{jars} = 1; # build jar files
$options{chrome_files} = 0; # install files in chrome as well as making jar files.
# Don't change these (where should they go?)
$optiondefines{mathml}{MOZ_MATHML} = 1;
$optiondefines{svg}{MOZ_SVG} = 1;
#-----------------------------------------------
# configuration variables that affect the manner
# of building, but possibly affecting
# the outcome.
#-----------------------------------------------
$ALIAS_SYM_FILES = $DEBUG;
$CLOBBER_LIBS = 1; # turn on to clobber existing libs and .xSYM files before
# building each project
# The following two options will delete all dist files (if you have $build{dist} turned on),
# but leave the directory structure intact.
$CLOBBER_DIST_ALL = 1; # turn on to clobber all aliases/files inside dist (headers/xsym/libs)
$CLOBBER_DIST_LIBS = 0; # turn on to clobber only aliases/files for libraries/sym files in dist
$CLOBBER_IDL_PROJECTS = 0; # turn on to clobber all IDL projects.
#-----------------------------------------------
# configuration variables that are preferences for the build style,
# and do not affect what is built.
#-----------------------------------------------
$CodeWarriorLib::CLOSE_PROJECTS_FIRST
= 0;
# 1 = close then make (for development),
# 0 = make then close (for tinderbox).
$USE_TIMESTAMPED_LOGS = 0;
#-----------------------------------------------
# END OF CONFIG SWITCHES
#-----------------------------------------------
if ($pull{all})
{
foreach $k (keys(%pull))
{
$pull{$k} = 1;
}
}
if ($build{all})
{
foreach $k (keys(%build))
{
$build{$k} = 1;
}
}
if ($build{most})
{
### Just uncomment/comment to get the ones you want (if "most" is selected).
# $build{dist} = 0;
# $build{dist_runtime} = 0; # Implied by $build{dist}
# $build{xpidl} = 0;
# $build{idl} = 0;
# $build{stubs} = 0;
# $build{runtime} = 1;
# $build{common} = 1;
# $build{imglib} = 1;
# $build{necko} = 1;
# $build{security} = 1;
# $build{browserutils} = 1;
# $build{intl} = 1;
# $build{nglayout} = 1;
# $build{editor} = 1;
# $build{viewer} = 1;
# $build{xpapp} = 1;
# $build{extensions} = 1;
# $build{plugins} = 1;
# $build{mailnews} = 1;
# $build{apprunner} = 1;
# $build{resources} = 0;
}
# do the work
# you should not have to edit anything below
chdir("::::");
$MOZ_SRC = cwd();
if ($USE_TIMESTAMPED_LOGS)
{
#Use time-stamped names so that you don't clobber your previous log file!
my $now = localtime();
while ($now =~ s@:@.@) {} # replace all colons by periods
my $logdir = ":Build Logs:";
if (!stat($logdir))
{
print "Creating directory $logdir\n";
mkdir $logdir, 0777 || die "Couldn't create directory $logdir";
}
OpenErrorLog("$logdir$now");
}
else
{
OpenErrorLog("NGLayoutBuildLog"); # Release build requires that name
#OpenErrorLog("Mozilla.BuildLog"); # Tinderbox requires that name
}
Moz::StopForErrors();
#Moz::DontStopForErrors();
ConfigureBuildSystem();
Checkout();
my(@gen_files) = (
":mozilla:xpfe:appshell:public:nsBuildID.h",
":mozilla:xpfe:browser:resources:locale:en-US:navigator.dtd"
);
SetBuildNumber(":mozilla:config:build_number", ":mozilla:config:aboutime.pl", \@gen_files);
chdir($MOZ_SRC);
BuildDist();
chdir($MOZ_SRC);
BuildProjects();
print "Build complete\n";

View File

@@ -1,189 +0,0 @@
#!perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
# build script (debug)
#
use Mac::Processes;
use NGLayoutBuildList;
use Cwd;
use Moz;
$DEBUG = 1;
$CARBON = 0; # Turn on to build with TARGET_CARBON
$PROFILE = 0;
$GC_LEAK_DETECTOR = 0; # turn on to use GC leak detection
$INCLUDE_CLASSIC_SKIN = 1;
$pull{all} = 0;
$pull{moz} = 0;
$pull{runtime} = 0;
$build{all} = 1; # Turn off to do individual builds, or to do "most"
$build{most} = 0; # Turn off to do individual builds
$build{dist} = 0;
$build{dist_runtime} = 0; # Implied by $build{dist}
$build{xpidl} = 0;
$build{idl} = 0;
$build{stubs} = 0;
$build{runtime} = 0;
$build{common} = 0;
$build{imglib} = 0;
$build{necko} = 0;
$build{security} = 0;
$build{browserutils} = 0;
$build{intl} = 0;
$build{nglayout} = 0;
$build{editor} = 0;
$build{viewer} = 0;
$build{xpapp} = 0;
$build{extensions} = 1;
$build{plugins} = 0;
$build{mailnews} = 0;
$build{apprunner} = 0;
$build{resources} = 1;
$build{xptlink} = 0;
$options{transformiix} = 0;
$options{mathml} = 0;
$options{svg} = 0;
$options{mng} = 1;
$options{ldap} = 0;
$options{xmlextras} = 0;
$options{jar_manifests} = 1; # use jar.mn files for resources, not MANIFESTs
$options{jars} = 1; # build jar files
$options{chrome_files} = 0; # install files in chrome as well as making jar files.
# Don't change these (where should they go?)
$optiondefines{mathml}{MOZ_MATHML} = 1;
$optiondefines{svg}{MOZ_SVG} = 1;
#-----------------------------------------------
# configuration variables that affect the manner
# of building, but possibly affecting
# the outcome.
#-----------------------------------------------
$ALIAS_SYM_FILES = $DEBUG;
$CLOBBER_LIBS = 1; # turn on to clobber existing libs and .xSYM files before
# building each project
# The following two options will delete all dist files (if you have $build{dist} turned on),
# but leave the directory structure intact.
$CLOBBER_DIST_ALL = 1; # turn on to clobber all aliases/files inside dist (headers/xsym/libs)
$CLOBBER_DIST_LIBS = 0; # turn on to clobber only aliases/files for libraries/sym files in dist
$CLOBBER_IDL_PROJECTS = 0; # turn on to clobber all IDL projects.
#-----------------------------------------------
# configuration variables that are preferences for the build style,
# and do not affect what is built.
#-----------------------------------------------
$CodeWarriorLib::CLOSE_PROJECTS_FIRST
= 1;
# 1 = close then make (for development),
# 0 = make then close (for tinderbox).
$USE_TIMESTAMPED_LOGS = 1;
#-----------------------------------------------
# END OF CONFIG SWITCHES
#-----------------------------------------------
if ($pull{all})
{
foreach $k (keys(%pull))
{
$pull{$k} = 1;
}
}
if ($build{all})
{
foreach $k (keys(%build))
{
$build{$k} = 1;
}
}
if ($build{most})
{
### Just uncomment/comment to get the ones you want (if "most" is selected).
# $build{dist} = 1;
# $build{dist_runtime}= 1;
$build{xpidl} = 1; # build idl compiler
$build{idl} = 1;
$build{stubs} = 1;
$build{runtime} = 1;
$build{common} = 1;
$build{imglib} = 1;
$build{necko} = 1;
$build{security} = 1;
$build{browserutils} = 1;
$build{intl} = 1;
$build{nglayout} = 1;
$build{editor} = 1;
$build{viewer} = 1;
$build{xpapp} = 1;
$build{extensions} = 1;
$build{plugins} = 1;
$build{mailnews} = 1;
$build{apprunner} = 1;
$build{resources} = 1;
}
# do the work
# you should not have to edit anything below
chdir("::::");
$MOZ_SRC = cwd();
if ($USE_TIMESTAMPED_LOGS)
{
#Use time-stamped names so that you don't clobber your previous log file!
my $now = localtime();
while ($now =~ s@:@.@) {} # replace all colons by periods
my $logdir = ":Build Logs:";
if (!stat($logdir))
{
print "Creating directory $logdir\n";
mkdir $logdir, 0777 || die "Couldn't create directory $logdir";
}
OpenErrorLog("$logdir$now");
}
else
{
OpenErrorLog("NGLayoutBuildLog"); # Release build
#OpenErrorLog("Mozilla.BuildLog"); # Tinderbox requires that name
}
Moz::StopForErrors();
#Moz::DontStopForErrors();
ConfigureBuildSystem();
Checkout();
chdir($MOZ_SRC);
BuildDist();
chdir($MOZ_SRC);
BuildProjects();
print "Build complete\n";

View File

@@ -1,470 +0,0 @@
#!perl
package CodeWarriorLib;
=pod
=head1 NAME
CodeWarriorLib - supply interface to CodeWarrior
=head1 SYNOPSIS
#!perl
use CodeWarriorLib;
CodeWarriorLib::activate();
$had_errors = CodeWarriorLib::build_project(
$project_path, $target_name, $recent_errors_file, $clean_build
);
=head1 DESCRIPTION
Replaces the AppleScript library I<CodeWarriorLib>.
=over 4
=cut
use strict;
use Cwd;
use Mac::Types;
use Mac::AppleEvents;
use Mac::AppleEvents::Simple;
use Mac::Processes;
use Mac::MoreFiles;
use Mac::StandardFile;
use File::Basename;
use vars qw($VERSION);
$VERSION = '1.02';
my($app) = 'CWIE';
my($scriptDir) = cwd();
# 0 == don't switch CWIE to front app in do_event(), 1 == do switch
# note: activate() still switches when called
$Mac::AppleEvents::Simple::SWITCH = 0;
# supply your own path to the source here
#_test('PowerPudgeIV:mozilla:mozilla:');
=pod
=item _get_project($full_path)
A private routine returning a reference to the open project with the given name,
or else the empty string (when that project is not open)
full_path is a string identifying the project to be built and is of the form,
e.g., "HD:ProjectFolder:MyProject.mcp". It must be supplied.
=cut
sub _get_project ($) {
my(
$full_path, $candidate_projects
) = @_;
$candidate_projects = _doc_named(basename($full_path, '*'));
if ($candidate_projects) {
my($cps) = _get_dobj($candidate_projects);
my($num) = AECountItems($cps);
if ($num) { # is a list
foreach (1 .. AECountItems($cps)) {
my($cp) = AEGetNthDesc($cps, $_);
if (lc $full_path eq lc _full_path($cp)) {
return($cp);
}
}
} else { # is only one, not a list
if (lc $full_path eq lc _full_path($cps)) {
return($cps);
}
}
}
return;
}
=pod
=item build_project
Build a selected target of a project, saving any errors to a file, if supplied.
full_path is a string identifying the project to be built and is of the form,
e.g., "HD:ProjectFolder:MyProject.mcp". It must be supplied.
If target_name is the empty string, the current target of the selected project
will be built, else, target_name should be a string matching a target name in
the selected project.
If error_path is the empty string, errors will not be saved to a file,
else, error_path should be the full path of a file to save error messages into.
=cut
$CodeWarriorLib::CLOSE_PROJECTS_FIRST = 0; # If true we close then make. If false, make then close.
my $last_project_built = "";
my $last_project_was_closed = 0;
sub build_project ($;$$$) {
my(
$full_path, $target_name, $error_path,
$remove_object, $p, $project_was_closed, $had_errors
) = @_;
_close_errors_window();
if ($CodeWarriorLib::CLOSE_PROJECTS_FIRST && ($last_project_built ne $full_path))
{
# If we're in "close first" mode, we don't close if the current project
# is the same as the previous one.
if ($last_project_was_closed) {
$p = _get_project($last_project_built);
_close($p);
}
$last_project_built = $full_path;
$last_project_was_closed = 0; # now refers to the new project
}
$project_was_closed = 0;
while (1) {
$p = _get_project($full_path);
if (!$p) {
if ($project_was_closed) {
print "### Error - request for project document failed after opening\n";
die "### possibly CW Pro 4 bug: be sure to close your Find window\n";
}
$project_was_closed = 1;
$last_project_was_closed = 1;
_open_file($full_path);
} else {
last;
}
}
$had_errors = 0;
if ($target_name eq '') {
if ($remove_object) {_remove_object($p)}
_build($p);
} else {
if ($remove_object) {_remove_object($p, $target_name)}
_build($p, $target_name);
}
if ($error_path ne '') {
_save_errors_window($error_path);
}
$had_errors = _close_errors_window();
if (!$CodeWarriorLib::CLOSE_PROJECTS_FIRST)
{
if ($project_was_closed) {
$p = _get_project($full_path);
_close($p);
}
}
return($had_errors);
}
=pod
=item activate()
Launches CodeWarrior and brings it to the front.
Once found, path will be saved in ':idepath.txt' for future reference.
Edit or delete this file to change the location of the IDE. If app is
moved, C<activate()> will prompt for a new location.
First looks for an open CodeWarrior app. Second, tries to open previously
saved location in ':idepath.txt'. Third, tries to find it and allow user
to choose it with Navigation Services (if present). Fourth, uses good old
GUSI routines built-in to MacPerl for a Choose Directory dialog box.
=cut
sub activate () {
local(*F);
my($filepath, $appath, $psi) = (':idepath.txt');
foreach $psi (values(%Process)) {
if ($psi->processSignature() eq $app) {
$appath = $psi->processAppSpec();
_save_appath($filepath, $appath);
last;
}
}
if (!$appath || !-x $appath) {
$appath = _read_appath($filepath);
}
if (!$appath || ! -x $appath)
{
# make sure that MacPerl is a front process
#ActivateApplication('McPL');
MacPerl::Answer("Please locate the CodeWarrior application.", "OK");
# prompt user for the file name, and store it
my $macFile = StandardGetFile( 0, "APPL");
if ( $macFile->sfGood() )
{
$appath = $macFile->sfFile();
}
else
{
die "Operation canceled\n";
}
# if (eval {require Mac::Navigation}) {
# my($options, $nav);
# Mac::Navigation->import();
# $options = NavGetDefaultDialogOptions();
# $options->message('Where is CodeWarrior IDE?');
# $options->windowTitle('Find CodeWarrior IDE');
# $nav = NavChooseObject($Application{$app}, $options);
# die "CodeWarrior IDE not found.\n" if (!$nav || !$nav->file(1));
# $appath = $nav->file(1);
# } else {
# local(*D);
# my $cwd = `pwd`;
# $appath = _get_folder(
# 'Where is the CW IDE folder?',
# dirname($Application{$app})
# );
# die "CodeWarrior IDE not found.\n" if !$appath;
# opendir(D, $appath) or die $!;
# chdir($appath);
# foreach my $file (sort readdir (D)) {
# my(@app) = MacPerl::GetFileInfo($file);
# if ($app[0] && $app[1] &&
# $app[1] eq 'APPL' && $app[0] eq $app
# ) {
# $appath .= $file;
# last;
# }
# }
# chomp($cwd);
# chdir($cwd);
# }
_save_appath($filepath, $appath);
}
my($lp) = LaunchParam->new(
launchAppSpec => $appath,
launchControlFlags => launchContinue() + launchNoFileFlags()
);
unless (LaunchApplication($lp)) {
unlink($filepath);
die $^E;
}
}
=pod
=item quit()
Quits CodeWarrior.
=cut
sub quit() {
$last_project_built = "";
$last_project_was_closed = 0;
my($evt) = do_event(qw/aevt quit/, $app);
}
sub _build ($;$) {
my($evt);
if ($_[1]) {
my($prm) =
q"'----':obj {form:name, want:type(TRGT), seld:TEXT(@), from:" .
AEPrint($_[0]) . '}';
$evt = do_event(qw/CWIE MAKE/, $app, $prm, $_[1]);
} else {
my($prm) = q"'----':" . AEPrint($_[0]);
$evt = do_event(qw/CWIE MAKE/, $app, $prm);
}
}
sub _remove_object ($;$) {
my($evt);
if ($_[1]) {
my($prm) =
q"'----':obj {form:name, want:type(TRGT), seld:TEXT(@), from:" .
AEPrint($_[0]) . '}';
$evt = do_event(qw/CWIE RMOB/, $app, $prm, $_[1]);
} else {
my($prm) = q"'----':" . AEPrint($_[0]);
$evt = do_event(qw/CWIE RMOB/, $app, $prm);
}
}
sub _open_file ($) {
my($prm) =
q"'----':obj {form:name, want:type(alis), " .
q"seld:TEXT(@), from:'null'()}";
do_event(qw/aevt odoc/, $app, $prm, $_[0]);
}
sub _doc_named ($) {
my($prm) =
q"'----':obj {form:test, want:type(docu), from:'null'(), " .
q"seld:cmpd{relo:'= ', 'obj1':obj {form:prop, want:type" .
q"(prop), seld:type(pnam), from:'exmn'()}, 'obj2':TEXT(@)}}";
my($evt) = do_event(qw/core getd/, $app, $prm, $_[0]);
return($evt->{REPLY} eq 'aevt\ansr{}' ? undef : $evt);
}
sub _full_path ($) {
my($obj) = $_[0];
my($prm) =
q"'----':obj {form:prop, want:type(prop), seld:type(FILE), " .
q"from:" . AEPrint($_[0]) . q"}, rtyp:type(TEXT)";
my($evt) = do_event(qw/core getd/, $app, $prm);
return MacPerl::MakePath(
MacUnpack('fss ', (
AEGetParamDesc($evt->{REP}, keyDirectObject()))->data()->get()
)
);
}
sub _save_errors_window ($) {
my($prm) =
q"'----':obj {form:name, want:type(alis), seld:TEXT(@), from:'null'()}";
do_event(qw/MMPR SvMs/, $app, $prm, $_[0]);
}
sub _close_errors_window () {
my($prm) =
q"'----':obj {form:name, want:type(cwin), " .
q"seld:TEXT(@), from:'null'()}";
my($evt) = do_event(qw/core clos/, $app, $prm, 'Errors & Warnings');
return($evt->{REPLY} eq 'aevt\ansr{}' ? 1 : 0);
}
sub _close () {
my($prm) = q"'----':" . AEPrint($_[0]);
do_event(qw/core clos/, $app, $prm);
}
sub _get_dobj ($) {
return(AEGetParamDesc($_[0]->{REP}, keyDirectObject()));
}
sub _get_folder ($$) {
require 'GUSI.ph';
my($prompt, $default) = @_;
MacPerl::Choose(
GUSI::AF_FILE(), 0, $prompt, '',
GUSI::CHOOSE_DIR() + ($default ? &GUSI::CHOOSE_DEFAULT : 0),
$default
);
}
sub _save_appath ($$) {
my($cwd) = cwd(); # remember the current working dir
chdir($scriptDir); # change dir to the script dir
open(F, '>' . $_[0]) or die $!;
print F $_[1];
close(F);
chdir($cwd); # restore the cwd
}
sub _read_appath ($) {
my($filepath) = @_;
my($cwd) = cwd(); # remember the current working dir
chdir($scriptDir); # change dir to the script dir
if (! -e $filepath) {
return "";
}
open(F, $filepath);
my($appath) = <F>;
close(F);
chdir($cwd); # restore the cwd
return($appath);
}
sub _test ($) {
activate();
my($path) = $_[0];
build_project(
"${path}modules:xml:macbuild:XML.mcp", '',
"${path}build:mac:Mozilla.BuildLog.part"
);
}
1;
=pod
=back
=head1 HISTORY
=over 4
=item v1.02, September 23, 1998
Made fixes in finding and saving location of CodeWarrior IDE.
=item v1.01, June 1, 1998
Made fixes to C<chdir()> in C<activate()>, made C<activate()> more robust
in finding CodeWarrior IDE, added global variable to NOT switch to IDE
for each sent event, a few other fixes.
=item v1.00, May 30, 1998
First shot
=back
=head1 AUTHORS
Chris Nandor F<E<lt>pudge@pobox.comE<gt>>, and the author of the
original I<CodeWarriorLib>, Scott Collins F<E<lt>scc@netscape.comE<gt>>.
=head1 SEE ALSO
BuildProject L<Moz>.
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
=cut

Binary file not shown.

View File

@@ -1,264 +0,0 @@
(*
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*)
(*
GenToc - Generates a .toc file from the current contents of a project.
by Patrick C. Beard <beard@netscape.com>
*)
on swapDelimiters(newDelimiters)
set oldDelimiters to get AppleScript's text item delimiters
set AppleScript's text item delimiters to newDelimiters
return oldDelimiters
end swapDelimiters
on setDelimiters(newDelimiters)
set AppleScript's text item delimiters to newDelimiters
end setDelimiters
on setExtension(fileName, newExtension)
set oldDelimiters to swapDelimiters(".")
set newFileName to (text item 1 of fileName) & newExtension
setDelimiters(oldDelimiters)
return newFileName
end setExtension
on folderFromPath(filePath)
set folderPath to ((filePath's text items 1 thru ((count of filePath's text items) - 1)) as string) & ":"
return folderPath
end folderFromPath
on fileFromPath(filePath)
return last text item of filePath
end fileFromPath
on openProject(aProjectFile)
tell application "CodeWarrior IDE 3.3"
open aProjectFile
end tell
end openProject
on selectProject(aProjectFile)
set projectName to fileFromPath(aProjectFile as text)
tell application "CodeWarrior IDE 3.3"
if (name of window 1 is not projectName) then
select window projectName
end if
end tell
end selectProject
on getTargets()
set targetList to {}
set nameList to {}
tell application "CodeWarrior IDE 3.3"
set currentProject to project document 1
repeat with targetIndex from 1 to (count of targets of currentProject)
set currentTarget to (target targetIndex of currentProject)
set targetList to targetList & {currentTarget}
set nameList to nameList & {name of currentTarget}
end repeat
return {target:targetList, names:nameList}
end tell
end getTargets
(* uses "sort" scripting addition to sort a list of strings. *)
on sortList(aList)
if (aList ­ {}) then
return sort aList
else
return {}
end if
end sortList
(* uses "info for" scripting addition, to return the file type of a path. *)
on getFileType(aFilePath)
return file type of (info for alias aFilePath)
end getFileType
(* returns all "TEXT" files of the named target. *)
on getTargetFiles(targetKey)
set targetFiles to {}
tell application "CodeWarrior IDE 3.3"
set currentProject to project document 1
set currentTarget to (target targetKey of currentProject)
try
-- workaround for CW IDE 3.X bug, loop until error encountered.
set fileIndex to 1
repeat until false
set targetFile to (target file fileIndex of currentTarget)
-- only consider text files, since other platforms won't be managing binaries.
-- also, only consider if target file is directly linked.
if (linked of targetFile) then
set targetFilePath to (Access Paths of targetFile)
tell me
if (getFileType(targetFilePath) = "TEXT") then
set targetFiles to targetFiles & {targetFilePath}
end if
end tell
end if
set fileIndex to (fileIndex + 1)
end repeat
on error msg
-- display dialog msg & " file count = " & fileIndex
end try
end tell
return sortList(targetFiles)
end getTargetFiles
on addTargetFile(targetFile, targetName)
tell application "CodeWarrior IDE 3.3"
add (project document 1) new target file with data {targetFile} to targets {targetName}
end tell
end addTargetFile
on setCurrentTarget(currentTargetName)
tell application "CodeWarrior IDE 3.3"
Set Current Target currentTargetName
end tell
end setCurrentTarget
on removeTargetFile(targetFile)
tell application "CodeWarrior IDE 3.3"
Remove Files {targetFile}
end tell
end removeTargetFile
on quote(aString)
return "'" & aString & "'"
end quote
on listContains(aList, anItem)
repeat with listItem in aList
if (listItem contains anItem) then
return true
end if
end repeat
return false
end listContains
on showList(listToShow)
choose from list listToShow with prompt "List:" with empty selection allowed
end showList
on replace(aString, oldChar, newChar)
set newString to ""
repeat with aChar in (every character of aString)
if (contents of aChar = oldChar) then
set newString to newString & newChar
else
set newString to newString & aChar
end if
end repeat
return newString
end replace
on substring(aString, anOffset)
set aSubString to ""
repeat with charIndex from anOffset to (count aString)
set aSubString to aSubString & (character charIndex of aString)
end repeat
return aSubString
end substring
on setFileInfo(aFile, aCreator, aType)
tell application "Finder"
set creator type of aFile to aCreator
set file type of aFile to aType
end tell
end setFileInfo
on closeFile(fileRef)
try
-- make sure it's not currently open.
close access fileRef
on error
-- ignore error closing.
end try
end closeFile
on mroFile(aFile)
try
-- make sure it's modifiable.
mro aFile
on error
-- ignore error MROing.
end try
end mroFile
on run
-- so we can easily strip off file names from paths.
set oldDelimiters to swapDelimiters(":")
set theProjectFile to (choose file with prompt "Choose a CW Project file." of type {"MMPr"})
set theManifestFile to (new file with prompt "Create MANIFEST where?" default name setExtension(fileFromPath(theProjectFile as text), ".toc"))
set manifestRef to false
try
-- make sure the file is closed & is modifiable.
closeFile(theManifestFile)
mroFile(theManifestFile)
-- open the new MANIFEST file.
set manifestRef to (open for access theManifestFile with write permission)
set eof manifestRef to 0
-- give it CodeWarrior look and feel.
setFileInfo(theManifestFile, "CWIE", "TEXT")
openProject(theProjectFile)
selectProject(theProjectFile)
set targetsList to getTargets()
set targetNames to names of targetsList
set targetCount to count items of targetNames
set mozillaTreePathOffset to (offset of "mozilla" in (theManifestFile as text))
-- dump all targets into the new MANIFEST file.
repeat with targetName in targetNames
write ("# target: " & targetName & return) to manifestRef
setCurrentTarget(targetName)
set targetFiles to getTargetFiles(contents of targetName)
repeat with targetFile in targetFiles
-- only store the path name relative to the source tree itself.
set targetFilePath to substring(contents of targetFile, mozillaTreePathOffset)
write (replace(targetFilePath, ":", "/") & return) to manifestRef
end repeat
end repeat
on error msg
display dialog msg
end try
if (manifestRef is not false) then
closeFile(manifestRef)
end if
-- shut the project down, and display the result.
tell application "CodeWarrior IDE 3.3"
activate
Close Project
open theManifestFile
end tell
setDelimiters(oldDelimiters)
end run

View File

@@ -1,110 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
This file overrides all option settings in the IDE. It is an attempt to allow all builds
to have the same options.
Note: We can't use ConditionalMacros.h in this file because it will conflict with
the PowerPlant precompiled headers.
*/
/* warning pragmas */
#pragma warn_hidevirtual on
#pragma warn_emptydecl on
#pragma warn_unusedvar on
#pragma warn_extracomma on
#pragma warn_illpragma on
#pragma warn_possunwant on
#pragma warn_unusedarg off /* turned off to reduce warnings */
#pragma check_header_flags on
/* Language features that must be the same across libraries... */
#pragma enumsalwaysint on
#pragma unsigned_char off
#pragma exceptions on
#pragma bool on
#pragma wchar_type on
#pragma RTTI on
/* Save as much space as possible with strings... */
#pragma pool_strings on
#pragma dont_reuse_strings off
#pragma options align=native
#pragma sym on /* Takes no memory. OK in non-debug. */
#ifdef powerc /* ...generating PowerPC */
#pragma toc_data on
#pragma fp_contract on
#pragma readonly_strings on
#ifdef DEBUG
#pragma profile off /* Turn this on to profile the application. */
/* Look for more details about profiling in nsMacMessagePump.cpp. */
#pragma traceback on
#pragma global_optimizer off
#pragma scheduling off
#pragma peephole off
#pragma optimize_for_size off
#else
#pragma traceback on /* leave on until the final release, so MacsBug logs are interpretable */
#pragma global_optimizer on
#pragma optimization_level 4
#pragma scheduling 603
#pragma peephole on
#pragma optimize_for_size on
#pragma opt_strength_reduction on
#pragma opt_propagation on
#pragma opt_loop_invariants on
#pragma opt_lifetimes on
#pragma opt_dead_code on
#pragma opt_dead_assignments on
#pragma opt_common_subs on
#endif
#else /* ...generating 68k */
#pragma code68020 on
#pragma code68881 off
/* Far everything... */
#pragma far_code
#pragma far_data on
#pragma far_strings on
#pragma far_vtables on
#pragma fourbyteints on /* 4-byte ints */
#pragma IEEEdoubles on /* 8-byte doubles (as required by Java and NSPR) */
#ifdef DEBUG
#pragma macsbug on
#pragma oldstyle_symbols off
#else
#pragma macsbug off
#endif
#endif

View File

@@ -1,5 +0,0 @@
#
# This is a list of local files which get copied to the mozilla:dist directory
#
IDE_Options.h

View File

@@ -1,222 +0,0 @@
#!perl -w
package MANIFESTO;
require 5.004;
require Exporter;
#use strict;
use vars qw($VERSION @ISA @EXPORT $MANIFESTOLib);
use Mac::StandardFile;
use Moz;
use Cwd;
use Exporter;
use File::Basename;
@ISA = qw(Exporter);
@EXPORT = qw(ReconcileProject);
$VERSION = "1.00";
=head1 NAME
MANIFESTO - drives the Mac Project Reconciliation tool.
=head1 SYNOPSIS
You want to use this script. It will make your life easier.
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
=cut
#
# globals
# $MANIFESTOLib - location of MANIFESTO applescript library
#
#
# utility routines
#
sub current_directory()
{
my $current_directory = cwd();
chop($current_directory) if ( $current_directory =~ m/:$/ );
return $current_directory;
}
# Uses the "compile script" extension to compile a script.
sub compile_script($;$) {
my($scriptPath, $outputPath) = @_;
#// generate a script to compile a script file.
my $script = <<END_OF_APPLESCRIPT;
store script (compile script (alias "$scriptPath")) in (file "$outputPath") replacing yes
END_OF_APPLESCRIPT
#// run the script.
MacPerl::DoAppleScript($script);
}
# _useMANIFESTOLib()
# returns 1 on success
# Search the include path for the file called MANIFESTOLib
sub _useMANIFESTOLib()
{
unless ( defined($MANIFESTOLib) )
{
my($scriptName) = "MANIFESTOLib.script";
my($libName) = "MANIFESTOLib";
# try the directory we were run from
my($scriptPath) = dirname($0) . ":" . $scriptName;
my($libPath) = dirname($0) . ":" . $libName;
# make sure that the compiled script is up to date with the textual script.
unless (-e $libPath && getModificationDate($libPath) >= getModificationDate($scriptPath)) {
print "# Recompiling MANIFESTOLib.script.\n";
compile_script($scriptPath, $libPath);
}
if ( -e $libPath) {
$MANIFESTOLib = $libPath;
} else {
# now search the include directories
foreach (@INC)
{
unless ( m/^Dev:Pseudo/ ) # This is some bizarre MacPerl special-case directory
{
$libPath = $_ . $libName;
if (-e $libPath)
{
$MANIFESTOLib = $libPath;
last;
}
}
}
}
if (! (-e $MANIFESTOLib)) {
print STDERR "MANIFESTOLib lib could not be found! $MANIFESTOLib";
return 0;
}
}
return 1;
}
sub getModificationDate($) {
my($filePath)=@_;
my($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks) = stat($filePath);
return $mtime;
}
sub setExtension($;$;$) {
my($filePath, $oldExtension, $newExtension)=@_;
my($name, $dir, $type) = fileparse($filePath, $oldExtension);
return "$dir$name$newExtension";
}
#
# ReconcileProject(projectPath, manifestoPath)
#
# Uses MANIFESTOLib AppleScript to reconcile the contents (toc?) of a
# CodeWarrior project with an external MANIFEST file.
#
sub ReconcileProject($;$) {
#// turn this feature on by removing the following line.
return 1;
my($projectPath, $manifestoPath) = @_;
my($sourceTree) = current_directory();
my($logPath) = setExtension($manifestoPath, ".toc", ".log");
print STDERR "# Reconciling Project: $projectPath with $manifestoPath\n";
#// compare the modification dates of the .toc and .log files. If .log is newer, do nothing.
if (-e $logPath && getModificationDate($logPath) >= getModificationDate($manifestoPath)) {
print "# Project is up to date.\n";
return 1;
}
_useMANIFESTOLib() || die "Could not load MANIFESTOLib\n";
my $script = <<END_OF_APPLESCRIPT;
tell (load script file "$MANIFESTOLib") to ReconcileProject("$sourceTree:", "$sourceTree$projectPath", "$sourceTree$manifestoPath")
END_OF_APPLESCRIPT
#// run the script, and store the results in a file called "$manifestoPath.log"
my $asresult = substr(MacPerl::DoAppleScript($script), 1, -1); #// chops off leading, trailing quotes.
#// print out to STDOUT to show progress.
print $asresult;
#// store the results in "$manifestoPath.log", which will act as a cache for later checks.
open(OUTPUT, ">$logPath") || die "can't open log file $logPath.";
print OUTPUT $asresult;
close(OUTPUT);
return 1;
}
1;
=pod
=head1 NAME
MANIFESTO - Scripts to process source .toc files.
=head1 SYNOPSIS
use MANIFESTO;
ReconcileProject(<path to Mac project file>, <path to table of contents file>) || die "cannot reconcile project";
=head1 DESCRIPTION
This is a PERL interface for talking to MANIFESTOLib AppleScripts.
=item ReconcileProject
ReconcileProject(<path to Mac project file>, <path to table of contents file>);
Reconciles the contents of a project with an external .toc file.
=cut
=head1 SEE ALSO
=over
=item MacCVS Home Page
http://www.maccvs.org/
=back
=head1 AUTHORS
Patrick Beard beard@netscape.com
based on work by
Aleks Totic atotic@netscape.com
=cut
__END__

Binary file not shown.

View File

@@ -1,376 +0,0 @@
(*
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*)
(*
MANIFESTOLib - Reconciles a CW Project file with an external table of contents file.
Uses merge sort, one pass per target.
by Patrick C. Beard <beard@netscape.com>
*)
(* Global Configuration Properties *)
property pShowReport : true
-- property pSourceTree : "Homeward:Work:Raptor:src:"
property pSourceTree : "Morbeus:Projects:Raptor:src:"
on swapDelimiters(newDelimiters)
set oldDelimiters to get AppleScript's text item delimiters
set AppleScript's text item delimiters to newDelimiters
return oldDelimiters
end swapDelimiters
on setDelimiters(newDelimiters)
set AppleScript's text item delimiters to newDelimiters
end setDelimiters
-- replaces oldChar with newChar in a string.
on replace(aString, oldChar, newChar)
set newString to ""
repeat with aChar in (every character of aString)
if (contents of aChar = oldChar) then
set newString to newString & newChar
else
set newString to newString & aChar
end if
end repeat
return newString
end replace
(* uses "sort" scripting addition to sort a list of strings. *)
on sortList(aList)
if (aList ­ {}) then
return sort aList
else
return {}
end if
end sortList
-- reads .toc file into a list.
on readManifestFile(sourceTree, manifestFile)
set oldDelimiters to swapDelimiters(return)
set fileRef to false
set fileLines to {}
try
set fileRef to (open for access manifestFile without write permission)
-- read entire file into memory, use text items to delimit lines.
set fileContents to (read fileRef)
repeat with lineRef in (every text item of fileContents)
-- ignore lines that start with "#" or are empty.
set fileLine to (contents of lineRef)
if (fileLine ­ "") and not (fileLine starts with "#") then
set fileLines to fileLines & (sourceTree & replace(fileLine, "/", ":"))
end if
end repeat
on error
-- ignore errors.
end try
if (fileRef is not false) then close access fileRef
setDelimiters(oldDelimiters)
return sortList(fileLines)
end readManifestFile
(* both of the following depend on ":" as the delimiter character. *)
on folderFromPath(filePath)
return ((filePath's text items 1 thru ((count of filePath's text items) - 1)) as string) & ":"
end folderFromPath
on fileFromPath(filePath)
return last text item of filePath
end fileFromPath
(* CW Pro IDE Interface Handlers. *)
on openProject(aProjectFile)
tell application "CodeWarrior IDE 3.3"
-- activate
open aProjectFile
end tell
end openProject
(* forces the named project file to be the front window. *)
on selectProject(aProjectFile)
set projectName to fileFromPath(aProjectFile as text)
tell application "CodeWarrior IDE 3.3"
if (name of window 1 is not projectName) then
select window projectName
end if
end tell
end selectProject
on closeProject(aProjectFile)
tell application "CodeWarrior IDE 3.3"
Close Project
end tell
end closeProject
on getTargets()
set targetList to {}
set nameList to {}
tell application "CodeWarrior IDE 3.3"
set currentProject to project document 1
repeat with targetIndex from 1 to (count of targets of currentProject)
set currentTarget to (target targetIndex of currentProject)
set targetList to targetList & {currentTarget}
set nameList to nameList & {name of currentTarget}
end repeat
return {target:targetList, names:nameList}
end tell
end getTargets
(* uses "info for" scripting addition, to return the file type of a path. *)
on getFileType(aFilePath)
return file type of (info for alias aFilePath)
end getFileType
(* returns all "TEXT" files of the named target. *)
on getTargetFiles(targetKey)
set targetFiles to {}
tell application "CodeWarrior IDE 3.3"
set currentProject to project document 1
set currentTarget to (target targetKey of currentProject)
try
-- workaround for CW IDE 3.X bug, loop until error encountered.
set fileIndex to 1
repeat until false
set targetFile to (target file fileIndex of currentTarget)
-- only consider text files, since other platforms won't be managing binaries.
-- also, only consider if target file is directly linked.
if (linked of targetFile) then
set targetFilePath to (Access Paths of targetFile)
tell me
if (getFileType(targetFilePath) = "TEXT") then
set targetFiles to targetFiles & {targetFilePath}
end if
end tell
end if
set fileIndex to (fileIndex + 1)
end repeat
on error msg
-- display dialog msg & " file count = " & fileIndex
end try
end tell
return sortList(targetFiles)
end getTargetFiles
on addTargetFile(targetFile, targetList)
tell application "CodeWarrior IDE 3.3"
add (project document 1) new target file with data {targetFile} to targets targetList
end tell
end addTargetFile
global gCurrentTarget
on setCurrentTarget(currentTargetName)
if (gCurrentTarget ­ currentTargetName) then
set gCurrentTarget to currentTargetName
tell application "CodeWarrior IDE 3.3"
Set Current Target currentTargetName
end tell
end if
end setCurrentTarget
on removeTargetFile(targetFile)
tell application "CodeWarrior IDE 3.3"
Remove Files {targetFile}
end tell
end removeTargetFile
on quote(aString)
return "'" & aString & "'"
end quote
on listContains(aList, anItem)
repeat with listItem in aList
if (contents of listItem = anItem) then
return true
end if
end repeat
return false
end listContains
on showList(aList)
choose from list aList with prompt "List:" with empty selection allowed
end showList
global gProjectModified
on ModifyReadOnly(aProjectFile)
if (not gProjectModified) then
set gProjectModified to true
-- so CodeWarrior will notice, must close the file before MROing it.
closeProject(aProjectFile)
mro aProjectFile
openProject(aProjectFile)
selectProject(aProjectFile)
end if
end ModifyReadOnly
on makeStream(itemList)
return {streamList:itemList, streamCount:count itemList, streamIndex:0}
end makeStream
(* true is used as the end of stream value. *)
property pEOS : true
on advanceStream(stream)
set itemCount to (streamCount of stream)
set itemIndex to (streamIndex of stream)
if (itemIndex < itemCount) then
set itemIndex to (itemIndex + 1)
set (streamIndex of stream) to itemIndex
return (item itemIndex of streamList of stream)
else
return pEOS
end if
end advanceStream
-- returns true if str2 is INFINITELY great, or str1 is less than str2.
on precedes(str1, str2)
return (str2 = pEOS) or ((str1 ­ pEOS) and (str1 < str2))
end precedes
on get_current_application()
return last text item of ((path to current application) as text)
end get_current_application
on get_frontmost_application()
return last text item of ((path to frontmost application) as text)
end get_frontmost_application
on activate_application(applicationName)
tell application "Finder"
set applicationProcess to (application process applicationName)
set frontmost of applicationProcess to true
end tell
end activate_application
on ReconcileProject(sourceTree, projectPath, manifestoPath)
-- so we can easily strip off file names from paths.
set oldDelimiters to swapDelimiters(":")
-- initialize globals.
set gCurrentTarget to ""
set gProjectModified to false
-- convert paths to aliases.
set projectFile to alias projectPath
set manifestFile to alias manifestoPath
-- read the MANIFESTO file into a list of paths.
set manifestContents to readManifestFile(sourceTree, manifestFile)
-- return manifestContents
-- now, start processing the file items, ensuring that the project contains all items.
openProject(projectFile)
selectProject(projectFile)
set targetsList to getTargets()
set targetNames to names of targetsList
if (pShowReport) then
set theReport to ""
set addedFiles to ""
set removedFiles to ""
end if
-- push current application to front for speed.
-- set frontmostApplication to get_frontmost_application()
-- set currentApplication to get_current_application()
-- activate_application(currentApplication)
-- reconcile all targets with the MANIFEST file.
-- this loop should be recoded in PERL for speed.
-- IDEA: with sorted lists, can scan both lists, like a merge sort, and make one pass per target.
repeat with targetNameRef in targetNames
-- switch targets because getTargetFiles now checks to see if file is linked in current target.
set targetName to (contents of targetNameRef)
set targetFiles to getTargetFiles(targetName)
-- hopefully, this list test is fast.
if (targetFiles ­ manifestContents) then
-- return {count targetFiles, count manifestContents, targetFiles, manifestContents}
-- make sure the project file is modifiable.
ModifyReadOnly(projectFile)
setCurrentTarget(targetName)
set targetStream to makeStream(targetFiles)
set targetItem to advanceStream(targetStream)
set manifestStream to makeStream(manifestContents)
set manifestItem to advanceStream(manifestStream)
repeat until (manifestItem is pEOS) and (targetItem is pEOS)
-- display dialog "m: " & manifestItem & ", t: " & targetFileItem
if (manifestItem = targetItem) then
-- items match, advance both.
set manifestItem to advanceStream(manifestStream)
set targetItem to advanceStream(targetStream)
else
-- return {manifestItem, targetItem}
if (precedes(manifestItem, targetItem)) then
-- we have an item in manifest, not in project, so we have to add it to the targets.
-- display dialog "adding " & manifestItem
addTargetFile(manifestItem, targetNames)
if pShowReport then
set addedFiles to addedFiles & ("# " & (last text item of manifestItem) & return)
end if
set manifestItem to advanceStream(manifestStream)
else
-- we have an item not in manifest, but in project, so it must be removed from this target.
-- display dialog "removing " & targetItem
removeTargetFile(targetItem)
if pShowReport then
set removedFiles to removedFiles & ("# " & targetName & " - " & (last text item of targetItem) & return)
end if
set targetItem to advanceStream(targetStream)
end if
end if
end repeat
end if
end repeat
-- activate_application(frontmostApplication)
-- commit the project changes, and optionally display a report.
tell application "CodeWarrior IDE 3.3"
-- leave project open for compilation phase?
Close Project
if pShowReport then
if addedFiles is not "" then set theReport to ("# Added files: " & return & addedFiles)
if removedFiles is not "" then set theReport to theReport & ("# Removed files: " & return & removedFiles)
if (theReport is "") then set theReport to (" # Project is up to date." & return)
-- display dialog theReport buttons {"OK"} default button "OK"
end if
end tell
-- restore AppleScript's delimiters.
setDelimiters(oldDelimiters)
-- return 0 to indicate no error.
return theReport
end ReconcileProject
on run
-- when run interactively,
-- ask user which project/MANIFEST files to use.
set projectPath to (choose file with prompt "Choose a CW Project file." of type {"MMPr"}) as text
set manifestPath to (choose file with prompt "Choose a TOC file to process." of type {"TEXT"}) as text
ReconcileProject(pSourceTree, projectPath, manifestPath)
end run

View File

@@ -1,204 +0,0 @@
#!perl -w
package MacCVS;
# package Mac::Apps::MacCVS; this should really be the name of the package
# but due to our directory hierarchy in mozilla, I am not doing it
require 5.004;
require Exporter;
use strict;
use vars qw($VERSION @ISA @EXPORT $MacCVSLib);
use Mac::StandardFile;
use Moz;
use Cwd;
use Exporter;
use File::Basename;
@ISA = qw(Exporter);
@EXPORT = qw( new print checkout);
$VERSION = "1.00";
# Architecture:
# cvs session object:
# name - session name
# session_file - session file
#
# globals
# $MacCVSLib - location of MacCVS applescript library
#
#
#
# utility routines
#
# just like Mac::DoAppleScript, 1 is success, 0 is failure
sub _myDoAppleScript($)
{
my($script) = @_;
my $asresult = MacPerl::DoAppleScript($script);
if ($asresult eq "0")
{
return 1;
}
else
{
print STDERR "AppleScript error: $asresult\n";
print STDERR "AppleScript was: \n $script \n";
return 0;
}
}
# _useMacCVSLib
# returns 1 on success
# Search the include path for the file called MacCVSLib
sub _useMacCVSLib()
{
unless ( defined($MacCVSLib) )
{
my($libname) = "MacCVSLib";
# try the directory we were run from
my($c) = dirname($0) . ":" . $libname;
if ( -e $c)
{
$MacCVSLib = $c;
}
else
{
# now search the include directories
foreach (@INC)
{
unless ( m/^Dev:Pseudo/ ) # This is some bizarre MacPerl special-case directory
{
$c = $_ . $libname;
if (-e $c)
{
$MacCVSLib = $c;
last;
}
}
}
}
if (! (-e $MacCVSLib))
{
print STDERR "MacCVS lib could not be found! $MacCVSLib";
return 0;
}
}
return 1;
}
#
# Session object methods
#
sub new {
my ( $proto, $session_file) = @_;
my $class = ref($proto) || $proto;
my $self = {};
if ( defined($session_file) && ( -e $session_file) )
{
$self->{"name"} = basename( $session_file );
$self->{"session_file"} = $session_file;
bless $self, $class;
return $self;
}
else
{
print STDERR "MacCVS->new cvs file < $session_file > does not exist\n";
return;
}
}
# makes sure that the session is open
# assertSessionOpen()
# returns 1 on failure
sub assertSessionOpen() {
my ($self) = shift;
_useMacCVSLib() || die "Could not load MacCVSLib\n";
my $script = <<END_OF_APPLESCRIPT;
tell (load script file "$MacCVSLib") to OpenSession("$self->{session_file}")
END_OF_APPLESCRIPT
return _myDoAppleScript($script);
}
# prints the cvs object, used mostly for debugging
sub print {
my($self) = shift;
print "MacCVS:: name: ", $self->{name}, " session file: ", $self->{session_file}, "\n";
}
# checkout( self, module, revision, date)
# MacCVS checkout command
# returns 1 on failure
sub checkout
{
my($self, $module, $revision, $date ) = @_;
unless( defined ($module) ) { $module = ""; } # get rid of the pesky undefined warnings
unless( defined ($revision) ) { $revision = ""; }
unless( defined ($date) ) { $date = ""; }
$self->assertSessionOpen() || return 1;
my($revstring) = ($revision ne "") ? $revision : "(none)";
my($datestring) = ($date ne "") ? $date : "(none)";
print "Checking out $module with revision $revstring, date $datestring\n";
my $script = <<END_OF_APPLESCRIPT;
tell (load script file "$MacCVSLib") to Checkout given sessionName:"$self->{name}", module:"$module", revision:"$revision", date:"$date"
END_OF_APPLESCRIPT
return _myDoAppleScript($script);
}
1;
=pod
=head1 NAME
MacCVS - Interface to MacCVS
=head1 SYNOPSIS
use MacCVS;
$session = MacCVS->new( <session_file_path>) || die "cannot create session";
$session->checkout([module] [revision] [date]) || die "Could not check out";
=head1 DESCRIPTION
This is a MacCVS interface for talking to MacCVS Pro client.
MacCVSSession is the class used to manipulate the session
=item new
MacCVS->new( <cvs session file path>);
Creates a new session. Returns undef on failure.
=item checkout( <module> [revision] [date] )
cvs checkout command. Revision and date are optional
returns 0 on failure
=cut
=head1 SEE ALSO
=over
=item MacCVS Home Page
http://www.maccvs.org/
=back
=head1 AUTHORS
Aleks Totic atotic@netscape.com
=cut
__END__

Binary file not shown.

View File

@@ -1,146 +0,0 @@
#!perl -w
# make-jars [-d <destPath>] < <manifest.jr>
package MozJar;
require 5.004;
use strict;
use Cwd;
use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
use Moz;
use vars qw( @ISA @EXPORT );
@ISA = qw(Exporter);
@EXPORT = qw(ProcessJarManifest);
sub _addToJar($$$$$)
{
my($thing, $srcPath, $jarManDir, $zip, $compress) = @_;
#print "_addToJar($thing, $srcPath, $jarManDir, $zip, $compress)\n";
my $existingMember = $zip->memberNamed($thing);
if ($existingMember) {
my $modtime = $existingMember->lastModTime();
print "already have $thing at $modtime\n"; # XXX need to check mod time here!
return 0;
}
my $filepath = "$jarManDir:$srcPath";
$filepath =~ s|/|:|g;
if (!-e $filepath) {
$srcPath =~ /([\w\d.:\-\\\/]+)[:\\\/]([\w\d.\-]+)/;
$filepath = "$jarManDir:$2";
if (!-e $filepath) {
die "$filepath does not exist\n";
}
}
my $member = Archive::Zip::Member->newFromFile($filepath);
die "Failed to create zip file member $filepath\n" unless $member;
$member->fileName($thing);
print "Adding $filepath as $thing\n";
if ($compress) {
$member->desiredCompressionMethod(Archive::Zip::COMPRESSION_DEFLATED);
} else {
$member->desiredCompressionMethod(Archive::Zip::COMPRESSION_STORED);
}
$zip->addMember($member);
}
sub JarIt($$)
{
my ($jarfile, $zip) = @_;
#print "+++ jarring $jarfile\n";
#flush();
#system "zip -u $jarfile $args\n";
my $jarTempFile = $jarfile . ".temp";
$zip->writeToFileNamed($jarTempFile) == AZ_OK
|| die "zip writeToFileNamed $jarTempFile failed";
# set the file type/creator to something reasonable
MacPerl::SetFileInfo("ZIP ", "ZIP ", $jarTempFile);
rename($jarTempFile, $jarfile);
print "+++ finished jarring $jarfile\n";
}
sub ProcessJarManifest($$)
{
my ($jarManPath, $destPath) = @_;
$jarManPath = Moz::full_path_to($jarManPath);
$destPath = Moz::full_path_to($destPath);
#print "ProcessJarManifest($jarManPath, $destPath)\n";
print "+++ jarring $jarManPath\n";
my $jarManDir = "";
my $jarManFile = "";
if ($jarManPath =~ /([\w\d.:\-\\\/]+)[:\\\/]([\w\d.\-]+)/) {
$jarManDir = $1;
$jarManFile = $2;
}
else {
die "bad jar.mn specification";
}
open(FILE, "<$jarManPath") || die "could not open $jarManPath: $!";
while (<FILE>) {
chomp;
start:
if (/^([\w\d.\-\\\/]+)\:\s*$/) {
my $jarfile = "$destPath/$1";
$jarfile =~ s|/|:|g;
#my $args = "";
my $zip = Archive::Zip->new();
#print "new jar $jarfile\n";
if (-e $jarfile) {
#print "=====> $jarfile exists\n";
my $ok = $zip->read($jarfile);
if ($ok != AZ_OK) {
die "zip read $jarfile failed: $ok";
}
}
while (<FILE>) {
if (/^\s+([\w\d.\-\\\/]+)\s*(\([\w\d.\-\\\/]+\))?$\s*/) {
my $dest = $1;
my $srcPath = $2;
if ( $srcPath ) {
$srcPath = substr($srcPath,1,-1);
}
else {
$srcPath = ":" . $dest;
}
$srcPath =~ s|/|:|g;
_addToJar($dest, $srcPath, $jarManDir, $zip, 1);
} elsif (/^\s*$/) {
# end with blank line
last;
} else {
JarIt($jarfile, $zip);
goto start;
}
}
JarIt($jarfile, $zip);
} elsif (/^\s*\#.*$/) {
# skip comments
} elsif (/^\s*$/) {
# skip blank lines
} else {
close;
die "bad jar rule head at: $_";
}
}
close(FILE);
}

View File

@@ -1,572 +0,0 @@
=head1 NAME
B<Moz> - routines for automating CodeWarrior builds, and some extra-curricular activities related to building Mozilla
=head1 SYNOPSIS
use Moz;
OpenErrorLog(":::BuildLog");
StopForErrors();
$Moz::QUIET = 1;
InstallFromManifest(":projects:MANIFEST", $dist_dir);
BuildProjectClean(":projects:SomeProject.mcp", "SomeTarget");
MakeAlias(":projects:SomeProject.shlb", $dist_dir);
DontStopForErrors();
BuildProject(":projects:SomeOtherProject.mcp", "SomeTarget");
=head1 DESCRIPTION
B<Moz> comprises the routines needed to slap CodeWarrior around, force it to build a sequence of projects, report the results, and a few other things.
=cut
package Moz;
require Exporter;
use Mac::Types;
use Mac::Events;
use Mac::Processes;
use File::Copy;
@ISA = qw(Exporter);
@EXPORT = qw(BuildProject LaunchCodeWarrior BuildProjectClean GetFileModDate OpenErrorLog MakeAlias StopForErrors DontStopForErrors InstallFromManifest InstallResources SetBuildNumber SetAgentString SetTimeBomb Delay ActivateApplication);
@EXPORT_OK = qw(CloseErrorLog UseCodeWarriorLib QUIET);
use Cwd;
use File::Path;
use ExtUtils::Manifest 'maniread';
use CodeWarriorLib;
sub current_directory()
{
my $current_directory = cwd();
chop($current_directory) if ( $current_directory =~ m/:$/ );
return $current_directory;
}
sub full_path_to($)
{
my ($path) = @_;
if ( $path =~ m/^[^:]+$/ )
{
$path = ":" . $path;
}
if ( $path =~ m/^:/ )
{
$path = current_directory() . $path;
}
return $path;
}
=head2 Setup
Pretty much, everything is taken care of for you.
However, B<Moz> does use a little compiled AppleScript library (the file CodeWarriorLib) for some of its communcication with CodeWarrior.
If this library isn't in the same directory as "Moz.pm", then you need to tell B<Moz> where to find it.
Call C<UseCodeWarriorLib($path_to_CodeWarriorLib)>.
This routine is not exported by default, nor are you likely to need it.
=cut
sub UseCodeWarriorLib($)
{
# ($CodeWarriorLib) = @_;
# $CodeWarriorLib = full_path_to($CodeWarriorLib);
}
sub LaunchCodeWarrior()
{
CodeWarriorLib::activate();
}
sub activate_CodeWarrior()
{
#MacPerl::DoAppleScript(<<END_OF_APPLESCRIPT);
# tell (load script file "$CodeWarriorLib") to ActivateCodeWarrior()
#END_OF_APPLESCRIPT
}
$logging = 0;
$recent_errors_file = "";
$stop_on_1st_error = 1;
$QUIET = 0;
=head2 Logging all the errors and warnings - C<OpenErrorLog($log_file)>, C<CloseErrorLog()>
The warnings and errors generated in the course of building projects can be logged to a file.
Tinderbox uses this facility to show why a remote build failed.
Logging is off by default.
Start logging at any point in your build process with C<OpenErrorLog($log_file)>.
Stop with C<CloseErrorLog()>.
You never need to close the log explicitly, unless you want to just log a couple of projects in the middle of a big list.
C<CloseErrorLog()> is not exported by default.
=cut
sub CloseErrorLog()
{
if ( $logging )
{
close(ERROR_LOG);
$logging = 0;
StopForErrors() if $stop_on_1st_error;
}
}
sub OpenErrorLog($)
{
my ($log_file) = @_;
CloseErrorLog();
if ( $log_file )
{
$log_file = full_path_to($log_file);
open(ERROR_LOG, ">$log_file") || die "Can't open logfile, check the file path.\n";
MacPerl::SetFileInfo("CWIE", "TEXT", $log_file);
$log_file =~ m/.+:(.+)/;
$recent_errors_file = full_path_to("$1.part");
$logging = 1;
}
}
=head2 Stopping before it's too late - C<StopForErrors()>, C<DontStopForErrors()>
When building a long list of projects, you decide whether to continue building subsequent projects when one fails.
By default, your build script will C<die> after the first project that generates an error while building.
Change this behavior with C<DontStopForErrors()>.
Re-enable it with C<StopForErrors()>.
=cut
sub StopForErrors()
{
$stop_on_1st_error = 1;
# Can't stop for errors unless we notice them.
# Can't notice them unless we are logging.
# If the user didn't explicitly request logging, log to a temporary file.
if ( ! $recent_errors_file )
{
OpenErrorLog("${TMPDIR}BuildResults");
}
}
sub DontStopForErrors()
{
$stop_on_1st_error = 0;
}
sub log_message($)
{
if ( $logging )
{
my ($message) = @_;
print ERROR_LOG $message;
}
}
sub log_message_with_time($)
{
if ( $logging )
{
my ($message) = @_;
my $time_stamp = localtime();
log_message("$message ($time_stamp)\n");
}
}
sub log_recent_errors($)
{
my ($project_name) = @_;
my $found_errors = 0;
if ( $logging )
{
open(RECENT_ERRORS, "<$recent_errors_file");
while( <RECENT_ERRORS> )
{
if ( /^Error/ || /^CouldnÕt find project file/ || /^Link Error/ )
{
# if (!$found_errors)
# print $_;
$found_errors = 1;
}
print ERROR_LOG $_;
}
close(RECENT_ERRORS);
unlink("$recent_errors_file");
}
if ( $stop_on_1st_error && $found_errors )
{
print ERROR_LOG "### Build failed.\n";
die "### Errors encountered building \"$project_name\".\n";
}
}
sub build_project($$$)
{
my ($project_path, $target_name, $clean_build) = @_;
$project_path = full_path_to($project_path);
# $project_path =~ m/.+:(.+)/;
# my $project_name = $1;
log_message_with_time("### Building \"$project_path\"");
# Check that the given project exists
if (! -e $project_path)
{
print ERROR_LOG "### Build failed.\n";
die "### Can't find project file \"$project_path\".\n";
}
print "Building \"$project_path\[$target_name\]\"\n";
$had_errors = CodeWarriorLib::build_project(
$project_path, $target_name, $recent_errors_file, $clean_build
);
WaitNextEvent();
# $had_errors =
#MacPerl::DoAppleScript(<<END_OF_APPLESCRIPT);
# tell (load script file "$CodeWarriorLib") to BuildProject("$project_path", "$project_name", "$target_name", "$recent_errors_file", $clean_build)
#END_OF_APPLESCRIPT
# Append any errors to the globally accumulated log file
# if ( $had_errors ) # Removed this test, because we want warnings, too. -- jrm
{
log_recent_errors($project_path);
}
}
=head2 Getting CodeWarrior to build projects - C<BuildProject($project, $opt_target)>, C<BuildProjectClean($project, $opt_target)>
C<BuildProject()> and C<BuildProjectClean()> are identical, except that the latter first removes object code.
In both, CodeWarrior opens the project if it wasn't already open; builds the given (or else current) target; and finally closes
the project, if it wasn't already open.
=cut
sub BuildProject($;$)
{
my ($project_path, $target_name) = @_;
build_project($project_path, $target_name, 0);
}
sub BuildProjectClean($;$)
{
my ($project_path, $target_name) = @_;
build_project($project_path, $target_name, 1);
}
=head2 Miscellaneous
C<MakeAlias($old_file, $new_file)> functions like C<symlink()>, except with better argument defaulting and more explicit error messages.
=cut
sub MakeAlias($$)
{
my ($old_file, $new_file) = @_;
# if the directory to hold $new_file doesn't exist, create it
if ( ($new_file =~ m/(.+:)/) && !-d $1 )
{
mkpath($1);
}
# if a leaf name wasn't specified for $new_file, use the leaf from $old_file
if ( ($new_file =~ m/:$/) && ($old_file =~ m/.+:(.+)/) )
{
$new_file .= $1;
}
my $message = "Can't create a Finder alias (at \"$new_file\")\n for \"$old_file\"; because ";
die "$message \"$old_file\" doesn't exist.\n" unless -e $old_file;
die "$message I won't replace an existing (non-alias) file with an alias.\n" if ( -e $new_file && ! -l $new_file );
# now: $old_file exists; $new_file doesn't (or else, is an alias already)
if ( -l $new_file )
{
# ...then see if it already points to $old_file
my $current_target = full_path_to(readlink($new_file));
my $new_target = full_path_to($old_file);
return if ( $current_target eq $new_target );
# if the desired alias already exists and points to the right thing, then we're done
unlink $new_file;
}
symlink($old_file, $new_file) || die "$message symlink returned an unexpected error.\n";
}
=pod
C<InstallFromManifest()>
=cut
sub InstallFromManifest($;$$)
{
my ($manifest_file, $dest_dir, $flat) = @_;
$flat = 0 unless defined($flat); # if $flat, all rel. paths in MANIFEST get aliased to the root of $dest_dir
$dest_dir ||= ":";
$manifest_file =~ m/(.+):/;
my $source_dir = $1;
chop($dest_dir) if $dest_dir =~ m/:$/;
#Mac::Events->import();
WaitNextEvent();
if ($flat)
{
print "Doing manifest on \"$manifest_file\" FLAT\n" unless $QUIET;
}
else
{
print "Doing manifest on \"$manifest_file\"\n" unless $QUIET;
}
my $read = maniread(full_path_to($manifest_file));
foreach $file (keys %$read)
{
next unless $file;
$subdir = ":";
if (!$flat && ($file =~ /:.+:/ ))
{
$subdir = $&;
}
$file = ":$file" unless $file =~ m/^:/;
MakeAlias("$source_dir$file", "$dest_dir$subdir");
}
}
=pod
C<InstallResources()>
=cut
# parameters are path to MANIFEST file, destination dir, true (to make copies) or false (to make aliases)
sub InstallResources($;$;$)
{
my ($manifest_file, $dest_dir, $copy_files) = @_;
$dest_dir ||= ":";
mkpath($dest_dir) if !-d $dest_dir;
$manifest_file =~ m/(.+):/;
my $source_dir = $1;
chop($dest_dir) if $dest_dir =~ m/:$/;
WaitNextEvent();
print "Installing resources from \"$manifest_file\"\n" unless $QUIET;
my $read = maniread(full_path_to($manifest_file));
foreach $file (keys %$read)
{
next unless $file;
if ($copy_files)
{
copy("$source_dir:$file", "$dest_dir:$file");
}
else
{
MakeAlias("$source_dir:$file", "$dest_dir:$file");
}
}
}
sub SetBuildNumber($$$)
{
my($build_num_file, $build_gen_script, $files_to_touch) = @_;
open (OUTPUT, ">$build_num_file") || die "could not open buildnumber";
open (BDATE, "perl :mozilla:config:bdate.pl|");
while (<BDATE>) {
print OUTPUT $_;
}
close (BDATE);
close (OUTPUT);
my($file);
foreach $file (@$files_to_touch)
{
print "Writing build number to $file\n";
system ("perl $build_gen_script $file $build_num_file");
}
}
sub SetAgentString
{
open (BDATE, ":mozilla:config:build_number") || die "could not open buildnumber";
while (<BDATE>) {
$build_number = $_;
}
close (BDATE);
open (ORIGFILE, ":mozilla:cmd:macfe:restext:custom.r") || die "no original file";
open (OUTPUT, ">:mozilla:cmd:macfe:restext:agent.r") || die "no output file";
chop($build_number);
while (<ORIGFILE>) {
$tempstring = $_;
if ($tempstring =~ "\#define VERSION_MAJOR_STR") {
$tempstring = "\#define VERSION_MAJOR_STR \"5.0a1-" . $build_number . " Development\"\n";
}
print OUTPUT $tempstring;
}
close (ORIGFILE);
close (OUTPUT);
unlink (":mozilla:cmd:macfe:restext:custom.r");
rename (":mozilla:cmd:macfe:restext:agent.r", ":mozilla:cmd:macfe:restext:custom.r");
}
sub SetTimeBomb($$)
{
my ($warn_days, $bomb_days) = @_;
system("perl :mozilla:config:mac-set-timebomb.pl $warn_days $bomb_days");
}
sub Delay($)
{
my ($delay_seconds) = @_;
$now = time;
$exit_time = $now + $delay_seconds;
while ($exit_time > $now) {
$now = time;
}
}
sub GetFileModDate($)
{
my($filePath)=@_;
my($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks) = stat($filePath);
return $mtime;
}
sub ActivateApplication($)
{
my ($appSignature) = @_;
my ($psi, $found);
my ($appPSN);
$found = 0;
foreach $psi (values(%Process))
{
if ($psi->processSignature() eq $appSignature)
{
$appPSN = $psi->processNumber();
$found = 1;
last;
}
}
if ($found == 0)
{
return;
}
SetFrontProcess($appPSN);
while (GetFrontProcess() != $appPSN)
{
WaitNextEvent();
}
}
1;
=head1 AUTHORS
Scott Collins <scc@netscape.com>, Simon Fraser <sfraser@netscape.com>, Chris Yeh <cyeh@netscape.com>
=head1 SEE ALSO
BuildMozillaDebug.pl (et al), BuildList.pm, CodeWarriorLib (an AppleScript library)
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
=cut

View File

@@ -1,172 +0,0 @@
package MozBuildFlags;
require 5.004;
require Exporter;
# Package that attempts to read a file from the Preferences folder,
# and get build settings out of it
use strict;
use Exporter;
use MozPrefs;
use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(SetupBuildParams);
#-------------------------------------------------------------------------------
# These 3 arrays are the 'master lists' to control what gets built.
# We use arrays here, instead of just intializing the hashes directly,
# so that we can start the build at a given stage using a stored key.
#
# Ordering in these arrays is important; it has to reflect the order in
# which the build occurs.
#-------------------------------------------------------------------------------
my(@pull_flags) =
(
["moz", 1], # pull everything needed for mozilla
["runtime", 0] # used to just build runtime libs, up to NSPR
);
my(@build_flags) =
(
["all", 1],
["dist", 0],
["dist_runtime", 0],
["xpidl", 0],
["idl", 0],
["stubs", 0],
["runtime", 0],
["common", 0],
["imglib", 0],
["necko", 0],
["security", 0],
["browserutils", 0],
["intl", 0],
["nglayout", 0],
["editor", 0],
["viewer", 0],
["xpapp", 0],
["extensions", 0],
["plugins", 0],
["mailnews", 0],
["apprunner", 0],
["resources", 0],
["jars", 0]
);
my(@options_flags) =
(
["transformiix", 0],
["mathml", 0],
["svg", 0],
["mng", 1],
["ldap", 0],
["xmlextras", 0],
["mailextras", 1], # mail importers
["xptlink", 0] # xpt linker codewarrior plugin
);
#-------------------------------------------------------------------------------
# End of build flags
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# flagsArrayToHash
#
# Utility routine to migrate flag from a 2D array to a hash, where
# item[n][0] is the hash entry name, and item[n][1] is the hash entry value.
#-------------------------------------------------------------------------------
sub flagsArrayToHash($$)
{
my($src_array, $dest_hash) = @_;
my($item);
foreach $item (@$src_array)
{
$dest_hash->{$item->[0]} = $item->[1];
}
}
#-----------------------------------------------
# printHash
#
# Utility routine to print a hash
#-----------------------------------------------
sub printHash($)
{
my($hash_ref) = @_;
my($key, $value);
while (($key, $value) = each %$hash_ref)
{
print "$key $value\n";
}
}
#-------------------------------------------------------------------------------
# SetPullFlags
#-------------------------------------------------------------------------------
sub SetPullFlags($)
{
my($pull) = @_;
flagsArrayToHash(\@pull_flags, $pull);
}
#-------------------------------------------------------------------------------
# SetBuildFlags
#-------------------------------------------------------------------------------
sub SetBuildFlags($)
{
my($build) = @_;
flagsArrayToHash(\@build_flags, $build);
}
#-------------------------------------------------------------------------------
# SetBuildOptions
#-------------------------------------------------------------------------------
sub SetBuildOptions($)
{
my($options) = @_;
flagsArrayToHash(\@options_flags, $options);
}
#-------------------------------------------------------------------------------
# SetupBuildParams
#-------------------------------------------------------------------------------
sub SetupBuildParams($$$)
{
my($pull, $build, $options) = @_;
SetPullFlags($pull);
SetBuildFlags($build);
SetBuildOptions($options);
print "Build before:\n";
printHash($build);
# read the user pref file, that can change values in the array
ReadMozUserPrefs("Mozilla build prefs", $pull, $build, $options);
print "Build after:\n";
printHash($build);
}
1;

View File

@@ -1,536 +0,0 @@
#!perl -w
package MozJar;
#
# Module for creating jar files, either using a jar manifest, or
# simply jarring up folders on disk.
#
require 5.004;
require Exporter;
use strict;
use Archive::Zip;
use File::Path;
use Mac::Files;
use Moz;
use vars qw( @ISA @EXPORT );
@ISA = qw(Exporter);
@EXPORT = qw(CreateJarFileFromDirectory WriteOutJarFiles);
#-------------------------------------------------------------------------------
# Add the contents of a directory to the zip file
#
#-------------------------------------------------------------------------------
sub _addDirToJar($$$$)
{
my($dir, $jar_root, $zip, $compress) = @_;
opendir(DIR, $dir) or die "Cannot open dir $dir\n";
my @files = readdir(DIR);
closedir DIR;
my $unix_jar_root = $jar_root;
$unix_jar_root =~ s|:|/|g; # colon to slash conversion
my $file;
foreach $file (@files)
{
my $filepath = $dir.":".$file;
if (-d $filepath)
{
print "Adding files to jar from $filepath\n";
_addDirToJar($filepath, $jar_root, $zip, $compress);
}
else
{
my $member = Archive::Zip::Member->newFromFile($filepath);
die "Failed to create zip file member $filepath\n" unless $member;
my $unixName = $filepath;
$unixName =~ s|:|/|g; # colon to slash conversion
$unixName =~ s|^$unix_jar_root||; # relativise
$member->fileName($unixName);
# print "Adding $file as $unixName\n";
if ($compress) {
$member->desiredCompressionMethod(Archive::Zip::COMPRESSION_DEFLATED);
} else {
$member->desiredCompressionMethod(Archive::Zip::COMPRESSION_STORED);
}
$zip->addMember($member);
}
}
}
#-------------------------------------------------------------------------------
# Add the contents of a directory to the zip file
#
#-------------------------------------------------------------------------------
sub CreateJarFileFromDirectory($$$)
{
my($srcdir, $jarpath, $compress) = @_;
my $zip = Archive::Zip->new();
_addDirToJar($srcdir, $srcdir, $zip, $compress);
print "Saving zip file...\n";
my $status = $zip->writeToFileNamed($jarpath);
if ($status == 0) {
print "Zipping completed successfully\n";
} else {
print "Error saving zip file\n";
}
# set the file type/creator to something reasonable
MacPerl::SetFileInfo("ZIP ", "ZIP ", $jarpath);
}
#-------------------------------------------------------------------------------
# printZipContents
#
#-------------------------------------------------------------------------------
sub printZipContents($)
{
my($zip) = @_;
my(@members) = $zip->memberNames();
print "Zip contains:\n";
my($member);
foreach $member (@members)
{
print " $member\n";
}
}
#-------------------------------------------------------------------------------
# safeSaveJarFile
#
# Archive::Zip has a problem where you cannot save a zip file on top of
# an existing zip file that it has open, because it holds references
# into that zip. So we have to save to a temp file, then do a swap.
#
# Note that the zip will become invalid after this operation.
# If you want to do further operations on it, you'll have to reread it.
#-------------------------------------------------------------------------------
sub safeSaveJarFile($$)
{
my($zip, $full_dest_path) = @_;
my($temp_file_name) = $full_dest_path."_temp";
($zip->writeToFileNamed($temp_file_name) == Archive::Zip::AZ_OK) || die "Error writing jar to temp file $temp_file_name\n";
unlink $full_dest_path;
(rename $temp_file_name, $full_dest_path) || die "Failed to rename $temp_file_name\n";
MacPerl::SetFileInfo("ZIP ", "ZIP ", $full_dest_path);
}
#-------------------------------------------------------------------------------
# addToJarFile
#
# Add a file to a jar file
#
# Parameters:
# 1. Jar ID. Unix path of jar file inside chrome.
# 2. Abs path to jar.mn file (i.e. source) (mac breaks)
# 3. File source, relative to jar.mn path (mac breaks)
# 4. Abs path to the resulting .jar file (mac breaks)
# 5. Relative file path within the jar (unix breaks)
# 6. Reference to hash of jar files
#
#-------------------------------------------------------------------------------
sub addToJarFile($$$$$$$)
{
my($jar_id, $jar_man_dir, $file_src, $jar_path, $file_jar_path, $override, $jars) = @_;
# print "addToJarFile with:\n $jar_man_dir\n $file_src\n $jar_path\n $file_jar_path\n";
unless ($jar_path =~ m/(.+:)([^:]+)$/) { die "Bad jar path $jar_path\n"; }
my($target_dir) = $1;
my($jar_name) = $2;
$target_dir =~ s/[^:]+$//;
# print "¥ $target_dir $jar_name\n";
# find the source file
my($src) = $jar_man_dir.":".$file_src;
if ((!-e $src) && ($file_src =~ m/.+:([^:]+)$/)) # src does not exist. Fall back to looking for src in jar.mn dir
{
$file_src = $1;
$src = $jar_man_dir.":".$file_src;
if (!-e $src) {
die "Can't find chrome file $src\n";
}
}
if ($main::options{jars})
{
my($zip) = $jars->{$jar_id};
unless ($zip) { die "Can't find Zip entry for $jar_id\n"; }
# print "Adding $file_src to jar file $jar_path at $file_jar_path\n";
my($member) = Archive::Zip::Member->newFromFile($src);
unless ($member) { die "Failed to create zip file member $src\n"; }
$member->fileName($file_jar_path);
my($compress) = 1;
if ($compress) {
$member->desiredCompressionMethod(Archive::Zip::COMPRESSION_DEFLATED);
$member->desiredCompressionLevel(Archive::Zip::COMPRESSION_LEVEL_DEFAULT); # defaults to 6
} else {
$member->desiredCompressionMethod(Archive::Zip::COMPRESSION_STORED);
}
my($old_member) = $zip->memberNamed($file_jar_path);
if ($override)
{
if ($old_member)
{
# print "Overriding $file_jar_path in jar file $jar_id\n";
# need to compare mod dates or use the + here
$zip->removeMember($old_member);
}
$zip->addMember($member);
}
else
{
if ($old_member)
{
#compare dates here
my($member_moddate) = $old_member->lastModTime();
my($file_moddate) = GetFileModDate($src);
if ($file_moddate > $member_moddate)
{
print "Updating older file $file_jar_path in $jar_id\n";
$zip->removeMember($old_member);
$zip->addMember($member);
}
else
{
print "File $file_jar_path in $jar_id is more recent. Not updating.\n";
}
}
else
{
$zip->addMember($member);
}
}
}
if ($main::options{chrome_files}) # we install raw files too
{
my($rel_path) = $file_jar_path;
$rel_path =~ s|/|:|g; # slash to colons
my($dir_name) = $jar_name;
$dir_name =~ s/\.jar$//;
my($dst) = $target_dir.$dir_name.":".$rel_path;
# print "Aliassing $src\n to\n$dst\n";
MakeAlias($src, $dst); # don't check errors, otherwise we fail on replacement
}
}
#-------------------------------------------------------------------------------
# setupJarFile
#
# setup a zip for writing
#-------------------------------------------------------------------------------
sub setupJarFile($$$)
{
my($jar_id, $dest_path, $jar_hash) = @_;
# print "Creating jar file $jar_id at $jar_path\n";
my($jar_file) = $jar_id;
$jar_file =~ s|/|:|g; # slash to colons
my($full_jar_path) = Moz::full_path_to($dest_path.":".$jar_file);
if ($main::options{jars})
{
my($zip) = $jar_hash->{$jar_id};
if (!$zip) # if we haven't made it already, do so
{
my($zip) = Archive::Zip->new();
$jar_hash->{$jar_id} = $zip;
# does the jar file exist already? If so, read it in
if (-e $full_jar_path)
{
print "Reading in jar file $jar_id\n";
if ($zip->read($full_jar_path) != Archive::Zip::AZ_OK) { die "Failed to re-read $full_jar_path\n"; }
# printZipContents($zip);
}
}
}
else
{
# installing files.
# nothing to do. MakeAlias creates dirs as needed.
# add this jar to the list
$jar_hash->{$jar_id} = 1;
}
}
#-------------------------------------------------------------------------------
# closeJarFile
#
# We're done with this jar file _for this jar.mn_. We may add more entries
# to it later, so keep it open in the hash.
#-------------------------------------------------------------------------------
sub closeJarFile($$)
{
my($jar_path, $jar_hash) = @_;
# print "Closing jar file $jar_path\n";
if ($main::options{jars})
{
}
else
{
# installing files.
# nothing to do
}
}
#-------------------------------------------------------------------------------
# WriteOutJarFiles
#
# Now we dump out the jars
#-------------------------------------------------------------------------------
sub WriteOutJarFiles($$)
{
my($chrome_dir, $jars) = @_;
unless ($main::options{jars}) { return; }
my($full_chrome_path) = Moz::full_path_to($chrome_dir);
my($key);
foreach $key (keys %$jars)
{
my($zip) = $jars->{$key};
my($rel_path) = $key;
$rel_path =~ s/\//:/g;
my($output_path) = $full_chrome_path.":".$rel_path;
print "Writing zip file $key to $output_path\n";
# ensure the target dirs exist
my($path) = $output_path;
$path =~ s/[^:]+$//;
mkpath($path);
# unlink $output_path; # remove any existing jar
safeSaveJarFile($zip, $output_path);
# $zip is invalid after this operation, so nuke it here
$jars->{$key} = 0;
}
}
#-------------------------------------------------------------------------------
# registerChromePackage
#
# Enter a chrome package into the installed-chrome.txt file
#-------------------------------------------------------------------------------
sub registerChromePackage($$$$$$)
{
my($jar_file, $file_path, $chrome_dir, $jar_hash, $chrome_type, $pkg_name) = @_;
my($manifest_subdir) = $jar_file;
$manifest_subdir =~ s/:/\//g;
my($chrome_entry);
if ($main::options{jars}) {
$chrome_entry = "$chrome_type,install,url,jar:resource:/chrome/$manifest_subdir!/$chrome_type/$pkg_name";
} else {
$manifest_subdir =~ s/\.jar$/\//;
$chrome_entry = "$chrome_type,install,url,resource:/chrome/$manifest_subdir/$chrome_type/$pkg_name";
}
# print "Entering $chrome_entry in installed-chrome.txt\n";
# ensure chrome_dir exists
mkpath($chrome_dir);
my($inst_chrome) = ${chrome_dir}.":installed-chrome.txt";
if (open(CHROMEFILE, "<$inst_chrome")) {
while (<CHROMEFILE>) {
chomp;
if ($_ eq $chrome_entry) {
# $chrome_entry already appears in installed-chrome.txt file
# just update the mod date
my $now = time;
utime($now, $now, $inst_chrome) || die "couldn't touch $inst_chrome";
print "+++ updating chrome $inst_chrome\n+++\t\t$chrome_entry\n";
close(CHROMEFILE) || die "error: can't close $inst_chrome: $!";
return 0;
}
}
close(CHROMEFILE) || die "error: can't close $inst_chrome: $!";
}
open(CHROMEFILE, ">>${inst_chrome}") || die "Failed to open $inst_chrome\n";
print(CHROMEFILE "${chrome_entry}\n");
close(CHROMEFILE) || die "Failed to close $inst_chrome\n";
print "+++ adding chrome $inst_chrome\n+++\t\t$chrome_entry\n";
}
#-------------------------------------------------------------------------------
# Create or add to a jar file from a jar.mn file.
# Both arguments are relative to the mozilla root dir.
#
#
#-------------------------------------------------------------------------------
sub CreateJarFromManifest($$$)
{
my($jar_man_path, $dest_path, $jars) = @_;
if ($main::options{jars}) {
print "Jarring from $jar_man_path\n";
} else {
print "Installing files from $jar_man_path\n";
}
$jar_man_path = Moz::full_path_to($jar_man_path);
$dest_path = Moz::full_path_to($dest_path);
# if the jars hash is empty, nuke installed-chrome.txt
if (! scalar(%$jars))
{
print "Nuking installed-chrome.txt\n";
my($installed_chrome) = $dest_path.":installed-chrome.txt";
# unlink $installed_chrome;
}
my $jar_man_dir = "";
my $jar_man_file = "";
if ($jar_man_path =~ /(.+):([^:]+)$/)
{
$jar_man_dir = $1; # no trailing :
$jar_man_file = $2;
}
# Keep a hash of jar files, keyed on relative jar path (e.g. "packages/core.jar")
# Entries are open Archive::Zips (if zipping), and installed-chrome entries.
my($jar_id) = ""; # Current foo/bar.jar from jar.mn file
my($jar_file) = ""; # relative path to jar file (from $dest_path), with mac separators
my($full_jar_path);
open(FILE, "<$jar_man_path") || die "could not open \"$jar_man_path\": $!";
while (<FILE>)
{
my($line) = $_;
chomp($line);
# print "$line\n";
if ($line =~ /^\s*\#.*$/) { # skip comments
next;
}
if ($line =~/^([\w\d.\-\_\\\/]+)\:\s*$/) # line start jar file entries
{
$jar_id = $1;
$jar_file = $jar_id;
$jar_file =~ s|/|:|g; # slash to colons
$full_jar_path = $dest_path.":".$jar_file;
setupJarFile($jar_id, $dest_path, $jars);
}
elsif ($line =~ /^(\+?)\s+([\w\d.\-\_\\\/]+)\s*(\([\w\d.\-\_\\\/]+\))?$\s*/) # jar file entry
{
my($override) = ($1 eq "+");
my($file_dest) = $2;
my($file_src) = $3;
if ($file_src) {
$file_src = substr($file_src, 1, -1); #strip the ()
} else {
$file_src = $file_dest;
}
$file_src =~ s|/|:|g;
if ($jar_file ne "") # if jar is open, add to jar
{
if ($file_dest =~ /([\w\d.\-\_]+)\/([\w\d.\-\_\\\/]+)contents.rdf/)
{
my $chrome_type = $1;
my $pkg_name = $2;
registerChromePackage($jar_file, $file_dest, $dest_path, $jars, $chrome_type, $pkg_name);
}
addToJarFile($jar_id, $jar_man_dir, $file_src, $full_jar_path, $file_dest, $override, $jars);
}
else
{
die "bad jar.mn format at $line\n";
}
}
elsif ($line =~ /^\s*$/ ) # blank line
{
if ($jar_file ne "") #if a jar file is open, close it
{
closeJarFile($full_jar_path, $jars);
$jar_file = "";
$full_jar_path = "";
}
}
}
close(FILE);
if ($jar_file ne "") #if a jar file is open, close it
{
closeJarFile($full_jar_path, $jars);
}
}
1;

View File

@@ -1,146 +0,0 @@
package MozPrefs;
require 5.004;
require Exporter;
# Package that attempts to read a file from the Preferences folder,
# and get build settings out of it
use strict;
use Exporter;
use Mac::Files;
use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(ReadMozUserPrefs);
#-------------------------------------------------------------------------------
#
# GetPrefsFolder
#
#-------------------------------------------------------------------------------
sub GetPrefsFolder()
{
my($prefs_folder) = FindFolder(kOnSystemDisk, kPreferencesFolderType, 1);
return $prefs_folder;
}
#-------------------------------------------------------------------------------
#
# WriteDefaultPrefsFile
#
#-------------------------------------------------------------------------------
sub WriteDefaultPrefsFile($)
{
my($file_path) = @_;
my($file_contents);
$file_contents = <<'EOS';
% You can use this file to customize the Mozilla build system.
% The following kinds of lines are allowable:
% Comment lines, which start with a '%' in the first column
% Lines with modify the default build settings. Examples are:
%
% pull runtime 1 % just pull runtime
% options mng 1 % turn mng on
% build jars 0 % don't build jar files
%
% Note that by default, the scripts have $build{"all"} and $pull{"all"}
% turned on, which overrides other settings. To do partial builds, turn
% these off thus:
% build all 0
%
EOS
$file_contents =~ s/%/#/g;
open(PREFS_FILE, "> $file_path") || die "Could not write default prefs file\n";
print PREFS_FILE ($file_contents);
close(PREFS_FILE);
MacPerl::SetFileInfo("McPL", "TEXT", $file_path);
}
#-------------------------------------------------------------------------------
#
# ReadPrefsFile
#
#-------------------------------------------------------------------------------
sub ReadPrefsFile($$$$)
{
my($file_path, $pull_hash, $build_hash, $options_hash) = @_;
if (open(PREFS_FILE, "< $file_path"))
{
print "Reading build prefs from $file_path\n";
while (<PREFS_FILE>)
{
my($line) = $_;
if ($line =~ /$\#/) { # ignore comments
next;
}
if ($line =~ /$\s*(\w+)\s+(\w+)\s+(\w+)\s*/)
{
my($array_name) = $1;
my($option_name) = $2;
my($option_value) = $3;
if ($array_name eq "pull")
{
$pull_hash->{$option_name} = $option_value;
}
elsif ($array_name eq "build")
{
$build_hash->{$option_name} = $option_value;
}
elsif ($array_name eq "options")
{
$options_hash->{$option_name} = $option_value;
}
else
{
print "Unknown pref option at $line\n";
}
}
}
close(PREFS_FILE);
}
else
{
print "No prefs file found at $file_path; using defaults\n";
WriteDefaultPrefsFile($file_path);
}
}
#-------------------------------------------------------------------------------
#
# ReadMozUserPrefs
#
#-------------------------------------------------------------------------------
sub ReadMozUserPrefs($$$$)
{
my($prefs_file_name, $pull_hash, $build_hash, $options_hash) = @_;
my($prefs_path) = GetPrefsFolder();
$prefs_path .= ":$prefs_file_name";
ReadPrefsFile($prefs_path, $pull_hash, $build_hash, $options_hash);
}
1;

File diff suppressed because it is too large Load Diff

View File

@@ -1,43 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#error "DonÕt use me!"
#define OLDROUTINELOCATIONS 0
#define XP_MAC 1
#define NSPR20 1
#define _NO_FAST_STRING_INLINES_ 1
#define HAVE_BOOLEAN 1
#define NETSCAPE 1
#define OTUNIXERRORS 1 /* We want OpenTransport error codes */
#define OJI 1
/*
This compiles in heap dumping utilities and other good stuff
for developers -- maybe we only want it in for a special SDK
nspr/java runtime(?):
*/
#define DEVELOPER_DEBUG 1
#define MAX(_a,_b) ((_a) < (_b) ? (_b) : (_a))
#define MIN(_a,_b) ((_a) < (_b) ? (_a) : (_b))

View File

@@ -1,54 +0,0 @@
#!perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
# nglayout pull script
#
use Mac::Processes;
use NGLayoutBuildList;
use Cwd;
use Moz;
# configuration variables
$pull{all} = 1;
$pull{moz} = 0;
$pull{runtime} = 0;
if ($pull{all})
{
foreach $k (keys(%pull))
{
$pull{$k} = 1;
}
}
# you should not have to edit anything bellow
chdir("::::");
Moz::StopForErrors();
#Moz::DontStopForErrors();
OpenErrorLog("NGLayoutPullLog");
Checkout();

Binary file not shown.

View File

@@ -1,4 +0,0 @@
This directory is merely here to test the project editor server. It will go away after
it is validated. For more information, see http://camelot.
Testing watchers.

Binary file not shown.

View File

@@ -1 +0,0 @@
// test1.cpp

View File

@@ -1 +0,0 @@
// test2.cpp

Binary file not shown.

View File

@@ -1 +0,0 @@
// test2.cpp

Binary file not shown.

Binary file not shown.

View File

@@ -1,12 +0,0 @@
#include <stdio.h>
#include <ConditionalMacros.h>
int main(int argc, char* argv[])
{
FILE* file = fopen("BuildSystemInfo.pm", "w");
if (file != NULL) {
fprintf(file, "$UNIVERSAL_INTERFACES_VERSION=0x%04X;\n", UNIVERSAL_INTERFACES_VERSION);
fclose(file);
}
}

View File

@@ -1,5 +0,0 @@
- Currently, we do a fairly conservative (--disable a lot) build; find
out what works already.
- More libraries could be put in separate packages, like mailnews and
editor are.

View File

@@ -1,279 +0,0 @@
mozilla (19990716.M8-3) unstable; urgency=low
* Updated with build rules for the new mozilla-provided CVS directory.
* Register as MIME-handler (Close Bug# 42206)
-- Brent A. Fulgham <bfulgham@debian.org> Tue, 3 Aug 1999 09:15:17 -0700
mozilla (19990716.M8-2) unstable; urgency=low
* Added fix for m68k in hashtable function (Res. Bug# 41267)
* More robust /usr/bin/mozilla (Res. Bug# 41912)
* Remove suggestion for obsolete x11amp (Res. Bug# 41181)
-- Brent A. Fulgham <bfulgham@debian.org> Tue, 27 Jul 1999 09:15:17 -0700
mozilla (19990716.M8-1) unstable; urgency=low
* This is SeaMonkey Milestone 8.
-- Brent A. Fulgham <bfulgham@debian.org> Thu, 22 Jul 1999 21:20:10 -0700
mozilla (19990624.M7-1) unstable; urgency=low
* This is SeaMonkey Milestone 7 !
* Removed the so-called upstream changelog (fixes #39307 #39496 #40368).
* Retried building without the static libraries. It actually worked,
after two Makefile.ins backports from M8 :)
-- Josip Rodin <jrodin@jagor.srce.hr> Sat, 3 Jul 1999 14:09:18 +0200
mozilla (19990529.M6-1) unstable; urgency=low
* This is SeaMonkey Milestone 6 !
-- Josip Rodin <jrodin@jagor.srce.hr> Mon, 31 May 1999 20:46:16 +0200
mozilla (19990527-1) unstable; urgency=low
* Another try, the previous one didn't build, stopped in xpidl/build/
* Fresh tarball from the FTP site.
* I'll give up with NO_STATIC_LIB for now, let's just make something.
* First attempt on the editor exclusion (in mozilla-editor package).
-- Josip Rodin <jrodin@jagor.srce.hr> Fri, 28 May 1999 16:08:56 +0200
mozilla (19990526-1) unstable; urgency=low
* New one, this time with .orig.tar.gz cleaned up.
-- Josip Rodin <jrodin@jagor.srce.hr> Thu, 27 May 1999 19:31:13 +0200
mozilla (19990524-1) unstable; urgency=low
* Another new tree, probably the last before M6 releases. Maybe it'll
even build, who knows? ;)
-- Josip Rodin <jrodin@jagor.srce.hr> Tue, 25 May 1999 16:11:57 +0200
mozilla (19990521-1) unstable; urgency=low
* Another try, more testing of --disable-static and some changes to
the rules file. Applied some more recent patches from CVS.
* Build NSPR with pthreads support.
* Building on pandora (fast!), but it'll depend on glibc2.1 :(
-- Josip Rodin <jrodin@jagor.srce.hr> Sun, 23 May 1999 14:10:53 +0200
mozilla (19990518-1) unstable; urgency=low
* Bypassed the dangling symlinks with a "-" :(
* Added some Conflicts/Replaces to libnspr to prevent clashes with the
previous (unreleased) versions of it, 20 and 21.
* Brent decided to split out mailnews from the main package, so it's
now in mozilla-mailnews package. Quite a lot of changes to the rules
and control file. Added appropriate Provides: because of that, so
that's one less TODO item.
-- Josip Rodin <jrodin@jagor.srce.hr> Wed, 19 May 1999 04:10:07 -0700
mozilla (19990515-1) unstable; urgency=low
* Another try. Incorporated some changes as seen in M4's spec file
that was used to build the RPM.
* Fixed debian/control NSPR entries.
-- Josip Rodin <jrodin@jagor.srce.hr> Sun, 16 May 1999 05:30:39 -0700
mozilla (19990513-1) unstable; urgency=low
* Try, try again.
-- Brent A. Fulgham <bfulgham@debian.org> Thu, 13 May 1999 09:50:20 -0700
mozilla (19990510-1) unstable; urgency=low
* A possibly working build from the FTP site, since M5 didn't manage
to build :(
* NSPR renamed to libnspr3{-dev}, as one of the upstream people advised.
-- Josip Rodin <jrodin@jagor.srce.hr> Thu, 13 May 1999 05:08:24 -0700
mozilla (19990505.M5-1) unstable; urgency=low
* This is SeaMonkey Milestone 5 !
* The previous M4 builds didn't work out. This was released on my
birthday, so it could even work ;)
-- Josip Rodin <jrodin@jagor.srce.hr> Mon, 10 May 1999 00:27:47 -0700
mozilla (19990415.M4-2) unstable; urgency=low
* Let's try once again - the previous build was kinda fscked up...
-- Josip Rodin <jrodin@jagor.srce.hr> Sun, 9 May 1999 15:08:39 -0700
mozilla (19990415.M4-1) unstable; urgency=low
* This is SeaMonkey Milestone 4 !
* Massive changes to debian/rules, now it actually works :o)
+ builds in a subdirectory (yipee!)
+ removes unneeded Makefiles
+ installs a proper copyright file
* NSPR renamed to libnspr21{-dev}, thought I'm not sure it is the
real version... we still have to hardcode the dependency :(
-- Josip Rodin <jrodin@jagor.srce.hr> Tue, 4 May 1999 01:41:22 -0700
mozilla (19990410-1) unstable; urgency=low
* Let's try this snapshot from FTP... I modified the debian/rules file
a bit.
-- Josip Rodin <jrodin@jagor.srce.hr> Sat, 10 Apr 1999 19:17:59 -0700
mozilla (19990402-1) unstable; urgency=low
* New CVS pull. First attempt at mail and editor support.
-- Brent A. Fulgham <bfulgham@debian.org> Fri, 2 Apr 1999 09:15:22 -0800
mozilla (19990331-1) unstable; urgency=low
* New build, using automated script to grab the latest stable
branch from CVS.
-- Brent A. Fulgham <bfulgham@debian.org> Wed, 31 Mar 1999 14:58:40 -0800
mozilla (19990326-1) unstable; urgency=low
* Updated to fix library so-name and shlibdepends problem.
* Current CVS pull
* Double-double check that debugging is turned off.
-- Brent A. Fulgham <bfulgham@debian.org> Fri, 26 Mar 1999 09:31:45 -0800
mozilla (19990325-1) unstable; urgency=low
* Updated for fix to (hopefully) stop segfault problem.
-- Brent A. Fulgham <bfulgham@debian.org> Thu, 25 Mar 1999 12:58:18 -0800
mozilla (19990323-1) unstable; urgency=low
* This is a test release using CVS snapshots
* Continuing to use Ray's debian/ dir (thanks again!).
* Change moz-wrapper to use "apprunner" instead of the viewer (viewer is just
a test application.
* Whoo-hoo -- it's running!
-- Brent A. Fulgham <bfulgham@debian.org> Tue, 23 Mar 1999 14:25:07 -0800
mozilla (19990317-1) unstable; urgency=low
* This is a test release done just to get things moving.
* Built on va from a snapshot, using Ray's debian/ dir (thanks!).
-- Josip Rodin <jrodin@jagor.srce.hr> Sun, 21 Mar 1999 15:37:16 -0800
mozilla (19981211-0.1) unstable; urgency=low
* UNRELEASED
* UNFINISHED. TODO:
* Check we're not compiling -DDEVELOPER_DEBUG.
* Ensure nsprpub/config/UNIX.mk doesn't get a hardwired x86 reference.
* Remove the ?widgets/src/gdk/depend.mk? as part of clean.
* Remove the autogenerated files of htmlparser/src.
* ~/.mozilla -> ~/.netscape fixes bug #?????.
* Non-maintainer upload.
* New upstream tarball:
* Includes glibc2.1 patches.
* Configuration dir is now ~/.mozilla rather than ~/.netscape.
* Default widget set has switched from Motif to Gtk. The Gtk version
needed is newer than the one in frozen, so this for unstable only.
* Moved libnspr into packages of its own (as non-mozilla software like
Japhar uses it) and made mozilla depend on the runtime library package.
* Removed YAFHintel (thanks to John Goerzen for reminding me).
* [nsprpub/config/rules.mk] Use standard naming of shared library files
and SONAMEs.
* Make sure mozilla gets linked against the system libjpeg, libpng,
libz and libxmltok1 (Fixes #30306).
-- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Sun, 10 Jan 1999 20:02:19 +0100
mozilla (19981008-0.1) frozen unstable; urgency=low
* Non-maintainer upload.
* New upstream tarball.
* Adapted build process to it (nspr doesn't use autoconf and needs to be
built before the regular autoconf build).
* Built with fixed libc6 (and other fixed libs), so it works again.
* Updated Standards-Version.
* [config/Linux.mk] Added EXTRA_DSO_LDOPTS = -lc to add dependency
information to the shared libraries generated.
* [nsprlib/config/Linux.mk] Added OS_LIBS = -lc to add dependency
information to the shared libraries generated.
-- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Sat, 28 Nov 1998 18:29:06 +0100
mozilla (19980904-1) unstable; urgency=low
* Non-maintainer upload: this package has been orphaned.
* Used latest snapshot tarball; as no real mozilla releases have been made
so far, we use the snapshot date for the version number.
* Previous versions were accidentally built as "Debian only" source.
* Updated Standards-Version.
* Adapted to current mozilla source organisation and build process.
* LessTif version, so mozilla can go in main.
* Improved package relationships:
* Added Provides: www-browser .
* Added Recommends: mime-support .
* Added Suggest dependency for postscript-viewer, pdf-viewer, images
formats viewers, video formats viewers and audio formats players.
* Added mozilla(1) -> unknown(7) manpage symlink.
-- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Thu, 10 Sep 1998 21:58:26 +0200
mozilla (5.0b1-2) unstable; urgency=low
* Made mozilla-smotif and mozilla-dmotif conflict with and replace each
other; both now provide mozilla, so that we can cope with a lesstif
version when there is one.
* Put packages in contrib and added a README.contrib-only file to explain
why.
* Tweaked ns/cmd/xfe/Makefile to force a build of the dynamic Motif version.
My previous change to this had made both versions dynamically linked to
Motif. With no change at all, both versions were statically linked.
-- Oliver Elphick <Oliver.Elphick@lfix.co.uk> Wed, 8 Apr 1998 13:17:10 +0100
mozilla (5.0b1-1) unstable; urgency=low
* Linked with Motif 2.1 and libc6
* Modified ns/cmd/xfe/Makefile to force it to build a version dynamically
linked to Motif.
* Created -smotif and -dmotif packages.
* New Maintainer
-- Oliver Elphick <Oliver.Elphick@lfix.co.uk> Tue, 7 Apr 1998 11:25:16 +0100
mozilla (5.0b1-0.0) unstable; urgency=low
* First release.
* I don't intend to maintain this package becuase:
1. I don't have a libc6 motif (this is built with a libc5 motif, though
the package only depends on libc6 and it works ok). Ideally, the
maintainer should have libc6 motif.
2. I don't have enough disk space, cpu time, bandwidth, or free time to
maintain it.
So this is just a quickie to get the package out. Somebody else should
take it from here.
* Applied some minor fixes to make it work. In particular, cmd/xfe/foo.c
is a nasty hack to define a symbol that my motif libs needed.
-- Joey Hess <joeyh@master.debian.org> Tue, 31 Mar 1998 16:43:55 -0800
Local variables:
mode: debian-changelog
End:

View File

@@ -1,101 +0,0 @@
Source: mozilla
Section: net
Priority: optional
Maintainer: Debian Mozilla maintainers <mozilla@packages.debian.org>
Standards-Version: 2.5.1
Package: mozilla
Architecture: any
Depends: ${shlibs:Depends}, libnspr3
Recommends: mime-support
Suggests: postscript-viewer, pdf-viewer, eeyes | imagemagick | netpbm | xli | xloadimage | xv, xanim | ucbmpeg-play, freeamp | amp | splay | maplay | mpg123 | xmms
Conflicts: mozilla-dmotif, mozilla-smotif
Replaces: mozilla-dmotif, mozilla-smotif
Provides: www-browser
Description: An Open Source WWW browser for X and GTK+
Mozilla is a sophisticated graphical World-Wide-Web browser, with large
number of various browser features like support for HTML 4.0, CSS 2,
JavaScript and Java. Of course, besides the network option, it can also
be used as a standalone HTML viewer.
.
Mozilla is based on part of the codebase of the well known "netscape"
("communicator" or "navigator") browser. It was opened up to the Open
Source (TM) community by Netscape Communications under a new NPL licence.
.
See the website http://www.mozilla.org/ for more information on the
development of mozilla.
Package: mozilla-mailnews
Architecture: any
Depends: mozilla (= ${Source-Version}), libnspr3
Recommends: mime-support
Suggests: mail-transport-agent
Provides: mail-reader, imap-client, news-reader
Description: An Open Source WWW browser for X and GTK+, mail and news files
Mozilla is a sophisticated graphical World-Wide-Web browser, with large
number of various browser features like support for HTML 4.0, CSS 2,
JavaScript and Java. Of course, besides the network option, it can also
be used as a standalone HTML viewer.
.
Mozilla is based on part of the codebase of the well known "netscape"
("communicator" or "navigator") browser. It was opened up to the Open
Source (TM) community by Netscape Communications under a new NPL licence.
.
See the website http://www.mozilla.org/ for more information on the
development of mozilla.
Package: mozilla-editor
Architecture: any
Depends: mozilla (= ${Source-Version}), libnspr3
Suggests: httpd
Description: An Open Source WWW browser for X and GTK+, editor files
Mozilla is a sophisticated graphical World-Wide-Web browser, with large
number of various browser features like support for HTML 4.0, CSS 2,
JavaScript and Java. Of course, besides the network option, it can also
be used as a standalone HTML viewer.
.
Mozilla is based on part of the codebase of the well known "netscape"
("communicator" or "navigator") browser. It was opened up to the Open
Source (TM) community by Netscape Communications under a new NPL licence.
.
See the website http://www.mozilla.org/ for more information on the
development of mozilla.
Package: libnspr3
Section: libs
Architecture: any
Depends: ${shlibs:Depends}
Conflicts: libnspr20, libnspr21
Replaces: libnspr20, libnspr21
Description: Netscape Portable Runtime library
This library provides platform independent non-GUI operating system
facilities including:
* threads,
* thread synchronisation,
* normal file I/O and network I/O,
* interval timing and calender time,
* basic memory management (malloc and free),
* shared library linking.
.
See http://www.mozilla.org/docs/refList/refNSPR/ for more information.
Package: libnspr3-dev
Section: libs
Architecture: any
Depends: libc6-dev, xlib6g-dev, libnspr3 (= ${Source-Version})
Conflicts: libnspr20-dev, libnspr21-dev
Replaces: libnspr20-dev, libnspr21-dev
Description: Netscape Portable Runtime library - development files
NSPR provides platform independence for non-GUI operating system
facilities including:
* threads,
* thread synchronisation,
* normal file I/O and network I/O,
* interval timing and calender time,
* basic memory management (malloc and free),
* shared library linking.
.
See http://www.mozilla.org/docs/refList/refNSPR/ for more information.
.
You need this package to get includes and static libraries for building
programs linked to NSPR.

View File

@@ -1,13 +0,0 @@
This package was originally put together by Joey Hess <joeyh@debian.org>.
People who contributed were: Oliver Elphick, J.H.M. Dassen (Ray),
Josip Rodin, Brent Fulgham.
Today, package is maintained by the maintenance team which consists
of Josip Rodin and Brent Fulgham, at <mozilla@packages.debian.org>.
Original source can be found at:
ftp://ftp.mozilla.org/pub/mozilla/releases/
ftp://ftp.mozilla.org/pub/mozilla/nightly/
The following copyright (from ../LICENCE) applies to this package:

View File

@@ -1,5 +0,0 @@
mozilla_19990716.M8-3_i386.deb net optional
mozilla-mailnews_19990716.M8-3_i386.deb net optional
mozilla-editor_19990716.M8-3_i386.deb net optional
libnspr3_19990716.M8-3_i386.deb libs optional
libnspr3-dev_19990716.M8-3_i386.deb libs optional

View File

@@ -1,4 +0,0 @@
usr/lib
usr/include/nspr
usr/doc

View File

@@ -1,2 +0,0 @@
usr/lib
usr/doc

View File

@@ -1,6 +0,0 @@
#! /bin/sh
set -e
if [ "$1" = "configure" ]; then
ldconfig
fi

View File

@@ -1,3 +0,0 @@
libnspr3 libnspr3
libplc3 libnspr3
libplds3 libnspr3

View File

@@ -1 +0,0 @@
shlibs:Depends=libc6 (>= 2.1)

View File

@@ -1,2 +0,0 @@
?package(mozilla):needs="x11" section="Apps/Net" \
title="Mozilla Navigator" command="mozilla"

View File

@@ -1,4 +0,0 @@
usr/lib/mozilla
usr/lib/mozilla/components
usr/lib/mozilla/chrome/editor
usr/doc

View File

@@ -1,2 +0,0 @@
usr/lib/mozilla/components/libeditor.so
usr/lib/mozilla/chrome/editor

View File

@@ -1 +0,0 @@
shlibs:Depends=libc6 (>= 2.1), libstdc++2.9-glibc2.1

View File

@@ -1,9 +0,0 @@
usr/lib/mozilla
usr/lib/mozilla/chrome
usr/lib/mozilla/chrome/addressbook
usr/lib/mozilla/chrome/messenger
usr/lib/mozilla/chrome/messengercompose
usr/lib/mozilla/components
usr/lib/mozilla/res
usr/lib/mozilla/res/mailnews
usr/doc

View File

@@ -1,15 +0,0 @@
usr/lib/mozilla/libmsgbaseutil.so
usr/lib/mozilla/chrome/addressbook
usr/lib/mozilla/chrome/messenger
usr/lib/mozilla/chrome/messengercompose
usr/lib/mozilla/components/addrbook.xpt
usr/lib/mozilla/components/libaddrbook.so
usr/lib/mozilla/components/liblocalmail.so
usr/lib/mozilla/components/libmailnews.so
usr/lib/mozilla/components/libmime*.so
usr/lib/mozilla/components/libmork.so
usr/lib/mozilla/components/libmsg*.so
usr/lib/mozilla/components/libvcard.so
usr/lib/mozilla/components/mailnews.xpt
usr/lib/mozilla/components/msg*.xpt
usr/lib/mozilla/res/mailnews

View File

@@ -1 +0,0 @@
shlibs:Depends=libc6 (>= 2.1), libstdc++2.9-glibc2.1

View File

@@ -1,6 +0,0 @@
usr/bin
usr/lib/mozilla
usr/lib/mozilla/chrome
usr/lib/mozilla/components
usr/lib/mozilla/res
usr/doc/mozilla

View File

@@ -1,2 +0,0 @@
text/html; /usr/bin/mozilla %s; description=HTML Text; nametemplate=%s.html; priority=3

View File

@@ -1,6 +0,0 @@
# Automatically added by dh_installmime
if [ -x /usr/sbin/update-mime ]; then update-mime; fi
# End automatically added section
# Automatically added by dh_installmenu
if test -x /usr/bin/update-menus ; then update-menus ; fi
# End automatically added section

View File

@@ -1,6 +0,0 @@
# Automatically added by dh_installmime
if [ -x /usr/sbin/update-mime ]; then update-mime; fi
# End automatically added section
# Automatically added by dh_installmenu
if test -x /usr/bin/update-menus ; then update-menus ; fi
# End automatically added section

View File

@@ -1,117 +0,0 @@
#!/usr/bin/make -f
# Derived from debhelper/dh_make example.
#export DH_VERBOSE=1
# Set by configure (plus USE_AUTOCONF=1), but useful for NSPR
export MOZILLA_CLIENT=1
export BUILD_OPT=1
export NO_STATIC_LIB=1
# untested upstream - export USE_IPV6=$(shell cpp debian/testipv6 | sh -)
export USE_PTHREADS=1
nspr = libnspr3
nsprdev = libnspr3-dev
mailnews = mozilla-mailnews
editor = mozilla-editor
TOP=..
build: build-stamp
build-stamp:
dh_testdir
test -d build-nspr || mkdir build-nspr
test -s build-nspr/lib/$(nspr).so || $(MAKE) -C nsprpub DIST=`pwd`/build-nspr
test -d obj-`./build/autoconf/config.guess` || mkdir obj-`./build/autoconf/config.guess`
cd obj-`./build/autoconf/config.guess` && \
LD_LIBRARY_PATH=`cd ..;pwd`/build-nspr/lib \
$(TOP)/configure --verbose --prefix=/usr \
--disable-debug --disable-profile --disable-crypto \
--disable-netcast --disable-java --disable-oji --disable-static \
--disable-tests --disable-smart-mail --enable-mailnews \
--enable-editor --enable-ldap --enable-optimize --with-pthreads \
--with-jpeg=/usr/include --with-png=/usr/include \
--with-zlib=/usr/include --with-nspr=`cd $(TOP);pwd`/build-nspr
cd obj-`./build/autoconf/config.guess` && LD_LIBRARY_PATH=`cd $(TOP);pwd`/build-nspr/lib $(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp install-stamp
-cd nsprpub ; $(MAKE) realclean
rm -rf build-nspr obj-`./build/autoconf/config.guess`
# find . -type f -name Makefile ! -path '*nsprpub*' | xargs -r rm
dh_clean
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs -a
cp -pR build-nspr/lib/*.so* `pwd`/debian/$(nspr)/usr/lib
cd `pwd`/debian/$(nspr)/usr/lib ; /sbin/ldconfig -n .
# cd `pwd`/debian/$(nspr)/usr/lib ; for i in * ; do ln -s $$i $$i.0 ; done
cp -pR build-nspr/include/* `pwd`/debian/$(nsprdev)/usr/include/nspr
cp -pR build-nspr/lib/*.a `pwd`/debian/$(nsprdev)/usr/lib
# this may fail, but who cares
-cp -pR obj-`./build/autoconf/config.guess`/dist/bin/* `pwd`/debian/tmp/usr/lib/mozilla
install -m 755 `pwd`/debian/runner `pwd`/debian/tmp/usr/bin/mozilla
# # Okay, lets move a bunch of mail-news stuff to its own place
# Note: We have to cd and set sourcedir because the debian directory
# now lives in mozilla/build/package and dh_movefiles won't work
# across the symlink.
cd `pwd`/build/package; \
dh_movefiles --sourcedir=debian/tmp -a
touch install-stamp
binary-indep: build
# We have nothing to do by default, no architecture-independent files here.
binary-arch: build install
dh_testdir -a
dh_testroot -a
cd debian/ ; cat copyright.short > copyright
cat LICENSE >> debian/copyright
dh_installdocs -pmozilla LEGAL
dh_installdocs -p$(nspr)
dh_installmime -pmozilla
rm debian/copyright
# dh_installexamples `find -name '*.ad'`
dh_installmenu -pmozilla
# Running this is a baaad idea.
# dh_installmanpages
dh_undocumented -pmozilla mozilla.1
dh_installchangelogs -pmozilla
dh_installchangelogs -p$(nspr)
cd `pwd`/debian/$(nsprdev)/usr/doc ; ln -s /usr/doc/$(nspr) ./$(nsprdev)
cd `pwd`/debian/$(mailnews)/usr/doc ; ln -s /usr/doc/mozilla ./$(mailnews)
cd `pwd`/debian/$(editor)/usr/doc ; ln -s /usr/doc/mozilla ./$(editor)
dh_strip -a
dh_compress -a
dh_fixperms -a
dh_installdeb -a
cd debian ; cat $(nspr).shlibs > shlibs.local
env LD_LIBRARY_PATH=`pwd`/debian/$(nspr)/usr/lib:`pwd`/debian/tmp/usr/lib/mozilla \
dh_shlibdeps -pmozilla -plibnspr3 -p$(mailnews) -p$(editor)
rm -f debian/shlibs.local
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
source diff:
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary # quicktest make

View File

@@ -1,20 +0,0 @@
#!/bin/sh
# A simple script to start mozilla.
MOZILLA_DIR=/usr/lib/mozilla
# Check for a $HOME/.mozilla directory. If it doesn't exist, create a GOOD one
if [ ! -d $HOME/.mozilla ]
then
cd $HOME
mkdir .mozilla
for file in $MOZILLA_DIR/*; do
if [ `basename $file` != component.reg ]; then
ln -s $file $HOME/.mozilla
fi
done
fi
export LD_LIBRARY_PATH=$MOZILLA_DIR MOZILLA_FIVE_HOME=$HOME/.mozilla
exec $MOZILLA_DIR/apprunner "$@"

View File

@@ -1 +0,0 @@
shlibs:Depends=libc6 (>= 2.1), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.3-2), libjpeg62, libpng2, libstdc++2.9-glibc2.1, orbit (>= 0.4.3-1), xlib6g (>= 3.3.3.1-1), zlib1g (>= 1:1.1.3)

View File

@@ -1,8 +0,0 @@
#include <features.h>
#if defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC__ + __GLIBC_MINOR__ >= 3)
/* For IPv6 support, glibc2.1 or newer is required */
echo 1
#else
/* Sorry, no IPv6 support */
echo 0
#endif

View File

@@ -1,252 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
# The way this thing works:
#
# + A packages file is parsed. This file contains something
# that looks like this (note that spaces are illegal):
#
# +----------------------------------------------
# |nspr:nsprpub
# |core:build,db,xpcom,intl,js,modules/libutil,modules/security/freenav,modules/libpref,modules/libimg,modules/libjar,caps
# |network:netwerk
# |layout:htmlparser,gfx,dom,view,widget/timer,widget,layout,webshell,editor,modules/plugin
# |xpinstall:xpinstall
# |profile:profile
# |xptoolkit:xpfe,rdf
# |cookie:extensions/cookie
# |wallet:extensions/wallet
# |mailnews:mailnews
# +----------------------------------------------
#
# + For each package, a list of modules corresponding to that
# package is parsed. Each modules corresponds to a
# directory somewhere in a mozilla build tree - usually
# the toplevel ones (ie, layout, nsprpub, xpcom) but not
# always (ie, extensions/wallet)
#
# + For each module, print-module-filelist.sh is invoked.
# The output of that is parsed and converted from the
# crazy mozilla install hierarchy to something that
# makes sense on a linux box.
#
# For example:
#
# bin/components/libraptorhtml.so
#
# becomes
#
# %{prefix}/lib/mozilla/components/libraptorhtml.so
#
# + Also, this script determines which files belong in
# a devel package. For example, "include/*" and "idl/*"
name=generate-package-info.sh
if [ $# -lt 4 ]
then
echo
echo "Usage: $name package-list module-list-dir outdir mozdir"
echo
exit 1
fi
package_list=$1
module_list_dir=$2
outdir=$3
mozdir=$4
if [ ! -f $package_list ]
then
echo
echo "$name: Cant access package file $package_list."
echo
exit 1
fi
if [ ! -d $module_list_dir ]
then
echo
echo "$name: Cant access module list dir $package_list."
echo
exit 1
fi
if [ ! -d $outdir ]
then
echo
echo "$name: Cant access outdir $outdir."
echo
exit 1
fi
if [ ! -d $mozdir ]
then
echo
echo "$name: Cant access mozdir $mozdir."
echo
exit 1
fi
rm -rf $outdir/*
packages=`cat $package_list | grep -v -e "^#.*$" | grep -v -e "^[ \t]*$"`
for p in $packages
do
package=`echo $p | awk -F":" '{ print $1; }'`
modules=`echo $p | awk -F":" '{ print $2; }' | tr "," " "`
file_list=$outdir/mozilla-$package-file-list.txt
file_list_devel=$outdir/mozilla-$package-devel-file-list.txt
tmp_raw=/tmp/raw-list.$$.tmp
tmp_file_list=/tmp/file-list.$$.tmp
tmp_file_list_devel=/tmp/file-list-devel.$$.tmp
tmp_dir_list=/tmp/dir-list.$$.tmp
tmp_dir_list_devel=/tmp/dir-list-devel.$$.tmp
# echo "package=$package"
# echo "modules=$modules"
# echo "file_list=$file_list"
# echo "file_list_devel=$file_list_devel"
# echo "#################"
rm -f $tmp_raw $file_list $file_list_devel
rm -f $tmp_file_list $tmp_file_list_devel
rm -f $tmp_dir_list $tmp_dir_list_devel
touch $tmp_raw $file_list $file_list_devel
touch $tmp_file_list $tmp_file_list_devel
touch $tmp_dir_list $tmp_dir_list_devel
print_cmd=$mozdir/build/package/rpm/print-module-filelist.sh
here=`pwd`
# Write the raw file list
for m in $modules
do
cd $mozdir/$m
$print_cmd >> $tmp_raw
done
cd $here
# Munge the raw list into the file list
for i in `cat $tmp_raw`
do
prefix=`echo $i | awk -F"/" '{ print $1; }'`
case "$prefix"
in
# dirs
DIR:*)
dir=`echo $i | cut -b5-`
case "$dir"
in
include*)
echo $dir >> $tmp_dir_list_devel
;;
*)
prefix2=`echo $dir | awk -F"/" '{ print $2; }'`
case "$prefix2"
in
# Cut out the "bin/" from these
res|chrome|defaults)
echo $dir | cut -b5- >> $tmp_dir_list
;;
esac
;;
esac
;;
##
## XXX: This one needs to be smarter and catch more devel only
## stuff. For example, the gecko viewer and all its resources
## should go in the devel package. This would in turn make the
## regular package smaller.
##
# include, idl, lib
include|idl|lib)
echo $i >> $tmp_file_list_devel
;;
# bin the evil
bin)
prefix2=`echo $i | awk -F"/" '{ print $2; }'`
case "$prefix2"
in
# Cut out the "bin/" from these
components|res|chrome|defaults|netscape.cfg)
echo $i | cut -b5- >> $tmp_file_list
;;
# whatever else in "bin/"
*)
# Move special files in "bin/" around
base=`basename $i`
case "$base"
in
# Mozilla brillantly puts .so files in "bin/" bleh
*.so)
echo "lib/$base" >> $tmp_file_list
;;
*)
echo $i >> $tmp_file_list
;;
esac
;;
esac
;;
# whatever else
*)
echo $i >> $tmp_file_list
;;
esac
done
# Spit out sorted file lists
cat $tmp_dir_list | sort | uniq | awk '{ printf("%%dir %%{prefix}/lib/mozilla/%s\n" , $0); }' >> $file_list
cat $tmp_file_list | sort | uniq | awk '{ printf("%%{prefix}/lib/mozilla/%s\n" , $0); }' >> $file_list
cat $tmp_dir_list_devel | sort | uniq | awk '{ printf("%%dir %%{prefix}/lib/mozilla/%s\n" , $0); }' >> $file_list_devel
cat $tmp_file_list_devel | sort | uniq | awk '{ printf("%%{prefix}/lib/mozilla/%s\n" , $0); }' >> $file_list_devel
# Cleanup
rm -f $tmp_raw $tmp_file_list $tmp_file_list_devel $tmp_dir_list $tmp_dir_list_devel
done

View File

@@ -1,125 +0,0 @@
#!/bin/sh
# A hack to make mozilla rpms in place.
here=`pwd`
if [ ! -d ./mozilla ]
then
printf "\n\nDude, you have to be on the root of the mozilla cvs tree.\n\n"
exit 1
fi
rpm_place=$here/rpm_on_demand_dir
rm -rf $rpm_place
mkdir -p $rpm_place
mkdir -p $rpm_place/tarball
mkdir -p $rpm_place/home
mkdir -p $rpm_place/topdir
mkdir -p $rpm_place/topdir/BUILD
mkdir -p $rpm_place/topdir/RPMS
mkdir -p $rpm_place/topdir/RPMS/i386
mkdir -p $rpm_place/topdir/RPMS/noarch
mkdir -p $rpm_place/topdir/SOURCES
mkdir -p $rpm_place/topdir/SPECS
mkdir -p $rpm_place/topdir/SRPMS
_top_dir=$rpm_place/topdir
_spec_dir=$_top_dir/SPECS
_sources_dir=$_top_dir/SOURCES
_rpms_dir=$_top_dir/RPMS
_home=$rpm_place/home
_rpm_macros=$_home/.rpmmacros
_tarball_dir=$rpm_place/tarball
#_spec_file=$here/build/package/rpm/mozilla.spec
##
## Setup a phony topdir for the phony rpm macros file
##
echo "%_topdir $_top_dir" >> $_rpm_macros
##
## Make a tarball of the beast
##
cd $_tarball_dir
cvs co mozilla/client.mk
make -f mozilla/client.mk pull_all
tar vzcf mozilla-source.tar.gz mozilla
#XXXX YANK
#cp /tmp/mozilla-source.tar.gz .
#XXXX YANK
tarball=`/bin/ls -1 mozilla*.tar.gz | head -1`
if [ ! -f $tarball ]
then
printf "\n\nDude, failed to make mozilla tarball.\n\n"
exit 1
fi
# Put the tarball in the SOURCES dir
mv -f $tarball $_sources_dir
printf "\n\nMozilla tarball = %s\n\n" $_sources_dir/$tarball
# Find the spec file from the rpm
spec_in_rpm=`tar tzvf $_sources_dir/$tarball |grep -w "mozilla\.spec$" | awk '{ print $6; }'`
printf "\n\nspec_in_rpm=%s\n\n" $spec_in_rpm
# Extract the spec file from the tarball
spec_in_rpm_dir=`echo $spec_in_rpm | awk -F"/" '{ print $1; }'`
printf "\n\nspec_in_rpm_dir=%s\n\n" $spec_in_rpm_dir
tar zvxf $_sources_dir/$tarball $spec_in_rpm
#_spec_file=`/bin/ls -1 $spec_in_rpm_dir | grep "\.spec$" | head -1`
#printf "\n\n_spec_file=%s\n\n" $_spec_file
if [ ! -f $spec_in_rpm ]
then
printf "\n\nFailed to extract spec file from tarball.\n\n"
exit 1
fi
# Put the spec file in SPECS
#cp $spec_in_rpm $_spec_dir
#XXXX YANK
cp /tmp/mozilla.spec $_spec_dir
#XXXX YANK
HOME=$_home rpm -ba $_spec_dir/mozilla.spec # > /dev/null 2>&1
if [ $? -eq 0 ]
then
mkdir -p $rpm_place/RPMS
cp $_rpms_dir/i386/*.rpm $rpm_place/RPMS/
last=`/bin/ls -lt1 $rpm_place/RPMS|head -1`
echo "New RPM written to RPMS/$last"
else
echo "Failed to build the rpm. Check the spec file."
fi
echo
cd $rpm_place
# Cleanup
rm -rf $rpm_place/topdir $rpm_place/home

View File

@@ -1,133 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
##
## Usage:
##
## $ mozilla
##
## This script is meant to run a mozilla program from the mozilla
## rpm installation.
##
## The script will setup all the environment voodoo needed to make
## mozilla work.
##
## Standard shell script disclaimer blurb thing:
##
## This script is a hcak. Its brute force. Its horrible.
## It doesnt use Artificial Intelligence. It doesnt use Virtual Reality.
## Its not perl. Its not python. It probably wont work unchanged on
## the "other" thousands of unices. But it worksforme.
##
## If you have an improvement, patch, idea, whatever, on how to make this
## script better, post it here:
##
## news://news.mozilla.org/netscape.public.mozilla.patches
## news://news.mozilla.org/netscape.public.mozilla.unix
##
##
##
## Potential improvements:
##
## + Run ldd on the program and report missing dlls
## + All the "other" unices/packages
##
cmdname=`basename $0`
##
## location of the apprunner binary.
##
MOZ_APPRUNNER_NAME="/usr/lib/mozilla/bin/apprunner"
##
## Variables
##
MOZ_DIST_BIN=""
MOZ_PROGRAM=""
##
## Functions
##
moz_bail()
{
message=$1
echo
echo "$cmdname: $message"
echo
exit 1
}
moz_test_binary()
{
binary=$1
if [ -f "$binary" ]
then
if [ -x "$binary" ]
then
return 1
fi
fi
return 0
}
moz_test_binary $MOZ_APPRUNNER_NAME
if [ $? -eq 1 ]
then
MOZ_PROGRAM=$MOZ_APPRUNNER_NAME
fi
##
## Make sure the program is executable
##
if [ ! -x $MOZ_PROGRAM ]
then
moz_bail "Cannot execute $MOZ_PROGRAM."
fi
##
## Set MOZILLA_FIVE_HOME
##
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
export MOZILLA_FIVE_HOME
##
## Set LD_LIBRARY_PATH
##
if [ "$LD_LIBRARY_PATH" ]
then
LD_LIBRARY_PATH=/usr/lib/mozilla/lib:$LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=/usr/lib/mozilla/lib
fi
export LD_LIBRARY_PATH
exec $MOZ_PROGRAM ${1+"$@"}

View File

@@ -1,10 +0,0 @@
nspr:nsprpub
core:build,db,xpcom,intl,js,modules/libutil,modules/security/freenav,modules/libpref,modules/libimg,modules/libjar,caps
network:netwerk
layout:htmlparser,gfx,dom,view,widget/timer,widget,layout,webshell,editor,modules/plugin
xpinstall:xpinstall
profile:profile
xptoolkit:xpfe,rdf
cookie:extensions/cookie
wallet:extensions/wallet
mailnews:mailnews

View File

@@ -1,115 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
##
## Usage:
##
## $ mozilla
##
## This script is meant to run a mozilla program from the mozilla
## rpm installation.
##
## The script will setup all the environment voodoo needed to make
## mozilla work.
##
## Standard shell script disclaimer blurb thing:
##
## This script is a hcak. Its brute force. Its horrible.
## It doesnt use Artificial Intelligence. It doesnt use Virtual Reality.
## Its not perl. Its not python. It probably wont work unchanged on
## the "other" thousands of unices. But it worksforme.
##
## If you have an improvement, patch, idea, whatever, on how to make this
## script better, post it here:
##
## news://news.mozilla.org/netscape.public.mozilla.patches
## news://news.mozilla.org/netscape.public.mozilla.unix
##
##
##
## Potential improvements:
##
## + Run ldd on the program and report missing dlls
## + All the "other" unices/packages
##
cmdname=`basename $0`
##
## location of the viewer binary.
##
MOZ_VIEWER_NAME="/usr/lib/mozilla/bin/viewer"
##
## Variables
##
MOZ_PROGRAM=""
##
## Functions
##
moz_bail()
{
message=$1
echo
echo "$cmdname: $message"
echo
exit 1
}
moz_test_binary()
{
binary=$1
if [ -f "$binary" ]
then
if [ -x "$binary" ]
then
return 1
fi
fi
return 0
}
MOZ_PROGRAM=$MOZ_APPRUNNER_NAME
moz_test_binary $MOZ_PROGRAM
if [ $? -eq 0 ]
then
moz_bail "Cannot execute $MOZ_PROGRAM."
fi
##
## Set MOZILLA_FIVE_HOME
##
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
export MOZILLA_FIVE_HOME
exec $MOZ_PROGRAM ${1+"$@"}

View File

@@ -1,410 +0,0 @@
Summary: Mozilla and stuff
Name: mozilla
Version: 666
Release: 0
Serial: 0
Copyright: NPL/MPL
Group: Mozilla
Source0: ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-source.tar.gz
#Source0: ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-binary.tar.gz
Buildroot: /var/tmp/mozilla-root
Prefix: /usr
Requires: gtk+ >= 1.2.4
#
# TODO: lots of stuff
#
# + Add nice summary and description entries
#
# + Make sure the requires entries make sense
#
# + Add more packages for other mozilla extensions (for instance: irc)
#
# + Remove and/or combine the current packages that make more sense
#
# + mozilla-xpcom package ?
#
# + should nspr be its own package ?
#
# + it is probably a good idea to have a mozilla-browser package
# instead of mozilla-xptoolkit
#
# + the mozilla-xpinstall package obviously doesnt make sense -
# its there for show
#
# + a lot of stuff is dumped into the default package that
# should really be in the devel package. For example the
# gecko viewer and all its tests.
#
# For the code that determines what goes where, see:
#
# mozilla/build/package/rpm/print-module-filelist.sh
# mozilla/build/package/rpm/generate-package-info.sh
#
#Exclusivearch: i386
%description
Mozilla is the king of all beasts - big badass Beasts.
%package nspr
Summary: mozilla-nspr
Group: Mozilla
%description nspr
mozilla-nspr
%package nspr-devel
Requires: mozilla-nspr
Summary: mozilla-nspr-devel
Group: Mozilla
%description nspr-devel
mozilla-nspr devel
%package core
Summary: mozilla-core
Group: Mozilla
Requires: mozilla-nspr
%description core
mozilla-core
%package core-devel
Requires: mozilla-core
Summary: mozilla-core-devel
Group: Mozilla
Requires: mozilla-nspr-devel
%description core-devel
mozilla-core devel
%package network
Summary: mozilla-network
Group: Mozilla
Requires: mozilla-core
%description network
mozilla-network
%package network-devel
Requires: mozilla-network
Summary: mozilla-network-devel
Group: Mozilla
Requires: mozilla-core-devel
%description network-devel
mozilla-network devel
%package layout
Summary: mozilla-layout
Group: Mozilla
Requires: mozilla-network
%description layout
mozilla-layout
%package layout-devel
Requires: mozilla-layout
Summary: mozilla-layout-devel
Group: Mozilla
Requires: mozilla-network-devel
%description layout-devel
mozilla-layout devel
%package xpinstall
Summary: mozilla-xpinstall
Group: Mozilla
Requires: mozilla-layout
%description xpinstall
mozilla-xpinstall
%package xpinstall-devel
Requires: mozilla-xpinstall
Summary: mozilla-xpinstall-devel
Group: Mozilla
Requires: mozilla-layout-devel
%description xpinstall-devel
mozilla-xpinstall devel
%package profile
Summary: mozilla-profile
Group: Mozilla
Requires: mozilla-layout
%description profile
mozilla-profile
%package profile-devel
Requires: mozilla-profile
Summary: mozilla-profile-devel
Group: Mozilla
Requires: mozilla-layout-devel
%description profile-devel
mozilla-profile devel
%package xptoolkit
Summary: mozilla-xptoolkit
Group: Mozilla
Requires: mozilla-layout
%description xptoolkit
mozilla-xptoolkit
%package xptoolkit-devel
Requires: mozilla-xptoolkit
Summary: mozilla-xptoolkit-devel
Group: Mozilla
Requires: mozilla-layout-devel
%description xptoolkit-devel
mozilla-xptoolkit devel
%package cookie
Summary: mozilla-cookie
Group: Mozilla
Requires: mozilla-layout
%description cookie
mozilla-cookie
%package cookie-devel
Requires: mozilla-cookie
Summary: mozilla-cookie-devel
Group: Mozilla
Requires: mozilla-layout-devel
%description cookie-devel
mozilla-cookie devel
%package wallet
Summary: mozilla-wallet
Group: Mozilla
Requires: mozilla-layout
%description wallet
mozilla-wallet
%package wallet-devel
Requires: mozilla-wallet
Summary: mozilla-wallet-devel
Group: Mozilla
Requires: mozilla-layout-devel
%description wallet-devel
mozilla-wallet devel
%package mailnews
Summary: mozilla-mailnews
Group: Mozilla
Requires: mozilla-layout
%description mailnews
mozilla-mailnews
%package mailnews-devel
Requires: mozilla-mailnews
Summary: mozilla-mailnews-devel
Group: Mozilla
Requires: mozilla-layout-devel
%description mailnews-devel
mozilla-mailnews devel
%prep
%setup -n mozilla
%install
rm -rf $RPM_BUILD_ROOT
################################
#
# Remember where we are
#
################################
here=`pwd`
################################
#
# configure
#
################################
if [ 1 ]
then
###
###
###
rm -f $here/blank
touch $here/blank
MOZCONFIG=blank
export MOZCONFIG
./configure --disable-tests --with-xlib=no --with-motif=no --enable-strip-libs --disable-debug --enable-optimize --disable-gtk-mozilla
make
fi
################################
mkdir -p $RPM_BUILD_ROOT/%{prefix}/lib/mozilla
mkdir -p $RPM_BUILD_ROOT/%{prefix}/lib/mozilla/plugins
################################
#
# Generate the package lists
#
################################
here=`pwd`
mkdir -p $here/file-lists
cd build/package/rpm
./generate-package-info.sh mozilla-package-list.txt . $here/file-lists $here
cd $here
################################
################################
#
# Copy the stuff in dist/* to the rpm stage place
#
################################
cp -r dist/* $RPM_BUILD_ROOT/%{prefix}/lib/mozilla/
cd $RPM_BUILD_ROOT/%{prefix}/lib/mozilla/
/bin/mv -f bin/*.so lib
/bin/mv -f bin/chrome .
/bin/mv -f bin/components .
/bin/mv -f bin/defaults .
/bin/mv -f bin/netscape.cfg .
/bin/mv -f bin/res .
strip lib/*.so
strip components/*.so
cd $here
install -m 755 build/package/rpm/mozilla $RPM_BUILD_ROOT/%{prefix}/lib/mozilla/bin
################################
##
## This function gets called on the %post stage to make sure any
## new components that are installed in the system get
## registered to component.reg
##
%define call_regxpcom here=`pwd` ; cd %{prefix}/lib/mozilla ; LD_LIBRARY_PATH=`pwd`/lib ./bin/regxpcom ; cd $here
%clean
rm -rf $RPM_BUILD_ROOT
%files -f file-lists/mozilla-nspr-file-list.txt nspr
%defattr(-,root,root)
%files -f file-lists/mozilla-nspr-devel-file-list.txt nspr-devel
%defattr(-,root,root)
%files -f file-lists/mozilla-core-file-list.txt core
%defattr(-,root,root)
%dir %{prefix}/lib/mozilla
%dir %{prefix}/lib/mozilla/bin
%dir %{prefix}/lib/mozilla/chrome
%dir %{prefix}/lib/mozilla/components
%dir %{prefix}/lib/mozilla/defaults
%dir %{prefix}/lib/mozilla/defaults/pref
%dir %{prefix}/lib/mozilla/lib
%dir %{prefix}/lib/mozilla/plugins
%dir %{prefix}/lib/mozilla/res
%files -f file-lists/mozilla-core-devel-file-list.txt core-devel
%defattr(-,root,root)
%post core
%{call_regxpcom}
%files -f file-lists/mozilla-network-file-list.txt network
%defattr(-,root,root)
%files -f file-lists/mozilla-network-devel-file-list.txt network-devel
%defattr(-,root,root)
%post network
%{call_regxpcom}
%files -f file-lists/mozilla-layout-file-list.txt layout
%defattr(-,root,root)
%files -f file-lists/mozilla-layout-devel-file-list.txt layout-devel
%defattr(-,root,root)
%post layout
%{call_regxpcom}
%files -f file-lists/mozilla-xpinstall-file-list.txt xpinstall
%defattr(-,root,root)
%files -f file-lists/mozilla-xpinstall-devel-file-list.txt xpinstall-devel
%defattr(-,root,root)
%post xpinstall
%{call_regxpcom}
%files -f file-lists/mozilla-profile-file-list.txt profile
%defattr(-,root,root)
%files -f file-lists/mozilla-profile-devel-file-list.txt profile-devel
%defattr(-,root,root)
%post profile
%{call_regxpcom}
%files -f file-lists/mozilla-xptoolkit-file-list.txt xptoolkit
%defattr(-,root,root)
%files -f file-lists/mozilla-xptoolkit-devel-file-list.txt xptoolkit-devel
%defattr(-,root,root)
%post xptoolkit
%{call_regxpcom}
%files -f file-lists/mozilla-cookie-file-list.txt cookie
%defattr(-,root,root)
%files -f file-lists/mozilla-cookie-devel-file-list.txt cookie-devel
%defattr(-,root,root)
%post cookie
%{call_regxpcom}
%files -f file-lists/mozilla-wallet-file-list.txt wallet
%defattr(-,root,root)
%files -f file-lists/mozilla-wallet-devel-file-list.txt wallet-devel
%defattr(-,root,root)
%post wallet
%{call_regxpcom}
%files -f file-lists/mozilla-mailnews-file-list.txt mailnews
%defattr(-,root,root)
%files -f file-lists/mozilla-mailnews-devel-file-list.txt mailnews-devel
%defattr(-,root,root)
%post mailnews
%{call_regxpcom}
%changelog
* Wed Oct 20 1999 Ramiro Estrugo <ramiro@fateware.com>
- First rev.

View File

@@ -1,156 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
# The way this thing works:
#
# + a phony $(DIST) is created: /tmp/foo
#
# + The module is instaled there so that it can be isolated and
# catalogued.
#
# + A bunch of case statements determine what gets ignored
# and what is otherwise echoed as a file or dir member for
# the module
#
# + Most of this hacks are a result of the totally messed
# way in which mozilla pretentsto do "make install"
here=`pwd`
dist=/tmp/dist-$$.tmp
raw_file_list=/tmp/raw-file-list-$$.txt
file_list=/tmp/file-list-$$.txt
raw_dir_list=/tmp/raw-dir-list-$$.txt
dir_list=/tmp/dir-list-$$.txt
rm -rf $dist $raw_file_list $file_list $raw_dir_list $dir_list
# Need to mkdir include or else "make export" in mozilla gets confused
mkdir -p $dist
mkdir -p $dist/include
make -s DIST=$dist XPDIST=$dist PUBLIC=$dist/include EXTRA_DEPS= >/dev/null 2>&1
cd $dist
find -type l | cut -b3- > $raw_file_list
find -type d | cut -b3- | grep -v -e "^[ \t]*$" > $raw_dir_list
touch $file_list
for i in `cat $raw_file_list`
do
skip="false"
dir=`echo $i | awk -F"/" '{ print $1; }'`
# "lib" voodoo
if [ "$dir" = "lib" ]
then
rest=`echo $i | cut -b5-`
bin_dup="bin/$rest"
# Dont output files in "lib/" that are duplicated in "bin/"
if [ -f "$bin_dup" ]
then
skip="true"
fi
# Test for files that need to be skipped
file=`basename $i`
case "$file"
in
# Dont skip util .a files
*util_s.a)
:
;;
# Dont skip nspr .a files
libnspr*.a|libplc*|libplds*)
:
;;
# Skip all .a files
*.a)
skip="true"
;;
# Skip .so files
*.so)
skip="true"
;;
esac
fi
if [ "$skip" != "true" ]
then
echo $i >> $file_list
# else
# echo "skipping $i"
fi
done
touch $dir_list
for i in `cat $raw_dir_list`
do
skip="false"
# Skip directories that are shared across all of mozilla's components
case $i in
# level 1
include|idl|lib|bin)
skip="true"
;;
# level 2
lib/components|bin/components|bin/chrome|bin/res|bin/defaults|bin/plugins)
skip="true"
;;
# level 3
bin/defaults/pref)
skip="true"
;;
esac
if [ "$skip" != "true" ]
then
echo DIR:$i >> $dir_list
# else
# echo "skipping $i"
fi
done
cat $file_list
cat $dir_list
rm -rf $dist $raw_file_list $file_list $raw_dir_list $dir_list
cd $here

View File

@@ -1,26 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
module=`make -s echo-depth-path | cut -b9-`
echo $module

View File

@@ -1,37 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code,
# released March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
export::
chmod 755 mozilla-config
$(INSTALL) -m 755 mozilla-config $(DIST)/bin
install:: $(srcdir)/run-mozilla.sh
$(INSTALL) $< $(DIST)/bin

View File

@@ -1,8 +0,0 @@
EXPORTED {
global:
NSGetFactory;
NSGetModule;
NSRegisterSelf;
NSUnregisterSelf;
local: *;
};

View File

@@ -1,115 +0,0 @@
#!/usr/bin/env perl
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is this file as it was released upon March 8, 1999.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# mddepend.pl - Reads in dependencies generated my -MD flag. Prints list
# of objects that need to be rebuilt. These can then be added to the
# PHONY target. Using this script copes with the problem of header
# files that have been removed from the build.
#
# Usage:
# mddepend.pl <output_file> <dependency_files...>
#
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
#$debug = 1;
$outfile = shift @ARGV;
@alldeps=();
# Parse dependency files
while ($line = <>) {
chomp $line;
($obj,$rest) = split /\s*:\s+/, $line, 2;
next if $obj eq '';
if ($line =~ /\\$/) {
chop $rest;
$hasSlash = 1;
} else {
$hasSlash = 0;
}
$deps = [ $obj, split /\s+/, $rest ];
while ($hasSlash and $line = <>) {
chomp $line;
if ($line =~ /\\$/) {
chop $line;
} else {
$hasSlash = 0;
}
$line =~ s/^\s+//;
push @{$deps}, split /\s+/, $line;
}
warn "add @{$deps}\n" if $debug;
push @alldeps, $deps;
}
# Test dependencies
foreach $deps (@alldeps) {
$obj = shift @{$deps};
$mtime = (stat $obj)[9] or next;
foreach $dep_file (@{$deps}) {
if (not defined($dep_mtime = $modtimes{$dep_file})) {
$dep_mtime = (stat $dep_file)[9];
$modtimes{$dep_file} = $dep_mtime;
}
if ($dep_mtime ne '' and $dep_mtime > $mtime) {
print "$obj($mtime) older than $dep_file($dep_mtime)\n" if $debug;
push @objs, $obj;
# Object will be marked for rebuild. No need to check other dependencies.
last;
}
}
}
# Output objects to rebuild (if needed).
if (@objs) {
$new_output = "@objs: FORCE\n";
# Read in the current dependencies file.
open(OLD, "<$outfile")
and $old_output = <OLD>;
close(OLD);
# Only write out the dependencies if they are different.
if ($new_output ne $old_output) {
open(OUT, ">$outfile") and print OUT "$new_output";
print "Updating dependencies file, $outfile\n";
if ($debug) {
print "new: $new_output\n";
print "was: $old_output\n" if $old_output ne '';
}
}
} elsif (-s $outfile) {
# Remove the old dependencies because all objects are up to date.
print "Removing old dependencies file, $outfile\n";
if ($debug) {
open(OLD, "<$outfile")
and $old_output = <OLD>;
close(OLD);
print "was: $old_output\n";
}
unlink $outfile;
}

View File

@@ -1,69 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is build/unix/modules.mk from the Mozilla source tree.
#
# The Initial Developer of the Original Code is Christopher
# Seawood. Portions created by Christopher Seawood are
# Copyright (C) 2000 Christopher Seawood. All Rights Reserved.
#
#
BUILD_MODULE_DIRS := config build include
_BUILD_MODS =
NSPRPUB_DIR =
# client.mk does not have topsrcdir set
ifndef topsrcdir
topsrcdir=$(TOPSRCDIR)
endif
ifndef MOZ_NATIVE_NSPR
# Do not regenerate Makefile for NSPR
ifdef USE_NSPR_AUTOCONF
NSPRPUB_DIR = nsprpub
else
NSPRPUB_DIR = $(topsrcdir)/nsprpub
endif
endif
ifneq ($(BUILD_MODULES),all)
ifdef CROSS_COMPILE
BUILD_MODULE_DIRS_js = $(NSPRPUB_DIR)
endif
BUILD_MODULE_DIRS_dbm = $(NSPRPUB_DIR) dbm
BUILD_MODULE_DIRS_js += js
BUILD_MODULE_DIRS_necko = $(BUILD_MODULE_DIRS_xpcom) netwerk
BUILD_MODULE_DIRS_transformiix = extensions/transformiix
BUILD_MODULE_DIRS_xpcom = $(NSPRPUB_DIR) modules/libreg xpcom
BUILD_MODULE_DIRS_xpconnect = $(BUILD_MODULE_DIRS_xpcom) $(BUILD_MODULE_DIRS_js) js/src/xpconnect
BUILD_MODULE_DIRS += $(foreach mod,$(BUILD_MODULES), $(BUILD_MODULE_DIRS_$(mod)))
# Remove dups from the list to speed up the build
#
ifdef PERL
BUILD_MODULE_DIRS := $(shell $(PERL) -e 'undef @out; \
foreach $$d (@ARGV) { \
push @out, $$d if (!grep(/$$d/, @out)); \
}; \
print "@out\n"; ' $(BUILD_MODULE_DIRS))
else
# Since PERL isn't defined, client.mk must've called us so order doesn't matter
BUILD_MODULE_DIRS := $(sort $(BUILD_MODULE_DIRS))
endif
endif # BUILD_MODULES

View File

@@ -1,80 +0,0 @@
#!/bin/sh
prefix=@prefix@
exec_prefix=@exec_prefix@
exec_prefix_set=no
usage()
{
cat <<EOF
Usage: mozilla-config [OPTIONS] [LIBRARIES]
Options:
[--prefix[=DIR]]
[--exec-prefix[=DIR]]
[--version]
[--libs]
[--cflags]
EOF
exit $1
}
if test $# -eq 0; then
usage 1 1>&2
fi
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
--prefix=*)
prefix=$optarg
if test $exec_prefix_set = no ; then
exec_prefix=$optarg
fi
;;
--prefix)
echo_prefix=yes
;;
--exec-prefix=*)
exec_prefix=$optarg
exec_prefix_set=yes
;;
--exec-prefix)
echo_exec_prefix=yes
;;
--version)
echo -1
exit 0
;;
--cflags)
if test "@includedir@" != /usr/include ; then
includes="-I@includedir@"
fi
echo_cflags=yes
;;
--libs)
echo_libs=yes
;;
*)
usage 1 1>&2
;;
esac
shift
done
if test "$echo_prefix" = "yes"; then
echo $prefix
fi
if test "$echo_exec_prefix" = "yes"; then
echo $exec_prefix
fi
if test "$echo_cflags" = "yes"; then
cflags="@DEFS@"
echo $includes $cflags
fi
if test "$echo_libs" = "yes"; then
echo -L@libdir@ -lxpcom
fi

View File

@@ -1,8 +0,0 @@
USE_PTHREADS=@MOZ_NSPRENV_USE_PTHREADS@
BUILD_OPT=@MOZ_NSPRENV_BUILD_OPT@
NS_USE_GCC=@MOZ_NSPRENV_NS_USE_GCC@
NO_MDUPDATE=@MOZ_NSPRENV_NO_MDUPDATE@
NS_USE_NATIVE=@MOZ_NSPRENV_NS_USE_NATIVE@
MOZILLA_CLIENT=@MOZ_NSPRENV_MOZILLA_CLIENT@
CLASSIC_NSPR=@MOZ_NSPRENV_CLASSIC_NSPR@
GC_LEAK_DETECTOR=@MOZ_NSPRENV_GC_LEAK_DETECTOR@

View File

@@ -1,7 +0,0 @@
DIST=@MOZ_NSPRENV_DIST@
MOZ_NSPRENV_OVERRIDE_MAKE=@MOZ_NSPRENV_OVERRIDE_MAKE@
ifdef MOZ_NSPRENV_OVERRIDE_MAKE
MAKE=$(MOZ_NSPRENV_OVERRIDE_MAKE)
endif

Some files were not shown because too many files have changed in this diff Show More