Compare commits

..

768 Commits

Author SHA1 Message Date
shannond%netscape.com
d529841640 Bug 113818. Adding quotes around path to compensate for directory names
with spaces.


git-svn-id: svn://10.0.0.236/branches/CCK_IB_BRANCH@110454 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 04:13:16 +00:00
shannond%netscape.com
0c09beeda9 Bug 113818. Additional changes and error checking in engine.cpp
git-svn-id: svn://10.0.0.236/branches/CCK_IB_BRANCH@110400 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 21:51:09 +00:00
shannond%netscape.com
1ed617f3d7 Fixing various problems including files not getting copied from WSTemplate
Bug 113818


git-svn-id: svn://10.0.0.236/branches/CCK_IB_BRANCH@110320 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 00:19:37 +00:00
shannond%netscape.com
540b909e40 Checking into branch CCK_IB_BRANCH initial changes for bug 113818 - CCK UI and backend need to be separated.
git-svn-id: svn://10.0.0.236/branches/CCK_IB_BRANCH@110185 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 22:31:42 +00:00
(no author)
0d9ddf92d2 This commit was manufactured by cvs2svn to create branch 'CCK_IB_BRANCH'.
git-svn-id: svn://10.0.0.236/branches/CCK_IB_BRANCH@110018 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 19:52:02 +00:00
shrutiv%netscape.com
2f20cdebbd Fix for bugscape 10911: Allow removal of AOL desktop icon (r=tao)
git-svn-id: svn://10.0.0.236/trunk@110017 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 19:52:01 +00:00
hwaara%chello.se
4c08064fc5 #113663, clean up and improve support for frameborder and scrolling attributes on frame elements.
r=bz, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110016 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 19:40:07 +00:00
locka%iol.ie
31bba7f5f5 NOT PART OF BUILD. More work on the ActiveX TLB to IDL/XPT converter
git-svn-id: svn://10.0.0.236/trunk@110015 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 19:38:35 +00:00
locka%iol.ie
ad4990980f NOT PART OF BUILD. More work on the ActiveX TLB to IDL/XPT converter
git-svn-id: svn://10.0.0.236/trunk@110014 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 19:34:47 +00:00
kestes%walrus.com
a66876e04d treestate function changed names during last update to treestate class.
git-svn-id: svn://10.0.0.236/trunk@110013 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 19:30:34 +00:00
rayw%netscape.com
4f3c37a8f4 Fixes to the way SOAP encodings are tied to the XML elements.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@110012 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 18:56:19 +00:00
karnaze%netscape.com
8648ceec74 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@110011 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 17:15:39 +00:00
bienvenu%netscape.com
728c3dce49 reduce bloat of nsMsgHdrs when parsing local folder r=naving, sr=sspitzer 113847
git-svn-id: svn://10.0.0.236/trunk@110010 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 15:34:12 +00:00
brade%netscape.com
4d6d20f598 NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin)
git-svn-id: svn://10.0.0.236/trunk@110009 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 15:28:47 +00:00
brade%netscape.com
c48d3817b7 #include cleanup; NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin)
git-svn-id: svn://10.0.0.236/trunk@110008 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 15:21:55 +00:00
brade%netscape.com
905833d07b NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin)
git-svn-id: svn://10.0.0.236/trunk@110007 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 15:17:29 +00:00
karnaze%netscape.com
d8577654db bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
briane%qnx.com
b697033b55 PHOTON BUILD only
fixes and updates for the embedding, base on the gtk code base


git-svn-id: svn://10.0.0.236/trunk@110005 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:30:38 +00:00
dp%netscape.com
0b3f2b23ac bug 113833 Disabling trace-malloc if required dlls are not
found. (thanks jband) r=dp, sr=jband


git-svn-id: svn://10.0.0.236/trunk@110004 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:29:24 +00:00
dbradley%netscape.com
f3f4a77cb3 Bug104843 - Added requires to makefile
git-svn-id: svn://10.0.0.236/trunk@110003 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 13:34:48 +00:00
dbradley%netscape.com
185487050b Bug 112666 - XPCOM ExceptionService should return a pending exception if one exists. r=jst sr=jband
git-svn-id: svn://10.0.0.236/trunk@110002 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 13:31:01 +00:00
mcafee%netscape.com
db356d2258 query browsing should point at query.cgi, not graph.cgi
git-svn-id: svn://10.0.0.236/trunk@110001 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 11:43:41 +00:00
mcafee%netscape.com
2a1af8e8ea pass in units, we might want to hide this by default
git-svn-id: svn://10.0.0.236/trunk@110000 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 11:35:35 +00:00
mcafee%netscape.com
7e92f8898a Adding title to query result
git-svn-id: svn://10.0.0.236/trunk@109999 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 11:31:10 +00:00
cltbld%netscape.com
94afde533d checked in shortcut by mistake
git-svn-id: svn://10.0.0.236/trunk@109998 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 11:17:51 +00:00
cltbld%netscape.com
a3951d6d94 Changes to accomodate unified theory on graph server side.
git-svn-id: svn://10.0.0.236/trunk@109997 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 11:13:55 +00:00
cltbld%netscape.com
e0cbebdd35 cleaning up label printing. -mcafee
git-svn-id: svn://10.0.0.236/trunk@109996 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 11:12:47 +00:00
glazman%netscape.com
14197195c8 new Transaction for CSS in Composer
NOT PART OF THE BUILD


git-svn-id: svn://10.0.0.236/trunk@109995 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 11:08:53 +00:00
mcafee%netscape.com
b74b9cb99d Solaris wants file modes for mkdir()
git-svn-id: svn://10.0.0.236/trunk@109994 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 10:20:06 +00:00
mcafee%netscape.com
c9cdf3689d query wrapper for graph.cgi
git-svn-id: svn://10.0.0.236/trunk@109993 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 10:02:32 +00:00
bernd.mielke%snafu.de
7875c9ce3d add hr frame to layout debugging logic, bug 110596 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109992 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 10:02:31 +00:00
mcafee%netscape.com
64edaa5d04 First attempt at generalizing graph.cgi and collect.cgi
git-svn-id: svn://10.0.0.236/trunk@109991 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 09:43:54 +00:00
seawood%netscape.com
814ef934e4 Drop optimization level for select files on Irix when compiling with MIPSpro to workaround suspected compiler bug.
Thanks to Nick Blievers <nickb@adacel.com.au> for the patch.
Bug #79562 r=brendan sr=cls


git-svn-id: svn://10.0.0.236/trunk@109990 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 09:12:16 +00:00
dprice%netscape.com
1329c6fda1 66722 r=dveditz sr=mscott
removed unnecessary if statements


git-svn-id: svn://10.0.0.236/trunk@109986 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 07:50:09 +00:00
pschwartau%netscape.com
3e9d190892 Added three more cases to test
git-svn-id: svn://10.0.0.236/trunk@109985 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 07:23:57 +00:00
rayw%netscape.com
a1bfb55091 Minor fix and update to primes test.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109984 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 06:47:06 +00:00
dp%netscape.com
26a73785b5 bug 113833 preventing initalization of trace malloc stuff unless
--trace-malloc command line is given. sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@109983 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 06:41:55 +00:00
leaf%mozilla.org
6ec526afe4 Automated update
git-svn-id: svn://10.0.0.236/trunk@109980 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 05:57:46 +00:00
dp%netscape.com
ffce7fca63 backing out previous checkin. Makefile.in wants to decend into mozilla/tools and we dont pull that by default.
git-svn-id: svn://10.0.0.236/trunk@109979 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 05:53:27 +00:00
curt%netscape.com
ce49e4ab25 Combined JRE BIN PATH and JRE LIB PATH for easier maintenance.
git-svn-id: svn://10.0.0.236/trunk@109978 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 05:48:40 +00:00
curt%netscape.com
3463c29a58 We done't want to see the Program Folder after the installation any more.
git-svn-id: svn://10.0.0.236/trunk@109977 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 05:42:01 +00:00
blizzard%redhat.com
0ff821f775 checkpointing changes. mainloop runs, event queues run, windows will show and resize. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@109975 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 05:23:56 +00:00
blizzard%redhat.com
69ed7f1be6 remove seperate gtk2 gfx files. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@109974 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 05:23:00 +00:00
rayw%netscape.com
fda087863c Added self-ref to completion object when it has relelased the request
object but still needs to deliver listenerr callback.

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109973 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 05:22:28 +00:00
blizzard%redhat.com
726adf65d5 add region code for gtk2. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@109972 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 05:22:21 +00:00
andreww%netscape.com
33ac70ba1f bugzilla 98415 sr=mscott r=andreww colorpicker problems. Patch from Brad Tiffany <btiffany@usermail.com>
git-svn-id: svn://10.0.0.236/trunk@109971 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 05:10:07 +00:00
leaf%mozilla.org
b30b28256d Automated update
git-svn-id: svn://10.0.0.236/trunk@109970 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 04:42:48 +00:00
cmanske%netscape.com
3ab348d40b Coversion of Composer dialogs to XUL 1.0 compliance: use '<dialog>' and related common button attributes instead of global overlays. b=104113, r=akkana, sr=ben
git-svn-id: svn://10.0.0.236/trunk@109968 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 04:38:52 +00:00
dp%netscape.com
398c6e0681 bug 112470 Enabling timeline and tracemalloc by default
git-svn-id: svn://10.0.0.236/trunk@109967 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 04:37:35 +00:00
rayw%netscape.com
adc56dcf3e More fixes to SOAP. Not part of default build. New test file.
git-svn-id: svn://10.0.0.236/trunk@109966 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 04:08:01 +00:00
cltbld%netscape.com
86b02e8273 Don't use bloat label for browser bloat test. -mcafee
git-svn-id: svn://10.0.0.236/trunk@109965 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 04:00:41 +00:00
sonja.mirtitsch%sun.com
b6287bc6dd fixed the comment
git-svn-id: svn://10.0.0.236/trunk@109964 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 03:18:23 +00:00
cmanske%netscape.com
c07fd685c6 Simplify 'Remove' button label in Advanced Edit dialog, b=92554, r=syd, sr=ben
git-svn-id: svn://10.0.0.236/trunk@109963 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 03:16:12 +00:00
blakeross%telocity.com
84fa36c883 More post-bookmarksliner cleanup. r=hewitt sr=ben
git-svn-id: svn://10.0.0.236/trunk@109961 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:44:11 +00:00
relyea%netscape.com
9791b95d47 1) NT need the err= defines, use macros to set it appropriately (or not).
2) restore missing sec = function


git-svn-id: svn://10.0.0.236/trunk@109960 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:30:53 +00:00
rangansen%netscape.com
c303bf347b bug# 107840 - Enables automatic update of crls - missed it last time
r=kaie; sr=darin ; sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@109958 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:18:40 +00:00
rayw%netscape.com
e7612e94ff Fixed argument check in SOAP.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109957 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:13:34 +00:00
wtc%netscape.com
15b6ce139b Bugzilla bug 113740: do not use the 32-bit SPARC assembly implementation of
PRStack because it may cause starvation of the lock owner, leaving the
other threads spinning trying to acquire the lock.
Modified files: configure configure.in pr/include/md/_solaris.h


git-svn-id: svn://10.0.0.236/trunk@109955 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:10:10 +00:00
jpierre%netscape.com
0537050ef1 Code formatting patch to support legacy text editors
git-svn-id: svn://10.0.0.236/trunk@109954 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:09:45 +00:00
blythe%netscape.com
3139904ead fix linux build bustage that I caused with recent checkin
git-svn-id: svn://10.0.0.236/trunk@109953 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:08:57 +00:00
blakeross%telocity.com
fb7351a45b Fixing obscure click condition that rkaa discovered. r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109952 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:07:40 +00:00
relyea%netscape.com
7d6f186554 emulate does not include PORT_ functions, use PR_ASSERT
git-svn-id: svn://10.0.0.236/trunk@109951 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:04:24 +00:00
jst%netscape.com
5b14773a85 Adding missing NS_INIT_ISUPPORTS to a constructor, cleaning up some out parameter setting code...
git-svn-id: svn://10.0.0.236/trunk@109950 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:02:15 +00:00
bryner%netscape.com
fe65cc7a56 Fixing compile warnings. r=akkana, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@109948 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:57:56 +00:00
dveditz%netscape.com
5250e26b16 bug 102690 patch for float formatting cleanup from Daniele Nicolodi <daniele@grinta.net>, r=me, sr=jband
git-svn-id: svn://10.0.0.236/trunk@109947 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:50:31 +00:00
jst%netscape.com
50109aea37 Fixing refcounting problem in the soap code, not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@109945 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:48:23 +00:00
seawood%netscape.com
f60b40a46b Fixing typo & tindebrox bustage
git-svn-id: svn://10.0.0.236/trunk@109944 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:45:19 +00:00
law%netscape.com
17005f81fa Bug 92508; remove this obsolete version of the file from the jar; r=ccarlen, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@109942 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:41:29 +00:00
darin%netscape.com
ece706d6b2 fixes bug 97833 "http should periodically prune it's idle connection list of
dead connections"
patch=badami@netscape.com
r=dougt@netscape.com
sr=darin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@109941 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:40:18 +00:00
wtc%netscape.com
3a27d440a7 Bugzilla bug 113906: Made _PR_MD_OPEN more efficient. The patch is
contributed by Michael Kaply <mkaply@us.ibm.com>.  r=wtc,pedemont.


git-svn-id: svn://10.0.0.236/trunk@109940 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:39:58 +00:00
relyea%netscape.com
dd1d27c432 Clean up compilier warnings on Solaris and Linux, most particularly:
1) Implicit declaration of function.
2) Possibly unitialized variables.

These warnings have indicated some real problems in the code, so many changes
are not just to silence the warnings, but to fix the problems. Others were
inocuous, but the warnings were silenced to reduce the noise.


git-svn-id: svn://10.0.0.236/trunk@109938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:36:25 +00:00
hewitt%netscape.com
de3c786b8f 113639 - random crashes in mail, r=mscott, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109937 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:34:54 +00:00
blakeross%telocity.com
e6e41c0ee7 More post-bookmarksliner cleanup. r=hewitt sr=ben
git-svn-id: svn://10.0.0.236/trunk@109936 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:32:41 +00:00
law%netscape.com
d24c032ecf Bug 92508; switch over to moved/renamed progress dialog; r=ccarlen, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@109934 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:29:14 +00:00
leaf%mozilla.org
d99a4de19f Automated update
git-svn-id: svn://10.0.0.236/trunk@109933 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:27:45 +00:00
law%netscape.com
e406c2a214 Bug 92508; change this renamed .xul to use the renamed .js; r=ccarlen, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@109931 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:20:22 +00:00
law%netscape.com
ce249cd65f Bug 92508; adding entries for moved/renamed progress dlg files; r=ccarlen, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@109929 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:17:37 +00:00
blythe%netscape.com
9136ac3981 Fix bug 109157, nsZipArchive::BuildFileList footprint reduction
R=dp, SR=dveditz,alecf


git-svn-id: svn://10.0.0.236/trunk@109928 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:16:20 +00:00
seawood%netscape.com
96d6777306 Explicitly set AC_LANG_C before doing anyfeature tests.
Set -DSTDC_HEADERS for QNX since 6.0 fails the stdc headers tests.
Bug #107618


git-svn-id: svn://10.0.0.236/trunk@109927 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:14:53 +00:00
dougt%netscape.com
fd0bdbee9c fixing a bad #ifdef r=me. sr=darin
git-svn-id: svn://10.0.0.236/trunk@109925 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:08:35 +00:00
evaughan%netscape.com
0d49cdc68b Adding grid examples. Not in build.
git-svn-id: svn://10.0.0.236/trunk@109923 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:56:24 +00:00
jaggernaut%netscape.com
9cd6fb5895 Bug 102184: js strict warnings in tabbrowser.xml. Patch by bugzilla@gemal.dk (Henrik Gemal), r=jag, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109921 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:51:35 +00:00
av%netscape.com
4c9d31f787 Fixing bug 111383 -- crash on start up when there is a plugin with missing mime description string, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109919 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:42:33 +00:00
darin%netscape.com
a1e097d98f fixes bug 15320 "Forms/Necko: Temp file (formpost) left after file upload"
r=dougt, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@109918 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:40:55 +00:00
attinasi%netscape.com
1a34462861 Adding parent to StyleContext listing for help in debugging. b= 113518 r=dbaron sr=kin
git-svn-id: svn://10.0.0.236/trunk@109917 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:38:27 +00:00
timeless%mac.com
8acf2a00cc Bugzilla Bug 113827 nsDSWebProgressListener.cpp This file is now longer used...
r=adamlock sr=darin


git-svn-id: svn://10.0.0.236/trunk@109916 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:37:26 +00:00
law%netscape.com
84485e6671 Bug 92508; moving these files (and renaming) from obsolete mozilla/xpfe/components/ucth project; r=ccarlen, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@109913 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:36:33 +00:00
seawood%netscape.com
7fc1be14d1 Add FINAL_LINK_* lists to GARBAGE
git-svn-id: svn://10.0.0.236/trunk@109912 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:30:25 +00:00
law%netscape.com
f33dba664d Bug 101182; add onclose handler that does onCancel; r=bryner, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109911 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:28:53 +00:00
law%netscape.com
e8756b98a4 Bug 105151; check for ERROR_INVALID_PARAMATER and retry with empty file name (because we get that when the file name is too long); r=bryner, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109910 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:26:59 +00:00
despotdaemon%netscape.com
29fb01243a Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@109908 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:25:05 +00:00
attinasi%netscape.com
58e14b05c5 Null checks for non-reproducable crash: b=108105 ...
git-svn-id: svn://10.0.0.236/trunk@109904 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:03:48 +00:00
attinasi%netscape.com
ba496b391d Prevent crash when IFRAME is reframed during layout. bug=108105 r=dbaron sr=jst
git-svn-id: svn://10.0.0.236/trunk@109903 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:02:03 +00:00
ian.mcgreer%sun.com
1eea1add0d get modification of trust on builtins certs to work by storing the modified trust on the softoken. implement merging of multiple trust instances.
git-svn-id: svn://10.0.0.236/trunk@109899 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 23:43:14 +00:00
alecf%netscape.com
8573bdbf70 fix for bug 100676, r=bienvenu, sr=sspitzer, also ok'ed by nhotta
git-svn-id: svn://10.0.0.236/trunk@109898 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 23:41:46 +00:00
karnaze%netscape.com
01155e8e17 new header file, not affecting the build yet. sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@109896 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 23:19:53 +00:00
jpierre%netscape.com
0634c586ca Fix for 108097 - allow cmsutil to work with dual-key certs for signing and encrypting
git-svn-id: svn://10.0.0.236/trunk@109895 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 23:19:41 +00:00
blakeross%telocity.com
0e81591733 More post-bookmarksliner cleanup. r=hewitt sr=ben
git-svn-id: svn://10.0.0.236/trunk@109893 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 23:11:52 +00:00
shanjian%netscape.com
72b940e40b #110843 support unicode beyond BMP plane in Compressed charmap
r=bstell sr=brendan


git-svn-id: svn://10.0.0.236/trunk@109892 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 23:10:32 +00:00
heikki%netscape.com
85ff6e56d5 Fixed Ctrl+click on XLinks and LINK elements. Fixed keyboard activation of XLinks (ENTER when focus on link). r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@109891 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 23:04:19 +00:00
beard%netscape.com
5f6a5eb083 Changes to build JS2 on Mac OS X.
git-svn-id: svn://10.0.0.236/trunk@109888 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:40:56 +00:00
rangansen%netscape.com
243faae056 bug# 107840 - Enables automatic update of crls
r=kaie; sr=darin ; sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@109884 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:36:45 +00:00
darin%netscape.com
cec284c094 fixes bug 113807 "Mozilla crashes with a Dr. Watson when using a proxy
server - Trunk [@ MSVCRT.DLL - nsHttpAuthCache::GetAuthEntryForPath]"
r=gagan@netscape.com
sr=mscott@netscape.com


git-svn-id: svn://10.0.0.236/trunk@109883 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:36:06 +00:00
beard%netscape.com
3d2bf9bd35 Support for building JS2 using Project Builder on Mac OS X.
git-svn-id: svn://10.0.0.236/trunk@109880 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:32:38 +00:00
rayw%netscape.com
b7fdefb5b7 Added version support to SOAP so that calls may be invoked with level 1.1 or
level 1.2 support (needed to build tests).  Also added support for https.
Misc fixes.

Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109879 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:30:33 +00:00
bzbarsky%mit.edu
49ffcb2809 Re-enable inspector showing positioning values. Bug 113863, r=timeless,
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@109878 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:29:53 +00:00
leaf%mozilla.org
ad9f77e996 Automated update
git-svn-id: svn://10.0.0.236/trunk@109877 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:27:46 +00:00
seawood%netscape.com
db118e69ff Add man page for mozilla. Change default --prefix back to /usr/local .
Thanks to Jan Schumann <jschauma@netmeister.org> for the man page.
Bug #94220 r=blizzard


git-svn-id: svn://10.0.0.236/trunk@109875 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:17:24 +00:00
timeless%mac.com
c908e3640a Bugzilla Bug 113885 documentation of nsIHttpNotify :: onExamineResponse is wrong.
the callback is not asynchronous.
sr=darin ... no need for further review.


git-svn-id: svn://10.0.0.236/trunk@109874 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:16:38 +00:00
bryner%netscape.com
f89b9276f3 Removing dead code, r=cls.
git-svn-id: svn://10.0.0.236/trunk@109873 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:07:16 +00:00
chak%netscape.com
81bdc1efc3 Fix #83568 - BASE tag inserted when downloading file to a local drive
r=adamlock, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@109872 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:06:45 +00:00
akkana%netscape.com
df1348df78 Trivial warning fix
git-svn-id: svn://10.0.0.236/trunk@109870 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:04:40 +00:00
bzbarsky%mit.edu
222d3cec48 Add "Print Preview" to menu on print button. Bug 111126, patch from
Christian Biesinger <cbiesinger@web.de>, r=bzbarsky@mit.edu, sr=blake


git-svn-id: svn://10.0.0.236/trunk@109869 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:48:36 +00:00
bhart00%yahoo.com
96d29ca7e5 Bug 83608, change wording/accesskey for prefs->advanced->cache. r=blake, sr=darin
git-svn-id: svn://10.0.0.236/trunk@109868 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:44:46 +00:00
leaf%mozilla.org
e3491ac654 Automated update
git-svn-id: svn://10.0.0.236/trunk@109867 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:42:46 +00:00
nhotta%netscape.com
2b3a8f3c2c Backout my last changes, need MacOSX change, need to change inline.
git-svn-id: svn://10.0.0.236/trunk@109866 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:36:44 +00:00
seawood%netscape.com
7bdb55207b Add check for XShm. Defines HAVE_XSHM
Bug #113743 r=Roland.Mainz@informatik.med.uni-giessen.de


git-svn-id: svn://10.0.0.236/trunk@109865 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:34:00 +00:00
jpierre%netscape.com
f4059b3f77 Patch for 107323 - fix compiler warnings
git-svn-id: svn://10.0.0.236/trunk@109864 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:25:32 +00:00
locka%iol.ie
8a158c2416 NOT PART OF BUILD. Utility for turning ActiveX typelibraries into XPCOM IDL and XPT files
git-svn-id: svn://10.0.0.236/trunk@109862 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:16:30 +00:00
bzbarsky%mit.edu
bcc3a4a7b2 Fix computed positioning style for static elements and computed
z-index.  Bug 109523, r=glazou, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109861 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:15:54 +00:00
nhotta%netscape.com
7eec0a3f53 Added ASCII key support, bug 110837, r=shanjian, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@109860 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:12:58 +00:00
despotdaemon%netscape.com
f7e0f4664d Pseudo-automatic update of changes made by ian.mcgreer@sun.com.
git-svn-id: svn://10.0.0.236/trunk@109859 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:11:11 +00:00
namachi%netscape.com
3c61112ddf Bug No http://bugzilla.mozilla.org/show_bug.cgi?id=111093
This patch will remove linker remaining warnings with respect to COD file generation.
r=cls,leaf and sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@109858 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 20:59:12 +00:00
bernd.mielke%snafu.de
0a73081963 whitespace nowrap should not affect in quirks mode hr's size bug 60992
r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109855 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 20:14:10 +00:00
mkaply%us.ibm.com
a54e57368c #103514
r=bbaetz, sr=darin
Don't do PASV stuff if it is an OS/2 FTP server. This should finish the work to get FTP to OS/2 servers working.


git-svn-id: svn://10.0.0.236/trunk@109853 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 20:10:16 +00:00
dbaron%fas.harvard.edu
f78e55d4bf Changing noisy warning I added yesterday from |#ifdef DEBUG| to |#ifdef DEBUG_dbaron|. b=110911 / 113810
git-svn-id: svn://10.0.0.236/trunk@109852 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 19:53:37 +00:00
bnesse%netscape.com
b9797ccf55 Fix for bug 107617. Fix pref observation on a non top level branches. r=ccarlen, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@109851 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 19:49:38 +00:00
ian.mcgreer%sun.com
8fa91e0b3c patches to get s/mime dual key certs working, bug 113741
git-svn-id: svn://10.0.0.236/trunk@109847 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 18:21:38 +00:00
kestes%walrus.com
464de07b60 a new portable library for popups. This library uses layers but is portable between netscape and IE (and hopefully other browsers as well).
git-svn-id: svn://10.0.0.236/trunk@109846 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 15:59:07 +00:00
pinkerton%netscape.com
e60d2990fc fix mismatch between static in header and source file
git-svn-id: svn://10.0.0.236/trunk@109845 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 15:55:30 +00:00
oeschger%netscape.com
f50ce9655b getting real content into context-sensitive help, overdue html update only, r=rudman, b=46917
git-svn-id: svn://10.0.0.236/trunk@109844 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 15:31:00 +00:00
pinkerton%netscape.com
437c2a45ff fix bundle name r=adamlock/sr=sfraser. bug#106729
git-svn-id: svn://10.0.0.236/trunk@109843 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 15:29:52 +00:00
pinkerton%netscape.com
db6a4e2321 support dragging from background windows r=sdagley/sr=sfraser. bug#51323
git-svn-id: svn://10.0.0.236/trunk@109842 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 15:29:15 +00:00
pinkerton%netscape.com
12c945e4ce when drag comes from external to ESM, kill clickhold timer. r=sdagley/sr=sfraser. bug#51323
git-svn-id: svn://10.0.0.236/trunk@109841 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 15:29:01 +00:00
cmanske%netscape.com
3bbac1e159 Remove nsIEditorShell::Init(), b=110763, r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@109840 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 15:11:50 +00:00
cmanske%netscape.com
b3c61f934a Remove call to now-removed nsIEditorShell::Init(), b=110763, r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@109839 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 15:11:49 +00:00
nboyd%atg.com
9f29e60d86 Updates for Rhino1.5R3.
git-svn-id: svn://10.0.0.236/trunk@109838 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 14:53:59 +00:00
nboyd%atg.com
eeb8ec0a7c Update release number, date.
git-svn-id: svn://10.0.0.236/trunk@109837 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 14:33:44 +00:00
nboyd%atg.com
53e89a1022 Change version to 1.5R3.
git-svn-id: svn://10.0.0.236/trunk@109836 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 14:27:26 +00:00
nboyd%atg.com
854d7cedcf Hello !
I'm the maintainer of JPackage project rhino package (see
jpackage.sourceforge.net). I just found two problems for building it (version
1.52 from cvs):
- the property src.debugger is badly initialised in toolsrc/build.xml. See
patch attached for correction. Moreover, this was a real pain to make offline
building possible. I guess it's a licensing problem that prevents you
including those files in rhino sources ?
- the produced javadoc has an empty (0 sized) package-list file. Have you got
any idea why ?
-- Guillaume Rousse <rousse@ccr.jussieu.fr>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html


git-svn-id: svn://10.0.0.236/trunk@109835 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 14:26:26 +00:00
axel%pike.org
3350eafd6d bug 112623, initial version of xpcom error wrapper for standalone, r=sicking@bigfoot.com, sr=scc. Not used yet
git-svn-id: svn://10.0.0.236/trunk@109832 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 12:30:53 +00:00
seawood%netscape.com
1c16fa2e1f Drop optimization level to -O2 for MIPSpro CC builds to work around potential compiler bug.
Thanks to nickb@adacel.com.au (Nick Blievers) for the patch.
Bug #113511 r=cls


git-svn-id: svn://10.0.0.236/trunk@109830 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 10:51:45 +00:00
seawood%netscape.com
9854b8937b Fix bustage that occurs when building with multiple toolkits but not having gtk as the default toolkit.
git-svn-id: svn://10.0.0.236/trunk@109829 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 10:32:10 +00:00
seawood%netscape.com
58c77fdc27 Implement nsIDeviceContextSpecPS for Qt.
Bug #113213 r=Roland.Mainz@informatik.med.uni-giessen.de


git-svn-id: svn://10.0.0.236/trunk@109828 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 10:30:32 +00:00
seawood%netscape.com
b744e4e636 Move inlined function nsCSSMargin::EnsureBorderColors() before the functions that use it in order to appease Sun's Workshop/Forte 6 compiler.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@109826 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 10:10:15 +00:00
jaggernaut%netscape.com
c3ee2e7fac Bug 92589: View Use Stylesheet doesn't work on frames. Patch by neil@parkwaycc.co.uk, r=jag, sr=ben
git-svn-id: svn://10.0.0.236/trunk@109825 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 09:35:38 +00:00
jst%netscape.com
768e97d0b9 Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@109823 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 08:00:38 +00:00
jst%netscape.com
877bbb966f Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109821 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 06:57:03 +00:00
sspitzer%netscape.com
d29e0600ca fix for #113517, no import progress. r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@109820 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 05:58:08 +00:00
dbaron%fas.harvard.edu
abf674657c Remove nsDST.cpp. b=110911
git-svn-id: svn://10.0.0.236/trunk@109819 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 05:50:41 +00:00
dbaron%fas.harvard.edu
d3f3cc3a7b Remove nsDST and convert its users (PresShell::mSubShellMap, FrameManager::mPrimaryFrameMap, and FrameManager::PropertyList::mFrameValueMap) to PLDHash. Also convert FrameManager::mPlaceholderMap to PLDHash. Give image map area structures a pointer back to their image frame rather than (mis)using the primary frame map. Change API for changing placeholder map to reflect hash entry that accesses key through value by passing only the value and not the key. Give the root frame a proper mContent. b=110911 r=attinasi sr=brendan
git-svn-id: svn://10.0.0.236/trunk@109818 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 05:45:07 +00:00
blakeross%telocity.com
6bc63dedce Second part of bookmarks outliner conversion - convert add bookmark dialog. r=hewitt sr=ben
git-svn-id: svn://10.0.0.236/trunk@109816 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 05:29:40 +00:00
leaf%mozilla.org
cf951f3e5c Automated update
git-svn-id: svn://10.0.0.236/trunk@109815 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 05:27:46 +00:00
seawood%netscape.com
6f2663e7a0 Use -Wno-ctor-dtor-privacy for g++ builds.
Bug #113192 r=dbaron


git-svn-id: svn://10.0.0.236/trunk@109814 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 05:21:46 +00:00
jst%netscape.com
0d199adced Fixing yet one more part of bug 62536. Make element.scrollWidth and element.scrollHeight work on non-scrollable elements. r=bzbarsky@mit.edu, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@109813 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 05:12:54 +00:00
law%netscape.com
039d50e5c0 Bug 88287; use the new GetDataSourceBlocking method to ensure we get the same data source as prefs is using; r=sgehani, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@109811 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 04:07:26 +00:00
law%netscape.com
aa356dcc20 Bug 88287; Add Flush when removing entries, and, prevent user from changing mime type when opened from helper app dialog; r=sgehani, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@109809 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:57:14 +00:00
stephend%netscape.com
c2a230651e Additional comments... r=varada@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109808 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:54:34 +00:00
stephend%netscape.com
298277c0a7 No bug #. Adding comments for each function/method
git-svn-id: svn://10.0.0.236/trunk@109807 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:52:09 +00:00
law%netscape.com
9a99e31f92 Bug 88287; add blocking style GetDataSource method so callers can ensure they use an already registered data source; r=sgehani, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@109806 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:44:42 +00:00
jst%netscape.com
d8785ada2a added files: mozilla/dom/public/idl/events/nsIDOMNSEvent.idl
git-svn-id: svn://10.0.0.236/trunk@109805 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:44:22 +00:00
jst%netscape.com
7ce881ff6f Adding new event interface to the build, part of bug 110798. r=harishd@netscape.com, sr=jband@netscape.com. Not used just yet.
git-svn-id: svn://10.0.0.236/trunk@109804 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:44:02 +00:00
jst%netscape.com
3cd560b506 Adding new interface for non-standard event methods/attributes. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@109803 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:40:54 +00:00
law%netscape.com
658a6267d2 Bug 79849; set initial position of 'New Type' and 'Edit Type' dialogs; r=sgehani, sr=ben
git-svn-id: svn://10.0.0.236/trunk@109802 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:40:09 +00:00
seawood%netscape.com
b6c311a056 Do not build NSPR optimized if MOZ_TRACE_MALLOC is set.
Thanks to Garrett Blythe <blythe@netscape.com> for the patch.
Bug #112953 r=wtc


git-svn-id: svn://10.0.0.236/trunk@109801 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:39:05 +00:00
blakeross%telocity.com
d594cf1085 Post-bookmarksliner cleanup. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109800 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:33:43 +00:00
law%netscape.com
365a380793 Bug 60708; prevent user from creating helper app entries with blank mime type fields; r=pchen, sr=ben
git-svn-id: svn://10.0.0.236/trunk@109799 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:28:10 +00:00
blakeross%telocity.com
76ff2534f3 Deletion of discontiguous selection in history doesn't work properly (108302). r=hewitt sr=ben
git-svn-id: svn://10.0.0.236/trunk@109798 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:20:51 +00:00
jpierre%netscape.com
d4339da176 Improve error handling in cmsutil - don't proceed when error occurs, and display more information about failures using SECU_PrintError
git-svn-id: svn://10.0.0.236/trunk@109797 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:19:22 +00:00
law%netscape.com
960c138f92 Updated to work with jrgm's winopen stuff
git-svn-id: svn://10.0.0.236/trunk@109796 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:19:02 +00:00
roc+%cs.cmu.edu
fe53a46374 Bug 87839. Mark a view as transparent if it is being clipped smaller than the frame. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109795 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:16:35 +00:00
blakeross%telocity.com
95cb71d26d Post-bookmarksliner cleanup. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109794 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 03:11:06 +00:00
kmcclusk%netscape.com
aa22abfbe1 Suppress NS_MOUSE move on WIN32 if the mouse hasn't actually moved. b=113627 r=rod sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109793 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 02:55:06 +00:00
av%netscape.com
f8727daf08 Updating readme file for the Plugin SDK -- not part of the build
git-svn-id: svn://10.0.0.236/trunk@109792 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 02:52:06 +00:00
kmcclusk%netscape.com
f3e4763baa Suppress NS_MOVE,NS_CREATE, NS_SETZLEVEL events in the viewmanager. b=112861 r=rods sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109790 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 02:40:41 +00:00
blythe%netscape.com
00f8bb71ce Bug 112953, non debug trace-malloc on win32.
r=dp,sr=brendan
NOT part of normal build.
Change hinges on another change to nsprpub/gmakefile.win that should land
by those in charge of that module shortly.


git-svn-id: svn://10.0.0.236/trunk@109789 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 02:36:02 +00:00
av%netscape.com
d08a4b421b Addressing bug 112508 -- incrementing a version constant, r/sr=dp
git-svn-id: svn://10.0.0.236/trunk@109788 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 02:30:23 +00:00
darin%netscape.com
2c07b7962f fixes bug 106097 "M096, Trunk crash [@ nsHttpHandler::InitiateTransaction_Locked] [@ nsHttpConnection::Init]"
r=bbaetz@cs.mcgill.ca, sr=mscott@netscape.com


git-svn-id: svn://10.0.0.236/trunk@109787 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 02:21:03 +00:00
rayw%netscape.com
3b43cfe09f Added DEBUG code to log messages sent and received by SOAP.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109786 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 02:09:04 +00:00
naving%netscape.com
009392e8e7 113506 r/sr=sspitzer. do not free m_searchData because it points to m_commandSpecificData
git-svn-id: svn://10.0.0.236/trunk@109785 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 01:55:34 +00:00
bbaetz%cs.mcgill.ca
9537220a73 Bug 101149 - previous window title sticks when accessing xul dir listings
patch by jrgm@netscape.com, r=bbaetz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@109784 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 01:53:07 +00:00
sonja.mirtitsch%sun.com
06cfff69e6 misspelled dbtests
git-svn-id: svn://10.0.0.236/trunk@109783 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 01:46:09 +00:00
jpierre%netscape.com
ad378cbe33 Fix OS/2 build bustage - conflict with error.h from OS/2 toolkit . Put explicit include path to resolve it
git-svn-id: svn://10.0.0.236/trunk@109782 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 01:36:07 +00:00
rginda%netscape.com
84d60cdec7 chatzilla only, bump revision to 0.8.5-rc2
git-svn-id: svn://10.0.0.236/trunk@109781 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 01:33:22 +00:00
darin%netscape.com
b0022a44a6 fixes bug 71005 "Memory leak in implementation of nsJARURI"
patch=badami@netscape.com
r=gordon@netscape.com
sr=darin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@109780 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 01:20:33 +00:00
sonja.mirtitsch%sun.com
1084a56d2b trying to hook in dbtest
git-svn-id: svn://10.0.0.236/trunk@109778 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:51:56 +00:00
bbaetz%cs.mcgill.ca
2d5b449942 Bug 85381 again - left out the .h
git-svn-id: svn://10.0.0.236/trunk@109777 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:48:36 +00:00
samuel%sieb.net
97a02fb21d chatzilla only
bug 112606 (Ping responses are wrong)
formatDateOffset now rounds to 2 decimal places and handles an offset of 0
r=rginda


git-svn-id: svn://10.0.0.236/trunk@109776 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:45:29 +00:00
bienvenu%netscape.com
1ac54d43da fix regression reading offline news messages 111065 r=mscott,sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@109775 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:42:58 +00:00
samuel%sieb.net
2c62c55420 chatzilla only
bug 112606 (Ping responses are wrong)
removed invalid check for user
r=rginda


git-svn-id: svn://10.0.0.236/trunk@109774 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:35:05 +00:00
dbaron%fas.harvard.edu
3be8570947 Only do state-recovery update of nsBlockReflowState::mPrevChild on the transition from a line we don't reflow to a line we do reflow. b=111676 r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109773 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:30:06 +00:00
rayw%netscape.com
bbfe427ba4 Fixed problem compiling on windows in SOAP.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109772 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:26:35 +00:00
hwaara%chello.se
1e95a25e5a #84910, split up navigator.js.
Checking in for Doron Rosenberg <doronr@naboonline.com>.
r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@109771 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:20:33 +00:00
racham%netscape.com
5751f746a4 Fixing bug 113318. Get Maillist and new card dialogs into alert postions by providing reference to dialogoverlay js file. r=bhuvan, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@109770 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:12:09 +00:00
rginda%netscape.com
21fb804398 chatzilla only
bug 113391, lighter taskbar icon for chatzilla


git-svn-id: svn://10.0.0.236/trunk@109769 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:11:52 +00:00
bbaetz%cs.mcgill.ca
dda7b49dc6 Bug 85381 - spit html directory listings up into several tables to avoid
layout perf issues.
r=dougt,sr=darin


git-svn-id: svn://10.0.0.236/trunk@109768 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:10:11 +00:00
rginda%netscape.com
81bf1cf71f chatzilla only
bug 113683, strict warning fixes, r=ssieb


git-svn-id: svn://10.0.0.236/trunk@109767 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:10:07 +00:00
dbaron%fas.harvard.edu
f346096920 Tweaking XP_MACOSX ifdefs in a few more places, including a fix for background image clipping. b=111795 r=pinkerton sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@109766 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:09:21 +00:00
bbaetz%cs.mcgill.ca
218aedbf6a Bug 111117 - don't print the password in the <title> or the header for the
page.
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@109765 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:09:00 +00:00
bbaetz%cs.mcgill.ca
422f014366 Bug 84472 - make unsupported ftp server message more userfriendly
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@109764 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:05:15 +00:00
bbaetz%cs.mcgill.ca
4241c6967d Bug 43567 - ftp keeping connections alive forever
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@109763 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:02:24 +00:00
rogerl%netscape.com
727a6700d5 Bugs #100199 & 78156. r=khanson, sr=brendan. Fixing multiline matching and
pathological character class cases in regular expression handling.


git-svn-id: svn://10.0.0.236/trunk@109762 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 23:58:51 +00:00
darin%netscape.com
fd73913eed fixes bug 113508 "Identical URIs do not compare via nsIURI::Equals"
r=andreas.otte@debitel.net, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@109761 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 23:54:55 +00:00
rjc%netscape.com
841f472b96 Fix bug # 113575. r=ben sr=blakeross
git-svn-id: svn://10.0.0.236/trunk@109760 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 23:54:09 +00:00
cmanske%netscape.com
b86c705ef1 Part of fix to bug 90229, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109759 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 23:52:32 +00:00
shanjian%netscape.com
9e7ac15301 #112904 MimeInlineText's charset need to be initialized before setting font
r=ducarroz sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@109758 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 23:52:07 +00:00
sonja.mirtitsch%sun.com
ce79c1719a added dbtest
git-svn-id: svn://10.0.0.236/trunk@109757 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 23:35:55 +00:00
sonja.mirtitsch%sun.com
938196bc94 adderd redhat 7.2, changed tinderbox back to defaulting to the tip
git-svn-id: svn://10.0.0.236/trunk@109756 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 22:52:46 +00:00
hyatt%netscape.com
a8c77bc7d0 Fix smoketest blocker.
git-svn-id: svn://10.0.0.236/trunk@109749 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 19:46:43 +00:00
pschwartau%netscape.com
148d11e201 not part of default build
bug 111365, JS standalone doesn't build on solaris.
point AS to /usr/ccs/bin/as


git-svn-id: svn://10.0.0.236/trunk@109748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 19:32:16 +00:00
sonja.mirtitsch%sun.com
b031c036c9 test for key and cert databases
git-svn-id: svn://10.0.0.236/trunk@109747 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 19:18:14 +00:00
shrutiv%netscape.com
a2157bf525 Including proper formatting in the file, having only one tab stop
instead of two tab stops for indentation.


git-svn-id: svn://10.0.0.236/trunk@109746 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 18:48:02 +00:00
sonja.mirtitsch%sun.com
f5d1db2c3e added 2 more tests
git-svn-id: svn://10.0.0.236/trunk@109745 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 18:34:09 +00:00
despotdaemon%netscape.com
350ba3ac94 Pseudo-automatic update of changes made by hwaara@chello.se.
git-svn-id: svn://10.0.0.236/trunk@109744 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 18:05:25 +00:00
despotdaemon%netscape.com
23933fa750 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@109743 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 18:02:49 +00:00
ian.mcgreer%sun.com
f3b3f9dcea if no token name is provided to PK11_FindCertByNickname, default to internal token (as opposed to the entire trust domain)
git-svn-id: svn://10.0.0.236/trunk@109741 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 17:07:53 +00:00
blizzard%redhat.com
d2700c2e78 Share timer implementation with gtk and gtk2. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@109740 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 15:38:59 +00:00
ccarlen%netscape.com
3a3bff46ce Bug 113312 - Two profile folders created when profile is deleted from disk. r=bhuvan/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@109739 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 15:04:44 +00:00
rods%netscape.com
3dc35c98bd Change the default of FrameSet print from "As Is" to "Each frame Separately"
Bug 112665 sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109738 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 14:55:50 +00:00
bzbarsky%mit.edu
8855009f3b Set the |inherited| bool in all cases when we inherit. Bug 113533,
r=dbaron, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@109737 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 14:06:34 +00:00
mcafee%netscape.com
0bceb23c11 Adding mailnews bloat test. labels into bloatdiff so we can run different tests there.
git-svn-id: svn://10.0.0.236/trunk@109736 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 09:27:28 +00:00
mcafee%netscape.com
267fabfb30 regxpcom test
git-svn-id: svn://10.0.0.236/trunk@109735 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 09:23:07 +00:00
hyatt%netscape.com
6c6f01e32e Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988
git-svn-id: svn://10.0.0.236/trunk@109734 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 08:35:05 +00:00
blakeross%telocity.com
3654118f4f Just removing code obsoleted by bookmarksliner... r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109733 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 06:55:36 +00:00
blakeross%telocity.com
e76be1faae jan's patch for isseparator() should return a value in nsXULOutlinerBuilder::Init(). r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109732 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 06:43:05 +00:00
blakeross%telocity.com
5e9e68b812 readding
git-svn-id: svn://10.0.0.236/trunk@109731 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 06:42:33 +00:00
blakeross%telocity.com
9d808ac08a readding
git-svn-id: svn://10.0.0.236/trunk@109730 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 06:40:57 +00:00
blakeross%telocity.com
9bba021e3a just seeing if this fixes leaks; will backout soon.
git-svn-id: svn://10.0.0.236/trunk@109729 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 06:33:34 +00:00
peterlubczynski%netscape.com
3714c963b9 JRE auto-detection needs to be version specific, bug 108957 r=curt sr=darin
git-svn-id: svn://10.0.0.236/trunk@109727 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 06:13:15 +00:00
blakeross%telocity.com
e0e581b9c4 try commenting out hackish refreshSort call that passed |this| to try to fix leaks. r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109726 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 05:37:19 +00:00
blakeross%telocity.com
a0fc85e10d Remove observer in destructor. r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109725 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 05:36:07 +00:00
dbaron%fas.harvard.edu
d8f7525c3c Add newline to end of file to fix HP bustage.
git-svn-id: svn://10.0.0.236/trunk@109723 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 05:19:53 +00:00
blizzard%redhat.com
22e4b732a2 checkpointing changes. not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@109722 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 05:17:21 +00:00
blakeross%telocity.com
16d86f8daf fix something I botched before checkin.
git-svn-id: svn://10.0.0.236/trunk@109721 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 04:52:08 +00:00
blakeross%telocity.com
d5087990d3 73508 - convert bookmarks to outliner. don't file bugs on this yet. r=hewitt sr=ben
git-svn-id: svn://10.0.0.236/trunk@109720 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 04:30:04 +00:00
sonja.mirtitsch%sun.com
177ed7a96e added calls to new dbtest program
git-svn-id: svn://10.0.0.236/trunk@109719 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 04:25:31 +00:00
leaf%mozilla.org
f7a210fa16 remove cppsrcs from makefile.win files, bug 102459 r=dbaron sr=cls
git-svn-id: svn://10.0.0.236/trunk@109718 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:52:30 +00:00
dbaron%fas.harvard.edu
f0d1a6f6ce Simplify loop in CountValidUTF8Bytes and fix UMR. b=110531 r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@109717 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:49:13 +00:00
leaf%mozilla.org
516776e606 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron
git-svn-id: svn://10.0.0.236/trunk@109714 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:43:29 +00:00
mcafee%netscape.com
137ea46823 Updated tooltip comment to reflect xul test change
git-svn-id: svn://10.0.0.236/trunk@109713 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:32:29 +00:00
namachi%netscape.com
515e646658 http://bugzilla.mozilla.org/show_bug.cgi?id=111093
Generation of MAP and COD files
This patch should help create MAP file and COD files only on Windows.
These files will be generated only when MODINFO and CODINFO flags are set.
r=cls,leaf and sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@109712 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:28:33 +00:00
jst%netscape.com
af121ab737 Fixing bug 62744. Making link/area.protocol not throw an exception if there's an unknown protocol in the URI. r=hidday@geocities.com, sr=rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@109711 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:16:13 +00:00
hewitt%netscape.com
d1e2b0f39a adding newline to fix HP bustage
git-svn-id: svn://10.0.0.236/trunk@109710 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:07:43 +00:00
racham%netscape.com
8210efd0ff Fixing bug 107363. Making file picker to start inthe existing signature folder, if there is one. r=ducarroz, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@109709 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:05:19 +00:00
racham%netscape.com
d46348b3e0 Fixing bugs 105899, 105902. Fixing js warnings and errors in address book files. r=bhuvan
git-svn-id: svn://10.0.0.236/trunk@109708 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:05:03 +00:00
racham%netscape.com
10ed2bb310 Fixing bug 104358. js warnings in smtpserverlist.js. r=bhuvan
git-svn-id: svn://10.0.0.236/trunk@109707 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:04:58 +00:00
leaf%mozilla.org
f6aeb09b46 Automated update
git-svn-id: svn://10.0.0.236/trunk@109706 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 02:57:47 +00:00
law%netscape.com
29cf6aaaab Update to report minimum time rather than avg to reduce noise, r=mcafee
git-svn-id: svn://10.0.0.236/trunk@109705 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 02:53:33 +00:00
seawood%netscape.com
f2af8c8c71 Removing unneeded AC_SUBST calls
git-svn-id: svn://10.0.0.236/trunk@109704 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 02:46:12 +00:00
av%netscape.com
86d7246074 Changing CPP_OBJS to OBJS in makefile.win -- not part of the build
git-svn-id: svn://10.0.0.236/trunk@109703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 02:24:34 +00:00
jgaunt%netscape.com
7d35359334 bug 112731 fix for accPreviousSibling
r=aaronl
rs=waterson


git-svn-id: svn://10.0.0.236/trunk@109702 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 02:11:02 +00:00
ben%netscape.com
91b3ad67e6 fix whitespace (indenting) to match 4 space precedent.
git-svn-id: svn://10.0.0.236/trunk@109701 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 01:56:05 +00:00
ben%netscape.com
f4aed64695 fix bug bugscape 11251 - text missing from Exit menu item etc. on windows
due to file not being built because of invalid placement of DIRS variable in makefile. r=bryner, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@109699 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 01:47:05 +00:00
ben%netscape.com
03a05d59a3 fix bug 79408 - windows integration dialog text is awkward.
r=law, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@109698 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 01:45:45 +00:00
darin%netscape.com
df49844ca4 netwerk/build changes for bug 15860 "digest auth" r=dougt, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@109697 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 01:09:38 +00:00
darin%netscape.com
5e883b7a4f mac project changes for bug 15860 "digest auth"
r=dougt, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@109696 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 01:09:00 +00:00
darin%netscape.com
61533626e3 fixes mac bustage
git-svn-id: svn://10.0.0.236/trunk@109695 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 00:51:18 +00:00
pschwartau%netscape.com
43115b71dd not part of default build
bug 111365, JS standalone doesn't build on solaris.
point AS to /usr/ccs/bin/as


git-svn-id: svn://10.0.0.236/trunk@109694 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 00:31:55 +00:00
rayw%netscape.com
a67815f488 More fixes to strings, and changed encoding to support a single string
lookup key instead of two for better genericity and efficiency.


git-svn-id: svn://10.0.0.236/trunk@109693 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 00:10:07 +00:00
naving%netscape.com
2f0739f441 112355 r=sspitzer sr=bienvenu. null out folder's db reference as the search is over on a folder. this will
help in cutting bloat during and after the search is over.


git-svn-id: svn://10.0.0.236/trunk@109692 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 00:08:16 +00:00
curt%netscape.com
8a05d35dfe Removed references to Communicator.
git-svn-id: svn://10.0.0.236/trunk@109690 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 23:56:40 +00:00
hewitt%netscape.com
aa05bf7a61 93839 - tooltiptext should work without specifying tooltip, r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109688 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 23:50:57 +00:00
hewitt%netscape.com
88f0b41339 113100 - Stretched icons in link toolbar and personal toolbar folder, patch=christopher_brien@hotmail.com, r=hwaara, sr=me
git-svn-id: svn://10.0.0.236/trunk@109687 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 23:49:25 +00:00
darin%netscape.com
cc45405ad0 fixes bug 15860 "support http/1.1 digest authentication"
patch=jab@atdot.org,pach@cs.cmu.edu,darin@netscape.com
r=dougt@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@109686 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 23:49:06 +00:00
hewitt%netscape.com
30aab4d4f4 93839 - tooltiptext should work without specifying tooltip, r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109685 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 23:45:22 +00:00
hewitt%netscape.com
1204dc3c01 93839 - tooltiptext should work without specifying tooltip, r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109684 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 23:36:40 +00:00
shliang%netscape.com
29732864f5 backing out fix for bug 103190
git-svn-id: svn://10.0.0.236/trunk@109683 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 23:31:02 +00:00
hewitt%netscape.com
6e81240065 93839 - tooltiptext should work without specifying tooltip, r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109682 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 23:30:25 +00:00
law%netscape.com
b35682051c updates
git-svn-id: svn://10.0.0.236/trunk@109681 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 23:16:42 +00:00
dcone%netscape.com
be90a7433a bug=96870 r=rods sr=attinasi. This add abilty to print and print preview background images and color.
git-svn-id: svn://10.0.0.236/trunk@109680 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:46:41 +00:00
pchen%netscape.com
92e34f3ed0 bug 101263, r=kaie, sr=alecf, when we get logout-session message, logout of
password manager


git-svn-id: svn://10.0.0.236/trunk@109679 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:42:21 +00:00
hewitt%netscape.com
03f2a59c9a 93839 - tooltiptext should work without specifying tooltip, r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109678 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:38:40 +00:00
hewitt%netscape.com
801573f381 93839 - tooltiptext should work without specifying tooltip, r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109677 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:32:49 +00:00
shliang%netscape.com
822bcf2fdc bug 71637 - css errors in chrome. r=dbaron, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@109676 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:26:31 +00:00
naving%netscape.com
92f061e800 112028 r=ducarroz sr=bievenu fix leaking attachment url on sending message.
git-svn-id: svn://10.0.0.236/trunk@109675 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:26:02 +00:00
sfraser%netscape.com
89f6240468 Fix bug 113295 by ensuring that mac locale for communicator/platform is registered after unix and win. r=bryner/pchen, sr=ben
git-svn-id: svn://10.0.0.236/trunk@109674 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:24:55 +00:00
hewitt%netscape.com
bf455fb30b 113039 - [modern] simplify primary toolbar xbl and css, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109671 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:20:06 +00:00
alexsavulov%netscape.com
9ff2a72d72 fix for bug 101699: "Form does not submit if insecure submission warning active"
Patch by brendan, sr= attinasi, r= alexsavulov


git-svn-id: svn://10.0.0.236/trunk@109670 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:18:55 +00:00
law%netscape.com
7076292763 updates
git-svn-id: svn://10.0.0.236/trunk@109669 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:15:45 +00:00
alecf%netscape.com
3b26228e2a fix bug 112708, take two
use nsCAutoString instead of PR_smprintf to reduce pref shutdown notifications by 3x
r=bnesse, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@109667 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:01:22 +00:00
shliang%netscape.com
da0316e4dd bug 99631 - preview icon for composer tab in modern. r=jag, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@109666 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:58:50 +00:00
naving%netscape.com
033fcb37fd Adding a comment, no bug, no reviewer
git-svn-id: svn://10.0.0.236/trunk@109665 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:50:42 +00:00
dp%netscape.com
a61c552cf3 NS_TIMELINE_ENABLE
git-svn-id: svn://10.0.0.236/trunk@109664 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:48:40 +00:00
rayw%netscape.com
dad7d0ce3f Changed string literals in nsSOAPUtil.h yet again. Perhaps this fixes
the strings that had stopped working on various plaatforms.

Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109663 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:42:13 +00:00
leaf%mozilla.org
4267823c16 Automated update
git-svn-id: svn://10.0.0.236/trunk@109661 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:27:54 +00:00
law%netscape.com
4915d6cd00 tweaking
git-svn-id: svn://10.0.0.236/trunk@109660 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:25:57 +00:00
seawood%netscape.com
2750945184 Initial landing of win32 support for autoconf builds.
Bug #58981 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@109658 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:17:48 +00:00
dp%netscape.com
ab2e1c19fc bug 112470 TIMELINE and TRACE_MALLOC ON by default for debug builds
git-svn-id: svn://10.0.0.236/trunk@109657 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:16:10 +00:00
dp%netscape.com
e3b68c249c bug 112470 Include config.mak early to get TRACE_MALLOC settings in. Patch by alecf. r=dp
git-svn-id: svn://10.0.0.236/trunk@109656 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:15:28 +00:00
dp%netscape.com
55ff867745 bug 112470 Getting timeline ON for debug builds by default.
When running, NS_TIMELINE_ENABLE is required for seeing the timeline
output. r=cathleen, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@109655 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:14:21 +00:00
bzbarsky%mit.edu
8c7d49ce1e Stop case-folding attribute values. This makes us compatible with NS4
on those properties that can be gotten in NS4 and compatible with IE
5.5/6 across the board.  Bug 113174, r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@109654 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:12:15 +00:00
bienvenu%netscape.com
194ada1a53 fix crash loading corrupt history.dat file, cut down on mork memory growth when history does link coloring, r=naving, sr=alecf, sspitzer 113287 113354
git-svn-id: svn://10.0.0.236/trunk@109653 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:04:56 +00:00
sonja.mirtitsch%sun.com
685157368a changed the evaluation of returncode
git-svn-id: svn://10.0.0.236/trunk@109652 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:01:47 +00:00
alecf%netscape.com
3207e85edb back myself out to fix blocker 113482
git-svn-id: svn://10.0.0.236/trunk@109651 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 20:34:03 +00:00
law%netscape.com
4cb84da125 fixing miniXul.xul
git-svn-id: svn://10.0.0.236/trunk@109650 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 20:03:47 +00:00
law%netscape.com
47ab7cc8da New tools for measuring window open times
git-svn-id: svn://10.0.0.236/trunk@109648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 19:55:48 +00:00
ddrinan%netscape.com
032de1c856 Removed extra close comment in MOZ_CLIENT comment section
git-svn-id: svn://10.0.0.236/trunk@109646 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 19:14:33 +00:00
wtc%netscape.com
d6278cf4d9 Bugzilla bug 111574: standard header files should be included with
#include <foo.h>, not #include "foo.h".  Thanks to Roland Mainz
<Roland.Mainz@informatik.med.uni-giessen.de> for the patch.  r=wtc.
Modified files: signtool.h jar.h


git-svn-id: svn://10.0.0.236/trunk@109645 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 18:36:58 +00:00
rogerl%netscape.com
a99ecbbd86 removing obsoleted msdev project files.
git-svn-id: svn://10.0.0.236/trunk@109644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 18:35:28 +00:00
wtc%netscape.com
46e7a3b371 Bugzilla bug 111294: make NSS build on QNX6 (Neutrino). The patch was
contributed by Dave Inglis <dinglis@qnx.com>. r=wtc.
Modified Files:
	coreconf/config.mk coreconf/nsinstall/nsinstall.c
	nss/lib/freebl/unix_rand.c nss/lib/ssl/unix_err.c
Added Files:
	coreconf/QNX.mk


git-svn-id: svn://10.0.0.236/trunk@109640 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 18:20:57 +00:00
ian%hixie.ch
59fcb856a2 Removing a bunch of dump(10, ...) calls. It turns out that dump() is actually quite expensive, and calling it 1000+ times just to do nothing isn't that useful. In addition, most of these dump()s were used to debug the core PLIF code which now works pretty well, so they aren't that useful any more.
git-svn-id: svn://10.0.0.236/trunk@109639 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 18:06:06 +00:00
ian%hixie.ch
10d64daec7 PLIF::Service::XML::Char() was the most expensive function in a typical profile. This takes it completely off the radar by not bothering to merge adjacent strings.
git-svn-id: svn://10.0.0.236/trunk@109638 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 17:51:23 +00:00
beard%netscape.com
5b1f02b594 [not part of build] Install instructions.
git-svn-id: svn://10.0.0.236/trunk@109636 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 17:02:29 +00:00
blizzard%redhat.com
8d5eb4bb86 Checkpointing changes. Not part of the build. Some more methods flushed out including widget creation and moving and resizing.
git-svn-id: svn://10.0.0.236/trunk@109635 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 16:58:04 +00:00
beard%netscape.com
a68d3b9fea [not part of build] bumped version to 1.0d7.
git-svn-id: svn://10.0.0.236/trunk@109634 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 16:27:27 +00:00
beard%netscape.com
bff01706d3 [not part of build] Change history.
git-svn-id: svn://10.0.0.236/trunk@109633 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 16:26:37 +00:00
beard%netscape.com
8f5e8157b7 [not part of build] Bumped version to 1.0d6.
git-svn-id: svn://10.0.0.236/trunk@109631 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 16:20:18 +00:00
kaie%netscape.com
02ab791fca b=110420 fix cert prompt dialogs
r=javi sr=shaver


git-svn-id: svn://10.0.0.236/trunk@109630 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 15:56:54 +00:00
alecf%netscape.com
9500bda665 further fixes for bug 112708 r=bnesse sr=dveditz
instead of using PR_smprintf to construct each user_pref line to the preferences, store it all in a smart cconcatination string - reduces pref allocations at shutdown by 3x


git-svn-id: svn://10.0.0.236/trunk@109629 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 15:44:38 +00:00
bienvenu%netscape.com
fd266d4985 reduce biff notifications, move biff to server level r=naving, sr=sspitzer 113366
git-svn-id: svn://10.0.0.236/trunk@109628 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 15:34:00 +00:00
mkaply%us.ibm.com
dc5e9b403a #84420
r=gordon
Forgot to remove a path that OS/2 and BeOS shouldn't go down - leaving code in but #if 0 per gordon


git-svn-id: svn://10.0.0.236/trunk@109627 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 15:05:03 +00:00
ian%hixie.ch
2358cf13a4 Changed the groupsById and groupsByName hashes of arrays into hashes of hashes to make them friendlier to handle. Also fixed some typos (groupByID instead of groupsByID, and one case of groupsByID where groupsByName was meant) and optimised away a call to dataSource.user's getGroupName method (since we already know the name).
git-svn-id: svn://10.0.0.236/trunk@109626 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 14:34:54 +00:00
ian%hixie.ch
20b7ae1c79 Fixing copy/paste error -- the user prefs object isn't the application object...
git-svn-id: svn://10.0.0.236/trunk@109625 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 13:40:04 +00:00
ian%hixie.ch
1365aca89e Make '0' and '' be equivalent to 'default' for the 'order' attribute of the <set> element. This makes defaulting actually work (missing attributes seem to get set to ''?).
git-svn-id: svn://10.0.0.236/trunk@109624 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 13:08:39 +00:00
ian%hixie.ch
4723ad814e Place a 5 second timeout on the SMTP object -- this makes running setup bearable without an SMTP server (the default timeout is 2 minutes).
git-svn-id: svn://10.0.0.236/trunk@109623 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 12:53:40 +00:00
ian%hixie.ch
5e76d0defd getFieldsHierarchically() will now return an even prettier result. Since it is mainly (currently only?) used for creating the data hash sent to the string expanders, this makes it a lot easier to author the templates. No silly numbers to remember. :-)
git-svn-id: svn://10.0.0.236/trunk@109622 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 12:51:48 +00:00
peterv%netscape.com
4a909a03a3 Make SOAP build again on Mac. Doesn't affect default build. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@109621 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 11:41:03 +00:00
bryner%netscape.com
253a4c8acd install:: is now libs::. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@109620 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 08:34:45 +00:00
dveditz%netscape.com
fd7a016357 bug 113144 installer shouldn't download entire set of xpi files just because
one of them was missing from the "blob". r=sgehani,sr=darin


git-svn-id: svn://10.0.0.236/trunk@109619 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 08:19:43 +00:00
waterson%netscape.com
12d696038c Bug 113390. Make sure that the module has a MODULE_NAME. rs=blizzard
git-svn-id: svn://10.0.0.236/trunk@109617 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 05:26:50 +00:00
dbaron%fas.harvard.edu
5797bffb8a Fix massive numbers of threadsafety assertions by re-adding NS_INIT_ISUPPORTS, to make builds usable again. b=110531 sr=waterson
git-svn-id: svn://10.0.0.236/trunk@109616 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 05:26:46 +00:00
naving%netscape.com
1a656d8aa7 113359 r=suresh sr=bienvenu. free the collation key after finding the place where the new msg hdr will be
inserted.


git-svn-id: svn://10.0.0.236/trunk@109614 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 05:08:26 +00:00
hewitt%netscape.com
2cd84b4cd7 112831 - inspector not in linux installed builds
git-svn-id: svn://10.0.0.236/trunk@109613 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 05:03:13 +00:00
hewitt%netscape.com
5191e28056 112999 - Built-in Accept button closes dialog even when not used in dialog, r=cmanske, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109612 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 05:01:19 +00:00
hewitt%netscape.com
06317c5623 113353 - DOM Inspector needs chromeclass toolbar, r=me
git-svn-id: svn://10.0.0.236/trunk@109611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 04:48:52 +00:00
dbaron%fas.harvard.edu
cc6399b4d5 Fix orange by exiting loop when bytes hits aMaxBytes rather than waiting for it to get farther.
git-svn-id: svn://10.0.0.236/trunk@109610 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 04:22:44 +00:00
sonja.mirtitsch%sun.com
f45de1fede new test for enhancement request 112504, not hooked in yet
git-svn-id: svn://10.0.0.236/trunk@109609 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 04:16:56 +00:00
mscott%netscape.com
6a662c1a9d Bug #113384 --> hook up CAB collection to a timer to improve initial
message display time.
r=sspitzer
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@109608 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 04:04:22 +00:00
mscott%netscape.com
3849b124cf Bug #112661 --> back out my removal of the firing of selection changed
because it stopped us from selecting the next message when you delete the top of
a collapsed thread.
r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@109607 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 04:02:02 +00:00
sonja.mirtitsch%sun.com
5c69640fe0 one more change for bug #111229
git-svn-id: svn://10.0.0.236/trunk@109605 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 02:58:59 +00:00
neeti%netscape.com
c8e9152cd4 fix for bug 112659 - nsSocketTransport does not cache DNS service, r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@109604 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 02:47:19 +00:00
waldemar%netscape.com
7aa69e6261 Updated to latest CodeWarrior and to fix subproject dependencies
git-svn-id: svn://10.0.0.236/trunk@109603 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 02:26:32 +00:00
waldemar%netscape.com
4071dd6dc6 Added support for named function parameters. Fixed several minor variable definition bugs.
git-svn-id: svn://10.0.0.236/trunk@109602 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 02:25:03 +00:00
mkaply%us.ibm.com
2f54fffc04 OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@109601 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 02:10:01 +00:00
andreww%netscape.com
96d1d963f1 bugzilla 101590 different terms in bookmarks properties referring to same element. r=shliang sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@109600 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 02:06:15 +00:00
andreww%netscape.com
6361b1ba52 bugzilla 71486 mac classic buttons too large. r=andreww, sr=hewitt. Patch by Brad Tiffany <btiffany@usermail.com>.
git-svn-id: svn://10.0.0.236/trunk@109599 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 02:04:02 +00:00
despotdaemon%netscape.com
c0be791366 Pseudo-automatic update of changes made by drepper@cygnus.com.
git-svn-id: svn://10.0.0.236/trunk@109598 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 02:03:42 +00:00
andreww%netscape.com
3b964af2a8 bugzilla 103192 r=morse sr=hewitt reducing h and v space taken up in cookies prefpanels
git-svn-id: svn://10.0.0.236/trunk@109597 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 02:00:36 +00:00
alecf%netscape.com
55466e06c9 first part of fix for bug 112708 r=bnesse, sr=brendan
switch prefs from PLHash to PLDHash


git-svn-id: svn://10.0.0.236/trunk@109596 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:52:44 +00:00
alecf%netscape.com
1f28c5a550 fix for bug 79707
code by ccarlen, sr=alecf, r=valeski
simple null-check so that embeddors don't have to implement nsIBrowserHistory


git-svn-id: svn://10.0.0.236/trunk@109594 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:42:01 +00:00
cmanske%netscape.com
a7e9b6c238 Fix for Color-Background image properties dialog - forgot to checkin previously for b=90229, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109593 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:24:55 +00:00
alecf%netscape.com
f5bf981bca oops, requires update - add uconv
git-svn-id: svn://10.0.0.236/trunk@109592 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:12:51 +00:00
alecf%netscape.com
728ab648ca fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter
git-svn-id: svn://10.0.0.236/trunk@109591 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:10:43 +00:00
pete%alphanumerica.com
374763776d removing bad header.
--pete


git-svn-id: svn://10.0.0.236/trunk@109590 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:09:37 +00:00
pete%alphanumerica.com
2bad071cbe fix for win bustage
forgot nsIProcess header

--pete


git-svn-id: svn://10.0.0.236/trunk@109589 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:08:54 +00:00
rginda%netscape.com
4c925905ac chatzilla only, adding class="chromeclass-toolbar" for os X.
patch=rjc, r=me.


git-svn-id: svn://10.0.0.236/trunk@109588 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:56:12 +00:00
pschwartau%netscape.com
175c0d3676 Adding one more case to test.
git-svn-id: svn://10.0.0.236/trunk@109587 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:54:00 +00:00
darin%netscape.com
172bb49781 fixes bug 94327 "When there are multiple fonts with different foundry names
but the same family name moz should pick the best fit based on width, weight
and available size"
patch=Roland.Mainz@informatik.med.uni-giessen.de
r=katakai@japan.sun.com,(R.K.Aa)dark@c2i.net
sr=kin@netscape.com,jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@109586 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:47:38 +00:00
sonja.mirtitsch%sun.com
ae0cb282f1 improvements coupling QA and tinderbox
git-svn-id: svn://10.0.0.236/trunk@109585 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:44:35 +00:00
pete%alphanumerica.com
14973255e8 b=112515, r=douft, sr=jst
remove spawn method from nsIFile.

/**
    Warning nsIFile API change
 */

--pete


git-svn-id: svn://10.0.0.236/trunk@109584 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:27:43 +00:00
shanjian%netscape.com
39cb7e9730 #103673 Switching to User-Defined character coding causes crash [@ nsFontMetricsWin::ResolveForwards ]
Load userdefined font once and only once, and then treat all other font as normal.

r=rbs, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109583 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:26:28 +00:00
bienvenu%netscape.com
1d4713efc9 fix invalid body partial error from imap server when clicking on message, r=cavin, sr=sspitzer 103171
git-svn-id: svn://10.0.0.236/trunk@109582 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:25:58 +00:00
rginda%netscape.com
320cedffc0 landing CHATZILLA_0_8_5_BRANCH, bug 103386, r=samuel@sieb.net, rs=brendan@mozilla.org
See the ChangeLog and bug for a full list of changes, and the branch checkin log for a blow by blow.


git-svn-id: svn://10.0.0.236/trunk@109581 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:20:48 +00:00
bienvenu%netscape.com
d782fc61ca fix assertion about 0 msg size when first msg you select is fetched with mpod r=cavin, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@109580 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:18:12 +00:00
mcafee%netscape.com
de780130e9 added title= labels for Lk/Bl tinderbox output
git-svn-id: svn://10.0.0.236/trunk@109579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:18:10 +00:00
despotdaemon%netscape.com
a30241ba05 Pseudo-automatic update of changes made by glen.beasley@sun.com.
git-svn-id: svn://10.0.0.236/trunk@109578 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:12:24 +00:00
rjc%netscape.com
bb79ca7948 Part of fix for bug # 108809: r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109577 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:05:21 +00:00
mcafee%netscape.com
f39fbdbc33 title= labels for Ts, Txul.
git-svn-id: svn://10.0.0.236/trunk@109576 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 00:04:57 +00:00
evaughan%netscape.com
e5c8b10723 Facelift for nsBoxToBlockAdaptor -r hyatt -sr waterson #110328
Grid memory leak -r naving -sr hewitt #109490


git-svn-id: svn://10.0.0.236/trunk@109575 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:41:13 +00:00
kmcclusk%netscape.com
c03de93934 Check aHandled after event dispatch before accessing the view's children. b=113121 r=roc+moz sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109574 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:37:09 +00:00
mscott%netscape.com
4252e86f6c remove some obsolete comments.
git-svn-id: svn://10.0.0.236/trunk@109573 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:36:57 +00:00
hwaara%chello.se
5d67f9c327 #78365, make scrolling="off" and scrolling="on" work for frameset elements.
r=fabian, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109572 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:36:40 +00:00
bryner%netscape.com
3d4b21a62a Removing unused MORK_OBSOLETE and MORK_ALONE code. r=bienvenu, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@109571 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:35:23 +00:00
shanjian%netscape.com
6b044f6feb #109913 universal charset detector improvement: use positive approach
r=yokoyama, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@109570 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:33:12 +00:00
bienvenu%netscape.com
44121b5cef reduce number of outliner row paints r=varga, sr=hyatt 112253
git-svn-id: svn://10.0.0.236/trunk@109569 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:32:00 +00:00
sgehani%netscape.com
e047419c40 Fix font size menupopup to show sizes more than one char wide.
b=112907; r=sgehani; sr=alecf (checking in for jrgm@netscape.com)


git-svn-id: svn://10.0.0.236/trunk@109568 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:30:53 +00:00
despotdaemon%netscape.com
9e7b754c2c Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@109567 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:30:33 +00:00
smontagu%netscape.com
cba13e3d15 Fix for Bug 17644 [INLINE-H] negative text-indent paragraphs starting with images, r=dbaron, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@109566 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:30:32 +00:00
sgehani%netscape.com
82e08e2088 Make old profiles that have a closed sidebar be able to open the sidebar again.
b=113031; r=morse; sr=alecf


git-svn-id: svn://10.0.0.236/trunk@109565 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:28:28 +00:00
naving%netscape.com
b30aba8ec0 112783 r=ducarroz sr=bienvenu. free charset got from parsing headers before setting to ISO-8859-1
git-svn-id: svn://10.0.0.236/trunk@109564 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:25:13 +00:00
dbaron%fas.harvard.edu
0739da3e8c Make nsSharableString::Assign set the length correctly when it's reusing its existing buffer. b=112483 r=scc sr=alecf
git-svn-id: svn://10.0.0.236/trunk@109561 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:14:15 +00:00
bzbarsky%mit.edu
033ce36ec4 Create formpost files as 0600, not 0666 so people can't randomly read
them.  Bug 76463, r=alexsavulov, sr=darin


git-svn-id: svn://10.0.0.236/trunk@109560 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:04:44 +00:00
jdunn%netscape.com
e043336604 fixing hp-ux tinderbox orange and aix build bustage
when functions are defined they shouldn't be defined extern
and when declaring externs, they should be declared globably

r=bnesse@netscape.com
sr=alecf@netscape.com
# 113319


git-svn-id: svn://10.0.0.236/trunk@109559 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:04:29 +00:00
alecf%netscape.com
104971899d part of fix for bug 110531 - move CSS loader over to using nsIConverterStream instead of nsIUnicharInputStream
sr=darin, r=dougt


git-svn-id: svn://10.0.0.236/trunk@109558 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:03:18 +00:00
bzbarsky%mit.edu
20b7eaa2ae Forms should return .method in all lowercase for compat with IE and
NS4.  Bug 113174, r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@109557 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:02:12 +00:00
sonja.mirtitsch%sun.com
11c92c480c commiting some changes (backwardcompatibility tests, uname -p problem,
numbers of tests...)
before starting to work on tinderbox problem, log hard to find. 111229


git-svn-id: svn://10.0.0.236/trunk@109556 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:00:02 +00:00
morse%netscape.com
c05b6f8783 bug 112757, form manager not working correctly with frames, r=sgehani, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@109555 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 22:58:47 +00:00
nhotta%netscape.com
9b8be7a4ae Added geostd8 to charset menu, bug 107533, r=yokoyama.
git-svn-id: svn://10.0.0.236/trunk@109554 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 22:58:26 +00:00
dsirnapalli%netscape.com
ae4c770fd9 Test case to test nsIAccessible methods for HTML Table.
git-svn-id: svn://10.0.0.236/trunk@109552 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 22:33:51 +00:00
dsirnapalli%netscape.com
8d95250074 This javascript file contains all the basic functions needed to test nsIAccessible interface.
git-svn-id: svn://10.0.0.236/trunk@109551 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 22:33:13 +00:00
ben%netscape.com
24e139b3ca forgot this too..(113295, blocker)
git-svn-id: svn://10.0.0.236/trunk@109550 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 22:23:17 +00:00
ben%netscape.com
92e434cc59 part of previous fix for 113295
git-svn-id: svn://10.0.0.236/trunk@109548 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 21:51:56 +00:00
ben%netscape.com
c5c9195302 fix for 113295 -'Exit' etc missing from menus. (smoketest blocker)
git-svn-id: svn://10.0.0.236/trunk@109547 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 21:35:55 +00:00
mcafee%netscape.com
9fbe124ac0 Adjusting btek yrange hack value
git-svn-id: svn://10.0.0.236/trunk@109546 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 20:48:38 +00:00
kestes%walrus.com
6e7c6a9cc3 empty cells need to have text brower string.
git-svn-id: svn://10.0.0.236/trunk@109545 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 20:02:39 +00:00
kestes%walrus.com
ae40875194 minor changes in now addnote communicates with tinder.cgi. now the note
is rendered on an as needed basis inside tinder.cgi.


git-svn-id: svn://10.0.0.236/trunk@109544 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:57:35 +00:00
relyea%netscape.com
e52c4fd8a8 Sigh, Fix name collision between pk11wrap and softoken.
git-svn-id: svn://10.0.0.236/trunk@109543 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:56:00 +00:00
kestes%walrus.com
2d83e80dfc text browser updates.
git-svn-id: svn://10.0.0.236/trunk@109542 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:55:56 +00:00
kestes%walrus.com
12ad231d6b add features to allow text browsers to view status tables.
git-svn-id: svn://10.0.0.236/trunk@109541 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:55:12 +00:00
kestes%walrus.com
b35960948e update tests to accomidate new text browser features and conventions.
git-svn-id: svn://10.0.0.236/trunk@109540 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:53:31 +00:00
kestes%walrus.com
61a08b1a54 add support for an ALL page.
fix a bunch of minor bugs and typos.


git-svn-id: svn://10.0.0.236/trunk@109539 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:52:38 +00:00
relyea%netscape.com
940286fb1c Fix Solaris and HP build failures.
git-svn-id: svn://10.0.0.236/trunk@109538 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:51:57 +00:00
kestes%walrus.com
22c7490c4d add link back to the current status page from which ever status page
you are looking at.


git-svn-id: svn://10.0.0.236/trunk@109537 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:50:00 +00:00
kestes%walrus.com
87115e5a49 add support for text browser characters.
git-svn-id: svn://10.0.0.236/trunk@109536 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:48:47 +00:00
kestes%walrus.com
14ae8c3224 generalize treestate so that we can provide data to text browsers.
git-svn-id: svn://10.0.0.236/trunk@109535 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:47:24 +00:00
kestes%walrus.com
ffda9dbeeb add support for an ALL page.
git-svn-id: svn://10.0.0.236/trunk@109534 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:46:04 +00:00
kestes%walrus.com
4d536e38db add support for text browsers: colorized characters which discribe the build
cell state.  Also allow users to chose the brief/full log from the
status page.


git-svn-id: svn://10.0.0.236/trunk@109533 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:44:26 +00:00
kestes%walrus.com
fa08080ad9 add support for text browsers including, special colorized characters
and click through text of notices.


git-svn-id: svn://10.0.0.236/trunk@109532 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:43:28 +00:00
kestes%walrus.com
6adfc6bfa6 add support for text browsers.
git-svn-id: svn://10.0.0.236/trunk@109531 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 19:42:45 +00:00
jdunn%netscape.com
918a4c91d9 Use the right vtable : AIX ONLY!
# 90720
r=cls@seawood.org


git-svn-id: svn://10.0.0.236/trunk@109528 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 15:02:08 +00:00
peterv%netscape.com
da41d89803 Making SOAP build on Mac. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@109527 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 14:43:30 +00:00
locka%iol.ie
5af218e201 Add code to nullify pointers and do extra checks to catch docshell crashes most likely caused by bad weak references. b=67721 r=rpotts@netscape.com sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109526 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 12:42:49 +00:00
seawood%netscape.com
8aaa83d975 Backing out previous checkin due to TT font issues.
Bug #94327


git-svn-id: svn://10.0.0.236/trunk@109525 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 10:29:10 +00:00
mcafee%netscape.com
fb5bd72174 Adding &days=0 default to Ts and Txul links.
git-svn-id: svn://10.0.0.236/trunk@109524 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 09:10:32 +00:00
ben%netscape.com
e690e412bc fix 77513 - text on autocomplete checkbox does not wrap on mac modern/classic and causes panel to overflow. r=jag, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109523 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 09:07:23 +00:00
mcafee%netscape.com
afe4232ff0 removing jrgm's version of &days=, Date::Calc version is working.
git-svn-id: svn://10.0.0.236/trunk@109522 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 09:07:16 +00:00
ben%netscape.com
34aa827bcd oops forgot this one
git-svn-id: svn://10.0.0.236/trunk@109521 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 08:58:40 +00:00
mcafee%netscape.com
df9d89c579 Adding &days=n argument.
git-svn-id: svn://10.0.0.236/trunk@109520 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 08:56:28 +00:00
mcafee%netscape.com
072c304843 Adding &days=n argument. Left in jrgm's attempt as a comment for now.
git-svn-id: svn://10.0.0.236/trunk@109519 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 08:40:42 +00:00
ben%netscape.com
68f4d927c0 104485 - remove duplicate platformGlobalOverlays, move code into better location and use a better name (platformCommunicatorOverlay). sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@109518 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 08:25:21 +00:00
mcafee%netscape.com
f914bb2f05 Adding &days=n argument. Needs Bit::Vector and Date::Calc perl modules.
git-svn-id: svn://10.0.0.236/trunk@109517 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 08:11:15 +00:00
jband%netscape.com
512af6dc98 adding build instructions from pschwartau@netscape.com to the README. Not part of mozilla build
git-svn-id: svn://10.0.0.236/trunk@109516 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 07:58:18 +00:00
hewitt%netscape.com
3a6a5da964 112831 - linux installer crashes when installing inspector (just fixing typo in packages)
git-svn-id: svn://10.0.0.236/trunk@109515 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 06:18:00 +00:00
blakeross%telocity.com
06b1b51c97 110674 - msgdeletemessage() has two unnecessary function calls. r=hwaara sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@109514 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 06:03:33 +00:00
blakeross%telocity.com
c045d704f4 112954 - tasksOverlay.css is loaded twice on nav startup, mail startup and msg compose opening. sr=ben
git-svn-id: svn://10.0.0.236/trunk@109513 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 06:01:24 +00:00
jaggernaut%netscape.com
2ac4fb93a3 Bug 61886: Revert to use currentURI.spec instead of _content.location.href. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@109512 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 04:19:00 +00:00
seawood%netscape.com
fc5cfdea80 When there are fonts with multiple foundry names, pick the best font based upon widget, height & available size.
Thanks to Brian Stell <bstell@netscape.com> & Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de> for the patch.
Bug #94327 r=katakai sr=kin


git-svn-id: svn://10.0.0.236/trunk@109511 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 04:18:26 +00:00
dbaron%fas.harvard.edu
77c606ffad Make nsSharableString::Assign set the length when it's reusing its existing buffer. b=112483 r=jag sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109509 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 03:54:32 +00:00
seawood%netscape.com
9758414022 Implement textZoom, fix caret hiding problem and fix italics displaying as normal chars problem.
Thanks to Makoto Hamanaka <VYA04230@nifty.com> & Paul Ashford <arougthopher@lizardland.net> for the patch.
Bug #68442 r=cls


git-svn-id: svn://10.0.0.236/trunk@109508 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 03:16:05 +00:00
av%netscape.com
d415329519 Preparing the Plugin SDK to become a part of the regular build. It is not yet.
git-svn-id: svn://10.0.0.236/trunk@109507 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 02:46:10 +00:00
mcafee%netscape.com
5b91673b2e Changing to long hashtable tag (113175). code=gisburn, r=mcafee
git-svn-id: svn://10.0.0.236/trunk@109506 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 02:31:46 +00:00
naving%netscape.com
eb72fbb1a3 112331, 112333 r=ducarroz sr=bienvenu. fix leaking char *mail charset and url string.
git-svn-id: svn://10.0.0.236/trunk@109505 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 00:58:37 +00:00
bryner%netscape.com
b09257b93a Backing out new code alecf accidentely checked in, fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@109504 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 00:37:35 +00:00
av%netscape.com
b80617f16a Preparing the Plugin SDK to become a part of the build, it is not yet.
git-svn-id: svn://10.0.0.236/trunk@109503 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 23:39:03 +00:00
alecf%netscape.com
0daeecc032 augh, didn't mean to check these in
git-svn-id: svn://10.0.0.236/trunk@109502 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 23:17:11 +00:00
alecf%netscape.com
bfb7e06d84 ok, back out my ToLowerCase() change, it didn't make any difference
git-svn-id: svn://10.0.0.236/trunk@109501 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 23:15:31 +00:00
seawood%netscape.com
c3a0ae9bc7 Revert to using standard config.sub & config.guess entries for OS/2.
Thanks to pedemont@us.ibm.com (Javier Pedemonte) for the patch.
Bug #112244 r=cls


git-svn-id: svn://10.0.0.236/trunk@109500 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 22:16:28 +00:00
rangansen%netscape.com
8ee6615c9b bug 112517, r=rangansen sr=hewitt.
Removing some dead bloats  checking in for John Morrison


git-svn-id: svn://10.0.0.236/trunk@109499 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 22:11:21 +00:00
bryner%netscape.com
90f701cee0 Removing unused useViewManager2 default pref. rs=ben.
git-svn-id: svn://10.0.0.236/trunk@109498 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 22:09:09 +00:00
seawood%netscape.com
c88ac2817e Adding test for gcc -pipe feature.
Bug #81031 r=wtc


git-svn-id: svn://10.0.0.236/trunk@109497 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 22:08:42 +00:00
rangansen%netscape.com
645f530172 bug 112249, r=rangansen sr=blake.
checking in for John Morrison


git-svn-id: svn://10.0.0.236/trunk@109496 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 22:00:28 +00:00
leaf%mozilla.org
01dab956f2 Automated update
git-svn-id: svn://10.0.0.236/trunk@109495 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 21:57:48 +00:00
seawood%netscape.com
f31e9e184a Remove --disable-gcc-pipe option.
Bug #81031


git-svn-id: svn://10.0.0.236/trunk@109494 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 21:56:19 +00:00
mcafee%netscape.com
5076271f06 Added &autoscale=1 option, default is still the btek hack [1300:1400]
git-svn-id: svn://10.0.0.236/trunk@109493 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 21:54:25 +00:00
mcafee%netscape.com
56fe984f6b First commit.
git-svn-id: svn://10.0.0.236/trunk@109492 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 21:50:59 +00:00
mcafee%netscape.com
bdccdab341 Adding &autoscale=1 option, default is off
git-svn-id: svn://10.0.0.236/trunk@109491 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 21:43:35 +00:00
mcafee%netscape.com
b5df37b8a6 Ignore db directory
git-svn-id: svn://10.0.0.236/trunk@109490 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 21:31:30 +00:00
mcafee%netscape.com
d3e4ce05b3 Added &autoscale=1 option to autoscale y-axis.
git-svn-id: svn://10.0.0.236/trunk@109489 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 21:30:31 +00:00
alecf%netscape.com
cf0efed474 performance test - just to see if nsString.ToLowerCase() is faster than ToLowerCase()
no reviewer, will back out after one or two tinderbox cycles


git-svn-id: svn://10.0.0.236/trunk@109488 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 19:06:02 +00:00
mcafee%netscape.com
c607935314 renamed XUL test timeout to match test name, extended timeout openwound was timing out
git-svn-id: svn://10.0.0.236/trunk@109487 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 19:04:52 +00:00
mcafee%netscape.com
f4920c741f xul test is faster than 5 min.
git-svn-id: svn://10.0.0.236/trunk@109486 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 09:29:33 +00:00
mcafee%netscape.com
cca2e5fcc9 need chomp to nuke \n off of open_time
git-svn-id: svn://10.0.0.236/trunk@109485 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 09:17:07 +00:00
mcafee%netscape.com
c65adbaa24 data doesn't like spaces? protocol error in send_xulwinopen_results_to_server()
git-svn-id: svn://10.0.0.236/trunk@109484 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 08:59:04 +00:00
mcafee%netscape.com
8f4b30c5ce Changed xulwinopen token so we can wrap the number with a link to a graph of the data history. Added comment for -P profile slowness in startup test.
git-svn-id: svn://10.0.0.236/trunk@109483 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 06:44:20 +00:00
mcafee%netscape.com
f5e32f2df1 Tinderbox test only: change data token so we only get a number back (ms).
git-svn-id: svn://10.0.0.236/trunk@109482 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 06:40:56 +00:00
dp%netscape.com
a4490c1e80 disabling unconditional printfs.
git-svn-id: svn://10.0.0.236/trunk@109480 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 05:39:49 +00:00
dbaron%fas.harvard.edu
3c194f9341 Fix OS/2 bustage by changing |inline nsresult| to |NS_IMETHODIMP| for function that can't and shouldn't be inline. b=110127
git-svn-id: svn://10.0.0.236/trunk@109479 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 05:33:20 +00:00
curt%netscape.com
1eb1030073 More complete title for Mail and Newsgroups.
git-svn-id: svn://10.0.0.236/trunk@109478 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 04:49:39 +00:00
dbaron%fas.harvard.edu
d43ae7083a Fix leak (and other) regression from previous checkin. b=111815
git-svn-id: svn://10.0.0.236/trunk@109477 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 04:07:17 +00:00
bryner%netscape.com
5905d6acc1 Forgot this file as part of 113082. (pre-emptively fixing bustage)
git-svn-id: svn://10.0.0.236/trunk@109476 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:46:56 +00:00
dbaron%fas.harvard.edu
7a15a72b48 Various cleanup and commenting in nsRuleNode and nsStyleContext. A few minor performance tweaks to nsRuleNode::WalkRuleTree. Fix correctness / crash errors that were caused by not setting the parent struct in the Compute*Data functions for inherited structs. b=111815 r=hewitt sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109475 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:44:45 +00:00
bzbarsky%mit.edu
d414acca70 Fix typo in value returned by getComputedStyle. Bug 112866, sr=jst
git-svn-id: svn://10.0.0.236/trunk@109474 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:28:48 +00:00
bzbarsky%mit.edu
fab167e7ab Make DOM inspector scroll to elements before flashing them. Bug 112817,
r=hidday@geocities.com, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@109473 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:25:36 +00:00
av%netscape.com
bdbe12be37 Preparing pluign SDK for becoming a part of the build (it is not yet).
git-svn-id: svn://10.0.0.236/trunk@109472 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:14:05 +00:00
bryner%netscape.com
38d080e8ca Removing old grid code (bug 113082). r=timeless, evaughan, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@109471 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:10:21 +00:00
leaf%mozilla.org
612b6a7c12 Automated update
git-svn-id: svn://10.0.0.236/trunk@109470 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 22:27:51 +00:00
seawood%netscape.com
3b8c1ad96f Set -DFUNCPROTO=15 when compiling against X so that the X headers use the fully qualified ANSI-C prototypes.
Bug #112873 r=bryner


git-svn-id: svn://10.0.0.236/trunk@109469 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 22:15:20 +00:00
bryner%netscape.com
7557fca3e3 Removing unused silentdownload prefs. r=shaver, rs=ben.
git-svn-id: svn://10.0.0.236/trunk@109468 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 21:03:12 +00:00
leaf%mozilla.org
72e98582f5 Automated update
git-svn-id: svn://10.0.0.236/trunk@109467 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 18:57:50 +00:00
seawood%netscape.com
43e92a7e26 Revert to using standard config.sub & config.guess entries for OS/2.
Thanks to pedemont@us.ibm.com (Javier Pedemonte) for the patch.
Bug #112244 r=cls


git-svn-id: svn://10.0.0.236/trunk@109466 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 18:54:41 +00:00
seawood%netscape.com
85f1209627 Disable universalchardet tests when DISABLE_TESTS is set.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #111528 r=cls


git-svn-id: svn://10.0.0.236/trunk@109465 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 18:49:06 +00:00
nhotta%netscape.com
fe0a0ab52d Attempt to fix the Mac bustage.
git-svn-id: svn://10.0.0.236/trunk@109464 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 18:28:15 +00:00
nhotta%netscape.com
acd5f7a6de Added default charset to nsIMsgCompFields, removed nsMsgI18NGetDefaultMailCharset, bug 110127, r=ducarroz, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@109462 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 17:39:17 +00:00
nhotta%netscape.com
3a97f35d33 For search, cache default charset to the class. For eudora, changed to get a pref directly,
bug 110127, r=naving, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@109461 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 17:36:35 +00:00
bienvenu%netscape.com
c871243e84 clear cached thread object when folder tries to clear db (fix for bloat when switching folders) r=naving, sr=sspitzer 95685
git-svn-id: svn://10.0.0.236/trunk@109460 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 17:25:33 +00:00
mkaply%us.ibm.com
864d999137 put PL_strtok_r in to try to fix HPUX bustage
git-svn-id: svn://10.0.0.236/trunk@109459 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:58:54 +00:00
roc+%cs.cmu.edu
35e1d479ea Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
jst%netscape.com
ced02272fe Fixing bug 113008. Marking nsIDOMNodeFilter as a 'function' so that JS functions can be passed as nsIDOMNodeFilters. r=dbaron@fas.harvard.edu, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109457 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 09:24:36 +00:00
leaf%mozilla.org
388fec8b4d Automated update
git-svn-id: svn://10.0.0.236/trunk@109456 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 08:42:51 +00:00
dbaron%fas.harvard.edu
d53a7ab034 Back out failed attempt to fix HP bustage.
git-svn-id: svn://10.0.0.236/trunk@109455 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 08:37:37 +00:00
dbaron%fas.harvard.edu
84182160c6 nsBookmarksService.h now depends on nkcache. Fixing bustage. b=108809
git-svn-id: svn://10.0.0.236/trunk@109454 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 08:34:11 +00:00
ben%netscape.com
c424dc725c fix build bustage. add nkcache dependency.
git-svn-id: svn://10.0.0.236/trunk@109453 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 08:01:08 +00:00
leaf%mozilla.org
5499e2a236 Automated update
git-svn-id: svn://10.0.0.236/trunk@109452 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 07:27:49 +00:00
rjc%netscape.com
8082ff2e04 Fix bug #108809. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109451 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 07:23:21 +00:00
dbaron%fas.harvard.edu
0090b7de69 Fix HP bustage from bug 112708 by testing for strtok_r in C++ rather than C.
git-svn-id: svn://10.0.0.236/trunk@109450 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 07:16:07 +00:00
jst%netscape.com
7978eda6a0 Adding 'raises(...)' to a few methods to make our interfaces match the W3C DOM Events ones closer. No review, these changes are meaningless in mozilla for now.
git-svn-id: svn://10.0.0.236/trunk@109448 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 06:45:32 +00:00
hewitt%netscape.com
d4423fda70 101958 - outliner drag-n-drop without changing columns sorts on that column, r=jag, sr=blake
git-svn-id: svn://10.0.0.236/trunk@109447 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 06:38:42 +00:00
jst%netscape.com
b294f8c72f Whitespace changes to make these interfaces match the styling in the other DOM interfaces.
git-svn-id: svn://10.0.0.236/trunk@109446 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 06:36:12 +00:00
mcafee%netscape.com
2d6a76a195 comment hints for mail test
git-svn-id: svn://10.0.0.236/trunk@109444 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 06:01:33 +00:00
seawood%netscape.com
98e5ef46e1 Remove mozilla/security/makefile.win from PSM pull as it's still breaking things.
bug #109581


git-svn-id: svn://10.0.0.236/trunk@109443 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 04:50:26 +00:00
seawood%netscape.com
ad4f27ab02 More fun with CVS' Emptydir feature. Pull NSS before PSM like win32 does.
Bug #109581


git-svn-id: svn://10.0.0.236/trunk@109442 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 04:39:04 +00:00
ian%hixie.ch
e0683c5b96 Fixed a bug in the main run loop whereby the objects array wasn't freed until shutdown, which sometimes meant objects got destroyed after the application, which is bad when the objects use the application to find services, etc. (This doesn't happen with services since services are not allowed to store references to the application, either directly or indirectly through references to objects or service instances.) Fixed the logout code to wait until the user tries to do something that requires login before clearing the logging out flag. This fixes a bug with HTTP whereby if a user logged out then his UA wouldn't ever be sent a 401 so wouldn't ever lose the authentication info, because browsers send the authentication info regardless of whether a page needs it or not. Also took the opportunity to remove a potential bug in the input validator code: store the admin message instead of a reference to the user object which might end up with a lifetime longer than expected.
git-svn-id: svn://10.0.0.236/trunk@109441 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 04:37:26 +00:00
rko%netscape.com
e66d81d179 Testing cvs upgrade
git-svn-id: svn://10.0.0.236/trunk@109440 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 04:34:21 +00:00
ian%hixie.ch
b2d7bfcb3f Removed an outdated comment. It is now safe to have a single module be a service, one or more service instances, and one or more objects all at the same time.
git-svn-id: svn://10.0.0.236/trunk@109439 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 04:29:20 +00:00
law%netscape.com
3c64a584db Enhance compareNav so it handles jar/nojar configurations
git-svn-id: svn://10.0.0.236/trunk@109438 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 03:54:14 +00:00
seawood%netscape.com
5864394fd1 Pull mozilla/security/makefile.win now that the cvs server has been upgraded. bug #109581
git-svn-id: svn://10.0.0.236/trunk@109437 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 03:45:14 +00:00
waldemar%netscape.com
0fd39e383e Recent ECMA grammar changes: deleted the x.class operator and prohibited super from being a direct operand of the delete operator.
git-svn-id: svn://10.0.0.236/trunk@109436 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 03:31:46 +00:00
waldemar%netscape.com
0338c89237 Fixed Mac warnings
git-svn-id: svn://10.0.0.236/trunk@109435 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 03:30:13 +00:00
pschwartau%netscape.com
b0ecf5191b Added more cases to test; updated the license at top.
git-svn-id: svn://10.0.0.236/trunk@109434 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 03:29:24 +00:00
seawood%netscape.com
e6d1d3a41d Post CVS server upgrade test
git-svn-id: svn://10.0.0.236/trunk@109433 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 03:23:13 +00:00
dp%netscape.com
74fd5a7096 make this work with cygwin
git-svn-id: svn://10.0.0.236/trunk@109432 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 01:51:41 +00:00
vidur%netscape.com
ce35be2ae4 Better handling of progress indicator. [not part of build]
git-svn-id: svn://10.0.0.236/trunk@109431 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 01:20:46 +00:00
vidur%netscape.com
2c85c3cfe2 Ensure that we call NS_TermEmbedding on shutdown. [not part of build]
git-svn-id: svn://10.0.0.236/trunk@109430 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 01:20:02 +00:00
waterson%netscape.com
724ee564ce First checked in.
git-svn-id: svn://10.0.0.236/trunk@109429 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 01:07:39 +00:00
morse%netscape.com
d7d45166cb bug 112934, fix regression caused by patch in bug 77073, r=sgehani, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@109428 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:58:59 +00:00
mscott%netscape.com
903636d139 add missing file
git-svn-id: svn://10.0.0.236/trunk@109427 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:58:48 +00:00
law%netscape.com
460bff4c49 Updating old .bat files to key off nav window visibility; adding tools to run with alternative .jars and calculate stats
git-svn-id: svn://10.0.0.236/trunk@109426 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:51:12 +00:00
dp%netscape.com
e1b00fa978 bug 112312 Removing 32k-1 allocs when reading jar files. Saves a bunch
of time (about 10% on win2k) on startup. r=cathleen,dveditz sr=darin


git-svn-id: svn://10.0.0.236/trunk@109425 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:50:13 +00:00
akkana%netscape.com
7149730967 91388: fix some link checker regressions (debug menu only), track change in backend apis. r=brade,cmanske sr=kin
git-svn-id: svn://10.0.0.236/trunk@109424 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:44:30 +00:00
jaggernaut%netscape.com
b95acca2fe Bug 99501: JS error in viewZoomOverlay.js at startup. r=sfraser, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109422 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:43:22 +00:00
hewitt%netscape.com
dd19aed169 97253 - XBL Default Content Bug in LocateInstance, r=jag, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109421 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:32:07 +00:00
hewitt%netscape.com
a0aefcf642 112772 - DOM Inspector leaks a whole document, r=dbaron, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109420 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:25:01 +00:00
bryner%netscape.com
955fa48f3d Bug 41119 - Don't waste time notifying the frame manager about frame destruction if it is happening from nsFrameManager::Destroy. r=dbaron, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@109419 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:22:00 +00:00
rayw%netscape.com
01d7dc1de2 Fixed errors in mustUnderstand attribute of header block.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109417 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:03:57 +00:00
mscott%netscape.com
a179cb995d Bug #112724 --> reduce the duplicate copies of messenger's contents.rdf
by creating a new chrome package called messenger-mapi.
r=bienvenu
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@109415 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:01:02 +00:00
rpotts%netscape.com
08aa9eb651 i'm a doofus!! all of the LoadURI calls started looking the same :-)
git-svn-id: svn://10.0.0.236/trunk@109414 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 23:54:30 +00:00
jgaunt%netscape.com
72a3d81e33 Fixing bustage on linux
git-svn-id: svn://10.0.0.236/trunk@109413 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 23:51:06 +00:00
sfraser%netscape.com
6bb76f2ad1 Fix access paths to pick up new files.
git-svn-id: svn://10.0.0.236/trunk@109412 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 23:42:44 +00:00
ian%hixie.ch
1b28669e3b Add support for keyed channels to mozbot. A lot of work, like it said in the INSTALL file. :-) b=112955 r=timeless
git-svn-id: svn://10.0.0.236/trunk@109410 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 23:38:21 +00:00
rayw%netscape.com
ff74724cba Gave more SOAP objects xpconnect behaviors.
git-svn-id: svn://10.0.0.236/trunk@109409 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 23:32:53 +00:00
relyea%netscape.com
4e5aab32b8 1) restore the const to PK11_Configure().
2) partial set of fixes from Nelson's review (checking for NULL) from the
'double escape' functions.
3) Add functions to clean up global memory locks


git-svn-id: svn://10.0.0.236/trunk@109408 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 23:32:30 +00:00
relyea%netscape.com
7535dff25e The other half of the double check change.
git-svn-id: svn://10.0.0.236/trunk@109407 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 23:29:31 +00:00
mkaply%us.ibm.com
bb79587d15 #110927
r=mkaply, sr=blizzard
OS/2 only - Code from jblanco to fix Alt Key handling with menus


git-svn-id: svn://10.0.0.236/trunk@109406 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 23:29:29 +00:00
relyea%netscape.com
ad1ef60f63 Fix several memory leaks.
Adjust the default hash sizes down for mozilla client.
Merge the NSS 3.3 key check and signature check stuff.


git-svn-id: svn://10.0.0.236/trunk@109405 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 23:24:35 +00:00
relyea%netscape.com
9b9e6b8328 fix Bug 93989 Memory leak when adding a module.
git-svn-id: svn://10.0.0.236/trunk@109404 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 23:22:53 +00:00
relyea%netscape.com
568582c0fc Add code to 'shutdown' freebl (clean up the blinding cache in rsa).
merge the NSS 3.3 changes to export Ian's double check code through the loader.


git-svn-id: svn://10.0.0.236/trunk@109403 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 23:21:49 +00:00
alecf%netscape.com
7d510d571d add nsConverterInputStream to factory now that all 3 platforms are updated
git-svn-id: svn://10.0.0.236/trunk@109402 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:58:36 +00:00
alecf%netscape.com
63cb208466 oops, export this file
git-svn-id: svn://10.0.0.236/trunk@109401 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:58:01 +00:00
alecf%netscape.com
287688d772 Added files:
mozilla/intl/uconv/src/nsConverterInputStream.cpp


git-svn-id: svn://10.0.0.236/trunk@109400 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:57:55 +00:00
rayw%netscape.com
456c9f8a82 Fixed most SOAP issues brought up by reviewer. Added completion object.
Inherited SOAPParameter and SOAPHeaderBlock from SOAPBlock, improved
error condition handling, improved comments.

Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109399 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:53:16 +00:00
seawood%netscape.com
eadbebad36 Since jobserver feature of gmake causes dependency targets to be processed in parallel, we need to invoke $(MAKE) for each of the phases that we want to build from a meta target (like all:: & alldep::).
git-svn-id: svn://10.0.0.236/trunk@109398 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:53:10 +00:00
alecf%netscape.com
547df4c3e4 other part of bug 11053, move ConverterInputStream into uconv from xpcom, sr=darin r=dougt
git-svn-id: svn://10.0.0.236/trunk@109397 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:50:27 +00:00
jgaunt%netscape.com
791ff8df84 bug 112701 - seperate accessible/src dir into 3
mac specific changes
r=aaronl
r=leaf
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@109396 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:49:02 +00:00
jgaunt%netscape.com
6d091ec688 bug 112701 - seperate accessible/src directory into 3
r=aaronl
r=leaf
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@109395 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:48:55 +00:00
alecf%netscape.com
20ef036496 bug 110531 and bug 108285 - move ConverterInputStream into uconv and out of xpcom. sr=darin, r=dougt
git-svn-id: svn://10.0.0.236/trunk@109394 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:48:47 +00:00
mkaply%us.ibm.com
4defff2d32 #107905
r=mkaply, sr=attinasi
OS/2 only - don't shortcut font computations for fixed with fonts


git-svn-id: svn://10.0.0.236/trunk@109393 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:47:57 +00:00
mkaply%us.ibm.com
3f17113145 #112359
r=mkaply, sr=blizzard
OS/2 only - crash if you don't have font Times New Roman MT 30 installed


git-svn-id: svn://10.0.0.236/trunk@109392 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:43:52 +00:00
ian.mcgreer%sun.com
60617f97d8 fix so that nickname lookup falls back to email address (for CERT_FindCertByNicknameOrEmailAddr)
git-svn-id: svn://10.0.0.236/trunk@109391 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:40:31 +00:00
rpotts%netscape.com
2faee254d0 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes...
git-svn-id: svn://10.0.0.236/trunk@109390 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:35:33 +00:00
jj%netscape.com
5a413592bd bump up mac version number to 0.9.6+ on the trunk
git-svn-id: svn://10.0.0.236/trunk@109389 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:21:31 +00:00
despotdaemon%netscape.com
db385a8bd7 Pseudo-automatic update of changes made by mitchf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@109388 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:11:20 +00:00
dp%netscape.com
761471061c stop with visible window
git-svn-id: svn://10.0.0.236/trunk@109387 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:08:55 +00:00
dbaron%fas.harvard.edu
25c6c4fd3c Fix typo. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@109386 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:03:28 +00:00
dbaron%fas.harvard.edu
79ed9126ca Fix typos that shouldn't have been checked in. b=110802
git-svn-id: svn://10.0.0.236/trunk@109383 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 21:58:09 +00:00
mcafee%netscape.com
7c297b316b Adding test timeouts, so clients can configure this.
git-svn-id: svn://10.0.0.236/trunk@109382 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 21:56:21 +00:00
jake%acutex.net
e0604e6a44 Get the file list of files to scan for templates from Support::Files instead of glob('*')
git-svn-id: svn://10.0.0.236/trunk@109381 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 21:49:47 +00:00
yokoyama%netscape.com
4da245455d Bug 109265
checking in for skamio@netscape.net
Disabling IME for Readonly attribute of <INPUT>
/r=yokoyama; /sr=kin


git-svn-id: svn://10.0.0.236/trunk@109380 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 21:48:31 +00:00
mkaply%us.ibm.com
6a1f0c6ce3 No bug
r=mkaply
OS/2 only - "." and " " should not be special file system chars on OS/2


git-svn-id: svn://10.0.0.236/trunk@109379 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 21:28:41 +00:00
mkaply%us.ibm.com
bb7cbc0dc5 No bug - cleanup - remove unnecessary XP_OS2_HACK and XP_OS2
git-svn-id: svn://10.0.0.236/trunk@109377 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 21:00:43 +00:00
mkaply%us.ibm.com
4ad9438062 No bug - cleanup - remove unnecessary XP_OS2_HACK
git-svn-id: svn://10.0.0.236/trunk@109376 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:56:42 +00:00
mkaply%us.ibm.com
495db0227d No bug - cleanup - remove unnecessary XP_OS2
git-svn-id: svn://10.0.0.236/trunk@109375 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:55:28 +00:00
law%netscape.com
bda7e275dd Bug 106231; add mnemonic for Disable QuickLaunch menu item; patch from Tsukasa Maruyama (mal@mozilla.gr.jp); r=morse, sr=ben
git-svn-id: svn://10.0.0.236/trunk@109374 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:50:18 +00:00
ian%hixie.ch
1fde83c771 Made all dependencies load their modules on demand rather than on startup (cuts down the page serving time by about 50%). Also removed some debugging statements in certain high profile areas.
git-svn-id: svn://10.0.0.236/trunk@109373 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:48:36 +00:00
mkaply%us.ibm.com
4d79330194 Taking cls suggestion - just include string.h
git-svn-id: svn://10.0.0.236/trunk@109372 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:48:13 +00:00
attinasi%netscape.com
c34413af37 Blocked images will no longer show the broken image icon, nor will they show ALT text. Repairs alleged 'regression' from previous ALT text fixes. b=109090 r=alexsavulov sr=kin
git-svn-id: svn://10.0.0.236/trunk@109371 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:47:06 +00:00
attinasi%netscape.com
3db4a0e9ac Checkin for Ulrich Drepper: cleanup of 'if' cascade in frame constructor for controls. b=99421 r=rods sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109370 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:43:35 +00:00
mkaply%us.ibm.com
4858a05464 Attempt to fix HPUX bustage - use PL_strtok_r instead of strtok_r
git-svn-id: svn://10.0.0.236/trunk@109369 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:41:49 +00:00
mkaply%us.ibm.com
0780022acc Preemptively fix OS/2 bustage that will be caused by prefapi change
git-svn-id: svn://10.0.0.236/trunk@109368 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 18:56:56 +00:00
despotdaemon%netscape.com
0ed7d1b0ca Pseudo-automatic update of changes made by alexsavulov@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@109367 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 18:53:58 +00:00
alecf%netscape.com
b1a1737850 for bug 112708, sr=dveditz, r=bnesse move prefapi.c to prefapi.cpp
git-svn-id: svn://10.0.0.236/trunk@109366 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 18:43:43 +00:00
alecf%netscape.com
f803585f96 for bug 112708, sr=dveditz, r=bnesse convert prefapi.c to C++
git-svn-id: svn://10.0.0.236/trunk@109365 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 18:42:41 +00:00
despotdaemon%netscape.com
d5ccc4ed9e Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@109364 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 18:40:49 +00:00
ian%hixie.ch
9ea87b9464 Added support for easily getting the original key name of a munged key: added a virtual '.coses: original key' entry to all hashes in COSES (works similar to the virtual '.length' item that all arrays have). Edited the debug string to mention these virtual items.
git-svn-id: svn://10.0.0.236/trunk@109361 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 16:20:22 +00:00
ian%hixie.ch
10f906b791 Fixing an inconsistency between getArgument() and peekArgument(). peekArgument() now returns an empty list in an array context if there is no such argument, instead of undef. This makes it act like getArgument(), which just returns the list of values in an array context. Similarly, made the default implementation of peekArgument() whine about not being implemented instead of returning undef, since by design peekArgument() should return the same as getArgument() if the argument is present.
git-svn-id: svn://10.0.0.236/trunk@109360 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 16:13:00 +00:00
ian%hixie.ch
5668befe73 Adding error handling for the case where the user prefs editor is called with bogus user IDs.
git-svn-id: svn://10.0.0.236/trunk@109359 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 16:06:45 +00:00
karnaze%netscape.com
f9dc3f03b9 bug 51023 - reduce the size of table related frame classes. sr=kin.
git-svn-id: svn://10.0.0.236/trunk@109358 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 15:05:51 +00:00
ian%hixie.ch
9d60eadb89 Implemented logout and explicit new account creation in the login service. Had to add removeObject() to the Controller module (the opposite of the exisiting addObject()).
git-svn-id: svn://10.0.0.236/trunk@109357 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 13:31:29 +00:00
peterv%netscape.com
1528f1d062 Fix for 106586 (Inappropriate source into the plaintext copy.) r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@109355 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 09:50:25 +00:00
peterv%netscape.com
022734969c Fix for 106586 (Inappropriate source into the plaintext copy.) r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@109354 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 09:19:33 +00:00
mcafee%netscape.com
5a19c639ba close the file to get it to write to disk
git-svn-id: svn://10.0.0.236/trunk@109353 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 08:41:27 +00:00
mcafee%netscape.com
299232dd6d match changes from startup test.
git-svn-id: svn://10.0.0.236/trunk@109352 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 08:38:05 +00:00
sspitzer%netscape.com
662226b765 fix for #112786. the home page link isn't "blue" like the other links in the addressbook
card preview pane.


git-svn-id: svn://10.0.0.236/trunk@109351 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 08:34:22 +00:00
mcafee%netscape.com
53f812c1af better error message when no data file is found.
git-svn-id: svn://10.0.0.236/trunk@109350 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 08:32:53 +00:00
rginda%netscape.com
4cbd7a484c bug 112494, "crash in nsAccessibilityService::CreateIFrameAccessible", r=jgaunt, sr=shaver
sanity check the parameter and return an error code if something isn't right, instead of crashing.


git-svn-id: svn://10.0.0.236/trunk@109348 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 08:29:08 +00:00
samuel%sieb.net
c517416200 bring the xml-rpc code up to date with current APIs (bug 109960)
r=mj@digicool.com  sr=darin@netscape.com
not part of the build


git-svn-id: svn://10.0.0.236/trunk@109346 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 08:04:25 +00:00
mcafee%netscape.com
3b00003c68 try to fix error-on-first-report
git-svn-id: svn://10.0.0.236/trunk@109345 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 07:57:19 +00:00
dveditz%netscape.com
6d4c956f3f Free bloated component registry buffer after XPCOM init (bug 76329)
r=dougt, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@109344 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 07:50:03 +00:00
jst%netscape.com
a517f0d2fa Fixing bug 93513. Make window.open() use the base uri of the caller as the base, and not the document uri of the caller. r=danm@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109343 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 07:49:32 +00:00
mcafee%netscape.com
3bbe05e233 Adding xulwinopen test data reporting.
git-svn-id: svn://10.0.0.236/trunk@109338 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 06:00:16 +00:00
mcafee%netscape.com
15f72e185c avg -> value
git-svn-id: svn://10.0.0.236/trunk@109337 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 05:53:01 +00:00
mcafee%netscape.com
8dc19dba47 switching avg to value
git-svn-id: svn://10.0.0.236/trunk@109336 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 05:49:19 +00:00
mcafee%netscape.com
6a31a9a661 Fixing Y axis label
git-svn-id: svn://10.0.0.236/trunk@109335 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 05:44:07 +00:00
bzbarsky%mit.edu
ec244f8044 Add unicharutil_s to LLIBS to make Win link correctly.
git-svn-id: svn://10.0.0.236/trunk@109334 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 05:35:37 +00:00
dbaron%fas.harvard.edu
f929dd8a3c Add nsOutlinerContentView.cpp and nsOutlinerUtils.cpp for varga. b=97062
git-svn-id: svn://10.0.0.236/trunk@109333 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 05:10:25 +00:00
dbaron%fas.harvard.edu
181862eab6 Add nsIOutlinerContentView.idl for varga. b=97062
git-svn-id: svn://10.0.0.236/trunk@109332 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 05:08:26 +00:00
mcafee%netscape.com
fac515fed9 First add. Clone of startup cgis. plans to make this a general graph cgi are in the wings, this is a temporary get-this-going hack
git-svn-id: svn://10.0.0.236/trunk@109330 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:51:04 +00:00
peterlubczynski%netscape.com
8ffb403866 Fixing up simple Mac Plugin SDK sample. not part of the build
git-svn-id: svn://10.0.0.236/trunk@109328 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:49:46 +00:00
peterlubczynski%netscape.com
69224826eb Mac Plugin SDK Scriptable plugin project file fix for Classic
git-svn-id: svn://10.0.0.236/trunk@109327 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:42:30 +00:00
varga%utcru.sk
e0dc84b7d2 Fix for 97062.
Implement a content model view for <outliner>.
r=bryner sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@109326 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:41:55 +00:00
bzbarsky%mit.edu
5c31397853 Bug 109236, take 2, now that mcp has been changed. r=law, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@109325 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:37:21 +00:00
peterlubczynski%netscape.com
2648c43ca9 Removing debug prefix file from Mac Plugin SDK. not part of the build
git-svn-id: svn://10.0.0.236/trunk@109324 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:33:25 +00:00
sfraser%netscape.com
f975fa5699 Add UnicharUtil library for bz
git-svn-id: svn://10.0.0.236/trunk@109323 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:32:00 +00:00
sspitzer%netscape.com
766713789c fix warnings, fix whitespace.
git-svn-id: svn://10.0.0.236/trunk@109322 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:19:21 +00:00
law%netscape.com
b1eab7dd46 Bug 108567; put icon <image>s in vbox so they don't stretch; r=hwaara/bzbarsky, sr=blake
git-svn-id: svn://10.0.0.236/trunk@109321 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:17:05 +00:00
peterlubczynski%netscape.com
43ccc3908c Fixing up Mac Plugin SDK Basic Sample Project for Classic. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@109320 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:12:42 +00:00
kmcclusk%netscape.com
a91bf4a68d Make the backbuffer transitory based on a pref. This does not have any effect unless you set (layout.transitory.backbuffer", true) bug 95952 sr=attinasi r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@109319 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:12:36 +00:00
kmcclusk%netscape.com
303a5331d9 Replace the O(n^2) call to GetChild in nsViewHandleEvent to substantially improve page load performance and interactivity on pages with lots of comboboxes. bug 112525 r=roc+moz sr=kin
git-svn-id: svn://10.0.0.236/trunk@109318 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:09:36 +00:00
peterlubczynski%netscape.com
7c5142e62d Removing Mac Plugin SDK resource, not part of build.
git-svn-id: svn://10.0.0.236/trunk@109317 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:07:47 +00:00
peterlubczynski%netscape.com
54c25b59f5 Removing Mac Plugin SDK project file. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@109316 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:06:44 +00:00
morse%netscape.com
fa863da1e2 bug 77073, wallet checks slows creation of edit and context menus, r=sgehani, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@109315 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 03:46:18 +00:00
sspitzer%netscape.com
aaaaa6eada fix build bustage on mac.
git-svn-id: svn://10.0.0.236/trunk@109314 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 03:08:38 +00:00
javi%netscape.com
f7e61b2f4d Remove reference to nsSecureBrowserUIImpl.obj which is no longer built in this
directory.  Should fix tbox bustage.


git-svn-id: svn://10.0.0.236/trunk@109312 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 02:30:37 +00:00
waldemar%netscape.com
d73005ea74 Added comments
git-svn-id: svn://10.0.0.236/trunk@109311 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 02:23:05 +00:00
waldemar%netscape.com
bcb258b1cd Added /* and */ statements
git-svn-id: svn://10.0.0.236/trunk@109310 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 02:22:37 +00:00
mcafee%netscape.com
7bf5d09c94 Adding mailbloattest stub.
git-svn-id: svn://10.0.0.236/trunk@109308 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 02:03:24 +00:00
mcafee%netscape.com
37ac07a0fd Profile cleanup. Adding mailbloattest stub. Fixed component.reg filename. comments, etc.
git-svn-id: svn://10.0.0.236/trunk@109307 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 02:02:57 +00:00
vidur%netscape.com
0b5099dd72 progress indicator and menu improvements. [not part of build]
git-svn-id: svn://10.0.0.236/trunk@109306 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 02:02:11 +00:00
vidur%netscape.com
c9a247e9cb Fixed prompt and password dialogs. [not part of build]
git-svn-id: svn://10.0.0.236/trunk@109305 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 01:59:01 +00:00
dbaron%fas.harvard.edu
8e4767a26d Backing out shanjian at his request to fix Linux orange.
git-svn-id: svn://10.0.0.236/trunk@109304 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 01:57:24 +00:00
bzbarsky%mit.edu
065a782ee4 backing this out. need to get some build magic on the mac first. :(
git-svn-id: svn://10.0.0.236/trunk@109303 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 01:10:10 +00:00
darin%netscape.com
74891049b2 build TestPerf on linux
git-svn-id: svn://10.0.0.236/trunk@109302 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 01:01:23 +00:00
bzbarsky%mit.edu
a692927a23 Fix build bustage on Win. Bug 109236
git-svn-id: svn://10.0.0.236/trunk@109301 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:54:46 +00:00
sspitzer%netscape.com
c42591d68f fix for #112727 (removing expired articles won't remove all expired articles in certain cases.)
and hopefully for #110362 (top crasher in ParseURL()), and some cleanup.

for #110362, I'm making sure we only check the local cache for message and message part urls.
r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@109300 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:49:47 +00:00
vidur%netscape.com
fed00f2d29 Copy over installed-chrome.txt to get scrollbars working
git-svn-id: svn://10.0.0.236/trunk@109299 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:47:09 +00:00
vidur%netscape.com
cc0f4274fb Fixed alerts and added prompt and password support. [not part of build]
git-svn-id: svn://10.0.0.236/trunk@109298 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:46:06 +00:00
sgehani%netscape.com
0a4fc62cec Fix reset button (was too large) on helper apps pref pane.
b=109516; r=sgehani; sr=alecf
(checking in for Andre Dahlqvist <andre.dahlqvist@telia.com>)


git-svn-id: svn://10.0.0.236/trunk@109297 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:44:16 +00:00
shanjian%netscape.com
e2b3da1e6a #support unicode beyond BMP plane in Compressed charmap
r=bstell,  sr=brendan


git-svn-id: svn://10.0.0.236/trunk@109296 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:41:20 +00:00
sgehani%netscape.com
60941822af Fix Netscape search sherlock plugin.
b=112029; r=morse; sr=alecf


git-svn-id: svn://10.0.0.236/trunk@109295 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:37:13 +00:00
shanjian%netscape.com
b4ff2d0a9c #disable debug message in optimized build
r=danm sr=waterson


git-svn-id: svn://10.0.0.236/trunk@109294 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:36:56 +00:00
av%netscape.com
467660d8e8 Updating readme.txt for the plugin SDK, not part of the regular build
git-svn-id: svn://10.0.0.236/trunk@109293 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:35:58 +00:00
sgehani%netscape.com
8f3fb51346 Add brandShortName to content pack switch message.
b=109477; sr=alecf


git-svn-id: svn://10.0.0.236/trunk@109292 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:34:55 +00:00
sgehani%netscape.com
51bff52b51 Open a new window if one isn't around when users select the
``Search the Web'' menu item from the ``Search'' menu.
b=83329; r=morse; sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@109291 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:30:22 +00:00
sgehani%netscape.com
a349c153c1 Don't distingiush between an edited and unedited URL bar text when
the search button is clicked.
b=60283; r=morse; sr=alecf


git-svn-id: svn://10.0.0.236/trunk@109290 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:27:47 +00:00
darin%netscape.com
c52192895e fixes bug 112366 "status message is often incorrect [eg. resolving host...]"
r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@109289 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:23:56 +00:00
cmanske%netscape.com
b4c2e75b53 Backed out change not part of fix for bugscape bug 10937
git-svn-id: svn://10.0.0.236/trunk@109288 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:22:19 +00:00
sgehani%netscape.com
bf45a76495 Remove dependency of sidebarOverlay on brand.dtd.
b=109450; r=morse; sr=blake


git-svn-id: svn://10.0.0.236/trunk@109287 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:20:07 +00:00
cmanske%netscape.com
4bcad7365e Fixed spell check dialog bug 10937, r=syd, sr=kin
git-svn-id: svn://10.0.0.236/trunk@109286 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:16:21 +00:00
bzbarsky%mit.edu
a8c5407a66 Make the mime service do extension --> type matching based on the
information the user has entered in helper app prefs.  Bug 109236,
r=law, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@109285 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:14:14 +00:00
bryner%netscape.com
45bcef5504 Bug 112719 - make nsXULTreeSliceFrame inherit from nsGridRowLeafFrame, as it was intended to. r=jag, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@109284 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:12:02 +00:00
sgehani%netscape.com
d8ae0581db Add persistent panel support (iframe's remain loaded even when not visible).
b=106129; r=morse; sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@109283 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:10:13 +00:00
cmanske%netscape.com
ce5cd24903 Fixed busted composer pref panel, b=112463, r=sfraser,syd sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@109282 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:09:20 +00:00
kaie%netscape.com
79b0d6b360 b=109777 Make sure certificate downloading works immediately
r=javi sr=mscott


git-svn-id: svn://10.0.0.236/trunk@109281 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:07:13 +00:00
cmanske%netscape.com
67cc82f61b XUL 1.0-related fixes for tab widget, b=103855, r=brade,syd sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109280 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:06:33 +00:00
dougt%netscape.com
d3046e16dd Add IsMainThread to nsIThread. r=danm@netscape.com, sr=darin@netscape.com 112397
git-svn-id: svn://10.0.0.236/trunk@109279 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:06:32 +00:00
cmanske%netscape.com
3fd8415aaa Fixed getting all headings for list, b=103855, r=brade, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@109278 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:01:45 +00:00
alecf%netscape.com
0984f9daba for bug 112708, add an #include so this can be compiled by prefapi.cpp
sr=dveditz, r=bnesse


git-svn-id: svn://10.0.0.236/trunk@109277 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:56:38 +00:00
alecf%netscape.com
0d76157146 for bug 112708, add a bunch of casts so this file can also be compiled as C++
sr=dveditz, r=bnesse


git-svn-id: svn://10.0.0.236/trunk@109276 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:55:27 +00:00
sgehani%netscape.com
a89d2f4723 Ask user if they'd like to make the search sidebar tab engine selection
their default search engine.
b=100078; r=morse; sr=alecf


git-svn-id: svn://10.0.0.236/trunk@109275 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:51:47 +00:00
waterson%netscape.com
a6396f40ca Bug 11079. xptinfo shouldn't be an EXPORT_LIBRARY, or else it will end up both in the statically linked exectuable _and_ libxpcom.so. r=cls
git-svn-id: svn://10.0.0.236/trunk@109274 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:50:56 +00:00
waterson%netscape.com
f6fc5c5388 Bug 45353. Remove the pool used to keep XUL attributes now that we've improved sharing. r=shaver
git-svn-id: svn://10.0.0.236/trunk@109273 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:49:10 +00:00
cmanske%netscape.com
fe1bac57c6 Removed 'IsValidImage()' method, b=90229, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109272 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:49:02 +00:00
javi%netscape.com
b423daf3d1 b=75947 Landing security startup performance improvement and related issues.
r=javi sr=alecf

b=109777 Make sure certificate downloading works immediately
r=javi sr=mscott

(checking in for kaie)


git-svn-id: svn://10.0.0.236/trunk@109271 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:45:36 +00:00
kaie%netscape.com
cc2997bfa0 b=75947 Landing security startup performance improvement and related issues.
r=javi sr=alecf
b=109777  Make sure certificate downloading works immediately
r=javi sr=mscott


git-svn-id: svn://10.0.0.236/trunk@109270 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:43:26 +00:00
javi%netscape.com
c971fc767e b=75947 Landing security startup performance improvement related issues. r=javi sr=alecf
b=109777 Mae sure certificate downloading works immediately r=javi sr=mscott

(Checking in for kaie)


git-svn-id: svn://10.0.0.236/trunk@109269 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:43:10 +00:00
kaie%netscape.com
c4caa1b828 b=75947 Landing security startup performance improvement and related issues.
r=javi sr=alecf
b=109777  Make sure certificate downloading works immediately
r=javi sr=mscott


git-svn-id: svn://10.0.0.236/trunk@109268 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:36:34 +00:00
jaggernaut%netscape.com
ddeef888b9 Bug 112569: Session History set from navigator.js redundantly. r=hyatt, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109267 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:34:27 +00:00
darin%netscape.com
4e2d71768d fixes bug 112328 "purify report ABR in nsBaseURLParser::ParseURL"
r=bbaetz, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@109266 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:28:34 +00:00
javi%netscape.com
6e10bce240 b= 75947 Landing security start up performance improvement and related issues r=javi sr=alecf
b=10977 Make sure certificate downloading works immediately r=javi sr=mscott

(checking in for kaie)


git-svn-id: svn://10.0.0.236/trunk@109265 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:25:56 +00:00
kaie%netscape.com
40d3a042e5 b=75947 Landing security startup performance improvement and related issues.
r=javi sr=alecf
b=109777  Make sure certificate downloading works immediately
r=javi sr=mscott


git-svn-id: svn://10.0.0.236/trunk@109264 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:19:52 +00:00
jj%netscape.com
3f92a4a24f Mozilla icon for MacOS X
git-svn-id: svn://10.0.0.236/trunk@109263 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:08:42 +00:00
jj%netscape.com
96ce0965ff bug #110132: updated version number to 0.9.6+ and added <CFBundleExecutable>, <CFBundleShortVersionString>, and <CFBundleGetInfoString> keys.
git-svn-id: svn://10.0.0.236/trunk@109262 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:05:57 +00:00
gordon%netscape.com
8bc0b7e9bf Fix bug 110405. Removing anachronistic assertion, added condition to respect STORE_ON_DISK policy. Changed fav icon cache policy to STORE_ANYWHERE. r/sr = darin, hyatt, sfraser.
git-svn-id: svn://10.0.0.236/trunk@109261 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 23:04:58 +00:00
kin%netscape.com
54983a3e01 Fix for bug 111264: nsTextFrame::SetSelected() calls Invalidate() with empty rect.
Prevent SetSelected() from generating invalidate warnings by
preventing calls to Invalidate with an empty rect.

r=jfrancis@netscape.com  sr=attinasi@netscape.com


git-svn-id: svn://10.0.0.236/trunk@109260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:54:15 +00:00
kin%netscape.com
0d6b36df4c Fix for bug 69398: {label,hr,br}:after {content: ":"} repeats creation of :
with mouse movement

Modified RemoveGeneratedContentFrameSiblings() to handle the case where
the :after frame is in a continuing frame for the primary frame's parent.

r=dbaron@fas.harvard.edu  sr=attinasi@netscape.com


git-svn-id: svn://10.0.0.236/trunk@109259 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:53:03 +00:00
shrutiv%netscape.com
86339f8974 Fix for bugzilla 106305: CCK Wizard doesn't check disk space for Linux
installer when tarball pack is on a different drive (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@109258 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:49:44 +00:00
bnesse%netscape.com
9d2575fcb5 Fix for bug 108236. "intl.charset.detector" should not be treated as both a char pref and a unichar pref. Also whitespace cleanup. r=yokoyama, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@109257 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:46:42 +00:00
bzbarsky%mit.edu
f56674ebbb Fixing line endings to avoid all the "^M"s on Unix. Bug 112642,
r=Roland.Mainz@informatik.med.uni-giessen.de, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@109256 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:41:59 +00:00
pinkerton%netscape.com
69c6ffd626 view shouldn't be opaque. allows webpages to show up. [not part of build]
git-svn-id: svn://10.0.0.236/trunk@109255 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:39:37 +00:00
pinkerton%netscape.com
8072ba5aac Fix some complilation errors, change line endings on scrollbar. [not part of build]
git-svn-id: svn://10.0.0.236/trunk@109254 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:37:48 +00:00
pinkerton%netscape.com
8ac744782a fix regressions with carbon events. r=ccarlen/sr=sfraser. bug# 112653
git-svn-id: svn://10.0.0.236/trunk@109253 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:36:22 +00:00
samuel%sieb.net
03dbac5ec8 Remove the orient= from the splitters.
r=rginda
not part of the build


git-svn-id: svn://10.0.0.236/trunk@109251 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:33:28 +00:00
shrutiv%netscape.com
af2f1a5667 Fix for bugzilla 101439: Custom configs should point to it's own files
(r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@109250 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:29:53 +00:00
dougt%netscape.com
16e560771a fixed bug 112345. JAR Channel does not cache mime service. r=neeti@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109249 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:29:00 +00:00
ian.mcgreer%sun.com
f902ddb08d fix bug found from PK11_ListCerts
git-svn-id: svn://10.0.0.236/trunk@109248 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:05:32 +00:00
despotdaemon%netscape.com
31d75d97c5 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@109247 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:02:07 +00:00
shrutiv%netscape.com
d8a790e7dd Fix for bugzilla 104124: User agent string allows blank spaces input
(r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@109245 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 21:27:38 +00:00
shrutiv%netscape.com
8dea82607b Fix for bugzilla 104124: User agent string allows blank spaces input
(r=tao)


git-svn-id: svn://10.0.0.236/trunk@109244 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 21:22:37 +00:00
morse%netscape.com
ffea25f59b backing out patch for bug 111396 because it caused smoketest blocker bug 112643
git-svn-id: svn://10.0.0.236/trunk@109241 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 20:52:48 +00:00
despotdaemon%netscape.com
65a4dcd29e Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@109240 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 20:35:38 +00:00
ian%hixie.ch
ced7a9ce15 Minor fixes to make the previous checkin actually compile...
git-svn-id: svn://10.0.0.236/trunk@109239 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 20:23:48 +00:00
ian.mcgreer%sun.com
54677fad6a fix memory leaks
git-svn-id: svn://10.0.0.236/trunk@109238 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 19:34:08 +00:00
jpierre%netscape.com
9e179ff639 Fix for bug 95458 - ASN1 decoder crashes when fed incorrect data
git-svn-id: svn://10.0.0.236/trunk@109237 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 18:46:17 +00:00
blythe%netscape.com
bf73e67f74 NOT part of normal build.
Remove special cases involving reallocs of size 0 (improve it actually).
Avoid qsort problem on MSVC win32.


git-svn-id: svn://10.0.0.236/trunk@109236 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 18:44:15 +00:00
rayw%netscape.com
e2e5db7900 Added "function" keyword to permit function to be passed as a SOAP response
listener.

Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109235 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 18:20:11 +00:00
ian%hixie.ch
d65266d7a4 * Corrected some inaccurate comments I came across.
* Added support for group membership levels (now you can be a normal member, as before, but also a group op or a group admin) -- this affected the user data source, the mysql data source, and the user service.
* Added a getFieldsHierarchically() method to the user data source.
* Added a getFieldsByCategory() method to the user data source.
* Fixed a typo in some of the SQL in the rights management part of the MySQL user data source.
* Added support in the arguments input module for treating the arguments as dot-delimited trees and returning a specific branch.
* Added support in the passwords service for encrypting a specific password.
* Added a getFieldByID() method to the user service.
* Made the groups in the user service be indexed by both ID and Name.
* Implemented the user preferences component.


git-svn-id: svn://10.0.0.236/trunk@109234 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 18:03:38 +00:00
rayw%netscape.com
83082e1254 There were obsolete XML Schema URIs left from the old code. Updated to the
latest XML Schema specification -- 2001 URIs.  Also fixed the namespace of the
type attribute.

Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109233 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 17:30:55 +00:00
pinkerton%netscape.com
7654dbfe76 one more removed file bustage fix.
git-svn-id: svn://10.0.0.236/trunk@109231 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 16:11:12 +00:00
karnaze%netscape.com
b3e24127f2 new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@109230 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 16:04:35 +00:00
pinkerton%netscape.com
52e1cbaf29 fixing mach-o bustage
git-svn-id: svn://10.0.0.236/trunk@109229 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 16:03:38 +00:00
leaf%mozilla.org
d937a9da5c Automated update
git-svn-id: svn://10.0.0.236/trunk@109228 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:57:55 +00:00
seawood%netscape.com
9df1b887ce Fix problem with Solaris /bin/sh interpreting ^ in a grep statement.
r=axel@pike.org


git-svn-id: svn://10.0.0.236/trunk@109227 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:57:27 +00:00
karnaze%netscape.com
56be8b5ead bug 112182 - check for null pointers, sr=attinasi, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@109226 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:55:27 +00:00
ccarlen%netscape.com
dbbe382e38 Bug 97239 - On Mac, can't delete profile whose files on disk have been removed. r=brade/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@109225 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:48:58 +00:00
dcone%netscape.com
852a3dbb95 bug 103377. Images are scaled down for background tiled images that are printed. r=rods sr=attinsi
git-svn-id: svn://10.0.0.236/trunk@109224 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:48:15 +00:00
mikep%oeone.com
b4980045e9 Adding file with -kb
git-svn-id: svn://10.0.0.236/trunk@109223 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:43:09 +00:00
mikep%oeone.com
b775befe31 Removing calendar_topbar as test.
git-svn-id: svn://10.0.0.236/trunk@109222 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:41:19 +00:00
karnaze%netscape.com
33ac3614b6 bug 111028 - better height calc for table elements when printing. r=rods, sr=none.
git-svn-id: svn://10.0.0.236/trunk@109221 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:41:07 +00:00
pinkerton%netscape.com
003e4215aa fix bustage
git-svn-id: svn://10.0.0.236/trunk@109220 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:39:33 +00:00
pinkerton%netscape.com
068170f445 removing nsMacMessageSink.h
git-svn-id: svn://10.0.0.236/trunk@109219 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:11:13 +00:00
dp%netscape.com
1544df4261 backing out previous change. Causes installer to fail with crc
errors.


git-svn-id: svn://10.0.0.236/trunk@109217 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 14:51:50 +00:00
pinkerton%netscape.com
ddb1f29d56 removing per bug 110851, replaced with nsIEventSink on each window. r=ccarlen/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@109216 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 14:43:45 +00:00
pinkerton%netscape.com
bc4ff100ea make sure mouse loc is in local coordinates on a scrollwheel event. sr=sfraser. bug# 112448.
git-svn-id: svn://10.0.0.236/trunk@109215 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 14:41:10 +00:00
pinkerton%netscape.com
901ad8ab6a removing nsMacMessageSink for standalone and embedding. Replacing with nsIEventSink and a couple of internal interfaces. r=ccarlen/sr=sfraser. bug#110851
git-svn-id: svn://10.0.0.236/trunk@109214 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 14:38:56 +00:00
peterv%netscape.com
d1911c6d0a Fix for bug 108024 (missing carriage returns when copying PRE tag content to clipboard). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@109213 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 14:19:30 +00:00
bzbarsky%mit.edu
a57f896a19 Get rid of ghost elements in a form's |elements| array. Bug 98487,
r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@109212 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 14:12:06 +00:00
kaie%netscape.com
43a79c95df b=111938 Wrong usage of getService => createInstance
r=javi sr=shaver


git-svn-id: svn://10.0.0.236/trunk@109211 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 12:50:26 +00:00
kaie%netscape.com
8983dc7b3a b=106939 Fix wrong caps.
r=javi sr=shaver


git-svn-id: svn://10.0.0.236/trunk@109209 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 12:47:20 +00:00
mkaply%us.ibm.com
b9fbe70f0d #112243
r=cls
Os/2 only - if config/myrules.mk and config/myconfig.mk don't exist, create them - work around gmake bug


git-svn-id: svn://10.0.0.236/trunk@109206 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 11:42:59 +00:00
rods%netscape.com
030f56d8b3 This was in the patch, but somehow missed the checkin
Bug 102596 rdcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109205 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 10:26:51 +00:00
brade%netscape.com
b6cbec2b01 #include cleanup (bug #112008, r=akkana, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@109204 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 10:14:04 +00:00
jfrancis%netscape.com
533392f396 fix for 106274: toolbar colorpicker feedback broken when selection is collapsed
git-svn-id: svn://10.0.0.236/trunk@109203 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 10:08:25 +00:00
brade%netscape.com
76d1ce8a02 #include cleanup (bug #112008, r=akkana, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@109202 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 10:06:21 +00:00
brade%netscape.com
c79bdc933a allow scripting of methods with no parameters (bug #112008, r=akkana, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@109201 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 10:05:36 +00:00
jfrancis%netscape.com
474493b5ff fix for 97259: caret sometimes drawn on line above a blank line when it should be on blank line. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@109200 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 10:01:28 +00:00
jst%netscape.com
304a701c9b Whitespace changes.
git-svn-id: svn://10.0.0.236/trunk@109199 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:59:31 +00:00
rods%netscape.com
ae067511a4 Hookup the setting of scaling for Print Preview and Printing
Bug 110529 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109198 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:59:16 +00:00
rods%netscape.com
e97e909b21 Give checkbox and radio face color on active
Bug 56585 r=bryner sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109197 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:54:38 +00:00
rods%netscape.com
073a7fc430 Removed un-used first/last page option
Bug 102009 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109196 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:46:15 +00:00
rods%netscape.com
fb258c2434 Use system IDC_HAND cursor when available
Bug 104035 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109195 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:41:19 +00:00
hewitt%netscape.com
12ee36a26b 102574 - enable DOM Inspector in the default builds, r=leaf, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@109193 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:36:46 +00:00
jst%netscape.com
a167a4f39d Oops, backing out last checkin.
git-svn-id: svn://10.0.0.236/trunk@109192 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:34:06 +00:00
jst%netscape.com
f3e223e230 Formatting changes, and fixing compiler warning. r=nobody
git-svn-id: svn://10.0.0.236/trunk@109191 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:31:45 +00:00
jst%netscape.com
fb84fd48e7 Formatting changes, and fixing compiler warning. r=nobody
git-svn-id: svn://10.0.0.236/trunk@109190 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:30:46 +00:00
morse%netscape.com
ef8d610587 bug 111396, tabbing in dialogs give incorrect results, r=jag, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109189 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:27:19 +00:00
jst%netscape.com
378ca9ba32 Formatting changes, and fixing compiler warning. r=nobody
git-svn-id: svn://10.0.0.236/trunk@109188 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:27:12 +00:00
jst%netscape.com
be2baf922d Fixing bug 112473. Eliminate unnecessary allocations in the CSS parser and speed up NS_NewHTMLReflowCommand() a bit. r=dbaron@fas.harvard.edu, rs=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109187 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 08:48:53 +00:00
bstell%netscape.com
6737b66f15 bug 112522 on anti-alias scale bitmap font on local X server
r=pavlov, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@109186 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 07:55:08 +00:00
jst%netscape.com
9dbb6356f3 Oops, forgot to make peterv's suggested comment changes when checking in the fix for bug 109854.
git-svn-id: svn://10.0.0.236/trunk@109185 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 07:14:00 +00:00
rjc%netscape.com
1122aea9e8 Fix bug # 112176. r=danm sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109184 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 07:02:24 +00:00
peterlubczynski%netscape.com
f7d714738e Fix for always loading the Java VM for embed tag, patch by nis@sparc.spb.su (Igor Nekrestyanov) bug 94023 r=peterl sr=beard
git-svn-id: svn://10.0.0.236/trunk@109183 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 05:14:11 +00:00
jst%netscape.com
fa9acfe976 Fixing bug 34398. Making element.offsetParent be a <th>, <td> or <table> if element is a decendant of one of those element types. r=hidday@geocities.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109182 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 05:08:25 +00:00
nhotta%netscape.com
360e8e2867 Added charsetOverride field to nsIMsgWindow, so msgCompose can use it for quoting,
bug 111055, r=ducarroz, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@109181 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 04:56:42 +00:00
vidur%netscape.com
93341bca3c Got rid of installation name in project. This is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@109179 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 04:11:53 +00:00
jkeiser%iname.com
9aabc077d6 Submit empty file inputs. Bug 111963. r=alexsuvalov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109178 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 03:51:38 +00:00
rayw%netscape.com
ad0a29b7ce Fixed SOAP document-style returns. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@109177 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 03:31:42 +00:00
rayw%netscape.com
831c4e6f2e More bug fixes to SOAP implementation. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@109176 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 03:07:37 +00:00
dbaron%fas.harvard.edu
9a5ab76543 Fix runtime bustage for other ports that have the same problem as GTK. b=109974, 111088
git-svn-id: svn://10.0.0.236/trunk@109175 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 03:02:49 +00:00
dbaron%fas.harvard.edu
ebd0276943 Fix orange. b=109974, 111088
git-svn-id: svn://10.0.0.236/trunk@109174 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 02:58:30 +00:00
waterson%netscape.com
072b1c9990 Build with \`-O2' by default.
git-svn-id: svn://10.0.0.236/trunk@109173 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 02:57:34 +00:00
waterson%netscape.com
a8b9ebcb99 Add \`--size' option.
git-svn-id: svn://10.0.0.236/trunk@109172 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 02:57:13 +00:00
alecf%netscape.com
700d0e8fd2 move UTF8traits to the public realm for later consumption
r=dbaron r=jag (the string experts)
for bug 110531


git-svn-id: svn://10.0.0.236/trunk@109171 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 02:53:48 +00:00
shanjian%netscape.com
9e1fb89e0a #34242 replace X font lookups on "-*-*-*-*-*-*-*-*-*-*-*-*-*-*" with "-*"
patch prepared by:  Roland Mainz
r=shanjian sr=brendan


git-svn-id: svn://10.0.0.236/trunk@109170 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 02:05:52 +00:00
pchen%netscape.com
3c10b47a80 bug 57647, r=sgehani, sr=ben, don't redeclare 'var ix'
git-svn-id: svn://10.0.0.236/trunk@109169 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 02:03:05 +00:00
pchen%netscape.com
afcb5dfeef bug 86299, r=sgehani, sr=ben, do the right thing with relativeNode and parentNode when adding a new folder
git-svn-id: svn://10.0.0.236/trunk@109168 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 02:03:03 +00:00
pchen%netscape.com
6ca7a5e472 bug 102311, r=hewitt, sr=ben, set bookmark types using rdf:type
git-svn-id: svn://10.0.0.236/trunk@109167 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 02:03:00 +00:00
pchen%netscape.com
f93c8688bf bug 102311, r=hewitt, sr=ben, use getAttributeNS on RDF_NS to get correct bookmark types, also remove debugging alerts when adding a bookmark
git-svn-id: svn://10.0.0.236/trunk@109166 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 02:02:57 +00:00
pchen%netscape.com
a5b6f77038 bug 102311, r=hewitt, sr=ben, use getAttributeNS on RDF_NS to get correct bookmark types
git-svn-id: svn://10.0.0.236/trunk@109165 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 02:02:54 +00:00
danm%netscape.com
c83f68dac3 reinstate rev 1.38 without breaking testgtkembed: focus and notify all common dialogs. somewhat experimental fix for bug 53345. r=pinkerton,sfraser
git-svn-id: svn://10.0.0.236/trunk@109164 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 01:52:25 +00:00
naving%netscape.com
dda492e80e 112342 r=ducarroz sr=bienvenu. free filename after use.
git-svn-id: svn://10.0.0.236/trunk@109163 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 01:51:19 +00:00
ben%netscape.com
a4fd12b258 back out unapproved changes to Navigator context menus. See bug 70830.
git-svn-id: svn://10.0.0.236/trunk@109162 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 01:40:21 +00:00
blythe%netscape.com
1f6d513fde NOT part of normal build.
Get spacetrace to report data in seconds instead of confusing interval.
Move weight to far most colunm, as a product.
Unhexcape strings to that C++ classes/member can be targeted.
Add the align by option, to report real heap impact.


git-svn-id: svn://10.0.0.236/trunk@109161 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 01:29:26 +00:00
vidur%netscape.com
376734369d Removed absolute paths to framework. Relative paths *should* work.
git-svn-id: svn://10.0.0.236/trunk@109160 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 01:20:38 +00:00
attinasi%netscape.com
7451e69bbe Fixed a problem where changes to inline-style were not causing the correct clearing of the style system's cached rules. b=97874 r=pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109159 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:56:43 +00:00
darin%netscape.com
b786fe257c adding jar performance test
git-svn-id: svn://10.0.0.236/trunk@109158 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:50:55 +00:00
attinasi%netscape.com
ba062622a4 loading iamge and broken image icons were not getting picked up by installers after they were moved out of res/html. Now they will. b=110384 r=peterv sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@109157 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:45:07 +00:00
andreww%netscape.com
a3c240977c bug 112462 r-oeschger sr-hewitt fixing css syntax error.
git-svn-id: svn://10.0.0.236/trunk@109156 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:38:20 +00:00
rbs%maths.uq.edu.au
09781b2e2a Bug 111069: don't initialize the device context twice in GfxWin & OS2 (also left in the debugging code used to catch that), r=rods, sr=waterson. Bug 109974: re-enable a consolidated memory-pressure observer to compact font resources in low-memory situations, r=shanjian, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@109155 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:34:07 +00:00
bryner%netscape.com
af8a9989d9 Bug 96981 - filepicker scrollbar stays in same position when switching directories. r=jag, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@109154 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:28:27 +00:00
yokoyama%netscape.com
47b0b5e410 Bug 112240
Add shift-jis alias
in a properties file
/r=shanjian


git-svn-id: svn://10.0.0.236/trunk@109153 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:24:13 +00:00
attinasi%netscape.com
e47c372e52 null-ptr check for talkback crash that I cannot duplicate. b=105168 r=karnaze sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109152 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:10:31 +00:00
alecf%netscape.com
16001eccc7 just removing some dead code that blake spotted, followup to bug 110226
git-svn-id: svn://10.0.0.236/trunk@109151 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:07:42 +00:00
rayw%netscape.com
f3dd37550b Fixes to the lookup of SOAP encoders.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109150 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:07:27 +00:00
pete%alphanumerica.com
2921cd1a40 b=92569, r=dougt, sr=brendan
nsLocalFileUnix cleanup part two.
nothing but white space and comment cleanup

--pete


git-svn-id: svn://10.0.0.236/trunk@109149 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:07:10 +00:00
bryner%netscape.com
293eacef9a Bug 87490 - focus goes dead if the focused content is removed. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@109148 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:04:31 +00:00
bstell%netscape.com
c8d9369bfa checkin for adam@gimp.org
bug 110793: gcc problem with parameters
r=bstell@netscape.com, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@109147 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:03:36 +00:00
alecf%netscape.com
04ad2b7b2e big 'ol global history cleanup:
- remove lots of string assertions by avoiding using string classes on null strings
- clean up all known leaks
bug 112058, r=pchen, sr=blake


git-svn-id: svn://10.0.0.236/trunk@109146 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:02:16 +00:00
alecf%netscape.com
7e7f80fab0 *shrug* moving from profile-do-change to profile-after-change per conrad's suggestion - this seems to fix the blocker for me, what's the worst that could happen? :)
git-svn-id: svn://10.0.0.236/trunk@109145 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 23:40:45 +00:00
vidur%netscape.com
8a8c1296e8 Adding Cocoa test application to test Cocoa embedding wrapper framework. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@109144 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 22:40:06 +00:00
vidur%netscape.com
5ed4e67154 Temporarily change framework installation path to be absolute. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@109143 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 22:38:54 +00:00
vidur%netscape.com
a3cdf48282 First iteration of Cocoa NSView wrapper around embedded component. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@109142 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 21:42:53 +00:00
ian.mcgreer%sun.com
ab64c3ccea solaris x86 doesn't seem to like PR_LOG, so turning it off by default in debug builds
git-svn-id: svn://10.0.0.236/trunk@109141 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 20:19:38 +00:00
rayw%netscape.com
7d0a856ad7 Changes to match new IDL.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109140 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 19:04:02 +00:00
ian.mcgreer%sun.com
233b7897cf land changes for handling temporary and cached certs in 3.4
* separate trust object from cert object
* move handling of cryptoki objects into libdev
* implement digest in libdev (for trust object indexing)
* fixes in cache implementation; connect cache to 3.4 certs
* implement CERT_NewTempCertificate via crypto context


git-svn-id: svn://10.0.0.236/trunk@109138 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 16:23:51 +00:00
rods%netscape.com
46b3aa6437 Enabling the specifying of the gap around the page for Print Preview
and an offset from the edge of the page for headers and footers (used in PP and Printing)
Bug 102596 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109137 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 15:19:47 +00:00
pete%alphanumerica.com
727438403c b=92569, r=dougt, sr=brendan
nsLocalFileUnix general clean up

--pete


git-svn-id: svn://10.0.0.236/trunk@109136 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 15:12:14 +00:00
rods%netscape.com
1cd5365b6e Enabling the specifying of the gap around the page and an offset from the edge of the page
Bug 102596 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109135 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 15:07:56 +00:00
rayw%netscape.com
30897f54b4 More adjustment to class info for SOAP checkins.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109134 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 12:33:38 +00:00
rayw%netscape.com
38278b93b0 Not part of default build.
Added more class information and module factories for soap items, fixed
copyright date.

Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109133 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 12:25:46 +00:00
rayw%netscape.com
fd692cb08b Fixes required to bring SOAP up to date. The SOAP, WSDL, and Schema code
is not part of the default build.  MOZ_WSDL and MOZ_SCHEMA were eliminated
in favor of MOZ_SOAP.  MOZ_SCHEMA wasn't being used anyway, and MOZ_WSDL
had things needed by MOZ_SOAP.

Not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@109132 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 11:33:49 +00:00
rayw%netscape.com
861ac3345e Fixed to reflect new signature of Send call. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@109131 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 11:06:09 +00:00
jst%netscape.com
6ef8928139 Fixing bug 109854. Don't let HTMLContentSink::DemoteContainer() mess up the order of the form controls in form.elements, and rename DemoteContainer() to DemoteForm(). Patch by jkeiser@iname.com and myself, r=peterv@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109130 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 11:00:14 +00:00
rayw%netscape.com
726dbae4d6 Updating SOAP files from branch. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@109129 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 10:50:29 +00:00
dbaron%fas.harvard.edu
ff23b14240 Fix OS/2 PR_CALLBACK bustage.
git-svn-id: svn://10.0.0.236/trunk@109126 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 08:43:30 +00:00
dbaron%fas.harvard.edu
3233bfeefd Fix more |#ifdef DEBUG| bustage from jst's checkin.
git-svn-id: svn://10.0.0.236/trunk@109125 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 07:57:55 +00:00
jst%netscape.com
53db01d7f1 Adding missing #include that's needed for debug builds.
git-svn-id: svn://10.0.0.236/trunk@109124 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 07:18:35 +00:00
jkeiser%iname.com
dcdbaa821c Make disabled optgroups not be initially selected (bug 106524, r=bzbarsky@mit.edu, sr=jst@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@109123 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:52:56 +00:00
dbaron%fas.harvard.edu
3b6c33c60c Fix HP bustage by moving GetStyleData function templates from nsStyleStruct.h to nsIFrame.h and nsIStyleContext.h b=111883
git-svn-id: svn://10.0.0.236/trunk@109122 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:50:13 +00:00
jst%netscape.com
07fce6e351 Fixing bug 109760. Make mozilla fire a DOMContentLoaded event when the HTML on a page is done loading (i.e. the HTML only, not images, frames, nor anything like that). r=peterv@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109121 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:32:57 +00:00
142 changed files with 1486 additions and 26818 deletions

View File

@@ -27,7 +27,7 @@ Help=Online;%Root%CCKHelp\info.html
[Navigation Controls]
onNext=VerifySet(%OrganizationName%,User Agent String is required to proceed with custom build creation);
onNext=VerifySet(%OrganizationName%,User Agent String is required to proceed with custom build creation,User Agent String should not contain spaces);
Help=InfoHelp.ini

View File

@@ -50,7 +50,7 @@ Help=Online;%Root%CCKHelp\buildpage1.html
[Navigation Controls]
onNext=Message(Are you ready to build your customized installer? [Yes]/[No]);IBEngine.StartIB();Msg(Installer creation is complete. The build is in %Root%Configs\%CustomizationList%\Output)
onNext=Message(Are you ready to build your customized installer? [Yes]/[No]);RunIB();Msg(Installer creation is complete. The build is in %Root%Configs\%CustomizationList%\Output)
Help=InstallerHelp.ini
[Image 1]
@@ -93,7 +93,7 @@ target=CheckListDescription
;opt7=Description of the Import Utility
;opt8=Description of the Internet Setup
;opt9=Description of the RealPlayer 5.0
onInit=IBEngine.GenerateComponentList()
onInit=globals.GenerateComponentList()
[Widget 2]
Type=GlobalText

View File

@@ -7,7 +7,6 @@
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT

Binary file not shown.

View File

@@ -115,8 +115,6 @@ BOOL CWizardMachineApp::InitInstance()
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.
CoInitialize(NULL);
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
@@ -1268,24 +1266,6 @@ BOOL CWizardMachineApp::IsFirstNode(NODE* treeNode)
return firstNode;
}
CString CWizardMachineApp::GetModulePath()
{
char currPath[MID_SIZE];
int i,numBytes;
// Get the path of the file that was executed
numBytes = GetModuleFileName(m_hInstance, currPath, MIN_SIZE);
// get the cmd path
// Remove the filename from the path
for (i=numBytes-1;i >= 0 && currPath[i] != '\\';i--);
// Terminate command line with 0
if (i >= 0)
currPath[i+1]= '\0';
return CString(currPath);
}
CString CWizardMachineApp::GetGlobalOptions(CString theName)
{
CString temp="";
@@ -1482,10 +1462,3 @@ void CWizardMachineApp::HelpWiz()
hlpdlg.DoModal();
}
}
int CWizardMachineApp::ExitInstance()
{
CoUninitialize();
return CWinApp::ExitInstance();
}

View File

@@ -69,7 +69,6 @@ public:
void CreateNewCache();
BOOL IsLastNode(NODE* treeNode);
BOOL IsFirstNode(NODE* treeNode);
CString GetModulePath();
CString GetGlobalOptions(CString theName);
void BuildWidget(WIDGET* aWidget, CString iniSection, CString iniFile, int pageBaseIndex, BOOL readValue);
// void BuildHelpWidget(WIDGET* aWidget, CString iniSection, CString iniFile, int pageBaseIndex);
@@ -79,7 +78,6 @@ public:
//{{AFX_VIRTUAL(CWizardMachineApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -38,7 +38,6 @@
#include "PropSheet.h"
#include "WizardUI.h"
#include "Interpret.h"
#include "PrefEditView.h"
#include <direct.h>
#include <sys/types.h>
@@ -439,7 +438,6 @@ void CWizardUI::EnableWidget(WIDGET *curWidget)
}
}
// Copy values from the widget object to the Windows control UI element.
void CWizardUI::UpdateScreenWidget(WIDGET *curWidget)
{
int selRv = CB_ERR;
@@ -568,11 +566,6 @@ void CWizardUI::UpdateScreenWidget(WIDGET *curWidget)
if (selRv == CB_ERR)
selRv = ((CComboBox*)curWidget->control)->SetCurSel(0);
}
else if(curWidget->type == "PrefsTree")
{
}
}
void CWizardUI::CreateControls()
@@ -785,67 +778,9 @@ void CWizardUI::CreateControls()
else if (widgetType == "ProgressBar") {
curWidget->control = new CProgressCtrl;
rv = ((CProgressCtrl*)curWidget->control)->Create(WS_TABSTOP, tmpRect, this, ID);
}
else if (widgetType == "PrefsTree") {
/*
A PrefsTree is a tree control for editing prefs. The ini file section should look like:
[Widget 1]
Type=PrefsTree
Name=PrefsTreeName
Attrib=MetaPrefs.xml
etc...
where...
Attrib is the xml file which describes the tree control layout. It should
not specifiy a path. If the file doesn't exist in the config directory,
the default in the app Root directory is used. Then it is saved in the
config directory with any modified pref values and used next time.
See PrefsTree.html for prefs file format details.
You can also create buttons to act on the prefs tree. For example, the
following button open the selected pref for editing, or expands the
group if a group is selected instead of a pref.
[Widget 4203]
Type=Button
Name=Button4203
Value=Open
onCommand=OpenPrefTreeItem(PrefsTreeName)
...
The other commands are:
FindPrefTreeItem(PrefsTreeName) to open the search dialog
FindNextPrefTreeItem(PrefsTreeName) to find the next matching item
AddPrefTreeItem(PrefsTreeName) to open the add pref dialog
PrefsTree is a little different from other widgets, in that it's not derived from a control--it's a CView.
Also, it doesn't have a ->value like some widgets do. So be careful.
*/
// If the .XML file exists in the config directory, use it. Otherwise, use the
// default file found at the Root.
CString rootPath = GetGlobal("Root");
CString configName = GetGlobal("CustomizationList");
CString localPrefsFile = rootPath + "Configs\\" + configName + "\\" + curWidget->attrib;
CString prefsFile;
if (theApp.FileExists(localPrefsFile))
prefsFile = localPrefsFile;
else
prefsFile = rootPath + curWidget->attrib;
curWidget->control = new CPrefEditView(prefsFile);
// Configure the PrefsTree with any existing globals
//((CPrefEditView*)curWidget->control)->SetPrefValues(curWidget->value);
rv = ((CPrefEditView*)curWidget->control)->Create(NULL, NULL, WS_BORDER, tmpRect, this, ID);
}
if (!rv)
{
CWnd myWnd;
@@ -920,18 +855,15 @@ void CWizardUI::DestroyCurrentScreenWidgets()
{
curWidget = CurrentNode->pageWidgets[i];
if (curWidget->control)
if (curWidget->control)
{
BOOL retFalg = curWidget->control->DestroyWindow();
if (curWidget->type != "PrefsTree") // PrefsTree is a CView, not a control, and is destroyed automatically above
delete curWidget->control;
delete curWidget->control;
curWidget->control = NULL;
}
}
}
// Copies values from the Windows controls to the widgets objects.
CString CWizardUI::GetScreenValue(WIDGET *curWidget)
{
//
@@ -1144,12 +1076,6 @@ CString CWizardUI::GetScreenValue(WIDGET *curWidget)
}
*/
else if (widgetType == "PrefsTree")
{
//rv = ((CPrefEditView*)curWidget->control)->GetModifiedPrefs();
}
else
rv = curWidget->value; // !!! Fix this so we're not copying strings all the time
// Should be able to just pass in an "assign" boolean
@@ -1169,17 +1095,6 @@ void CWizardUI::UpdateGlobals()
{
curWidget = CurrentNode->pageWidgets[i];
curWidget->value = GetScreenValue(curWidget);
// Save the prefs tree in a file local to the config. This is
// what gets read next time the prefs tree control is created.
if (curWidget->type == "PrefsTree")
{
CString rootPath = GetGlobal("Root");
CString configName = GetGlobal("CustomizationList");
CString localPrefsFile = rootPath + "Configs\\" + configName + "\\" + curWidget->attrib;
((CPrefEditView*)curWidget->control)->DoSavePrefsTree(localPrefsFile);
}
}
IsNewValue = TRUE;
}

View File

@@ -1,46 +0,0 @@
// DlgAdd.cpp : implementation file
//
#include "stdafx.h"
#include "DlgAdd.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgAdd dialog
CDlgAdd::CDlgAdd(CWnd* pParent /*=NULL*/)
: CDialog(CDlgAdd::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgAdd)
m_strPrefDesc = _T("");
m_strPrefName = _T("");
m_intPrefType = 0;
//}}AFX_DATA_INIT
}
void CDlgAdd::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgAdd)
DDX_Text(pDX, IDC_PREFDESC, m_strPrefDesc);
DDX_Text(pDX, IDC_PREFNAME, m_strPrefName);
DDX_Radio(pDX, IDC_PREFTYPE_STRING, m_intPrefType);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgAdd, CDialog)
//{{AFX_MSG_MAP(CDlgAdd)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgAdd message handlers

View File

@@ -1,50 +0,0 @@
#if !defined(AFX_DLGADD_H__55B7BFE0_C8B7_43FA_AFD2_BCB1AA18E820__INCLUDED_)
#define AFX_DLGADD_H__55B7BFE0_C8B7_43FA_AFD2_BCB1AA18E820__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgAdd.h : header file
//
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgAdd dialog
class CDlgAdd : public CDialog
{
// Construction
public:
CDlgAdd(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgAdd)
enum { IDD = IDD_ADDPREF };
CString m_strPrefDesc;
CString m_strPrefName;
int m_intPrefType;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgAdd)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgAdd)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGADD_H__55B7BFE0_C8B7_43FA_AFD2_BCB1AA18E820__INCLUDED_)

View File

@@ -1,152 +0,0 @@
// DlgEditPrefStr.cpp : implementation file
//
#include "stdafx.h"
#include "DlgEditPrefStr.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgEditPrefStr dialog
CDlgEditPrefStr::CDlgEditPrefStr(CWnd* pParent /*=NULL*/)
: CDialog(CDlgEditPrefStr::IDD, pParent), m_bChoose(FALSE)
{
//{{AFX_DATA_INIT(CDlgEditPrefStr)
m_strDescription = _T("");
m_strPrefName = _T("");
m_strValue = _T("");
m_bLocked = FALSE;
m_bValue = FALSE;
m_strInstallFile = _T("");
m_strPrefFile = _T("");
//}}AFX_DATA_INIT
}
void CDlgEditPrefStr::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgEditPrefStr)
DDX_Control(pDX, IDC_VALLIST, m_listValue);
DDX_Control(pDX, IDC_VALCHECK, m_checkValue);
DDX_Control(pDX, IDC_VALUE, m_editValue);
DDX_Text(pDX, IDC_DESCRIPTION, m_strDescription);
DDX_Text(pDX, IDC_PREFNAME, m_strPrefName);
DDX_Text(pDX, IDC_VALUE, m_strValue);
DDX_Check(pDX, IDC_LOCKED, m_bLocked);
DDX_Check(pDX, IDC_VALCHECK, m_bValue);
DDX_Text(pDX, IDC_INSTALLFILE, m_strInstallFile);
DDX_Text(pDX, IDC_PREFFILE, m_strPrefFile);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgEditPrefStr, CDialog)
//{{AFX_MSG_MAP(CDlgEditPrefStr)
ON_WM_CREATE()
ON_WM_CANCELMODE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgEditPrefStr message handlers
int CDlgEditPrefStr::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CDialog::OnCreate(lpCreateStruct) == -1)
return -1;
SetWindowText(m_strTitle);
return 0;
}
BOOL CDlgEditPrefStr::PreCreateWindow(CREATESTRUCT& cs)
{
BOOL retval = CDialog::PreCreateWindow(cs);
// TODO: Add your specialized code here and/or call the base class
return retval;
}
BOOL CDlgEditPrefStr::OnInitDialog()
{
CDialog::OnInitDialog();
if (m_bChoose)
{
m_editValue.ShowWindow(SW_HIDE);
m_listValue.ShowWindow(SW_SHOW);
m_checkValue.ShowWindow(SW_HIDE);
// The list of choices comes in as an array of CStrings,
// terminated with an empty one.
CString *pstrChoice = m_pstrChoices;
while(pstrChoice->GetLength() > 0)
{
m_listValue.AddString(*pstrChoice);
pstrChoice++;
}
m_listValue.SelectString(0, m_strSelectedChoice);
}
else if (m_strType.CompareNoCase("bool") == 0)
{
m_editValue.ShowWindow(SW_HIDE);
m_listValue.ShowWindow(SW_HIDE);
m_checkValue.ShowWindow(SW_SHOW);
m_checkValue.SetWindowText(m_strTitle);
if (m_strValue.CompareNoCase("true") == 0)
m_checkValue.SetCheck(TRUE);
}
else // string or int type
{
m_editValue.ShowWindow(SW_SHOW);
m_listValue.ShowWindow(SW_HIDE);
m_checkValue.ShowWindow(SW_HIDE);
}
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
// Caller only has to get value from m_strValue for all types.
void CDlgEditPrefStr::OnOK()
{
// For bool types, convert back to the data string.
if (m_strType.CompareNoCase("bool") == 0)
{
if (m_checkValue.GetCheck())
m_editValue.SetWindowText("true");
else
m_editValue.SetWindowText("false");
}
// For choose, return the selected list string.
else if (m_bChoose)
{
CString strSelectString;
m_listValue.GetLBText(m_listValue.GetCurSel(), strSelectString);
m_editValue.SetWindowText(strSelectString);
}
else // string, int type
{
}
CDialog::OnOK();
}

View File

@@ -1,65 +0,0 @@
#if !defined(AFX_DLGEDITPREFSTR_H__EA62EAF1_9CF9_474F_AC2E_7AE66DCAF863__INCLUDED_)
#define AFX_DLGEDITPREFSTR_H__EA62EAF1_9CF9_474F_AC2E_7AE66DCAF863__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgEditPrefStr.h : header file
//
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgEditPrefStr dialog
class CDlgEditPrefStr : public CDialog
{
// Construction
public:
CString m_strSelectedChoice;
CString* m_pstrChoices;
CString m_strType;
CString m_strTitle;
CDlgEditPrefStr(CWnd* pParent = NULL); // standard constructor
BOOL m_bChoose;
// Dialog Data
//{{AFX_DATA(CDlgEditPrefStr)
enum { IDD = IDD_EDITPREF };
CComboBox m_listValue;
CButton m_checkValue;
CEdit m_editValue;
CString m_strDescription;
CString m_strPrefName;
CString m_strValue;
CString m_strInstallFile;
CString m_strPrefFile;
BOOL m_bLocked;
BOOL m_bValue;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgEditPrefStr)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgEditPrefStr)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
virtual BOOL OnInitDialog();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGEDITPREFSTR_H__EA62EAF1_9CF9_474F_AC2E_7AE66DCAF863__INCLUDED_)

View File

@@ -1,42 +0,0 @@
// DlgFind.cpp : implementation file
//
#include "stdafx.h"
#include "DlgFind.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgFind dialog
CDlgFind::CDlgFind(CWnd* pParent /*=NULL*/)
: CDialog(CDlgFind::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgFind)
m_strFind = _T("");
//}}AFX_DATA_INIT
}
void CDlgFind::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgFind)
DDX_Text(pDX, IDC_FIND, m_strFind);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgFind, CDialog)
//{{AFX_MSG_MAP(CDlgFind)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgFind message handlers

View File

@@ -1,48 +0,0 @@
#if !defined(AFX_DLGFIND_H__1A85D3AB_C7B1_4F91_A9A9_6A1DEECD13E2__INCLUDED_)
#define AFX_DLGFIND_H__1A85D3AB_C7B1_4F91_A9A9_6A1DEECD13E2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgFind.h : header file
//
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgFind dialog
class CDlgFind : public CDialog
{
// Construction
public:
CDlgFind(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgFind)
enum { IDD = IDD_FIND };
CString m_strFind;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgFind)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgFind)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGFIND_H__1A85D3AB_C7B1_4F91_A9A9_6A1DEECD13E2__INCLUDED_)

File diff suppressed because it is too large Load Diff

View File

@@ -48,7 +48,6 @@ INCS = -I. \
OBJS = \
.\$(OBJDIR)\DlgEditPrefStr.obj \
.\$(OBJDIR)\HelpDlg.obj \
.\$(OBJDIR)\ImageDialog.obj \
.\$(OBJDIR)\ImgDlg.obj \
@@ -56,8 +55,6 @@ OBJS = \
.\$(OBJDIR)\NavText.obj \
.\$(OBJDIR)\NewConfigDialog.obj \
.\$(OBJDIR)\NewDialog.obj \
.\$(OBJDIR)\PrefEditView.obj \
.\$(OBJDIR)\PrefElement.obj \
.\$(OBJDIR)\ProgDlgThread.obj \
.\$(OBJDIR)\ProgressDialog.obj \
.\$(OBJDIR)\PropSheet.obj \
@@ -68,10 +65,6 @@ OBJS = \
.\$(OBJDIR)\WizardUI.obj \
.\$(OBJDIR)\WizHelp.obj \
.\$(OBJDIR)\wizshell.obj \
.\$(OBJDIR)\XMLDOMHelper.obj \
.\$(OBJDIR)\DlgFind.obj \
.\$(OBJDIR)\DlgAdd.obj \
.\$(OBJDIR)\PrefGroup.obj \
$(NULL)
LLIBS = $(LLIBS) \

View File

@@ -1,715 +0,0 @@
// PrefEditView.cpp : implementation of the CPrefEditView class
//
// In this code, the "tree control" is the just that which lives in the view,
// and the "prefs tree" is an XML DOM tree representing the preferences and
// their layout.
//
// The key to go from a tree control item to it's corresponding object in the
// XML tree is the pref name, which is saved in the tree control item data
// area. The code assumes the pref names are unique.
//
#include "stdafx.h"
#include "PrefElement.h"
#include "PrefEditView.h"
#include "DlgEditPrefStr.h"
#include "DlgFind.h"
#include "DlgAdd.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPrefEditView
IMPLEMENT_DYNCREATE(CPrefEditView, CTreeView)
BEGIN_MESSAGE_MAP(CPrefEditView, CTreeView)
//{{AFX_MSG_MAP(CPrefEditView)
ON_NOTIFY_REFLECT(NM_DBLCLK, OnDblclk)
ON_NOTIFY_REFLECT(NM_RCLICK, OnRclick)
ON_WM_CREATE()
ON_WM_DESTROY()
ON_COMMAND(ID_EDITPREFITEM, OnEditPrefItem)
ON_COMMAND(ID_FINDPREF, OnFindPref)
ON_COMMAND(ID_FINDNEXTPREF, OnFindNextPref)
ON_COMMAND(ID_ADDPREF, OnAddPref)
ON_WM_KEYDOWN()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPrefEditView construction/destruction
// Protected.
CPrefEditView::CPrefEditView()
: m_pPrefXMLTree(NULL), m_pPrefsList(NULL), m_iNextElement(-1)
{
}
CPrefEditView::CPrefEditView(CString strXMLFile)
: m_pPrefXMLTree(NULL), m_strXMLFile(strXMLFile), m_pPrefsList(NULL), m_iNextElement(-1)
{
InitXMLTree();
}
CPrefEditView::~CPrefEditView()
{
}
BOOL CPrefEditView::PreCreateWindow(CREATESTRUCT& cs)
{
cs.style |= TVS_HASLINES | TVS_LINESATROOT | TVS_HASBUTTONS;
return CTreeView::PreCreateWindow(cs);
}
/////////////////////////////////////////////////////////////////////////////
// CPrefEditView public operations
// expand the tree, or open the selected item for edit
void CPrefEditView::DoOpenItem()
{
CTreeCtrl &treeCtrl = GetTreeCtrl();
HTREEITEM hTreeCtrlItem = treeCtrl.GetSelectedItem();
if (!treeCtrl.ItemHasChildren(hTreeCtrlItem)) // no children == leaf node == pref
{
EditSelectedPrefsItem();
}
else
{
treeCtrl.Expand(hTreeCtrlItem, TVE_TOGGLE);
}
}
// open the Find Pref dialog
void CPrefEditView::DoFindFirst()
{
OnFindPref();
}
// find next item
void CPrefEditView::DoFindNext()
{
OnFindNextPref();
}
// open the Add Pref dialog
void CPrefEditView::DoAdd()
{
OnAddPref();
}
/////////////////////////////////////////////////////////////////////////////
// CPrefEditView diagnostics
#ifdef _DEBUG
void CPrefEditView::AssertValid() const
{
CTreeView::AssertValid();
}
void CPrefEditView::Dump(CDumpContext& dc) const
{
CTreeView::Dump(dc);
}
#endif //_DEBUG
BOOL CPrefEditView::InitXMLTree()
{
// Create XML DOM instance.
HRESULT hr = m_pPrefXMLTree.CreateInstance(__uuidof(DOMDocument));
if (FAILED(hr))
{
MessageBox("Error creating MS XML DOM.", "Error", MB_OK);
return FALSE;
}
// Load the prefs metadata. This is a representation of the prefs tree as
// it should appear in the tree control.
if (m_pPrefXMLTree)
{
CString strPrefsFileURL;
strPrefsFileURL.Format("FILE://%s", m_strXMLFile);
if (!m_pPrefXMLTree->load(strPrefsFileURL.GetBuffer(0)))
{
CString strError;
strError.Format("Error loading preferences metadata %s.", strPrefsFileURL);
MessageBox(strError, "Error", MB_OK);
m_pPrefXMLTree = NULL;
return FALSE;
}
if (m_pPrefXMLTree->parseError->errorCode != 0)
{
CString strError;
strError.Format("Bad XML in %s.", strPrefsFileURL);
MessageBox(strError, "Error", MB_OK);
m_pPrefXMLTree = NULL;
return FALSE;
}
}
return TRUE;
}
// ItemData in each tree control element was created with new, so we need to
// delete it.
void CPrefEditView::DeleteTreeCtrl(HTREEITEM hParent)
{
ASSERT(hParent);
CTreeCtrl &treeCtrl = GetTreeCtrl();
// Delete the CString ojbect we created with new.
CString* pstr = (CString*)treeCtrl.GetItemData(hParent);
delete pstr;
// Now call recursively for all children.
HTREEITEM hCurrent = treeCtrl.GetNextItem(hParent, TVGN_CHILD);
while (hCurrent != NULL)
{
DeleteTreeCtrl(hCurrent);
hCurrent = treeCtrl.GetNextItem(hCurrent, TVGN_NEXT);
}
}
// Given a pref node, add it to the tree ctrl. The pref name is
// later used to search for the pref node when the name is selected
// for edit.
HTREEITEM CPrefEditView::AddNodeToTreeCtrl(IXMLDOMNodePtr prefsTreeNode, HTREEITEM hTreeCtrlParent)
{
ASSERT(prefsTreeNode != NULL);
HTREEITEM hNewItem = NULL;
//MessageBox(prefsTreeNode->xml, "XML", MB_OK);
if (prefsTreeNode->nodeType == NODE_ELEMENT)
{
IXMLDOMElementPtr prefsTreeElement = (IXMLDOMElementPtr)prefsTreeNode;
CElementNode elementNode(prefsTreeElement);
CString strNodeName = elementNode.GetNodeName();
if ((strNodeName.CompareNoCase("PREFSGROUP") == 0) || (strNodeName.CompareNoCase("PREF") == 0))
{
// Will contain the pref name for pref elements, saved in the tree ctrl.
CString* pstrPrefName = NULL;
// Put this element in the tree ctrl.
CString strLabel = elementNode.GetAttribute("uiname");
int imageIndex = 0; // tree ctrl images
int imageIndexSel = 0; // 0 is a closed folder
// If this is a PREF element, create tree ctrl text, and save with a
// different image.
if (strNodeName.CompareNoCase("PREF") == 0)
{
CPrefElement prefElement(prefsTreeElement);
strLabel = prefElement.CreateTreeCtrlLabel();
if (prefElement.IsLocked())
imageIndexSel = imageIndex = 2; // a locked padlock
else
imageIndexSel = imageIndex = 3; // an unlocked padlock
// This gets deleted in DeleteTreeCtrl(). This is how we get back to
// pref node when a tree ctrl node is selected for editing.
pstrPrefName = new CString(prefElement.GetAttribute("prefname"));
}
CTreeCtrl &treeCtrl = GetTreeCtrl();
hNewItem = treeCtrl.InsertItem( strLabel, imageIndex, imageIndexSel, hTreeCtrlParent, TVI_LAST);
// Save a pointer to the prefname string so we can find the node in the
// pref tree from the tree ctrl when the item is selected for edit.
treeCtrl.SetItemData(hNewItem, (DWORD)pstrPrefName);
}
}
// Recursively call for children.
IXMLDOMNodeListPtr children = prefsTreeNode->GetchildNodes();
if (children)
{
int numChildren = children->Getlength();
for (int i = 0; i < numChildren; i++)
{
IXMLDOMNodePtr child = children->Getitem(i);
AddNodeToTreeCtrl(child, hNewItem);
}
}
return hNewItem;
}
/////////////////////////////////////////////////////////////////////////////
// CPrefEditView message handlers
// Given the pref name, for example browser.general.example, returns the
// prefs tree element for that pref.
IXMLDOMElementPtr CPrefEditView::FindElementFromPrefname(CString& rstrPrefString)
{
ASSERT(rstrPrefString.GetLength() > 0);
ASSERT(m_pPrefXMLTree != NULL);
IXMLDOMNodeListPtr prefsList = m_pPrefXMLTree->getElementsByTagName("PREF");
for(int i = 0; i < prefsList->length; i++)
{
IXMLDOMElementPtr element = prefsList->Getitem(i);
CPrefElement elementNode(element);
if (rstrPrefString.CompareNoCase(elementNode.GetPrefName()) == 0)
return element;
}
return NULL;
}
// Given a pref element node, returns the tree control item for it.
HTREEITEM CPrefEditView::FindTreeItemFromPrefname(HTREEITEM hItem, CString& rstrPrefName)
{
if(!hItem)
return NULL;
// Get the pref name associated with this tree ctrl item.
CTreeCtrl &treeCtrl = GetTreeCtrl();
CString* pstrPrefName = (CString*)treeCtrl.GetItemData(hItem);
if (pstrPrefName && pstrPrefName->CompareNoCase(rstrPrefName) == 0)
return hItem;
HTREEITEM hRet = NULL;
HTREEITEM hChild = treeCtrl.GetChildItem(hItem);
if(hChild)
hRet = FindTreeItemFromPrefname(hChild, rstrPrefName);
if(hRet == NULL)
{
HTREEITEM hSibling = treeCtrl.GetNextSiblingItem(hItem);
if(hSibling)
hRet = FindTreeItemFromPrefname(hSibling, rstrPrefName);
}
return hRet;
}
// Open a dialog to edit the pref.
void CPrefEditView::OnDblclk(NMHDR* pNMHDR, LRESULT* pResult)
{
CTreeCtrl &treeCtrl = GetTreeCtrl();
HTREEITEM hTreeCtrlItem = treeCtrl.GetSelectedItem();
if (!treeCtrl.ItemHasChildren(hTreeCtrlItem)) // no children == leaf node == pref
{
EditSelectedPrefsItem();
*pResult = 0;
}
}
int CPrefEditView::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
// InitXMLTree() has to complete successfully first.
ASSERT(m_pPrefXMLTree != NULL);
if (m_pPrefXMLTree == NULL)
return -1;
if (CTreeView::OnCreate(lpCreateStruct) == -1)
return -1;
// Get the tree control.
CTreeCtrl &treeCtrl = GetTreeCtrl();
// create the image list for the tree control
m_imageList.Create(IDB_TREEIMAGES, 17, 1, RGB(0,255,255));
treeCtrl.SetImageList (&m_imageList, TVSIL_NORMAL);
HTREEITEM hRoot = treeCtrl.GetRootItem();
if (hRoot)
DeleteTreeCtrl(hRoot);
ASSERT(m_pPrefXMLTree != NULL);
// Load the tree control so it matches the XML tree.
AddNodeToTreeCtrl(m_pPrefXMLTree->documentElement, NULL);
treeCtrl.Expand(treeCtrl.GetRootItem(), TVE_EXPAND);
return 0;
}
void CPrefEditView::OnDestroy()
{
// Clean up tree ctrl pref name memory allocations.
CTreeCtrl &treeCtrl = GetTreeCtrl();
HTREEITEM hRoot = treeCtrl.GetRootItem();
if (hRoot)
DeleteTreeCtrl(hRoot);
CTreeView::OnDestroy();
}
// Find a pref containing a string in one of its fields.
BOOL CPrefEditView::FindFirst(CString& rstrFind)
{
ASSERT(m_pPrefXMLTree != NULL);
m_pPrefsList = m_pPrefXMLTree->getElementsByTagName("PREF");
m_iNextElement = 0;
m_strFind = rstrFind;
return FindNext();
}
// Assumes FindFirst was called first.
BOOL CPrefEditView::FindNext()
{
ASSERT(m_pPrefXMLTree != NULL);
if (m_pPrefsList == NULL || m_iNextElement == -1)
return FALSE;
while (m_iNextElement < m_pPrefsList->length)
{
IXMLDOMElementPtr pElement = m_pPrefsList->Getitem(m_iNextElement);
CPrefElement elementNode(pElement);
// Find the string in any field (pref name, value, description, etc.)
if (elementNode.FindString(m_strFind))
{
// Select this item.
SelectPref(elementNode.GetPrefName());
m_iNextElement++;
return TRUE;
}
m_iNextElement++;
}
m_iNextElement = -1;
AfxMessageBox("No more matches.", MB_OK);
return FALSE;
}
// Save the XML to a file.
BOOL CPrefEditView::DoSavePrefsTree(CString strFile)
{
ASSERT(m_pPrefXMLTree != NULL);
CElementNode root(m_pPrefXMLTree->documentElement);
CString strXML = root.GetXML();
FILE* fp = fopen(strFile, "w");
if (!fp)
return FALSE;
CString strPreamble("<?xml version=\"1.0\"?>");
if (!fwrite(strPreamble, strPreamble.GetLength(), 1, fp))
return FALSE;
if (!fwrite(strXML, strXML.GetLength(), 1, fp))
return FALSE;
fclose(fp);
return TRUE;
}
// Pop up menu for Pref items.
void CPrefEditView::ShowPopupMenu( CPoint& point, int submenu )
{
if (point.x == -1 && point.y == -1)
{
//keystroke invocation
CRect rect;
GetClientRect(rect);
ClientToScreen(rect);
point = rect.TopLeft();
point.Offset(5, 5);
}
CMenu menu;
VERIFY(menu.LoadMenu(IDR_POPUP_PREFTREE_MENU));
CMenu* pPopup = menu.GetSubMenu(submenu);
ASSERT(pPopup != NULL);
CWnd* pWndPopupOwner = this;
pPopup->TrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON, point.x, point.y, pWndPopupOwner);
}
// "Edit Pref" context menu command selected.
void CPrefEditView::OnEditPrefItem()
{
EditSelectedPrefsItem();
}
// "Find Pref" context menu command selected.
void CPrefEditView::OnFindPref()
{
CDlgFind dlg;
if (dlg.DoModal() == IDOK)
if (!dlg.m_strFind.IsEmpty())
FindFirst(dlg.m_strFind);
}
// "Find Next Pref" context menu command selected.
void CPrefEditView::OnFindNextPref()
{
// If FindFirst not done before FindNext, call FindFirst first.
if (m_iNextElement == -1)
OnFindPref();
else
FindNext();
}
// User added prefs go into the root group.
HTREEITEM CPrefEditView::AddPref(CString& rstrPrefName, CString& rstrPrefDesc, CString& rstrPrefType)
{
IXMLDOMNodePtr prefsTreeRootNode = m_pPrefXMLTree->documentElement;
// Make sure the node is the root node element.
if (prefsTreeRootNode->nodeType == NODE_ELEMENT)
{
// and that it's a group.
CElementNode group(prefsTreeRootNode);
CString strNodeName = group.GetNodeName();
if (strNodeName.CompareNoCase("PREFSGROUP") == 0)
{
// Create an XML element node.
IXMLDOMNodePtr newNode = group.AddNode("PREF");
// Modify it.
CPrefElement newPref(newNode);
newPref.Initialize(rstrPrefName, rstrPrefDesc, rstrPrefType);
// Add it to the tree.
CTreeCtrl &treeCtrl = GetTreeCtrl();
HTREEITEM hRoot = treeCtrl.GetRootItem();
ASSERT(hRoot);
if (hRoot)
{
HTREEITEM hNewItem = AddNodeToTreeCtrl(newNode, hRoot);
treeCtrl.SelectItem(hNewItem);
EditSelectedPrefsItem();
}
}
}
return NULL;
}
// Open dialog to add a new pref, then open another to edit it.
void CPrefEditView::OnAddPref()
{
CDlgAdd dlg;
if (dlg.DoModal() == IDOK)
{
if (dlg.m_strPrefName.IsEmpty())
return;
CString strPrefType;
if (dlg.m_intPrefType == 0)
strPrefType = "string";
else if (dlg.m_intPrefType == 1)
strPrefType = "int";
else
strPrefType = "bool";
// Disallow if the pref name already exists.
CTreeCtrl &treeCtrl = GetTreeCtrl();
HTREEITEM hRoot = treeCtrl.GetRootItem();
HTREEITEM hTreeCtrlItem = FindTreeItemFromPrefname(hRoot, dlg.m_strPrefName);
if (hTreeCtrlItem)
{
MessageBox("A pref of this name already exists.", MB_OK);
treeCtrl.SelectItem(hTreeCtrlItem);
}
else
{
AddPref(dlg.m_strPrefName, dlg.m_strPrefDesc, strPrefType);
}
}
}
// Open the edit dialog box for the selected pref item. A pref should be selected,
// not a group.
void CPrefEditView::EditSelectedPrefsItem()
{
CTreeCtrl &treeCtrl = GetTreeCtrl();
HTREEITEM hTreeCtrlItem = treeCtrl.GetSelectedItem();
ASSERT(!treeCtrl.ItemHasChildren(hTreeCtrlItem)); // no children == leaf node == pref
// Can't edit a pref group--only a pref (leaf).
if (treeCtrl.ItemHasChildren(hTreeCtrlItem))
return;
// Get the pref name associated with this tree ctrl item.
CString* pstrPrefName = (CString*)treeCtrl.GetItemData(hTreeCtrlItem);
// All prefs should specify the prefname attribute in the XML pref element.
// This assertion means that the pref's prefname attribute was not set, or
// that perhaps a prefgroup doesn't have any children (if should, otherwise
// it shouldn't be a group.)
ASSERT(pstrPrefName);
if (!pstrPrefName)
return;
// Get the pref tree node with that same pref name.
IXMLDOMElementPtr prefsTreeElement = FindElementFromPrefname(*pstrPrefName);
if (prefsTreeElement)
{
CPrefElement elementNode(prefsTreeElement);
CString* pstrChoices = elementNode.MakeChoiceStringArray();
CDlgEditPrefStr dlg;
dlg.m_strType = elementNode.GetPrefType();
dlg.m_strTitle = elementNode.GetUIName();
dlg.m_strDescription = elementNode.GetPrefDescription();
dlg.m_strPrefName = *pstrPrefName;
dlg.m_strValue = elementNode.GetPrefValue();
dlg.m_bLocked = elementNode.IsLocked();
dlg.m_pstrChoices = pstrChoices;
dlg.m_strSelectedChoice = elementNode.GetSelectedChoiceString();
dlg.m_strPrefFile = elementNode.GetPrefFile();
dlg.m_strInstallFile = elementNode.GetInstallFile();
dlg.m_bChoose = elementNode.IsChoose();
if (dlg.DoModal() == IDOK)
{
// Adjust the prefs tree to reflect the changes. The dialog always
// sets m_strValue to a string which can go directly into the prefs
// tree element. For example, bools set 'true' or 'false' and choices
// set '0' or '1' or whatever the value for the selected choice.
elementNode.SetPrefValue(dlg.m_strValue);
elementNode.SetLocked(dlg.m_bLocked);
elementNode.SetPrefFile(dlg.m_strPrefFile);
elementNode.SetInstallFile(dlg.m_strInstallFile);
// Adjust the tree control to reflect the changes.
treeCtrl.SetItemText(hTreeCtrlItem, elementNode.CreateTreeCtrlLabel());
treeCtrl.SetItemImage(hTreeCtrlItem, dlg.m_bLocked? 2 : 3, dlg.m_bLocked? 2 : 3);
}
delete [] pstrChoices;
}
}
// This is to make context menus work properly--there is a quirk in
// CTreeView where you have to double-right click for context menus
// to work.
void CPrefEditView::OnRclick(NMHDR* pNMHDR, LRESULT* pResult)
{
CTreeCtrl & treeCtrl = GetTreeCtrl();
// Get the cursor position for this message
DWORD dwPos = GetMessagePos();
// Convert the coords into a CPoint structure
CPoint pt(LOWORD( dwPos ), HIWORD( dwPos ));
CPoint spt;
spt = pt;
// convert to screen coords for the hittesting to work
treeCtrl.ScreenToClient( &spt );
UINT test;
HTREEITEM hTreeCtrlItem = treeCtrl.HitTest(spt, &test);
if (hTreeCtrlItem != NULL)
{
// Is the click actually *on* the item?
if (test & TVHT_ONITEM)
{
// Select the item.
treeCtrl.SelectItem(hTreeCtrlItem);
int submenu;
if (!treeCtrl.ItemHasChildren(hTreeCtrlItem)) // no children == leaf node == pref
submenu = 0;
else
submenu = 1;
ShowPopupMenu(pt, submenu);
}
}
*pResult = 0;
}
// Given a pref name, select the tree control item with that pref name.
void CPrefEditView::SelectPref(CString& rstrPrefName)
{
CTreeCtrl &treeCtrl = GetTreeCtrl();
HTREEITEM hRoot = treeCtrl.GetRootItem();
HTREEITEM hTreeCtrlItem = FindTreeItemFromPrefname(hRoot, rstrPrefName);
treeCtrl.SelectItem(hTreeCtrlItem);
}
void CPrefEditView::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
{
if (nChar == VK_F3)
{
OnFindNextPref();
}
else if ((nChar == 0x46) && GetAsyncKeyState(VK_CONTROL)) // Ctrl+F
{
OnFindPref();
}
else
{
CTreeView::OnKeyDown(nChar, nRepCnt, nFlags);
}
}

View File

@@ -1,106 +0,0 @@
// PrefEditView.h : interface of the CPrefEditView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_PREFEDITVIEW_H__6ACBEE69_AA14_43BA_B736_DF17EA66A7CE__INCLUDED_)
#define AFX_PREFEDITVIEW_H__6ACBEE69_AA14_43BA_B736_DF17EA66A7CE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#import "msxml.dll"
using namespace MSXML;
#include <afxcview.h>
#include "XMLDOMHelper.h"
class CPrefEditView : public CTreeView
{
protected:
CPrefEditView();
// Attributes
public:
CPrefEditView(CString strXMLFile);
DECLARE_DYNCREATE(CPrefEditView)
// Operations
public:
BOOL DoSavePrefsTree(CString strFileName); // save the XML to a file
void DoOpenItem(); // expand the tree, or open the selected item for edit
void DoFindFirst(); // open the Find Pref dialog
void DoFindNext(); // find next item
void DoAdd(); // open the Add Pref dialog
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPrefEditView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CPrefEditView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CPrefEditView)
afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnDestroy();
afx_msg void OnEditPrefItem();
afx_msg void OnFindPref();
afx_msg void OnFindNextPref();
afx_msg void OnAddPref();
afx_msg void OnRclick(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CImageList m_imageList; // padlocks to show which prefs are locked
IXMLDOMDocumentPtr m_pPrefXMLTree; // the actual XML tree which describes the tree control contents
CString m_strXMLFile; // the XML file used to load the m_pPrefXMLTree, and hence the tree control
// Stuff for Find and FindNext.
IXMLDOMNodeListPtr m_pPrefsList;
int m_iNextElement;
CString m_strFind;
BOOL FindFirst(CString& rstrFind);
BOOL FindNext();
BOOL InitXMLTree();
HTREEITEM AddNodeToTreeCtrl(IXMLDOMNodePtr prefsTreeNode, HTREEITEM hTreeCtrlParent);
HTREEITEM FindTreeItemFromPrefname(HTREEITEM hItem, CString& rstrPrefName);
IXMLDOMElementPtr FindElementFromPrefname(CString& rstrPrefString);
void SelectPref(CString& rstrPrefName);
void DeleteTreeCtrl(HTREEITEM hParent);
HTREEITEM AddPref(CString& rstrPrefName, CString& rstrPrefDesc, CString& rstrPrefType);
void ShowPopupMenu( CPoint& point, int submenu );
void EditSelectedPrefsItem();
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PREFEDITVIEW_H__6ACBEE69_AA14_43BA_B736_DF17EA66A7CE__INCLUDED_)

View File

@@ -1,292 +0,0 @@
// PrefElement.cpp: implementation of the CPrefElement class.
//
// This is a class with helper functions for the preferences metadata
// XML.
//
// XML Conventions:
// Element tags are in CAPS.
// Attribute names are in lower case.
// When writing bools, use lower case "true" and "false".
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "PrefElement.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CPrefElement::CPrefElement(IXMLDOMElementPtr element)
: CElementNode(element)
{
}
CPrefElement::~CPrefElement()
{
}
// For a newly created node, initialize it's settings.
void CPrefElement::Initialize(CString strPrefName, CString strPrefDesc, CString strPrefType)
{
SetAttribute("uiname", strPrefName);
SetAttribute("prefname", strPrefName);
SetAttribute("description", strPrefDesc);
SetAttribute("type", strPrefType);
SetAttribute("lockable", "true");
SetLocked(FALSE);
SetInstallFile("browser.xpi");
SetPrefFile("bin/defaults/pref/all-ns.js");
if (strPrefType.CompareNoCase("int") == 0)
SetPrefValue("0");
else if (strPrefType.CompareNoCase("bool") == 0)
SetPrefValue("true");
else
SetPrefValue("");
}
// For a pref node element, returns a string which is used for the tree ctrl
// label.
CString CPrefElement::CreateTreeCtrlLabel()
{
CString strLabel = GetAttribute("uiname");
CString strValue = GetChildElementValue("VALUE");
if (IsChoose())
{
strValue = GetSelectedChoiceString();
}
CString strRetVal;
strRetVal.Format("%s [%s]", strLabel, strValue);
return strRetVal;
}
// Check to see if the pref element is locked.
BOOL CPrefElement::IsLocked()
{
CString strVal = GetChildElementValue("LOCKED");
return (strVal.CompareNoCase("true") == 0);
}
// Lock the pref element.
void CPrefElement::SetLocked(BOOL bLocked)
{
SetChildElementValue("LOCKED", bLocked? "true": "false");
}
// Build a list of choices from the element to pass to the edit dialog.
// Returns an array of CStrings. Caller must delete.
CString* CPrefElement::MakeChoiceStringArray()
{
CString* choices = NULL;
IXMLDOMNodeListPtr choiceNodes = m_element->getElementsByTagName("CHOICE");
if (choiceNodes)
{
// Create an array of CString pointers.
int numChoices = choiceNodes->length;
choices = new CString[numChoices + 1];
for (int i = 0; i < numChoices; i++)
{
IXMLDOMElementPtr element = choiceNodes->Getitem(i);
CElementNode elementNode(element);
choices[i] = elementNode.GetAttribute("uiname");
}
choices[numChoices] = "";
}
return choices;
}
// Get the ui name of the selected choice for this pref.
CString CPrefElement::GetSelectedChoiceString()
{
CString strVal = GetPrefValue();
IXMLDOMNodeListPtr choiceNodes = m_element->getElementsByTagName("CHOICE");
if (choiceNodes)
{
int numChoices = choiceNodes->length;
for (int i = 0; i < numChoices; i++)
{
IXMLDOMElementPtr element = choiceNodes->Getitem(i);
CElementNode elementNode(element);
if (strVal.CompareNoCase(elementNode.GetAttribute("value")) == 0)
{
return elementNode.GetAttribute("uiname");
}
}
}
return "";
}
CString CPrefElement::GetValueFromChoiceString(CString strChoiceString)
{
IXMLDOMNodeListPtr choiceNodes = m_element->getElementsByTagName("CHOICE");
if (choiceNodes)
{
int numChoices = choiceNodes->length;
for (int i = 0; i < numChoices; i++)
{
IXMLDOMElementPtr element = choiceNodes->Getitem(i);
CElementNode elementNode(element);
if (strChoiceString.CompareNoCase(elementNode.GetAttribute("uiname")) == 0)
{
return elementNode.GetAttribute("value");
}
}
}
return "";
}
// Get the ui name of the pref.
CString CPrefElement::GetUIName()
{
return GetAttribute("uiname");
}
// Get the value of the pref.
CString CPrefElement::GetPrefValue()
{
return GetChildElementValue("VALUE");
}
// Set the value of the pref. For "choose", pass
// the uiname string, and this fuction will convert
// to the correct value.
void CPrefElement::SetPrefValue(CString strValue)
{
if (IsChoose())
{
SetChildElementValue("VALUE", GetValueFromChoiceString(strValue));
}
else
{
SetChildElementValue("VALUE", strValue);
}
}
// Get the Mozilla name of the pref.
CString CPrefElement::GetPrefName()
{
return GetAttribute("prefname");
}
// Get the type of the pref. bool, string, int
CString CPrefElement::GetPrefType()
{
return GetAttribute("type");
}
// Get a long description of the pref.
CString CPrefElement::GetPrefDescription()
{
return GetAttribute("description");
}
// Return name of installation file.
CString CPrefElement::GetInstallFile()
{
return GetChildElementValue("INSTALLATIONFILE");
}
// Set name of installation file.
void CPrefElement::SetInstallFile(CString strInstallFile)
{
SetChildElementValue("INSTALLATIONFILE", strInstallFile);
}
// Return name of pref file.
CString CPrefElement::GetPrefFile()
{
return GetChildElementValue("PREFFILE");
}
// Set name of pref file.
void CPrefElement::SetPrefFile(CString strPrefFile)
{
SetChildElementValue("PREFFILE", strPrefFile);
}
// Return true if this is a chooser type pref.
BOOL CPrefElement::IsChoose()
{
return ChildExists("CHOICES");
}
// Return TRUE if the search string exists in any
// of the prefs fields.
BOOL CPrefElement::FindString(CString strFind)
{
strFind.MakeUpper();
CString str = GetUIName();
str.MakeUpper();
if (str.Find(strFind) >= 0)
return TRUE;
str = GetPrefValue();
str.MakeUpper();
if (str.Find(strFind) >= 0)
return TRUE;
str = GetPrefName();
str.MakeUpper();
if (str.Find(strFind) >= 0)
return TRUE;
str = GetPrefType();
str.MakeUpper();
if (str.Find(strFind) >= 0)
return TRUE;
str = GetPrefDescription();
str.MakeUpper();
if (str.Find(strFind) >= 0)
return TRUE;
str = GetInstallFile();
str.MakeUpper();
if (str.Find(strFind) >= 0)
return TRUE;
str = GetPrefFile();
str.MakeUpper();
if (str.Find(strFind) >= 0)
return TRUE;
return FALSE;
}
void CPrefElement::SetSelected(BOOL bSelected)
{
SetChildElementValue("SELECTED", bSelected?"true":"false");
}
BOOL CPrefElement::IsSelected()
{
CString strVal = GetChildElementValue("SELECTED");
return (strVal.CompareNoCase("true") == 0);
}

View File

@@ -1,43 +0,0 @@
// PrefElement.h: interface for the CPrefElement class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PREFELEMENT_H__C93E84F5_104A_4218_972D_E2A384749B59__INCLUDED_)
#define AFX_PREFELEMENT_H__C93E84F5_104A_4218_972D_E2A384749B59__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "XMLDOMHelper.h"
class CPrefElement : public CElementNode
{
public:
CPrefElement(IXMLDOMElementPtr element);
virtual ~CPrefElement();
void Initialize(CString strPrefName, CString strPrefDesc, CString strPrefType);
CString CreateTreeCtrlLabel();
BOOL IsLocked();
void SetLocked(BOOL bLocked);
CString* MakeChoiceStringArray();
CString GetSelectedChoiceString();
CString GetUIName();
CString GetPrefValue();
void SetPrefValue(CString strValue);
CString GetPrefName();
CString GetPrefType();
CString GetPrefDescription();
CString GetValueFromChoiceString(CString strChoiceString);
CString GetInstallFile();
void SetInstallFile(CString strInstallFile);
CString GetPrefFile();
void SetPrefFile(CString strPrefFile);
BOOL IsChoose();
BOOL FindString(CString strFind);
void SetSelected(BOOL bExpanded);
BOOL IsSelected();
};
#endif // !defined(AFX_PREFELEMENT_H__C93E84F5_104A_4218_972D_E2A384749B59__INCLUDED_)

View File

@@ -1,33 +0,0 @@
// PrefGroup.cpp: implementation of the CPrefGroup class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "PrefGroup.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CPrefGroup::CPrefGroup(IXMLDOMElementPtr element)
: CElementNode(element)
{
}
CPrefGroup::~CPrefGroup()
{
}
CString CPrefGroup::GetUIName()
{
return GetAttribute("uiname");
}

View File

@@ -1,23 +0,0 @@
// PrefGroup.h: interface for the CPrefGroup class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PREFGROUP_H__D81DF6AF_427E_4AE4_84E8_86ACFEDBE6D3__INCLUDED_)
#define AFX_PREFGROUP_H__D81DF6AF_427E_4AE4_84E8_86ACFEDBE6D3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "XMLDOMHelper.h"
class CPrefGroup : public CElementNode
{
public:
CPrefGroup(IXMLDOMElementPtr element);
virtual ~CPrefGroup();
CString GetUIName();
};
#endif // !defined(AFX_PREFGROUP_H__D81DF6AF_427E_4AE4_84E8_86ACFEDBE6D3__INCLUDED_)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 790 B

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -10,61 +10,37 @@
#define IDS_STRING103 103
#define IDR_MAINFRAME 128
#define IDD_BASE_DIALOG 129
#define IDD_EDITPREF 130
#define IDB_TREEIMAGES 131
#define IDD_IMAGE_DIALOG 136
#define IDD_DIALOG1 137
#define IDD_CREATE_DIALOG 138
#define IDD_NEW_DIALOG 140
#define IDD_IMG_DLG 141
#define IDR_POPUP_PREFTREE_MENU 143
#define IDD_FIND 144
#define IDR_ACCELERATOR1 145
#define IDD_PROGRESS_DLG 146
#define IDD_ADDPREF 147
#define IDD_DIALOG112 153
#define IDD_NEWCONFIG_DIALOG 159
#define IDD_DIALOG131 161
#define IDC_VALUE 1000
#define IDC_DESCRIPTION 1001
#define IDC_EDIT1 1001
#define IDC_PREFNAME 1002
#define IDC_LOCKED 1003
#define IDC_TITLE_TEXT 1003
#define IDC_VALCHECK 1004
#define IDC_BASE_TEXT 1004
#define IDC_VALLIST 1005
#define IDC_HELP_BUTTON 1005
#define IDC_BUTTON1 1007
#define ID_HELP_EDIT 1007
#define IDC_STATIC1 1008
#define IDC_STATIC2 1009
#define IDC_INSTALLFILE 1010
#define IDC_FIND 1011
#define IDC_PREFFILE 1012
#define IDC_PREFDESC 1014
#define IDC_PREFTYPE_STRING 1015
#define IDC_PREFTYPE_INT 1016
#define IDC_PREFTYPE_BOOL 1017
#define IDC_PREFTYPEGROUP 1018
#define IDC_PROGRESS1 1036
#define IDC_PROGESSTEXT_STATIC 1037
#define IDD_HELP_DLG 1537
#define IDD_SUMMARY 1538
#define IDD_WIZ_HELP 1539
#define IDC_FEEDBACK_BUTTON 0x02000
#define ID_EDITPREFITEM 32773
#define ID_FINDPREF 32774
#define ID_FINDNEXTPREF 32776
#define ID_ADDPREF 32777
#define IDC_FEEDBACK_BUTTON 0x02000
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 148
#define _APS_NEXT_COMMAND_VALUE 32778
#define _APS_NEXT_CONTROL_VALUE 1019
#define _APS_NEXT_RESOURCE_VALUE 142
#define _APS_NEXT_COMMAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE 1010
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

View File

@@ -1,123 +0,0 @@
#include "stdafx.h"
#include "XMLDOMHelper.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
CElementNode::CElementNode(IXMLDOMElementPtr element)
: m_element(element)
{
}
BOOL CElementNode::ChildExists(CString strTag)
{
IXMLDOMNodeListPtr prefValNodes = m_element->getElementsByTagName(strTag.GetBuffer(0));
if (prefValNodes)
return prefValNodes->Getlength() > 0;
else
return FALSE;
}
CString CElementNode::GetChildElementValue(CString strTag)
{
_variant_t value;
IXMLDOMNodeListPtr prefValNodes = m_element->getElementsByTagName(strTag.GetBuffer(0));
if (prefValNodes)
{
IXMLDOMNodePtr prefValNode = prefValNodes->Getitem(0); // should be only one
if (prefValNode)
{
if (prefValNode->childNodes->Getlength() > 0)
value = prefValNode->childNodes->Getitem(0)->GetnodeValue(); // get the text node child, which contains the text we want.
}
}
return (char*)_bstr_t(value);
}
// Set the text of the child element with the tag strTag. Assumes only one child with this tag.
void CElementNode::SetChildElementValue(CString strTag, CString strValue)
{
_variant_t value = strValue;
IXMLDOMNodeListPtr prefValNodes = m_element->getElementsByTagName(strTag.GetBuffer(0));
if (prefValNodes)
{
IXMLDOMNodePtr prefValNode = prefValNodes->Getitem(0); // should be only one
if (prefValNode == NULL)
{
_variant_t tag = strTag;
prefValNode = m_element->GetownerDocument()->createElement(_bstr_t(tag));
m_element->appendChild(prefValNode);
}
if (prefValNode)
{
if (prefValNode->childNodes->Getlength() == 0)
{
IXMLDOMNodePtr newNode = prefValNode->GetownerDocument()->createTextNode(_bstr_t(value));
prefValNode->appendChild(newNode);
}
else
{
prefValNode->childNodes->Getitem(0)->PutnodeValue(value); // get the text node child, which contains the text we want.
}
}
}
return;
}
IXMLDOMNodePtr CElementNode::AddNode(CString strTag)
{
_variant_t tag = strTag;
IXMLDOMNodePtr newNode = m_element->GetownerDocument()->createElement(_bstr_t(tag));
m_element->appendChild(newNode);
return newNode;
}
// Return the value of the specified attribute.
CString CElementNode::GetAttribute(CString strAttributeName)
{
_variant_t attribValue = m_element->getAttribute(strAttributeName.GetBuffer(0));
if (attribValue.vt == VT_NULL)
return "";
else
return (char*)_bstr_t(attribValue);
}
void CElementNode::SetAttribute(CString strAttributeName, CString strAttributeValue)
{
_variant_t attributeName = strAttributeName;
_variant_t attributeValue = strAttributeValue;
IXMLDOMAttributePtr attribNode = m_element->getAttributeNode(strAttributeName.GetBuffer(0));
if (attribNode == NULL)
{
attribNode = m_element->GetownerDocument()->createAttribute(_bstr_t(attributeName));
m_element->setAttributeNode(attribNode);
}
m_element->setAttribute(_bstr_t(attributeName), _bstr_t(attributeValue));
}
// The name of the node.
CString CElementNode::GetNodeName()
{
_bstr_t nodeName = m_element->GetnodeName();
return (char*)nodeName;
}
CString CElementNode::GetXML()
{
_bstr_t xml = m_element->xml;
return (char*)xml;
}

View File

@@ -1,33 +0,0 @@
#ifndef XMLDOMHELPER_H
#define XMLDOMHELPER_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#import "msxml.dll"
using namespace MSXML;
// This is a little class for helping to deal with the XML DOM elements.
// It takes care of funny string types and returns everything as CString for
// the class user.
class CElementNode
{
public:
CElementNode(IXMLDOMElementPtr element);
CString GetNodeName();
CString GetChildElementValue(CString strTag);
void SetChildElementValue(CString strTag, CString strValue);
CString GetAttribute(CString strAttributeName);
void SetAttribute(CString strAttributeName, CString strAttributeValue);
CString GetXML();
IXMLDOMNodePtr AddNode(CString strTag);
BOOL ChildExists(CString strTag);
protected:
IXMLDOMElementPtr m_element;
};
#endif

View File

@@ -0,0 +1,198 @@
#include "stdafx.h"
#include "globals.h"
#include "comp.h"
#include <direct.h>
#define MAX_SIZE 1024
CString rootPath;
CString configName;
CString configPath;
CString workspacePath;
CString cdPath;
CString tempPath;
CString iniSrcPath;
CString iniDstPath;
CString scriptPath;
CString nscpxpiPath;
CString linuxOption;
CString linuxblobPath;
CString linuxDir;
CString nsinstPath;
CString xpiDir;
CString tarfile;
CString quotes;
COMPONENT Components[100];
int numComponents;
extern "C" __declspec(dllexport)
int BuildComponentList(COMPONENT *comps, int *compNum, CString iniSrcPath,
int invisibleCount)
{
*compNum = 0;
int invNum = *compNum;
CString componentstr;
// Get all the component info from each component section
char component[MAX_SIZE];
char archive[MAX_SIZE];
char name[MAX_SIZE];
char desc[MAX_SIZE];
char attr[MAX_SIZE];
char tempcomponentstr[MAX_SIZE];
componentstr.Format("C%d", *compNum);
strcpy(tempcomponentstr, componentstr);
GetPrivateProfileString("Setup Type2", tempcomponentstr, "", component,
MAX_SIZE, iniSrcPath);
GetPrivateProfileString(component, "Archive", "", archive, MAX_SIZE,
iniSrcPath);
while (*archive)
{
GetPrivateProfileString(component, "Description Short", "",
name, MAX_SIZE, iniSrcPath);
GetPrivateProfileString(component, "Description Long", "",
desc, MAX_SIZE, iniSrcPath);
GetPrivateProfileString(component, "Attributes", "",
attr, MAX_SIZE, iniSrcPath);
if (strcmp(component, "Component AOD") == 0)
strcpy(attr, "SELECTED");
comps[*compNum].archive = CString(archive);
comps[*compNum].compname = component;
comps[*compNum].name = CString(name);
comps[*compNum].desc = CString(desc);
comps[*compNum].selected = (strstr(attr, "SELECTED") != NULL);
comps[*compNum].invisible = (strstr(attr, "INVISIBLE") != NULL);
comps[*compNum].launchapp = (strstr(attr, "LAUNCHAPP") != NULL);
comps[*compNum].additional = (strstr(attr, "ADDITIONAL") != NULL);
comps[*compNum].disabled = (strstr(attr, "DISABLED") != NULL);
comps[*compNum].forceupgrade = (strstr(attr, "FORCE_UPGRADE") != NULL);
comps[*compNum].uncompress = (strstr(attr, "UNCOMPRESS") != NULL);
comps[*compNum].downloadonly = (strstr(attr, "DOWNLOAD_ONLY") != NULL);
comps[*compNum].unselected = (strstr(attr, "UNSELECTED") != NULL);
comps[*compNum].empty = strcmp(attr, "");
if (!(comps[*compNum].selected && comps[*compNum].invisible &&
invisibleCount))
{
(*compNum)++;
invNum++;
componentstr.Format("C%d", invNum);
strcpy(tempcomponentstr, componentstr);
GetPrivateProfileString("Setup Type2", tempcomponentstr, "",
component, MAX_SIZE, iniSrcPath);
}
else
{
invNum++;
componentstr.Format("C%d", invNum);
strcpy(tempcomponentstr, componentstr);
GetPrivateProfileString("Setup Type2", tempcomponentstr, "",
component, MAX_SIZE, iniSrcPath);
}
GetPrivateProfileString(component, "Archive", "", archive, MAX_SIZE,
iniSrcPath);
}
return TRUE;
}
extern "C" __declspec(dllexport)
int GenerateComponentList(CString parms, WIDGET *curWidget)
{
rootPath = GetGlobal("Root");
configName = GetGlobal("CustomizationList");
configPath = rootPath + "Configs\\" + configName;
workspacePath = configPath + "\\Workspace";
nscpxpiPath;
linuxOption = GetGlobal("lPlatform");
if (linuxOption == "Linux")
{
linuxblobPath = GetGlobal("LinuxPath");
linuxDir = "nscpxpiLinux";
nsinstPath = "\\netscape-installer\\xpi";
xpiDir = "\\xpi";
CString tnscpxpilinuxPath = rootPath + linuxDir;
CString nscpxpilinuxPath = tnscpxpilinuxPath;
int pathlen = linuxblobPath.GetLength();
int pos = linuxblobPath.ReverseFind('\\');
pos += 1;
CString linuxinstDirPath = linuxblobPath.Left(pos);
tarfile = linuxblobPath.Right(pathlen-pos);
int direxist = GetFileAttributes(nscpxpilinuxPath);
if ((direxist == -1) && (linuxblobPath != ""))
// nscpxpiLinux directory does not exist
{
quotes = "\"";
char currentdir[_MAX_PATH];
_getcwd(currentdir, _MAX_PATH);
_chdir(rootPath);
_mkdir(linuxDir);
_chdir(linuxinstDirPath);
tnscpxpilinuxPath.Replace("\\","/");
tnscpxpilinuxPath.Replace(":","");
tnscpxpilinuxPath.Insert(0,"/cygdrive/");
CString command = "tar -zxvf " + tarfile + " -C " + quotes + tnscpxpilinuxPath + quotes;
ExecuteCommand((char *)(LPCTSTR) command, SW_HIDE, INFINITE);
nscpxpiPath = nscpxpilinuxPath + nsinstPath;
CString tempxpiPath = nscpxpiPath;
tempxpiPath.Replace(xpiDir,"");
CopyFile(tempxpiPath+"\\Config.ini", nscpxpiPath+"\\Config.ini",
FALSE);
_chdir(currentdir);
}
nscpxpiPath = nscpxpilinuxPath + nsinstPath;
}
else
{
if (SearchPath(workspacePath, "NSCPXPI", NULL, 0, NULL, NULL))
nscpxpiPath = workspacePath + "\\NSCPXPI";
else
nscpxpiPath = rootPath + "NSCPXPI";
}
iniSrcPath = nscpxpiPath + "\\config.ini";
BuildComponentList(Components, &numComponents, iniSrcPath, 1);
int i;
CString WidgetValue("");
for (i=0; i<numComponents; i++)
{
curWidget->options.name[i] = new char[strlen(Components[i].compname)+1];
strcpy(curWidget->options.name[i], Components[i].compname);
curWidget->options.value[i] = new char[strlen(Components[i].name)+1];
strcpy(curWidget->options.value[i], Components[i].name);
curWidget->optDesc.name[i] = new char[strlen(Components[i].compname)+1];
strcpy(curWidget->optDesc.name[i], Components[i].compname);
curWidget->optDesc.value[i] = new char[strlen(Components[i].desc)+1];
strcpy(curWidget->optDesc.value[i], Components[i].desc);
// INVISIBLE just means not selected, let user decide whether to
// include them again. SELECTED components get checkmarks.
if (Components[i].selected)
{
WidgetValue += ",";
WidgetValue += Components[i].name;
}
}
curWidget->numOfOptions = numComponents;
curWidget->numOfOptDesc = numComponents;
if (curWidget->value.IsEmpty())
curWidget->value = WidgetValue;
return TRUE;
}

View File

@@ -0,0 +1,20 @@
typedef struct s_component {
CString archive;
CString compname;
CString name;
CString desc;
BOOL selected;
BOOL invisible;
BOOL launchapp;
BOOL additional;
BOOL disabled;
BOOL forceupgrade;
BOOL uncompress;
BOOL downloadonly;
BOOL unselected;
BOOL empty;
} COMPONENT;
extern "C" __declspec(dllexport)
int BuildComponentList(COMPONENT *comps, int *compNum, CString iniSrcPath,int invisibleCount);

View File

@@ -137,3 +137,43 @@ void ExecuteCommand(char *command, int showflag, DWORD wait)
WaitForSingleObject(processInfo.hProcess, wait);
}
extern "C" __declspec(dllexport)
void EraseDirectory(CString sPath)
{
CFileFind finder;
CString sFullPath = sPath + "\\*.*";
BOOL bWorking = finder.FindFile(sFullPath);
while (bWorking)
{
bWorking = finder.FindNextFile();
if (finder.IsDots()) continue;
if (finder.IsDirectory())
{
CString dirPath = finder.GetFilePath();
EraseDirectory(dirPath);
_rmdir(finder.GetFilePath());
continue;
}
_unlink( finder.GetFilePath() );
}
}
__declspec(dllexport)
CString GetModulePath()
{
char currPath[MID_SIZE];
int i,numBytes;
// Get the path of the file that was executed
numBytes = GetModuleFileName(NULL, currPath, MIN_SIZE);
// get the cmd path
// Remove the filename from the path
for (i=numBytes-1;i >= 0 && currPath[i] != '\\';i--);
// Terminate command line with 0
if (i >= 0)
currPath[i+1]= '\0';
return CString(currPath);
}

View File

@@ -12,3 +12,5 @@ extern "C" __declspec(dllimport) WIDGET* findWidget(CString theName);
extern "C" __declspec(dllimport) void CopyDir(CString from, CString to, LPCTSTR extension, int overwrite);
extern "C" __declspec(dllexport) void ExecuteCommand(char *command, int showflag, DWORD wait);
extern "C" __declspec(dllimport) int GetAttrib(CString theValue, char* attribArray[]);
extern "C" __declspec(dllimport) void EraseDirectory(CString sPath);
__declspec(dllimport) CString GetModulePath();

View File

@@ -31,6 +31,7 @@ IS_COMPONENT = 1
OBJS= \
.\$(OBJDIR)\globals.obj \
.\$(OBJDIR)\comp.obj \
$(NULL)
LINCS= $(LINCS) \
@@ -70,8 +71,9 @@ include <$(DEPTH)\config\rules.mak>
include <$(DEPTH)\cck\InitDist.win>
export:: $(DLLNAME).h
$(MAKE_INSTALL) $(DLLNAME).h ..\include
export::
$(MAKE_INSTALL) globals.h ..\include
$(MAKE_INSTALL) comp.h ..\include
libs:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib ..\lib

View File

@@ -60,6 +60,9 @@ int BuildComponentList(COMPONENT *comps, int *compNum, CString iniSrcPath,
GetPrivateProfileString(component, "Attributes", "",
attr, MAX_SIZE, iniSrcPath);
if (strcmp(component, "Component AOD") == 0)
strcpy(attr, "SELECTED");
comps[*compNum].archive = CString(archive);
comps[*compNum].compname = component;
comps[*compNum].name = CString(name);

91
mozilla/cck/ib/engine.cpp Normal file
View File

@@ -0,0 +1,91 @@
#include "stdafx.h"
#include <Winbase.h>
#include <direct.h>
#include <stdio.h>
#include "ib.h"
#include "globals.h"
#include "fstream.h"
#include <afxtempl.h>
#include <afxdisp.h>
#include "resource.h"
#include "NewDialog.h"
int main(int argc, char *argv[])
{
CString configPath;
CString rootPath;
CString templateDir;
CString configname;
CString configpath;
CString che_path;
CString che_file;
if(argc == 3)
{
configPath = argv[2];
FillGlobalWidgetArray(configPath);
if(!strcmp(argv[1], "-c"))
{
//The option "-c" means that ibengine.exe
//was called from wizardmachine.exe
StartIB();
}
else if(!strcmp(argv[1], "-u"))
{
//The option "-u" means that the user is
//running ibengine.exe via command line
rootPath = GetModulePath();
templateDir = rootPath + "WSTemplate";
configname = GetGlobal("_NewConfigName");
configpath = rootPath + "Configs\\" + configname;
//Grab exact name of the .che file from configPath
che_file = configPath;
int extractposition = che_file.ReverseFind('\\');
extractposition++;
extractposition = (che_file.GetLength()) - extractposition;
che_file = che_file.Right(extractposition);
//These are some commands that we only want to run if
//ibengine.exe is run at command line
//Create the config path
_mkdir(configpath);
//Copy files and directories from WSTemplate
//to new config directory
CopyDir(templateDir, configpath, NULL, FALSE);
//Copy the .che file given on command line to the
//appropriate directory
che_path = configpath + "\\" + che_file;
CopyFile(configPath, che_path, FALSE);
StartIB();
printf("\nInstaller creation is complete. The build is "
"in %sConfigs\\%s\\Output\n", rootPath, configname);
}
else
{
printf("\nYou have supplied incorrect command line options. \n"
"Please, run either \"WizardMachine.exe\" "
"or \"ibengine.exe -u <your_config_file_path>\"\n");
return 1;
}
}
else
{
printf("\nYou have supplied incorrect command line options. \n"
"Please, run either \"WizardMachine.exe\" "
"or \"ibengine.exe -u <your_config_file_path>\"\n");
return 1;
}
return 0;
}

View File

@@ -1,5 +1,3 @@
// Includes
#include "stdafx.h"
#include <Winbase.h>
#include <direct.h>
@@ -17,10 +15,6 @@
#define CRVALUE 0x0D
#define BUF_SIZE 4096
// for the xml parser used for PrefsTree
#import "msxml.dll"
using namespace MSXML;
// Required disk space for Win build
#define WDISK_SPACE 27577549
// Required disk space for Linux build
@@ -696,122 +690,6 @@ int ModifyHashedPref(CString HashedPrefsFile, CString PrefName, CString NewPrefV
return TRUE;
}
// XML DOM helper. Returns the value of a specified child element.
CString GetElementValue(IXMLDOMElementPtr element, CString strTag)
{
_variant_t value;
IXMLDOMNodeListPtr prefValNodes = element->getElementsByTagName(strTag.GetBuffer(0));
if (prefValNodes)
{
IXMLDOMNodePtr prefValNode = prefValNodes->Getitem(0); // should be only one
if (prefValNode)
{
if (prefValNode->childNodes->Getlength() > 0)
value = prefValNode->childNodes->Getitem(0)->GetnodeValue(); // get the text node child, which contains the text we want.
}
}
return (char*)_bstr_t(value);
}
// XML DOM helper. Returns the value of the specified attribute.
CString GetAttribute(IXMLDOMElementPtr element, CString strAttributeName)
{
_variant_t attribValue = element->getAttribute(strAttributeName.GetBuffer(0));
if (attribValue.vt == VT_NULL)
return "";
else
return (char*)_bstr_t(attribValue);
}
// This processes a prefs tree XML file, adding preferences to install files
// as specified in the prefs tree XML file. See PrefsTree.html for file
// format details.
//
// This function can easily be rewriten to parse the XML file by hand if it
// needs to be ported to a non-MS OS. The XML is pretty simple.
BOOL ProcessPrefsTree(CString strPrefsTreeFile)
{
// Create XML DOM instance.
IXMLDOMDocumentPtr prefXMLTree;
HRESULT hr = prefXMLTree.CreateInstance(__uuidof(DOMDocument));
if (FAILED(hr))
{
AfxMessageBox("Error creating MS XML DOM.", MB_OK);
return FALSE;
}
// Load the prefs metadata. This is a representation of the prefs tree as
// it should appear in the tree control.
if (prefXMLTree)
{
CString strPrefsFileURL;
strPrefsFileURL.Format("FILE://%s", strPrefsTreeFile);
if (!prefXMLTree->load(strPrefsFileURL.GetBuffer(0)))
{
CString strError;
strError.Format("Error loading preferences metadata %s.", strPrefsFileURL);
AfxMessageBox(strError, MB_OK);
prefXMLTree = NULL;
return FALSE;
}
if (prefXMLTree->parseError->errorCode != 0)
{
CString strError;
strError.Format("Bad XML in %s.", strPrefsFileURL);
AfxMessageBox(strError, MB_OK);
prefXMLTree = NULL;
return FALSE;
}
}
// Go through the list of prefs in the xml and write to prefs file for each one.
IXMLDOMNodeListPtr prefsList = prefXMLTree->getElementsByTagName("PREF");
for(int i = 0; i < prefsList->length; i++)
{
IXMLDOMElementPtr element = prefsList->Getitem(i);
CString strPrefName = GetAttribute(element, "prefname");
CString strPrefType = GetAttribute(element, "type");
CString strPrefValue = GetElementValue(element, "VALUE");
CString strLocked = GetElementValue(element, "LOCKED");
CString strInstallFile = GetElementValue(element, "INSTALLATIONFILE");
CString strPrefFile = GetElementValue(element, "PREFFILE");
if (strPrefName.IsEmpty() ||
strPrefType.IsEmpty() ||
strInstallFile.IsEmpty() ||
strPrefFile.IsEmpty() )
continue;
ExtractXPIFile(strInstallFile, strPrefFile);
BOOL bLocked = (strLocked == "true");
// Should go into a hashed file if prefs file is .cfg.
if (strPrefFile.Find(".cfg") > 0)
{
// hashed
ModifyHashedPref(strPrefFile, strPrefName, strPrefValue, strPrefType, bLocked);
}
else
{
// not hashed
if ((strPrefType == "int") || (strPrefType == "bool") || (strPrefType == "choose"))
ModifyJS2(strPrefFile, strPrefName, strPrefValue, bLocked);
else // string
ModifyJS(strPrefFile, strPrefName, strPrefValue, bLocked);
}
}
return TRUE;
}
int interpret(char *cmd)
@@ -992,7 +870,7 @@ int interpret(char *cmd)
ModifyHashedPref(xpifile,entity,newvalue, "string", bLockPref);
else if (strcmp(cmdname, "modifyHashedPrefInt") == 0)
ModifyHashedPref(xpifile,entity,newvalue, "int", bLockPref);
else if (strcmp(cmdname, "modifyHashedPrefBool") == 0)
else if (strcmp(cmdname, "modifyHashedPrefInt") == 0)
ModifyHashedPref(xpifile,entity,newvalue, "bool", bLockPref);
else if (strcmp(cmdname, "modifyJS") == 0)
ModifyJS(xpifile,entity,newvalue, bLockPref);
@@ -1015,13 +893,6 @@ int interpret(char *cmd)
else if (strcmp(cmdname, "wrapXPI") == 0)
{
}
else if (strcmp(cmdname, "processPrefsTree") == 0)
{
char *prefsTreeFile = strtok(NULL, ",)");
CString fileWithPath = configPath + "\\" + prefsTreeFile;
ProcessPrefsTree(fileWithPath);
}
else
return FALSE;//*** We have to handle this condition better.
@@ -1095,13 +966,17 @@ void invisible()
WritePrivateProfileString(Components[i].compname, "Attributes",
"UNSELECTED|ADDITIONAL|FORCE_UPGRADE", iniDstPath);
else if (!(Components[i].disabled) && !(Components[i].additional) &&
!(Components[i].invisible))
Components[i].forceupgrade && !(Components[i].invisible))
WritePrivateProfileString(Components[i].compname, "Attributes",
"SELECTED|FORCE_UPGRADE", iniDstPath);
else if (Components[i].additional && Components[i].launchapp &&
Components[i].uncompress && !(Components[i].invisible))
WritePrivateProfileString(Components[i].compname, "Attributes",
"SELECTED|UNCOMPRESS|LAUNCHAPP|ADDITIONAL", iniDstPath);
else if (!(Components[i].additional) &&
!(Components[i].forceupgrade) && !(Components[i].invisible))
WritePrivateProfileString(Components[i].compname, "Attributes",
"SELECTED|INVISIBLE", iniDstPath);
componentOrder++;
}
else
@@ -1364,28 +1239,6 @@ CString GetBrowser(void)
return retflag;
}
extern "C" __declspec(dllexport)
void EraseDirectory(CString sPath)
{
CFileFind finder;
CString sFullPath = sPath + "\\*.*";
BOOL bWorking = finder.FindFile(sFullPath);
while (bWorking)
{
bWorking = finder.FindNextFile();
if (finder.IsDots()) continue;
if (finder.IsDirectory())
{
CString dirPath = finder.GetFilePath();
EraseDirectory(dirPath);
_rmdir(finder.GetFilePath());
continue;
}
_unlink( finder.GetFilePath() );
}
}
void CopyDirectory(CString source, CString dest, BOOL subdir)
// Copy files in subdirectories if the subdir flag is set (equal to 1).
{
@@ -1515,15 +1368,60 @@ void DiskSpaceAlert(ULONGLONG required, ULONGLONG available)
AfxMessageBox("Not enough disk space. Required: "+requiredSpace+" bytes. Available: "+availableSpace+" bytes.", MB_OK);
}
extern "C" __declspec(dllexport)
int StartIB(CString parms, WIDGET *curWidget)
BOOL FillGlobalWidgetArray(CString file)
{
char buffer[MAX_SIZE] = {'\0'};
CString name = "";
CString value = "";
FILE *globs = fopen(file, "r");
if (!globs)
return FALSE;
while(!feof(globs))
{
while(fgets(buffer, MAX_SIZE, globs))
{
if (strstr(buffer, "="))
{
name = CString(strtok(buffer,"="));
value = CString(strtok(NULL,"="));
value.TrimRight();
if (value.Find("%") >= 0) {
//We should never enter this condition via wizardmachine.exe
AfxMessageBox("The current .che file called: "+file+" contains some unfilled parameters."
"These parameters will appear between two percent (%) signs such as %Root%"
"Please replace these parameters with their appropriate values and restart"
"the program", MB_OK);
// value=theInterpreter->replaceVars((char *) (LPCSTR) value,NULL);
}
WIDGET* w = SetGlobal(name, value);
if (w)
w->cached = TRUE;
}
}
}
fclose(globs);
return TRUE;
}
int StartIB(/*CString parms, WIDGET *curWidget*/)
{
char *fgetsrv;
int rv = TRUE;
char olddir[1024];
componentOrder =0;
rootPath = GetGlobal("Root");
configName = GetGlobal("CustomizationList");
rootPath = GetModulePath();
SetGlobal("Root", rootPath);
configName = GetGlobal("_NewConfigName");
SetGlobal("CustomizationList", configName);
configPath = rootPath + "Configs\\" + configName;
outputPath = configPath + "\\Output";
cdPath = configPath + "\\Output\\Core";
@@ -1553,14 +1451,11 @@ int StartIB(CString parms, WIDGET *curWidget)
if (linuxOption == "Linux")
{
nscpxpiPath = nscpxpilinuxPath + nsinstPath;
char currentdir[_MAX_PATH];
_getcwd(currentdir,_MAX_PATH);
_mkdir(tempPath);
_chdir(tempPath);
_mkdir(templinuxDir);
_chdir(templinuxDir);
_mkdir(nsinstallerDir);
_chdir(nsinstallerDir);
CString tPath = nscpxpiPath;
tPath.Replace(xpiDir,"");
@@ -1575,10 +1470,12 @@ int StartIB(CString parms, WIDGET *curWidget)
templinuxPath+"\\xpi\\recommended.start", FALSE);
CopyFile(nscpxpiPath+"\\recommended.end",
templinuxPath+"\\xpi\\recommended.end", FALSE);
_chdir(currentdir);
}
iniSrcPath = nscpxpiPath + "\\config.ini";
//Check for disk space before continuing
ULARGE_INTEGER nTotalBytes, nTotalFreeBytes, nTotalAvailable;
@@ -1700,16 +1597,6 @@ int StartIB(CString parms, WIDGET *curWidget)
iniDstPath = outputPath + "\\config.ini";
xpiDstPath = outputPath;
}
CNewDialog newprog;
newprog.Create(IDD_NEW_DIALOG,NULL );
newprog.ShowWindow(SW_SHOW);
/////////////////////////////
CWnd * dlg;
CRect tmpRect = CRect(7,7,173,13);
dlg = newprog.GetDlgItem(IDC_BASE_TEXT);
CWnd* pwnd = newprog.GetDlgItem(IDD_NEW_DIALOG);
dlg->SetWindowText(" Customization is in Progress");
/////////////////////////////
_mkdir((char *)(LPCTSTR) tempPath);
_mkdir((char *)(LPCTSTR) workspacePath);
@@ -1757,16 +1644,13 @@ int StartIB(CString parms, WIDGET *curWidget)
fclose(f);
}
dlg->SetWindowText(" Customization is in Progress \n |||||||||");
// Put all the extracted files back into their new XPI homes
ReplaceJARFiles();
dlg->SetWindowText(" Customization is in Progress \n ||||||||||||||");
ReplaceXPIFiles();
dlg->SetWindowText(" Customization is in Progress \n ||||||||||||||||||");
// Copy remaining default installer files into config
// preserving any existing files that we created already
@@ -1835,30 +1719,23 @@ int StartIB(CString parms, WIDGET *curWidget)
}
// Didn't work...
dlg->SetWindowText(" Customization is in Progress \n |||||||||||||||||||||||||||");
if (linuxOption == "Linux")
{
LinuxInvisible();
dlg->SetWindowText(" Customization is in Progress \n ||||||||||||||||||||||||||||||||||||");
AddThirdParty();
dlg->SetWindowText(" Customization is in Progress \n |||||||||||||||||||||||||||||||||||||||||||||");
CreateLinuxInstaller();
dlg->SetWindowText(" Customization is in Progress \n ||||||||||||||||||||||||||||||||||||||||||||||||||||||");
}
else
{
invisible();
dlg->SetWindowText(" Customization is in Progress \n ||||||||||||||||||||||||||||||||||||");
AddThirdParty();
dlg->SetWindowText(" Customization is in Progress \n |||||||||||||||||||||||||||||||||||||||||||||");
ReplaceINIFile();
dlg->SetWindowText(" Customization is in Progress \n ||||||||||||||||||||||||||||||||||||||||||||||||||||||");
}
SetCurrentDirectory(olddir);
CString TargetDir = GetGlobal("Root");
@@ -1866,8 +1743,6 @@ int StartIB(CString parms, WIDGET *curWidget)
CString MozBrowser = GetBrowser();
// CreateShortcut(MozBrowser, TargetFile, "HelpLink", TargetDir, FALSE);
dlg->SetWindowText(" Customization is in Progress \n |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||");
newprog.DestroyWindow();
EraseDirectory(tempPath);
_chdir(configPath);
_rmdir("Temp");

View File

@@ -1,3 +1,5 @@
#define MID_SIZE 512
typedef struct s_xpi {
CString xpiname;
CString filename;
@@ -7,6 +9,8 @@ typedef struct s_jar {
CString filename;
} JAR;
int StartIB(void);
BOOL FillGlobalWidgetArray(CString);
void CreateRshell(void);
void CreateHelpMenu(void);
void CreateBuddyList(void);

View File

@@ -35,9 +35,9 @@ OBJS= \
.\$(OBJDIR)\NewDialog.obj \
.\$(OBJDIR)\wizshell.obj \
.\$(OBJDIR)\ib.obj \
.\$(OBJDIR)\comp.obj \
.\$(OBJDIR)\Helpmenu.obj \
.\$(OBJDIR)\buddylist.obj \
.\$(OBJDIR)\engine.obj \
$(NULL)
# -I$(DEPTH)\xpinstall\wizard\windows\setup \
@@ -47,9 +47,13 @@ LINCS= $(LINCS) \
-I$(DIST)\$(OBJDIR)\include \
$(NULL)
MAKE_OBJ_TYPE = DLL
DLLNAME = ibengine
DLL=.\$(OBJDIR)\$(DLLNAME).dll
MAKE_OBJ_TYPE = EXE
EXENAME = ibengine
MAPFILE = ib.map
RESFILE = ib.res
PDBFILE = $(EXENAME)
PROGRAM=.\$(OBJDIR)\$(EXENAME).exe
CFLAGS = \
-W3 \
@@ -80,15 +84,17 @@ include <$(DEPTH)\config\rules.mak>
include <$(DEPTH)\cck\InitDist.win>
libs:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(CCKDIST)\CCKTool
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib ..\lib
libs:: $(PROGRAM)
$(MAKE_INSTALL) $(PROGRAM) $(CCKDIST)\CCKTool
$(MAKE_INSTALL) .\$(OBJDIR)\$(EXENAME).lib ..\lib
export::
$(MAKE_INSTALL) script.ib $(CCKDIST)\CCKTool
$(MAKE_INSTALL) help1.txt $(CCKDIST)\CCKTool
$(MAKE_INSTALL) help2.txt $(CCKDIST)\CCKTool
$(PROGRAM):: $(OBJDIR) $(OBJS) $(RESFILE)
#clobber::
# rm -f $(DIST)\bin\$(DLLNAME).dll
# rm -f $(DIST)\lib\$(DLLNAME).lib

View File

@@ -72,7 +72,16 @@ BOOL Config(CString globalsName, CString DialogTitle, WIDGET* curWidget)
SetGlobal(globalsName, configField);
SetGlobal(targetWid, configField);
// Making custom config point to files in its own workspace
SetGlobal("LargeAnimPath", newDir + "\\Workspace\\AnimLogo\\animlogo32.gif");
SetGlobal("LargeStillPath", newDir + "\\Workspace\\AnimLogo\\staticlogo32.gif");
SetGlobal("ReadMeFile", newDir + "\\Workspace\\readme.txt");
SetGlobal("SidebarPath", newDir + "\\Workspace\\Sidebar\\panels.rdf");
SetGlobal("CustomBookmarkFile", newDir + "\\Workspace\\Bkmarks\\bookmarks.html");
SetGlobal("ShellBgBitmap", newDir + "\\Workspace\\Autorun\\Shell\\bmps\\install.bmp");
SetGlobal("ShellInstallTextFile", newDir + "\\Workspace\\Autorun\\install.txt");
IsSameCache = FALSE;
return TRUE;

View File

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

View File

@@ -1,118 +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
ifdef CROSS_COMPILE
HOST_PROGRAM = nsinstall$(BIN_SUFFIX)
else
PROGRAM = nsinstall$(BIN_SUFFIX)
endif
PLSRCS = nfspwd.pl revdepth.pl
ifdef CROSS_COMPILE
HOST_CSRCS = nsinstall.c pathsub.c
else
CSRCS = nsinstall.c pathsub.c
endif
TARGETS = $(HOST_PROGRAM) $(PROGRAM) $(PLSRCS:.pl=)
# Generate the build number on the fly.
TARGETS += build_number nsBuildID.h
ifdef USE_ELF_DYNSTR_GC
TARGETS += elf-dynstr-gc
endif
# IMPORTANT: Disable NSBUILDROOT for this directory only, otherwise we have
# a recursive rule for finding nsinstall and the Perl scripts.
ifdef NSBUILDROOT
override NSBUILDROOT :=
endif
ifdef GNU_CC
MODULE_OPTIMIZE_FLAGS = -O3
endif
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk
ifeq ($(OS_ARCH), Linux)
DEFINES += -D_BSD_SOURCE
endif
ifeq ($(MOZ_OS2_TOOLS),VACPP)
LOCAL_INCLUDES += -I$(srcdir)/os2
HSRCS += dirent.h
endif
ifeq ($(OS_CONFIG),SunOS4.1)
NSPR_CFLAGS += -I$(srcdir)/../nsprpub/pr/include/md
endif
HEADERS = nsBuildID.h
ifeq ($(MOZ_OS2_TOOLS),VACPP)
HEADERS += $(srcdir)/os2/dirent.h
endif
export:: $(TARGETS) $(HEADERS)
$(INSTALL) -m 444 $(HEADERS) $(DIST)/include
$(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/build-list.pl $(PUBLIC)/.headerlist $(HEADERS)
-rm -f $(FINAL_LINK_COMPS) $(FINAL_LINK_LIBS) $(FINAL_LINK_COMP_NAMES)
-rm -f $(DIST)/bin/chrome/chromelist.txt
GARBAGE += build_number nsBuildID.h
ifneq ($(origin BUILD_OFFICIAL)_$(origin MOZILLA_OFFICIAL),undefined_undefined)
_BN_OFFICIAL=1
else
_BN_OFFICIAL=
endif
build_number: FORCE
$(PERL) -I$(srcdir) $(srcdir)/bdate.pl $@ $(_BN_OFFICIAL)
nsBuildID.h: nsBuildID.h.in build_number
$(RM) $@
$(PERL) -I$(srcdir) $(srcdir)/aboutime.pl $@ build_number $<
elf-dynstr-gc: elf-dynstr-gc.c Makefile Makefile.in
$(CC) $(COMPILE_CFLAGS) $(GLIB_CFLAGS) $(GLIB_LIBS) $(LDFLAGS) -o $@ $<
ifdef USE_ELF_DYNSTR_GC
export:: elf-dynstr-gc
$(INSTALL) -m 555 elf-dynstr-gc $(DIST)/bin
endif
FORCE:
ifdef MKDEPEND_DIR
clean clobber realclean clobber_all::
cd $(MKDEPEND_DIR); $(MAKE) $@
endif

View File

@@ -1,71 +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):
#
#
# Even though we use AUTOCONF, there are just too many things that need
# fixing up to do it any other way than via an architecture specific file.
#
# If we're not using NSBUILDROOT, then make sure we use multiple object
# directories. We want this name to be relatively short, and to be different
# from what NSPR uses (so that we can wipe out Mozilla objects without
# wiping NSPR objects.
# We don't want -KPIC as it forces the compiler to generate a .i file.
DSO_PIC_CFLAGS =
# We don't want the standard set of UNIX libraries.
OS_LIBS =
# Define VMS
OS_CFLAGS += -DVMS -DVMS_AS_IS -Wc,names=\(short,as\)
OS_CXXFLAGS += -DVMS -DVMS_AS_IS -Wc,names=\(short,as\)
# If we are building POSIX images, then these HOST symbols get used.
# We don't want to compile any POSIX image debug, so always remove -g.
# xpild accvio's if built with -O, so don't.
HOST_CC = c89
HOST_CXX = cxx
ifeq ($(PROGRAM),xpidl)
HOST_CFLAGS = $(filter-out -g -O,$(OS_CFLAGS)) -DGETCWD_CANT_MALLOC
else
HOST_CFLAGS = $(filter-out -g -O,$(OS_CFLAGS)) -DGETCWD_CANT_MALLOC -O
endif
HOST_CXXFLAGS = $(filter-out -g -O,$(OS_CXXFLAGS)) -O
# In addition, we want to lose the OS_FLAGS for POSIX builds.
ifdef INTERNAL_TOOLS
OS_LDFLAGS =
endif
# Although IS_COMPONENT is set in the Makefile, for xpconnect it is not set
# until AFTER config.mk (and therefore this file) included, hence it appears
# as unset. So for this module only, set IS_COMPONENT here.
ifeq ($(MODULE),xpconnect)
IS_COMPONENT = 1
endif
# This is where our Sharable Image trickery goes.
AS = vmsas $(OS_CFLAGS)
ifdef IS_COMPONENT
OS_LDFLAGS += IS_COMPONENT SRCDIR=$(srcdir)
endif
LD = vmsld $(OS_LDFLAGS)
DSO_LDOPTS =
MKSHLIB = $(LD)

Binary file not shown.

Binary file not shown.

View File

@@ -1,99 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <process.h>
/*
* A feeble attempt at recursive make on win95 - spider 1/98
*
* argv[1] == target
* argv[2] == end directory (full)
* argv[3...n] == list of source directories
*
*/
void main(int argc, char **argv)
{
char *args[7];
int n = 0 ;
int rc = 0 ;
/* Set up parameters to be sent: Sorry for the hardcode!*/
args[0] = "-nologo";
args[1] = "-nologo";
args[2] = "-S";
args[3] = "-f";
args[4] = "makefile.win";
args[5] = argv[1] ;
args[6] = NULL ;
if (argc < 3) {
fprintf(stderr, "w95make: Not enough arguments, you figure it out\n");
exit (666) ;
}
while(argv[n+3] != NULL) {
if (_chdir(argv[n+3]) != 0) {
fprintf(stderr, "w95make: Could not change to directory %s ... skipping\n", argv[n+3]);
} else {
fprintf(stdout, "w95make: Entering Directory %s\\%s with target %s\n", argv[2], argv[n+3], argv[1]);
if ((rc = _spawnvp(_P_WAIT,"nmake", args)) != 0) {
fprintf(stderr, "w95make: nmake failed in directory %s with error code %d\n", argv[n+3], rc);
exit(rc);
}
if (_chdir(argv[2]) != 0) {
fprintf(stderr, "w95make: Could not change back to directory %s\n", argv[2]);
exit (666) ;
}
fprintf(stdout, "w95make: Leaving Directory %s\\%s with target %s\n", argv[2], argv[n+3], argv[1]);
}
n++;
}
exit(0);
}

View File

@@ -1,58 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <process.h>
/*
* win95 mkdir that responds nicely if the directory already exists - spider 1/98
*
*/
void main(int argc, char **argv)
{
if (argc < 1) {
fprintf(stderr, "w95mkdir: Not enough arguments, you figure it out\n");
exit (666) ;
}
_mkdir(argv[1]);
}

View File

@@ -1,117 +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):
#//------------------------------------------------------------------------
#//
#// Win16 Configuration file
#//
#//------------------------------------------------------------------------
#//------------------------------------------------------------------------
#//
#// Define the OS dependent commands used by MAKE
#//
#//------------------------------------------------------------------------
CC=cl
LD=$(MOZ_TOOLS)\bin\optlinks.exe
AR=$(DEPTH)\CONFIG\TLIB.EXE /P64 /C
#AR=lib /NOLOGO /BATCH /NOIGNORECASE
RC=rc
#RM=del /F /Q
#RM_R=del /F /S /Q
RM=rm -f
RM_R=rm -fr
CP=cp
AWK=$(MOZ_TOOLS)\bin\gawk.exe
RANLIB=$(DEPTH)\config\true.bat
!ifndef MOZ_DEBUG
JAVAH_PROG=$(DEPTH)\dist\$(DIST_PREFIX)32_o.obj\bin\javah.exe
!else
JAVAH_PROG=$(DEPTH)\dist\$(DIST_PREFIX)32_d.obj\bin\javah.exe
!endif
#//------------------------------------------------------------------------
#//
#// Define Debug and optimization flags
#//
#//------------------------------------------------------------------------
!ifndef MOZ_DEBUG
!ifndef OPTIMIZER
OPTIMIZER=-Ox -Os -DDEVELOPER_DEBUG
!endif
OS_LFLAGS=
!else
!if defined(MOZ_FULL_DEBUG_INFO) || ("$(MAKE_OBJ_TYPE)" == "DLL")
OPTIMIZER=-Z7
!else if defined(MOZ_DEBUG_FLAG)
OPTIMIZER=$(MOZ_DEBUG_FLAG)
!else
OPTIMIZER=-Zd
!endif
OPTIMIZER=$(OPTIMIZER) -Od -DDEBUG -UNDEBUG
OS_LFLAGS=/CO
!endif
!if defined (MOZ_LITE)
OPTIMIZER=$(OPTIMIZER) -DMOZ_LITE
!endif
#//------------------------------------------------------------------------
#//
#// Specify the OS dependent compiler flags, linker flags and libraries
#//
#//------------------------------------------------------------------------
!ifdef 286_INSTRUCTIONS
INSTRUCTIONS=-G2
!else
INSTRUCTIONS=-G3
!endif
OS_CFLAGS=$(INSTRUCTIONS) -AL -Gx- -Gf -Gd -Gs -W3 -nologo \
!ifdef MOZ_JAVA
-DSEG_ARRAY \
!endif
-D_X86_ -D_WINDOWS -DXP_PC -DSW_THREADS
OS_LFLAGS=$(OS_LFLAGS) /NOE /NOD /NOI /XNOI \
/ALIGN:16 /BYORDINAL /FARCALL \
/PACKC:61440 /PACKD /REORDERSEGMENTS \
/DETAILEDMAP /XREF /ONERROR:NOEXE /NOLOGO /WARNDUPS
OS_LIBS=LIBW.LIB TOOLHELP.LIB
#//------------------------------------------------------------------------
#//
#// Specify the special flags for creating EXEs
#//
#//------------------------------------------------------------------------
EXE_CFLAGS=/GA /Gt3
EXE_LFLAGS=/STACK:20000
EXE_LIBS=OLDNAMES.LIB LLIBCEW.LIB
#//------------------------------------------------------------------------
#//
#// Specify the special flags for creating DLLs
#//
#//------------------------------------------------------------------------
!ifndef DLL_CFLAGS
DLL_CFLAGS=/GD /D "_WINDLL"
!endif
DLL_LFLAGS=
DLL_LIBS=OLDNAMES.LIB LDLLCEW.LIB

View File

@@ -1,189 +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):
#//------------------------------------------------------------------------
#//
#// Win32 Configuration file
#//
#//------------------------------------------------------------------------
#//------------------------------------------------------------------------
#//
#// Define the OS dependent commands used by MAKE
#//
#//------------------------------------------------------------------------
CC=cl
LD=link
AR=lib
RC=rc
#RM=del /F /Q
#RM_R=del /F /S /Q
RM=rm -f
RM_R=rm -fr
CP=cp
AWK=$(MOZ_TOOLS)\bin\gawk.exe
RANLIB=$(DEPTH)\config\true.bat
JAVAH=$(DIST)\bin\javah.exe
JAVA=$(MOZ_TOOLS)\bin\java.exe
!ifndef JAVAH_IN_JAVA
JAVAH_PROG = $(DIST)\bin\javah.exe
!else
JAVAH_PROG = $(JAVA) netscape.tools.jric.Main
!endif
#//------------------------------------------------------------------------
#//
#// Define Debug and optimization flags
#//
#//------------------------------------------------------------------------
!ifdef MOZ_DEBUG
#
# Uncomment for MSVC debug malloc logging...
#
#OPTIMIZER=-Zi -DDEBUG -UNDEBUG -D_DEBUG -D_CRTDBG_MAP_ALLOC
OPTIMIZER=-Zi -DDEBUG -UNDEBUG -D_DEBUG
!if defined(GLOWCODE) && "$(MOZ_BITS)"=="32"
OS_LFLAGS=/DEBUG /DEBUGTYPE:BOTH /INCLUDE:_GlowCode /PDB:NONE
!else
OS_LFLAGS=/DEBUG /DEBUGTYPE:CV /PDB:$(PDBFILE)
!endif
!else
# Initialize to non-profile, non-coverage optimization
OPTIMIZER=-O1 -UDEBUG -DNDEBUG
OS_LFLAGS=/OPT:nowin98
# if MOZ_DEBUG is not set and MOZ_PROFILE is set, then we generate
# an optimized build with debugging symbols. Useful for debugging
# compiler optimization bugs, as well as running with Quantify.
!if defined (MOZ_PROFILE)
OS_LFLAGS=/DEBUG /DEBUGTYPE:CV /PDB:NONE /OPT:REF /OPT:nowin98
OPTIMIZER=-Zi -O1 -UDEBUG -DNDEBUG
!endif
# MOZ_PROFILE
# if MOZ_COVERAGE is set, we handle pdb files slightly differently
!if defined(MOZ_COVERAGE)
OS_LFLAGS=/DEBUG /DEBUGTYPE:CV /PDB:$(PDBFILE) /OPT:REF /OPT:nowin98
OPTIMIZER=-Zi -O1 -UDEBUG -DNDEBUG
!endif
# MOZ_COVERAGE
!endif
# MOZ_DEBUG
#//------------------------------------------------------------------------
#//
#// Select the correct RTL to link...
#//
#// Currently, unless USE_STATIC_LIBS is defined, the multithreaded
#// DLL version of the RTL is used...
#//
#//------------------------------------------------------------------------
!ifdef USE_STATIC_LIBS
RTL_FLAGS=-MT # Statically linked multithreaded RTL
!ifdef MOZ_DEBUG
RTL_FLAGS=-MTd # Statically linked multithreaded MSVC4.0 debug RTL
!endif
!else ifdef USE_NON_MT_LIBS
RTL_FLAGS=-ML # Statically linked non-multithreaded LIBC RTL
!ifdef MOZ_DEBUG
RTL_FLAGS=-MLd # Statically linked non-multithreaded LIBC debug RTL
!endif
!else
RTL_FLAGS=-MD # Dynamically linked, multithreaded RTL
!ifdef MOZ_DEBUG
!ifndef MOZ_NO_DEBUG_RTL
RTL_FLAGS=-MDd # Dynamically linked, multithreaded MSVC4.0 debug RTL
!endif
!endif
!endif
#//------------------------------------------------------------------------
#//
#// Specify the OS dependent compiler flags, linker flags and libraries
#//
#//------------------------------------------------------------------------
OS_CFLAGS=$(OPTIMIZER) $(RTL_FLAGS) -W3 -nologo -D_X86_ -D_WINDOWS -DWIN32 \
-DXP_PC -DXP_WIN -DXP_WIN32 -DHW_THREADS -DWINVER=0x400 -Gy
OS_CFLAGS=$(OS_CFLAGS) -DMSVC4
!ifdef MOZ_DEBUG
# Enable browse info in VC++
!ifdef MOZ_BROWSE_INFO
OS_CFLAGS=$(OS_CFLAGS) /FR
!endif
!endif
## Removed MOZ_LITE/MOZ_MEDIUM stuff from OS_CFLAGS
OS_LFLAGS=$(OS_LFLAGS)
OS_LIBS=kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib
#//------------------------------------------------------------------------
#//
#// Specify the special flags for creating EXEs
#//
#//------------------------------------------------------------------------
!if defined(SWAPTUNER) || (defined(GLOWCODE) && defined(GLOWPROF) && "$(MOZ_BITS)"=="32")
# this seems to get lost
EXE_CFLAGS=/Gh
!else
EXE_CFLAGS=/Gy
!endif
!if defined(MOZ_PROFILE)
EXE_LFLAGS=/FIXED:NO
!else
EXE_LFLAGS=
!endif
EXE_LIBS=
!if defined(MOZ_COVERAGE) && !defined(MOZ_NO_COVERAGE)
EXE_LIBS=$(EXE_LIBS) $(DIST)/lib/trace.lib
!endif
#//------------------------------------------------------------------------
#//
#// Specify the special flags for creating DLLs
#//
#//------------------------------------------------------------------------
DLL_CFLAGS=
DLL_LFLAGS=/SUBSYSTEM:WINDOWS
DLL_LIBS=
!if defined(MOZ_COVERAGE) && !defined(MOZ_NO_COVERAGE)
DLL_LIBS=$(DLL_LIBS) $(DIST)/lib/trace.lib
!endif
#//------------------------------------------------------------------------
#//
#// rebase setting, msvc systems better have this
#//
#//------------------------------------------------------------------------
REBASE=rebase.exe

View File

@@ -1,12 +0,0 @@
use strict;
use mozBDate;
my $outfile = $ARGV[0];
my $build_num_file = $ARGV[1];
my $infile = "";
$infile = $ARGV[2] if ("$ARGV[2]" ne "");
&mozBDate::SubstituteBuildNumber($outfile, $build_num_file, $infile);

View File

@@ -1,89 +0,0 @@
#!/perl
use File::Path;
use Getopt::Std;
use IO::File;
use mozLock;
getopts("l");
my $installedChromeFile = $ARGV[0];
my $disableJarPackaging = $ARGV[1];
my $chromeType = $ARGV[2];
my $pkgName = $ARGV[3];
my $jarFileName = $ARGV[4];
#print "add-chrome $installedChromeFile $disableJarPackaging $chromeType $pkgName $jarFileName\n";
my $nofilelocks = 0;
if (defined($::opt_l)) {
$nofilelocks = 1;
}
if ($jarFileName =~ /(.*)\.jar/) {
$jarFileName = $1;
}
my $line;
if ($disableJarPackaging) {
$line = "$chromeType,install,url,resource:/chrome/$jarFileName/$chromeType/$pkgName/";
}
else {
$line = "$chromeType,install,url,jar:resource:/chrome/$jarFileName.jar!/$chromeType/$pkgName/";
}
my $lockfile = "$installedChromeFile.lck";
my $err;
mozLock($lockfile) if (!$nofilelocks);
$err = 0;
if (open(FILE, "<$installedChromeFile")) {
while (<FILE>) {
chomp;
if ($_ =~ $line) {
# line already appears in installed-chrome.txt file
# just update the mod date
close(FILE) or $err = 1;
if ($err) {
mozUnlock($lockfile) if (!$nofilelocks);
die "error: can't close $installedChromeFile: $!";
}
my $now = time;
utime($now, $now, $installedChromeFile) or $err = 1;
mozUnlock($lockfile) if (!$nofilelocks);
if ($err) {
die "couldn't touch $installedChromeFile";
}
print "+++ updating chrome $installedChromeFile\n+++\t$line\n";
exit;
}
}
close(FILE) or $err = 1;
if ($err) {
mozUnlock($lockfile) if (!$nofilelocks);
die "error: can't close $installedChromeFile: $!";
}
}
mozUnlock($lockfile) if (!$nofilelocks);
my $dir = $installedChromeFile;
if ("$dir" =~ /([\w\d.\-\\\/]+)[\\\/]([\w\d.\-]+)/) {
$dir = $1;
}
mkpath($dir, 0, 0755);
mozLock($lockfile) if (!$nofilelocks);
$err = 0;
open(FILE, ">>$installedChromeFile") or $err = 1;
if ($err) {
mozUnlock($lockfile) if (!$nofilelocks);
die "can't open $installedChromeFile: $!";
}
print FILE "$line\n";
close(FILE) or $err = 1;
mozUnlock($lockfile) if (!$nofilelocks);
if ($err) {
die "error: can't close $installedChromeFile: $!";
}
print "+++ adding chrome $installedChromeFile\n+++\t$line\n";

View File

@@ -1,344 +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 this file as it was released upon August 6, 1998.
#
# The Initial Developer of the Original Code is Christopher
# Seawood. Portions created by Christopher Seawood are
# Copyright (C) 1998 Christopher Seawood. All
# Rights Reserved.
#
# Contributor(s):
# A netscape style .mk file for autoconf builds
INCLUDED_AUTOCONF_MK = 1
USE_AUTOCONF = 1
MOZILLA_CLIENT = 1
NO_MDUPDATE = 1
BUILD_MODULES = @BUILD_MODULES@
DIST = $(DEPTH)/dist
MOZ_CHROME_FILE_FORMAT = @MOZ_CHROME_FILE_FORMAT@
MOZ_WIDGET_TOOLKIT = @MOZ_WIDGET_TOOLKIT@
MOZ_GFX_TOOLKIT = $(MOZ_WIDGET_TOOLKIT)
MOZ_JS_LIBS = @MOZ_JS_LIBS@
MOZ_GFX_TOOLKIT_LDFLAGS = @MOZ_GFX_TOOLKIT_LDFLAGS@
MOZ_WIDGET_TOOLKIT_LDFLAGS = @MOZ_WIDGET_TOOLKIT_LDFLAGS@
MOZ_DEBUG = @MOZ_DEBUG@
MOZ_DEBUG_MODULES = @MOZ_DEBUG_MODULES@
MOZ_PROFILE_MODULES = @MOZ_PROFILE_MODULES@
MOZ_DEBUG_ENABLE_DEFS = @MOZ_DEBUG_ENABLE_DEFS@
MOZ_DEBUG_DISABLE_DEFS = @MOZ_DEBUG_DISABLE_DEFS@
MOZ_DEBUG_FLAGS = @MOZ_DEBUG_FLAGS@
MOZ_DBGRINFO_MODULES = @MOZ_DBGRINFO_MODULES@
MOZ_EXTENSIONS = @MOZ_EXTENSIONS@
MOZ_JSDEBUGGER = @MOZ_JSDEBUGGER@
MOZ_PERF_METRICS = @MOZ_PERF_METRICS@
MOZ_LEAKY = @MOZ_LEAKY@
MOZ_JPROF = @MOZ_JPROF@
MOZ_XPCTOOLS = @MOZ_XPCTOOLS@
ENABLE_EAZEL_PROFILER=@ENABLE_EAZEL_PROFILER@
EAZEL_PROFILER_CFLAGS=@EAZEL_PROFILER_CFLAGS@
EAZEL_PROFILER_LIBS=@EAZEL_PROFILER_LIBS@
GC_LEAK_DETECTOR = @GC_LEAK_DETECTOR@
NS_TRACE_MALLOC = @NS_TRACE_MALLOC@
USE_ELF_DYNSTR_GC = @USE_ELF_DYNSTR_GC@
MOZ_MAIL_NEWS = @MOZ_MAIL_NEWS@
MOZ_CALENDAR = @MOZ_CALENDAR@
MOZ_PLAINTEXT_EDITOR_ONLY = @MOZ_PLAINTEXT_EDITOR_ONLY@
BUILD_SHARED_LIBS = @BUILD_SHARED_LIBS@
BUILD_STATIC_LIBS = @BUILD_STATIC_LIBS@
MOZ_STATIC_COMPONENTS = @MOZ_STATIC_COMPONENTS@
MOZ_META_COMPONENTS = @MOZ_META_COMPONENTS@
MOZ_STATIC_COMPONENT_LIBS = @MOZ_STATIC_COMPONENT_LIBS@
ENABLE_TESTS = @ENABLE_TESTS@
IBMBIDI = @IBMBIDI@
SUNCTL = @SUNCTL@
ACCESSIBILITY = @ACCESSIBILITY@
MOZ_LDAP_XPCOM = @MOZ_LDAP_XPCOM@
MOZ_LDAP_XPCOM_EXPERIMENTAL = @MOZ_LDAP_XPCOM_EXPERIMENTAL@
XPCOM_USE_LEA = @XPCOM_USE_LEA@
JS_ULTRASPARC_OPTS = @JS_ULTRASPARC_OPTS@
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS = @MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS@
MOZ_COMPONENT_NSPR_LIBS=@MOZ_COMPONENT_NSPR_LIBS@
MOZ_COMPONENT_XPCOM_LIBS=@MOZ_COMPONENT_XPCOM_LIBS@
XPCOM_LIBS=@XPCOM_LIBS@
MOZ_REORDER=@MOZ_REORDER@
MOZ_TIMELINE=@MOZ_TIMELINE@
ENABLE_STRIP = @ENABLE_STRIP@
ClientWallet=1
CookieManagement=1
SingleSignon=1
MOZ_OJI=1
MOZ_POST_DSO_LIB_COMMAND = @MOZ_POST_DSO_LIB_COMMAND@
MOZ_POST_PROGRAM_COMMAND = @MOZ_POST_PROGRAM_COMMAND@
MOZ_BUILD_ROOT = @MOZ_BUILD_ROOT@
MOZ_GLE = @MOZ_GLE@
MOZ_NATIVE_ZLIB = @SYSTEM_ZLIB@
MOZ_NATIVE_JPEG = @SYSTEM_JPEG@
MOZ_NATIVE_PNG = @SYSTEM_PNG@
MOZ_NATIVE_MNG = @SYSTEM_MNG@
MOZ_UPDATE_XTERM = @MOZ_UPDATE_XTERM@
MOZ_MATHML = @MOZ_MATHML@
MOZ_SVG = @MOZ_SVG@
TX_EXE = @TX_EXE@
MOZ_INSURE = @MOZ_INSURE@
MOZ_INSURIFYING = @MOZ_INSURIFYING@
MOZ_INSURE_DIRS = @MOZ_INSURE_DIRS@
MOZ_INSURE_EXCLUDE_DIRS = @MOZ_INSURE_EXCLUDE_DIRS@
MOZ_NATIVE_NSPR = @MOZ_NATIVE_NSPR@
CROSS_COMPILE = @CROSS_COMPILE@
OS_CPPFLAGS = @CPPFLAGS@
OS_CFLAGS = $(OS_CPPFLAGS) @CFLAGS@
OS_CXXFLAGS = $(OS_CPPFLAGS) @CXXFLAGS@
OS_LDFLAGS = @LDFLAGS@
OS_COMPILE_CFLAGS = $(OS_CPPFLAGS) @COMPILE_CFLAGS@
OS_COMPILE_CXXFLAGS = $(OS_CPPFLAGS) @COMPILE_CXXFLAGS@
OS_INCLUDES = $(NSPR_CFLAGS) $(JPEG_CFLAGS) $(PNG_CFLAGS) $(MNG_CFLAGS) $(ZLIB_CFLAGS)
OS_LIBS = @LIBS@
ACDEFINES = @DEFS@
MOZ_OPTIMIZE = @MOZ_OPTIMIZE@
MOZ_OPTIMIZE_FLAGS = @MOZ_OPTIMIZE_FLAGS@
MOZ_OPTIMIZE_LDFLAGS = @MOZ_OPTIMIZE_LDFLAGS@
XCFLAGS = @XCFLAGS@
XLDFLAGS = @XLDFLAGS@
XLIBS = @XLIBS@
AIX_SHLIB_BIN = @AIX_SHLIB_BIN@
AR = @AR@
AR_FLAGS = @AR_FLAGS@
AR_EXTRACT = @AR_EXTRACT@
AR_LIST = @AR_LIST@
AR_DELETE = @AR_DELETE@
AS = @AS@
ASFLAGS = @ASFLAGS@
AS_DASH_C_FLAG = @AS_DASH_C_FLAG@
LD = @LD@
DLLTOOL = @DLLTOOL@
WINDRES = @WINDRES@
USE_SHORT_LIBNAME = @USE_SHORT_LIBNAME@
IMPLIB = @IMPLIB@
FILTER = @FILTER@
BIN_FLAGS = @BIN_FLAGS@
OBJ_SUFFIX = @OBJ_SUFFIX@
LIB_SUFFIX = @LIB_SUFFIX@
DLL_SUFFIX = @DLL_SUFFIX@
BIN_SUFFIX = @BIN_SUFFIX@
ASM_SUFFIX = @ASM_SUFFIX@
USE_N32 = @USE_N32@
HAVE_64BIT_OS = @HAVE_64BIT_OS@
# Temp hack. It is not my intention to leave this crap in here for ever.
# Im talking to fur right now to solve the problem without introducing
# NS_USE_NATIVE to the build system -ramiro.
NS_USE_NATIVE = @NS_USE_NATIVE@
CC = @CC@
CXX = @CXX@
GNU_AS = @GNU_AS@
GNU_LD = @GNU_LD@
GNU_CC = @GNU_CC@
GNU_CXX = @GNU_CXX@
HAVE_GCC3_ABI = @HAVE_GCC3_ABI@
HOST_CC = @HOST_CC@
HOST_CXX = @HOST_CXX@
HOST_CFLAGS = @HOST_CFLAGS@
HOST_CXXFLAGS = @HOST_CXXFLAGS@
HOST_NSPR_MDCPUCFG = @HOST_NSPR_MDCPUCFG@
HOST_AR = @HOST_AR@
HOST_RANLIB = @HOST_RANLIB@
HOST_LIBIDL_CONFIG = @HOST_LIBIDL_CONFIG@
HOST_LIBIDL_CFLAGS = @HOST_LIBIDL_CFLAGS@
HOST_LIBIDL_LIBS = @HOST_LIBIDL_LIBS@
TARGET_NSPR_MDCPUCFG = @TARGET_NSPR_MDCPUCFG@
TARGET_CPU = @TARGET_CPU@
TARGET_VENDOR = @TARGET_VENDOR@
TARGET_OS = @TARGET_OS@
TARGET_MD_ARCH = @TARGET_MD_ARCH@
AUTOCONF = @AUTOCONF@
EMACS = @EMACS@
PERL = @PERL@
RANLIB = @RANLIB@
WHOAMI = @WHOAMI@
UNZIP_PROG = @UNZIP@
ZIP_PROG = @ZIP@
XARGS = @XARGS@
STRIP = @STRIP@
ifdef MOZ_NATIVE_JPEG
JPEG_CFLAGS = @JPEG_CFLAGS@
JPEG_LIBS = @JPEG_LIBS@
JPEG_REQUIRES =
else
JPEG_CFLAGS = @MOZ_JPEG_CFLAGS@
JPEG_LIBS = @MOZ_JPEG_LIBS@
JPEG_REQUIRES = jpeg
endif
ifdef MOZ_NATIVE_ZLIB
ZLIB_CFLAGS = @ZLIB_CFLAGS@
ZLIB_LIBS = @ZLIB_LIBS@
ZLIB_REQUIRES =
else
ZLIB_CFLAGS = @MOZ_ZLIB_CFLAGS@
ZLIB_LIBS = @MOZ_ZLIB_LIBS@
ZLIB_REQUIRES = zlib
endif
ifdef MOZ_NATIVE_PNG
PNG_CFLAGS = @PNG_CFLAGS@
PNG_LIBS = @PNG_LIBS@
PNG_REQUIRES =
else
PNG_CFLAGS = @MOZ_PNG_CFLAGS@
PNG_LIBS = @MOZ_PNG_LIBS@
PNG_REQUIRES = png
endif
ifdef MOZ_NATIVE_MNG
MNG_CFLAGS = @MNG_CFLAGS@
MNG_LIBS = @MNG_LIBS@
MNG_REQUIRES =
else
MNG_CFLAGS = @MOZ_MNG_CFLAGS@
MNG_LIBS = @MOZ_MNG_LIBS@
MNG_REQUIRES = mng
endif
NSPR_CFLAGS = @NSPR_CFLAGS@
NSPR_LIBS = @NSPR_LIBS@
LDAP_CFLAGS = @LDAP_CFLAGS@
LDAP_LIBS = @LDAP_LIBS@
# MKSHLIB_FORCE_ALL is used to force the linker to include all object
# files present in an archive. MKSHLIB_UNFORCE_ALL reverts the linker
# to normal behavior. Makefile's that create shared libraries out of
# archives use these flags to force in all of the .o files in the
# archives into the shared library.
WRAP_MALLOC_LIB = @WRAP_MALLOC_LIB@
WRAP_MALLOC_CFLAGS = @WRAP_MALLOC_CFLAGS@
DSO_CFLAGS = @DSO_CFLAGS@
DSO_PIC_CFLAGS = @DSO_PIC_CFLAGS@
MKSHLIB = @MKSHLIB@
MKCSHLIB = @MKCSHLIB@
MKSHLIB_FORCE_ALL = @MKSHLIB_FORCE_ALL@
MKSHLIB_UNFORCE_ALL = @MKSHLIB_UNFORCE_ALL@
DSO_LDOPTS = @DSO_LDOPTS@
DLL_SUFFIX = @DLL_SUFFIX@
NO_LD_ARCHIVE_FLAGS = @NO_LD_ARCHIVE_FLAGS@
GTK_CONFIG = @GTK_CONFIG@
TK_CFLAGS = @TK_CFLAGS@
TK_LIBS = @TK_LIBS@
MOZ_TOOLKIT_REGISTRY_CFLAGS = \
-DWIDGET_DLL=@WIDGET_DLL@ \
-DGFXWIN_DLL=@GFXWIN_DLL@ \
$(TK_CFLAGS)
MOZ_ENABLE_GTK = @MOZ_ENABLE_GTK@
MOZ_ENABLE_GTK2 = @MOZ_ENABLE_GTK2@
MOZ_ENABLE_XLIB = @MOZ_ENABLE_XLIB@
MOZ_ENABLE_QT = @MOZ_ENABLE_QT@
MOZ_ENABLE_PHOTON = @MOZ_ENABLE_PHOTON@
MOZ_ENABLE_XREMOTE = @MOZ_ENABLE_XREMOTE@
MOZ_GTK_CFLAGS = @MOZ_GTK_CFLAGS@
MOZ_GTK_LDFLAGS = @MOZ_GTK_LDFLAGS@
MOZ_GTK2_CFLAGS = @MOZ_GTK2_CFLAGS@
MOZ_GTK2_LIBS = @MOZ_GTK2_LIBS@
MOZ_XLIB_CFLAGS = @MOZ_XLIB_CFLAGS@
MOZ_XLIB_LDFLAGS = @MOZ_XLIB_LDFLAGS@
MOZ_QT_CFLAGS = @MOZ_QT_CFLAGS@
MOZ_QT_LDFLAGS = @MOZ_QT_LDFLAGS@
MOZ_XPRINT_CFLAGS = @MOZ_XPRINT_CFLAGS@
MOZ_XPRINT_LDFLAGS = @MOZ_XPRINT_LDFLAGS@
MOZ_ENABLE_XPRINT = @MOZ_ENABLE_XPRINT@
MOZ_ENABLE_XINERAMA = @MOZ_ENABLE_XINERAMA@
MOZ_XINERAMA_LIBS = @MOZ_XINERAMA_LIBS@
MOZ_XIE_LIBS = @MOZ_XIE_LIBS@
GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_LIBS = @GLIB_LIBS@
LIBIDL_CFLAGS = @LIBIDL_CFLAGS@
LIBIDL_LIBS = @LIBIDL_LIBS@
MOZ_NATIVE_MAKEDEPEND = @SYSTEM_MAKEDEPEND@
# Used for LD_LIBRARY_PATH
LIBS_PATH = @LIBS_PATH@
MOZ_AUTO_DEPS = @MOZ_AUTO_DEPS@
COMPILER_DEPEND = @COMPILER_DEPEND@
MDDEPDIR := @MDDEPDIR@
MOZ_DISABLE_DTD_DEBUG = @MOZ_DISABLE_DTD_DEBUG@
MOZ_DEMANGLE_SYMBOLS = @MOZ_DEMANGLE_SYMBOLS@
# XXX - these need to be cleaned up and have real checks added -cls
CM_BLDTYPE=dbg
AWT_11=1
MOZ_BITS=32
OS_TARGET=@OS_TARGET@
OS_ARCH=@OS_ARCH@
OS_RELEASE=@OS_RELEASE@
OS_TEST=@OS_TEST@
# For OS/2 build
MOZ_OS2_TOOLS = @MOZ_OS2_TOOLS@
MOZ_OS2_EMX_OBJECTFORMAT = @MOZ_OS2_EMX_OBJECTFORMAT@
HAVE_XIE=@HAVE_XIE@
MOZ_MOVEMAIL=@MOZ_MOVEMAIL@
MOZ_PSM=@MOZ_PSM@
# for Qt build
MOC=@MOC@

View File

@@ -1,64 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/*
**
** bdate.c: Possibly cross-platform date-based build number
** generator. Output is YYJJJ, where YY == 2-digit
** year, and JJJ is the Julian date (day of the year).
**
** Author: briano@netscape.com
**
*/
#include <stdio.h>
#include <time.h>
#ifdef SUNOS4
#include "sunos4.h"
#endif
void main(void)
{
time_t t = time(NULL);
struct tm *tms;
tms = localtime(&t);
printf("500%02d%03d%02d\n", tms->tm_year, 1+tms->tm_yday, tms->tm_hour);
exit(0);
}

View File

@@ -1,28 +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):
#
use mozBDate;
# Both "generate" args are optional
$file = $ARGV[0] if ("$ARGV[0]" ne "");
$official = 1 if ("$ARGV[1]" ne "");
&mozBDate::UpdateBuildNumber($file, $official);

View File

@@ -1,134 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include <stdio.h>
#include <sys\stat.h>
int main(int iArgc, char **ppArgv) {
int iRetval = 1;
/* First argument, the filename to convert.
* Output to stdout, redirect to save.
*/
char *pFileName = ppArgv[1];
if(pFileName) {
FILE *pFile = fopen(pFileName, "rb");
if(pFile) {
struct stat sInfo;
/* Stat the file for size.
*/
if(!fstat(fileno(pFile), &sInfo)) {
int iChar;
int iX = 0;
int iFirsttime = 1;
/* Begin RCDATA
*/
printf("BEGIN\n");
/* First string identifies created via bin2rc.
* Users of the RCDATA must check for this to
* assume the format of the remainder of
* the data.
*/
printf("\t\"bin2rc generated resource\\0\",\t// bin2rc identity string\n");
/* Next string is optional parameter on command
* line. If not present, an empty string.
* Users of the RCDATA must understand this is
* the optional string that can be used for
* about any purpose they desire.
*/
printf("\t\"%s\\0\",\t// optional command line string\n", ppArgv[2] ? ppArgv[2] : "");
/* Next string is the size of the original file.
* Users of the RCDATA must understand that this
* is the size of the file's actual contents.
*/
printf("\t\"%ld\\0\"\t// data size header\n", sInfo.st_size);
while(EOF != (iChar = fgetc(pFile))) {
/* Comma?
*/
if(0 == iFirsttime) {
iX += printf(",");
}
else {
iFirsttime = 0;
}
/* Newline?
*/
if(iX >= 72) {
printf("\n");
iX = 0;
}
/* Tab?
*/
if(0 == iX) {
printf("\t");
iX += 8;
}
/* Octal byte.
*/
iX += printf("\"\\%.3o\"", iChar);
}
/* End RCDATA
*/
if(0 != iX) {
printf("\n");
}
printf("END\n");
/* All is well.
*/
iRetval = 0;
}
fclose(pFile);
pFile = NULL;
}
}
return(iRetval);
}

Binary file not shown.

View File

@@ -1,95 +0,0 @@
#!env perl
#
# 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 mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 2001 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Christopher Seawood <cls@seawood.org>
#
# A generic script to add entries to a file
# if the entry does not already exist
#
# Usage: $0 [-l] <filename> <entry> [<entry> <entry>]
#
# -l do not attempt flock the file.
use Fcntl qw(:DEFAULT :flock);
use Getopt::Std;
use mozLock;
sub usage() {
print "$0 [-l] <filename> <entry>\n";
exit(1);
}
$nofilelocks = 0;
getopts("l");
$nofilelocks = 1 if defined($::opt_l);
$file = shift;
undef @entrylist;
while ($entry = shift) {
push @entrylist, $entry;
}
$lockfile = $file . ".lck";
# touch the file if it doesn't exist
if ( ! -e "$file") {
$now = time;
utime $now, $now, $file;
}
# This needs to be atomic
mozLock($lockfile) unless $nofilelocks;
# Read entire file into mem
undef @inbuf;
if ( -e "$file" ) {
open(IN, "$file") || die ("$file: $!\n");
while ($tmp = <IN>) {
chomp($tmp);
push @inbuf, $tmp;
}
close(IN);
}
undef @outbuf;
# Add each entry to file if it's not already there
foreach $entry (@entrylist) {
push @outbuf, $entry if (!grep(/^$entry$/, @inbuf));
}
$count = $#outbuf + 1;
# Append new entry to file
if ($count) {
open(OUT, ">>$file") || die ("$file: $!\n");
foreach $entry (@outbuf) {
print OUT "$entry\n";
}
close(OUT);
}
mozUnlock($lockfile) unless $nofilelocks;
exit(0);

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.
#
# 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):
my $progname = $0;
my $contents;
# this script needs to be run in config
my $numberfile = "build_number";
# This is the preferences file that gets read and written.
open(NUMBER, "<$numberfile") || die "no build_number file\n";
while ( <NUMBER> ) {
$build_number = $_
}
close (NUMBER);
chop($build_number);

View File

@@ -1,12 +0,0 @@
open INFILE, "<$ARGV[1]";
$build = <INFILE>;
close INFILE;
chop $build;
open OUTFILE, ">$ARGV[0]" || die;
print OUTFILE "/* THIS IS A GENERATED FILE!\n*\n";
print OUTFILE "* See mozilla/config/build_header.pl */\n*\n*/";
print OUTFILE "\n\#define NS_BUILD_ID " . $build . "\n";
close OUTFILE;

View File

@@ -1,43 +0,0 @@
@echo off
rem The contents of this file are subject to the Netscape Public
rem License Version 1.1 (the "License"); you may not use this file
rem except in compliance with the License. You may obtain a copy of
rem the License at http://www.mozilla.org/NPL/
rem
rem Software distributed under the License is distributed on an "AS
rem IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
rem implied. See the License for the specific language governing
rem rights and limitations under the License.
rem
rem The Original Code is mozilla.org code.
rem
rem The Initial Developer of the Original Code is Netscape
rem Communications Corporation. Portions created by Netscape are
rem Copyright (C) 1998 Netscape Communications Corporation. All
rem Rights Reserved.
rem
rem Contributor(s):
@echo on
@echo off
if not exist %2\NUL echo Warning: %2 does not exist! (you may need to check it out)
if not exist %2\NUL exit 1
cd %2
goto NO_CAFE
if "%MOZ_CAFE%"=="" goto NO_CAFE
mkdir %MOZ_SRC%\mozilla\dist\classes\%2
%MOZ_TOOLS%\bin\sj.exe -classpath %MOZ_SRC%\mozilla\dist\classes;%MOZ_SRC%\mozilla\sun-java\classsrc -d %MOZ_SRC%\mozilla\dist\classes *.java
goto END
:NO_CAFE
perl.exe %MOZ_SRC%\mozilla\config\outofdate.pl -d %MOZ_SRC%\mozilla\dist\classes\%2 -cfg %1 *.java > doit.bat
call doit.bat
del doit.bat
:END

View File

@@ -1,126 +0,0 @@
#!perl5
#
# 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):
#
#
# Searches the tree for unclobbered files
# should be relatively cross platform
#
$start_dir = $ENV{"MOZ_SRC"};
@ignore_list = ("make.dep","manifest.mnw");
$missed = 0;
print "\n\nChecking for unclobbered files\n" .
"------------------------------\n";
GoDir("ns");
GoDir("mozilla");
if( $missed ){
die "\nError: $missed files or directories unclobbered\n";
}
else {
print "No unclobbered files found\n";
}
sub GoDir {
local($dir) = @_;
local(%filelist,$iscvsdir);
local($k,$v,$d,$fn,$rev, $mod_time);
local($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks);
if(! chdir "$start_dir/$dir" ){
return;
}
while(<*.*> ){
if( $_ ne '.' && $_ ne '..' && $_ ne 'CVS'
&& $_ ne 'nuke' ){
$filelist{$_} = 1;
}
}
if( -r "CVS/Entries" ){
$iscvsdir=1;
open(ENT, "CVS/Entries" ) ||
die "Cannot open CVS/Entries for reading\n";
while(<ENT>){
chop;
($d,$fn,$rev,$mod_time) = split(/\//);
if( $fn ne "" ){
if( $d eq "D" ){
$filelist{$fn} = 3;
}
else {
$filelist{$fn} = 2;
}
}
}
close(ENT);
}
while( ($k,$v) = each %filelist ){
if( $v == 1 && $iscvsdir && !IgnoreFile( $k ) ){
if( ! -d $k ){
print " file: $dir/$k\n";
$missed++;
}
else {
if( ! -r "$k/CVS/Entries" ){
print "directory: $dir/$k\n";
$missed++;
}
else {
$filelist{$k} = 3;
}
}
}
}
while( ($k,$v) = each %filelist ){
if( $v == 3 ){
GoDir("$dir/$k");
}
}
# while( ($k,$v) = each %filelist ){
# print "$k: $v\n";
# }
}
sub IgnoreFile {
local($fn) = @_;
local($i);
for $i (@ignore_list){
if( $fn eq $i ){
return 1;
}
}
return 0;
}

View File

@@ -1,141 +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):
#
INCLUDED_COMMON_MK = 1
######################################################################
# Cross-platform defines used on all platforms (in theory)
######################################################################
#
# The VERSION_NUMBER is suffixed onto the end of the DLLs we ship.
# Since the longest of these is 5 characters without the suffix,
# be sure to not set VERSION_NUMBER to anything longer than 3
# characters for Win16's sake.
#
# Also... If you change this value, there are several other places
# you'll need to change (because they're not reached by this
# variable):
# sun-java/nsjava/nsjava32.def
# sun-java/nsjava/nsjava16.def
# sun-java/classsrc/sun/audio/AudioDevice.java
# sun-java/classsrc/sun/awt/windows/WToolkit.java
#
VERSION_NUMBER = 50
# jar for core java classes:
JAR_NAME = java$(VERSION_NUMBER).jar
# jar for navigator-specific java code:
NAV_JAR_NAME = nav$(VERSION_NUMBER).jar
######################################################################
# Cross-Platform Java Stuff
######################################################################
# java interpreter
# get class files from the directory they are compiled to
JAVA_CLASSPATH = $(JAVAC_ZIP)$(PATH_SEPARATOR)$(JAVA_DESTPATH)
JAVA_FLAGS = -classpath $(JAVA_CLASSPATH) -ms8m
JAVA = $(JAVA_PROG) $(JAVA_FLAGS)
#
# NOTE: If a new DLL is being added to this define you will have to update
# ns/sun-java/include/javadefs.h in order not to break win16.
#
JAVA_DEFINES = -DJAR_NAME=\"$(JAR_NAME)\" -DJRTDLL=\"$(JRTDLL)\" -DMMDLL=\"$(MMDLL)\" \
-DAWTDLL=\"$(AWTDLL)\" -DJITDLL=\"$(JITDLL)\" -DJPWDLL=\"$(JPWDLL)\"
######################################################################
# javac
#
# java wants '-ms8m' and kaffe wants '-ms 8m', so this needs to be
# overridable.
#
JINT_FLAGS = -ms8m
# to run the compiler in the interpreter
JAVAC_PROG = $(JINT_FLAGS) $(PDJAVA_FLAGS) -classpath $(JAVAC_ZIP) sun.tools.javac.Main
JAVAC = $(JAVA_PROG) $(JAVAC_PROG) $(JAVAC_FLAGS)
# std set of options passed to the compiler
JAVAC_FLAGS = -classpath $(JAVAC_CLASSPATH) $(JAVAC_OPTIMIZER) -d $(JAVA_DESTPATH)
#
# The canonical Java classpath is:
# JAVA_DESTPATH, JAVA_SOURCEPATH, JAVA_LIBS
#
# appropriately delimited, in that order
#
JAVAC_CLASSPATH = $(JAVAC_ZIP)$(PATH_SEPARATOR)$(JAVA_DESTPATH)$(PATH_SEPARATOR)$(JAVA_SOURCEPATH)
######################################################################
# javadoc
# Rules to build java .html files from java source files
JAVADOC_PROG = $(JAVA) sun.tools.javadoc.Main
JAVADOC_FLAGS = -classpath $(JAVAC_CLASSPATH)
JAVADOC = $(JAVADOC_PROG) $(JAVADOC_FLAGS)
######################################################################
# javah
JAVAH_FLAGS = -classpath $(JAVAC_ZIP)$(PATH_SEPARATOR)$(JAVA_DESTPATH)
JAVAH = $(JAVAH_PROG) $(JAVAH_FLAGS)
######################################################################
# jmc
JMCSRCDIR = $(DIST)/_jmc
JMC_PROG = $(JAVA) netscape.tools.jmc.Main
JMC_CLASSPATH = $(JMCSRCDIR)$(PATH_SEPARATOR)$(JAVAC_CLASSPATH)
JMC_FLAGS = -classpath $(JMC_CLASSPATH) -verbose
JMC = $(JMC_PROG) $(JMC_FLAGS)
######################################################################
# zip
ZIP = $(ZIP_PROG) $(ZIP_FLAGS)
######################################################################
# idl2java
ORBTOOLS = $(DEPTH)/modules/iiop/tools/orbtools.zip
ORB_CLASSPATH = $(ORBTOOLS)$(PATH_SEPARATOR)$(JAVA_CLASSPATH)
IDL2JAVA_PROG = $(JAVA_PROG)
IDL2JAVA_FLAGS = -classpath $(ORB_CLASSPATH) pomoco.tools.idl2java
IDL2JAVA = $(IDL2JAVA_PROG) $(IDL2JAVA_FLAGS)
######################################################################
# lex and yacc
JAVALEX_PROG = $(JAVA_PROG) -classpath $(ORB_CLASSPATH) sbktech.tools.jax.driver
JAVALEX_FLAGS =
JAVALEX = $(JAVALEX_PROG) $(JAVALEX_FLAGS)
JAVACUP_PROG = $(JAVA_PROG) -classpath $(ORB_CLASSPATH) java_cup.Main
JAVACUP_FLAGS =
JAVACUP = $(JAVACUP_PROG) $(JAVACUP_FLAGS)

View File

@@ -1,605 +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):
!if !defined(CONFIG_CONFIG_MAK)
CONFIG_CONFIG_MAK=1
#//------------------------------------------------------------------------
#//
#// Define public make variables:
#//
#// OBJDIR - Specifies the location of intermediate files (ie. objs...)
#// Currently, the names are WINxx_O.OBJ or WINxx_D.OBJ for
#// optimized and debug builds respectively.
#//
#// DIST - Specifies the location of the distribution directory where
#// all targets are delivered.
#//
#// CFGFILE - Specifies the name of the temporary configuration file
#// containing the arguments to the current command.
#//
#// INCS - Default include paths.
#//
#// CFLAGS - Default compiler options.
#//
#// LFLAGS - Default linker options.
#//
#//------------------------------------------------------------------------
#//-----------------------------------------------------------------------
#//
#// Detect WinNT vs. Win9x and set WINOS appropriately.
#//
#// Set WINOS in your environment to avoid the timewasting uname call
#//
#//-----------------------------------------------------------------------
!if !defined(WINOS)
!if [$(MOZ_TOOLS)\bin\uname > osuname.inc]
!endif
WINOS=\
!include "osuname.inc"
WINOS=$(WINOS: =)^
!if [del osuname.inc]
!endif
!endif
#//-----------------------------------------------------------------------
#//
#// DIST DEFINITION
#//
#//-----------------------------------------------------------------------
XPDIST=$(DEPTH)\dist
!ifdef MODULE
PUBLIC=$(XPDIST)\include\$(MODULE)
!else
PUBLIC=$(XPDIST)\include
!endif
!ifdef NGLAYOUT_BUILD_PREFIX
DIST_PREFIX=NGL
!else
!ifdef MOZ_NAV_BUILD_PREFIX
DIST_PREFIX=NAV
!else
DIST_PREFIX=WIN
!endif
!endif
!ifndef MOZ_DEBUG
OBJDIR=$(DIST_PREFIX)$(MOZ_BITS)$(OBJTYPE)_O.OBJ
JAVA_OPTIMIZER = -O
!ifdef NO_CAFE
JAVAC_OPTIMIZER =
!else
#JAVAC_OPTIMIZER= -O -noinline
JAVAC_OPTIMIZER =
!endif
!else
OBJDIR=$(DIST_PREFIX)$(MOZ_BITS)$(OBJTYPE)_D.OBJ
JAVA_OPTIMIZER = -g
JAVAC_OPTIMIZER = -g
!endif
#//
#// DIST DEFINES SHOULD NEVER BE COMPONENT SPECIFIC.
#//
!ifndef MOZ_DEBUG
DIST=$(XPDIST)\$(DIST_PREFIX)$(MOZ_BITS)_O.OBJ
!else
DIST=$(XPDIST)\$(DIST_PREFIX)$(MOZ_BITS)_D.OBJ
!endif
# This will always give the location of NGLayout's dist, even if "NGLAYOUT_BUILD_PREFIX" is not defined.
!if defined(MOZ_NGLAYOUT)
!ifndef MOZ_DEBUG
NGLAYOUT_DIST=$(XPDIST)\NGL$(MOZ_BITS)_O.OBJ
!else
NGLAYOUT_DIST=$(XPDIST)\NGL$(MOZ_BITS)_D.OBJ
!endif
!endif
#//-----------------------------------------------------------------------
#//
#// Basic configuration settings
#//
#//-----------------------------------------------------------------------
!ifndef DISABLE_LDAP
LDAP_CFLAGS=-I$(XPDIST)\include\ldap
!endif
CFGFILE=$(OBJDIR)\cmd.cfg
INCS=$(INCS) -I$(PUBLIC) -I$(DIST)\include -I$(XPDIST)\include\nspr
!ifdef REQUIRES
!if "$(WINOS)" == "WIN95"
# use perl to translate REQUIRES into a proper include line
# using \1 instead of $1 because nmake barfs on $1
!if [echo $(REQUIRES) | perl -pe "s/(\w+)/-I$(XPDIST:\=\/)\\\include\\\\\1/g; print \"REQINCS=$_\";" > reqincs.inc]
!endif
!else
REQINCS1=REQINCS=-I $(XPDIST)/include/$(REQUIRES: = -I$(XPDIST^)/include/)
!if [echo $(REQINCS1) > reqincs.inc]
!endif
!endif
!include reqincs.inc
!if [del reqincs.inc]
!endif
!endif
INCS=$(INCS) -I$(XPDIST)\include $(REQINCS)
!if "$(MOZ_BITS)" == "16"
CFLAGS=$(MOZ_JAVA_FLAG) -DEDITOR $(OS_CFLAGS) $(MOZ_CFLAGS)
!else
CFLAGS=$(MOZ_JAVA_FLAG) $(OS_CFLAGS) $(MOZ_CFLAGS)
!endif
IBMBIDI=1
CFLAGS=$(CFLAGS) -DIBMBIDI
!if "$(DISABLE_ACCESSIBILITY)" == "1"
!undef ACCESSIBILITY
!else
ACCESSIBILITY=1
CFLAGS=$(CFLAGS) -DACCESSIBILITY
!endif
LFLAGS=$(OS_LFLAGS) $(LLFLAGS) $(MOZ_LFLAGS)
# 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(?):
!if "$(MOZ_BITS)"=="32" || defined(MOZ_DEBUG)
CFLAGS = $(CFLAGS) -DDEVELOPER_DEBUG
!endif
!ifdef MOZ_BSCFILE
CFLAGS = $(CFLAGS) -FR
!endif
!ifdef NO_LOGGING
CFLAGS=$(CFLAGS) -DNS_DISABLE_LOGGING
!else
CFLAGS=$(CFLAGS) -DMOZ_LOGGING
!endif
FINAL_LINK_COMPS=$(DIST)\final-link-comps
FINAL_LINK_COMP_NAMES=$(DIST)\final-link-comp-names
FINAL_LINK_LIBS=$(DIST)\final-link-libs
!ifdef MOZ_STATIC_COMPONENT_LIBS
# Force _all_ exported methods to be |_declspec(dllexport)| when we're
# building them into the executable.
CFLAGS=$(CFLAGS) -D_IMPL_NS_APPSHELL
CFLAGS=$(CFLAGS) -D_IMPL_NS_COOKIE
CFLAGS=$(CFLAGS) -D_IMPL_NS_DOM
CFLAGS=$(CFLAGS) -D_IMPL_NS_GFX
CFLAGS=$(CFLAGS) -D_IMPL_NS_HTML
CFLAGS=$(CFLAGS) -D_IMPL_NS_HTMLPARS
CFLAGS=$(CFLAGS) -D_IMPL_NS_INTL
CFLAGS=$(CFLAGS) -D_IMPL_NS_LAYOUT
CFLAGS=$(CFLAGS) -D_IMPL_NS_MSG_BASE
CFLAGS=$(CFLAGS) -D_IMPL_NS_NET
CFLAGS=$(CFLAGS) -D_IMPL_NS_PICS
CFLAGS=$(CFLAGS) -D_IMPL_NS_PLUGIN
CFLAGS=$(CFLAGS) -D_IMPL_NS_RDF
CFLAGS=$(CFLAGS) -D_IMPL_NS_VIEW
CFLAGS=$(CFLAGS) -D_IMPL_NS_WEB
CFLAGS=$(CFLAGS) -D_IMPL_NS_WIDGET
!endif
#//-----------------------------------------------------------------------
#//
#// feature-specific configuration settings
#//
#//-----------------------------------------------------------------------
# For modular netlib support.
CFLAGS=$(CFLAGS) -DNS_MT_SUPPORTED -DNETLIB_THREAD -DNS_NET_FILE
# Defines for cookie management feature...
CFLAGS=$(CFLAGS) -DCookieManagement
# Defines for single signon and client wallet features...
!ifndef MOZ_NO_WALLET_HACK
CFLAGS=$(CFLAGS) -DSingleSignon -DClientWallet
!endif
# TODO Cleanup later -Gagan
!ifdef NU_CACHE
CFLAGS=$(CFLAGS) -DNU_CACHE
!endif
# always need these:
CFLAGS = $(CFLAGS) -DNETSCAPE
# Specify that we are building a client.
# This will instruct the cross platform libraries to
# include all the client specific cruft.
!if defined(SERVER_BUILD)
CFLAGS = $(CFLAGS) -DSERVER_BUILD
!elseif defined(LIVEWIRE)
CFLAGS = $(CFLAGS) -DLIVEWIRE
!else
CFLAGS = $(CFLAGS) -DMOZILLA_CLIENT
!endif
# need this everywhere jsapi.h might be included
CFLAGS=$(CFLAGS) -DJS_THREADSAFE
!if "$(STAND_ALONE_JAVA)" == "1"
CFLAGS=$(CFLAGS) -DSTAND_ALONE_JAVA
!endif
NECKO=1
CFLAGS=$(CFLAGS) -DNECKO
!if defined(XPCOM_STANDALONE)
CFLAGS=$(CFLAGS) -DXPCOM_STANDALONE
!endif
!if defined(XPCONNECT_STANDALONE)
CFLAGS=$(CFLAGS) -DXPCONNECT_STANDALONE
!endif
# Enable output of performance metrics if MOZ_PERF is set
!ifdef MOZ_PERF
CFLAGS=$(CFLAGS) -DMOZ_PERF_METRICS
!endif
# Enable timeline service if MOZ_TIMELINE is set
!ifdef MOZ_TIMELINE
CFLAGS=$(CFLAGS) -DMOZ_TIMELINE
!endif
!ifndef MOZ_JAVA
MOZ_OJI = 1 # on by default now
!endif
!ifdef MOZ_LIBTEST
MOZ_LIBTEST = 1
CFLAGS=$(CFLAGS) -DLAYPROBE_API
!endif
!ifdef MOZ_JAVA
MOZ_JAVA_FLAG=-DJAVA
!ifdef MOZ_OJI
!error You can't define both MOZ_JAVA and MOZ_OJI anymore.
!endif
JAVA_OR_OJI = 1
JAVA_OR_NSJVM = 1
!endif
!ifdef NSJVM
JAVA_OR_NSJVM = 1
AWT_11 = 1 # always build awt 1.1 with nsjvm now
!endif
!ifdef MOZ_OJI
CFLAGS=$(CFLAGS) -DOJI
JAVA_OR_OJI=1
!endif
!ifdef SMART_MAIL
CFLAGS=$(CFLAGS) -DSMART_MAIL
!endif
!ifdef MOZ_TRACE_XPCOM_REFCNT
CFLAGS=$(CFLAGS) -DMOZ_TRACE_XPCOM_REFCNT
!endif
!ifdef MOZ_TRACE_MALLOC
CFLAGS=$(CFLAGS) -DNS_TRACE_MALLOC
!endif
!ifdef MOZ_SMOOTH_PROGRESS
CFLAGS=$(CFLAGS) -DSMOOTH_PROGRESS
!endif
!if defined(USE_STRING2)
CFLAGS = $(CFLAGS) -DUSE_STRING2
!endif
#!ifdef MOZ_XUL
MOZ_XUL=1
CFLAGS=$(CFLAGS) -DINCLUDE_XUL -DMOZ_XUL
#!endif
!ifdef MOZ_MATHML
CFLAGS=$(CFLAGS) -DMOZ_MATHML
!endif
!ifdef MOZ_SVG
CFLAGS=$(CFLAGS) -DMOZ_SVG
!endif
!ifdef MOZ_DEBUG
CFLAGS=$(CFLAGS) -DMOZ_REFLOW_PERF -DMOZ_REFLOW_PERF_DSP
!endif
CFLAGS=$(CFLAGS) -DUSE_IMG2 -DNS_PRINT_PREVIEW
!ifdef MOZ_STATIC_COMPONENT_LIBS
CFLAGS=$(CFLAGS) -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT -DMOZ_STATIC_COMPONENT_LIBS
!endif
#//-----------------------------------------------------------------------
#//
#// build tools
#//
#//-----------------------------------------------------------------------
NMAKE=nmake -nologo -$(MAKEFLAGS)
# grab the perl from the user's path (probably need 5.005)
PERL = perl.exe
#if MOZILLA_OFFICIAL is set, then define splitsym
!if defined (MOZILLA_OFFICIAL)
SPLITSYM = $(MOZ_TOOLS)\bin\splitsym
!endif
# use find
!ifndef FIND
FIND = find.exe
!endif
MASM = $(MOZ_TOOLS)\bin\ml.exe
!if "$(WINOS)" == "WIN95"
MKDIR = $(DEPTH)\config\w95mkdir
QUIET =
!else
MKDIR = mkdir
QUIET=@
!endif
#//------------------------------------------------------------------------
#//
#// Include the OS dependent configuration information
#//
#//------------------------------------------------------------------------
include <$(DEPTH)/config/WIN$(MOZ_BITS)>
!ifdef MOZ_DEBUG
!ifdef USERNAME
CFLAGS = $(CFLAGS) -DDEBUG_$(USERNAME)
!endif
!endif
!if (defined(MOZ_COVERAGE) && !defined(MOZ_NO_COVERAGE)) || (defined(GLOWCODE) && defined(GLOWPROF) && "$(MOZ_BITS)"=="32")
CFLAGS = $(CFLAGS) /Gh
!endif
#//------------------------------------------------------------------------
#//
#// Define the global make commands.
#//
#// MAKE_INSTALL - Copy a target to the distribution directory.
#//
#// MAKE_OBJDIRS - Create an object directory (if necessary).
#//
#// MAKE_MANGLE - Convert all long filenames into 8.3 names
#//
#// MAKE_UNMANGLE - Restore all long filenames
#//
#//------------------------------------------------------------------------
!if !defined(MOZ_SRC)
#enable builds on any drive if defined.
MOZ_SRC=y:
!endif
MAKE_INSTALL=$(QUIET)$(DEPTH)\config\makecopy.exe
MAKE_MANGLE=$(DEPTH)\config\mangle.exe
MAKE_UNMANGLE=if exist unmangle.bat call unmangle.bat
!if defined(MOZ_PURIFY)
# add #line directive to header files for purify
MKCPYFLAGS= -i
!endif
#//------------------------------------------------------------------------
#//
#// Common Libraries
#//
#//------------------------------------------------------------------------
NSPR_VERSION=4
LIBNSPR=$(DIST)\lib\nspr$(NSPR_VERSION).lib $(DIST)\lib\plds$(NSPR_VERSION).lib $(DIST)\lib\plc$(NSPR_VERSION).lib
LIBPLC=$(DIST)\lib\plc$(NSPR_VERSION).lib
NSPRDIR = nsprpub
CFLAGS = $(CFLAGS) -DNSPR20
LIBJPEG=$(DIST)\lib\jpeg$(MOZ_BITS)$(VERSION_NUMBER).lib
#//------------------------------------------------------------------------
#//
#// Windows-Specific Java Stuff
#//
#// (Is this used anymore? Even if it is should it be in config.mak?)
#//
#//------------------------------------------------------------------------
PATH_SEPARATOR = ;
!ifndef JAVA_HOME
JAVA_HOME=$(JDKHOME)
!endif
# where the bytecode will go
!if "$(AWT_11)" == "1"
JAVA_DESTPATH = $(MOZ_SRC)\mozilla\dist\classes11
!else
JAVA_DESTPATH = $(MOZ_SRC)\mozilla\dist\classes
!endif
# where the source are
DEFAULT_JAVA_SOURCEPATH = $(MOZ_SRC)\mozilla\sun-java\classsrc
!ifndef JAVA_SOURCEPATH
!if "$(AWT_11)" == "1"
JAVA_SOURCEPATH = $(MOZ_SRC)\mozilla\sun-java\classsrc11;$(DEFAULT_JAVA_SOURCEPATH)
!else
JAVA_SOURCEPATH = $(DEFAULT_JAVA_SOURCEPATH)
!endif
!endif
JAVA_PROG=$(MOZ_TOOLS)\bin\java.exe
#JAVA_PROG=$(DIST)\bin\java
JAVAC_ZIP=$(JAVA_HOME)\lib\classes.zip
ZIP_PROG = $(MOZ_TOOLS)\bin\zip
UNZIP_PROG = $(MOZ_TOOLS)\bin\unzip
ZIP_COMPR = 9
ZIP_FLAGS = -$(ZIP_COMPR)r
CFLAGS = $(CFLAGS) -DOS_HAS_DLL
DLL_SUFFIX = dll
LIB_SUFFIX = lib
!if "$(STAND_ALONE_JAVA)" == "1"
STAND_ALONE_JAVA_DLL_SUFFIX=s
!else
STAND_ALONE_JAVA_DLL_SUFFIX=
!endif
MOD_JRT=jrt$(MOZ_BITS)$(VERSION_NUMBER)
MOD_MM =mm$(MOZ_BITS)$(VERSION_NUMBER)
MOD_AWT=awt$(MOZ_BITS)$(VERSION_NUMBER)
MOD_AWTS=awt$(MOZ_BITS)$(VERSION_NUMBER)$(STAND_ALONE_JAVA_DLL_SUFFIX)
MOD_JIT=jit$(MOZ_BITS)$(VERSION_NUMBER)
MOD_JSJ=jsj$(MOZ_BITS)$(VERSION_NUMBER)
MOD_NET=net$(MOZ_BITS)$(VERSION_NUMBER)
MOD_JBN=jbn$(MOZ_BITS)$(VERSION_NUMBER)
MOD_NSC=nsc$(MOZ_BITS)$(VERSION_NUMBER)
MOD_JPW=jpw$(MOZ_BITS)$(VERSION_NUMBER)
MOD_JDB=jdb$(MOZ_BITS)$(VERSION_NUMBER)
MOD_ZPW=zpw$(MOZ_BITS)$(VERSION_NUMBER)
MOD_CON=con$(MOZ_BITS)$(VERSION_NUMBER)
MOD_NPJ=npj$(MOZ_BITS)$(VERSION_NUMBER)
JRTDLL=$(MOD_JRT).$(DLL_SUFFIX)
MMDLL =$(MOD_MM).$(DLL_SUFFIX)
AWTDLL=$(MOD_AWT).$(DLL_SUFFIX)
AWTSDLL=$(MOD_AWT)$(STAND_ALONE_JAVA_DLL_SUFFIX).$(DLL_SUFFIX)
JITDLL=$(MOD_JIT).$(DLL_SUFFIX)
JSJDLL=$(MOD_JSJ).$(DLL_SUFFIX)
NETDLL=$(MOD_NET).$(DLL_SUFFIX)
JBNDLL=$(MOD_JBN).$(DLL_SUFFIX)
NSCDLL=$(MOD_NSC).$(DLL_SUFFIX)
JPWDLL=$(MOD_JPW).$(DLL_SUFFIX)
JDBDLL=$(MOD_JDB).$(DLL_SUFFIX)
ZPWDLL=$(MOD_ZPW).$(DLL_SUFFIX)
CONDLL=$(MOD_CON).$(DLL_SUFFIX)
NPJDLL=$(MOD_NPJ).$(DLL_SUFFIX)
AWTLIB=$(DIST)\lib\$(MOD_AWT).$(LIB_SUFFIX)
######################################################################
include <$(DEPTH)/config/common.mk>
JAVA_DEFINES = \
-DJAR_NAME=\"$(JAR_NAME)\" \
-DJRTDLL=\"$(JRTDLL)\" \
-DMMDLL=\"$(MMDLL)\" \
-DAWTDLL=\"$(AWTDLL)\" \
-DAWTSDLL=\"$(AWTSDLL)\" \
-DJSJDLL=\"$(JSJDLL)\" \
-DJITDLL=\"$(JITDLL)\" \
-DNETDLL=\"$(NETDLL)\" \
-DJBNDLL=\"$(JBNDLL)\" \
-DNSCDLL=\"$(NSCDLL)\" \
-DJDBDLL=\"$(JDBDLL)\" \
-DJPWDLL=\"$(JPWDLL)\" \
-DZPWDLL=\"$(ZPWDLL)\" \
-DCONDLL=\"$(CONDLL)\"
!if "$(MOZ_BITS)" == "16"
# Override JAVA_DEFINES to make command line short for win16.
# Put any new defines into javadefs.h in ns/sun-java/include.
# This is to shorten the command line in order not to break Win16.
JAVA_DEFINES = -DJAR_NAME=\"$(JAR_NAME)\" -DMOZ_BITS=\"$(MOZ_BITS)\" -DVERSION_NUMBER=\"$(VERSION_NUMBER)\" -DDLL_SUFFIX=\".$(DLL_SUFFIX)\"
!endif
!if "$(AWT_11)" == "1"
JAVA_DEFINES = $(JAVA_DEFINES) -DAWT_11
!else
JAVA_DEFINES = $(JAVA_DEFINES) -DAWT_102
!endif
#JAVA_CLASSPATH = $(JAVA_CLASSPATH:/=\)
JMCSRCDIR = $(JMCSRCDIR:/=\)
JAVA_BOOT_CLASSPATH = $(JAVA_BOOT_CLASSPATH:/=\)
########
# Get the cwd to prepend to all compiled source
# files. Will allow debugger to automatically find sources
# instead of asking for the path info.
# Win16 will break if enabled, guess we continue to live in pain
# therein.
########
!if "$(MOZ_BITS)" == "32"
CURDIR=$(MAKEDIR)^\
!endif
XPIDL_PROG=$(DIST)\bin\xpidl.exe
XPTLINK_PROG=$(DIST)\bin\xpt_link.exe
# XXX If you change this name, be _sure_ to update rules.mak;
# specifically, the rules that compute XPIDL_HEADERS and
# XPIDL_TYPELIBS. 'nmake' is too dumb to allow recursive macro
# substitution.
XPIDL_GEN_DIR=.\_xpidlgen
#MOZ_DISABLE_JAR_PACKAGING=1 # temporary
!endif # CONFIG_CONFIG_MAK

View File

@@ -1,694 +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):
#
#
# config.mk
#
# Determines the platform and builds the macros needed to load the
# appropriate platform-specific .mk file, then defines all (most?)
# of the generic macros.
#
# Define an include-at-most-once flag
INCLUDED_CONFIG_MK = 1
ifndef topsrcdir
topsrcdir = $(DEPTH)
endif
ifndef INCLUDED_AUTOCONF_MK
include $(DEPTH)/config/autoconf.mk
endif
ifndef INCLUDED_INSURE_MK
ifdef MOZ_INSURIFYING
include $(topsrcdir)/config/insure.mk
endif
endif
ifndef INCLUDED_COMMON_MK
include $(topsrcdir)/config/common.mk
endif
BUILD_TOOLS = $(topsrcdir)/build/unix
CONFIG_TOOLS = $(DEPTH)/config
AUTOCONF_TOOLS = $(topsrcdir)/build/autoconf
#
# Tweak the default OS_ARCH and OS_RELEASE macros as needed.
#
ifeq ($(OS_ARCH),AIX)
OS_RELEASE := $(shell uname -v).$(shell uname -r)
endif
ifeq ($(OS_ARCH),BSD_386)
OS_ARCH := BSD_OS
endif
ifeq ($(OS_ARCH),dgux)
OS_ARCH := DGUX
endif
ifeq ($(OS_ARCH),IRIX64)
OS_ARCH := IRIX
endif
ifeq ($(OS_ARCH),UNIX_SV)
ifneq ($(findstring NCR,$(shell grep NCR /etc/bcheckrc | head -1 )),)
OS_ARCH := NCR
else
OS_ARCH := UNIXWARE
OS_RELEASE := $(shell uname -v)
endif
endif
ifeq ($(OS_ARCH),ncr)
OS_ARCH := NCR
endif
# This is the only way to correctly determine the actual OS version on NCR boxes.
ifeq ($(OS_ARCH),NCR)
OS_RELEASE := $(shell awk '{print $$3}' /etc/.relid | sed 's/^\([0-9]\)\(.\)\(..\)\(.*\)$$/\2.\3/')
endif
ifeq ($(OS_ARCH),UNIX_System_V)
OS_ARCH := NEC
endif
ifeq ($(OS_ARCH),OSF1)
OS_SUB := $(shell uname -v)
# Until I know the other possibilities, or an easier way to compute them, this is all there's gonna be.
#ifeq ($(OS_SUB),240)
#OS_RELEASE := V2.0
#endif
ifeq ($(OS_SUB),148)
OS_RELEASE := V3.2C
endif
ifeq ($(OS_SUB),564)
OS_RELEASE := V4.0B
endif
ifeq ($(OS_SUB),878)
OS_RELEASE := V4.0D
endif
endif
ifneq (,$(findstring OpenVMS,$(OS_ARCH)))
OS_ARCH := OpenVMS
OS_RELEASE := $(shell uname -v)
CPU_ARCH := $(shell uname -Wh)
CPU_ARCH_TAG := _$(CPU_ARCH)
PERL := perl
endif
ifeq ($(OS_ARCH),QNX)
ifeq ($(OS_TARGET),NTO)
LD := qcc -Vgcc_ntox86 -nostdlib
else
OS_RELEASE := $(shell uname -v | sed 's/^\([0-9]\)\([0-9]*\)$$/\1.\2/')
LD := $(CC)
endif
OS_TEST := x86
endif
ifeq ($(OS_ARCH),SCO_SV)
OS_ARCH := SCOOS
OS_RELEASE := 5.0
endif
ifneq (,$(filter SINIX-N SINIX-Y SINIX-Z ReliantUNIX-M,$(OS_ARCH)))
OS_ARCH := SINIX
OS_TEST := $(shell uname -p)
endif
ifeq ($(OS_ARCH),UnixWare)
OS_ARCH := UNIXWARE
OS_RELEASE := $(shell uname -v)
endif
ifeq ($(OS_ARCH),OS_2)
OS_ARCH := OS2
OS_RELEASE := $(shell uname -v)
endif
ifeq ($(OS_ARCH),BeOS)
BEOS_ADDON_WORKAROUND = 1
endif
#
# Strip off the excessively long version numbers on these platforms,
# but save the version to allow multiple versions of the same base
# platform to be built in the same tree.
#
ifneq (,$(filter FreeBSD HP-UX IRIX Linux NetBSD OpenBSD OSF1 SunOS,$(OS_ARCH)))
OS_RELEASE := $(basename $(OS_RELEASE))
# Allow the user to ignore the OS_VERSION, which is usually irrelevant.
ifdef WANT_MOZILLA_CONFIG_OS_VERSION
OS_VERS := $(suffix $(OS_RELEASE))
OS_VERSION := $(shell echo $(OS_VERS) | sed 's/-.*//')
endif
endif
OS_CONFIG := $(OS_ARCH)$(OS_RELEASE)
FINAL_LINK_LIBS = $(DEPTH)/config/final-link-libs
FINAL_LINK_COMPS = $(DEPTH)/config/final-link-comps
FINAL_LINK_COMP_NAMES = $(DEPTH)/config/final-link-comp-names
#
# NSS libs needed for final link in static build
#
NSS_LIBS = \
$(DIST)/lib/libsmime.$(LIB_SUFFIX) \
$(DIST)/lib/libcrmf.$(LIB_SUFFIX) \
$(DIST)/lib/libssl.$(LIB_SUFFIX) \
$(DIST)/lib/libnss.$(LIB_SUFFIX) \
$(DIST)/lib/libssl.$(LIB_SUFFIX) \
$(DIST)/lib/libpkcs12.$(LIB_SUFFIX) \
$(DIST)/lib/libpkcs7.$(LIB_SUFFIX) \
$(DIST)/lib/libcerthi.$(LIB_SUFFIX) \
$(DIST)/lib/libpk11wrap.$(LIB_SUFFIX) \
$(DIST)/lib/libcryptohi.$(LIB_SUFFIX) \
$(DIST)/lib/libcerthi.$(LIB_SUFFIX) \
$(DIST)/lib/libpk11wrap.$(LIB_SUFFIX) \
$(DIST)/lib/libsoftoken.$(LIB_SUFFIX) \
$(DIST)/lib/libcertdb.$(LIB_SUFFIX) \
$(DIST)/lib/libfreebl.$(LIB_SUFFIX) \
$(DIST)/lib/libsecutil.$(LIB_SUFFIX) \
$(DIST)/lib/libdbm.$(LIB_SUFFIX) \
$(NULL)
MOZ_UNICHARUTIL_LIBS = $(DIST)/lib/libunicharutil_s.$(LIB_SUFFIX)
MOZ_REGISTRY_LIBS = $(DIST)/lib/libmozreg_s.$(LIB_SUFFIX)
MOZ_WIDGET_SUPPORT_LIBS = $(DIST)/lib/libwidgetsupport_s.$(LIB_SUFFIX)
# determine debug-related options
DEBUG_FLAGS :=
ifndef MOZ_DEBUG
# global debugging is disabled
# check if it was explicitly enabled for this module
ifneq (, $(findstring $(MODULE), $(MOZ_DEBUG_MODULES)))
MOZ_DEBUG:=1
endif
else
# global debugging is enabled
# check if it was explicitly disabled for this module
ifneq (, $(findstring ^$(MODULE), $(MOZ_DEBUG_MODULES)))
MOZ_DEBUG:=
endif
endif
ifdef MOZ_DEBUG
DEBUG_FLAGS += $(MOZ_DEBUG_ENABLE_DEFS)
else
DEBUG_FLAGS += $(MOZ_DEBUG_DISABLE_DEFS)
endif
# determine if -g should be passed to the compiler, based on
# the current module, and the value of MOZ_DBGRINFO_MODULES
ifdef MOZ_DEBUG
MOZ_DBGRINFO_MODULES += ALL_MODULES
pattern := ALL_MODULES ^ALL_MODULES
else
MOZ_DBGRINFO_MODULES += ^ALL_MODULES
pattern := ^ALL_MODULES
endif
ifdef MODULE
# our current Makefile specifies a module name - add it to our pattern
pattern += $(MODULE) ^$(MODULE)
endif
# start by finding the first relevant module name
# (remember that the order of the module names in MOZ_DBGRINFO_MODULES
# is reversed from the order the user specified to configure -
# this allows the user to put general names at the beginning
# of the list, and to override them with explicit module names later
# in the list)
first_match:=$(firstword $(filter $(pattern), $(MOZ_DBGRINFO_MODULES)))
ifeq ($(first_match), $(MODULE))
# the user specified explicitly that
# this module should be compiled with -g
DEBUG_FLAGS += $(MOZ_DEBUG_FLAGS)
else
ifeq ($(first_match), ^$(MODULE))
# the user specified explicitly that this module
# should not be compiled with -g (nothing to do)
else
ifeq ($(first_match), ALL_MODULES)
# the user didn't mention this module explicitly,
# but wanted all modules to be compiled with -g
DEBUG_FLAGS += $(MOZ_DEBUG_FLAGS)
else
ifeq ($(first_match), ^ALL_MODULES)
# the user didn't mention this module explicitly,
# but wanted all modules to be compiled without -g (nothing to do)
endif
endif
endif
endif
# append debug flags
# (these might have been above when processing MOZ_DBGRINFO_MODULES)
OS_CFLAGS += $(DEBUG_FLAGS)
OS_CXXFLAGS += $(DEBUG_FLAGS)
#
# -ffunction-sections is needed to reorder functions using a GNU ld
# script.
#
ifeq ($(MOZ_REORDER),1)
OS_CFLAGS += -ffunction-sections
OS_CXXFLAGS += -ffunction-sections
endif
#
# List known meta modules and their dependent libs
#
_ALL_META_COMPONENTS=mail crypto
MOZ_META_COMPONENTS_mail = nsMsgBaseModule IMAP_factory nsVCardModule mime_services nsMimeEmitterModule nsMsgNewsModule nsMsgComposeModule local_mail_services nsAbSyncModule nsImportServiceModule nsTextImportModule nsAbModule nsMsgDBModule
MOZ_META_COMPONENTS_mail_comps = mailnews msgimap mime mimeemitter msgnews msgcompose localmail absyncsvc import addrbook impText vcard msgdb
MOZ_META_COMPONENTS_mail_libs = msgbaseutil mimecthglue_s
ifdef MOZ_PSM
MOZ_META_COMPONENTS_mail += nsMsgSMIMEModule
MOZ_META_COMPONENTS_mail_comps += msgsmime
else
MOZ_META_COMPONENTS_mail += nsSMIMEModule
MOZ_META_COMPONENTS_mail_comps += smimestb
endif
MOZ_META_COMPONENTS_crypto = PKI NSS
MOZ_META_COMPONENTS_crypto_comps = pippki pipnss
#
# Build using PIC by default
# Do not use PIC if not building a shared lib (see exceptions below)
#
ifneq (,$(BUILD_SHARED_LIBS)$(FORCE_SHARED_LIB)$(FORCE_USE_PIC))
_ENABLE_PIC=1
endif
# If module is going to be merged into the nsStaticModule,
# make sure that the entry points are translated and
# the module is built static.
ifdef IS_COMPONENT
ifneq (,$(MOZ_STATIC_COMPONENT_LIBS)$(findstring $(LIBRARY_NAME), $(MOZ_STATIC_COMPONENTS)))
ifdef MODULE_NAME
DEFINES += -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1
FORCE_STATIC_LIB=1
endif
endif
endif
# Determine if module being compiled is destined
# to be merged into a meta module in the future
ifneq (, $(findstring $(META_COMPONENT), $(MOZ_META_COMPONENTS)))
ifdef IS_COMPONENT
ifdef MODULE_NAME
DEFINES += -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1
endif
endif
EXPORT_LIBRARY=
FORCE_STATIC_LIB=1
_ENABLE_PIC=1
endif
#
# Disable PIC if necessary
#
ifndef _ENABLE_PIC
DSO_CFLAGS=
DSO_PIC_CFLAGS=
MKSHLIB=
endif
#
# Personal makefile customizations go in these optional make include files.
#
MY_CONFIG := $(DEPTH)/config/myconfig.mk
MY_RULES := $(DEPTH)/config/myrules.mk
#
# Relative pathname from top-of-tree to current source directory
#
ifneq ($(OS_ARCH),OS2)
REVDEPTH = $(CONFIG_TOOLS)/revdepth
endif
#
# Provide the means to easily override our tool directory locations.
#
ifdef NETSCAPE_HIERARCHY
CONTRIB_BIN := /tools/contrib/bin/
JAVA_BIN := /usr/local/java/bin/
LOCAL_BIN := /usr/local/bin/
LOCAL_SUN4 := /usr/local/sun4/bin/
NS_BIN := /tools/ns/bin/
NS_LIB := /tools/ns/lib
JAVA_LIB := /usr/local/netscape/java/lib
else
NS_LIB := .
JAVA_LIB := .
endif
# Allow NETSCAPE_COMMERCIAL to include XFEPRIVDIR
ifdef NETSCAPE_COMMERCIAL
XFEPRIVDIR := $(DEPTH)/../ns/cmd/xfe/
endif
#
# Default command macros; can be overridden in <arch>.mk.
#
CCC = $(CXX)
CCF = $(CC) $(CFLAGS)
LINK_EXE = $(LINK) $(OS_LFLAGS) $(LFLAGS)
LINK_DLL = $(LINK) $(OS_DLLFLAGS) $(DLLFLAGS)
NFSPWD = $(CONFIG_TOOLS)/nfspwd
PURIFY = purify $(PURIFYOPTIONS)
QUANTIFY = quantify $(QUANTIFYOPTIONS)
ifdef CROSS_COMPILE
XPIDL_COMPILE = $(DIST)/host/bin/host_xpidl$(BIN_SUFFIX)
XPIDL_LINK = $(DIST)/host/bin/host_xpt_link$(BIN_SUFFIX)
else
XPIDL_COMPILE = $(DIST)/bin/xpidl$(BIN_SUFFIX)
XPIDL_LINK = $(DIST)/bin/xpt_link$(BIN_SUFFIX)
endif
ifeq ($(OS_ARCH),OS2)
PATH_SEPARATOR := \;
else
PATH_SEPARATOR := :
ifeq ($(AWT_11),1)
JAVA_PROG = $(NS_BIN)java
JAVAC_ZIP = $(NS_LIB)/classes.zip
else
JAVA_PROG = $(LOCAL_BIN)java
ifdef JDKHOME
JAVAC_ZIP = $(JAVA_LIB)/classes.zip
else
JAVAC_ZIP = $(JAVA_LIB)/javac.zip
endif
endif
TAR = tar
endif # OS2
ifeq ($(OS_ARCH),OpenVMS)
include $(topsrcdir)/config/$(OS_ARCH).mk
endif
XBCFLAGS =
ifdef MOZ_DEBUG
JAVA_OPTIMIZER = -g
XBCFLAGS = -FR$*
endif
REQ_INCLUDES = $(foreach d,$(REQUIRES),-I$(DIST)/include/$d)
INCLUDES = $(LOCAL_INCLUDES) $(REQ_INCLUDES) -I$(PUBLIC) -I$(DIST)/include $(OS_INCLUDES)
LIBNT = $(DIST)/lib/libnt.$(LIB_SUFFIX)
LIBAWT = $(DIST)/lib/libawt.$(LIB_SUFFIX)
LIBMMEDIA = $(DIST)/lib/libmmedia.$(LIB_SUFFIX)
NSPRDIR = nsprpub
LIBNSPR = $(DIST)/lib/libplds3.$(LIB_SUFFIX) $(DIST)/lib/libnspr3.$(LIB_SUFFIX)
PURELIBNSPR = $(DIST)/lib/purelibplds3.$(LIB_SUFFIX) $(DIST)/lib/purelibnspr3.$(LIB_SUFFIX)
ifdef DBMALLOC
LIBNSPR += $(DIST)/lib/libdbmalloc.$(LIB_SUFFIX)
endif
ifeq ($(OS_ARCH),OS2)
ifneq ($(MOZ_WIDGET_TOOLKIT), os2)
LIBNSJAVA = $(DIST)/lib/jrt$(MOZ_BITS)$(VERSION_NUMBER).$(LIB_SUFFIX)
LIBMD = $(DIST)/lib/libjmd.$(LIB_SUFFIX)
LIBJAVA = $(DIST)/lib/libjrt.$(LIB_SUFFIX)
LIBNSPR = $(DIST)/lib/pr$(MOZ_BITS)$(VERSION_NUMBER).$(LIB_SUFFIX)
LIBXP = $(DIST)/lib/libxp.$(LIB_SUFFIX)
endif
else
LIBNSJAVA = $(DIST)/lib/nsjava32.$(LIB_SUFFIX)
endif
CFLAGS = $(OS_CFLAGS)
CXXFLAGS = $(OS_CXXFLAGS)
LDFLAGS = $(OS_LDFLAGS)
# Allow each module to override the *default* optimization settings
# by setting MODULE_OPTIMIZE_FLAGS iff the developer has not given
# arguments to --enable-optimize
ifdef MOZ_OPTIMIZE
ifeq (1,$(MOZ_OPTIMIZE))
ifdef MODULE_OPTIMIZE_FLAGS
CFLAGS += $(MODULE_OPTIMIZE_FLAGS)
CXXFLAGS += $(MODULE_OPTIMIZE_FLAGS)
else
CFLAGS += $(MOZ_OPTIMIZE_FLAGS)
CXXFLAGS += $(MOZ_OPTIMIZE_FLAGS)
endif # MODULE_OPTIMIZE_FLAGS
else
CFLAGS += $(MOZ_OPTIMIZE_FLAGS)
CXXFLAGS += $(MOZ_OPTIMIZE_FLAGS)
endif # MOZ_OPTIMIZE == 1
LDFLAGS += $(MOZ_OPTIMIZE_LDFLAGS)
endif # MOZ_OPTIMIZE
COMPILE_CFLAGS = $(DEFINES) $(INCLUDES) $(XCFLAGS) $(PROFILER_CFLAGS) $(DSO_CFLAGS) $(DSO_PIC_CFLAGS) $(CFLAGS) $(OS_COMPILE_CFLAGS)
COMPILE_CXXFLAGS = $(DEFINES) $(INCLUDES) $(XCFLAGS) $(PROFILER_CFLAGS) $(DSO_CFLAGS) $(DSO_PIC_CFLAGS) $(CXXFLAGS) $(OS_COMPILE_CXXFLAGS)
#
# Some platforms (Solaris) might require builds using either
# (or both) compiler(s).
#
ifdef SHOW_CC_TYPE
COMPILER = _$(notdir $(CC))
endif
#
# Name of the binary code directories
#
# Override defaults
# We need to know where to find the libraries we
# put on the link line for binaries, and should
# we link statically or dynamic? Assuming dynamic for now.
LIBS_DIR = -L$(DIST)/bin -L$(DIST)/lib
# Default location of include files
ifdef MODULE
PUBLIC = $(DIST)/include/$(MODULE)
else
PUBLIC = $(DIST)/include
endif
DEPENDENCIES = .md
MOZ_COMPONENT_LIBS=$(MOZ_COMPONENT_XPCOM_LIBS) $(MOZ_COMPONENT_NSPR_LIBS)
ifdef GC_LEAK_DETECTOR
MOZ_COMPONENT_XPCOM_LIBS += -lboehm
XPCOM_LIBS += -lboehm
endif
ifdef MOZ_DEMANGLE_SYMBOLS
MOZ_COMPONENT_XPCOM_LIBS += -liberty
XPCOM_LIBS += -liberty
endif
ifeq (xpconnect, $(findstring xpconnect, $(BUILD_MODULES)))
DEFINES += -DXPCONNECT_STANDALONE
endif
ifeq ($(OS_ARCH),OS2)
ELF_DYNSTR_GC = echo
else
ELF_DYNSTR_GC = :
endif
ifndef CROSS_COMPILE
ifdef USE_ELF_DYNSTR_GC
ifdef MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS
ELF_DYNSTR_GC = $(DIST)/bin/elf-dynstr-gc
endif
endif
endif
ifneq ($(OS_ARCH),WINNT)
ifdef MOZ_NATIVE_MAKEDEPEND
MKDEPEND_DIR =
MKDEPEND = $(MOZ_NATIVE_MAKEDEPEND)
else
MKDEPEND_DIR = $(CONFIG_TOOLS)/mkdepend
MKDEPEND = $(MKDEPEND_DIR)/mkdepend
ifndef COMPILER_DEPEND
ifneq ($(OS_ARCH),OS2)
MKDEPEND_BUILTIN = $(MKDEPEND_DIR)/mkdepend
endif
endif
endif
endif
#
# Include any personal overrides the user might think are needed.
#
-include $(MY_CONFIG)
######################################################################
# Now test variables that might have been set or overridden by $(MY_CONFIG).
DEFINES += -DOSTYPE=\"$(OS_CONFIG)\"
DEFINES += -DOSARCH=\"$(OS_ARCH)\"
#
# Platform dependent switching off of JAVA
#
ifdef MOZ_JAVA
DEFINES += -DJAVA
ifdef MOZ_OJI
error You can't define both MOZ_JAVA and MOZ_OJI anymore.
endif
JAVA_OR_OJI = 1
JAVA_OR_NSJVM = 1
endif
ifdef NSJVM
JAVA_OR_NSJVM = 1
endif
ifdef MOZ_OJI
DEFINES += -DOJI
JAVA_OR_OJI = 1
endif
ifdef JAVA_OR_NSJVM # XXX fix -- su can't depend on java
MOZ_SMARTUPDATE = 1
endif
ifdef FORTEZZA
DEFINES += -DFORTEZZA
endif
# For profiling
ifdef ENABLE_EAZEL_PROFILER
ifndef INTERNAL_TOOLS
ifneq ($(LIBRARY_NAME), xpt)
ifneq (, $(findstring $(shell $(topsrcdir)/build/unix/print-depth-path.sh | awk -F/ '{ print $$2; }'), $(MOZ_PROFILE_MODULES)))
PROFILER_CFLAGS = $(EAZEL_PROFILER_CFLAGS) -DENABLE_EAZEL_PROFILER
PROFILER_LIBS = $(EAZEL_PROFILER_LIBS)
endif
endif
endif
endif
######################################################################
GARBAGE += $(DEPENDENCIES) $(MKDEPENDENCIES) $(MKDEPENDENCIES).bak core $(wildcard core.[0-9]*) $(wildcard *.err) $(wildcard *.pure) $(wildcard *_pure_*.o) Templates.DB
ifneq (,$(filter-out WINNT, $(OS_ARCH)))
NSINSTALL = $(CONFIG_TOOLS)/nsinstall
ifeq ($(NSDISTMODE),copy)
# copy files, but preserve source mtime
INSTALL = $(NSINSTALL) -t
else
ifeq ($(NSDISTMODE),absolute_symlink)
# install using absolute symbolic links
INSTALL = $(NSINSTALL) -L `$(NFSPWD)`
else
# install using relative symbolic links
INSTALL = $(NSINSTALL) -R
endif
endif
endif
######################################################################
### Java Stuff - see common.mk
######################################################################
# where the bytecode will go
JAVA_DESTPATH = $(DIST)/classes
# where the sources for the module you are compiling are
# default is sun-java/classsrc, override for other modules
ifndef JAVA_SOURCEPATH
JAVA_SOURCEPATH = $(DEPTH)/sun-java/classsrc
endif
ifndef JAVAH_IN_JAVA
ifeq ($(MOZ_OS2_TOOLS),VACPP)
JAVAH_PROG = flipper $(DIST)/bin/javah
else
JAVAH_PROG = $(DIST)/bin/javah
endif
else
JAVAH_PROG = $(JAVA) netscape.tools.jric.Main
endif
ifneq ($(JDKHOME),)
JAVAH_PROG = $(JDKHOME)/bin/javah
JAVAC_PROG = $(JDKHOME)/bin/javac $(JAVAC_FLAGS)
JAVAC = $(JAVAC_PROG)
endif
ifeq ($(STAND_ALONE_JAVA),1)
STAND_ALONE_JAVA_DLL_SUFFIX = s
endif
ifeq ($(MOZ_OS2_TOOLS),OLD_IBM_BUILD) # These DLL names are no longer valid for OS/2
AWTDLL = awt$(MOZ_BITS)$(VERSION_NUMBER).$(DLL_SUFFIX)
AWTSDLL = awt$(MOZ_BITS)$(VERSION_NUMBER)$(STAND_ALONE_JAVA_DLL_SUFFIX).$(DLL_SUFFIX)
CONDLL = con.$(MOZ_BITS)$(VERSION_NUMBER)(DLL_SUFFIX)
JBNDLL = jbn.$(MOZ_BITS)$(VERSION_NUMBER)(DLL_SUFFIX)
JDBCDLL = jdb.$(MOZ_BITS)$(VERSION_NUMBER)(DLL_SUFFIX)
JITDLL = jit.$(MOZ_BITS)$(VERSION_NUMBER)(DLL_SUFFIX)
JPWDLL = jpw.$(MOZ_BITS)$(VERSION_NUMBER)(DLL_SUFFIX)
JRTDLL = jrt$(MOZ_BITS)$(VERSION_NUMBER).$(DLL_SUFFIX)
JSJDLL = jsj.$(MOZ_BITS)$(VERSION_NUMBER)(DLL_SUFFIX)
MMDLL = mm$(MOZ_BITS)$(VERSION_NUMBER).$(DLL_SUFFIX)
NETDLL = net.$(MOZ_BITS)$(VERSION_NUMBER)(DLL_SUFFIX)
NSCDLL = nsc.$(MOZ_BITS)$(VERSION_NUMBER)(DLL_SUFFIX)
ZIPDLL = zip.$(MOZ_BITS)$(VERSION_NUMBER)(DLL_SUFFIX)
ZPWDLL = zpw.$(MOZ_BITS)$(VERSION_NUMBER)(DLL_SUFFIX)
else
AWTDLL = libawt.$(DLL_SUFFIX)
AWTSDLL = libawt$(STAND_ALONE_JAVA_DLL_SUFFIX).$(DLL_SUFFIX)
CONDLL = libcon.$(DLL_SUFFIX)
JBNDLL = libjbn.$(DLL_SUFFIX)
JDBCDLL = libjdb.$(DLL_SUFFIX)
JITDLL = libjit.$(DLL_SUFFIX)
JPWDLL = libjpw.$(DLL_SUFFIX)
JRTDLL = libjrt.$(DLL_SUFFIX)
JSJDLL = libjsj.$(DLL_SUFFIX)
MMDLL = libmm.$(DLL_SUFFIX)
NETDLL = libnet.$(DLL_SUFFIX)
NSCDLL = libnsc.$(DLL_SUFFIX)
ZIPDLL = libzip.$(DLL_SUFFIX)
ZPWDLL = libzpw.$(DLL_SUFFIX)
endif
JAVA_DEFINES += -DAWTSDLL=\"$(AWTSDLL)\" -DCONDLL=\"$(CONDLL)\" -DJBNDLL=\"$(JBNDLL)\" -DJDBDLL=\"$(JDBDLL)\" \
-DJSJDLL=\"$(JSJDLL)\" -DNETDLL=\"$(NETDLL)\" -DNSCDLL=\"$(NSCDLL)\" -DZPWDLL=\"$(ZPWDLL)\" \
-DJAR_NAME=\"$(JAR_NAME)\"
ifeq ($(AWT_11),1)
JAVA_DEFINES += -DAWT_11
else
JAVA_DEFINES += -DAWT_102
endif
#caca:
# @echo $(PROFILER_CFLAGS)

View File

@@ -1,73 +0,0 @@
#!/usr/bin/env perl
#
# cvsco-fast-update.pl cvs co ...
#
# This command parses a "cvs co ..." command and converts it to
# fast-update.pl commands
#
use Getopt::Long;
my $filename = ".fast-update";
my $start_time = time();
my $branch;
my @modules;
my @dirs;
print "$0: (".join(')(',@ARGV).")\n";
while (scalar(@ARGV)) {
my $val = shift(@ARGV);
if ( ($val eq '-A') || ($val eq 'co') || ($val eq 'cvs')
|| ($val eq '-P') || ($val eq '-q')) {
#print "ignore $val\n";
next;
}
elsif (($val eq '-d') || ($val eq '-q') || ($val eq '-z')) {
my $tmp = shift @ARGV;
#print "ignore $val $tmp\n";
next;
}
elsif ($val eq '-r') {
$branch = shift @ARGV;
#print "branch = $branch\n";
next;
}
elsif ($val =~ /^-/) {
print "*** unknown switch: $val\n";
exit 1;
}
if ($val =~ /\//) {
push @dirs, $val;
#print "dir = $val\n";
}
else {
push @modules, $val;
#print "module = $val\n";
}
}
#print "dir = (".join(')(', @dirs)."), "
# . "module = (".join(')(', @modules)."), "
# . "branch = ($branch)\n";
if (!$branch) {
$branch = 'HEAD';
}
my $status = 0;
foreach my $mod (@modules) {
my $cmd = "config/fast-update.pl -r $branch -m $mod";
#print "system \"$cmd\"\n";
$status |= system $cmd;
}
foreach my $d (@dirs) {
my $cmd = "config/fast-update.pl -r $branch -d $d -m all";
#print "system \"$cmd\"\n";
$status |= system $cmd;
}
exit $status;

View File

@@ -1,66 +0,0 @@
#!/usr/bin/env perl
#
# 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 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
#
sub usage {
warn "usage: cvsco.pl <checkout_command>\n"
." <checkout_command> is the entire cvs co command\n"
." (e.g. cvs -q -z3 co SeaMonkeyAll).\n";
}
usage(), die "Error: Not enough arguments\n" if $#ARGV < 0;
usage(), die "Error: Wrong cwd. Must chdir to mozilla/..\n"
unless -r 'mozilla/config/cvsco.pl';
$co_command = join ' ', @ARGV;
$logfile = 'cvslog.txt';
$old_logfile = 'cvslog-old.txt';
sub dblprint {
print LOG @_;
print STDERR @_;
}
if (-r $logfile) {
rename $logfile, $old_logfile;
print "rename $logfile, $old_logfile\n";
}
open LOG, ">$logfile";
open CVSCO, "$co_command|";
dblprint "\ncheckout start: ".scalar(localtime)."\n";
dblprint "$co_command | tee cvslog.txt\n";
while (<CVSCO>) {
dblprint $_;
push @conflicts, $_ if /^C /;
}
if (@conflicts) {
print "Error: cvs conflicts during checkout:\n";
die join('', @conflicts);
}
close(CVSCO) or die "cvs error.\n";
dblprint 'checkout finish: '.scalar(localtime)."\n";

View File

@@ -1,97 +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):
!if !defined(VERBOSE)
.SILENT:
!endif
#//------------------------------------------------------------------------
#//
#// This makefile contains all of the rules necessary to build 16 and 32 bit
#// DLLs.
#//
#//------------------------------------------------------------------------
!if defined(DLL) && !defined(CONFIG_DLL_INC)
CONFIG_DLL_INC=1
!if "$(MOZ_BITS)" == "16"
#//------------------------------------------------------------------------
#//
#// Rule to build a 16-bit DLL using the DLL target
#//
#//------------------------------------------------------------------------
$(DLL): $(OBJDIR) $(OBJS) $(LLIBS) $(RESFILE) $(DEFFILE) $(MISCDEP) makefile.win $(DEPTH)\config\dll.inc
echo +++ make: Creating DLL: $@
# //
# // create response file for the command. The format is:
# // Object files, Output file, Map file, Libraries, DEF file, RES file
# //
echo $(LFLAGS) > $(CFGFILE)
echo /implib:$*.lib >> $(CFGFILE)
for %%d in ($(OBJS)) do echo %%d + >> $(CFGFILE)
echo. >> $(CFGFILE)
echo $(OBJDIR)\$(*B).dll, >> $(CFGFILE)
!ifdef MAPFILE
echo $(MAPFILE), >> $(CFGFILE)
!endif
echo $(LLIBS) $(WIN_LIBS) $(OS_LIBS) >> $(CFGFILE)
!ifdef DEFFILE
echo $(DEFFILE), >> $(CFGFILE)
!else
echo. >> $(CFGFILE)
!endif
!ifdef RESFILE
echo $(RESFILE), >> $(CFGFILE)
!else
echo. >> $(CFGFILE)
!endif
# //
# // execute the commands
# //
$(LD) @$(CFGFILE)
!else
#//------------------------------------------------------------------------
#//
#// Rule to build a 32-bit DLL using the DLL target
#//
#//------------------------------------------------------------------------
$(DLL): $(OBJDIR) $(OBJS) $(LLIBS) $(RESFILE) $(DEFFILE) $(EXTRA_LIBS_LIST_FILE) $(MISCDEP) makefile.win $(DEPTH)\config\dll.inc
echo +++ make: Creating DLL: $@
cat << $(EXTRA_LIBS_LIST_FILE) << >$(CFGFILE)
/NOLOGO /DLL /OUT:$@ /PDB:$(PDBFILE)
!ifdef DEFFILE
/DEF:$(DEFFILE)
!endif
!ifdef MAPFILE
/MAP:$(MAPFILE)
!endif
!if exist(win32.order) && !defined(MOZ_DEBUG) && defined(MOZ_COVERAGE)
/ORDER:@win32.order
!endif
$(LFLAGS)
$(OBJS)
$(RESFILE)
<<NOKEEP
$(LLIBS) $(WIN_LIBS) $(OS_LIBS)
<<NOKEEP
$(LD) @$(CFGFILE)
!endif
!endif # DLL && ! CONFIG_DLL_INC

View File

@@ -1,808 +0,0 @@
# Doxyfile 1.2.8.1
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project
#
# All text after a hash (#) is considered a comment and will be ignored
# The format is:
# TAG = value [value, ...]
# For lists items can also be appended using:
# TAG += value [value, ...]
# Values that contain spaces should be placed between quotes (" ")
#---------------------------------------------------------------------------
# General configuration options
#---------------------------------------------------------------------------
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
# by quotes) that should identify the project.
PROJECT_NAME = "Mozilla"
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER =
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
OUTPUT_DIRECTORY = ./dist/docs
# The OUTPUT_LANGUAGE tag is used to specify the language in which all
# documentation generated by doxygen is written. Doxygen will use this
# information to generate all constant output in the proper language.
# The default language is English, other supported languages are:
# Brazilian, Chinese, Croatian, Czech, Danish, Dutch, Finnish, French,
# German, Hungarian, Italian, Japanese, Korean, Norwegian, Polish,
# Portuguese, Romanian, Russian, Slovak, Slovene, Spanish and Swedish.
OUTPUT_LANGUAGE = English
# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
# documentation are documented, even if no documentation was available.
# Private class members and static file members will be hidden unless
# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
EXTRACT_ALL = NO
# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
# will be included in the documentation.
EXTRACT_PRIVATE = NO
# If the EXTRACT_STATIC tag is set to YES all static members of a file
# will be included in the documentation.
EXTRACT_STATIC = NO
# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
# undocumented members of documented classes, files or namespaces.
# If set to NO (the default) these members will be included in the
# various overviews, but no documentation section is generated.
# This option has no effect if EXTRACT_ALL is enabled.
HIDE_UNDOC_MEMBERS = NO
# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
# undocumented classes that are normally visible in the class hierarchy.
# If set to NO (the default) these class will be included in the various
# overviews. This option has no effect if EXTRACT_ALL is enabled.
HIDE_UNDOC_CLASSES = NO
# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
# include brief member descriptions after the members that are listed in
# the file and class documentation (similar to JavaDoc).
# Set to NO to disable this.
BRIEF_MEMBER_DESC = YES
# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
# the brief description of a member or function before the detailed description.
# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
# brief descriptions will be completely suppressed.
REPEAT_BRIEF = YES
# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
# Doxygen will generate a detailed section even if there is only a brief
# description.
ALWAYS_DETAILED_SEC = NO
# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
# path before files name in the file list and in the header files. If set
# to NO the shortest path that makes the file name unique will be used.
FULL_PATH_NAMES = NO
# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
# can be used to strip a user defined part of the path. Stripping is
# only done if one of the specified strings matches the left-hand part of
# the path. It is allowed to use relative paths in the argument list.
STRIP_FROM_PATH =
# The INTERNAL_DOCS tag determines if documentation
# that is typed after a \internal command is included. If the tag is set
# to NO (the default) then the documentation will be excluded.
# Set it to YES to include the internal documentation.
INTERNAL_DOCS = NO
# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
# generate a class diagram (in Html and LaTeX) for classes with base or
# super classes. Setting the tag to NO turns the diagrams off.
CLASS_DIAGRAMS = YES
# If the SOURCE_BROWSER tag is set to YES then a list of source files will
# be generated. Documented entities will be cross-referenced with these sources.
SOURCE_BROWSER = NO
# Setting the INLINE_SOURCES tag to YES will include the body
# of functions and classes directly in the documentation.
INLINE_SOURCES = NO
# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
# doxygen to hide any special comment blocks from generated source code
# fragments. Normal C and C++ comments will always remain visible.
STRIP_CODE_COMMENTS = YES
# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
# file names in lower case letters. If set to YES upper case letters are also
# allowed. This is useful if you have classes or files whose names only differ
# in case and if your file system supports case sensitive file names. Windows
# users are adviced to set this option to NO.
CASE_SENSE_NAMES = YES
# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
# (but less readable) file names. This can be useful is your file systems
# doesn't support long names like on DOS, Mac, or CD-ROM.
SHORT_NAMES = NO
# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
# will show members with their full class and namespace scopes in the
# documentation. If set to YES the scope will be hidden.
HIDE_SCOPE_NAMES = NO
# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
# will generate a verbatim copy of the header file for each class for
# which an include is specified. Set to NO to disable this.
VERBATIM_HEADERS = YES
# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
# will put list of the files that are included by a file in the documentation
# of that file.
SHOW_INCLUDE_FILES = YES
# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
# will interpret the first line (until the first dot) of a JavaDoc-style
# comment as the brief description. If set to NO, the JavaDoc
# comments will behave just like the Qt-style comments (thus requiring an
# explict @brief command for a brief description.
JAVADOC_AUTOBRIEF = NO
# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
# member inherits the documentation from any documented member that it
# reimplements.
INHERIT_DOCS = YES
# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
# is inserted in the documentation for inline members.
INLINE_INFO = YES
# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
# will sort the (detailed) documentation of file and class members
# alphabetically by member name. If set to NO the members will appear in
# declaration order.
SORT_MEMBER_DOCS = YES
# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
# tag is set to YES, then doxygen will reuse the documentation of the first
# member in the group (if any) for the other members of the group. By default
# all members of a group must be documented explicitly.
DISTRIBUTE_GROUP_DOC = NO
# The TAB_SIZE tag can be used to set the number of spaces in a tab.
# Doxygen uses this value to replace tabs by spaces in code fragments.
TAB_SIZE = 4
# The ENABLED_SECTIONS tag can be used to enable conditional
# documentation sections, marked by \if sectionname ... \endif.
ENABLED_SECTIONS =
# The GENERATE_TODOLIST tag can be used to enable (YES) or
# disable (NO) the todo list. This list is created by putting \todo
# commands in the documentation.
GENERATE_TODOLIST = YES
# The GENERATE_TESTLIST tag can be used to enable (YES) or
# disable (NO) the test list. This list is created by putting \test
# commands in the documentation.
GENERATE_TESTLIST = YES
# The GENERATE_BUGLIST tag can be used to enable (YES) or
# disable (NO) the bug list. This list is created by putting \bug
# commands in the documentation.
GENERATE_BUGLIST = NO
# This tag can be used to specify a number of aliases that acts
# as commands in the documentation. An alias has the form "name=value".
# For example adding "sideeffect=\par Side Effects:\n" will allow you to
# put the command \sideeffect (or @sideeffect) in the documentation, which
# will result in a user defined paragraph with heading "Side Effects:".
# You can put \n's in the value part of an alias to insert newlines.
ALIASES =
# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
# the initial value of a variable or define consist of for it to appear in
# the documentation. If the initializer consists of more lines than specified
# here it will be hidden. Use a value of 0 to hide initializers completely.
# The appearance of the initializer of individual variables and defines in the
# documentation can be controlled using \showinitializer or \hideinitializer
# command in the documentation regardless of this setting.
MAX_INITIALIZER_LINES = 30
# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
# only. Doxygen will then generate output that is more tailored for C.
# For instance some of the names that are used will be different. The list
# of all members will be omitted, etc.
OPTIMIZE_OUTPUT_FOR_C = NO
# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
# at the bottom of the documentation of classes and structs. If set to YES the
# list will mention the files that were used to generate the documentation.
SHOW_USED_FILES = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
# The QUIET tag can be used to turn on/off the messages that are generated
# by doxygen. Possible values are YES and NO. If left blank NO is used.
QUIET = NO
# The WARNINGS tag can be used to turn on/off the warning messages that are
# generated by doxygen. Possible values are YES and NO. If left blank
# NO is used.
WARNINGS = YES
# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
# automatically be disabled.
WARN_IF_UNDOCUMENTED = YES
# The WARN_FORMAT tag determines the format of the warning messages that
# doxygen can produce. The string should contain the $file, $line, and $text
# tags, which will be replaced by the file and line number from which the
# warning originated and the warning text.
WARN_FORMAT =
# The WARN_LOGFILE tag can be used to specify a file to which warning
# and error messages should be written. If left blank the output is written
# to stderr.
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
# The INPUT tag can be used to specify the files and/or directories that contain
# documented source files. You may enter file names like "myfile.cpp" or
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = ./dist/include ./dist/idl
# If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# and *.h) to filter out the source-files in the directories. If left
# blank all files are included.
FILE_PATTERNS = *.idl *.cpp *.h
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
# should be searched for input files as well. Possible values are YES and NO.
# If left blank NO is used.
RECURSIVE = YES
# The EXCLUDE tag can be used to specify files and/or directories that should
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.
EXCLUDE =
# If the value of the INPUT tag contains directories, you can use the
# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
# certain files from those directories.
EXCLUDE_PATTERNS = nsI*.h
# The EXAMPLE_PATH tag can be used to specify one or more files or
# directories that contain example code fragments that are included (see
# the \include command).
EXAMPLE_PATH =
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# and *.h) to filter out the source-files in the directories. If left
# blank all files are included.
EXAMPLE_PATTERNS =
# The IMAGE_PATH tag can be used to specify one or more files or
# directories that contain image that are included in the documentation (see
# the \image command).
IMAGE_PATH =
# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
# by executing (via popen()) the command <filter> <input-file>, where <filter>
# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
# input file. Doxygen will then use the output that the filter program writes
# to standard output.
INPUT_FILTER =
# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
# INPUT_FILTER) will be used to filter the input files when producing source
# files to browse.
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
# of all compounds will be generated. Enable this if the project
# contains a lot of classes, structs, unions or interfaces.
ALPHABETICAL_INDEX = YES
# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
# in which this list will be split (can be a number in the range [1..20])
COLS_IN_ALPHA_INDEX = 5
# In case all classes in a project start with a common prefix, all
# classes will be put under the same header in the alphabetical index.
# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
# should be ignored while generating the index headers.
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
# generate HTML output.
GENERATE_HTML = YES
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `html' will be used as the default path.
HTML_OUTPUT =
# The HTML_HEADER tag can be used to specify a personal HTML header for
# each generated HTML page. If it is left blank doxygen will generate a
# standard header.
HTML_HEADER =
# The HTML_FOOTER tag can be used to specify a personal HTML footer for
# each generated HTML page. If it is left blank doxygen will generate a
# standard footer.
HTML_FOOTER =
# The HTML_STYLESHEET tag can be used to specify a user defined cascading
# style sheet that is used by each HTML page. It can be used to
# fine-tune the look of the HTML output. If the tag is left blank doxygen
# will generate a default style sheet
HTML_STYLESHEET =
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
# files or namespaces will be aligned in HTML using tables. If set to
# NO a bullet list will be used.
HTML_ALIGN_MEMBERS = YES
# If the GENERATE_HTMLHELP tag is set to YES, additional index files
# will be generated that can be used as input for tools like the
# Microsoft HTML help workshop to generate a compressed HTML help file (.chm)
# of the generated HTML documentation.
GENERATE_HTMLHELP = NO
# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
# controls if a separate .chi index file is generated (YES) or that
# it should be included in the master .chm file (NO).
GENERATE_CHI = NO
# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
# controls whether a binary table of contents is generated (YES) or a
# normal table of contents (NO) in the .chm file.
BINARY_TOC = NO
# The TOC_EXPAND flag can be set to YES to add extra items for group members
# to the contents of the Html help documentation and to the tree view.
TOC_EXPAND = NO
# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
# top of each HTML page. The value NO (the default) enables the index and
# the value YES disables it.
DISABLE_INDEX = NO
# This tag can be used to set the number of enum values (range [1..20])
# that doxygen will group on one line in the generated HTML documentation.
ENUM_VALUES_PER_LINE = 4
# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be
# generated containing a tree-like index structure (just like the one that
# is generated for HTML Help). For this to work a browser that supports
# JavaScript and frames is required (for instance Netscape 4.0+
# or Internet explorer 4.0+).
GENERATE_TREEVIEW = NO
# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
# used to set the initial width (in pixels) of the frame in which the tree
# is shown.
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
# generate Latex output.
GENERATE_LATEX = NO
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `latex' will be used as the default path.
LATEX_OUTPUT =
# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
# LaTeX documents. This may be useful for small projects and may help to
# save some trees in general.
COMPACT_LATEX = NO
# The PAPER_TYPE tag can be used to set the paper type that is used
# by the printer. Possible values are: a4, a4wide, letter, legal and
# executive. If left blank a4wide will be used.
PAPER_TYPE = a4wide
# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
# packages that should be included in the LaTeX output.
EXTRA_PACKAGES =
# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
# the generated latex document. The header should contain everything until
# the first chapter. If it is left blank doxygen will generate a
# standard header. Notice: only use this tag if you know what you are doing!
LATEX_HEADER =
# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
# is prepared for conversion to pdf (using ps2pdf). The pdf file will
# contain links (just like the HTML output) instead of page references
# This makes the output suitable for online browsing using a pdf viewer.
PDF_HYPERLINKS = NO
# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
# plain latex in the generated Makefile. Set this option to YES to get a
# higher quality PDF documentation.
USE_PDFLATEX = NO
# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
# command to the generated LaTeX files. This will instruct LaTeX to keep
# running if errors occur, instead of asking the user for help.
# This option is also used when generating formulas in HTML.
LATEX_BATCHMODE = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
# The RTF output is optimised for Word 97 and may not look very pretty with
# other RTF readers or editors.
GENERATE_RTF = NO
# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `rtf' will be used as the default path.
RTF_OUTPUT =
# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
# RTF documents. This may be useful for small projects and may help to
# save some trees in general.
COMPACT_RTF = NO
# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
# will contain hyperlink fields. The RTF file will
# contain links (just like the HTML output) instead of page references.
# This makes the output suitable for online browsing using WORD or other
# programs which support those fields.
# Note: wordpad (write) and others do not support links.
RTF_HYPERLINKS = NO
# Load stylesheet definitions from file. Syntax is similar to doxygen's
# config file, i.e. a series of assigments. You only have to provide
# replacements, missing definitions are set to their default value.
RTF_STYLESHEET_FILE =
# Set optional variables used in the generation of an rtf document.
# Syntax is similar to doxygen's config file.
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
# generate man pages
GENERATE_MAN = NO
# The MAN_OUTPUT tag is used to specify where the man pages will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `man' will be used as the default path.
MAN_OUTPUT =
# The MAN_EXTENSION tag determines the extension that is added to
# the generated man pages (default is the subroutine's section .3)
MAN_EXTENSION =
# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
# then it will generate one additional man file for each entity
# documented in the real man page(s). These additional files
# only source the real man page, but without them the man command
# would be unable to find the correct page. The default is NO.
MAN_LINKS = NO
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
# evaluate all C-preprocessor directives found in the sources and include
# files.
ENABLE_PREPROCESSING = NO
# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
# names in the source code. If set to NO (the default) only conditional
# compilation will be performed. Macro expansion can be done in a controlled
# way by setting EXPAND_ONLY_PREDEF to YES.
MACRO_EXPANSION = NO
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
# then the macro expansion is limited to the macros specified with the
# PREDEFINED and EXPAND_AS_PREDEFINED tags.
EXPAND_ONLY_PREDEF = NO
# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
# in the INCLUDE_PATH (see below) will be search if a #include is found.
SEARCH_INCLUDES = YES
# The INCLUDE_PATH tag can be used to specify one or more directories that
# contain include files that are not input files but should be processed by
# the preprocessor.
INCLUDE_PATH = ./dist/include ./dist/include/nspr
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
# patterns (like *.h and *.hpp) to filter out the header-files in the
# directories. If left blank, the patterns specified with FILE_PATTERNS will
# be used.
INCLUDE_FILE_PATTERNS =
# The PREDEFINED tag can be used to specify one or more macro names that
# are defined before the preprocessor is started (similar to the -D option of
# gcc). The argument of the tag is a list of macros of the form: name
# or name=definition (no spaces). If the definition and the = are
# omitted =1 is assumed.
PREDEFINED =
# If the MACRO_EXPANSION and EXPAND_PREDEF_ONLY tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded.
# The macro definition that is found in the sources will be used.
# Use the PREDEFINED tag if you want to use a different macro definition.
EXPAND_AS_DEFINED =
#---------------------------------------------------------------------------
# Configuration::addtions related to external references
#---------------------------------------------------------------------------
# The TAGFILES tag can be used to specify one or more tagfiles.
TAGFILES =
# When a file name is specified after GENERATE_TAGFILE, doxygen will create
# a tag file that is based on the input files it reads.
GENERATE_TAGFILE =
# If the ALLEXTERNALS tag is set to YES all external classes will be listed
# in the class index. If set to NO only the inherited external classes
# will be listed.
ALLEXTERNALS = NO
# The PERL_PATH should be the absolute path and name of the perl script
# interpreter (i.e. the result of `which perl').
PERL_PATH =
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
# available from the path. This tool is part of Graphviz, a graph visualization
# toolkit from AT&T and Lucent Bell Labs. The other options in this section
# have no effect if this option is set to NO (the default)
HAVE_DOT = NO
# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for each documented class showing the direct and
# indirect inheritance relations. Setting this tag to YES will force the
# the CLASS_DIAGRAMS tag to NO.
CLASS_GRAPH = YES
# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for each documented class showing the direct and
# indirect implementation dependencies (inheritance, containment, and
# class references variables) of the class with other documented classes.
COLLABORATION_GRAPH = YES
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
# tags are set to YES then doxygen will generate a graph for each documented
# file showing the direct and indirect include dependencies of the file with
# other documented files.
INCLUDE_GRAPH = YES
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
# documented header file showing the documented files that directly or
# indirectly include this file.
INCLUDED_BY_GRAPH = YES
# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
# will graphical hierarchy of all classes instead of a textual one.
GRAPHICAL_HIERARCHY = YES
# The tag DOT_PATH can be used to specify the path where the dot tool can be
# found. If left blank, it is assumed the dot tool can be found on the path.
DOT_PATH =
# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width
# (in pixels) of the graphs generated by dot. If a graph becomes larger than
# this value, doxygen will try to truncate the graph, so that it fits within
# the specified constraint. Beware that most browsers cannot cope with very
# large images.
MAX_DOT_GRAPH_WIDTH = 1024
# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height
# (in pixels) of the graphs generated by dot. If a graph becomes larger than
# this value, doxygen will try to truncate the graph, so that it fits within
# the specified constraint. Beware that most browsers cannot cope with very
# large images.
MAX_DOT_GRAPH_HEIGHT = 1024
# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
# generate a legend page explaining the meaning of the various boxes and
# arrows in the dot generated graphs.
GENERATE_LEGEND = YES
# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
# remove the intermedate dot files that are used to generate
# the various graphs.
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to the search engine
#---------------------------------------------------------------------------
# The SEARCHENGINE tag specifies whether or not a search engine should be
# used. If set to NO the values of all tags below this one will be ignored.
SEARCHENGINE = NO
# The CGI_NAME tag should be the name of the CGI script that
# starts the search engine (doxysearch) with the correct parameters.
# A script with this name will be generated by doxygen.
CGI_NAME =
# The CGI_URL tag should be the absolute URL to the directory where the
# cgi binaries are located. See the documentation of your http daemon for
# details.
CGI_URL =
# The DOC_URL tag should be the absolute URL to the directory where the
# documentation is located. If left blank the absolute path to the
# documentation, with file:// prepended to it, will be used.
DOC_URL =
# The DOC_ABSPATH tag should be the absolute path to the directory where the
# documentation is located. If left blank the directory on the local machine
# will be used.
DOC_ABSPATH =
# The BIN_ABSPATH tag must point to the directory where the doxysearch binary
# is installed.
BIN_ABSPATH =
# The EXT_DOC_PATHS tag can be used to specify one or more paths to
# documentation generated for other projects. This allows doxysearch to search
# the documentation for these projects as well.
EXT_DOC_PATHS =

File diff suppressed because it is too large Load Diff

View File

@@ -1,91 +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):
!if !defined(VERBOSE)
.SILENT:
!endif
#//------------------------------------------------------------------------
#//
#// This makefile contains all of the rules necessary to build 16 and 32 bit
#// executables.
#//
#//------------------------------------------------------------------------
!if defined(PROGRAM) && !defined(CONFIG_EXE_INC)
CONFIG_EXE_INC=1
!if "$(MOZ_BITS)" == "16"
#//------------------------------------------------------------------------
#//
#// Rule to build a 16-bit executable using the PROGRAM target
#//
#//------------------------------------------------------------------------
$(PROGRAM):: $(OBJDIR) $(OBJS) $(LLIBS) $(RESFILE) $(DEFFILE) $(MISCDEP) makefile.win $(DEPTH)\config\exe.inc
echo +++ make: Creating EXE: $@
# //
# // create response file for the command. The format is:
# // Object files, Output file, Map file, Libraries, DEF file, RES file
# //
echo $(LFLAGS) > $(CFGFILE)
for %%d in ($(OBJS)) do echo %%d + >> $(CFGFILE)
echo. >> $(CFGFILE)
echo $(OBJDIR)\$(*B).exe, >> $(CFGFILE)
echo $(MAPFILE), >> $(CFGFILE)
echo $(LLIBS) $(WIN_LIBS) $(OS_LIBS)>> $(CFGFILE)
!ifdef DEFFILE
echo $(DEFFILE), >> $(CFGFILE)
!else
echo. >> $(CFGFILE)
!endif
!ifdef RESFILE
echo $(RESFILE), >> $(CFGFILE)
!else
echo. >> $(CFGFILE)
!endif
# //
# // execute the command
# //
$(LD) /ST:8192 @$(CFGFILE)
!else
#//------------------------------------------------------------------------
#//
#// Rule to build a 32-bit executable using the PROGRAM target
#//
#//------------------------------------------------------------------------
$(PROGRAM):: $(OBJDIR) $(OBJS) $(LLIBS) $(RESFILE) $(DEFFILE) $(EXTRA_LIBS_LIST_FILE) $(MISCDEP) makefile.win $(DEPTH)\config\exe.inc
echo +++ make: Creating EXE: $@
cat << $(EXTRA_LIBS_LIST_FILE) << >$(CFGFILE)
/NOLOGO /OUT:$@ /PDB:$(PDBFILE)
!ifdef DEFFILE
/DEF:$(DEFFILE)
!endif
!ifdef MAPFILE
/MAP:$(MAPFILE)
!endif
$(LFLAGS)
$(OBJS)
$(RESFILE)
<<NOKEEP
$(LLIBS) $(WIN_LIBS) $(OS_LIBS)
<<NOKEEP
$(LD) @$(CFGFILE)
!endif
!endif # PROGRAM && ! CONFIG_EXE_INC

View File

@@ -1,290 +0,0 @@
#!/usr/bin/env perl
#
# fast-update.pl [-h hours] [-m module] [-r branch]
#
# This command, fast-update.pl, does a (fast) cvs update of the current
# directory. It is fast because the cvs up command is only run on those
# directories / sub-directories where changes have occured since the
# last fast-update.
#
# The last update time is stored in a ".fast-update" file in the current
# directory. Thus one can choose to only fast-update a branch of the tree
# and then fast-update the whole tree later.
#
# The first time this command is run in a directory the last cvs update
# time is assumed to be the timestamp of the CVS/Entries file.
#
use Getopt::Long;
my $filename = ".fast-update";
my $start_time = time();
my $branch;
my $module="SeaMonkeyAll";
my $maxdirs=5;
my $rootdir = "";
my $hours = 0;
my $dir = '';
&GetOptions('d=s' => \$dir, 'h=s' => \$hours, 'm=s' => \$module, 'r=s' => \$branch);
#print "dir = ($dir), hours = ($hours), module = ($module), branch = ($branch)\n";
if ($dir) {
chdir '..';
chdir $dir;
}
if (!$hours) {
$hours = get_hours_since_last_update();
}
if (!$hours) {
$hours = 24;
}
# pull out the current directory
# if there is no such file, this will all just fail, which is ok
open REPOSITORY, "<CVS/Repository";
$rootdir = <REPOSITORY>;
chop $rootdir;
close REPOSITORY;
# try to guess the current branch by looking at all the
# files in CVS/Entries
if (!$branch) {
my $foundbranch =0;
open ENTRIES, "<CVS/Entries";
while (<ENTRIES>) {
chop;
@entry = split(/\//);
my ($type, $file, $ver, $date, $unknown, $tag) = @entry;
# the tag usually starts with "T"
$thisbranch = substr($tag, 1);
# look for more than one branch
if ($type eq "") {
if ($foundbranch and ($lastbranch ne $thisbranch)) {
die "Multiple branches in this directory, cannot determine branch\n";
}
$foundbranch = 1;
$lastbranch = $thisbranch;
}
}
$branch = $lastbranch if ($foundbranch);
close ENTRIES;
}
# check for a static Tag
# (at least that is what I think this does)
# (bonsai does not report changes when the Tag starts with 'N')
# (I do not really understand all this)
if ($branch) {
open TAG, "<CVS/Tag";
my $line = <TAG>;
if ($line =~ /^N/) {
print "static tag, ignore branch\n";
$branch = '';
}
close TAG;
}
my $url = "http://bonsai.mozilla.org/cvsquery.cgi?module=${module}&branch=${branch}&branchtype=match&sortby=File&date=hours&hours=${hours}&cvsroot=%2Fcvsroot";
my $esc_dir = escape($dir);
if ($dir) {
$url .= "&dir=$esc_dir";
}
print "Contacting bonsai for updates to ${module} ";
print "on the ${branch} branch " if ($branch);
print "in the last ${hours} hours ";
print "within the $rootdir directory..\n" if ($rootdir);
#print "url = $url\n";
# first try wget, then try lynx
# this is my lame way of checking if a command succeeded AND getting
# output from it. I'd love a better way. -alecf@netscape.com
my $have_checkins = 0;
@args = ("wget", "--quiet", "--output-document=-", "\"$url\"");
open CHECKINS,"wget --quiet --output-document=- \"$url\"|" or
die "Error opening wget: $!\n";
$header = <CHECKINS> and $have_checkins=1;
if (!$have_checkins) {
open CHECKINS, "lynx -source '$url'|" or die "Error opening lynx: $!\n";
$header = <CHECKINS> and $have_checkins = 1;
}
$have_checkins || die "Couldn't get checkins\n";
open REALOUT, ">.fast-update.bonsai.html" || die "argh $!\n";
print "Processing checkins...";
while (<CHECKINS>) {
print REALOUT $_;
if (/js_file_menu\((.*),\s*\'(.*)\'\s*,\s*(.*),\s*(.*),\s*(.*),\s*(.*)\)/) {
my ($repos, $dir, $file, $rev, $branch, $event) =
($1, $2, $3, $4, $5, $6);
push @dirlist, $dir;
}
}
print "done.\n";
close REALOUT;
unlink '.fast-update.bonsai.html';
my $lastdir = "";
my @uniquedirs;
foreach $dir (sort @dirlist) {
next if ($lastdir eq $dir);
my $strippeddir = "";
$lastdir = $dir;
# now strip out $rootdir
if ($rootdir) {
# only deal with directories that start with $rootdir
if (substr($dir, 0, (length $rootdir)) eq $rootdir) {
if ($dir eq $rootdir) {
$strippeddir = ".";
} else {
$strippeddir = substr($dir,(length $rootdir) + 1 );
}
}
} else {
$strippeddir = $dir;
}
if ($strippeddir) {
push @uniquedirs, $strippeddir;
}
}
my $status = 0;
if (scalar(@uniquedirs)) {
print "Updating tree..($#uniquedirs directories)\n";
my $i=0;
my $dirlist = "";
foreach $dir (sort @uniquedirs) {
if (!-d $dir) {
cvs_up_parent($dir);
}
$dirlist .= "\"$dir\" ";
$i++;
if ($i == 5) {
$status |= spawn("cvs up -l -d $dirlist\n");
$dirlist = "";
$i=0;
}
}
if ($i) {
$status |= spawn("cvs up -l -d $dirlist\n");
}
}
else {
print "No directories to update.\n";
}
close CHECKINS;
if ($status == 0) {
set_last_update_time($filename, $start_time);
print "successfully updated $module/$dir\n";
}
else {
print "error while updating $module/$dir\n";
}
exit $status;
sub cvs_up_parent {
my ($dir) = @_;
my $pdir = $dir;
$pdir =~ s|/*[^/]*/*$||;
#$pdir =~ s|/$||;
#$pdir =~ s|[^/]*$||;
#$pdir =~ s|/$||;
if (!$pdir) {
$pdir = '.';
}
if (!-d $pdir) {
cvs_up_parent($pdir);
}
$status |= system "cvs up -d -l $pdir\n";
}
sub get_hours_since_last_update {
# get the last time this command was run
my $last_time = get_last_update_time($filename);
if (!defined($last_time)) {
#
# This must be the first use of fast-update.pl so use the timestamp
# of a file that:
# 1) is managed by cvs
# 2) the user should not be tampering with
# 3) that gets updated fairly frequently.
#
$last_time = (stat "CVS/Entries")[9];
if (defined($last_time)) {
$last_time -= 3600*24; # for safety go back a bit
print "use fallback time of ".localtime($last_time)."\n";
}
}
if(!defined($last_time)) {
print "last_time not defined\n";
}
# figure the hours (rounded up) since the last fast-update
my $hours = int(($start_time - $last_time + 3600)/3600);
print "last updated $hours hour(s) ago at ".localtime($last_time)."\n";
return $hours;
}
# returns time of last update if known
sub get_last_update_time {
my ($filename) = @_;
if (!-r $filename) {
return undef;
}
open FILE, "<$filename";
my $line = <FILE>;
if (!defined(line)) {
return undef;
}
# print "line = $line";
$line =~ /^(\d+):/;
return $1;
}
sub set_last_update_time {
my ($filename, $time) = @_;
my $time_str = localtime($time);
open FILE, ">$filename";
print FILE "$time: last fast-update.pl at ".localtime($time)."\n";
}
# URL-encode data
sub escape {
my ($toencode) = @_;
$toencode=~s/([^a-zA-Z0-9_.-])/uc sprintf("%%%02x",ord($1))/eg;
return $toencode;
}
sub spawn {
my ($procname) = @_;
return system "$procname";
}

View File

@@ -1,57 +0,0 @@
#!perl5
#
# 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):
#
# By John Bazik
#
# Usage: $cwd = &fastcwd;
#
# This is a faster version of getcwd. It's also more dangerous because
# you might chdir out of a directory that you can't chdir back into.
#
sub fastcwd {
local($odev, $oino, $cdev, $cino, $tdev, $tino);
local(@path, $path);
local(*DIR);
($cdev, $cino) = stat('.');
for (;;) {
($odev, $oino) = ($cdev, $cino);
chdir('..');
($cdev, $cino) = stat('.');
last if $odev == $cdev && $oino == $cino;
opendir(DIR, '.');
for (;;) {
$_ = readdir(DIR);
next if $_ eq '.';
next if $_ eq '..';
last unless $_;
($tdev, $tino) = lstat($_);
last unless $tdev != $odev || $tino != $oino;
}
closedir(DIR);
unshift(@path, $_);
}
chdir($path = '/' . join('/', @path));
$path;
}
1;

View File

@@ -1,218 +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):
#
##############################################################################
##
## Name: glibcversion.sh - Print __GLIBC__ version if gnu libc 2 is
## found.
##
## Description: This script is needed by the mozilla build system. It needs
## to determine whether the current platform (mostly the
## various linux "platforms") are based on the gnu libc2. This
## information is later used in mozilla to determine whether
## gnu libc 2 specific "features" need to be handled, such
## as broken locales.
##
## Author: Ramiro Estrugo <ramiro@netscape.com>
##
##############################################################################
##
## Command Line Flags Supported:
##
## -g | --is-glibc2: Print True/False if detected __GLIBC__.
##
## -v | --print-version: Print value of __GLIBC__ if found, or none.
##
## -o | --set-object-name: Set object name for current system.
## -cc | --set-compiler: Set compiler for building test program.
##
##
## Constants
##
GLIBC_PROG_PREFIX=./get_glibc_info
##
## Defaults
##
GLIBC_PRINT_IS_GLIBC2=False
GLIBC_PRINT_VERSION=False
GLIBC_OBJECT_NAME=`uname`-`uname -r`
GLIBC_CC=cc
function glibc_usage()
{
echo
echo "Usage: `basename $0` [options]"
echo
echo " -g, --is-glibc2: Print True/False if detected __GLIBC__."
echo
echo " -v, --print-version: Print value of __GLIBC__ if found, or none."
echo
echo " -o, --set-object-name: Set object name for current system."
echo " -cc, --set-compiler: Set compiler for building test program."
echo
echo " -h, --help: Print this blurb."
echo
echo "The default is '-v' if no options are given."
echo
}
##
## Parse the command line
##
while [ "$*" ]; do
case $1 in
-h | --help)
shift
glibc_usage
exit 0
;;
-g | --is-glibc2)
shift
GLIBC_PRINT_IS_GLIBC2=True
;;
-v | --print-version)
shift
GLIBC_PRINT_VERSION=True
;;
-o | --set-object-name)
shift
GLIBC_OBJECT_NAME="$1"
shift
;;
-cc | --set-compiler)
shift
GLIBC_CC="$1"
shift
;;
-*)
echo "`basename $0`: invalid option '$1'"
shift
glibc_usage
exit 0
;;
esac
done
##
## Motif info program name
##
GLIBC_PROG="$GLIBC_PROG_PREFIX"_"$GLIBC_OBJECT_NAME"
GLIBC_SRC="$GLIBC_PROG_PREFIX"_"$GLIBC_OBJECT_NAME.c"
##
## Cleanup the dummy test source/program
##
function glibc_cleanup()
{
true
# rm -f $GLIBC_PROG
# rm -f $GLIBC_SRC
}
glibc_cleanup
if [ ! -f $GLIBC_SRC ]
then
cat << EOF > $GLIBC_SRC
#include <stdio.h>
int main(int argc,char ** argv)
{
#ifdef __GLIBC__
fprintf(stdout,"%d\n",__GLIBC__);
#else
fprintf(stdout,"none\n");
#endif
return 0;
}
EOF
fi
if [ ! -f $GLIBC_SRC ]
then
echo
echo "Could not create test program source $GLIBC_SRC."
echo
glibc_cleanup
exit
fi
##
## Compile the dummy test program if needed
##
if [ ! -x $GLIBC_PROG ]
then
$GLIBC_CC -o $GLIBC_PROG $GLIBC_SRC
fi
if [ ! -x $GLIBC_PROG ]
then
echo
echo "Could not create test program $GLIBC_PROG."
echo
glibc_cleanup
exit
fi
##
## Execute the dummy test program
##
GLIBC_PROG_OUTPUT=`$GLIBC_PROG`
##
## -g | --is-glibc2
##
if [ "$GLIBC_PRINT_IS_GLIBC2" = "True" ]
then
if [ "$GLIBC_PROG_OUTPUT" = "2" ]
then
echo True
else
echo False
fi
glibc_cleanup
exit 0
fi
echo $GLIBC_PROG_OUTPUT
glibc_cleanup

File diff suppressed because it is too large Load Diff

View File

@@ -1,24 +0,0 @@
@echo off
rem The contents of this file are subject to the Netscape Public
rem License Version 1.1 (the "License"); you may not use this file
rem except in compliance with the License. You may obtain a copy of
rem the License at http://www.mozilla.org/NPL/
rem
rem Software distributed under the License is distributed on an "AS
rem IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
rem implied. See the License for the specific language governing
rem rights and limitations under the License.
rem
rem The Original Code is mozilla.org code.
rem
rem The Initial Developer of the Original Code is Netscape
rem Communications Corporation. Portions created by Netscape are
rem Copyright (C) 1998 Netscape Communications Corporation. All
rem Rights Reserved.
rem
rem Contributor(s):
@echo on
@if not exist %2\nul mkdir %2
@rm -f %2\%1
@cp %1 %2

View File

@@ -1,175 +0,0 @@
#!perl -w
#
# 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):
# Sean Su <ssu@netscape.com>
#
use Cwd;
return(1);
sub InstallChrome()
{
# inOsType - type of OS being run under
# inType - type of reg file to create (jar or resource)
# inTargetPath - path to where the bin\chrome dir
($inOsType, $inType, $inTargetPath) = @_;
my($mOutFilenameTmp) = "installed-chrome_tmp.txt";
my($mFinalFilename) = "installed-chrome.txt";
if($inOsType =~ /win32/i)
{
$gPathDelimiter="\\";
}
elsif($inOsType =~ /mac/i)
{
$gPathDelimiter=":";
}
elsif($inOsType =~ /unix/i)
{
$gPathDelimiter="/";
}
if($inOsType =~ /win32/i)
{
# Convert all '/' to '\\' or else win32 will have problems
$inTargetPath =~ s/\//\\/g;
}
# Make sure $inTargetPath exists
if(!(-e "$inTargetPath"))
{
return(1);
}
open(fpOutFileTmp, ">$inTargetPath$gPathDelimiter$mOutFilenameTmp") || die "\nCould not open $inTargetPath$gPathDelimiter$mOutFilenameTmp: $!\n";
CreateChromeTextFile($inType, $inTargetPath, "locales", "loc");
CreateChromeTextFile($inType, $inTargetPath, "packages", "pkg");
CreateChromeTextFile($inType, $inTargetPath, "skins", "skn");
if(-e "$inTargetPath$gPathDelimiter$mFinalFilename")
{
open(fpInFile, "$inTargetPath$gPathDelimiter$mFinalFilename") || die "\nCould not open $inTargetPath$gPathDelimiter$mFinalFilename: $!\n";
while($line = <fpInFile>)
{
print fpOutFileTmp "$line";
}
close(fpInFile);
unlink "$inTargetPath$gPathDelimiter$mFinalFilename";
}
close(fpOutFileTmp);
if(!rename("$inTargetPath$gPathDelimiter$mOutFilenameTmp", "$inTargetPath$gPathDelimiter$mFinalFilename"))
{
die "\n Error $!: rename (\"$inTargetPath$gPathDelimiter$mOutFilenameTmp\", \"$inTargetPath$gPathDelimiter$mFinalFilename\")\n";
}
return(0);
}
sub CreateChromeTextFile()
{
my($inType, $inTargetPath, $inChromeDir, $inExt) = @_;
@dlChromeDir = <$inTargetPath\\$inChromeDir\\*>;
foreach $dir (@dlChromeDir)
{
if($inOsType =~ /win32/i)
{
# Convert all '/' to '\\' or else win32 will have problems
$dir =~ s/\//\\/g;
}
# Get the leaf dir name from full path
if($inOsType =~ /win32/i)
{
@dirItem = split(/\\/, $dir);
}
elsif($inOsType =~ /mac/i)
{
@dirItem = split(/:/, $dir);
}
elsif($inOsType =~ /unix/i)
{
@dirItem = split(/\//, $dir);
}
$dirName = $dirItem[$#dirItem];
# Make sure the path is valid
if(-d "$dir")
{
if($inType =~ /jar/i)
{
if(CheckDir("content", "$dir"))
{
print fpOutFileTmp "content,install,url,jar:resource:/chrome/$dirName.$inExt!/\n";
}
if(CheckDir("locale", "$dir"))
{
print fpOutFileTmp "locale,install,url,jar:resource:/chrome/$dirName.$inExt!/\n";
}
if(CheckDir("skin", "$dir"))
{
print fpOutFileTmp "skin,install,url,jar:resource:/chrome/$dirName.$inExt!/\n";
}
}
else
{
if(CheckDir("content", "$dir"))
{
print fpOutFileTmp "content,install,url,resource:/chrome/$inChromeDir/$dirName/\n";
}
if(CheckDir("locale", "$dir"))
{
print fpOutFileTmp "locale,install,url,resource:/chrome/$inChromeDir/$dirName/\n";
}
if(CheckDir("skin", "$dir"))
{
print fpOutFileTmp "skin,install,url,resource:/chrome/$inChromeDir/$dirName/\n";
}
}
}
}
return(0);
}
sub CheckDir()
{
my($dirType, $inPath) = @_;
@dlDirType = <$inPath$gPathDelimiter*>;
foreach $dir (@dlDirType)
{
if($inOsType =~ /win32/i)
{
# Convert all '/' to '\\' or else win32 will have problems
$dir =~ s/\//\\/g;
}
if(-d "$dir$gPathDelimiter$dirType")
{
return(1);
}
}
return(0);
}

View File

@@ -1,44 +0,0 @@
#!perl -w
#
# 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):
# Sean Su <ssu@netscape.com>
#
# Make sure there are at least two arguments
if($#ARGV < 1)
{
die "usage: $0 <os> <type> <target path>
os : mac, unix, win32
type : jar or resource
target path: path to where the chrome dir is at
ie: $0 win32 resource $ENV{MOZ_SRC}\\mozilla\\dist\\win32_d.obj\\bin\\chrome
\n";
}
require "$ENV{MOZ_SRC}/mozilla/config/installcfunc.pl";
if(&InstallChrome($ARGV[0], $ARGV[1], $ARGV[2]) != 0)
{
die "\n Error: InstallChrome($ARGV[0], $ARGV[1], $ARGV[2]): $!\n";
}

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.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):
#
INCLUDED_INSURE_MK = 1
INSURE_MATCH_SCRIPT=$(topsrcdir)/build/autoconf/match-dir.sh
INSURE_EXCLUDE=$(shell $(INSURE_MATCH_SCRIPT) $(MOZ_INSURE_EXCLUDE_DIRS))
INSURE_INCLUDE=$(shell $(INSURE_MATCH_SCRIPT) $(MOZ_INSURE_DIRS))
ifeq ($(INSURE_EXCLUDE),0)
ifeq ($(INSURE_INCLUDE),1)
CC := $(MOZ_INSURE)
CXX := $(MOZ_INSURE)
endif # INSURE_INCLUDE == 1
endif # INSURE_EXCLUDE == 0

View File

@@ -1,238 +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):
!if !defined(VERBOSE)
.SILENT:
!endif
#//------------------------------------------------------------------------
#//
#// This makefile contains all of the rules necessary to build Java Header
#// and Stub files
#//
#//------------------------------------------------------------------------
!if !defined(CONFIG_JAVA_INC)
CONFIG_JAVA_INC=1
#//------------------------------------------------------------------------
#// Setup to generate Mac java headers (checkout ns/lib/mac/Java
#//------------------------------------------------------------------------
!ifdef MOZ_GENMAC
MAC_JAVA_HEADERS_DIR = $(DEPTH)/lib/mac/Java
#//------------------------------------------------------------------------
#// Figure out how to do the pull.
#//------------------------------------------------------------------------
!if "$(MOZ_BRANCH)" != ""
CVS_BRANCH=-r $(MOZ_BRANCH)
HAVE_BRANCH=1
!else
HAVE_BRANCH=0
!endif
!if "$(MOZ_TIP)" != ""
CVS_BRANCH=-A
!endif
!if "$(MOZ_DATE)" != ""
CVS_BRANCH=-D "$(MOZ_DATE)"
HAVE_DATE=1
!else
HAVE_DATE=0
!endif
!if $(HAVE_DATE) && $(HAVE_BRANCH)
ERR_MESSAGE=$(ERR_MESSAGE)^
Cannot specify both MOZ_BRANCH and MOZ_DATE
!endif
$(MAC_JAVA_HEADERS_DIR):
@echo +++ Checking out $(MAC_JAVA_HEADERS_DIR) +++
$(PERL) $(DEPTH)/config/cvsco.pl $(CVS_BRANCH) ns/lib/mac/Java
@echo +++ Done Checking out $(MAC_JAVA_HEADERS_DIR) +++
!endif
!ifdef JDK_GEN
!ifdef JAVA_OR_OJI
#//------------------------------------------------------------------------
#//
#// Rule to generate Java header files using javah.
#//
#//------------------------------------------------------------------------
$(JDK_GEN):: display_java_header_msg
!$(JAVAH) -d _gen $@
!ifdef NSBUILDROOT
LINCS = $(LINCS) -I$(JDK_GEN_DIR) -I$(XPDIST)
!else
LINCS = $(LINCS) -I$(JDK_GEN_DIR)
!endif
display_java_header_msg:
echo +++ make: Generating java header files...
!ifdef MOZ_GENMAC
$(JDK_GEN)::display_java_header_msg_mac $(MAC_JAVA_HEADERS_DIR)
echo +++ make: creating JDK header for $@
!$(JAVAH) -mac -d $(MAC_JAVA_HEADERS_DIR)/_gen $@
display_java_header_msg_mac:
echo +++ make: Generating Macintosh JDK header files +++
!endif
!endif # JAVA_OR_OJI
!endif
!ifdef JDK_GEN
!ifdef JAVA_OR_OJI
#//------------------------------------------------------------------------
#//
#// Rules to generate Java stub files using javah.
#//
#//------------------------------------------------------------------------
$(JDK_GEN)::display_java_stub_msg
!$(JAVAH) -stubs -d _stubs $@
display_java_stub_msg:
echo +++ make: Generating java stub files...
!ifdef MOZ_GENMAC
$(JDK_GEN)::display_java_stub_msg_mac $(MAC_JAVA_HEADERS_DIR)
echo +++ make: creating JDK stub for $@
!$(JAVAH) -mac -stubs -d $(MAC_JAVA_HEADERS_DIR)/_stubs $@
display_java_stub_msg_mac:
echo +++ make: Generating Macintosh JDK stub files +++
!endif
export:: $(JDK_GEN)
!endif # JAVA_OR_OJI
!endif
!ifdef JAVA_LIBSTUB_FILES
!ifdef JAVA_OR_OJI
#//------------------------------------------------------------------------
#//
#// Rules to generate libstubs.c using javah.
#//
#//------------------------------------------------------------------------
libstubs.c::$(JAVA_LIBSTUB_FILES)
echo +++ make: Generating libstubs.c...
$(JAVAH) -o libstubs.c -stubs $**
stubs$(MOZ_BITS).c::$(JAVA_LIBSTUB_FILES)
echo +++ make: Generating stubs$(MOZ_BITS).c...
$(JAVAH) -o stubs$(MOZ_BITS).c -stubs $**
!endif # JAVA_OR_OJI
!endif
!ifdef JRI_GEN
!ifdef JAVA_OR_OJI
#//------------------------------------------------------------------------
#//
#// Rule to generate JRI header files using javah.
#//
#//------------------------------------------------------------------------
$(JRI_GEN):: display_jri_header_msg
!$(JAVAH) -jri -d _jri $@
!ifdef NSBUILDROOT
LINCS = $(LINCS) -I$(JRI_GEN_DIR) -I$(XPDIST)
!else
LINCS = $(LINCS) -I$(JRI_GEN_DIR)
!endif
display_jri_header_msg:
echo +++ make: Generating JRI header files...
!ifdef MOZ_GENMAC
$(JRI_GEN)::display_jri_header_msg_mac $(MAC_JAVA_HEADERS_DIR)
echo +++ make: creating JRI header for $@
!$(JAVAH) -mac -jri -d $(MAC_JAVA_HEADERS_DIR)/_jri $@
display_jri_header_msg_mac:
echo +++ make: Generating Macintosh java JRI header files +++
!endif
!endif # JAVA_OR_OJI
!endif
!ifdef JRI_GEN
!ifdef JAVA_OR_OJI
#//------------------------------------------------------------------------
#//
#// Rules to generate JRI stub files using javah.
#//
#//------------------------------------------------------------------------
$(JRI_GEN)::display_jri_stub_msg
!$(JAVAH) -stubs -jri -d _jri $@
display_jri_stub_msg:
echo +++ make: Generating JRI stub files...
!ifdef MOZ_GENMAC
$(JRI_GEN)::display_jri_stub_msg_mac $(MAC_JAVA_HEADERS_DIR)
echo +++ make: creating JRI stub for $@
!$(JAVAH) -mac -jri -stubs -d $(MAC_JAVA_HEADERS_DIR)/_jri $@
display_jri_stub_msg_mac:
echo +++ make: Generating Macintosh java JRI stub files +++
!endif
export:: $(JRI_GEN)
!endif # JAVA_OR_OJI
!endif
!ifdef JNI_GEN
!ifdef JAVA_OR_OJI
#//------------------------------------------------------------------------
#//
#// Rule to generate JNI header files using javah.
#//
#//------------------------------------------------------------------------
$(JNI_GEN):: display_jni_header_msg
!echo $(JAVAH) -jni -d _jni $@
!$(JAVAH) -jni -d _jni $@
!ifdef NSBUILDROOT
LINCS = $(LINCS) -I$(JNI_GEN_DIR) -I$(XPDIST)
!else
LINCS = $(LINCS) -I$(JNI_GEN_DIR)
!endif
display_jni_header_msg:
echo +++ make: Generating JNI header files...
!ifdef MOZ_GENMAC
$(JNI_GEN)::display_jni_header_msg_mac $(MAC_JAVA_HEADERS_DIR)
echo +++ make: creating JRI header for $@
!$(JAVAH) -mac -jni -d $(MAC_JAVA_HEADERS_DIR)/_jni $@
display_jni_header_msg_mac:
echo +++ make: Generating Macintosh java JNI header files +++
!endif
!endif # JAVA_OR_OJI
export:: $(JNI_GEN)
!endif # JNI_GEN
!endif # CONFIG_JAVA_INC

View File

@@ -1,168 +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):
# 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>
!ifdef JDIRS
!if defined(JAVA_OR_NSJVM)
#//------------------------------------------------------------------------
#//
#// Rule to recursively make all subdirectories specified by the JDIRS target
#//
#//------------------------------------------------------------------------
export:: $(JAVA_DESTPATH) $(JDIRS)
$(JDIRS):: $(JAVA_DESTPATH) $(TMPDIR)
!if "$(WINOS)" == "WIN95"
JDIRS = $(JDIRS:/=\)
!endif
!if defined(NO_CAFE)
$(JDIRS)::
@echo +++ make: building package: $@
@echo $(JAVAC_PROG) $(JAVAC_FLAGS) > $(TMPDIR)\javac.cfg
-@$(DEPTH)\config\buildpkg $(TMPDIR)\javac.cfg $@
@$(RM) $(TMPDIR)\javac.cfg
@$(DEPTH)\config\buildpkg $@ $(DEPTH)\dist\classes
!else
# compile using symantec cafe's super-speedy compiler!
$(JDIRS)::
@echo +++ make: building package $@
!if "$(WINOS)" == "WIN95"
-@$(MKDIR) $(DEPTH)\dist\classes\$(@:/=\)
!else
-@$(MKDIR) $(DEPTH)\dist\classes\$@ 2> NUL
!endif
$(MOZ_TOOLS)\bin\sj -classpath $(JAVA_DESTPATH);$(JAVA_SOURCEPATH) \
-d $(JAVA_DESTPATH) $(JAVAC_OPTIMIZER) $@\*.java
!endif # NO_CAFE
clobber clobber_all::
-for %g in ($(JDIRS)) do $(RM_R) $(XPDIST:/=\)/classes/%g
!endif # JAVA_OR_NSJVM
!endif # JDIRS
#//------------------------------------------------------------------------
#//
#// JMC
#//
#// JSRCS .java files to be compiled (.java extension included)
#//
#//------------------------------------------------------------------------
!if defined(JAVA_OR_NSJVM)
!if defined(JSRCS)
JSRCS_DEPS = $(JAVA_DESTPATH) $(JAVA_DESTPATH)\$(PACKAGE) $(TMPDIR)
# Can't get moz cafe to compile a single file
!if defined(NO_CAFE)
export:: $(JSRCS_DEPS)
@echo +++ make: building package: $(PACKAGE)
$(PERL) $(DEPTH)\config\outofdate.pl \
-d $(JAVA_DESTPATH)\$(PACKAGE) $(JSRCS) >> $(TMPDIR)\javac.cfg
-$(JAVAC_PROG) -argfile $(TMPDIR)\javac.cfg
@echo $(TMPDIR)
# @$(RM) $(TMPDIR)\javac.cfg
!else
# compile using symantec cafe's super-speedy compiler!
export:: $(JSRC_DEPS)
@echo +++ make: building package: $(PACKAGE)
@echo -d $(JAVA_DESTPATH) $(JAVAC_OPTIMIZER) \
-classpath $(JAVA_DESTPATH);$(JAVA_SOURCEPATH) > $(TMPDIR)\javac.cfg
@$(PERL) $(DEPTH)\config\sj.pl \
$(JAVA_DESTPATH)\$(PACKAGE)\ $(TMPDIR)\javac.cfg <<
$(JSRCS)
<<
!endif #NO_CAFE
clobber::
-for %g in ($(JSRCS:.java=.class)) do $(RM) $(XPDIST:/=\)/classes/$(PACKAGE:/=\)/%g
!endif # JSRCS
#//------------------------------------------------------------------------
#//
#// JMC
#//
#// JMC_EXPORT .class files to be copied from XPDIST/classes/PACKAGE to
#// XPDIST/jmc (without the .class extension)
#//
#//------------------------------------------------------------------------
!if defined(JMC_EXPORT)
export:: $(JMCSRCDIR)
for %g in ($(JMC_EXPORT)) do $(MAKE_INSTALL:/=\) $(JAVA_DESTPATH)\$(PACKAGE:/=\)\%g.class $(JMCSRCDIR)
clobber::
-for %f in ($(JMC_EXPORT)) do $(RM) $(JMCSRCDIR:/=\)\%f.class
!endif # JMC_EXPORT
!endif # JAVA_OR_NSJVM
#//------------------------------------------------------------------------
#//
#// JMC
#//
#// JMC_GEN Names of classes to be run through JMC
#// Generated .h and .c files go to JMC_GEN_DIR
#//
#//------------------------------------------------------------------------
!if defined(JAVA_OR_NSJVM)
!if defined(JMC_GEN)
export:: $(JMC_HEADERS)
# Don't delete them if they don't compile (makes it hard to debug)
.PRECIOUS: $(JMC_HEADERS) $(JMC_STUBS)
# They may want to generate/compile the stubs
!if defined(CCJMC)
{$(JMC_GEN_DIR)\}.c{$(OBJDIR)\}.obj:
@$(CC) @<<$(CFGFILE)
-c $(CFLAGS)
-I. -I$(JMC_GEN_DIR)
-Fd$(PDBFILE)
-Fo.\$(OBJDIR)\
$(JMC_GEN_DIR)\$(*B).c
<<KEEP
export:: $(JMC_STUBS) $(OBJDIR) $(JMC_OBJS)
!endif # CCJMC
!endif # JMC_GEN
!endif # JAVA_OR_NSJVM

View File

@@ -1,72 +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):
!if !defined(VERBOSE)
.SILENT:
!endif
#//------------------------------------------------------------------------
#//
#// This makefile contains all of the rules necessary to build 16 and 32 bit
#// libraries.
#//
#//------------------------------------------------------------------------
!if defined(LIBRARY) && !defined(CONFIG_LIB_INC)
CONFIG_LIB_INC=1
!if "$(MOZ_BITS)" == "16"
#//------------------------------------------------------------------------
#//
#// Rule to build a 16-bit Library
#//
#//------------------------------------------------------------------------
$(LIBRARY):: $(OBJDIR) $(OBJS) makefile.win $(DEPTH)\config\lib.inc
# //
# // create response file for the command. The format is:
# // LIBNAME, -+foo.obj -+bar.obj , LISTFILE, NEWLIB
# //
rm -f $(CFGFILE)
!if "$(OS)" == "Windows_NT"
for %%d in ($(OBJS)) do echo -+%%d ^& >> $(CFGFILE)
!else
for %%d in ($(OBJS)) do echo -+%%d & >> $(CFGFILE)
!endif
echo * >> $(CFGFILE)
# //
# // execute the commands
# //
$(RM) $@
$(AR) $@ @$(CFGFILE)
$(RANLIB) $@
!else
#//------------------------------------------------------------------------
#//
#// Rule to build a 32-bit Library
#//
#//------------------------------------------------------------------------
$(LIBRARY):: $(OBJDIR) $(OBJS) $(SUB_LIBRARIES) makefile.win $(DEPTH)\config\lib.inc
$(RM) $@ 2> NUL
$(AR) @<<$(CFGFILE)
-NOLOGO -OUT:$@
$(OBJS)
$(SUB_LIBRARIES)
<<
$(RANLIB) $@
!endif
!endif # LIBRARY && ! CONFIG_LIB_INC

View File

@@ -1,170 +0,0 @@
#!/usr/local/bin/perl5 -w
#
# 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.
#
# 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):
#
# set-timebomb.pl --- set the timebomb to N days from today's date.
#
# Modified: Chris Yeh <cyeh@netscape.com>, 31-Aug-98
# Created: Jamie Zawinski <jwz@mozilla.org>, 24-Aug-98.
my $progname = $0;
my $contents;
# This is the preferences file that gets read and written.
# So run this script with src/mozilla/build/ as the current directory.
#
my $prefs = ":mozilla:modules:libpref:src:init:all.js";
# from noah, who should be shot
sub ctime {
local (@weekday, @month, $time, $TZ);
local ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst);
@weekday = ("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat");
@month = ("Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
$time = (length (@_) > 0)? $_[0] : time() ;
$TZ = defined($ENV{'TZ'}) ? ( $ENV{'TZ'} ? $ENV{'TZ'} : 'UTC' ) : '';
($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) =
($TZ eq 'UTC') ? gmtime($time) : localtime($time);
if ($TZ =~ /^([^:\d+\-,]{3,})([+-]?\d{1,2}(:\d{1,2}){0,2})([^\d+\-,]{3,})?/o)
{
$TZ = $isdst ? $4 : $1;
}
if ($TZ ne "") { $TZ .= " "; }
$year += ($year < 70) ? 2000 : 1900;
return sprintf ("%s %s %02d %02d:%02d:%02d %s%4d",
$weekday[$wday], $month[$mon], $mday, $hour, $min, $sec,
$TZ, $year);
}
sub read_file {
$contents = "";
open(IN, "<$prefs");
while (<IN>) {
$contents .= $_;
}
close(IN);
}
sub write_file {
open(OUT, ">$prefs");
print OUT $contents;
close(OUT);
# print STDERR "$progname: wrote $prefs\n";
}
sub get_pref {
my ($lvalue) = @_;
$_ = $contents;
die ("$lvalue unset?\n") unless m@^config\("$lvalue","(.*)"\);@m;
return $1;
}
sub set_pref {
my ($lvalue,$rvalue) = @_;
$_ = $contents;
# die("$lvalue unset?\n") unless (m@^(pref|config)\("$lvalue",@m);
die("$lvalue unset?\n")
unless s@^(pref|config)(\("$lvalue",)(.*)(\).*)$@$1$2$rvalue$4@m;
$contents = $_;
}
# no longer used?
sub set_indirected_bomb {
my ($bomb) = @_;
my ($secret) = get_pref("timebomb.relative_timebomb_secret_name");
set_pref($secret, $bomb);
}
sub time_diff {
use Time::Local;
my($time, $result) = @_;
my $diff = 2082830400 - (timegm(localtime) - time);
return $result =~ /mac/ ?
$time + $diff : $time - $diff;
}
sub set_bomb {
my ($warning_days, $bomb_days) = @_;
# die("warning_days ($warning_days) must be greater than 0.")
# unless ($warning_days > 0);
die("bomb_days ($bomb_days) must be greater than 0.")
unless ($bomb_days > 0);
die("warning_days ($warning_days) must be less than " .
"bomb_days ($bomb_days)\n")
unless ($warning_days < $bomb_days);
my $mactime = time;
# MacPerl stores date and times from 1904 instead of 1970
# Conversion routine thanks to Chris Nandor (pudge@pobox.com)
$now = time_diff($mactime, 'unix');
my $bomb = $now + ($bomb_days * 24 * 60 * 60);
my $warn = $now + ($warning_days * 24 * 60 * 60);
set_pref("timebomb.expiration_time", $bomb);
set_pref("timebomb.warning_time", $warn);
set_pref("timebomb.relative_timebomb_days", -1);
set_pref("timebomb.relative_timebomb_warning_days", -1);
set_indirected_bomb(0);
# print STDERR sprintf("%s: timebomb goes off in %2d days (%s)\n",
# $progname, $bomb_days, ctime($bomb));
# print STDERR sprintf("%s: warning goes off in %2d days (%s)\n",
# $progname, $warning_days, ctime($warn));
}
sub main {
my ($warning_days, $bomb_days) = @_;
die ("usage: $progname [ days-until-warning [ days-until-timebomb ]]\n")
if ($#_ >= 2);
if ($#_ == 0) {
$bomb_days = $warning_days;
$warning_days = -1;
}
if (!$bomb_days || $bomb_days <= 0) {
$bomb_days = 30;
}
if ($warning_days < 0) {
$warning_days = $bomb_days - int($bomb_days / 3);
if ($warning_days < $bomb_days - 10) {
$warning_days = $bomb_days - 10;
}
}
read_file();
set_bomb($warning_days, $bomb_days);
write_file();
return 0;
}
exit(&main(@ARGV));

View File

@@ -1,83 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef DefinesMac_h_
#define DefinesMac_h_
/*
This is a common prefix file, included for both projects like
NSStdLib and Mozilla.
*/
/* enable to start building for Carbon */
#if TARGET_CARBON
#define PP_Target_Carbon 1
#define OLDP2C 1
#endif
/* Some build-wide Mac-related defines */
#define macintosh /* macintosh is defined for GUSI */
#define XP_MAC 1
/* We have to do this here because ConditionalMacros.h will be included from
* within OpenTptInternet.h and will stupidly define these to 1 if they
* have not been previously defined. The new PowerPlant (CWPro1) requires that
* this be set to 0. (pinkerton)
*/
#define OLDROUTINENAMES 0
#ifndef OLDROUTINELOCATIONS
#define OLDROUTINELOCATIONS 0
#endif
/* OpenTransport.h has changed to not include the error messages we need from
* it unless this is defined. Why? dunnno...(pinkerton)
*/
#define OTUNIXERRORS 1
#ifdef DEBUG
#define DEVELOPER_DEBUG 1
#else
#define NDEBUG
#endif
/* Some other random defines */
#define _NO_FAST_STRING_INLINES_ 1
#define _PR_NO_PREEMPT 1
///#define HAVE_BOOLEAN 1 // used by JPEG lib
#endif /* DefinesMac_h_ */

View File

@@ -1,88 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef DefinesMozilla_h_
#define DefinesMozilla_h_
// *** Security
//#define NADA_VERSION
//#define EXPORT_VERSION
#define US_VERSION
// Cookies/SingleSignon/Wallet
#define CookieManagement 1
#define SingleSignon 1
#define ClientWallet 1
// 98-09-25 mlm - turn on javascript thread safety
#define JS_THREADSAFE 1
#define USE_NSREG 1
// External DTD support for XML
#define XML_DTD
//#define MOZ_PERF_METRICS 1 // Uncomment to get metrics in layout, parser and webshell.
// You also need to define __TIMESIZE_DOUBLE__ in <timesize.mac.h>
// reflow counters, enabled in debug builds and visible via a pref
#ifdef DEBUG
#define MOZ_REFLOW_PERF 1
#define MOZ_REFLOW_PERF_DSP 1
#endif
// ***************************************************************************
// • You typically will not need to change things below here
// ***************************************************************************
#define MOCHA
#define MOZILLA_CLIENT 1
#ifndef NETSCAPE
#define NETSCAPE 1
#endif
#define OJI 1
#ifdef JAVA
#define UNICODE_FONTLIST 1
#endif
#define NECKO 1
#endif /* DefinesMozilla_h_ */

View File

@@ -1,45 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* This file is included from the nav-java and sun-java projects */
#define MOCHAFILE 1
#define COMPILER 0
#define VERSION_NUMBER "40"
#define JAR_NAME "java"##VERSION_NUMBER##".jar"

View File

@@ -1,18 +0,0 @@
#
# This is a list of local files which get copied to the mozilla:dist directory
#
DefinesMac.h
DefinesMozilla.h
JavaDefines.h
MacConfigInclude.h
MacPrefix.h
MacPrefix_debug.h
MacStaticPrefix.h
MacStaticPrefix_debug.h
MacSharedPrefix.h
MacSharedPrefix_debug.h

View File

@@ -1,66 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/*
This is included as a prefix file in all Mac projects. It ensures that
the correct #defines are set up for this build.
Since this is included from C files, comments should be C-style.
Order below does matter.
*/
#ifndef MacConfigInclude_h_
#define MacConfigInclude_h_
/* Read compiler options */
#ifndef IDE_Options_h_
#include "IDE_Options.h"
#endif
/* Read file of defines global to the Mac build */
#ifndef DefinesMac_h_
#include "DefinesMac.h"
#endif
/* Read build-wide defines (e.g. MOZILLA_CLIENT) */
#ifndef DefinesMozilla_h_
#include "DefinesMozilla.h"
#endif
#endif /* MacConfigInclude_h_ */

View File

@@ -1,47 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#undef DEBUG
#undef Debug_Throw
#undef Debug_Signal
#undef txtnDebug
/* Read the common configuration file */
#ifndef MacConfigInclude_h_
#include "MacConfigInclude.h"
#endif

View File

@@ -1,47 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#define DEBUG 1
#define Debug_Throw
#define Debug_Signal
#define txtnDebug
/* Read the common configuration file */
#ifndef MacConfigInclude_h_
#include "MacConfigInclude.h"
#endif

View File

@@ -1,41 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#define MAC_SHARED 1
#include "MacPrefix.h"

View File

@@ -1,41 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#define MAC_SHARED 1
#include "MacPrefix_debug.h"

View File

@@ -1,41 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#define MAC_STATIC 1
#include "MacPrefix.h"

View File

@@ -1,41 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#define MAC_STATIC 1
#include "MacPrefix_debug.h"

View File

@@ -1,69 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#pragma once
/*
This is included as a prefix file in all Mac projects. It ensures that
the correct #defines are set up for this build.
Since this is included from C files, comments should be C-style.
Order below does matter.
*/
/* Read compiler options */
#include "IDE_Options.h"
/* Read generated build options (written at build time). */
#ifdef DEBUG
#include "DefinesOptionsDebug.h"
#else
#include "DefinesOptions.h"
#endif
/* Read file of defines global to the Mac build */
#include "DefinesMac.h"
/* Read build-wide defines (e.g. MOZILLA_CLIENT) */
#include "DefinesMozilla.h"
/* ...then undefine the Mozilla specific stuff */
/* ...and define the Raptor specific things */
#define MOZ_NGLAYOUT

View File

@@ -1,143 +0,0 @@
#!/usr/bin/perl -w
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# 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 Chrome/CVS Location Matcher.
#
# The Initial Developer of the Original Code is
# Gervase Markham.
# Portions created by the Initial Developer are Copyright (C) 2001
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
# Version 0.5
#
# This file creates a large list of the mappings between chrome path and CVS
# paths which are recorded in the jar.mn files throughout the tree. This list
# is shipped with builds to make it easier for people to create chrome patches
# using them.
use Fcntl qw(:DEFAULT :flock);
use File::Basename;
use Cwd;
use mozLock;
# This is necessary because this module is not present in Perl versions less
# than 5.004_05.
eval q{use File::Spec};
exit if $@;
# This file takes two parameters - the jar file to process, and the chrome
# directory we are compiling into.
my ($chrome, $jar, $flock) = @ARGV;
my $nofilelocks = $flock ? ($flock eq "-l") : 0;
# OS setup - which chrome does your OS use?
#
# The $^O variable contains some representation of what OS you are on.
# Find its value on your platform by running the following command:
# perl -e 'print $^O . "\n";'
# and set the relevant booleans accordingly depending on what
# chrome your platform uses. There are currently three sorts of chrome:
# win, mac, and unix.
my $win32 = ($^O =~ /((MS)?win32)|os2/i) ? 1 : 0;
my $unix = ($^O =~ /linux/i) ? 1 : 0;
my $macos = ($^O =~ /MacOS|darwin/i) ? 1 : 0;
# Testing only - generate chromelist.txt for other platforms
# $macos = 1;
# $unix = 0;
my $chromelist = File::Spec->catfile("$chrome", "chromelist.txt");
my $lockfile = $chromelist . ".lck";
mozLock($lockfile) unless $nofilelocks;
open(BIGLIST, ">>" . $chromelist) or die "Can't open chromelist.txt";
open(JARFILE, "<$jar");
# Find the absolute directory the jar.mn file is in
my $stub = File::Spec->catdir(getcwd(), dirname($jar));
# Convert back to Unix-style directory names for the CVS version
if ($macos) { $stub =~ tr|:|/|; }
if ($win32) { $stub =~ tr|\\|/|; }
# Turn the absolute path into a relative path inside the CVS tree
$stub =~ s|.*mozilla/?||;
while (<JARFILE>)
{
# Tidy up the line
chomp;
s/^[\s|\+]+//; # Some lines have a + sign before them
s/\s+$//;
# There's loads of things we aren't interested in
next if m/:/; # e.g. "comm.jar:"
next if m/^\s*#/; # Comments
next if m/^$/; # Blank lines
next if m/\.gif\)\s*$/i; # Graphics
next if m/\.png\)\s*$/i;
next if m/\.jpe?g\)\s*$/i;
next if ($stub =~ m|/win/|) and !$win32;
next if ($stub =~ m|/unix/|) and !$unix;
next if ($stub =~ m|/mac/|) and !$macos;
# Split up the common format, which is:
# skin/fred/foo.xul (xpfe/barney/wilma/foo.xul)
m/(.*)\s+\((.*)\)/;
my $chromefile = $1;
my $cvsfile = $2;
# Deal with those jar.mns which have just a single line,
# implying that the file is in the current directory.
if (!$1 || $1 eq "")
{
$chromefile = $_;
$_ =~ /.*\/(.*?)$/;
$cvsfile = $1;
}
# Convert to platform-specific separator for the chrome version.
# This permits easy grepping of the file for a given path.
if ($macos) { $chromefile =~ tr|/|:|; }
if ($win32) { $chromefile =~ tr|/|\\|; }
$cvsfile = File::Spec::Unix->catfile($stub, $cvsfile);
print BIGLIST "$chromefile ($cvsfile)\n";
}
mozUnlock($lockfile) unless $nofilelocks;
exit(0);

View File

@@ -1,263 +0,0 @@
#!/perl
# make-jars [-f] [-v] [-l] [-d <chromeDir>] [-s <srcdir>] < <jar.mn>
use strict;
use Getopt::Std;
use Cwd;
use File::stat;
use Time::localtime;
use Cwd;
use File::Copy;
use File::Path;
use IO::File;
use mozLock;
my $objdir = getcwd;
getopts("d:s:f:vl");
my $baseFilesDir = ".";
if (defined($::opt_s)) {
$baseFilesDir = $::opt_s;
}
my $chromeDir = ".";
if (defined($::opt_d)) {
$chromeDir = $::opt_d;
}
my $verbose = 0;
if (defined($::opt_v)) {
$verbose = 1;
}
my $fileformat = "jar";
if (defined($::opt_f)) {
($fileformat = $::opt_f) =~ tr/A-Z/a-z/;
}
if ("$fileformat" ne "jar" &&
"$fileformat" ne "flat" &&
"$fileformat" ne "both") {
print "File format specified by -f option must be one of: jar, flat, or both.\n";
exit(1);
}
my $zipmoveopt = "";
if ("$fileformat" eq "jar") {
$zipmoveopt = "-m";
}
my $nofilelocks = 0;
if (defined($::opt_l)) {
$nofilelocks = 1;
}
if ($verbose) {
print "make-jars "
. "-v -d $chromeDir "
. ($fileformat ? "-f $fileformat " : "")
. ($nofilelocks ? "-l " : "")
. ($baseFilesDir ? "-s $baseFilesDir " : "")
. "\n";
}
sub zipErrorCheck($$)
{
my ($err,$lockfile) = @_;
return if ($err == 0 || $err == 12);
mozUnlock($lockfile) if (!$nofilelocks);
die ("Error invoking zip: $err");
}
sub JarIt
{
my ($destPath, $jarfile, $args, $overrides) = @_;
my $oldDir = cwd();
chdir("$destPath/$jarfile");
if ("$fileformat" eq "flat") {
unlink("../$jarfile.jar") if ( -e "../$jarfile.jar");
chdir($oldDir);
return 0;
}
#print "cd $destPath/$jarfile\n";
my $lockfile = "../$jarfile.lck";
mozLock($lockfile) if (!$nofilelocks);
if (!($args eq "")) {
my $cwd = getcwd;
my $err = 0;
#print "zip $zipmoveopt -u ../$jarfile.jar $args\n";
# Handle posix cmdline limits (4096)
while (length($args) > 4000) {
#print "Exceeding POSIX cmdline limit: " . length($args) . "\n";
my $subargs = substr($args, 0, 3999);
my $pos = rindex($subargs, " ");
$subargs = substr($args, 0, $pos);
$args = substr($args, $pos);
#print "zip $zipmoveopt -u ../$jarfile.jar $subargs\n";
#print "Length of subargs: " . length($subargs) . "\n";
system("zip $zipmoveopt -u ../$jarfile.jar $subargs") == 0 or
$err = $? >> 8;
zipErrorCheck($err,$lockfile);
}
#print "Length of args: " . length($args) . "\n";
#print "zip $zipmoveopt -u ../$jarfile.jar $args\n";
system("zip $zipmoveopt -u ../$jarfile.jar $args") == 0 or
$err = $? >> 8;
zipErrorCheck($err,$lockfile);
}
if (!($overrides eq "")) {
my $err = 0;
print "+++ overriding $overrides\n";
while (length($args) > 4000) {
#print "Exceeding POSIX cmdline limit: " . length($args) . "\n";
my $subargs = substr($args, 0, 3999);
my $pos = rindex($subargs, " ");
$subargs = substr($args, 0, $pos);
$args = substr($args, $pos);
#print "zip $zipmoveopt ../$jarfile.jar $subargs\n";
#print "Length of subargs: " . length($subargs) . "\n";
system("zip $zipmoveopt ../$jarfile.jar $subargs") == 0 or
$err = $? >> 8;
zipErrorCheck($err,$lockfile);
}
#print "zip $zipmoveopt ../$jarfile.jar $overrides\n";
system("zip $zipmoveopt ../$jarfile.jar $overrides\n") == 0 or
$err = $? >> 8;
zipErrorCheck($err,$lockfile);
}
mozUnlock($lockfile) if (!$nofilelocks);
chdir($oldDir);
#print "cd $oldDir\n";
}
sub EnsureFileInDir
{
my ($destPath, $srcPath, $destFile, $srcFile, $override) = @_;
#print "EnsureFileInDir($destPath, $srcPath, $destFile, $srcFile, $override)\n";
my $src = $srcFile;
if (defined($src)) {
if (! -e $src ) {
$src = "$srcPath/$srcFile";
}
}
else {
$src = "$srcPath/$destFile";
# check for the complete jar path in the dest dir
if (!-e $src) {
#else check for just the file name in the dest dir
my $dir = "";
my $file;
if ($destFile =~ /([\w\d.\-\_\\\/]+)[\\\/]([\w\d.\-\_]+)/) {
$dir = $1;
$file = $2;
}
else {
die "file not found: $srcPath/$destFile";
}
$src = "$srcPath/$file";
if (!-e $src) {
die "file not found: $srcPath/$destFile";
}
}
}
$srcPath = $src;
$destPath = "$destPath/$destFile";
my $srcStat = stat($srcPath);
my $srcMtime = $srcStat ? $srcStat->mtime : 0;
my $destStat = stat($destPath);
my $destMtime = $destStat ? $destStat->mtime : 0;
#print "destMtime = $destMtime, srcMtime = $srcMtime\n";
if (!-e $destPath || $destMtime < $srcMtime || $override) {
#print "copying $destPath, from $srcPath\n";
my $dir = "";
my $file;
if ($destPath =~ /([\w\d.\-\_\\\/]+)[\\\/]([\w\d.\-\_]+)/) {
$dir = $1;
$file = $2;
}
else {
$file = $destPath;
}
if ($srcPath) {
$file = $srcPath;
}
if (!-e $file) {
die "error: file '$file' doesn't exist";
}
if (!-e $dir) {
mkpath($dir, 0, 0775) || die "can't mkpath $dir: $!";
}
unlink $destPath; # in case we had a symlink on unix
copy($file, $destPath) || die "copy($file, $destPath) failed: $!";
# fix the mod date so we don't jar everything (is this faster than just jarring everything?)
my $atime = stat($file)->atime || die $!;
my $mtime = stat($file)->mtime || die $!;
utime($atime, $mtime, $destPath);
return 1;
}
return 0;
}
while (<STDIN>) {
chomp;
start:
if (/^([\w\d.\-\_\\\/]+).jar\:\s*$/) {
my $jarfile = $1;
my $args = "";
my $overrides = "";
my $cwd = cwd();
print "+++ making chrome $cwd => $chromeDir/$jarfile.jar\n";
while (<STDIN>) {
if (/^\s+([\w\d.\-\_\\\/]+)\s*(\([\w\d.\-\_\\\/]+\))?$\s*/) {
my $dest = $1;
my $srcPath = defined($2) ? substr($2, 1, -1) : $2;
EnsureFileInDir("$chromeDir/$jarfile", $baseFilesDir, $dest, $srcPath, 0);
$args = "$args$dest ";
} elsif (/^\+\s+([\w\d.\-\_\\\/]+)\s*(\([\w\d.\-\_\\\/]+\))?$\s*/) {
my $dest = $1;
my $srcPath = defined($2) ? substr($2, 1, -1) : $2;
EnsureFileInDir("$chromeDir/$jarfile", $baseFilesDir, $dest, $srcPath, 1);
$overrides = "$overrides$dest ";
} elsif (/^\s*$/) {
# end with blank line
last;
} else {
JarIt($chromeDir, $jarfile, $args, $overrides);
goto start;
}
}
JarIt($chromeDir, $jarfile, $args, $overrides);
} elsif (/^\s*\#.*$/) {
# skip comments
} elsif (/^\s*$/) {
# skip blank lines
} else {
close;
die "bad jar rule head at: $_";
}
}

View File

@@ -1,603 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Modified by David.Gardiner@unisa.edu.au
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <direct.h>
#include <sys/stat.h>
#include <sys/utime.h>
#include <io.h>
#include <fcntl.h>
/*
Unicode calls are linked at run-time, so that the application can run under
Windows NT and 95 (which doesn't support the Unicode calls)
The following APIs are linked:
BackupWrite
CreateFileW
GetFullPathNameW
*/
//static const char *prog;
BOOL insertHashLine = FALSE;
BOOL trySymlink = FALSE;
BOOL recurse = FALSE;
typedef WINBASEAPI BOOL (WINAPI* LPFNBackupWrite)(HANDLE, LPBYTE, DWORD, LPDWORD, BOOL, BOOL, LPVOID *);
typedef WINBASEAPI HANDLE (WINAPI* LPFNCreateFileW)(LPCWSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE);
typedef WINBASEAPI DWORD (WINAPI* LPFNGetFullPathNameW)(LPCWSTR, DWORD, LPWSTR, LPWSTR *);
// Function pointers (used for NTFS hard links)
LPFNBackupWrite lpfnDllBackupWrite = NULL;
LPFNCreateFileW lpfnDllCreateFileW = NULL;
LPFNGetFullPathNameW lpfnDllGetFullPathNameW = NULL;
// Handle to DLL
HINSTANCE hDLL = NULL;
/*
** Flip any "unix style slashes" into "dos style backslashes"
*/
inline void FlipSlashes(char *name)
{
for( int i=0; name[i]; i++ ) {
if( name[i] == '/' ) name[i] = '\\';
}
}
/*
* Flip any "dos style backslashes" into "unix style slashes"
*/
inline void UnflipSlashes(char *name)
{
for( int i=0; name[i]; i++ ) {
if( name[i] == '\\' ) name[i] = '/';
}
}
int MakeDir( char *path )
{
char *cp, *pstr;
struct stat sb;
pstr = path;
while( cp = strchr(pstr, '\\') ) {
*cp = '\0';
if( !(stat(path, &sb) == 0 && (sb.st_mode & _S_IFDIR) )) {
/* create the new sub-directory */
printf("+++ makecopy: creating directory %s\n", path);
if( mkdir(path) < 0 ) {
return -1;
}
} /* else sub-directory already exists.... */
*cp = '\\';
pstr = cp+1;
}
return 0;
}
/*
* Display error code and message for last error
*/
int ReportError()
{
LPVOID lpMsgBuf = NULL;
DWORD err = GetLastError();
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER,
NULL,
err,
0,
(LPTSTR) &lpMsgBuf,
0,
NULL);
fprintf(stderr, "%u, %s\n", err, (LPCTSTR) lpMsgBuf ) ;
LocalFree( lpMsgBuf );
return -1;
}
int ReportError(const char* msg)
{
fprintf(stderr, "%Error: s\n", msg);
return ReportError();
}
/*
Creates an NTFS hard link of src at dest.
NT5 will have a CreateHardLink API which will do the same thing, but a lot simpler
This is based on the MSDN code sample Q153181
*/
BOOL hardSymLink(LPCSTR src, LPCSTR dest)
{
WCHAR FileLink[ MAX_PATH + 1 ];
WCHAR FileSource[ MAX_PATH + 1 ];
WCHAR FileDest[ MAX_PATH + 1 ];
LPWSTR FilePart;
WIN32_STREAM_ID StreamId;
DWORD dwBytesWritten;
DWORD cbPathLen;
BOOL bSuccess;
// Convert src and dest to Unicode
if (!MultiByteToWideChar(CP_ACP, 0, src, -1, FileSource, MAX_PATH)) {
ReportError("Convert to WCHAR (source)");
return FALSE;
}
if (!MultiByteToWideChar(CP_ACP, 0, dest, -1, FileDest, MAX_PATH)) {
ReportError("Convert to WCHAR (destination)");
return FALSE;
}
//
// open existing file that we link to
//
HANDLE hFileSource = lpfnDllCreateFileW(
FileSource,
FILE_WRITE_ATTRIBUTES,
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
NULL, // sa
OPEN_EXISTING,
0,
NULL
);
if(hFileSource == INVALID_HANDLE_VALUE) {
ReportError("CreateFile (source)");
return FALSE;
}
//
// validate and sanitize supplied link path and use the result
// the full path MUST be Unicode for BackupWrite
//
cbPathLen = lpfnDllGetFullPathNameW( FileDest, MAX_PATH, FileLink, &FilePart);
if(cbPathLen == 0) {
ReportError("GetFullPathName");
return FALSE;
}
cbPathLen = (cbPathLen + 1) * sizeof(WCHAR); // adjust for byte count
//
// it might also be a good idea to verify the existence of the link,
// (and possibly bail), as the file specified in FileLink will be
// overwritten if it already exists
//
//
// prepare and write the WIN32_STREAM_ID out
//
LPVOID lpContext = NULL;
StreamId.dwStreamId = BACKUP_LINK;
StreamId.dwStreamAttributes = 0;
StreamId.dwStreamNameSize = 0;
StreamId.Size.HighPart = 0;
StreamId.Size.LowPart = cbPathLen;
//
// compute length of variable size WIN32_STREAM_ID
//
DWORD StreamHeaderSize = (LPBYTE)&StreamId.cStreamName - (LPBYTE)&
StreamId+ StreamId.dwStreamNameSize ;
bSuccess = lpfnDllBackupWrite(
hFileSource,
(LPBYTE)&StreamId, // buffer to write
StreamHeaderSize, // number of bytes to write
&dwBytesWritten,
FALSE, // don't abort yet
FALSE, // don't process security
&lpContext
);
if(bSuccess) {
//
// write out the buffer containing the path
//
bSuccess = lpfnDllBackupWrite(
hFileSource,
(LPBYTE)FileLink, // buffer to write
cbPathLen, // number of bytes to write
&dwBytesWritten,
FALSE, // don't abort yet
FALSE, // don't process security
&lpContext
);
//
// free context
//
lpfnDllBackupWrite(
hFileSource,
NULL, // buffer to write
0, // number of bytes to write
&dwBytesWritten,
TRUE, // abort
FALSE, // don't process security
&lpContext
);
}
CloseHandle( hFileSource );
if(!bSuccess) {
ReportError("BackupWrite");
return FALSE;
}
return TRUE;
}
int CopyIfNecessary(char *oldFile, char *newFile)
{
struct stat newsb;
struct stat oldsb;
// Use stat to find file details
if (stat(oldFile, &oldsb)) {
return -1;
}
// skip directories unless recursion flag is set
if ( oldsb.st_mode & _S_IFDIR ) {
if (!recurse) {
printf(" Skipping directory %s\n", oldFile);
return 0;
}
else {
char *lastDir;
char *oldFileName; // points to where file name starts in oldFile
char *newFileName; // points to where file name starts in newFile
WIN32_FIND_DATA findFileData;
// weed out special "." and ".." directories
lastDir = strrchr(oldFile, '\\');
if ( lastDir )
++lastDir;
else
lastDir = oldFile;
if ( strcmp( lastDir, "." ) == 0 || strcmp( lastDir, ".." ) == 0 )
return 0;
// find and process the contents of the directory
oldFileName = oldFile + strlen(oldFile);
strcpy(oldFileName, "\\*");
++oldFileName;
newFileName = newFile + strlen(newFile);
strcpy(newFileName, "\\");
++newFileName;
if( MakeDir(newFile) < 0 ) {
fprintf(stderr, "\n+++ makecopy: unable to create directory %s\n", newFile);
return 1;
}
HANDLE hFindFile = FindFirstFile(oldFile, &findFileData);
if (hFindFile != INVALID_HANDLE_VALUE) {
do {
strcpy(oldFileName, findFileData.cFileName);
strcpy(newFileName, findFileData.cFileName);
CopyIfNecessary(oldFile, newFile);
} while (FindNextFile(hFindFile, &findFileData) != 0);
} else {
fprintf(stderr, "\n+++ makecopy: no such file: %s\n", oldFile);
}
FindClose(hFindFile);
}
// nothing more we can do with a directory
return 0;
}
if (!stat(newFile, &newsb)) {
// If file times are equal, don't copy
if (newsb.st_mtime == oldsb.st_mtime) {
#if 0
printf("+++ makecopy: %s is up to date\n", newFile);
#endif
return 0;
}
}
char fullPathName[ MAX_PATH + 1 ];
LPTSTR filenamePart = NULL;
char buffer[8192];
DWORD bytesRead = 0;
DWORD bytesWritten = 0;
// find out required size
GetFullPathName(oldFile, MAX_PATH, fullPathName, &filenamePart);
// If we need to insert #line, the copying is a bit involved.
if (insertHashLine == TRUE) {
struct _utimbuf utim;
printf(" #Installing %s into %s\n", oldFile, newFile);
utim.actime = oldsb.st_atime;
utim.modtime = oldsb.st_mtime; // modification time
HANDLE hNewFile = CreateFile(newFile, GENERIC_WRITE, FILE_SHARE_WRITE, NULL,
CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL,
NULL);
if (hNewFile == INVALID_HANDLE_VALUE) {
return ReportError("CreateFile");
}
HANDLE hOldFile = CreateFile(oldFile, GENERIC_READ, FILE_SHARE_READ, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL,
NULL);
if (hOldFile == INVALID_HANDLE_VALUE) {
return ReportError("CreateFile");
}
// Insert first line.
sprintf(buffer, "#line 1 \"%s\"\r\n", fullPathName);
// convert to unix.
UnflipSlashes(buffer);
WriteFile(hNewFile, buffer, strlen(buffer), &bytesWritten, NULL);
// Copy file.
do {
if (!ReadFile(hOldFile, buffer, sizeof(buffer), &bytesRead, NULL)) {
return ReportError("ReadFile");
}
if (!WriteFile(hNewFile, buffer, bytesRead, &bytesWritten, NULL)) {
return ReportError("WriteFile");
}
} while (bytesRead > 0);
CloseHandle(hNewFile);
CloseHandle(hOldFile);
// make copy have same time
_utime(newFile, &utim);
// If we don't need to do a #line, use an API to copy the file..
} else {
BOOL isNTFS = FALSE;
// Find out what kind of volume this is.
if ( trySymlink ) {
char rootPathName[MAX_PATH];
char *c = strchr(fullPathName, '\\');
if (c != NULL) {
TCHAR fileSystemName[50];
strncpy(rootPathName, fullPathName, (c - fullPathName) + 1);
if (!GetVolumeInformation(rootPathName, NULL, 0, NULL, NULL, NULL, fileSystemName, sizeof(rootPathName))) {
return ReportError("GetVolumeInformation");
}
isNTFS = (strcmp(fileSystemName, "NTFS") == 0);
}
}
if (isNTFS) {
printf(" Symlinking %s into %s\n", oldFile, newFile);
if (! hardSymLink(oldFile, newFile) ) {
return 1;
}
} else {
printf(" Installing %s into %s\n", oldFile, newFile);
if( ! CopyFile(oldFile, newFile, FALSE) ) {
ReportError("CopyFile");
return 1;
}
}
}
return 0;
}
void Usage(void)
{
fprintf(stderr, "makecopy: [-cisx] <file1> [file2 ... fileN] <dir-path>\n");
fprintf(stderr, " -c copy [default], cancels -s\n");
fprintf(stderr, " -i add #line directive\n");
fprintf(stderr, " -r recurse subdirectories\n");
fprintf(stderr, " -s use symlinks on NT when possible\n");
fprintf(stderr, " -x cancel -i\n");
}
int main( int argc, char *argv[] )
{
char old_path[4096];
char new_path[4096];
char *oldFileName; // points to where file name starts in old_path
char *newFileName; // points to where file name starts in new_path
WIN32_FIND_DATA findFileData;
int rv = 0;
int i = 1;
if (argc < 3) {
Usage();
return 2;
}
// parse option flags
for ( ; *argv[i] == '-' ; ++i) {
char *opt = argv[i]+1;
for ( ; *opt; ++opt) {
switch (*opt) {
case 'c':
trySymlink = FALSE;
break;
case 'i':
insertHashLine = TRUE;
break;
case 'r':
recurse = TRUE;
break;
case 's':
trySymlink = TRUE;
break;
case 'x':
insertHashLine = FALSE;
break;
default:
Usage();
return 2;
}
}
}
if ( trySymlink ) {
OSVERSIONINFO osvi;
// Symlinking supported only on WinNT, not Win9x
// Is this Windows NT?
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
if (!GetVersionEx(&osvi)) {
return ReportError();
}
trySymlink = (osvi.dwPlatformId == VER_PLATFORM_WIN32_NT);
if ( trySymlink ) {
hDLL = LoadLibrary("Kernel32");
if (hDLL != NULL)
{
lpfnDllBackupWrite = (LPFNBackupWrite)GetProcAddress(hDLL, "BackupWrite");
lpfnDllCreateFileW = (LPFNCreateFileW)GetProcAddress(hDLL, "CreateFileW");
lpfnDllGetFullPathNameW = (LPFNGetFullPathNameW) GetProcAddress(hDLL, "GetFullPathNameW");
if ((!lpfnDllBackupWrite) || (!lpfnDllCreateFileW) || (!lpfnDllGetFullPathNameW))
{
// handle the error
int r = ReportError("GetProcAddress");
FreeLibrary(hDLL);
return r;
}
} else {
return ReportError();
}
}
}
// destination path is last argument
strcpy(new_path, argv[argc-1]);
// append backslash to path if not already there
if (new_path[strlen(new_path)] != '\\') {
strcat(new_path, "\\");
}
//sprintf(new_path, "%s\\", argv[i+1]);
FlipSlashes(new_path);
newFileName = new_path + strlen(new_path);
if( MakeDir(new_path) < 0 ) {
fprintf(stderr, "\n+++ makecopy: unable to create directory %s\n", new_path);
return 1;
}
// copy all named source files
while (i < (argc - 1)) {
strcpy(old_path, argv[i]);
FlipSlashes(old_path);
oldFileName = strrchr(old_path, '\\');
if (oldFileName) {
oldFileName++;
} else {
oldFileName = old_path;
}
HANDLE hFindFile = FindFirstFile(old_path, &findFileData);
if (hFindFile != INVALID_HANDLE_VALUE) {
do {
strcpy(oldFileName, findFileData.cFileName);
strcpy(newFileName, findFileData.cFileName);
rv = CopyIfNecessary(old_path, new_path);
} while (FindNextFile(hFindFile, &findFileData) != 0);
} else {
fprintf(stderr, "\n+++ makecopy: no such file: %s\n", old_path);
}
FindClose(hFindFile);
i++;
}
if ( trySymlink ) {
FreeLibrary(hDLL);
}
return 0;
}

Binary file not shown.

View File

@@ -1,887 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// Dependency building hack
//
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <ctype.h>
#include <afxcoll.h>
#include <afxtempl.h>
int mainReturn = 0;
BOOL b16 = FALSE;
BOOL bSimple = FALSE;
// freopen won't work on stdout in win16
FILE *pAltFile = stdout;
CStringArray includeDirectories;
// turn a file, relative path or other into an absolute path
// This function copied from MFC 1.52
BOOL PASCAL _AfxFullPath(LPSTR lpszPathOut, LPCSTR lpszFileIn)
// lpszPathOut = buffer of _MAX_PATH
// lpszFileIn = file, relative path or absolute path
// (both in ANSI character set)
{
OFSTRUCT of;
if (OpenFile(lpszFileIn, &of, OF_PARSE) != HFILE_ERROR)
{
// of.szPathName is in the OEM character set
OemToAnsi(of.szPathName, lpszPathOut);
AnsiUpper(lpszPathOut); // paths in upper case just to be sure
return TRUE;
}
else
{
TRACE1("Warning: could not parse the path %Fs\n", lpszFileIn);
lstrcpy(lpszPathOut, lpszFileIn); // take it literally
AnsiUpper(lpszPathOut); // paths in upper case just to be sure
return FALSE;
}
}
void AddIncludeDirectory( char *pString ){
CString s = pString;
int len = s.GetLength();
if(len > 0 && s[len - 1] != '\\' ){
s += "\\";
}
includeDirectories.Add(s);
}
BOOL FileExists( const char *pString ){
struct _stat buf;
int result;
result = _stat( pString, &buf );
return (result == 0);
}
void FixPathName(CString& str) {
str.MakeUpper(); // all upper case
// now switch all forward slashes to back slashes
int index;
while ((index = str.Find('/')) != -1) {
str.SetAt(index, '\\');
}
}
void FATName(CString& csLONGName)
{
// Only relevant for 16 bits.
if(b16) {
// Convert filename to FAT (8.3) equivalent.
char aBuffer[2048];
if(GetShortPathName(csLONGName, aBuffer, 2048)) {
csLONGName = aBuffer;
}
}
}
class CFileRecord {
public:
CString m_shortName;
CString m_pathName;
CPtrArray m_includes; // pointers to CFileRecords in fileMap
BOOL m_bVisited;
BOOL m_bSystem;
BOOL m_bSource;
static CMapStringToPtr fileMap; // contains all allocated CFileRecords
static CStringArray orderedFileNames;
static CMapStringToPtr includeMap; // pointer to CFileRecords in fileMap
static CMapStringToPtr noDependMap;
CFileRecord( const char *shortName, const char* pFullName, BOOL bSystem, BOOL bSource):
m_shortName( shortName ),
m_pathName(),
m_includes(),
m_bVisited(FALSE),
m_bSource( bSource ),
m_bSystem(bSystem){
m_pathName = pFullName;
FixPathName(m_pathName); // all upper case for consistency
ASSERT(FindFileRecord(m_pathName) == NULL); // make sure it's not already in the map
fileMap[m_pathName] = this; // add this to the filemap, using the appropriate name as the key
if (bSource) {
orderedFileNames.Add(m_pathName); // remember the order we saw source files in
}
}
//
// open the file and grab all the includes.
//
void ProcessFile(){
FILE *f;
CString fullName;
BOOL bSystem;
DWORD lineCntr = 0;
char *a = new char[2048];
memset(a, 0, 2048);
char srcPath[_MAX_PATH];
// construct the full path
if (!_AfxFullPath(srcPath, m_pathName)) {
strcpy(srcPath, m_pathName);
}
// strip off the source filename to end up with just the path
LPSTR pTemp = strrchr(srcPath, '\\');
if (pTemp) {
*(pTemp + 1) = 0;
}
f = fopen(m_pathName, "r");
if(f != NULL && f != (FILE *)-1) {
setvbuf(f, NULL, _IOFBF, 32768); // use a large file buffer
while(fgets(a, 2047, f)) {
// if the string "//{{NO_DEPENDENCIES}}" is at the start of one of the
// first 10 lines of a file, don't build dependencies on it or any
// of the files it includes
if (lineCntr < 10) {
static char* pDependStr = "//{{NO_DEPENDENCIES}}";
if (strncmp(a, pDependStr, strlen(pDependStr)) == 0) {
noDependMap[m_pathName] = 0; // add it to the noDependMap
break; // no need for further processing of this file
}
}
++lineCntr;
// have to handle a variety of legal syntaxes that we find in our source files:
// #include
// # include
// #include
// if the first non-whitespace char is a '#', consider this line
pTemp = a;
pTemp += strspn(pTemp, " \t"); // skip whitespace
if (*pTemp == '#') {
++pTemp; // skip the '#'
pTemp += strspn(pTemp, " \t"); // skip more whitespace
if( !strncmp(pTemp, "include", 7) ){
pTemp += 7; // skip the "include"
pTemp += strspn(pTemp, " \t"); // skip more whitespace
bSystem = (*pTemp == '<'); // mark if it's a system include or not
// forget system files -- we just have to search all the paths
// every time and never find them! This change alone speeds a full
// depend run on my system from 5 minutes to 3:15
// if (bSystem || (*pTemp == '"')) {
if (*pTemp == '"') {
LPSTR pStart = pTemp + 1; // mark the start of the string
pTemp = pStart + strcspn(pStart, ">\" "); // find the end of the string
*pTemp = 0; // terminate the string
// construct the full pathname from the path part of the
// source file and the name listed here
fullName = srcPath;
fullName += pStart;
CFileRecord *pAddMe = AddFile( pStart, fullName, bSystem );
if (pAddMe) {
m_includes.Add(pAddMe);
}
}
}
}
}
fclose(f);
}
delete [] a;
}
void PrintIncludes(){
int i = 0;
while( i < m_includes.GetSize() ){
CFileRecord *pRec = (CFileRecord*) m_includes[i];
// Don't write out files that don't exist or are not in the namespace
// of the programs using it (netscape_AppletMozillaContext.h doesn't
// mix well with 16 bits).
// Also don't write out files that are in the noDependMap
void* lookupJunk;
if( !pRec->m_bVisited && pRec->m_pathName.GetLength() != 0 && !noDependMap.Lookup(pRec->m_pathName, lookupJunk)) {
// not supposed to have a file in the list that doesn't exist
ASSERT(FileExists(pRec->m_pathName));
CString csOutput;
csOutput = pRec->m_pathName;
FATName(csOutput);
fprintf(pAltFile, "\\\n %s ", (const char *) csOutput );
// mark this one as done so we don't do it more than once
pRec->m_bVisited = TRUE;
pRec->PrintIncludes();
}
i++;
}
}
void PrintDepend(){
CFileRecord *pRec;
BOOL bFound;
POSITION next;
CString name;
// clear all the m_bVisisted flags so we can use it to keep track
// of whether we've already output this file as a dependency
next = fileMap.GetStartPosition();
while( next ){
fileMap.GetNextAssoc( next, name, *(void**)&pRec );
pRec->m_bVisited = FALSE;
}
char fname[_MAX_FNAME];
if (pRec->m_pathName.GetLength() != 0) {
if( bSimple ){
fprintf(pAltFile, "\n\n\n%s:\t", m_pathName );
}
else {
CString csOutput;
csOutput = m_pathName;
FATName(csOutput);
_splitpath( csOutput, NULL, NULL, fname, NULL );
fprintf(pAltFile, "\n\n\n$(OUTDIR)\\%s.obj: %s ", fname, (const char*) csOutput );
}
m_bVisited = TRUE; // mark it as done so we won't do it again
PrintIncludes();
}
}
static CString NormalizeFileName( const char* pName ){
return CString(pName);
}
static CFileRecord* FindFileRecord( const char *pName ){
CFileRecord* pRec = NULL;
CString name(pName);
FixPathName(name);
fileMap.Lookup(name, (void*&)pRec);
return(pRec);
}
public:
static CFileRecord* AddFile( const char* pShortName, const char* pFullName, BOOL bSystem = FALSE,
BOOL bSource = FALSE ){
char fullName[_MAX_PATH];
BOOL bFound = FALSE;
CString foundName;
CString fixedShortName;
CString s;
// normalize the name
fixedShortName = pShortName;
FixPathName(fixedShortName);
pShortName = fixedShortName;
// if it is source, we might be getting an obj file. If we do,
// convert it to a c or c++ file.
if( bSource && (strcmp(GetExt(pShortName),".obj") == 0) ){
char path_buffer[_MAX_PATH];
char fname[_MAX_FNAME] = "";
CString s;
_splitpath( pShortName, NULL, NULL, fname, NULL );
if( FileExists( s = CString(fname) + ".cpp") ){
pShortName = s;
pFullName = s;
}
else if( FileExists( s = CString(fname) + ".c" ) ){
pShortName = s;
pFullName = s;
}
else {
return 0;
}
}
// if pFullName was not constructed, construct it here based on the current directory
if (!pFullName) {
_AfxFullPath(fullName, pShortName);
pFullName = fullName;
}
// first check to see if we already have this exact file
CFileRecord *pRec = FindFileRecord(pFullName);
// if not found and not a source file check the header list --
// all files we've found in include directories are in the includeMap.
// we can save gobs of time by getting it from there
if (!pRec && !bSource)
includeMap.Lookup(fixedShortName, (void*&)pRec);
if (!pRec) {
// not in one of our lists, start scrounging on disk
// check the fullname first
if (FileExists(pFullName)) {
foundName = pFullName;
bFound = TRUE;
}
else {
// if still not found, search the include paths
int i = 0;
while( i < includeDirectories.GetSize() ){
if( FileExists( includeDirectories[i] + pShortName ) ){
foundName = includeDirectories[i] + pShortName;
bFound = TRUE;
break;
}
i++;
}
}
}
else {
// we found it
bFound = TRUE;
}
// source files are not allowed to be missing
if (bSource && !pRec && !bFound) {
fprintf(stderr, "Source file: %s doesn't exist\n", pFullName);
mainReturn = -1; // exit with an error, don't write out the results
}
#ifdef _DEBUG
if (!pRec && !bFound && !bSystem) {
fprintf(stderr, "Header not found: %s (%s)\n", pShortName, pFullName);
}
#endif
// if none of the above logic found it already in the list,
// must be a new file, add it to the list
if (bFound && (pRec == NULL)) {
pRec = new CFileRecord( pShortName, foundName, bSystem, bSource);
// if this one isn't a source file add it to the includeMap
// for performance reasons (so we can find it there next time rather
// than having to search the file system again)
if (!bSource) {
includeMap[pShortName] = pRec;
}
}
return pRec;
}
static void PrintDependancies(){
CFileRecord *pRec;
BOOL bFound;
POSITION next;
CString name;
// use orderedFileNames to preserve order
for (int pos = 0; pos < orderedFileNames.GetSize(); pos++) {
pRec = FindFileRecord(orderedFileNames[pos]);
if(pRec && pRec->m_bSource ){
pRec->PrintDepend();
}
}
}
void PrintDepend2(){
CFileRecord *pRec;
int i;
if( m_includes.GetSize() != 0 ){
fprintf(pAltFile, "\n\n\n%s: \\\n",m_pathName );
i = 0;
while( i < m_includes.GetSize() ){
pRec = (CFileRecord*) m_includes[i];
fprintf(pAltFile, "\t\t\t%s\t\\\n",pRec->m_pathName );
i++;
}
}
}
static void PrintDependancies2(){
CFileRecord *pRec;
BOOL bFound;
POSITION next;
CString name;
next = fileMap.GetStartPosition();
while( next ){
fileMap.GetNextAssoc( next, name, *(void**)&pRec );
pRec->PrintDepend2();
}
}
static void PrintTargets(const char *pMacroName, const char *pDelimeter){
CFileRecord *pRec;
BOOL bFound;
POSITION next;
CString name;
BOOL bNeedDelimeter = FALSE;
fprintf(pAltFile, "%s = ", pMacroName);
// use orderedFileNames to preserve target order
for (int pos = 0; pos < orderedFileNames.GetSize(); pos++) {
pRec = FindFileRecord(orderedFileNames[pos]);
ASSERT(pRec);
if( pRec && pRec->m_bSource && pRec->m_pathName.GetLength() != 0){
char fname[_MAX_FNAME];
CString csOutput;
csOutput = pRec->m_pathName;
FATName(csOutput);
_splitpath( csOutput, NULL, NULL, fname, NULL );
if(bNeedDelimeter) {
fprintf(pAltFile, "%s\n", pDelimeter);
bNeedDelimeter = FALSE;
}
fprintf(pAltFile, " $(OUTDIR)\\%s.obj ", fname );
bNeedDelimeter = TRUE;
}
}
fprintf(pAltFile, "\n\n\n");
}
static CString DirDefine( const char *pPath ){
char path_buffer[_MAX_PATH];
char dir[_MAX_DIR] = "";
char dir2[_MAX_DIR] = "";
char fname[_MAX_FNAME] = "";
char ext[_MAX_EXT] = "";
CString s;
_splitpath( pPath, 0, dir, 0, ext );
BOOL bDone = FALSE;
while( dir && !bDone){
// remove the trailing slash
dir[ strlen(dir)-1] = 0;
_splitpath( dir, 0, dir2, fname, 0 );
if( strcmp( fname, "SRC" ) == 0 ){
strcpy( dir, dir2 );
}
else {
bDone = TRUE;
}
}
s = CString(fname) + "_" + (ext+1);
return s;
}
static void PrintSources(){
int i;
CString dirName, newDirName;
for( i=0; i< orderedFileNames.GetSize(); i++ ){
newDirName= DirDefine( orderedFileNames[i] );
if( newDirName != dirName ){
fprintf( pAltFile, "\n\n\nFILES_%s= $(FILES_%s) \\",
(const char*)newDirName, (const char*)newDirName );
dirName = newDirName;
}
fprintf( pAltFile, "\n\t%s^", (const char*)orderedFileNames[i] );
}
}
static CString SourceDirName( const char *pPath, BOOL bFileName){
char path_buffer[_MAX_PATH];
char drive[_MAX_DRIVE] = "";
char dir[_MAX_DIR] = "";
char fname[_MAX_FNAME] = "";
char ext[_MAX_EXT] = "";
CString s;
_splitpath( pPath, drive, dir, fname, ext );
s = CString(drive) + dir;
if( bFileName ){
s += CString("FNAME") + ext;
}
else {
// remove the trailing slash
s = s.Left( s.GetLength() - 1 );
}
return s;
}
static CString GetExt( const char *pPath){
char ext[_MAX_EXT] = "";
_splitpath( pPath, 0,0,0, ext );
CString s = CString(ext);
s.MakeLower();
return s;
}
static void PrintBuildRules(){
int i;
CString dirName;
CMapStringToPtr dirList;
for( i=0; i< orderedFileNames.GetSize(); i++ ){
dirList[ SourceDirName(orderedFileNames[i], TRUE) ]= 0;
}
POSITION next;
CString name;
void *pVal;
next = dirList.GetStartPosition();
while( next ){
dirList.GetNextAssoc( next, name, pVal);
CString dirDefine = DirDefine( name );
CString ext = GetExt( name );
name = SourceDirName( name, FALSE );
CString response = dirDefine.Left(8);
fprintf( pAltFile,
"\n\n\n{%s}%s{$(OUTDIR)}.obj:\n"
"\t@rem <<$(OUTDIR)\\%s.cl\n"
"\t$(CFILEFLAGS)\n"
"\t$(CFLAGS_%s)\n"
"<<KEEP\n"
"\t$(CPP) @$(OUTDIR)\\%s.cl %%s\n",
(const char*)name,
(const char*)ext,
(const char*)response,
(const char*)dirDefine,
(const char*)response
);
fprintf( pAltFile,
"\n\n\nBATCH_%s:\n"
"\t@rem <<$(OUTDIR)\\%s.cl\n"
"\t$(CFILEFLAGS)\n"
"\t$(CFLAGS_%s)\n"
"\t$(FILES_%s)\n"
"<<KEEP\n"
"\t$(TIMESTART)\n"
"\t$(CPP) @$(OUTDIR)\\%s.cl\n"
"\t$(TIMESTOP)\n",
(const char*)dirDefine,
(const char*)response,
(const char*)dirDefine,
(const char*)dirDefine,
(const char*)response
);
}
//
// Loop through one more time and build the final batch build
// rule
//
fprintf( pAltFile,
"\n\n\nBATCH_BUILD_OBJECTS:\t\t\\\n");
next = dirList.GetStartPosition();
while( next ){
dirList.GetNextAssoc( next, name, pVal);
CString dirDefine = DirDefine( name );
fprintf( pAltFile,
"\tBATCH_%s\t\t\\\n", dirDefine );
}
fprintf( pAltFile,
"\n\n");
}
static void ProcessFiles(){
CFileRecord *pRec;
BOOL bFound;
POSITION next;
CString name;
// search all the files for headers, adding each one to the list when found
// rather than do it recursively, it simple marks each one it's done
// and starts over, stopping only when all are marked as done
next = fileMap.GetStartPosition();
while( next ){
fileMap.GetNextAssoc( next, name, *(void**)&pRec );
if( pRec->m_bVisited == FALSE && pRec->m_bSystem == FALSE ){
// mark this file as already done so we don't read it again
// to find its headers
pRec->m_bVisited = TRUE;
pRec->ProcessFile();
// Start searching from the beginning again
// because ProcessFile may have added new files
// and changed the GetNextAssoc order
next = fileMap.GetStartPosition();
}
}
}
};
CMapStringToPtr CFileRecord::fileMap; // contains all allocated CFileRecords
CStringArray CFileRecord::orderedFileNames;
CMapStringToPtr CFileRecord::includeMap; // pointers to CFileRecords in fileMap
CMapStringToPtr CFileRecord::noDependMap; // no data, just an index
int main( int argc, char** argv ){
int i = 1;
char *pStr;
static int iRecursion = 0; // Track levels of recursion.
static CString outputFileName;
// Entering.
iRecursion++;
while( i < argc ){
if( argv[i][0] == '-' || argv[i][0] == '/' ){
switch( argv[i][1] ){
case 'i':
case 'I':
if( argv[i][2] != 0 ){
pStr = &(argv[i][2]);
}
else {
i++;
pStr = argv[i];
}
if( pStr == 0 || *pStr == '-' || *pStr == '/' ){
goto usage;
}
else {
AddIncludeDirectory( pStr );
}
break;
case 'f':
case 'F':
if( argv[i][2] != 0 ){
pStr = &(argv[i][2]);
}
else {
i++;
pStr = argv[i];
}
if( pStr == 0 || *pStr == '-' || *pStr == '/'){
goto usage;
}
else {
CStdioFile f;
CString s;
if( f.Open( pStr, CFile::modeRead ) ){
while(f.ReadString(s)){
s.TrimLeft();
s.TrimRight();
if( s.GetLength() ){
CFileRecord::AddFile( s, NULL, FALSE, TRUE );
}
}
f.Close();
}
else {
fprintf(stderr,"makedep: file not found: %s", pStr );
exit(-1);
}
}
break;
case 'o':
case 'O':
if( argv[i][2] != 0 ){
pStr = &(argv[i][2]);
}
else {
i++;
pStr = argv[i];
}
if( pStr == 0 || *pStr == '-' || *pStr == '/'){
goto usage;
}
else {
CStdioFile f;
CString s;
outputFileName = pStr;
if(!(pAltFile = fopen(pStr, "w+"))) {
fprintf(stderr, "makedep: file not found: %s", pStr );
exit(-1);
}
}
break;
case '1':
if( argv[i][2] == '6') {
b16 = TRUE;
}
break;
case 's':
case 'S':
bSimple = TRUE;
break;
case 'h':
case 'H':
case '?':
usage:
fprintf(stderr, "usage: makedep -I <dirname> -F <filelist> <filename>\n"
" -I <dirname> Directory name, can be repeated\n"
" -F <filelist> List of files to scan, one per line\n"
" -O <outputFile> File to write output, default stdout\n");
exit(-1);
}
}
else if( argv[i][0] == '@' ){
// file contains our commands.
CStdioFile f;
CString s;
int iNewArgc = 0;
char **apNewArgv = new char*[5000];
memset(apNewArgv, 0, sizeof(apNewArgv));
// First one is always the name of the exe.
apNewArgv[0] = argv[0];
iNewArgc++;
const char *pTraverse;
const char *pBeginArg;
if( f.Open( &argv[i][1], CFile::modeRead ) ){
while( iNewArgc < 5000 && f.ReadString(s) ) {
// Scan the string for args, and do the right thing.
pTraverse = (const char *)s;
while(iNewArgc < 5000 && *pTraverse) {
if(isspace(*pTraverse)) {
pTraverse++;
continue;
}
// Extract to next space.
pBeginArg = pTraverse;
do {
pTraverse++;
}
while(*pTraverse && !isspace(*pTraverse));
apNewArgv[iNewArgc] = new char[pTraverse - pBeginArg + 1];
memset(apNewArgv[iNewArgc], 0, pTraverse - pBeginArg + 1);
strncpy(apNewArgv[iNewArgc], pBeginArg, pTraverse - pBeginArg);
iNewArgc++;
}
}
f.Close();
}
// Recurse if needed.
if(iNewArgc > 1) {
main(iNewArgc, apNewArgv);
}
// Free off the argvs (but not the very first one which we didn't allocate).
while(iNewArgc > 1) {
iNewArgc--;
delete [] apNewArgv[iNewArgc];
}
delete [] apNewArgv;
}
else {
CFileRecord::AddFile( argv[i], NULL, FALSE, TRUE );
}
i++;
}
// Only of the very bottom level of recursion do we do this.
if(iRecursion == 1) {
// only write the results out if no errors encountered
if (mainReturn == 0) {
CFileRecord::ProcessFiles();
if( !bSimple ){
CFileRecord::PrintTargets("OBJ_FILES", "\\");
if(b16) {
CFileRecord::PrintTargets("LINK_OBJS", "+\\");
}
else {
CFileRecord::PrintTargets("LINK_OBJS", "^");
}
CFileRecord::PrintSources();
CFileRecord::PrintBuildRules();
}
CFileRecord::PrintDependancies();
}
if(pAltFile != stdout) {
fclose(pAltFile);
if (mainReturn != 0) {
remove(outputFileName); // kill output file if returning an error
}
}
}
iRecursion--;
if (iRecursion == 0 )
{
// last time through -- clean up allocated CFileRecords!
CFileRecord *pFRec;
CString name;
POSITION next;
next = CFileRecord::fileMap.GetStartPosition();
while( next ){
CFileRecord::fileMap.GetNextAssoc( next, name, *(void**)&pFRec );
delete pFRec;
}
}
return mainReturn;
}

Binary file not shown.

View File

@@ -1,137 +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):
#//------------------------------------------------------------------------
#//
#// Makefile for MOZILLA/CONFIG - various commands used by other makefiles
#//
#//------------------------------------------------------------------------
!if "$(MOZ_BITS)" == "16"
!error This makefile must be build using 32-bit tools
!endif
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of MOZILLA
#//
#//------------------------------------------------------------------------
DEPTH = ..
#// Specify any "command" targets. (ie. DIRS, INSTALL_FILES, ...)
#// (these must come before the common makefiles are included)
#//
#// DIRS - There is a subdirectory to process
#// INSTALL_FILES - Files to be installed in the distribution area
#//
#//------------------------------------------------------------------------
GARBAGE = *.obj *.sbr *.pdb build_number nsBuildID.h
!ifdef MOZ_COVERAGE
GARBAGE = $(GARBAGE) trace.dll trace.lib trace.exp
!endif
EXPORTS = nsBuildID.h
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include <$(DEPTH)/config/config.mak>
include <$(DEPTH)/config/rules.mak>
!ifdef MOZILLA_OFFICIAL
_BN_OFFICIAL=1
!else
_BN_OFFICIAL=
!endif
# update build number from within make script
build_number:
$(PERL) -I. bdate.pl $@ $(_BN_OFFICIAL)
nsBuildID.h: build_number nsBuildID.h.in
$(RM) $@
$(PERL) -I. aboutime.pl $@ build_number nsBuildID.h.in
#// Rule to set the timebomb on official mozilla builds
#//
#// Rules to build make utils
#//
#CFLAGS = /FR /Zi -MDd /W4
CFLAGS = /O2 /GB /MD
makecopy.exe:: makecopy.cpp
$(CC) $(CFLAGS) $**
mangle.exe:: mangle.c
$(CC) $(CFLAGS) $**
mantomak.exe:: mantomak.c
$(CC) $(CFLAGS) $**
bin2rc.exe:: bin2rc.c
$(CC) $(CFLAGS) $**
makedep.exe:: makedep.cpp
$(CC) -MT /O2 /GB $**
!ifdef MOZ_COVERAGE
trace.dll:: trace.obj pldhash.obj
$(LD) /nologo /debug /libpath:$(DIST)/lib /dll /out:$@ $** nspr4.lib imagehlp.lib
pldhash.obj:: $(DEPTH)/xpcom/ds/pldhash.c
$(CC) /c /nologo /Od /Z7 /I$(DEPTH)/xpcom/ds /I$(DEPTH)/dist/include/nspr $**
trace.obj:: trace.cpp
$(CC) /c /nologo /Od /Z7 /DMOZ_SRC=\"$(MOZ_SRC)\" /I$(DEPTH)/xpcom/ds /I$(DEPTH)/dist/include/nspr $**
!endif
export:: \
makecopy.exe \
mangle.exe \
mantomak.exe \
bin2rc.exe \
!ifndef NO_MFC
makedep.exe \
!endif
build_number \
nsBuildID.h \
!ifdef MOZ_COVERAGE
trace.dll \
!endif
$(NULL)
!ifdef MOZ_COVERAGE
$(MAKE_INSTALL) trace.dll $(DIST)/bin
$(MAKE_INSTALL) trace.lib $(DIST)/lib
$(MAKE_INSTALL) trace.dll $(DIST)/install
$(MAKE_INSTALL) $(DIST)/bin/nspr4.dll $(DIST)/install
!endif
$(RM) $(DIST)\bin\chrome\chromelist.txt
#install::
# $(RM) $(DIST)\bin\chrome\installed-chrome.txt
FORCE::

View File

@@ -1,140 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
HANDLE hMangleFile;
void Usage(void)
{
fprintf(stderr, "MANGLE: <file>\n");
}
BOOL MangleFile( const char *real_name, const char *mangle_name )
{
int len;
DWORD dwWritten;
char buffer[2048];
if( mangle_name && *mangle_name && strcmpi(real_name, mangle_name) ) {
printf("Mangle: renaming %s to %s\n", real_name, mangle_name);
if( ! MoveFile(real_name, "X_MANGLE.TMP") ) {
fprintf(stderr, "MANGLE: cannot rename %s to X_MANGLE.TMP\n",
real_name);
return FALSE;
}
if( ! MoveFile("X_MANGLE.TMP", mangle_name) ) {
MoveFile("X_MANGLE.TMP", real_name);
fprintf(stderr, "MANGLE: cannot rename X_MANGLE.TMP to %s\n",
mangle_name);
return FALSE;
}
len = sprintf(buffer, "mv %s %s\r\n", mangle_name, real_name);
if( (WriteFile( hMangleFile, buffer, len, &dwWritten, NULL ) == FALSE) ||
(dwWritten != len) ) {
fprintf(stderr, "MANGLE: error writing to UNMANGLE.BAT\n");
return FALSE;
}
}
return TRUE;
}
int main( int argc, char *argv[] )
{
WIN32_FIND_DATA find_data;
HANDLE hFoundFile;
if( argc != 1 ) {
Usage();
return 2;
}
hMangleFile = CreateFile("unmangle.bat", /* name */
GENERIC_READ|GENERIC_WRITE, /* access mode */
0, /* share mode */
NULL, /* security descriptor */
CREATE_NEW, /* how to create */
FILE_ATTRIBUTE_NORMAL, /* file attributes */
NULL ); /* template file */
if( hMangleFile == INVALID_HANDLE_VALUE ) {
if( GetLastError() == ERROR_FILE_EXISTS ) {
fprintf(stderr, "MANGLE: UNMANGLE.BAT already exists\n");
} else {
fprintf(stderr, "MANGLE: cannot open UNMANGLE.BAT\n");
}
return 1;
}
if( (hFoundFile = FindFirstFile("*.*", &find_data)) == INVALID_HANDLE_VALUE ) {
fprintf(stderr, "MANGLE: cannot read directory\n");
return 1;
}
do {
if( !MangleFile(find_data.cFileName, find_data.cAlternateFileName) ) {
fprintf(stderr, "MANGLE: cannot rename %s to %s\n",
find_data.cFileName, find_data.cAlternateFileName );
FindClose( hFoundFile );
CloseHandle( hMangleFile );
return 1;
}
} while( FindNextFile(hFoundFile, &find_data) );
FindClose( hFoundFile );
{
int len;
DWORD dwWritten;
char buffer[255];
len = sprintf(buffer, "del unmangle.bat\r\n");
WriteFile ( hMangleFile, buffer, len, &dwWritten, NULL );
}
CloseHandle( hMangleFile );
return 0;
}

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