Compare commits

..

681 Commits

Author SHA1 Message Date
nicolson%netscape.com
8b7059cccb improve comment
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@128353 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 17:53:09 +00:00
nicolson%netscape.com
6148a667c9 Fix 118646: enumeration of all cipher suites.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@128194 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:21:22 +00:00
nicolson%netscape.com
05194e3992 Fix 118646: enumeration of all cipher suites.
Provide a method to list all the supported cipher suites.


git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@128193 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:20:42 +00:00
nicolson%netscape.com
56f31cdc75 Fix 120784: SSLServerSocket does not throw java.io.InterruptedIOException.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@128160 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:15:21 +00:00
nicolson%netscape.com
9f898ee282 better classpath handling.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@128158 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:13:23 +00:00
(no author)
4dd80fe655 This commit was manufactured by cvs2svn to create branch 'JSS_3_2_BRANCH'.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@128123 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 17:37:42 +00:00
nicolson%netscape.com
8019267d28 remove old samples.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@128121 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 17:36:54 +00:00
nicolson%netscape.com
be0c437e8f remove old SSLClient and SSLServer programs, they are not up-to-date
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@128118 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 17:31:51 +00:00
nicolson%netscape.com
8ea9a39c2c syntax error that wasn't caught because of a bug in the build script
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@128115 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 17:25:44 +00:00
(no author)
47ee33f68b This commit was manufactured by cvs2svn to create branch 'JSS_3_2_BRANCH'.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@128009 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 23:17:01 +00:00
nicolson%netscape.com
a07f3932f0 include path separator when appending to paths.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@127971 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 18:40:37 +00:00
nicolson%netscape.com
9c773417af don't require JCE_JAR. it's not necessary if you're using JDK 1.4.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@127969 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 18:32:00 +00:00
nicolson%netscape.com
f6146bdc5b remove spurious printlns.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@127802 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 22:46:35 +00:00
nicolson%netscape.com
c84e714271 Set removeTrailingZeroes to true on bit strings that contain flags.
For bug 106138: make BIT STRING encoding DER-compliant.


git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@127655 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 22:25:19 +00:00
nicolson%netscape.com
91ede2ecc5 Fix 106138: make BIT STRING encoding DER-compliant.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@127654 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 22:18:15 +00:00
nicolson%netscape.com
84e2f6f672 Fix 102922: get rid of -B symbolic linker option.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@127626 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:31:49 +00:00
nicolson%netscape.com
a16bb272a1 Fix 162717: memory leak in PK11Signature.engineSignNative.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@127483 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 18:23:16 +00:00
glen.beasley%sun.com
30d3b19528 remove println
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@126689 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 23:16:24 +00:00
nicolson%netscape.com
adf203f4a8 Fix 161582: Linux build won't load--bad link to libhpi.so.
Stop linking to libhpi.so.


git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@126688 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 22:58:59 +00:00
(no author)
b989a31681 This commit was manufactured by cvs2svn to create branch 'JSS_3_2_BRANCH'.
git-svn-id: svn://10.0.0.236/branches/JSS_3_2_BRANCH@126134 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 22:36:08 +00:00
nicolson%netscape.com
d1a22a7c27 Turn off the beta flag. Time for JSS 3.2 RTM!
git-svn-id: svn://10.0.0.236/trunk@126132 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 22:36:06 +00:00
brendan%mozilla.org
ee9c693dce khanson's patch with a comment elaboration for bug 157652 (r=rogerl, sr=me, a=rjesup).
git-svn-id: svn://10.0.0.236/trunk@126129 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 21:45:16 +00:00
bryner%netscape.com
4ed762fb7b Removing unused NS_DOM/_IMPL_NS_DOM and NS_INTL/_IMPL_NS_INTL defines (bugs 160248 and 160253). Patch for 160248 by walk84@yahoo.com, r=me&cls; patch for 160253 by me, r=cls.
git-svn-id: svn://10.0.0.236/trunk@126125 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 20:53:46 +00:00
relyea%netscape.com
bd00fa6c5f Arg.. version 1.63 was a misapplied patch, (supposed to be checked into the
3.5 branch). The result is 1.63 backs out 1.62, which is not the intent.
restore 1.62.


git-svn-id: svn://10.0.0.236/trunk@126122 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 18:55:59 +00:00
relyea%netscape.com
8d6234c7ca Bug 157730. Don't crash on bogus input from a PKCS #11 device.
review = be & wtc.
a = asa


git-svn-id: svn://10.0.0.236/trunk@126121 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 18:50:11 +00:00
despotdaemon%netscape.com
f6f6a5c4cf Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@126118 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 18:13:54 +00:00
aaronl%netscape.com
61fdb49c09 Not part of build. Bug 30088 - latest type ahead find changes (ifdef'd out). This is the code that will be used to change selection appearance during type ahead find
git-svn-id: svn://10.0.0.236/trunk@126116 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 17:19:34 +00:00
dcone%netscape.com
769ea6c8fa b=148598 r=peterl sr=kin a=asa. This speeds up scrolling with very large backgrounds.
git-svn-id: svn://10.0.0.236/trunk@126115 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 17:13:25 +00:00
mikep%oeone.com
afe2d1af3d Moving listbox to tree for todo items, bug 157273.
git-svn-id: svn://10.0.0.236/trunk@126113 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 15:02:35 +00:00
mikep%oeone.com
94ef0f70d0 Fixing regression bug 160151.
git-svn-id: svn://10.0.0.236/trunk@126111 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 14:57:57 +00:00
bbaetz%student.usyd.edu.au
23b18f81aa Bug 160227 - VERSION cookie not set correctly
r=myk


git-svn-id: svn://10.0.0.236/trunk@126109 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 12:46:02 +00:00
cbiesinger%web.de
c5e340b31e bug 111702 r=ssu sr=dveditz a=asa
`No' is not the opposite of `Accept'


git-svn-id: svn://10.0.0.236/trunk@126108 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 11:23:08 +00:00
bugreport%peshkin.net
bc98a9adfb Bug 113459 Bad regexp in emailregexp causes system lockout
git-svn-id: svn://10.0.0.236/trunk@126107 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 10:15:54 +00:00
bolian.yin%sun.com
72bb691c59 mozilla(gtk2) coredump on Solaris. Bug 140698, patch by jeff.qiu@sun.com, r=blizzard.
Note: This patch is for gtk2, not included in the default build.


git-svn-id: svn://10.0.0.236/trunk@126106 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 08:25:57 +00:00
sfraser%netscape.com
38513eecaa Fix for bug 159929 -- add CFBundleURLTypes entry so that we show up the list of browsers in the Internet Preferences pane. r=sdagley, jj. a=asa
git-svn-id: svn://10.0.0.236/trunk@126102 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 05:31:37 +00:00
sfraser%netscape.com
79f6a041e9 Fixing various drag and drop bugs: 160215 -- dragging link into bookmarks sidebar panel, and into the personal toolbar now works.
Bug 157520 -- dragging a bookmark into a tab no longer leaves things in a bad state. Bug 154906 -- dragging links onto tabs works now.
Changes include adding the bookmarks outline, and the boomarks toolbar as recipients of NSStringPboardType data, and replacing calls to [NSPasteboard propertyListForType], which tries to parse a url string into a property list, with [NSPasteboard stringForType].


git-svn-id: svn://10.0.0.236/trunk@126101 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 02:39:11 +00:00
relyea%netscape.com
089bdc9bb9 Protection against Token misbehaving tokens
git-svn-id: svn://10.0.0.236/trunk@126099 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 02:00:13 +00:00
wtc%netscape.com
ddb3ff7f6b Bug 148220: FIPS 198's key size requirement broke the NSS QA. Backing it
out.


git-svn-id: svn://10.0.0.236/trunk@126098 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 00:55:35 +00:00
wtc%netscape.com
3d78cd054b Bug 148220: the previous checkin missed the inclusion of secerr.h.
git-svn-id: svn://10.0.0.236/trunk@126092 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 23:19:44 +00:00
nelsonb%netscape.com
08c75734ef Fix code to work when subjectAltName extension not present in server cert.
Bug 103752.


git-svn-id: svn://10.0.0.236/trunk@126091 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 23:15:43 +00:00
mitchf%netscape.com
89e53db2ba Reworked mail/news scheme to use new pref approach to replace old RDF approach
Fixes bug 11271 and 13675


git-svn-id: svn://10.0.0.236/trunk@126089 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 23:02:39 +00:00
wtc%netscape.com
14cb1b3f8d Bug 148220: enforce FIPS 198's requirement on the secret key's length.
Added an assertion.  Set the error code on error return.


git-svn-id: svn://10.0.0.236/trunk@126088 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 22:59:13 +00:00
relyea%netscape.com
beeed46bb0 Fix pkcs12 memory leak.
git-svn-id: svn://10.0.0.236/trunk@126087 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 22:51:13 +00:00
bbaetz%student.usyd.edu.au
f15cbedbee Bug 160204 - search/knob.html.tmpl: script type missing, space missing
Patch by burnus@gmx.de (Tobias Burnus), r=bbaetz x2


git-svn-id: svn://10.0.0.236/trunk@126086 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 22:43:50 +00:00
cltbld%netscape.com
68aaf5de2d Moving run_all_tests to be closer to test definitions; cvs diff shows a wild diff here but it is really just moving a large function down in the file. -mcafee
git-svn-id: svn://10.0.0.236/trunk@126085 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 22:22:38 +00:00
ssu%netscape.com
a6606e6f4a checking patch in for neil@parkwaycc.co.uk. fixex bug 158028 - The Mail Start Page does not load. r=ssu, sr=sspitzer, a=drivers. For some reason only half of this patch got checked in initially. this time, the rest is being checked in. sorry about that.
git-svn-id: svn://10.0.0.236/trunk@126084 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 22:12:53 +00:00
cbiesinger%web.de
786a1e9623 bug 152623 patch by nick@technisys.com.ar r=matic,biesi,bz,fabian sr=jst a=asa
title property is shown with 100px fixed width in Element Properties


git-svn-id: svn://10.0.0.236/trunk@126083 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 21:51:50 +00:00
bryner%netscape.com
44791394dd Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa.
git-svn-id: svn://10.0.0.236/trunk@126082 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 21:30:05 +00:00
sicking%bigfoot.com
9f524ba3a3 Use principals instead of URIs for same-origin checks.
b=159348, r=bz, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@126081 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 21:26:32 +00:00
bishakhabanerjee%netscape.com
cb1c633775 Checking in riceman+bmo@mail.rit.edu's patch for bug 133702
git-svn-id: svn://10.0.0.236/trunk@126080 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 21:25:56 +00:00
sfraser%netscape.com
c7e0b00063 Fixing key shortcuts for Previous/Next tab, and reordering those menu items so that Previous comes before Next.
git-svn-id: svn://10.0.0.236/trunk@126079 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 21:06:49 +00:00
bishakhabanerjee%netscape.com
dbb33a4181 Checking in riceman+bmo@mail.rit.edu's patch for bug 133702
git-svn-id: svn://10.0.0.236/trunk@126078 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 20:57:44 +00:00
bishakhabanerjee%netscape.com
6ad004135c Checking in riceman+bmo@mail.rit.edu's patch for bug 133702
git-svn-id: svn://10.0.0.236/trunk@126077 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 20:44:13 +00:00
bishakhabanerjee%netscape.com
60e8287bb3 Checking in riceman+bmo@mail.rit.edu's patch for bug 133702
git-svn-id: svn://10.0.0.236/trunk@126076 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 20:36:29 +00:00
loadrunner%betak.net
daada61591 b127156, polish, Show currently selected packs in language / content pack pref panel, r=tao, sr=dveditz, a=asa
git-svn-id: svn://10.0.0.236/trunk@126072 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 19:50:12 +00:00
nelsonb%netscape.com
e62adbff54 Examine SubjectAltName extensions for SSL server name matching.
Bug 103752.


git-svn-id: svn://10.0.0.236/trunk@126071 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 19:32:33 +00:00
mkaply%us.ibm.com
38854e8744 #107484
r=pete, sr=bzbarsky, a=asa
Fix regression printing on OS/2 - don't do localfile stuff unless we are printing to file


git-svn-id: svn://10.0.0.236/trunk@126070 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 19:27:05 +00:00
mikep%oeone.com
2de15327f5 Adding in the patch from bug 157273.
git-svn-id: svn://10.0.0.236/trunk@126069 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 19:19:50 +00:00
bishakhabanerjee%netscape.com
38907d7b45 Checking in riceman+bmo@mail.rit.edu's patch for bug 133702
git-svn-id: svn://10.0.0.236/trunk@126065 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 19:01:18 +00:00
bishakhabanerjee%netscape.com
ad64d0f773 Checking in riceman+bmo@mail.rit.edu's patch for bug 133702
git-svn-id: svn://10.0.0.236/trunk@126064 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 18:49:46 +00:00
bishakhabanerjee%netscape.com
37906f8053 Checking in riceman+bmo@mail.rit.edu's patch for bug 133702
git-svn-id: svn://10.0.0.236/trunk@126063 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 18:44:36 +00:00
bishakhabanerjee%netscape.com
8cb3f3803b Checking in riceman+bmo@mail.rit.edu's patch for bug 133702
git-svn-id: svn://10.0.0.236/trunk@126062 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 18:36:50 +00:00
sfraser%netscape.com
81f62f5862 Keep Navigator.scriptTerminology in sync with Navigator.scriptSuite.
git-svn-id: svn://10.0.0.236/trunk@126061 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 16:53:09 +00:00
pinkerton%netscape.com
fe2c57f90b Sherlock uses the spyglass suite (bug 160130).
git-svn-id: svn://10.0.0.236/trunk@126059 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 16:02:38 +00:00
pinkerton%netscape.com
2c6c0292ec Ensure gecko knows the drag left the window and shuts down the drag
session (bug 160041)


git-svn-id: svn://10.0.0.236/trunk@126058 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 15:20:28 +00:00
ccarlen%netscape.com
0a6725e635 Bug 156786 - referrer not set when opening links in new window. r=sdagley/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@126057 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 14:13:05 +00:00
bbaetz%student.usyd.edu.au
b0a19ae687 Bug 158236 - Remove 'watchfordiffs' column from namedqueries table
r=preed, jouni


git-svn-id: svn://10.0.0.236/trunk@126056 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 14:05:20 +00:00
mkaply%us.ibm.com
88e7c96831 #160004
r=cavin, sr=bienvenu, a=asa
Fix for regression I caused deleting local folders. Thanks navin!


git-svn-id: svn://10.0.0.236/trunk@126055 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 13:39:10 +00:00
glazman%netscape.com
21e91dd261 Background color buttons were not working in Composer and mail compose due to a bad case in a JS call. b=15126, r=brade, sr=kin, a=asa
git-svn-id: svn://10.0.0.236/trunk@126053 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 08:53:59 +00:00
glazman%netscape.com
4cc28a7da4 Changing a list's bullet was not applying to list items having a specific bullet assigned. b=158820, r=brade, sr=kin, a=asa
git-svn-id: svn://10.0.0.236/trunk@126052 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 08:19:08 +00:00
bzbarsky%mit.edu
949beea157 new regression test. not part of build.
git-svn-id: svn://10.0.0.236/trunk@126051 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 06:41:37 +00:00
ere%atp.fi
adc71d0979 Fix for bug 153083, mozilla (nearly) hangs on rendering. Change timer mode to idle timer.
r=biesi, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@126050 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 06:19:17 +00:00
despotdaemon%netscape.com
3943991ba1 Pseudo-automatic update of changes made by bolian.yin@sun.com.
git-svn-id: svn://10.0.0.236/trunk@126049 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 06:05:29 +00:00
bzbarsky%mit.edu
e1f21b9781 More documentation checkins. r=jkeiser/sicking, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@126048 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 05:34:55 +00:00
sfraser%netscape.com
885256c074 Adding a 'Search Page' item to the Go menu (bug 160056). Made it and the Home item always enabled.
git-svn-id: svn://10.0.0.236/trunk@126047 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 05:09:44 +00:00
sfraser%netscape.com
76fa2aaa8d Fix for bug 160037; remove the SearchPageDefault key so that we go to IC for the default search page.
git-svn-id: svn://10.0.0.236/trunk@126046 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 05:00:14 +00:00
bryner%netscape.com
d5427389a2 Missed this one -D_IMPL_NS_NET for bug 159887. r=cls.
git-svn-id: svn://10.0.0.236/trunk@126043 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 03:09:03 +00:00
timeless%mac.com
6e040059ce Bug 158364 clicking the url proxy widget opens an add bookmark dialog
r=hwaara sr=jag a=asa


git-svn-id: svn://10.0.0.236/trunk@126042 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 03:00:04 +00:00
racham%netscape.com
52decafa30 Fixing bug 138462. Patch in here fixes the crash and hang states reported when user clicked on mailto: link and then try to cancel out of the mailnews account wizard, with a new profile. Patch is contributed by Andrew Shultz (ajschultz@eos.nscu.edu). r=bhuvan, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@126041 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 02:57:19 +00:00
bzbarsky%mit.edu
7a8ba23608 Fix allocation of whitespace in table-layout:fixed to handle rounding
errors better.  Bug 157890, r=karnaze, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@126040 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 02:29:03 +00:00
bryner%netscape.com
157f6e484f Remove obsolete _IMPL_NS_NET and NS_NET defines (bug 159887). r=cls, sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/trunk@126038 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 02:25:08 +00:00
cmanske%netscape.com
6659aafe5f Reduce memory cost of using HTML Source multiple times. b=158860, r=brade, sr=kin, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@126036 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 01:08:02 +00:00
katakai%japan.sun.com
7d4e8bff59 bug 153562
crash trashes user directory, requires new profile
avoid BOM at iconv() for Solaris platform
patch from jk@tools.de
a=asa,r=Roland.Mainz@informatik.med.uni-giessen.de,sr=darin


git-svn-id: svn://10.0.0.236/trunk@126035 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 00:58:36 +00:00
peterlubczynski%netscape.com
13d1a60063 Fixing regression bug 155708, on Mac Classic, Acrobat stops painting PDFs because the timer stopped repeating r=bnesse sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@126033 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 00:22:49 +00:00
cltbld%netscape.com
f73fdc44df Removing defunct mailnews test. Cleaned up layout test comment. -mcafee
git-svn-id: svn://10.0.0.236/trunk@126032 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 00:10:34 +00:00
shannond%netscape.com
ea36c72513 Bug 15074 - NIM pref "Launch automatically at system startup" turned on by default
r=smeredith


git-svn-id: svn://10.0.0.236/trunk@126031 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 00:04:49 +00:00
hwaara%chello.se
0defd3d409 #159065, comment-only change
r=jkeiser/sicking, sr=bz/jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@126030 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 23:44:18 +00:00
rginda%netscape.com
001dde457c - venkman only -
bug 160003, "land venkman 0.9.28", a=asa
Adds "scriptable breakpoints" and "meta comments", described in <news://news.mozilla.org:119/3D45310E.8080206@netscape.com>.
Also adds "run to cursor" and "find in file" functionaliy, and fixes bug 126779.


git-svn-id: svn://10.0.0.236/trunk@126029 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 23:31:19 +00:00
sfraser%netscape.com
36e641f69f Ensure that category methods do the right thing when called on NSMutableStrings by using 'self'.
git-svn-id: svn://10.0.0.236/trunk@126028 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 23:22:32 +00:00
ashishbhatt%netscape.com
3229467b6a updated the sequence of function calls
git-svn-id: svn://10.0.0.236/trunk@126026 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 23:12:52 +00:00
ccarlen%netscape.com
8854b4295f Bug 149785 - nsHashTable hides important functionality of PLHashTable. r=brendan@mozilla.org/sr=alecf/a=brendan
git-svn-id: svn://10.0.0.236/trunk@126022 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 22:48:15 +00:00
sfraser%netscape.com
b74b7dda53 Fix some build warnings that showed up after my string whackage.
git-svn-id: svn://10.0.0.236/trunk@126020 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 22:35:52 +00:00
wtc%netscape.com
4559b05ea5 Bug 159976: removed the incorrect linker options for building a bundle on
Mac OS X. The patch is contributed by Ben Hines <bhines@alumni.ucsd.edu>.


git-svn-id: svn://10.0.0.236/trunk@126017 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 21:48:39 +00:00
yokoyama%netscape.com
d79ab0419d Bug 9449
Fixing linker error on MOZ_UNICODE
/r=shanjian, /sr=kin, /a=asa


git-svn-id: svn://10.0.0.236/trunk@126015 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 21:44:53 +00:00
sfraser%netscape.com
d1763a3736 Whack string usage. Converted category on NSString to use references, added PRUnichar* method, and changed all uses to use these new methods.
git-svn-id: svn://10.0.0.236/trunk@126014 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 21:40:53 +00:00
nelsonb%netscape.com
04d0d3b0e6 Add missing const qualifiers to NSS's regular expression match functions.
git-svn-id: svn://10.0.0.236/trunk@126013 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 21:30:31 +00:00
dbradley%netscape.com
ecb84fbc69 Added makefile.in to prepare for nmake going away. This is built separately, not part of the mozilla build process.
git-svn-id: svn://10.0.0.236/trunk@126010 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 20:47:02 +00:00
seawood%netscape.com
69897f6ae9 Update standalone xpcom instructions to use proper configure option.
Documentation change.


git-svn-id: svn://10.0.0.236/trunk@126008 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 20:29:30 +00:00
cbiesinger%web.de
c1146da488 bug 50633 patch by riceman+bmo@mail.rit.edu r=jkeiser sr=kin a=asa
textarea always does a soft wrap, even with wrap="off" or white-space:nowrap or white-space:pre


git-svn-id: svn://10.0.0.236/trunk@126007 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 20:13:09 +00:00
sfraser%netscape.com
31902e22ef Fix to use new category on NSString for going to and from nsAStrings
git-svn-id: svn://10.0.0.236/trunk@126006 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 19:52:09 +00:00
sfraser%netscape.com
c13eca2aac Add category methods on NSString to assist with going back and forth between nsAStrings and NSStrings.
git-svn-id: svn://10.0.0.236/trunk@126005 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 19:47:00 +00:00
pinkerton%netscape.com
f4239a5880 Don't show about:blank to users.
git-svn-id: svn://10.0.0.236/trunk@126004 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 19:19:43 +00:00
pinkerton%netscape.com
d1c51bd95d Set the next key view when showing/hiding text fields (bug 159275)
git-svn-id: svn://10.0.0.236/trunk@126003 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 18:53:43 +00:00
shrutiv%netscape.com
4837f8e441 Fix for bug 15872: Remove Quick Launch window in Installer UI (r=smeredith)
git-svn-id: svn://10.0.0.236/trunk@126002 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 18:46:49 +00:00
alecf%netscape.com
da8e37d088 for bug 157993 - completed merge of uconv libraries on mac
not part of build


git-svn-id: svn://10.0.0.236/trunk@126000 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 18:41:52 +00:00
morse%netscape.com
7e3387213b bug 159484, password stealing, r=mstoltz, sr=dveditz, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@125999 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 18:17:32 +00:00
pinkerton%netscape.com
56cbdc8bf0 Remember the window title even if we don't have a window controller. (bug 157283)
git-svn-id: svn://10.0.0.236/trunk@125998 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 18:16:07 +00:00
alecf%netscape.com
35bf61cb88 oops, according to yokoyama, ucvcn belongs in ucvasia not ucvwestern
for bug 157993, still not part of build


git-svn-id: svn://10.0.0.236/trunk@125997 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 17:57:46 +00:00
dcone%netscape.com
463438b1e1 Backing out changes. Something is interacting wrong with scroll bars.. so I will investigate.
git-svn-id: svn://10.0.0.236/trunk@125996 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 17:48:22 +00:00
despotdaemon%netscape.com
2f1171125a Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@125992 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 16:19:09 +00:00
pinkerton%netscape.com
728d4d5674 Fix cases where the bookmarks info window would remember the last selection,
even after it had been deleted. Also changes focus when losing key status so
the field editor gets properly released. We seem to have lost the outlets
in the bm sidebar for the info and edit buttons, re-add and re-attach them
and ensure that they are disabled when there is no selection (bug 159655).


git-svn-id: svn://10.0.0.236/trunk@125990 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 15:13:49 +00:00
alecf%netscape.com
9315bd3e6e initial version of combined intl libraries on mac for bug 157993 - not part of build - don't even try these, they don't build yet!
git-svn-id: svn://10.0.0.236/trunk@125989 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 14:40:50 +00:00
ccarlen%netscape.com
496652acb1 Bug 159014 - In PPEmbed, autoscroll when selecting text does not work when cursor leaves view. r=pink/sr=sfraser/a=chofmann
git-svn-id: svn://10.0.0.236/trunk@125988 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 13:53:26 +00:00
dcone%netscape.com
c3907f8985 b=148598 Very Slow scrolling. r=rods sr=kin a=asa. Fixed the update area for the background images. Improves scrolling 100%
git-svn-id: svn://10.0.0.236/trunk@125987 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 13:28:32 +00:00
aaronl%netscape.com
fff598f649 Not part of build. Bug 30088 - type ahead find, fix support of nsITypeAheadFind. Fix for showing link URL in status line in this checkin, but ifdef'd out for now
git-svn-id: svn://10.0.0.236/trunk@125986 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 05:59:32 +00:00
kin%netscape.com
73a7e6dade Fix for bug 157055 (Text doesn't show up on Lycos mail front page (layout broken by focus))
Removed |!aReflowState.path->mReflowCommand| check from |if| condition for the first block that attempts to incrementally reflow the block's absolute children.

This was preventing us from properly reflowing an absolute positioned child or one its children when the current reflow path tree contained both a reflow command targeted at the block and one targeted at the aboslutely positioned child or one of its children. This check shouldn't be necessary since nsAbsoluteContainingBlock::IncrementalReflow() does the necessary checks to see if it really should reflow any of the absolute children.

r=karnaze@netscape.com,waterson@netscape.com  sr=dbaron@fas.harvard.edu   a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@125984 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 04:19:15 +00:00
mcafee%netscape.com
c0c5f77c5e don't need this comment here..
git-svn-id: svn://10.0.0.236/trunk@125983 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 04:18:15 +00:00
blizzard%redhat.com
bfb4ca528c Updating rpm build files. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@125982 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 03:22:52 +00:00
gerv%gerv.net
c99a02ceee Bug 159593 - usedependencies parameter must die. Patch by gerv; r=bbaetz.
git-svn-id: svn://10.0.0.236/trunk@125974 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-28 23:15:53 +00:00
blakeross%telocity.com
9d32b6f822 159477 - arrow key selection in tree has absurd delay. r=brendan sr=hyatt a=blizzard
git-svn-id: svn://10.0.0.236/trunk@125973 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-28 21:45:06 +00:00
jkeiser%netscape.com
bdd456e930 Add comments (bug 159065), r=sicking, sr=jst/bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@125967 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-28 01:47:59 +00:00
darin%netscape.com
f0cbbd351e fixes bug 94734 - crash on a bugzilla search
patch=ajschult@eos.ncsu.edu r/sr=darin,blizzard a=brendan


git-svn-id: svn://10.0.0.236/trunk@125956 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 22:59:44 +00:00
gerv%gerv.net
d6194bc5c2 Merging from 2.16 branch.
git-svn-id: svn://10.0.0.236/trunk@125949 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 22:03:53 +00:00
gerv%gerv.net
f88c3c8f3a Merging new docs from 2.16 branch.
git-svn-id: svn://10.0.0.236/trunk@125947 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 22:01:14 +00:00
jkeiser%netscape.com
ed6384eef4 Finish checkin of bug 141410 for blake.
git-svn-id: svn://10.0.0.236/trunk@125946 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 20:56:06 +00:00
gerv%gerv.net
04d49975ed Bug 159687 - attachment/*.tmpl should use <label>. Patch by burnus; r=gerv.
git-svn-id: svn://10.0.0.236/trunk@125945 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 19:10:18 +00:00
gerv%gerv.net
b0abe9c44a Bug 159644 - bug/create/create.html.tmpl should use <label>. Patch by burnus; r=gerv.
git-svn-id: svn://10.0.0.236/trunk@125943 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 19:02:23 +00:00
leaf%mozilla.org
4ca776d022 Automated update
git-svn-id: svn://10.0.0.236/trunk@125942 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 14:55:17 +00:00
seawood%netscape.com
2a2435aaa1 Backing out solaris mapfile changes from bug 149152
git-svn-id: svn://10.0.0.236/trunk@125941 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 14:40:23 +00:00
bryner%netscape.com
ca7e352068 correcting comment spelling so mcafee can test tinderbox updating.
git-svn-id: svn://10.0.0.236/trunk@125938 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 07:16:35 +00:00
mcafee%netscape.com
794ecf09ae Adding chimera module so tinderbox can track trunk:mozilla/chimera when it is being mixed with branch:SeaMonkeyAll.
git-svn-id: svn://10.0.0.236/trunk@125937 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 06:34:25 +00:00
leaf%mozilla.org
ec1faf1f0b Automated update
git-svn-id: svn://10.0.0.236/trunk@125936 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 06:10:15 +00:00
seawood%netscape.com
ae92950689 This should have been tested against a gcc build before it went it.
Fixing tinderbox bustage (bug 149152)


git-svn-id: svn://10.0.0.236/trunk@125935 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 06:05:52 +00:00
jkeiser%netscape.com
7fb12b3d6a Add documentation comments (bug 159065), r=sicking, sr=bz/jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125934 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 05:02:38 +00:00
leaf%mozilla.org
27d28eebe6 Automated update
git-svn-id: svn://10.0.0.236/trunk@125932 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 02:55:14 +00:00
joe.chou%sun.com
c93164dcdb Bug149152-Add mapfile to Solaris to improve browser performance. r=cls@seawood.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125930 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 02:45:51 +00:00
joe.chou%sun.com
3b6726e7b2 Bug 149152 - Add mapfile to solaris to improve browser performance. r=cls@seawood.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125929 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 02:43:27 +00:00
jkeiser%netscape.com
4f471ffd8f Add comments (bug 159065), r=sicking, sr=jst/bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@125928 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 02:33:47 +00:00
jkeiser%netscape.com
2da66a0941 Comment nsIHTMLContent.h (bug 159605). r=sicking, sr=jst/bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@125927 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 02:00:03 +00:00
blakeross%telocity.com
bd85f7210f Reverting some changes that were for a different bug.
git-svn-id: svn://10.0.0.236/trunk@125926 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 01:27:02 +00:00
sfraser%netscape.com
e8e1d41771 Fixing bug 156893: strip control characters out of strings which are to become bookmark titles, to avoid saving corrupt XML.
git-svn-id: svn://10.0.0.236/trunk@125925 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 01:24:42 +00:00
sfraser%netscape.com
23d8247539 Added NSString+Utils.mm/.h
git-svn-id: svn://10.0.0.236/trunk@125924 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 01:22:32 +00:00
sfraser%netscape.com
188ed0ac25 New files adding a category on NSString with some useful cleanup functions.
git-svn-id: svn://10.0.0.236/trunk@125923 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 01:21:59 +00:00
darin%netscape.com
32cf5a8655 fixes bug 146884 - Mozilla sometimes consumes 100% CPU when pipelining is enabled...
r=dougt sr=rpotts a=asa


git-svn-id: svn://10.0.0.236/trunk@125922 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 01:06:05 +00:00
sfraser%netscape.com
473553d46e Fix bug 158927 -- controls not drawing correctly in QuickTime plugin. The problem was that the thread scheduling Timer Task would call WakeUpProcess() every time when we are blocked and not servicing NSPR threads (for example when tracking plugin controls). A side effect of this is to prevent Mac OS X from flushing the window back buffers, hence the drawing issues. Fix is to only call WakeUpProcess() if we've been through the scheduler since the last time. r=sdaglye, wtc. a=asa.
git-svn-id: svn://10.0.0.236/trunk@125921 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 01:01:36 +00:00
blakeross%telocity.com
27d76b37fd 141410 - download manager doesn't highlight the active transfer by default. r=caillon sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@125919 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 00:47:18 +00:00
darin%netscape.com
90e6d51bf6 fixes bug 159583 - simple string bundle optimization
r=yokoyama sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@125918 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 00:46:21 +00:00
pete.zha%sun.com
9faa82fe3c Migrated UW IMAP UI: New Folder Dialog is not displaying completely for the FIRST time
bug=90734 r=naving sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@125917 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 00:33:12 +00:00
sfraser%netscape.com
6232c32224 Cleanup some NSLogs and comments from last checkin.
git-svn-id: svn://10.0.0.236/trunk@125913 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:37:11 +00:00
sfraser%netscape.com
28f7c3b49e Fix bug 159461: make the progress window remember its position, and (bug 159460) have it appear in the Windows menu, with a useful name.
git-svn-id: svn://10.0.0.236/trunk@125912 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:37:10 +00:00
serge%netscape.com
16b06ae69f fix 152429, flash in an iframe crashes with Gdk-ERROR **: BadDrawable; r=bzbarsky, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125911 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:30:27 +00:00
sfraser%netscape.com
86c9fa6d83 Fix assumptions all over the code about the main window being a browser window; it can be a progress window, or the About window (and others in future). Ensure that the menu items that are enabled when a non-browser window is frontmost work as expected (e.g. Mange Bookmarks, opening a bookmark).
git-svn-id: svn://10.0.0.236/trunk@125910 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:29:49 +00:00
dprice%netscape.com
ccea66e526 157522 sr=dveditz a=asa
don't delete installed-chome.txt


git-svn-id: svn://10.0.0.236/trunk@125909 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:28:49 +00:00
sfraser%netscape.com
401d1f274c Minor tidyup of saveFrameUsingName/setFrameUsingName.
git-svn-id: svn://10.0.0.236/trunk@125908 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:26:30 +00:00
bzbarsky%mit.edu
28b1505b87 Fix bug 159268 (hiding and reshowing an iframe regression). r=sicking,
sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@125907 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:11:19 +00:00
jst%netscape.com
c99a7fc274 Fixing regression bug 159468. Hold a strong reference to the script context in nsCxPusher to make sure it stays alive as long as we need it. r=jkeiser@netscape.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125906 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:10:36 +00:00
rginda%netscape.com
42f6f7246b bug 155328, r=bz, sr=jst
fix uninitialized return value in nsViewManager::Init


git-svn-id: svn://10.0.0.236/trunk@125905 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:09:06 +00:00
ssu%netscape.com
d29aa08df3 fixing bug 158199 - Mailnews Prefs dialogs are missing mnemonics. r=varada, sr=mscott a=drivers
git-svn-id: svn://10.0.0.236/trunk@125904 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:06:32 +00:00
pete.zha%sun.com
bcb3567454 Printing / Page settings reset themselves after print (no landscape printing)
bug=147605 r=petez sr=jst a=asa patch=Roland.Mainz@informatik.med.uni-giessen.de
Thanks Roland for this patch!


git-svn-id: svn://10.0.0.236/trunk@125903 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 22:58:24 +00:00
jkeiser%netscape.com
1675ed197f Add comments (bug 159065), r=sicking, sr=bz/jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125900 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 22:33:43 +00:00
gerv%gerv.net
4e1dced5ac Bug 159582 - search/knob.html.tmpl should use <label> for the radiobuttons. Patch by burnus; r=gerv.
git-svn-id: svn://10.0.0.236/trunk@125899 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 22:29:24 +00:00
gerv%gerv.net
90e7132a5c Bug 159629 - make users login to add quips. Patch by gerv; r=burnus.
git-svn-id: svn://10.0.0.236/trunk@125898 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 22:21:56 +00:00
yokoyama%netscape.com
cdebcf28d6 Bug 156979
XBL emulation of marquee
update the installed-chrome.txt for embedder
/r=adamlock, chak, /a=asa


git-svn-id: svn://10.0.0.236/trunk@125897 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 22:20:39 +00:00
cbiesinger%web.de
25cce6f6ab bug 155702 patch by sergei_d@fi.tartu.ee r=arougthopher@lizardland.net a=asa
nsWindowBeOS::QuitRequested always issues CLOSEWONDOW event


git-svn-id: svn://10.0.0.236/trunk@125895 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 22:09:54 +00:00
cbiesinger%web.de
4f69b52a8e bug 71343 patch by sergei_d@fi.tartu.ee r=arougthopher@lizardland.net a=asa
[BEOS] Windows are not brought to front when requested


git-svn-id: svn://10.0.0.236/trunk@125894 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 22:05:04 +00:00
ashishbhatt%netscape.com
e3b14c3f05 Updated to show profiles dialog at startup
git-svn-id: svn://10.0.0.236/trunk@125893 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 21:34:44 +00:00
jkeiser%netscape.com
325bff7164 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa


git-svn-id: svn://10.0.0.236/trunk@125891 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:57:24 +00:00
gerv%gerv.net
f20e59a0fe Bug 158658 - relogin.cgi should use a template. This also adds the ability to localise messages. Patch by gerv; r=burnus.
git-svn-id: svn://10.0.0.236/trunk@125888 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:49:04 +00:00
gerv%gerv.net
11e488111d Bug 150776 - Remembered query options need regrouping. Patch by gerv; r=jouni, burnus.
git-svn-id: svn://10.0.0.236/trunk@125887 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:44:46 +00:00
jkeiser%netscape.com
b23089d0ce Move nsIHTMLContent.h into content/html/content/public (bug 77069), r=heikki, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125886 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:44:02 +00:00
gerv%gerv.net
53af493081 Bug 106640 - allow translation of system messages. Patch by gerv; r=burnus.
git-svn-id: svn://10.0.0.236/trunk@125883 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:39:17 +00:00
gerv%gerv.net
55840407d6 Bug 158497 - Templatise colchange.cgi. Patch by gerv; r=burnus.
git-svn-id: svn://10.0.0.236/trunk@125882 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:37:06 +00:00
pinkerton%netscape.com
88412f5cca Separating the personal toolbar from the sidebar selection. Bookmarks info
controller is now a singleton that lives forever. Personal toolbar context
menus do the right thing. (bug 148932).


git-svn-id: svn://10.0.0.236/trunk@125881 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:28:45 +00:00
leaf%mozilla.org
a305d85996 fix for bug 156577, r=chak. simple change to check for directory existence
before mkdir commands.


git-svn-id: svn://10.0.0.236/trunk@125879 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 19:31:06 +00:00
naving%netscape.com
781e9c65e2 42090 most of the work for this patch done by joshua.xia@sun.com r=naving sr=bienvenu a=asa Make cancel in
filterListDialog not remember changes.


git-svn-id: svn://10.0.0.236/trunk@125877 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 19:27:30 +00:00
mcafee%netscape.com
2169fd9093 fixing logic in pageload test for 2nd attempt case.
git-svn-id: svn://10.0.0.236/trunk@125875 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 19:10:58 +00:00
pinkerton%netscape.com
924efd456d Fixes crash when selecting text during URL load, adds undo/redo to url bar,
reduces the number of times we load about:blank to 1 per window, fixes
unicode characters in bookmarks. (bug 149198, 153263, 155710)


git-svn-id: svn://10.0.0.236/trunk@125873 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 18:50:01 +00:00
gerv%gerv.net
e18ec1cbb7 Bug 159565 - fix hash initialisation error caused by my duff patch for accesskeys. Patch by burnus; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@125870 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 18:22:18 +00:00
wtc%netscape.com
43d17bd1d6 Fixed the comment. The length of the secret may be larger than 64 bytes.
git-svn-id: svn://10.0.0.236/trunk@125869 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 18:20:59 +00:00
gerv%gerv.net
c2a07f8ca4 ... and = instead of =>.
git-svn-id: svn://10.0.0.236/trunk@125868 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 18:20:58 +00:00
gerv%gerv.net
1b57318c55 Fixing bustage caused by ; instead of , in burnus' patch.
git-svn-id: svn://10.0.0.236/trunk@125867 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 18:20:13 +00:00
gerv%gerv.net
e5f79c89d2 Bug 158651 - currenttime should use time2str. Patch by burnus@gmx.de; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@125865 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 18:16:39 +00:00
gerv%gerv.net
a8ca30121c Bug 123740 - Add <label> to email prefs. Patch by burnus@gmx.de; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@125864 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 18:11:45 +00:00
yokoyama%netscape.com
ff9f774c5b Bug 156979
XBL emulation of marquee.
/r=nhotta, timeless, /sr=jst, /a=asa


git-svn-id: svn://10.0.0.236/trunk@125863 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 17:47:16 +00:00
leaf%mozilla.org
f068dae85c adding new files from nsGfxTextControlFrame2.*; part of renaming in bug 129909
git-svn-id: svn://10.0.0.236/trunk@125861 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 17:17:00 +00:00
timeless%mac.com
03b6db2975 Bug 158790 - debug has printing prefs in a rendering group
patch by spiffonator@netscape.net r=timeless sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@125860 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 16:55:45 +00:00
nhotta%netscape.com
c49fae7638 Adding null check for mDocument before getting a document charset,
bug 159434, r=caillon, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125859 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 16:45:45 +00:00
mikep%oeone.com
1456ece7b6 Fixes from OEoen calendar, removing duplicate and unused css attributes.
git-svn-id: svn://10.0.0.236/trunk@125858 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 15:19:22 +00:00
mikep%oeone.com
2651f6ccd4 Fixing so that outlook can import events mailed to other people.
Bug 159549.


git-svn-id: svn://10.0.0.236/trunk@125857 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 15:15:14 +00:00
ccarlen%netscape.com
a83072dd92 Bug 158126 - PPEmbed does not send activate events to Gecko. r=pink/sr=sfraser/a=asa.
git-svn-id: svn://10.0.0.236/trunk@125856 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 14:36:22 +00:00
mikep%oeone.com
fc977eaceb Fixing bug 159541.
git-svn-id: svn://10.0.0.236/trunk@125855 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 14:01:10 +00:00
mostafah%oeone.com
861d6bb2cb Checked in patch for bug 159458: [RFE] option to not save the Mozilla custom X- properties
git-svn-id: svn://10.0.0.236/trunk@125854 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 13:37:59 +00:00
cbiesinger%web.de
672499b3ae bug 155655 r=timeless sr=blake a=asa
Navigator preferences leave blank space where "make default browser" would be


git-svn-id: svn://10.0.0.236/trunk@125851 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 08:34:53 +00:00
peterlubczynski%netscape.com
725cbaf73e Fixing bug 152927: can't script any plugin in nested EMBED tag inside an OBJECT tag from onLoad handler -- CNET radio does not play with Real because SetSource is called from onLoad r=kmcclusk sr=dveditz a=asa
git-svn-id: svn://10.0.0.236/trunk@125845 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 03:48:24 +00:00
rginda%netscape.com
133a2f6ef8 bug 155328, "nsViewManager and nsPresShell are unaware of stacked event queues"
sr=jst, r=roc+mozilla@cs.cmu.edu, a=asa

make sure we always post new invalidate events to the topmost queue, and don't skip creating new reflow events just because we happen to have one an elder queue.


git-svn-id: svn://10.0.0.236/trunk@125843 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 03:31:56 +00:00
rginda%netscape.com
cd7bad237a bug 155328, "nsViewManager and nsPresShell are unaware of stacked event queues"
sr=rpotts, r=jst, a=asa

make sure we always post new reflow events to the topmost queue, and don't skip creating new reflow events just because we happen to have one an elder queue.


git-svn-id: svn://10.0.0.236/trunk@125842 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 03:29:07 +00:00
bzbarsky%mit.edu
59edb917bd Fix up the build stuff in there too. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@125839 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 01:35:34 +00:00
bzbarsky%mit.edu
39acdb7a27 Updating interfaces to reflect new edition of the spec. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@125838 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 01:30:33 +00:00
timeless%mac.com
518a0fb1b9 bug 157572 by alecf ports (os/2, xlib) bustage
git-svn-id: svn://10.0.0.236/trunk@125836 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 01:01:37 +00:00
bzbarsky%mit.edu
1ed31e83a7 Fix some build warnings. Bug 157378, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=bbaetz,
biesi, sr=bzbarsky, a=asa


git-svn-id: svn://10.0.0.236/trunk@125834 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 00:40:05 +00:00
bzbarsky%mit.edu
56707d69cd Backing out fix for bug 156072 due to regression bug 158792. r=caillon/sr=jst/a=asa
git-svn-id: svn://10.0.0.236/trunk@125833 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 00:35:15 +00:00
timeless%mac.com
cda8c2f36a bug 157572 by alecf busted bezilla
a=#bezilla,leaf for tinderbustage


git-svn-id: svn://10.0.0.236/trunk@125831 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 00:14:39 +00:00
cbiesinger%web.de
99426a9b40 bug 158789 patch by spiffonator@netscape.net r=blake sr=alecf a=asa
advanced has incomprehensible pref text


git-svn-id: svn://10.0.0.236/trunk@125822 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 22:03:13 +00:00
pinkerton%netscape.com
2a0f1b0336 Removing file, changed to .mm
git-svn-id: svn://10.0.0.236/trunk@125821 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 21:58:32 +00:00
pinkerton%netscape.com
910a803cc8 Move the pref controller to be a .mm file
git-svn-id: svn://10.0.0.236/trunk@125820 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 21:57:53 +00:00
pinkerton%netscape.com
8677e94998 Changing to be a .mm file so we can use c++ for writing out prefs
git-svn-id: svn://10.0.0.236/trunk@125819 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 21:56:33 +00:00
akkana%netscape.com
6a0a8efa86 142826: move to beginning of found pattern after a reverse find. Fix is from harry.lu@sun.com, r=me, sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@125818 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 21:49:42 +00:00
shrutiv%netscape.com
a1f6af4667 updating show example images
git-svn-id: svn://10.0.0.236/trunk@125817 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 21:48:14 +00:00
bryner%netscape.com
0c0cf9ecf3 Fix focus crasher resulting from the window's firstResponder pointing to a deleted NSView. Bug 159291, r/sr=hyatt. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@125815 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 21:31:51 +00:00
bryner%netscape.com
71e5a0d9ce Factor the nsIPromptService implementation out of CocoaBrowserService, and move it to using a generic factory. Clean up some #includes. Change AppComponents.cpp to a .mm file since it needs to include some cocoa headers. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@125813 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 21:28:23 +00:00
shrutiv%netscape.com
56e1a45320 updating show example images
git-svn-id: svn://10.0.0.236/trunk@125811 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 21:10:39 +00:00
mostafah%oeone.com
b4d992cb02 Fixed bug 158957: DTSTAMP must use UTC time
and a bunch of indenting


git-svn-id: svn://10.0.0.236/trunk@125808 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 21:08:02 +00:00
smontagu%netscape.com
f0c487bee0 Fix crasher bug 158796, r=jkeiser, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125804 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 20:40:51 +00:00
timeless%mac.com
02bd51dca0 Bug 159070 installer claimed my everything install did not include PSM
r=ssu sr=dveditz a=asa


git-svn-id: svn://10.0.0.236/trunk@125803 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 20:40:32 +00:00
cbiesinger%web.de
a118c8a10f bug 158922 patch by spiffonator@netscape.net r=biesi sr=alecf a=asa
remove unused strings


git-svn-id: svn://10.0.0.236/trunk@125802 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 20:36:09 +00:00
timeless%mac.com
eb760368df Bug 158606 crash with -moz-opacity
patch by sergei_d@fi.tartu.ee r=timeless sr=blizzard (ports code) a=asa


git-svn-id: svn://10.0.0.236/trunk@125801 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 20:26:33 +00:00
dougt%netscape.com
93a121bec1 ProxyObjectCallInfo class is exported by many dso. r=darin, sr=alec, a=asa, b=158932
git-svn-id: svn://10.0.0.236/trunk@125800 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 20:13:06 +00:00
dougt%netscape.com
7383c167c4 nsICollection's nsQueryElementAt class is exported. r=darin, sr=alec, a=asa, b=158931
git-svn-id: svn://10.0.0.236/trunk@125798 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 20:12:18 +00:00
alecf%netscape.com
3c86efbaa2 fix for bug 159220 - make nsWindowDataSource be 64-bit friendly so we don't crash on Tru64
r=timeless, sr=brendan, a=asa


git-svn-id: svn://10.0.0.236/trunk@125797 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 20:02:33 +00:00
timeless%mac.com
9ba7855de7 Bug 157348 no AltGr recognised
patch by sergei_d@fi.tartu.ee r=timeless sr=blizzard (ports code) a=asa


git-svn-id: svn://10.0.0.236/trunk@125796 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 19:59:54 +00:00
alecf%netscape.com
6d5d0fa10e fix bustage by #including nsCOMPtr.h
git-svn-id: svn://10.0.0.236/trunk@125795 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 19:44:15 +00:00
bryner%netscape.com
7bc238d7a1 Change ShortVersion to be just the version number, not including the product name.
git-svn-id: svn://10.0.0.236/trunk@125794 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 19:05:56 +00:00
leaf%mozilla.org
94a5d7de0c Automated update
git-svn-id: svn://10.0.0.236/trunk@125793 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:40:14 +00:00
margaret.chan%sun.com
8cd5650005 Bug 149151 - Use -lazyload to distribute cost of loading objects throughout their life cycle. This checkin also includes another linker option -zcombreloc which will combine relocatable objects in one section. Both options are added for performance reason, and they are only for Solaris. r=cls, a=asa.
git-svn-id: svn://10.0.0.236/trunk@125792 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:37:34 +00:00
alecf%netscape.com
7e8aa74093 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@125791 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:31:10 +00:00
tao%netscape.com
8f333523c8 Update instructions in README and provide link to a new file,
leve-xlation.html which has more explanation.


git-svn-id: svn://10.0.0.236/trunk@125790 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 17:38:28 +00:00
cmanske%netscape.com
dd2de77d93 Fixed Tab code in Composer dialogs, b=157778, r=neil@parkwaycc.co.uk, sr=alecf, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@125789 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 17:32:12 +00:00
mikep%oeone.com
af4bc6cf21 Integrating license changes and other changes from OEone.
git-svn-id: svn://10.0.0.236/trunk@125787 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 17:05:46 +00:00
mikep%oeone.com
a728ae346c Patch 92744 from bug 156687.
git-svn-id: svn://10.0.0.236/trunk@125785 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 16:43:25 +00:00
mikep%oeone.com
369e8229d0 Fixing problem with long titles not wrapping in day view.
git-svn-id: svn://10.0.0.236/trunk@125784 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 14:28:21 +00:00
mikep%oeone.com
3692434a8e Fix from integrating changes for to items, bug 156687.
git-svn-id: svn://10.0.0.236/trunk@125783 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 14:26:22 +00:00
jdunn%netscape.com
28c54c8a52 moving extern statement out of function scope to fix bustage
r=dougt@netscape.com
sr=rpotts@netscape.com
a=asa@mozilla.org
# 141359


git-svn-id: svn://10.0.0.236/trunk@125782 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 14:21:00 +00:00
mikep%oeone.com
5a3999941d Adding in patch from bug 156687 from AJB.
git-svn-id: svn://10.0.0.236/trunk@125781 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 14:12:52 +00:00
mikep%oeone.com
cf8b475ee8 Adding tasks to button.
git-svn-id: svn://10.0.0.236/trunk@125780 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 14:11:33 +00:00
caillon%returnzero.com
97e3cd10d2 Bug 155752 - Use the XML parser for XHTML about: services
Patch contributed by Alexey Chernyak <alexey@ihug.com.au>
r=timeless, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@125778 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 13:36:37 +00:00
caillon%returnzero.com
4767339f6c Bug 155752 - Use the XML parser for XHTML about: services
Patch contributed by Alexey Chernyak <alexey@ihug.com.au>
r=timeless, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@125777 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 13:27:16 +00:00
mikep%oeone.com
dd6dc2263c Small fix for cutting events, bug 158604.
git-svn-id: svn://10.0.0.236/trunk@125776 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 12:32:36 +00:00
depstein%netscape.com
0d552e997c changed url
git-svn-id: svn://10.0.0.236/trunk@125775 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 08:19:35 +00:00
bzbarsky%mit.edu
e6f206c6ce Adding idl files needed for DOM3 Load/Save. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@125774 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 06:38:57 +00:00
sfraser%netscape.com
d4abf23b1b Changing the 'Wrap' checkbox keyboard shortcut from Command-W to Command-R, to avoid conflict with Command-W closing the window.
git-svn-id: svn://10.0.0.236/trunk@125773 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 05:59:33 +00:00
sfraser%netscape.com
e5a16281a8 Fix for bug 159296 -- put the build ID in the about window. Also tweaked the scrolling text timer to fire much less fequently (and scroll more each time, but still remain smooth). Added dist/include to the include paths in the project (for nsBuildID.h), and fixed some file access paths to stuff in widget/src/cocoa.
git-svn-id: svn://10.0.0.236/trunk@125771 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 05:47:16 +00:00
pete.zha%sun.com
23127b1a98 Fix the foolish comments in previou check in.
Change "we are them" to "we enable them"
Will not effect the build


git-svn-id: svn://10.0.0.236/trunk@125769 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 05:20:14 +00:00
pete.zha%sun.com
2a3bf650f0 unix: should remove the Reveal Location & Launch File buttons from download progress dialog
bug=90008 r=jkeiser sr=bzbarsky a=asa


git-svn-id: svn://10.0.0.236/trunk@125768 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 05:10:46 +00:00
wtc%netscape.com
22622bc346 Removed unused ASN.1 templates and unnecessary declarations.
Modified Files: lowcert.c pcertt.h


git-svn-id: svn://10.0.0.236/trunk@125767 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 03:59:38 +00:00
henry.jia%sun.com
b3bfda0fb7 Fix for bug 138191
Description: Changing field focus with javascript and backspacing breaks tabbing
patch by Gilbert.Fang@sun.com
r=jkeiser, sr=bryner, a=asa


git-svn-id: svn://10.0.0.236/trunk@125766 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 03:14:29 +00:00
kaie%netscape.com
9132da9e54 b=141268 OCSP error messages should say OCSP, not OSCP (typo)
r=hixie sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@125764 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 02:48:33 +00:00
kaie%netscape.com
a9eeb6b688 b=145698 javascript strict warnings in msgCompSecurityInfo.js
r=javi sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@125763 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 02:45:51 +00:00
kaie%netscape.com
69975a03b0 b=156748 Incorrect stylesheet rule in message compose S/Mime overlay
r=dbaron sr=mscott a=asa


git-svn-id: svn://10.0.0.236/trunk@125762 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 02:38:06 +00:00
kaie%netscape.com
3232c2fc50 b=113844 "Load PKCS#11 Device" dialog sized incorrectly
r=kaie/javi  sr=alecf  a=asa


git-svn-id: svn://10.0.0.236/trunk@125761 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 02:26:52 +00:00
sfraser%netscape.com
c3e845b32f Fix for bug 158378: fix the bookmark info panel to behave correctly, support Undo, and not crash. Patch from David Hass, hacked on by me.
git-svn-id: svn://10.0.0.236/trunk@125760 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 02:07:43 +00:00
rods%netscape.com
717b70cb65 Hide the Page Setup btn on Linux until Bug 119491 is fixed
Bug 158282 r=sgehani sr=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@125759 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 01:48:42 +00:00
justdave%syndicomm.com
74ea63b790 Fix for bug 154008: some basic (but incomplete) maintenance on bug_email.pl, also fixes a possible security hole with a misuse
of a system() call.
Patches by Erik Anderson <erikba@teamworkgroup.com> and Brad Baetz <bbaetz@student.usyd.edu.au>
r= myk, justdave


git-svn-id: svn://10.0.0.236/trunk@125758 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 01:47:50 +00:00
sfraser%netscape.com
2e65f57aea Fix for bug 154895: fix Next/Previous tab to just cycle round through all tabs if you hit the start or end. That way, they are always enabled (when tabs are visible).
git-svn-id: svn://10.0.0.236/trunk@125756 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 01:16:36 +00:00
bryner%netscape.com
410ad0fd16 Factor out security dialogs from CocoaBrowserService, and provide a mechanism for using generic factories for application-provided XPCOM components (bug 158801). r=pinkerton, sfraser.
git-svn-id: svn://10.0.0.236/trunk@125755 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 00:57:27 +00:00
sfraser%netscape.com
60422765b0 Fix bug 157950: make sure that Find Again is disabled if there is no search string stored. Also changed the Find dialog behaviour to stay up when you hit Find (as it should, since it's a panel), to default to 'wrap' and 'ignore case' being on, and added key shortcuts for the checkboxes.
git-svn-id: svn://10.0.0.236/trunk@125753 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 00:42:53 +00:00
jrgm%netscape.com
30e5e68735 bug 158072: 'remove dead function selectLocale from strres.js', r=timeless, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@125752 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 00:38:23 +00:00
bryner%netscape.com
2b1e437151 Make MachO mac build use Mac locale code (bug 158266). r=pinkerton, sr=sfraser, a=asa.
git-svn-id: svn://10.0.0.236/trunk@125750 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 00:28:29 +00:00
bryner%netscape.com
db891f00b1 fixing css syntax error (bug 158981). r=jkeiser, sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/trunk@125749 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 00:12:04 +00:00
shrutiv%netscape.com
133bfab0b1 Including banner bmp for bookmarkscreen
git-svn-id: svn://10.0.0.236/trunk@125748 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 00:11:36 +00:00
sfraser%netscape.com
f83158bd8f Fix for bug 159170; when doing a Save, don't show the 'Leave open' button in the download progress window, and make sure that the window always closes at the end of the saving. r=pinkeron
Also fixed a refounting boo-boo with the downloader factor.


git-svn-id: svn://10.0.0.236/trunk@125747 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 00:00:51 +00:00
gerv%gerv.net
b25db35652 Bug 67950c - make quips.cgi compile without warnings, by use vars-ing $userid. Patch by gerv.
git-svn-id: svn://10.0.0.236/trunk@125745 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 23:38:50 +00:00
gerv%gerv.net
f0187522d7 Bug 67950b - quick fixes. Patch by gerv.
git-svn-id: svn://10.0.0.236/trunk@125744 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 23:32:41 +00:00
gerv%gerv.net
7998b638b7 Bug 67950 - Move the quip list into the database. Patch by davef@tetsubo.com; r=gerv, preed.
git-svn-id: svn://10.0.0.236/trunk@125742 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 23:23:00 +00:00
shrutiv%netscape.com
5089477442 Fix for bugscape bug 17314: remove bookmarks and sidebar from "Before
You Begin" (r=mitchf)


git-svn-id: svn://10.0.0.236/trunk@125741 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 23:21:40 +00:00
gerv%gerv.net
4d65990457 Bug 158660 - confirm_login in CGI.pl should use a template for the login dialog. Patch by gerv; 2xr=jouni.
git-svn-id: svn://10.0.0.236/trunk@125740 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 23:13:35 +00:00
pinkerton%netscape.com
fdea88a4db Changed "Save Link As..." in context menus to "Download Link Target..." (bug 159201)
git-svn-id: svn://10.0.0.236/trunk@125737 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 22:00:11 +00:00
pinkerton%netscape.com
6a614634bf localize d/l progress dialog and put strings in localizable.strings (bug 143093)
git-svn-id: svn://10.0.0.236/trunk@125736 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 21:48:08 +00:00
cltbld%netscape.com
1839a35cc1 Switching to pageload_server instead of hard-coded url for pageload test. -mcafee
git-svn-id: svn://10.0.0.236/trunk@125735 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 21:32:49 +00:00
alecf%netscape.com
31d3d623b4 lay some groundwork for bug 158003 - make some static constructors for the base classes that all the encoders/decoders can share
not part of build


git-svn-id: svn://10.0.0.236/trunk@125734 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 21:27:57 +00:00
alecf%netscape.com
ed041269b4 work for bug 158003 and bug 157993 - tweak base support classes with a fake inner interface in debug builds, so we can use QI to determine if the class is based off any of these support classes.
no reviewer, not part of build


git-svn-id: svn://10.0.0.236/trunk@125733 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 21:20:18 +00:00
cbiesinger%web.de
98a1043bbe bug 158937 r=timeless sr=bz a=asa
comment wrong


git-svn-id: svn://10.0.0.236/trunk@125732 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 20:53:50 +00:00
bzbarsky%mit.edu
4200beed9b Fix silly logic error in lazy lists. Bug 158948, r=jkeiser, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125731 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 20:43:48 +00:00
dprice%netscape.com
f25e227f7b 141056 r=hawara sr=dveditz a=asa
add error checking to fix top crasher


git-svn-id: svn://10.0.0.236/trunk@125730 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 20:42:22 +00:00
pinkerton%netscape.com
cdeb82a090 fix phantom checkbox and password field in prompt dialog (bug 156561)
git-svn-id: svn://10.0.0.236/trunk@125729 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 20:41:30 +00:00
ssu%netscape.com
a8c53c87f7 checking in patch for neil@parkwaycc.co.uk. fixes bug 158028 - The Mail Start Page does not load. r=ssu sr=sspitzer a=asa
git-svn-id: svn://10.0.0.236/trunk@125728 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 20:39:00 +00:00
gerv%gerv.net
b858190117 bug 159200 - support accesskey in search page. Patch by gerv; 2xr=timeless.
git-svn-id: svn://10.0.0.236/trunk@125727 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 20:25:08 +00:00
despotdaemon%netscape.com
c86bb44258 Pseudo-automatic update of changes made by curt@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@125726 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 20:13:49 +00:00
locka%iol.ie
c35ec937f6 Fixup link tags as stylesheets or anchors according to the value in their "rel" attribute. b=148797 r=brade@netscape.com sr=kin@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125725 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 19:59:17 +00:00
gerv%gerv.net
54edcc88f8 Bug 102648 - a little more thought. We are changing Platform to Hardware (see the search page) for usability; if we do that, Product can be P and Hardware can be H. 2xr=timeless.
git-svn-id: svn://10.0.0.236/trunk@125724 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 19:53:00 +00:00
jkeiser%netscape.com
b6ca8fa2ed Add API Documentation comments (bug 159065), r=sicking, sr=jst/bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/trunk@125722 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 19:40:03 +00:00
gerv%gerv.net
4626ac5418 Bug 102648 - Bugzilla should support accesskey. Patch by gerv; 2xr=timeless.
git-svn-id: svn://10.0.0.236/trunk@125721 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 19:14:07 +00:00
shrutiv%netscape.com
f9416d1e3b Fix for bug 158373: [REG] AOD is showing up on the end user's component
list (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@125720 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 18:31:38 +00:00
despotdaemon%netscape.com
a3c7a039f9 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@125719 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 18:28:07 +00:00
cltbld%netscape.com
cbac512367 Setting pageload_server to more-appropriate default, spider. External people, please ask mcafee or jrgm for external ip. -mcafee
git-svn-id: svn://10.0.0.236/trunk@125718 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 18:08:15 +00:00
shrutiv%netscape.com
20283028ef Removing fix for bugscape bug 18020
git-svn-id: svn://10.0.0.236/trunk@125716 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 17:59:31 +00:00
pinkerton%netscape.com
5444122c25 Add aqua-like broken image icon
git-svn-id: svn://10.0.0.236/trunk@125715 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 17:48:48 +00:00
pinkerton%netscape.com
369b525690 aqua-looking broken image icon
git-svn-id: svn://10.0.0.236/trunk@125714 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 17:47:34 +00:00
shrutiv%netscape.com
ffb4b008bc Fix for bugscape bug 18020: Remove the CCKDocs folder from the installed
product (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@125713 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 17:41:29 +00:00
mcafee%netscape.com
ef253c4434 fixed slash problem
git-svn-id: svn://10.0.0.236/trunk@125711 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 16:04:03 +00:00
mikep%oeone.com
f44ecc8fb8 Fixing file type error.
git-svn-id: svn://10.0.0.236/trunk@125707 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 14:01:11 +00:00
mikep%oeone.com
c05391a935 Importing changes from OEone calendar, adding in UI for adding contacts to events.
git-svn-id: svn://10.0.0.236/trunk@125705 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 13:19:34 +00:00
mikep%oeone.com
6f5a20fe9d Start of adding in ability to link addresses to events.
git-svn-id: svn://10.0.0.236/trunk@125703 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 13:16:29 +00:00
mikep%oeone.com
e5c4c53135 Patch from ajbu@planet.nl for bug 159029.
git-svn-id: svn://10.0.0.236/trunk@125702 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 13:07:19 +00:00
bryner%netscape.com
9129fe1a67 Fixing static build bustage from sfraser's checkin for bug 145800:
- add all new source files to static build target
 - rename nsDownloader to CHDownloader to avoid symbol name conflicts with necko.


git-svn-id: svn://10.0.0.236/trunk@125690 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 08:23:52 +00:00
ssu%netscape.com
01886d9c66 fixing redness under Win32
git-svn-id: svn://10.0.0.236/trunk@125689 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 08:22:15 +00:00
gerv%gerv.net
2b84451550 bug 158498 - defparams.pl prints an error message in a check function instead of returning it. Patch by gerv; 2xr=zeroj.
git-svn-id: svn://10.0.0.236/trunk@125688 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 06:56:11 +00:00
ssu%netscape.com
6f65ef4a94 fixing bug 158187 - Support for Windows XP SP1 Integration (TRUNK merge). r=ssu,dprice,curt,law sr=jag,dveditz a=drivers
git-svn-id: svn://10.0.0.236/trunk@125687 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 06:43:19 +00:00
pete.zha%sun.com
c1bd7ab216 Translate nsIAccessible roles to ATK roles
bug=153816 r=aaronl sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@125685 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 06:33:39 +00:00
jst%netscape.com
37e6116529 Fixing regression caused by bug 156452. Make sure the correct JS context is pushed onto the JS context stack before handling focus and blur code internally. This is needed since lots of focus and blur code rely on DOM range code that now does security checking when called to prevent from unauthorized use of a DOM range object. r=sicking@bigfoot.com, sr=bzbarsky@mit.edu, a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@125684 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 06:13:18 +00:00
jst%netscape.com
7da03ea51c Landing branch fix for bug 90757 on he trunk. There's a better fix for this, but we want to bake this on the trunk for a while before we possibly take this on the branch, once it's baked on the trunk we can land the real fix on the trunk... r=mstoltz@netscape.com, sr=rpotts@netscape.com, a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@125683 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 06:02:05 +00:00
leaf%mozilla.org
2f1683a246 Automated update
git-svn-id: svn://10.0.0.236/trunk@125681 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 05:55:40 +00:00
sfraser%netscape.com
0e88d0860a Fix bug 145800 -- implement downlod progress UI in chimera. These changes allow us to reuse the nsDownloadListener and progress dialog for both Saving (with an nsIWebBrowserPersist) and downloading (where necko creates an nsIDownload, which we implement). They are also factored so that other cocoa apps could reuse the downloading backend with their own progress dialog. r=pinkerton/bryner/ccarlen.
git-svn-id: svn://10.0.0.236/trunk@125680 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 05:53:14 +00:00
bryner%netscape.com
ae3ab7d37a Changes to allow Mozilla to build with new gcc3 developer tools on OS X (bug 153525). Patch by dbaron, r=cls, sr=bryner, a=asa.
git-svn-id: svn://10.0.0.236/trunk@125679 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 05:43:53 +00:00
sfraser%netscape.com
a962c21d41 Fixing the MachO (DARWIN) build, which broke when wtc checked in a patch in bug 153525. r=bryner.
git-svn-id: svn://10.0.0.236/trunk@125673 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 04:06:07 +00:00
cmanske%netscape.com
6a52761ff9 Disable 'Creat Link' when context menu launched on existing link, b=99541, r=brade, sr=kin, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@125672 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 03:58:41 +00:00
cmanske%netscape.com
7771c9d127 Superscript and Subscript text styles should be mutually exclusive, b=100825, r=jfrancis, sr=kin, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@125671 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 03:53:14 +00:00
cmanske%netscape.com
b1357f8a31 Part of fix to 'Fix right-click to edit link on an image', b=142042, r=neil@parkwaycc.co.uk, sr=alecf, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@125669 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 03:47:01 +00:00
cmanske%netscape.com
5282cedd05 Reduce memory cost of using HTML Source multiple times by reducing undo buffer usage. b=158860, r=brade, sr=kin, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@125667 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 03:35:40 +00:00
smeredith%netscape.com
02cadbb205 Fix for 18126 and 16956.
git-svn-id: svn://10.0.0.236/trunk@125666 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 03:04:12 +00:00
loadrunner%betak.net
0cec7b7c5a DNS: lookup regression, r=adamlock, sr=darin, a=asa, local fix for autodial by smeredith@netscape.com all credits to him
git-svn-id: svn://10.0.0.236/trunk@125665 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 02:43:22 +00:00
brendan%mozilla.org
3950b292ff Finally fix 137000, which requires working around an MSVC ISO-C violation ('identical COMDAT folding', 151066, r=brendan/jrgm, sr=bryner/shaver, a=asa).
git-svn-id: svn://10.0.0.236/trunk@125664 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 01:53:07 +00:00
naving%netscape.com
a8e7151bf4 158776 r=cavin sr=bienvenu a=asa fixing nsCRT::strtok uses in pop3 protocol code.
git-svn-id: svn://10.0.0.236/trunk@125663 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 01:50:57 +00:00
darin%netscape.com
bebde11822 fixes bug 157861 - have to hit Back twice to return to '300: multiple choices'
r=dougt sr=rpotts a=asa


git-svn-id: svn://10.0.0.236/trunk@125662 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 01:32:07 +00:00
bzbarsky%mit.edu
e62936a18e wallpaper for a bit of bug 120327; this should keep us from appending
".exe" all the time to things on Windows.  patch by me and
jruderman@hmc.edu, r=law, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@125660 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 00:42:12 +00:00
nhotta%netscape.com
d12a957e19 Adding uconv to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@125659 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 00:34:14 +00:00
timeless%mac.com
2b4bbf7237 Bug 158092 Mozilla for BeOS is unable to show in browser proper international file/folder names.
patch by sergei_d@fi.tartu.ee r=timeless sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@125655 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 00:01:31 +00:00
wtc%netscape.com
b01502356c Bug 153525: fixed build problems under gcc3 on Mac OS X. r=bryner.
Modified Files: _pth.h darwin.c


git-svn-id: svn://10.0.0.236/trunk@125653 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:54:12 +00:00
alecf%netscape.com
c3866b3a50 fix nhotta's bustage by adding "uconv" to the REQUIRES list
git-svn-id: svn://10.0.0.236/trunk@125652 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:47:30 +00:00
alecf%netscape.com
7ce57677ba more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa


git-svn-id: svn://10.0.0.236/trunk@125651 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:30:04 +00:00
nhotta%netscape.com
7da2a94cbd Change nsJSProtocolHandler to listen to originCharset to apply conversion if necessary,
also changed the callers to set originCharset,
bug 137182, r=caillon, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125650 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:28:28 +00:00
caillon%returnzero.com
eaa75bb394 Bug 104470 - Popup blocking breaks window.open()s which are targetted to frames or existing named windows
r=sicking sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@125649 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:22:20 +00:00
bzbarsky%mit.edu
ff3b5f1bd2 Bug 158230. Clear out all the relevant style data when inline style
causes reframes.  r=dbaron, sr=hyatt, a=asa


git-svn-id: svn://10.0.0.236/trunk@125648 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:18:26 +00:00
depstein%netscape.com
97bfcc4686 Added web progress notification dialog; and additional flag to url dialog.
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@125646 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 22:31:23 +00:00
alecf%netscape.com
78fed2e87d add ucvasia module, which is a combination of ucvja, ucvtw, ucvtw2, and ucvko
not part of build, for bug 157993


git-svn-id: svn://10.0.0.236/trunk@125645 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 22:29:22 +00:00
alecf%netscape.com
9afdcf6fb2 add ucvwestern module, which is a combination of ucvcn, ucvlatin, and ucvibm
not part of build, for bug 157993


git-svn-id: svn://10.0.0.236/trunk@125644 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 22:28:10 +00:00
alecf%netscape.com
7611651ee7 fix typo for case-sensitive filesystems, not part of build
git-svn-id: svn://10.0.0.236/trunk@125643 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 22:25:20 +00:00
sicking%bigfoot.com
fdf8ae5b5f Make sure it is possible to get URI of xul elements even if they share nodeinfo with their prototype and are removed from the document tree.
b=156452 r=bz sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@125642 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 22:16:45 +00:00
blakeross%telocity.com
ec222266a8 158419 - help back/fwd buttons broken. r=doron sr=ben a=brendan
git-svn-id: svn://10.0.0.236/trunk@125641 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 22:16:05 +00:00
alecf%netscape.com
f50250b92a add static utility library for bug 157993 - provides enhanced base classes for table-based converters
not part of build.. landing so I can test on multiple platforms.


git-svn-id: svn://10.0.0.236/trunk@125640 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 22:05:25 +00:00
rogerl%netscape.com
6042d2a155 Changed decimal escape handling to backward compatible rather than ECMA3
conforming. (Bug#158159)


git-svn-id: svn://10.0.0.236/trunk@125639 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 21:38:03 +00:00
shannond%netscape.com
9dc7d79806 Bugscape 17886 - Netscape.com recapture dialog should be unchecked by default
r=shrutiv@netscape.com


git-svn-id: svn://10.0.0.236/trunk@125637 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 20:53:38 +00:00
pinkerton%netscape.com
d21db24616 Change bookmark sidebar panel buttons to be "momentary change" to get
rid of icky border when depressed.


git-svn-id: svn://10.0.0.236/trunk@125636 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 20:42:39 +00:00
cbiesinger%web.de
8f356a3e7c bug 158245 patch by nick@technisys.com.ar r=db48x sr=bz a=scc
Page info should list the alt for images in the media-tab in the tree.


git-svn-id: svn://10.0.0.236/trunk@125635 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 20:40:17 +00:00
ftang%netscape.com
4298cf96c1 fix bug 156943. add cjk lang group check for mUnderlineSize computation
r=rbs sr=jst a=chofmann


git-svn-id: svn://10.0.0.236/trunk@125632 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 20:35:31 +00:00
mikep%oeone.com
ef9c61c74f Fixing bug 158885.
git-svn-id: svn://10.0.0.236/trunk@125629 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 19:23:20 +00:00
mitchf%netscape.com
29fd95aef2 Checking pref tree for remotely administered prefs now, and now auto-check
RemoteAdmin checkbox on following page if any are found.  Fixes bug 13657.


git-svn-id: svn://10.0.0.236/trunk@125628 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 17:26:22 +00:00
cbiesinger%web.de
9b368a5e1d address reviewer comments (whitespace)
git-svn-id: svn://10.0.0.236/trunk@125623 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 13:44:34 +00:00
cbiesinger%web.de
01e2d35c8b bug 145858 patch by sergei_d@fi.tartu.ee r=timeless a=asa
Imported NetPositive Bookmarks are not loaded properly anymore


git-svn-id: svn://10.0.0.236/trunk@125622 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 13:43:23 +00:00
cbiesinger%web.de
2ca860a6d3 fix typo (missing space)
git-svn-id: svn://10.0.0.236/trunk@125621 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 13:28:14 +00:00
cbiesinger%web.de
63f3c4f791 bug 129612 patch by neil@parkwaycc.co.uk r=doron sr=bz a=asa
add enable syntax highlighting checkbox to view source window


git-svn-id: svn://10.0.0.236/trunk@125620 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 13:22:28 +00:00
caillon%returnzero.com
ddfbc0ff4e Bug 152127 - Prevent tabs from getting renamed to "(Untitled)" at seemingly random times.
r=bzbarsky sr=jag a=asa

Also fixes bugs 101827, 101831, 102924, 108189, 108350, 108421, 111118, 124028, 134815, 141839, 144431, 144984, 150669, 158171


git-svn-id: svn://10.0.0.236/trunk@125619 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 10:24:14 +00:00
cltbld%netscape.com
14829a74ad Adding tests to chimera, I slammed this in here for now, need to rework build-seamonkey-utils.pl so tests can be called as functions. -mcafee
git-svn-id: svn://10.0.0.236/trunk@125615 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 07:54:18 +00:00
cltbld%netscape.com
e1af56bf1e Renaming RunTest to RunMozillaTests. Leaving in checks for RunTest for now. -mcafee
git-svn-id: svn://10.0.0.236/trunk@125614 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 07:52:30 +00:00
gerv%gerv.net
2d1c5ec9f0 Bug 96003 - buglist.cgi should not return all bugs if called without any parameters. Patch by gerv; r=myk.
git-svn-id: svn://10.0.0.236/trunk@125613 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 07:16:57 +00:00
kyle.yuan%sun.com
286ec8b7f4 Check in for bolian.yin@sun.com's fix
Bug 81473 The accesskey attribute does not work for the area element
r=dbaron, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@125612 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 06:52:32 +00:00
kyle.yuan%sun.com
b5e7185c3c Bug 157183 Even though XUL Element Tree is focusable, Both the inspect tool and API return wrong value
r=jgaunt, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@125609 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 05:32:39 +00:00
kyle.yuan%sun.com
e1f2c9c169 Bug 157485 Implement nsIAccessibleText for nsHTMLTextFieldAccessible
r=jgaunt, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@125608 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 05:32:17 +00:00
kyle.yuan%sun.com
1a05f649c6 Bug 154521 In "Composer", all source I inputed will be removed by switching display mode between "<html>Source" and "Preview";
r=cmanske, sr=sfraser, a=asa
Harry Lu(harry.lu@sun.com)'s fix (part 2)


git-svn-id: svn://10.0.0.236/trunk@125607 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 05:31:42 +00:00
kyle.yuan%sun.com
00cb79e95a Bug 154521 In "Composer", all source I inputed will be removed by switching display mode between "<html>Source" and "Preview";
r=cmanske, sr=sfraser, a=asa
Harry Lu(harry.lu@sun.com)'s fix (part 1)


git-svn-id: svn://10.0.0.236/trunk@125606 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 05:30:16 +00:00
jkeiser%netscape.com
c728d3962c Fix uninitialized variable (bug 14445), r=timeless@mac.com, sr=jst@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@125603 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 03:58:49 +00:00
bzbarsky%mit.edu
a844108e85 Fix tab switching in embedding apps. Bug 139294,
r=philipl@mail.utexas.edu, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@125602 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 03:45:06 +00:00
stephend%netscape.com
a21496a361 Bug 158379. Align 'Filter Name' text with textfield in the Filter Rules dialog. r=naving@netscape.com/walk84@yahoo.com, sr=bryner@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125601 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 03:25:34 +00:00
pavlov%netscape.com
b92f218827 bug 157989. patch from paper@animecity.nu. r=pavlov sr=tor@acm.org a=brendan/chofmann
git-svn-id: svn://10.0.0.236/trunk@125600 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 03:22:27 +00:00
henry.jia%sun.com
a880ad3702 First patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=blizzard, sr=alecf, a=asa(for trunk)


git-svn-id: svn://10.0.0.236/trunk@125597 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 02:27:19 +00:00
av%netscape.com
c2e34ab5d1 Fixing 157627 -- prevent unnecessary writing plugin info to registry which causes indefinite bloat, r=av, sr=dveditz, a=asa
git-svn-id: svn://10.0.0.236/trunk@125596 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 02:18:44 +00:00
kyle.yuan%sun.com
185d879123 Bug 157865 </HTML> at the beginning of the page followed by <HEAD> or <BODY> causes Mozilla to freeze
r=choess, sr=bzbarsky, a=asa
Check in for Jerry's fix.


git-svn-id: svn://10.0.0.236/trunk@125594 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 02:00:48 +00:00
relyea%netscape.com
5c374eed8b return certs in sorted order.
git-svn-id: svn://10.0.0.236/trunk@125590 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 00:34:20 +00:00
gerv%gerv.net
0130c12013 Bug 143650 - general template display system. Patch by gerv; 2xr=jouni.
git-svn-id: svn://10.0.0.236/trunk@125586 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 23:17:48 +00:00
cbiesinger%web.de
d2ccc8cf02 bug 155148 patch by calvin.liu@sun.com r=hwaara sr=bienvenu a=asa
Online/Offline indicator doesn't work in "Advanced Address Book  Search" dialog


git-svn-id: svn://10.0.0.236/trunk@125585 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 22:28:44 +00:00
cltbld%netscape.com
2fd95378c9 Renaming Settings::RunTest to Settings::RunMozillaTests to be more descriptive. Leaving in check for old RunTest variable for now, in case there are some clients relying on that. -mcafee
git-svn-id: svn://10.0.0.236/trunk@125582 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 21:45:52 +00:00
joki%netscape.com
a588052207 Fix for bug 157845: mCurrentTarget pointer should not be set in the ESM without setting the NS_FRAME_EXTERNAL_REFERENCE bit. r:saari, sr:jst, a:chofmann
git-svn-id: svn://10.0.0.236/trunk@125581 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 21:36:36 +00:00
shrutiv%netscape.com
e649540c60 Fix for bugscape bug 17315: Help menu customizations aren't in MacOSX
(r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@125580 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 21:34:32 +00:00
cbiesinger%web.de
eb1ac066c6 last checkin was for nick@technisys.com.ar who created that patch
git-svn-id: svn://10.0.0.236/trunk@125578 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 19:52:04 +00:00
cbiesinger%web.de
4fe07a1562 bug 158435 r=ksosez sr=bz a=jesup
Page Info's label-control association is broken (should be by id).


git-svn-id: svn://10.0.0.236/trunk@125577 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 19:51:16 +00:00
mikep%oeone.com
fbcfda6ec2 Fixing problem with attachments, from OEOne.
git-svn-id: svn://10.0.0.236/trunk@125575 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 18:54:15 +00:00
leaf%mozilla.org
3fa9d44ed2 add taskbar icons for applications, r=kerz,a=asa,b=158684
git-svn-id: svn://10.0.0.236/trunk@125574 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 18:01:41 +00:00
tao%netscape.com
0c28c38cf0 Initial checkin of the suit of scripts and files needed to leverage
translations from localized mozilla/netscape language packs into embed.jar.


git-svn-id: svn://10.0.0.236/trunk@125573 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 17:23:58 +00:00
kairo%kairo.at
cf73a02489 bug 158678 - adding missed help_help.html file, r=oeschger, dispensation of drviers per bug 122806
git-svn-id: svn://10.0.0.236/trunk@125572 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 17:10:21 +00:00
aaronl%netscape.com
11e8f2ad33 Not part of build. Bug 30088. Minor tweaks, getting ready for review
git-svn-id: svn://10.0.0.236/trunk@125571 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 14:55:02 +00:00
aaronl%netscape.com
71a8c22e47 Not part of build. Bug 30088. Minor tweaks, getting ready for review
git-svn-id: svn://10.0.0.236/trunk@125570 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 14:55:01 +00:00
rods%netscape.com
039c30685d fixing up test for more variants
git-svn-id: svn://10.0.0.236/trunk@125569 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 14:43:17 +00:00
rods%netscape.com
c4adb46d80 adding hidden iframe test
git-svn-id: svn://10.0.0.236/trunk@125568 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 14:02:27 +00:00
mikep%oeone.com
f04f61355f Patch from bug 123583.
git-svn-id: svn://10.0.0.236/trunk@125567 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 12:42:34 +00:00
jouni%heikniemi.net
f9bb67be21 Tree bustage fix of bug 157074: a filter had the wrong name in hidden-fields template.
git-svn-id: svn://10.0.0.236/trunk@125566 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 11:09:06 +00:00
rods%netscape.com
798b734575 Added additional tests cases for printing
git-svn-id: svn://10.0.0.236/trunk@125565 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 10:58:21 +00:00
rods%netscape.com
4d051a96ff When a FrameSet Frame's contains a FrameSet the mFrameType for the PrintObject
is always set to an eFrame. Which is fine when printing "AsIs"
but is incorrect when when printing "Each Frame Separately".
When printing "Each Frame Separately" the Frame really acts like a frameset.
So we need to set it to an eFrame
Bug 157918 r=dcone sr=kin a=scc


git-svn-id: svn://10.0.0.236/trunk@125564 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 10:55:07 +00:00
kyle.yuan%sun.com
8a0e6bc6e7 Not part of build.
Bug 157298 make install does not work in mozilla/widget/src/gtk2/mai
r=kyle
Thanks for mpeseng@tin.it's fix


git-svn-id: svn://10.0.0.236/trunk@125563 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 06:58:28 +00:00
kyle.yuan%sun.com
ba262e33d4 Not part of build.
Bug 153298 Translate nsIAccessible events to ATK events
r=kyle
Thanks for John Sun (john.sun@sun.com)'s fix


git-svn-id: svn://10.0.0.236/trunk@125562 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 06:57:08 +00:00
kerz%netscape.com
d651ed432f New desktop icons, r=cls, sr=bryner, a=asa, bug 73712
git-svn-id: svn://10.0.0.236/trunk@125558 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-21 23:15:55 +00:00
kerz%netscape.com
3636c59169 New desktop icons, r=cls, sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@125557 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-21 23:04:48 +00:00
aaronl%netscape.com
c6f90015df Not part of build. Bug 30088 - type ahead find. Add support for nsITypeAheadFind.
git-svn-id: svn://10.0.0.236/trunk@125555 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-21 22:36:51 +00:00
gerv%gerv.net
d81b80bc41 Bug 95426 - remove $onebug cruft. Patch by gerv; 2xr=timeless.
git-svn-id: svn://10.0.0.236/trunk@125554 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-21 21:47:43 +00:00
hwaara%chello.se
38157b25b7 #125887, fix some cases where whitespace would make window.open() and openDialog() to not work.
r=jkeiser, sr=bzbarsky, a=brendan


git-svn-id: svn://10.0.0.236/trunk@125553 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-21 18:12:38 +00:00
gerv%gerv.net
f5446f3c7e Fixing trivial but obvious bug where "and QA contact" was not displaying correctly; noticed on b.m.o. No bug number.
git-svn-id: svn://10.0.0.236/trunk@125551 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-21 14:14:41 +00:00
pete.zha%sun.com
e7e1db9698 Forget one line in previou check in. Just add it now.
Sorry for this!


git-svn-id: svn://10.0.0.236/trunk@125550 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-21 11:19:39 +00:00
pete.zha%sun.com
5e7b11afb7 Summary: print to file overwrites file without asking
bug=107484 r=rods sr=bzbarsky a=scc


git-svn-id: svn://10.0.0.236/trunk@125549 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-21 10:59:57 +00:00
caillon%returnzero.com
035dbe91ce Bug 107147. "Using middle button to close a tab also pastes+opens url in another tab".
r=sicking
sr=jag
a=brendan


git-svn-id: svn://10.0.0.236/trunk@125546 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-21 01:48:34 +00:00
jkeiser%netscape.com
5d2a4473b9 Damn, missed this file. Part of bug 14445 update just now.
git-svn-id: svn://10.0.0.236/trunk@125545 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 23:44:21 +00:00
jkeiser%netscape.com
01341d9e3c Make radio buttons work without forms (bug 14445), r=rods@netscape.com, sr=jst@netscape.com, a=asa.
git-svn-id: svn://10.0.0.236/trunk@125544 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 23:09:24 +00:00
morse%netscape.com
255ebc1837 bug 155114, back out all patches for fixing cookie-stealing bug, a=asa
git-svn-id: svn://10.0.0.236/trunk@125535 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 07:38:16 +00:00
cltbld%netscape.com
7bc97b064e fixing reset home dir logic, sorry. -mcafee
git-svn-id: svn://10.0.0.236/trunk@125532 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 06:19:15 +00:00
shanjian%netscape.com
41e6689d50 #156943 CJK text underline is positioned too near the text
raise baseline for CJK language groups.
r=rbs, sr=waterson, a=adt


git-svn-id: svn://10.0.0.236/trunk@125531 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 05:21:25 +00:00
sfraser%netscape.com
5dfe57abb3 Fixing bug 155334 -- zombie progress dialog left after doing a File | Save As in plain text format. We were checking the STATE_IS_NETWORK flag to decide when the download has finished, but this flag is not included for plain text saves (nsWebBrowserPersist doesn't give it to us). So we look at the start flags, and make sure the end flag matches on this bit. Also detabbed the file.
git-svn-id: svn://10.0.0.236/trunk@125530 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 03:22:36 +00:00
sicking%bigfoot.com
96ef7647c7 Allow "chromenodes" to access all domains.
b=158167 r=bzbarsky sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@125528 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 01:40:02 +00:00
hwaara%chello.se
79c60ad859 #62157, "Document content is rendered even though version value is not '1.0'." Make us care about what version is specified and bail out on anything but "1.0".
r=bzbarsky, sr=heikki, a=asa


git-svn-id: svn://10.0.0.236/trunk@125527 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 01:18:52 +00:00
shrutiv%netscape.com
8e7d878186 Fix for bugscape bug 16676: Customized Sidebar tab not working on MacOS
(r=shannond)


git-svn-id: svn://10.0.0.236/trunk@125526 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 00:58:58 +00:00
stephend%netscape.com
3b89268071 Bug 158264. Prefix showOpenURLDialog() with http://. r=caillon@netscape.com, sr=hewitt@netscape.com (also Module Owner), a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125525 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 00:40:49 +00:00
bzbarsky%mit.edu
544e250544 fix startup assertions, bug 154503, r=sicking, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@125524 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 23:58:10 +00:00
bishakhabanerjee%netscape.com
8b20fbdd82 Setting number of tests to 252 to take out warnings on nightly QA reports -Bug 156959
git-svn-id: svn://10.0.0.236/trunk@125523 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 23:46:10 +00:00
pavlov%netscape.com
1da87a90e5 fixing bug 157202 r=dougt sr=tor@acm.org a=asa
git-svn-id: svn://10.0.0.236/trunk@125521 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 23:21:48 +00:00
leaf%mozilla.org
9f7cf37f8c updating to 1.1b
git-svn-id: svn://10.0.0.236/trunk@125520 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 23:08:41 +00:00
bzbarsky%mit.edu
993a541873 Tabbing to an <area> should scroll to it in addition to focusing it.
Bug 124769, r=sicking, sr=bryner, a=scc


git-svn-id: svn://10.0.0.236/trunk@125518 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 22:36:52 +00:00
varga%netscape.com
01fcfc5ac4 Fix for bug 128809 - Mail layout goes into infinite loop when "view headers all" is activated
r=kin, sr=bryner, a=scc


git-svn-id: svn://10.0.0.236/trunk@125517 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 22:36:46 +00:00
brendan%mozilla.org
615fd435f4 Don't return 1 cast to JSProperty* for a property found in a non-LiveConnect prototype object (155740, r=rogerl, sr=jband, a=chofmann/blizzard/scc).
git-svn-id: svn://10.0.0.236/trunk@125516 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 22:00:03 +00:00
leaf%mozilla.org
d71824c07d backout dataloss-causing fixes for 143862 and 156719, a=asa
git-svn-id: svn://10.0.0.236/trunk@125515 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 21:58:09 +00:00
shanjian%netscape.com
3816d9f036 #155175 Certain truetype fonts crash mozilla
correct a misuse of parenthesis.
p=Andrew Schultz  , r=bstell, sr=rbs, a=brendan


git-svn-id: svn://10.0.0.236/trunk@125513 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 21:21:23 +00:00
dougt%netscape.com
3560250015 compreg.tmp is written out on every startup. r=rjc, sr=alec, a=scc
git-svn-id: svn://10.0.0.236/trunk@125512 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 21:12:04 +00:00
sfraser%netscape.com
8bffb2130f Fix bug 155664 -- make URLs opened from the Services menu in another app behave like those opened via Apple Events etc, obeying the prefs to load in new tabs/windows, possibly in the background.
git-svn-id: svn://10.0.0.236/trunk@125511 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 21:08:25 +00:00
cltbld%netscape.com
87a19fce64 Adding ResetHomeDirForTests variable, some builds won't want to do this (chimera, etc.)
git-svn-id: svn://10.0.0.236/trunk@125510 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 21:03:01 +00:00
ducarroz%netscape.com
508651d4ca Fix for bug 158334. Fix memory corruption created by using PL_strcat on a buffer not wide enough. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@125509 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 20:58:32 +00:00
nhotta%netscape.com
e98305c34a Changed nsPlainTextSerializer to try NCR if CER conversion fails,
bug 40350, r=akkana, sr=kin, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125508 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 20:50:14 +00:00
wtc%netscape.com
632cf0781e Bug 158339: we should not call secmod_freeParams if RNG_RNGInit fails.
git-svn-id: svn://10.0.0.236/trunk@125504 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 18:31:30 +00:00
despotdaemon%netscape.com
0ec1511934 Pseudo-automatic update of changes made by yxia@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@125503 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 18:26:38 +00:00
despotdaemon%netscape.com
d6e2febb61 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@125502 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 17:59:28 +00:00
timeless%mac.com
16c47f8a29 Bug 158202 crash opening venkman and closing navigator [@nsXULElement::GetOwnerDocument]
patch by sicking@bigfoot.com r=bz sr=jst a=scc checkin authorized by scc


git-svn-id: svn://10.0.0.236/trunk@125500 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 17:03:03 +00:00
aaronl%netscape.com
8305292a8a Not part of build. Bug 30088: typeaheadfind - make sure we're not enabled in mailnews message pane, because we conflict with shortcuts link n for next unread message
git-svn-id: svn://10.0.0.236/trunk@125499 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 16:07:23 +00:00
mikep%oeone.com
f55f8c3805 Integrating changes from OEone calendar.
git-svn-id: svn://10.0.0.236/trunk@125498 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 15:56:53 +00:00
bbaetz%student.usyd.edu.au
0aee0fe7f3 Bug 157074 - verify-new-product doubles comment linefeeds on Win32
r=myk, jouni


git-svn-id: svn://10.0.0.236/trunk@125497 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 14:04:15 +00:00
timeless%mac.com
295afaadb1 Bug 151770 Can't associate Mozilla with .XBM images
patch by ask@swva.net r=law sr=alecf a=scc


git-svn-id: svn://10.0.0.236/trunk@125496 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 10:12:16 +00:00
samuel%sieb.net
21b6c7ef39 Bug 146509 - allow tab completion to work with non-alphanumeric characters
r=rginda
a=asa


git-svn-id: svn://10.0.0.236/trunk@125495 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 05:56:29 +00:00
samuel%sieb.net
f144c703ef Bug 135937 - clean up connection status (limit decimal points)
r=rginda
a=asa


git-svn-id: svn://10.0.0.236/trunk@125494 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 05:53:27 +00:00
samuel%sieb.net
8600889897 Bug 152182 - allow multiple channels for /join
r=rginda
a=asa


git-svn-id: svn://10.0.0.236/trunk@125493 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 05:51:00 +00:00
pete.zha%sun.com
5f76121e77 [ps] CSS sans-serif prints as serif
bug=148411 r=dcone sr=bzbarsky a=asa
Correct some font name in map


git-svn-id: svn://10.0.0.236/trunk@125490 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 02:41:41 +00:00
sfraser%netscape.com
6e833ccc5b Making the Colors and Links tab the default (bug 158152).
git-svn-id: svn://10.0.0.236/trunk@125489 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 02:26:53 +00:00
sfraser%netscape.com
5df7b90ed4 Fix for bug 155560 -- renaming bookmark does not update menu/toolbar. Also fixes crash when deleting a toolbar bookmark (bug 157229). Patch from David Hass.
git-svn-id: svn://10.0.0.236/trunk@125488 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 02:20:30 +00:00
sfraser%netscape.com
877fb645db Fix bug 154904-- fixing [BookmarkItem url] to return the url instead of the name.
git-svn-id: svn://10.0.0.236/trunk@125486 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 01:47:15 +00:00
jshin%mailaps.org
f7c6fa9d21 Add two new characters(Euro and Registered trade mark sign) to
KS X 1001 based converters (EUC-KR, UHC, JOHAB, ISO-2022-KR):
bug 134749: r=yokoyama, sr=alecf, a=asa


git-svn-id: svn://10.0.0.236/trunk@125485 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 01:42:16 +00:00
bzbarsky%mit.edu
dbb888b255 Fix GetQuotedAttributeValue's parsing. Bug 106163, r=sicking, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@125483 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 01:14:29 +00:00
jpierre%netscape.com
563706c60a Fix for 158221 - make crlutil save memory by using the new PK11_ImportCRL function with the CRL_DECODE_DONT_COPY_DER option
git-svn-id: svn://10.0.0.236/trunk@125482 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 01:07:27 +00:00
jpierre%netscape.com
a6c742786a 158005 - add new CRL decode and import functions . Benefits are :
- ability to import to any slot
- ability to specify decode options, such as "don't copy DER"
- ability to specify import options, such as "don't do CRL checks"
This patch also maps the existing functions SEC_NewCrl and CERT_ImportCRL
to this new function, eliminating the code duplication that existed


git-svn-id: svn://10.0.0.236/trunk@125481 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 00:59:34 +00:00
bryner%netscape.com
50f9170ec7 Enable full-screen mode for unix. Bug 126685, r=blizzard, sr=sfraser, a=asa.
git-svn-id: svn://10.0.0.236/trunk@125480 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 00:43:00 +00:00
nicolson%netscape.com
3c4986240c Fix 157998: unable to importCertToPerm
git-svn-id: svn://10.0.0.236/trunk@125478 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 00:20:24 +00:00
jpierre%netscape.com
66501867de Fix for 156802 - remove improper check in CRL decoding
git-svn-id: svn://10.0.0.236/trunk@125477 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 00:12:13 +00:00
jpierre%netscape.com
7f01d87246 Remove unreferenced variables
git-svn-id: svn://10.0.0.236/trunk@125476 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 23:50:03 +00:00
rginda%netscape.com
19d0492d88 - venkman only -
bug 158181, "this.tabs has no properties error when script is unloaded"
r=caillon, a=asa
null check for content before we actually try to use it (in source2 view)
also fixes spelling error, strict warning, and margin-clicking in the source2 view


git-svn-id: svn://10.0.0.236/trunk@125475 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 23:27:49 +00:00
jpierre%netscape.com
e635a3cd71 Fix for 139292 - NSS_NoDBInit regression
git-svn-id: svn://10.0.0.236/trunk@125474 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 23:08:55 +00:00
pavlov%netscape.com
9d33b5519d fix for bug 157202. r=dougt sr=tor@acm.org a=chofmann
git-svn-id: svn://10.0.0.236/trunk@125472 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 22:18:11 +00:00
shannond%netscape.com
1aac970cf4 Backing out bug 147978 - the copy of an existing config should use its own Workspace
since it causes regression
bug 157807 - Creating a new configuration in CCK duplicates fields ...
approval for backout from ariana and shrutiv


git-svn-id: svn://10.0.0.236/trunk@125469 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 20:15:02 +00:00
shannond%netscape.com
67dde85655 Backing out bug 147978 - The copy of an existing config should use its own Workspace
since it causes regression
bug 157807 - Creating a new configuration in CCK duplicates fields ...
approval for backout from ariana and shrutiv


git-svn-id: svn://10.0.0.236/trunk@125468 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 20:07:28 +00:00
aaronl%netscape.com
14aeefa20e Not part of build. Bug 30088: type ahead find. Support Accel+Shift+G for find previous
git-svn-id: svn://10.0.0.236/trunk@125467 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 19:11:54 +00:00
smeredith%netscape.com
9d364937d7 Disable the homepage buttons if the homepage pref is locked.
git-svn-id: svn://10.0.0.236/trunk@125466 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 18:42:44 +00:00
pschwartau%netscape.com
d61df3aa38 Initial add. Regression test for bug 141078.
git-svn-id: svn://10.0.0.236/trunk@125465 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 18:36:44 +00:00
aaronl%netscape.com
10b640ad3a Not part of build. Bug 30088 - type ahead find. Ctrl+G now respects linksonly setting
git-svn-id: svn://10.0.0.236/trunk@125464 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 18:32:54 +00:00
bienvenu%netscape.com
603ae8ef36 fix undo of delete of top level msg in thread r=cavin, antonio.xu@sun, sr=sspitzer, a=asa 157503
git-svn-id: svn://10.0.0.236/trunk@125463 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 14:48:38 +00:00
bienvenu%netscape.com
c15a216b07 fix crash selecting bogus line in thread pane for imap folder, r=cavin, sr=sspitzer 157503
git-svn-id: svn://10.0.0.236/trunk@125462 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 14:45:08 +00:00
dougt%netscape.com
4cb4da3135 attempting to fix the AIX bustage
git-svn-id: svn://10.0.0.236/trunk@125461 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 14:38:07 +00:00
aaronl%netscape.com
77c6e7b67c Not part of build. Bug 30088 - type ahead find. Fixes problem with type ahead find locking up
git-svn-id: svn://10.0.0.236/trunk@125460 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 14:19:31 +00:00
arougthopher%lizardland.net
1b134606f6 Bug#155404
File names generated in File Save As menu are incorrect in BeOS.

r=arougthopher
a=scc


git-svn-id: svn://10.0.0.236/trunk@125459 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 12:09:09 +00:00
rods%netscape.com
7d81f1b38d need to check BUSY_FLAGS_PAGE_LOADING before printing
Bug 157632 r=dcone sr=jst a=scc


git-svn-id: svn://10.0.0.236/trunk@125458 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 09:09:54 +00:00
jaggernaut%netscape.com
55af1e7936 Bug 107848: Wrong tab is closed when last but one tab is closed. r=caillon, sr=ben, a=asa
git-svn-id: svn://10.0.0.236/trunk@125457 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 07:31:10 +00:00
dougt%netscape.com
f7575b0db1 backout out change
git-svn-id: svn://10.0.0.236/trunk@125456 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 07:19:45 +00:00
dougt%netscape.com
e9d9254cc7 backing out
git-svn-id: svn://10.0.0.236/trunk@125454 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 06:58:27 +00:00
dougt%netscape.com
78e286b83d Dynamic loading is failing on linux. disabling
git-svn-id: svn://10.0.0.236/trunk@125453 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 06:49:48 +00:00
dougt%netscape.com
c2c2197ef6 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@125452 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 06:49:05 +00:00
dougt%netscape.com
9a11c0aedc backing out that last change
git-svn-id: svn://10.0.0.236/trunk@125450 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 06:34:18 +00:00
dougt%netscape.com
eb41b992e3 best guess at how to fix gtk orangeness
git-svn-id: svn://10.0.0.236/trunk@125449 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 06:29:21 +00:00
sicking%bigfoot.com
c52d22c28d Reenable same-origin checks. Patch by me and jst.
b=156452 r=peterv/sicking/jst sr=bz/jst a=chofmann


git-svn-id: svn://10.0.0.236/trunk@125447 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:53:28 +00:00
henry.jia%sun.com
55ec460407 Fix bug 27002:
Cyrus IMAP: Send and Save as Draft/Template problems on Cyrus

Patch description:
Add personal namespace support for specific folders' uri. This patch can also solve the blocker bug 90494 which is related the same problems of Courier IMAP server.

patch by Henry.Jia@sun.com
r=cavin@netscape.com, sr=bienvenu@netscape.com, a=chofmann@netscape.com


git-svn-id: svn://10.0.0.236/trunk@125446 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:41:42 +00:00
despotdaemon%netscape.com
697f1a9465 Pseudo-automatic update of changes made by t_mutreja@yahoo.com.
git-svn-id: svn://10.0.0.236/trunk@125445 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:23:23 +00:00
dougt%netscape.com
ecdd8ab65f Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.

157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null.  It is a bandaide fix as the real problems involves retooling the directory enumerator.

157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do.  The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@125444 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:09:10 +00:00
jaggernaut%netscape.com
dfa9bd5ea2 Bug 140673: Some Arabic/Hebrew bitmap fonts printed way too small with Xprint. Patch by Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=dveditz, a=scc
git-svn-id: svn://10.0.0.236/trunk@125443 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 04:26:35 +00:00
leaf%mozilla.org
d34eba106d Automated update
git-svn-id: svn://10.0.0.236/trunk@125442 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 04:25:47 +00:00
seawood%netscape.com
df86a25798 Remove DARWIN define from osx builds as it cripples the feature set provided by
OSX headers.
Bug #154232 r=wtc sr=scc a=scc


git-svn-id: svn://10.0.0.236/trunk@125441 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 04:11:48 +00:00
seawood%netscape.com
5a25868f3a Remove DARWIN define from osx builds as it cripples the feature set provided by OSX headers.
Bug #154232 r=wtc sr=scc a=scc


git-svn-id: svn://10.0.0.236/trunk@125440 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 04:09:30 +00:00
varga%netscape.com
8e87af728a Fix for bug 82840 - need treecolgroups to have fixed="true" be as wide as the column header
and bug 72513 - column header text not shown: Enabled (in fitler dialog) and Subscribed (in subscribe dialog)

r=bienvenu
sr=sspitzer
a=scc


git-svn-id: svn://10.0.0.236/trunk@125439 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 04:09:11 +00:00
jaggernaut%netscape.com
e7ec69df4b Bug 142623: No reload of Language strings due to XUL FastLoad. Patch by John Morrison <jrgm@netscape.com>, r=ben, sr=brendan, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@125437 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 04:00:31 +00:00
caillon%returnzero.com
208a6f8e3c Checkin for Mike Kowalski <mikejk@ameritech.net>
Bug 126600 - Reword the turbo preference.  r=caillon sr=bryner a=scc


git-svn-id: svn://10.0.0.236/trunk@125435 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 03:22:29 +00:00
pete.zha%sun.com
d2cab5173e Freeing mismatched memory in delete
bug=157184 r=naving sr=bienvenu a=scc patch=antonio.xu@sun.com


git-svn-id: svn://10.0.0.236/trunk@125433 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 02:48:52 +00:00
jshin%mailaps.org
195409b999 Combining EUC-KR and UHC decoders into one (bug 131388)
r=yokoyama, sr=alecf, a=scc


git-svn-id: svn://10.0.0.236/trunk@125432 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 02:40:19 +00:00
kyle.yuan%sun.com
73d1262924 Bug 131883 All filenames of attachment disappeared by resizing attachment area;
r=hewitt, sr=scc, a=scc
Force listitem's rect to be recalculated when its parent was going wider.


git-svn-id: svn://10.0.0.236/trunk@125430 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 02:19:12 +00:00
kyle.yuan%sun.com
1c01d792f8 Bug 134916 left arrow to select parent of currently selected row does not scroll to parent
r=varga, sr=bzbarsky, a=scc
Add ensureRowIsVisible in keypress handler when keycode="left"


git-svn-id: svn://10.0.0.236/trunk@125429 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 02:16:54 +00:00
kyle.yuan%sun.com
00aca9ccd9 Bug 140227 Strange shift+click and ctrl+click behaviour in single-selection listbox
r=neil@parkwaycc.co.uk, sr=bzbarsky, a=scc
Check "selType" in mouse click handler


git-svn-id: svn://10.0.0.236/trunk@125428 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 02:16:32 +00:00
hwaara%chello.se
cc965819e8 #156074, processing-instructions should be better denoted.
r=caillon, tim <riceman+bmo@mail.rit.edu>
sr=bzbarsky
a=scc

#156072, DOM inspector omits the #document node, and also doesn't show any sibling nodes to the root element (comments, text nodes, etc.)
r=caillon, tim <riceman+bmo@mail.rit.edu>
sr=bzbarsky
a=scc


git-svn-id: svn://10.0.0.236/trunk@125427 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 02:04:12 +00:00
bzbarsky%mit.edu
1365591a1e Make sure that painting is properly unsuppressed in XML docs. Bugs
156985, 81546, 157487, r=dbaron, sr=rbs, a=scc


git-svn-id: svn://10.0.0.236/trunk@125425 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 01:49:47 +00:00
naving%netscape.com
64e02d9ae6 157809 r=cavin sr=bienvenu a=scc fixing can't delete imap folders when using "mark as deleted" delete model
git-svn-id: svn://10.0.0.236/trunk@125422 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 01:18:14 +00:00
jkeiser%netscape.com
b5ecb6dda7 Make select clear when last option is removed from it (bug 154410), r=bzbarsky@mit.edu, sr=dbaron@fas.harvard.edu, a=asa
git-svn-id: svn://10.0.0.236/trunk@125421 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 00:58:31 +00:00
rginda%netscape.com
a0e80802d0 - venkman only -
bug 157638, "Land VENKMAN_FLOATS_MY_BOAT branch", a=scc
Landing the 3 month old branch, which fixes the following bugs...
121409, 103898, 116102, 116099, 127750, 127099, 121501, 127102, 127737, 127733, 150481, 156776, 156769, 153381, 153066, 152946, 127752, 116286, 143682, 130398, 129692, 156111, 127736, 130050, 139565, 128604, 127751, 127732, 127727, 103425, 85634, 139557, 125394


git-svn-id: svn://10.0.0.236/trunk@125420 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 00:54:32 +00:00
sfraser%netscape.com
0a23433cb9 Adding code to make stdout and stderr unbuffered, depending on the MOZ_UNBUFFERED_STDIO environment variable. This is needed for tests to run correctly.
git-svn-id: svn://10.0.0.236/trunk@125419 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 00:26:49 +00:00
jkeiser%netscape.com
77550ff3b4 Make form submission behave better in low-mem situations (bug 126941), r=sicking@bigfoot.com, sr=bzbarsky@mit.edu, a=asa
git-svn-id: svn://10.0.0.236/trunk@125418 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 00:23:09 +00:00
leaf%mozilla.org
080c774ee3 bug 154840, r=cls, sr=brendan, a=jesup update localeVersion strings
git-svn-id: svn://10.0.0.236/trunk@125417 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 23:51:49 +00:00
morse%netscape.com
b97395f839 bug 155114, stealing cookies based on path attribute, r=mstoltz, sr=jag, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@125415 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 23:38:28 +00:00
nhotta%netscape.com
3773761d91 Restore my previous changes with mach-o build fix,
bug 108029, r=pinkerton, sr=sfraser, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125410 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 23:05:30 +00:00
alecf%netscape.com
6a0f892905 remove .cvsignore from this empty directory - not part of the build in any way!
git-svn-id: svn://10.0.0.236/trunk@125408 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 22:56:34 +00:00
jpierre%netscape.com
01d9d47333 Fix usage
git-svn-id: svn://10.0.0.236/trunk@125407 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 22:53:33 +00:00
jpierre%netscape.com
20b1f3fa86 Fix for 157996 - add support for SEC_NewCrl browser emulation mode in crlutil
git-svn-id: svn://10.0.0.236/trunk@125405 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 22:22:26 +00:00
brade%netscape.com
49ccc35a74 bug 157851, 157923, 157811, 157440, and probably some others; cleanup attribute adding for meta tags and fix table api
git-svn-id: svn://10.0.0.236/trunk@125401 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 21:32:20 +00:00
wtc%netscape.com
8fb7a6ccd5 Bug 157946: removed the unused -m option. Added the -v option to Usage().
git-svn-id: svn://10.0.0.236/trunk@125397 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 18:39:02 +00:00
gerv%gerv.net
02ee939574 Bug 151648 - QA Contact stuff displayed even if you aren't using QA Contacts. 2xr=jouni.
git-svn-id: svn://10.0.0.236/trunk@125394 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 18:28:37 +00:00
pschwartau%netscape.com
1c0c54a637 Skip testcase for bug 157652. Will not fix this in Rhino; the OOM error is reasonable.
git-svn-id: svn://10.0.0.236/trunk@125393 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 18:20:58 +00:00
sfraser%netscape.com
b5c586f6ef Adding the Appearance.prefPane to the static target build settings.
git-svn-id: svn://10.0.0.236/trunk@125389 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 17:37:44 +00:00
karnaze%netscape.com
79e5539aec new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@125388 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 16:51:52 +00:00
despotdaemon%netscape.com
a16e42c146 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@125387 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 16:42:02 +00:00
rods%netscape.com
1e79bb6ab0 Add additional test to printing test files
git-svn-id: svn://10.0.0.236/trunk@125386 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 13:37:59 +00:00
timeless%mac.com
3f5cca095a Bug 140630 LDAP should be in capital letters
patch by neil@parkwaycc.co.uk r=dmose sr=bienvenu a=asa


git-svn-id: svn://10.0.0.236/trunk@125385 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 13:19:16 +00:00
timeless%mac.com
3e602a9f04 Bug 156368 quicksearch fails if focus was in threadpane before search box
patch by neil@parkwaycc.co.uk r=naving sr=bienvenu a=asa


git-svn-id: svn://10.0.0.236/trunk@125384 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 13:06:09 +00:00
bryner%netscape.com
ba5e37b831 We don't need pippki.xpt either.
git-svn-id: svn://10.0.0.236/trunk@125382 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 08:52:43 +00:00
rbs%maths.uq.edu.au
13627c98ae re-enabling MathML after peterv's fixup
git-svn-id: svn://10.0.0.236/trunk@125381 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 07:23:16 +00:00
peterv%netscape.com
58298ba6cd Fixing MathML packaging bustage on Mac.
git-svn-id: svn://10.0.0.236/trunk@125380 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 07:17:05 +00:00
axel%pike.org
d1e791d134 adding an id to the QA menupopup, so one can overlay that. bug 157382, r=neil@parkwaycc.co.uk, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@125379 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 07:04:30 +00:00
bryner%netscape.com
98bebf9f26 Remove libpippki. This is only needed for the XUL implementation of the security dialogs.
git-svn-id: svn://10.0.0.236/trunk@125378 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 06:22:42 +00:00
wtc%netscape.com
3c02768be9 Bug 141614: restored Matthew Zahorik's net_server nonblocking connect
logic, which accidentally got deleted when the BONE changes were checked
in. This patch was contributed by Arougthopher
<arougthopher@lizardland.net>.
Modified Files: bfile.c bmisc.c bnet.c


git-svn-id: svn://10.0.0.236/trunk@125377 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 06:04:42 +00:00
mkaply%us.ibm.com
d78fa03226 #157770
r=dougt, sr=blizzard, a=asa
OS/2 only - up the numbre of file handles when starting Moz, and handle specific error with DosCopy


git-svn-id: svn://10.0.0.236/trunk@125373 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 05:46:34 +00:00
mkaply%us.ibm.com
beb0c00835 #157758
r=pedemont, sr=blizzard, a=asa
OS/2 only - always use facename rather than familyname for DBCS fonts


git-svn-id: svn://10.0.0.236/trunk@125372 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 05:42:07 +00:00
mkaply%us.ibm.com
281419934a #157383
r=pedemont, sr=blizzard, a=asa
OS/2 only - truncate title bar text to 256 to workaround OS bug


git-svn-id: svn://10.0.0.236/trunk@125370 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 05:36:04 +00:00
despotdaemon%netscape.com
30cf0df97e Pseudo-automatic update of changes made by t_mutreja@yahoo.com.
git-svn-id: svn://10.0.0.236/trunk@125368 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 05:33:09 +00:00
bzbarsky%mit.edu
02fd13d54d Bug 114627 -- ESC should dismiss default plugin dialog. Patch by
Andre  Dahlqvist <anedah-9@student.luth.se>, r=serge, sr=blizzard, a=asa


git-svn-id: svn://10.0.0.236/trunk@125364 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 04:36:13 +00:00
leaf%mozilla.org
2b20d4bbf7 Automated update
git-svn-id: svn://10.0.0.236/trunk@125358 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 02:40:21 +00:00
leaf%mozilla.org
59f26094d7 bug 157558, r=cls. version string updates for upcoming 1.1b
git-svn-id: svn://10.0.0.236/trunk@125357 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 02:39:51 +00:00
pete.zha%sun.com
3d85f30820 Implementation the nsIAccessibleTable for XUL tree table
bug=155866, r=kyle, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@125356 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 02:32:17 +00:00
karnaze%netscape.com
e1b0af4e1d bug 153785 - Added function to undo splitting floaters when the line they are on gets moved to the next page. Cached the break type of the last floater that gets split in the block reflow state so that the frame afterh the floater's continuation can combine that break type with its own. a=asa, sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@125355 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 01:48:56 +00:00
wtc%netscape.com
8db48c9761 Bug 157347: deleted the code that tried to escape the quotes around
command-line arguments. The patch was contributed by Michael Kaply
<mkaply@us.ibm.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@125353 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 01:45:57 +00:00
kyle.yuan%sun.com
54b0837973 Bug 154089 "My Sidebar" in Address Book can't show at the first time
r=morse, sr=alecf, a=asa
Thanks for Robin Lu (robin.lu@sun.com)'s fix


git-svn-id: svn://10.0.0.236/trunk@125351 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 01:36:37 +00:00
glen.beasley%sun.com
7f5a5a618a typecast for AIX build proper way
git-svn-id: svn://10.0.0.236/trunk@125349 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 01:14:58 +00:00
akkana%netscape.com
03e46541b4 Add a target to make the xpi. Not part of the normal build.
git-svn-id: svn://10.0.0.236/trunk@125348 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 01:04:10 +00:00
nhotta%netscape.com
fb56d1e2c0 Back out my last changes for the mach-o build problem.
git-svn-id: svn://10.0.0.236/trunk@125347 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 00:38:33 +00:00
rbs%maths.uq.edu.au
ea6e894339 Turn off the build of MathML to attempt to fix the bustage
git-svn-id: svn://10.0.0.236/trunk@125346 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 00:31:47 +00:00
jpierre%netscape.com
85c326e9c8 Fix for 153245
git-svn-id: svn://10.0.0.236/trunk@125345 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 00:21:09 +00:00
rbs%maths.uq.edu.au
21c0ccc330 Attempt to fix Mac bustage
git-svn-id: svn://10.0.0.236/trunk@125344 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 00:09:59 +00:00
glen.beasley%sun.com
24132ce4c9 typecast for AIX build
git-svn-id: svn://10.0.0.236/trunk@125343 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 23:52:45 +00:00
rbs%maths.uq.edu.au
b074819e6d Whitespace to add a=drivers, b=155703, r=peterv, sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@125342 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 23:29:54 +00:00
rbs%maths.uq.edu.au
b0b7a20bdb Turn on MathML in the Mac build, b=155703, r=peterv, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@125340 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 23:25:55 +00:00
rbs%maths.uq.edu.au
178b6c2d5e Implement GetBoundingMetrics() on the Mac. p=schofield@wolfram.com, r=rbs, sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@125338 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 23:18:37 +00:00
curt%netscape.com
908b8255d4 Disabled functionality for refreshing icons because it was causing unacceptable
side effects.
  (Bug #154708, r=ssu, sr=dveditz, a=asa)


git-svn-id: svn://10.0.0.236/trunk@125336 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 23:07:24 +00:00
bryner%netscape.com
cab12511d4 Rework the x86 unix + gcc xptcall implementation to speed it up and allow it to work with gcc 3.1 (bug 140412). Patch by drepper@redhat.com, r=shaver, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@125335 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 23:05:11 +00:00
bryner%netscape.com
9a806c60fe Implement activate and deactivate events for chimera (bug 157648). r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@125334 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 22:55:36 +00:00
bryner%netscape.com
e7c2ffe30a Fix cookie chrome registration for embedding (bug 153581). r=pinkerton, sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/trunk@125333 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 22:51:52 +00:00
bryner%netscape.com
6ada3edcd7 Implement nsIWidget::HideWindowChrome() for gtk (bug 157371). r=blizzard, sr=jag, a=asa.
git-svn-id: svn://10.0.0.236/trunk@125332 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 22:49:33 +00:00
jkeiser%netscape.com
701be434fb Make save/restore work for all forms, not just the first (bug 138892), r=rods@netscape.com, sr=attinasi@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@125331 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 22:38:51 +00:00
aaronl%netscape.com
d4699db840 Not part of build. Bug 30088 - type ahead find. Fixes it so that you must type backspace to remove a character from the buffer.
git-svn-id: svn://10.0.0.236/trunk@125330 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 22:30:10 +00:00
jfrancis%netscape.com
50be087f7b fix for Bug 154932: Mozilla will not start on MacOS 8.6 if filesharing is on. Corrected the construction of an FSSpec in nsDirectoryService.cpp
r=ccarlen
sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@125329 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 22:17:56 +00:00
aaronl%netscape.com
78ee60a834 Not part of build. Bug 30088 - type ahead find. Fixes it so that feature is not activated in isindex or input type=file. Typing / now indicates text only search, a quote now indicates link search. Fixes repeated character so it only cycles through links if the exact repeated characters cannot be found repeated like that in the text/links
git-svn-id: svn://10.0.0.236/trunk@125326 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 22:08:55 +00:00
pschwartau%netscape.com
bd64afa8ab Changing summary text.
git-svn-id: svn://10.0.0.236/trunk@125324 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 21:35:30 +00:00
nhotta%netscape.com
0c40fcbd93 For mailto URL, convert spec to UTF-8 (from origin charset) if necessary,
bug 141134, r=ducarroz, sr=bienvenu, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125323 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 21:34:25 +00:00
pschwartau%netscape.com
223e70cbbd Initial add. Regression test for bug 157652.
git-svn-id: svn://10.0.0.236/trunk@125322 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 21:23:58 +00:00
ducarroz%netscape.com
71d5be248f Fix for bug 143882 (remaining problem). We need to remove internal headers when sending message as attachment. R=varada, SR=bienvenu, A=asa
git-svn-id: svn://10.0.0.236/trunk@125321 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 21:18:46 +00:00
igor%mir2.org
64213cbcf3 Serialization fixes to correctly restore members and related fields in NativeJavaClass.
git-svn-id: svn://10.0.0.236/trunk@125320 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 21:17:09 +00:00
igor%mir2.org
8b45eec30f Fixing the bug 157196: custom serialization of ScriptableObject not to save deleted/empty slot.
git-svn-id: svn://10.0.0.236/trunk@125319 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 21:15:51 +00:00
wtc%netscape.com
76a809a67c Bug 157750: handle the possibility that some certs do not have a label.
git-svn-id: svn://10.0.0.236/trunk@125316 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 21:13:40 +00:00
nhotta%netscape.com
f5796b5f71 Changed charset conversions for clipboard, D&D,
* copy from Mozilla, added fallback to try non system default scripts
* copy to Mozilla, check 'styl' and if available use that script instead of
using the system's default
bug 108029, r=pinkerton, sr=sfraser, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125312 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 19:38:08 +00:00
despotdaemon%netscape.com
1b7caa10dc Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@125308 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 18:45:22 +00:00
sfraser%netscape.com
111f6a2e8d Adding files for the Appearance prefs panel, and adding this panel to the static build target.
git-svn-id: svn://10.0.0.236/trunk@125305 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 17:47:23 +00:00
sfraser%netscape.com
01c46ae9cd Adding the Appearance prefs panel to the list of panels, fixing the prefs panel base class to use UTF-8 for prefs, and adding a changeFont handler on the window's controller that can forward changeFont() messages back to the current prefs pane (used by the Appearance pane).
git-svn-id: svn://10.0.0.236/trunk@125304 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 17:45:48 +00:00
sfraser%netscape.com
2a055af3f8 More changes for the fonts prefs panel.
git-svn-id: svn://10.0.0.236/trunk@125303 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 17:43:43 +00:00
igor%mir2.org
0b2c94950a Checking for 1.2 version in toString for objects and arrays is replaced by calling cx.hasFeature(Context.FEATURE_TO_STRING_AS_SOURCE) to allow to control toString from applications without switching on other JS 1.2 features.
git-svn-id: svn://10.0.0.236/trunk@125302 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 17:42:18 +00:00
igor%mir2.org
f3367c89e9 I removed startString/getString and their support code as TokenStream uses its own buffer and fixed the bug 151337 which was cause by incorrect getLine
git-svn-id: svn://10.0.0.236/trunk@125301 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 17:37:46 +00:00
relyea%netscape.com
48c6b9c1ce Automatically recover from database corruptions when importing new certs.
git-svn-id: svn://10.0.0.236/trunk@125299 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 16:44:22 +00:00
ian%hixie.ch
4dcb11a39f Some minor code fixups with no semantic change. Also, fixed the getArgumentsAsString method to not screw up the output when there are empty arrays in the arguments hash (as can happen when you call createArgument, which happens when getArgument is called and the argument is missing) and when the arguments hash contains scalars.
git-svn-id: svn://10.0.0.236/trunk@125298 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 15:50:14 +00:00
peterv%netscape.com
76b49d7465 Temporarily disable the code that caused the slowdown in Txul, Tp and Ts. Bug 156452.
git-svn-id: svn://10.0.0.236/trunk@125297 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 15:46:39 +00:00
ian%hixie.ch
690d2c0bef Add support for a command which does nothing but pass its argument to the output system. This is especially useful for templates that want to show other templates without actually doing anything else, and so the command is called 'showTemplate'.
git-svn-id: svn://10.0.0.236/trunk@125296 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 15:46:28 +00:00
dbaron%fas.harvard.edu
f9da4499fa Work around crashes at ChildIterator::get using bounds check on ChildIterator::seek. sr=waterson r=kin a=asa b=133219
git-svn-id: svn://10.0.0.236/trunk@125295 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 14:53:43 +00:00
sicking%bigfoot.com
7ef44d6e76 Add same-origin checks in a few DOM methods. Patch by me and jst.
b=156452, r=jst/me, sr=bz, a=pending


git-svn-id: svn://10.0.0.236/trunk@125294 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 13:09:15 +00:00
axel%pike.org
3495eca2d7 remove security checks from buster, it's chrome:// now. Not part of build
git-svn-id: svn://10.0.0.236/trunk@125293 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 11:58:26 +00:00
locka%iol.ie
4bd8981445 Move appstrings.properties into new docshell/resources dir. b=156988 r=brade@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125292 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 11:54:44 +00:00
kairo%kairo.at
7d69abde8e reorder/split strings in language/content pref panel to better remind users of restarting, bug 137324, r=axel@pike.org, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@125291 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 09:38:42 +00:00
despotdaemon%netscape.com
4b278d819a Pseudo-automatic update of changes made by bugreport@peshkin.net.
git-svn-id: svn://10.0.0.236/trunk@125275 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 03:26:59 +00:00
dveditz%netscape.com
f2f1b42a6b Correct preference escaping for bug 143459, r=bnesse,mstoltz sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@125273 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 02:09:34 +00:00
kyle.yuan%sun.com
98c1392734 Sorry, my previous checkin is not the final one. Fixed!
git-svn-id: svn://10.0.0.236/trunk@125272 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 01:45:38 +00:00
jkeiser%netscape.com
d0f3fe54a4 Make form.submit() work in onSubmit in standards mode (bug 155453), r=bzbarsky@mit.edu, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@125270 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 01:43:21 +00:00
sdagley%netscape.com
23ed5d660d Fix #143543 - Work around Nav Services 1.0 flaw so Save File dialogs works on Mac OS 8.6. r/sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@125269 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 01:39:39 +00:00
kyle.yuan%sun.com
ac37835845 Bug 154929 Wrong behavior when dragging splitter in mail thread pane
r=varga, sr=bryner, a=asa
omitted hidden columns when dragging


git-svn-id: svn://10.0.0.236/trunk@125268 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 01:23:43 +00:00
jpierre%netscape.com
5a725d3799 Make certutil use the new CERT_VerifyCertificate function when verifying certs
git-svn-id: svn://10.0.0.236/trunk@125265 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 00:45:50 +00:00
despotdaemon%netscape.com
d3b242d8b6 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@125261 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 00:03:14 +00:00
dougt%netscape.com
44e616bb84 Fixing bug 157192. r=me, sr=dbaron, a=asa.
git-svn-id: svn://10.0.0.236/trunk@125259 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 23:32:36 +00:00
despotdaemon%netscape.com
be927b60f1 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@125258 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 23:31:05 +00:00
despotdaemon%netscape.com
b72e38951c Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@125257 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 23:21:01 +00:00
pschwartau%netscape.com
be4875d3c7 Initial add. Regression test for bug 58274.
git-svn-id: svn://10.0.0.236/trunk@125256 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 23:20:15 +00:00
pschwartau%netscape.com
4c78026770 Initial add. Testing identifiers with double-byte names; see bug 58274.
git-svn-id: svn://10.0.0.236/trunk@125254 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 23:15:52 +00:00
nhotta%netscape.com
ead545266a Changed to return a result code for conversions so the caller can try fallback,
also changed convert from Unicode to try keyscript in addition to the system default,
bug 108029, r=pinkerton, sr=sfraser, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125253 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 23:01:17 +00:00
nhotta%netscape.com
29ca846b8b Adding new files for utitily functions to convert between native script and Unicode,
bug 108029, r=pinkerton, sr=sfraser, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125251 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:57:35 +00:00
nicolson%netscape.com
202ab4d6e1 fix 157622: cleanup javadoc warnings.
Have the build system automatically copy overview-summary.html over
index.html so we get a frame-free version.


git-svn-id: svn://10.0.0.236/trunk@125249 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:52:58 +00:00
jst%netscape.com
4a5f28b71e Checking in alexey@ihug.com.au's fix for bug 144040. Make sure the enabled column in about:plugins contains correct information. r=peterl@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@125248 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:50:49 +00:00
nicolson%netscape.com
8c3d311cb9 Fix 157622: cleanup javadoc warnings.
These changes should only affect documentation. There should be no
functional effect of the changes.


git-svn-id: svn://10.0.0.236/trunk@125247 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:48:06 +00:00
mjudge%netscape.com
2210006d15 r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled.
git-svn-id: svn://10.0.0.236/trunk@125242 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:04:13 +00:00
cltbld%netscape.com
c05cd73c0a updating for mozilla1.1b, kysmith checking in as cltbld, sr=leaf, bugzilla 157557
git-svn-id: svn://10.0.0.236/trunk@125241 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 21:40:28 +00:00
cltbld%netscape.com
1c29191311 updating for mozilla1.1b, sr=leaf, kysmith checking in as cltbld, bugzilla 157557
git-svn-id: svn://10.0.0.236/trunk@125238 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 21:13:59 +00:00
shrutiv%netscape.com
fe40cb95cb updating images
git-svn-id: svn://10.0.0.236/trunk@125237 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 21:00:59 +00:00
pavlov%netscape.com
6998788589 checking in fix for bug 155222 r=pavlov sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@125235 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 20:17:09 +00:00
axel%pike.org
b5574b2a89 chromeing XSLT QA app buster, not removing security checks yet, though. Plus, adding stats and test display by peterv. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@125234 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 19:51:27 +00:00
sicking%bigfoot.com
f0e2529596 Add sameorigin checks to treewalker
b=156452, r=mstoltz, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@125233 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 19:25:27 +00:00
sfraser%netscape.com
48ac123446 Add implementation of the Fonts pref panel, and add the contents of the .nib file
git-svn-id: svn://10.0.0.236/trunk@125232 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 19:14:08 +00:00
locka%iol.ie
1c9690aa38 Ensure load error pages don't end up in the session history. b=157004 r=radha sr=rpotts a=asa
git-svn-id: svn://10.0.0.236/trunk@125231 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 19:10:13 +00:00
igor%mir2.org
55ae98c99d I changed TokenStream to use internal buffer in place of LineBuffer#startString/getString to store currently read characters for identifiers, strings and numbers. For the price of yet another character coping it allows to simplify code logic especially regarding interaction with LineBuffer.
I also fixed http://bugzilla.mozilla.org/show_bug.cgi?id=157509


git-svn-id: svn://10.0.0.236/trunk@125229 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 18:49:42 +00:00
depstein%netscape.com
7d4747a04e new string handling for webProg notification flags.
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@125228 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 18:25:47 +00:00
mostafah%oeone.com
5a20737e37 Checking in patch for bug 132231 ( leaving out changes to description/categories/locations/url ): No support for International characters
git-svn-id: svn://10.0.0.236/trunk@125226 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 17:31:40 +00:00
pschwartau%netscape.com
d896129cde Correcting two sections of test.
git-svn-id: svn://10.0.0.236/trunk@125225 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 17:28:05 +00:00
pschwartau%netscape.com
5fb9b41f57 Expanding a comment for one section in greater detail.
git-svn-id: svn://10.0.0.236/trunk@125224 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 17:04:38 +00:00
mostafah%oeone.com
55dbf25c70 Checked in patch for bug 156495: VCALENDAR objects of TODO items don't have 'version' and 'prodid' properties.
git-svn-id: svn://10.0.0.236/trunk@125220 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 16:20:29 +00:00
pschwartau%netscape.com
4bb036ffe0 Initial add. Regression test for bug 157509.
git-svn-id: svn://10.0.0.236/trunk@125219 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 15:22:35 +00:00
karnaze%netscape.com
3ce2c0f149 new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@125218 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 15:18:28 +00:00
pschwartau%netscape.com
e2aaf6643f Comment edit.
git-svn-id: svn://10.0.0.236/trunk@125217 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 15:07:33 +00:00
pschwartau%netscape.com
cd52e68590 Added revision date + comment clean-up.
git-svn-id: svn://10.0.0.236/trunk@125216 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 15:06:37 +00:00
karnaze%netscape.com
ed50f0e383 bug 154741 - use macros instead of NS_FRAME_COMPLETE, a=asa, sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@125215 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 14:46:01 +00:00
kaie%netscape.com
a87d01f430 b=153232 Add better error message for -8182
r=javi sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@125211 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 13:39:13 +00:00
kaie%netscape.com
55bf8b4f06 b=151250 False warning posting to https site from http site.
r=javi sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@125210 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 13:37:22 +00:00
kaie%netscape.com
7c8854f3d0 b=114893 Can't send encrypted mail if encryption cert has not been imported. Smartcard issue.
r=javi sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@125209 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 13:35:30 +00:00
rods%netscape.com
09fb40aa17 Forgot to initialize the arg to false, and th js code needs to finsih PP in the catch if an error is passed back.
Bug 157129 r=carlen sr=waterson a=asa


git-svn-id: svn://10.0.0.236/trunk@125207 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 11:44:42 +00:00
pete.zha%sun.com
ea278357db Implementation of nsIAccessibleValue
bug=150606 r=kyle.yuan@sun.com sr=jag patch=gilbert.fang@sun.com


git-svn-id: svn://10.0.0.236/trunk@125194 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 02:23:23 +00:00
pschwartau%netscape.com
aa9222e54c Correcting an error in the test. See bug 155291.
git-svn-id: svn://10.0.0.236/trunk@125193 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 00:40:14 +00:00
pschwartau%netscape.com
2aa4367266 Correcting errors in test. See bug 155289.
git-svn-id: svn://10.0.0.236/trunk@125192 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 00:29:37 +00:00
pschwartau%netscape.com
05b930589a Correcting errors in the test. See bug 155289.
git-svn-id: svn://10.0.0.236/trunk@125191 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 00:04:22 +00:00
pschwartau%netscape.com
5a05ebc498 Correcting errors in the test. See bug 155289.
git-svn-id: svn://10.0.0.236/trunk@125190 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 23:57:03 +00:00
pschwartau%netscape.com
970893aaaf Correcting an error in one section of the test. See bug 155285.
git-svn-id: svn://10.0.0.236/trunk@125189 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 23:42:23 +00:00
pschwartau%netscape.com
e7e5a1677a Rhino has also decided to conform with SpiderMonkey on this test. Adding early return for Rhino as well.
git-svn-id: svn://10.0.0.236/trunk@125187 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 22:34:50 +00:00
pschwartau%netscape.com
3dd30e325a Rhino has also decided to conform with SpiderMonkey on this test. Removing early return for Rhino.
git-svn-id: svn://10.0.0.236/trunk@125186 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 22:23:52 +00:00
jshin%mailaps.org
a1c1e34624 bug 133216 - make multibyte decoder more robust for invalid octet sequence.
r=yokoyama, sr=alecf, a=asa


git-svn-id: svn://10.0.0.236/trunk@125182 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 10:45:54 +00:00
jshin%mailaps.org
a2468389cc bug 135850 - Make Korean JOHAB encoder (Compatibility Jamo part) aligned with
Adobe CMap and XFree86 font encoding file for JOHAB.
r=yokoyama,sr=alecf,a=asa


git-svn-id: svn://10.0.0.236/trunk@125181 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 10:28:48 +00:00
sfraser%netscape.com
eb22c6a272 Adding Appearance pref pane files to project.
git-svn-id: svn://10.0.0.236/trunk@125170 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 02:15:14 +00:00
sfraser%netscape.com
d37a90f0b3 Changing the Navigation prefs pane to use the common base class. Also changed the wording of the 'load tabs in background' checkbox to indicate that this pref affects new windows too.
git-svn-id: svn://10.0.0.236/trunk@125169 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 02:13:13 +00:00
sfraser%netscape.com
ff6fec4d67 New files for Appearance pref pane. The tiff is temporary.
git-svn-id: svn://10.0.0.236/trunk@125168 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 02:11:32 +00:00
sfraser%netscape.com
42dc561f4c New base class for Preference Pane implementations, provides methods for getting and setting mozilla prefs.
git-svn-id: svn://10.0.0.236/trunk@125167 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 02:10:30 +00:00
bryner%netscape.com
069dbfb68c Fix full-page plugins on static builds by registering the docloader factory via nsIComponentRegistrar::RegisterFactory, so we don't have to depend on there being a plugin shared library in the components directory. r=peterl, sr=shaver, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@125164 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 00:39:35 +00:00
bryner%netscape.com
0941d2ecdb On second thought, only allocate the extra space when determining the element size; still paint the indicator at its "real" size. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@125160 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 23:27:16 +00:00
bryner%netscape.com
92c533513a Put a hardcoded min size of 14px on checkbox and radio button indicators, since many themes have indicators that are larger than the default 10px indicator_size, but don't bother setting the property. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@125156 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 22:05:38 +00:00
locka%iol.ie
fc56222620 Support client specific manifests. b=154878 r=chak@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125151 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 15:09:26 +00:00
locka%iol.ie
dd99f9e5bc Support client specific manifests. b=154878 r=chak@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125150 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 14:41:45 +00:00
caillon%returnzero.com
bfa2307cf1 Bug 157083. Smart Browsing Advanced window is sized too small when no checkboxes checked.
r=bzbarsky sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@125149 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 11:30:09 +00:00
mstoltz%netscape.com
436a8b02f7 bug 125725, part 2 - pass nsIURIs instead of char* URL specs into nsCookies.
That way, we won't try to get or set cookies on protocols that don't support host.
r=morse, sr=dveditz, a=asa


git-svn-id: svn://10.0.0.236/trunk@125142 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 03:45:05 +00:00
relyea%netscape.com
9dc2692721 Fix solaris signed/unsigned warnings.
On updating nicknames, create a nickname record if one doesn't exist (that is
somehow the database got corrupted).


git-svn-id: svn://10.0.0.236/trunk@125140 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 02:45:04 +00:00
ccarlen%netscape.com
8fe2ca829c Fixing bustage on planetoid.
git-svn-id: svn://10.0.0.236/trunk@125139 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 01:07:57 +00:00
waldemar%netscape.com
b2fd32511a Obsolete
git-svn-id: svn://10.0.0.236/trunk@125137 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 00:52:10 +00:00
despotdaemon%netscape.com
f80ad3f50f Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@125136 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 00:26:25 +00:00
ccarlen%netscape.com
96a6b4aa46 Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@125133 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 00:18:46 +00:00
ccarlen%netscape.com
71ffff784e Adding new files for bug 154883 - using session printing APIs on OSX. r=pinkerton/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@125132 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 00:08:42 +00:00
shrutiv%netscape.com
7e2893cc71 Fix for bug 155468: Installation of c11n build crash due to incorrect
attributes for Viewpoint (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@125131 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 23:48:13 +00:00
cltbld%netscape.com
3f1b90e393 Adding default, blank string for BuildNameExtra. -mcafee
git-svn-id: svn://10.0.0.236/trunk@125129 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 22:45:41 +00:00
brade%netscape.com
3b0fc8bc5c bug 156918; cleanup QI usage and fix some recent regressions (r=Neil, Akkana, sr=Simon)
git-svn-id: svn://10.0.0.236/trunk@125128 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 22:28:30 +00:00
brade%netscape.com
0dde44ee8b fix typo (r=akkana, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@125127 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 22:24:39 +00:00
leaf%mozilla.org
c8844accd0 Automated update
git-svn-id: svn://10.0.0.236/trunk@125126 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 21:40:22 +00:00
dmose%netscape.com
e8c3820f63 Add a configure option and hack for Linux x86 to make existing plugin binaries (eg flash, real, ...) work with gcc 3.1 builds (bug 154206). r=bryner@netscape.com, serge@netscape.com; sr=blizzard@mozilla.org; a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125125 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 21:30:31 +00:00
rginda%netscape.com
175c89a2ea bug 155838, "Infinite loop caused by strange code", r=peterv, sr=brendan, a=roc+moz@cs.cmu.edu
don't leave gDeadScripts pointing at garbage.  May or may not fix the problem at hand, but is an improvement in either case.


git-svn-id: svn://10.0.0.236/trunk@125124 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 21:28:29 +00:00
shannond%netscape.com
a7311a64c7 Bug 147978 - The copy of an existing config should use its own Workspace
r=mitchf@netscape.com
This checkin to take into account if the administrator changed the path in the original configuration.


git-svn-id: svn://10.0.0.236/trunk@125123 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 21:27:34 +00:00
radha%netscape.com
8f44bb451e Fix for bug # 124245. javascript onload redirect breaks back button. r= rpotts sr=alecf, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@125122 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 21:15:51 +00:00
rbs%maths.uq.edu.au
7934fc0bf6 Align the bar of the radical on pixel boundaries to get a nicer & uniform spacing on stacked radicals, b=130282, r=roc+moz, sr=waterson, a=asa
git-svn-id: svn://10.0.0.236/trunk@125121 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 21:14:32 +00:00
nicolson%netscape.com
7a797251db put back the assertion check.
git-svn-id: svn://10.0.0.236/trunk@125119 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 21:12:22 +00:00
dougt%netscape.com
368181a95d nscore.h has unreachable MSVC #defines (mutually exclusive nested #if), r=dbaron sr=scc a=superfly asa
git-svn-id: svn://10.0.0.236/trunk@125118 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 21:08:56 +00:00
nicolson%netscape.com
0f1ab3ab0c Fix misspelled exception name.
git-svn-id: svn://10.0.0.236/trunk@125117 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 21:08:22 +00:00
nicolson%netscape.com
ad1a1e4c9c add default constructor
git-svn-id: svn://10.0.0.236/trunk@125116 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 21:07:40 +00:00
bzbarsky%mit.edu
050d8e8c55 Add some more Ethiopic list styles. Bug 154503, patch by yacob@geez.org
(Daniel Yacob), r=dbaron, rs=brendan, a=asa


git-svn-id: svn://10.0.0.236/trunk@125114 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 20:46:19 +00:00
nicolson%netscape.com
e8aaf9ad36 This test isn't working yet, but I may get it working at some point.
git-svn-id: svn://10.0.0.236/trunk@125113 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 20:33:39 +00:00
alecf%netscape.com
9abc7e5dc6 bug 156736 - reorganize basebrowser-* to make it easier for embeddors to pick & choose components
r=adamlock, sr=dveditz, a=asa


git-svn-id: svn://10.0.0.236/trunk@125112 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 20:33:12 +00:00
mkaply%us.ibm.com
1e8274b9b8 #67913
r=pedemont, sr=blizzard (platform specific code)
OS/2 only = 800x600 reports the workarea size incorrectly, so explictly use the height of warpcenter


git-svn-id: svn://10.0.0.236/trunk@125109 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 20:01:59 +00:00
igor%mir2.org
7368ef0536 Call to InterpretedFunction.construct is inlined to avoid argument array allocation.
git-svn-id: svn://10.0.0.236/trunk@125106 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 19:40:49 +00:00
igor%mir2.org
c95dcd43e0 Creation and initialization of new object in BaseFunction.construct is moved to a separated function createObject to simplify inlining of InterpretedFunction.construct in Interpreter
git-svn-id: svn://10.0.0.236/trunk@125105 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 19:39:57 +00:00
mikep%oeone.com
c9f6793cd8 Fixing bug 137513 for mouse wheel scrolling, and also fixing display time for alarms in alarm dialog (problme with repeating events.)
git-svn-id: svn://10.0.0.236/trunk@125104 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 19:39:37 +00:00
igor%mir2.org
63fd7c33bc Added ObjToIntMap.intern()
git-svn-id: svn://10.0.0.236/trunk@125103 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 19:37:20 +00:00
dmose%netscape.com
87d338aa27 Fix OSF/1 build bustage (bug 144280). Patch from shanmu@netscape.com; r=dmose@netscape.com, sr=bienvenu@netscape.com, a=roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@125102 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 19:29:52 +00:00
alecf%netscape.com
2f59581288 bug 66759 - finally remove XPCOM_STANDALONE completely
r=dougt, rs=brendan, a=asa


git-svn-id: svn://10.0.0.236/trunk@125100 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 19:14:35 +00:00
dsirnapalli%netscape.com
5d8fa23aad Updated the test case.
git-svn-id: svn://10.0.0.236/trunk@125098 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 18:38:20 +00:00
mikep%oeone.com
38a5767562 Fixing bug 137513, problem with mouse scrolling after switching to week and day views.
git-svn-id: svn://10.0.0.236/trunk@125097 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 18:33:23 +00:00
naving%netscape.com
f44a2d8138 156368 patch by t.bugz@lament.cjb.net r=naving sr=bienvenu a=roc+moz fixing quicksearch fails if focus was in threadpane before search box
git-svn-id: svn://10.0.0.236/trunk@125093 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 17:57:02 +00:00
pinkerton%netscape.com
f1c996ad85 Replace the standard gecko 'image placeholder' with a more aqua-one from ugo
git-svn-id: svn://10.0.0.236/trunk@125092 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 15:22:28 +00:00
kaie%netscape.com
f8b44ebc4e b=135214 tentative fix for "signed icon in 3-pane isn't going away"
r=dbaron sr=mscott


git-svn-id: svn://10.0.0.236/trunk@125091 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 11:53:34 +00:00
rods%netscape.com
44a86dac88 changed all the DEVMODE allocating and freeing to native Windows calls HeapAlloc and HeapFree
nsPrintSettingsWin.cpp was creating and copying only the non-platform specific data by using the
"sizeof" of the DEVMODE struct, instead of checking the struct size with dmSize
and the size of the private (device-specific) data with dmDriverExtra. Now it
creates the correct size of memory and copies all the non-private data and private data.
Bug 156318 r=dcone sr=kin,waterson,rpotts a=asa


git-svn-id: svn://10.0.0.236/trunk@125089 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 11:48:38 +00:00
rods%netscape.com
e37e3dadbd Minor comment change
Bug 99619 r=kmcclusk sr=sspitzer a=jud adt=paw


git-svn-id: svn://10.0.0.236/trunk@125088 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 11:34:52 +00:00
aaronl%netscape.com
b992a26c12 Not part of build. Typeaheadfind: clean up emacsish/repeated character logic
git-svn-id: svn://10.0.0.236/trunk@125083 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 08:10:13 +00:00
aaronl%netscape.com
b8c854e6a8 Not part of build. Typeaheadfind (bug 30088): Prefer an exact match, if it exists, when the same character is repeated. Should make the emacs folks happy
git-svn-id: svn://10.0.0.236/trunk@125082 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 07:41:22 +00:00
aaronl%netscape.com
74eef6bba9 Not part of build. Fix for crash in typeaheadfind (bug 30088)
git-svn-id: svn://10.0.0.236/trunk@125081 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 07:23:09 +00:00
brendan%mozilla.org
90ad3b5df3 Emulate IE6 by making RegExp.prototype match the empty string (156355, r=rogerl, sr=shaver, a=dbaron).
git-svn-id: svn://10.0.0.236/trunk@125078 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 04:54:57 +00:00
bbaetz%student.usyd.edu.au
238bee30e8 Bug 155032 - Memory leak of 18 bytes from 1 block allocated in
nsSOCKSSocketInfo::GetProxyHost
r=smeredith, sr=alecf, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@125077 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 04:54:09 +00:00
bryner%netscape.com
5a608bcf5e Remove non-functional help menu item, add an Info menu item that goes to the download page.
git-svn-id: svn://10.0.0.236/trunk@125076 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 04:53:12 +00:00
pete.zha%sun.com
f8753fa9cf "Quote Message" menu item doesn't work on recently trunk. bug=156876 r=ducarroz sr=bienvenu a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@125071 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 04:33:16 +00:00
nicolson%netscape.com
40b78d68bf Fix 98613: using SSLSocket after close causes crash.
Now the SSLSocket and SSLServerSocket close() methods only call PR_Close()
on the underlying fd. Freeing data structures is postponed until the
Java object is finalized.


git-svn-id: svn://10.0.0.236/trunk@125070 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 04:26:56 +00:00
nicolson%netscape.com
34f86dd48b clarify error message.
git-svn-id: svn://10.0.0.236/trunk@125069 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 04:09:14 +00:00
cltbld%netscape.com
5e83c9f0ea 154815 fixed, removing hack. -mcafee
git-svn-id: svn://10.0.0.236/trunk@125068 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 03:50:49 +00:00
mozilla.BenB%bucksch.org
67e2928527 same as previous. patch by Tuukka Tolvanen <t.bugz@lament.cjb.net>
git-svn-id: svn://10.0.0.236/trunk@125067 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 03:39:14 +00:00
mozilla.BenB%bucksch.org
2c5eb70b01 156984: Typo (missing "P"). r=rods, sr=kin, a=roc
git-svn-id: svn://10.0.0.236/trunk@125066 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 03:34:17 +00:00
relyea%netscape.com
52ca8acde6 Update the CERTDB_USER bits when our key gets imported through pkcs #12.
git-svn-id: svn://10.0.0.236/trunk@125064 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 03:27:44 +00:00
pete.zha%sun.com
ef2e3f111b mozilla1.1a core dump at PR_AtomicDecrement()
bug=154730 r=bryner sr=jst a=asa patch=antonio.xu@sun.com


git-svn-id: svn://10.0.0.236/trunk@125061 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 02:56:18 +00:00
jpierre%netscape.com
7b06b4f219 Make CERT_VerifyCertificate actually work . Oops.
git-svn-id: svn://10.0.0.236/trunk@125060 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 02:37:49 +00:00
dbaron%fas.harvard.edu
f397c8ab4e Fix crash when we do a ReconstructDocElementHierarchy on a XUL document, which destroys the nsDocElementBoxFrame (which constructs the popupset) but not the nsRootBoxFrame. b=156719 r=waterson sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@125058 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 01:46:20 +00:00
bienvenu%netscape.com
051c35befa fix crash shutting down while offline r=dougt, sr=dveditz a=chofmann 156851
git-svn-id: svn://10.0.0.236/trunk@125055 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 01:00:08 +00:00
seawood%netscape.com
39c72e94a1 Create a symlink named "bin" in the dist/mozilla directory and then run pkgcp.pl using dist/mozilla as the srcdir. This will let us avoid accidentally stripping the files in dist/bin.
Thanks to Brian Ryner <bryner@netscape.com> for the patch.
Bug #156983 r=sgehani sr=leaf


git-svn-id: svn://10.0.0.236/trunk@125053 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 00:37:46 +00:00
caillon%returnzero.com
459e27115c New icons for composer and addressbook. Icons by marlon@netscape.com.
Bug 156822. Also see bugscape #16402.
moa=jag, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125051 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 00:19:08 +00:00
dsirnapalli%netscape.com
79ae232008 Test Cases to test XUL Elements for Accessibility.
git-svn-id: svn://10.0.0.236/trunk@125049 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 23:33:04 +00:00
jkeiser%netscape.com
8dddb7432c Make mailto form submit work (bug 61893), r=alexsavulov@netscape.com, sr=dveditz@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@125048 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 23:32:13 +00:00
shrutiv%netscape.com
57bf7291a9 Fix for bugscape bug 17654: Blank OS and Language-Region dropdown menu
using previous existing config files (r=mitchf)


git-svn-id: svn://10.0.0.236/trunk@125047 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 23:23:53 +00:00
oeschger%netscape.com
479087e18e added help content for http networking, brought over from ns help, bug=143590
git-svn-id: svn://10.0.0.236/trunk@125046 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 22:58:43 +00:00
edburns%acm.org
9ad9ff18de debug_options
git-svn-id: svn://10.0.0.236/trunk@125045 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 22:19:59 +00:00
edburns%acm.org
d2d0482cb1 debug_options
git-svn-id: svn://10.0.0.236/trunk@125044 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 22:15:46 +00:00
edburns%acm.org
89ce8241d1 debug_options
git-svn-id: svn://10.0.0.236/trunk@125043 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 22:12:10 +00:00
morse%netscape.com
ae7548953e bug 152694, cookies with spaces in the value get mangled, r=law, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@125042 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 21:58:43 +00:00
551 changed files with 83282 additions and 21010 deletions

View File

@@ -0,0 +1,84 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for AIX.
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
#
# There are two implementation strategies available on AIX:
# pthreads, and pthreads-user. The default is pthreads.
# In both strategies, we need to use pthread_user.c, instead of
# aix.c. The fact that aix.c is never used is somewhat strange.
#
# So we need to do the following:
# - Default (PTHREADS_USER not defined in the environment or on
# the command line):
# Set PTHREADS_USER=1, USE_PTHREADS=1
# - PTHREADS_USER=1 set in the environment or on the command line:
# Do nothing.
#
ifeq ($(PTHREADS_USER),1)
USE_PTHREADS = # just to be safe
IMPL_STRATEGY = _PTH_USER
else
USE_PTHREADS = 1
PTHREADS_USER = 1
endif
DEFAULT_COMPILER = xlC_r
CC = xlC_r
CCC = xlC_r
CPU_ARCH = rs6000
RANLIB = ranlib
OS_CFLAGS = -DAIX -DSYSV
ifeq ($(CC),xlC_r)
OS_CFLAGS += -qarch=com
endif
AIX_WRAP = $(DIST)/lib/aixwrap.o
AIX_TMP = $(OBJDIR)/_aix_tmp.o
OS_LIBS += -lsvld
ifdef MAPFILE
EXPORT_RULES = -bexport:$(MAPFILE)
endif
PROCESS_MAP_FILE = grep -v ';+' $(LIBRARY_NAME).def | grep -v ';-' | \
sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' > $@
ifdef BUILD_OPT
OPTIMIZER += -qmaxmem=-1
endif

View File

@@ -0,0 +1,35 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for AIX3.2.5
#
include $(CORE_DEPTH)/coreconf/AIX.mk

View File

@@ -0,0 +1,55 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for AIX4.1
#
include $(CORE_DEPTH)/coreconf/AIX.mk
AIX_LINK_OPTS += -bnso -berok
#AIX_LINK_OPTS += -bnso -berok -brename:.select,.wrap_select -brename:.poll,.wrap_poll -bI:/usr/lib/syscalls.exp
# The AIX4.1 linker had a bug which always looked for a dynamic library
# with an extension of .a. AIX4.2 fixed this problem
DLL_SUFFIX = a
OS_LIBS += -lsvld
# override default value set in suffix.mk, for AIX 4.1 only
DYNAMIC_LIB_EXTENSION = _shr
# override default value in ruleset.mk
ifdef LIBRARY_NAME
SHARED_LIBRARY = $(OBJDIR)/lib$(LIBRARY_NAME)$(LIBRARY_VERSION)_shr$(JDK_DEBUG_SUFFIX).a
endif

View File

@@ -0,0 +1,50 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for AIX4.2
#
include $(CORE_DEPTH)/coreconf/AIX.mk
OS_CFLAGS += -DAIX4_2
DSO_LDOPTS = -brtl -bM:SRE -bnoentry
MKSHLIB = $(LD) $(DSO_LDOPTS) -lsvld -L/usr/lpp/xlC/lib -lc -lm
OS_LIBS += -L/usr/lpp/xlC/lib -lc -lm
ifdef MAPFILE
DSO_LDOPTS += -bexport:$(MAPFILE)
else
DSO_LDOPTS += -bexpall
endif

View File

@@ -0,0 +1,55 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for AIX4.3
#
include $(CORE_DEPTH)/coreconf/AIX.mk
ifeq ($(USE_64), 1)
# Next line replaced by generic name handling in arch.mk
# COMPILER_TAG = _64
OS_CFLAGS += -DAIX_64BIT
OBJECT_MODE=64
export OBJECT_MODE
endif
OS_CFLAGS += -DAIX4_3
DSO_LDOPTS = -brtl -bM:SRE -bnoentry
MKSHLIB = $(LD) $(DSO_LDOPTS) -lsvld -L/usr/lpp/xlC/lib -lc -lm
OS_LIBS += -L/usr/lpp/xlC/lib -lc -lm
ifdef MAPFILE
DSO_LDOPTS += -bexport:$(MAPFILE)
else
DSO_LDOPTS += -bexpall
endif

View File

@@ -0,0 +1,54 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for AIX5.1
#
include $(CORE_DEPTH)/coreconf/AIX.mk
ifeq ($(USE_64), 1)
# Next line replaced by generic name handling in arch.mk
# COMPILER_TAG = _64
OS_CFLAGS += -DAIX_64BIT
OBJECT_MODE=64
export OBJECT_MODE
endif
DSO_LDOPTS = -brtl -bM:SRE -bnoentry
MKSHLIB = $(LD) $(DSO_LDOPTS) -lsvld -L/usr/lpp/xlC/lib -lc -lm
OS_LIBS += -L/usr/lpp/xlC/lib -lc -lm
ifdef MAPFILE
DSO_LDOPTS += -bexport:$(MAPFILE)
else
DSO_LDOPTS += -bexpall
endif

View File

@@ -0,0 +1,88 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Kurt J. Lidl
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for BSD/OS
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = gcc
CC = gcc
CCC = g++
RANLIB = ranlib
ifeq ($(OS_TEST),i386)
OS_REL_CFLAGS = -D__i386__
CPU_ARCH = x86
else
ifeq ($(OS_TEST),ppc)
OS_REL_CFLAGS = -D__ppc__
CPU_ARCH = ppc
else
ifeq ($(OS_TEST),sparc)
OS_REL_CFLAGS = -D__sparc__
CPU_ARCH = sparc
else
# treat the ultrasparc like a regular sparc, at least for now!
ifeq ($(OS_TEST),sparc_v9)
OS_REL_CFLAGS = -D__sparc__
CPU_ARCH = sparc
endif
endif
endif
endif
DLL_SUFFIX = so
OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -Wall -DBSD_OS -DBSDI -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK
ARCH = bsdos
DSO_CFLAGS = -fPIC -DPIC
DSO_LDOPTS = -shared
DSO_LDFLAGS =
DSO_LDOPTS += -Wl,-soname,lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
ifdef LIBRUNPATH
DSO_LDOPTS += -Wl,-R$(LIBRUNPATH)
endif
MKSHLIB = $(CC) $(DSO_LDOPTS)
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@
G++INCLUDES = -I/usr/include/g++
INCLUDES += -I/usr/X11R6/include

View File

@@ -0,0 +1,79 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 2002 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for BeOS
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
XP_DEFINE := $(XP_DEFINE:-DXP_UNIX=-DXP_BEOS)
USE_PTHREADS =
ifeq ($(USE_PTHREADS),1)
IMPL_STRATEGY = _PTH
endif
CC = gcc
CCC = g++
RANLIB = ranlib
DEFAULT_COMPILER = gcc
ifeq ($(OS_TEST),ppc)
OS_REL_CFLAGS = -Dppc
CPU_ARCH = ppc
else
OS_REL_CFLAGS = -Di386
CPU_ARCH = x86
endif
MKSHLIB = $(CC) -nostart -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
ifdef BUILD_OPT
OPTIMIZER = -O2
endif
OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -Wall -pipe
OS_LIBS = -lbe
DEFINES += -DBEOS
ifdef USE_PTHREADS
DEFINES += -D_REENTRANT
endif
ARCH = beos
DSO_CFLAGS = -fPIC
DSO_LDOPTS =
DSO_LDFLAGS =

View File

@@ -0,0 +1,76 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Darwin.
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
CC = cc
CCC = c++
RANLIB = ranlib
ifeq (86,$(findstring 86,$(OS_TEST)))
OS_REL_CFLAGS = -Di386
CPU_ARCH = i386
else
OS_REL_CFLAGS = -Dppc
CPU_ARCH = ppc
endif
# "Commons" are tentative definitions in a global scope, like this:
# int x;
# The meaning of a common is ambiguous. It may be a true definition:
# int x = 0;
# or it may be a declaration of a symbol defined in another file:
# extern int x;
# Use the -fno-common option to force all commons to become true
# definitions so that the linker can catch multiply-defined symbols.
# Also, common symbols are not allowed with Darwin dynamic libraries.
OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -Wmost -fpascal-strings -traditional-cpp -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
ifdef BUILD_OPT
OPTIMIZER = -O2
endif
ARCH = darwin
# May override this with -bundle to create a loadable module.
DSO_LDOPTS = -dynamiclib -compatibility_version 1 -current_version 1 -install_name @executable_path/$(notdir $@)
MKSHLIB = $(CC) -arch $(CPU_ARCH) $(DSO_LDOPTS)
DLL_SUFFIX = dylib
PROCESS_MAP_FILE = grep -v ';+' $(LIBRARY_NAME).def | grep -v ';-' | \
sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,_,' > $@
G++INCLUDES = -I/usr/include/g++

View File

@@ -0,0 +1,82 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for FreeBSD
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = gcc
CC = gcc
CCC = g++
RANLIB = ranlib
ifeq ($(OS_TEST),alpha)
CPU_ARCH = alpha
else
CPU_ARCH = x86
endif
OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
DSO_CFLAGS = -fPIC
DSO_LDOPTS = -shared -Wl,-soname -Wl,$(notdir $@)
#
# The default implementation strategy for FreeBSD is pthreads.
#
ifndef CLASSIC_NSPR
USE_PTHREADS = 1
DEFINES += -D_THREAD_SAFE -D_REENTRANT
DSO_LDOPTS += -pthread
endif
ARCH = freebsd
MOZ_OBJFORMAT := $(shell test -x /usr/bin/objformat && /usr/bin/objformat || echo aout)
ifeq ($(MOZ_OBJFORMAT),elf)
DLL_SUFFIX = so
else
DLL_SUFFIX = so.1.0
endif
MKSHLIB = $(CC) $(DSO_LDOPTS)
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@
G++INCLUDES = -I/usr/include/g++
INCLUDES += -I/usr/X11R6/include

View File

@@ -0,0 +1,76 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for HP-UX
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = cc
CPU_ARCH = hppa
DLL_SUFFIX = sl
CC = cc
CCC = CC
OS_CFLAGS += -Ae $(DSO_CFLAGS) -DHPUX -D$(CPU_ARCH) -D_HPUX_SOURCE
ifeq ($(DEFAULT_IMPL_STRATEGY),_PTH)
USE_PTHREADS = 1
ifeq ($(CLASSIC_NSPR),1)
USE_PTHREADS =
IMPL_STRATEGY = _CLASSIC
endif
ifeq ($(PTHREADS_USER),1)
USE_PTHREADS =
IMPL_STRATEGY = _PTH_USER
endif
endif
ifdef PTHREADS_USER
OS_CFLAGS += -D_POSIX_C_SOURCE=199506L
endif
LDFLAGS = -z -Wl,+s
MKSHLIB = $(LD) $(DSO_LDOPTS)
ifdef MAPFILE
MKSHLIB += -c $(MAPFILE)
endif
PROCESS_MAP_FILE = grep -v ';+' $(LIBRARY_NAME).def | grep -v ';-' | \
sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,+e ,' > $@
DSO_LDOPTS = -b +h $(notdir $@)
DSO_LDFLAGS =
# +Z generates position independent code for use in shared libraries.
DSO_CFLAGS = +Z

View File

@@ -0,0 +1,44 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On HP-UX 9, the default (and only) implementation strategy is
# classic nspr.
#
ifeq ($(OS_RELEASE),A.09.03)
DEFAULT_IMPL_STRATEGY = _CLASSIC
endif
#
# Config stuff for HP-UXA.09.03
#
include $(CORE_DEPTH)/coreconf/HP-UXA.09.mk

View File

@@ -0,0 +1,43 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On HP-UX 9, the default (and only) implementation strategy is
# classic nspr.
#
ifeq ($(OS_RELEASE),A.09.07)
DEFAULT_IMPL_STRATEGY = _CLASSIC
endif
#
# Config stuff for HP-UXA.09.07
#
include $(CORE_DEPTH)/coreconf/HP-UXA.09.mk

View File

@@ -0,0 +1,38 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for HP-UXA.09
#
include $(CORE_DEPTH)/coreconf/HP-UX.mk
OS_CFLAGS += -DHPUX9

View File

@@ -0,0 +1,40 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
ifeq ($(OS_RELEASE),B.10.01)
DEFAULT_IMPL_STRATEGY = _CLASSIC
endif
#
# Config stuff for HP-UXB.10.01
#
include $(CORE_DEPTH)/coreconf/HP-UXB.10.mk

View File

@@ -0,0 +1,50 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On HP-UX 10.10 and 10.20, the default implementation strategy is
# pthreads (actually DCE threads). Classic nspr is also available.
#
ifeq ($(OS_RELEASE),B.10.10)
DEFAULT_IMPL_STRATEGY = _PTH
endif
#
# Config stuff for HP-UXB.10.10
#
include $(CORE_DEPTH)/coreconf/HP-UXB.10.mk
OS_CFLAGS += -DHPUX10_10
ifeq ($(USE_PTHREADS),1)
OS_CFLAGS += -D_REENTRANT
endif

View File

@@ -0,0 +1,50 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On HP-UX 10.10 and 10.20, the default implementation strategy is
# pthreads (actually DCE threads). Classic nspr is also available.
#
ifeq ($(OS_RELEASE),B.10.20)
DEFAULT_IMPL_STRATEGY = _PTH
endif
#
# Config stuff for HP-UXB.10.20
#
include $(CORE_DEPTH)/coreconf/HP-UXB.10.mk
OS_CFLAGS += -DHPUX10_20
ifeq ($(USE_PTHREADS),1)
OS_CFLAGS += -D_REENTRANT
endif

View File

@@ -0,0 +1,56 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On HP-UX 10.30 and 11.00, the default implementation strategy is
# pthreads. Classic nspr and pthreads-user are also available.
#
ifeq ($(OS_RELEASE),B.10.30)
DEFAULT_IMPL_STRATEGY = _PTH
endif
#
# Config stuff for HP-UXB.10.30.
#
include $(CORE_DEPTH)/coreconf/HP-UXB.10.mk
OS_CFLAGS += -DHPUX10_30
#
# To use the true pthread (kernel thread) library on 10.30 and
# 11.00, we should define _POSIX_C_SOURCE to be 199506L.
# The _REENTRANT macro is deprecated.
#
ifdef USE_PTHREADS
OS_CFLAGS += -D_POSIX_C_SOURCE=199506L
endif

View File

@@ -0,0 +1,38 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for HP-UXB.10
#
include $(CORE_DEPTH)/coreconf/HP-UX.mk
OS_CFLAGS += -DHPUX10
OS_LIBS += -lpthread -lm

View File

@@ -0,0 +1,55 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On HP-UX 10.30 and 11.00, the default implementation strategy is
# pthreads. Classic nspr and pthreads-user are also available.
#
ifeq ($(OS_RELEASE),B.11.00)
OS_CFLAGS += -DHPUX10
DEFAULT_IMPL_STRATEGY = _PTH
endif
#
# To use the true pthread (kernel thread) library on 10.30 and
# 11.00, we should define _POSIX_C_SOURCE to be 199506L.
# The _REENTRANT macro is deprecated.
#
ifdef USE_PTHREADS
OS_CFLAGS += -D_POSIX_C_SOURCE=199506L
endif
#
# Config stuff for HP-UXB.11.00.
#
include $(CORE_DEPTH)/coreconf/HP-UXB.11.mk

View File

@@ -0,0 +1,55 @@
#
# 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 Netscape security libraries.
#
# 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):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On HP-UX 10.30 and 11.x, the default implementation strategy is
# pthreads. Classic nspr and pthreads-user are also available.
#
ifeq ($(OS_RELEASE),B.11.11)
OS_CFLAGS += -DHPUX10
DEFAULT_IMPL_STRATEGY = _PTH
endif
#
# To use the true pthread (kernel thread) library on 10.30 and
# 11.x, we should define _POSIX_C_SOURCE to be 199506L.
# The _REENTRANT macro is deprecated.
#
ifdef USE_PTHREADS
OS_CFLAGS += -D_POSIX_C_SOURCE=199506L
endif
#
# Config stuff for HP-UXB.11.11.
#
include $(CORE_DEPTH)/coreconf/HP-UXB.11.mk

View File

@@ -0,0 +1,55 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 2002 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On HP-UX 10.30 and 11.x, the default implementation strategy is
# pthreads. Classic nspr and pthreads-user are also available.
#
ifeq ($(OS_RELEASE),B.11.20)
OS_CFLAGS += -DHPUX10
DEFAULT_IMPL_STRATEGY = _PTH
endif
#
# To use the true pthread (kernel thread) library on 10.30 and
# 11.x, we should define _POSIX_C_SOURCE to be 199506L.
# The _REENTRANT macro is deprecated.
#
ifdef USE_PTHREADS
OS_CFLAGS += -D_POSIX_C_SOURCE=199506L
endif
#
# Config stuff for HP-UXB.11.x.
#
include $(CORE_DEPTH)/coreconf/HP-UXB.11.mk

View File

@@ -0,0 +1,73 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for HP-UXB.11
#
include $(CORE_DEPTH)/coreconf/HP-UX.mk
ifdef USE_LONG_LONGS
USE_HYBRID = 1
endif
ifndef NS_USE_GCC
CCC = /opt/aCC/bin/aCC -ext
ifeq ($(USE_64), 1)
ifeq ($(OS_TEST), ia64)
OS_CFLAGS += -Aa +e +p +DD64
else
OS_CFLAGS += -Aa +e +DA2.0W +DS2.0 +DChpux
endif
# Next line replaced by generic name handling in arch.mk
# COMPILER_TAG = _64
else
ifeq ($(OS_TEST), ia64)
OS_CFLAGS += -Aa +e +p +DD32
else
ifdef USE_HYBRID
OS_CFLAGS += -Aa +e +DA2.0 +DS2.0
else
OS_CFLAGS += +DAportable +DS2.0
endif
endif
endif
else
CCC = aCC
endif
OS_CFLAGS += -DHPUX11
OS_LIBS += -lpthread -lm -lrt
#ifeq ($(USE_64), 1)
#OS_LIBS += -ldl
#else
#OS_LIBS += -ldld
#endif
HPUX11 = 1

View File

@@ -0,0 +1,124 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for IRIX
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
#
# The default implementation strategy for Irix is classic nspr.
#
ifeq ($(USE_PTHREADS),1)
ifeq ($(USE_N32),1)
IMPL_STRATEGY = _n32_PTH
else
IMPL_STRATEGY = _PTH
endif
endif
DEFAULT_COMPILER = cc
ifdef NS_USE_GCC
CC = gcc
AS = $(CC) -x assembler-with-cpp
ODD_CFLAGS = -Wall -Wno-format
ifdef BUILD_OPT
OPTIMIZER = -O6
endif
else
CC = cc
CCC = CC
ODD_CFLAGS = -fullwarn -xansi -woff 1209
ifdef BUILD_OPT
ifeq ($(USE_N32),1)
OPTIMIZER = -O -OPT:Olimit=4000
else
OPTIMIZER = -O -Olimit 4000
endif
endif
# For 6.x machines, include this flag
ifeq (6., $(findstring 6., $(OS_RELEASE)))
ifeq ($(USE_N32),1)
ODD_CFLAGS += -n32 -mips3 -exceptions
else
ODD_CFLAGS += -32 -multigot
endif
else
ODD_CFLAGS += -xgot
endif
ifeq ($(USE_N32),1)
OS_CFLAGS += -dollar
endif
endif
ODD_CFLAGS += -DSVR4 -DIRIX
CPU_ARCH = mips
RANLIB = /bin/true
# For purify
# NOTE: should always define _SGI_MP_SOURCE
NOMD_OS_CFLAGS += $(ODD_CFLAGS) -D_SGI_MP_SOURCE
OS_CFLAGS += $(NOMD_OS_CFLAGS)
ifdef USE_MDUPDATE
OS_CFLAGS += -MDupdate $(DEPENDENCIES)
endif
ifeq ($(USE_N32),1)
SHLIB_LD_OPTS += -n32 -mips3
endif
MKSHLIB += $(LD) $(SHLIB_LD_OPTS) -shared -soname $(@:$(OBJDIR)/%.so=%.so)
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@
DSO_LDOPTS = -elf -shared -all
ifdef DSO_BACKEND
DSO_LDOPTS += -soname $(DSO_NAME)
endif
#
# Revision notes:
#
# In the IRIX compilers prior to version 7.2, -n32 implied -mips3.
# Beginning in the 7.2 compilers, -n32 implies -mips4 when the compiler
# is running on a system with a mips4 CPU (e.g. R8K, R10K).
# We want our code to explicitly be mips3 code, so we now explicitly
# set -mips3 whenever we set -n32.
#

View File

@@ -0,0 +1,35 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for IRIX 5.2
#
include $(CORE_DEPTH)/coreconf/IRIX5.mk

View File

@@ -0,0 +1,37 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for IRIX 5.3
#
include $(CORE_DEPTH)/coreconf/IRIX5.mk
OS_CFLAGS += -DIRIX5_3

View File

@@ -0,0 +1,40 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for IRIX 5
#
include $(CORE_DEPTH)/coreconf/IRIX.mk
ifndef NS_USE_GCC
ODD_CFLAGS += -xgot
endif

View File

@@ -0,0 +1,43 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for IRIX 6.2
#
# catch unresolved symbols
SHLIB_LD_OPTS += -no_unresolved
include $(CORE_DEPTH)/coreconf/IRIX6.mk
OS_CFLAGS += -DIRIX6_2

View File

@@ -0,0 +1,42 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for IRIX 6.3
#
# catch unresolved symbols
SHLIB_LD_OPTS += -no_unresolved
include $(CORE_DEPTH)/coreconf/IRIX6.mk
OS_CFLAGS += -DIRIX6_3

View File

@@ -0,0 +1,45 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for IRIX 6.5
#
# catch unresolved symbols
SHLIB_LD_OPTS += -no_unresolved
include $(CORE_DEPTH)/coreconf/IRIX6.mk
OS_CFLAGS += -DIRIX6_5
ifndef NS_USE_GCC
OS_CFLAGS += -mips3
endif

View File

@@ -0,0 +1,47 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for IRIX 6
#
include $(CORE_DEPTH)/coreconf/IRIX.mk
ifndef NS_USE_GCC
ifneq ($(USE_N32),1)
OS_CFLAGS += -32
endif
ODD_CFLAGS += -multigot
endif
ifeq ($(USE_PTHREADS),1)
OS_LIBS += -lpthread
endif

View File

@@ -0,0 +1,130 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Linux
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
#
# The default implementation strategy for Linux is now pthreads
#
USE_PTHREADS = 1
ifeq ($(USE_PTHREADS),1)
IMPL_STRATEGY = _PTH
endif
CC = gcc
CCC = g++
RANLIB = ranlib
DEFAULT_COMPILER = gcc
ifeq ($(OS_TEST),m68k)
OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
CPU_ARCH = m68k
else
ifeq ($(OS_TEST),ppc)
OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
CPU_ARCH = ppc
else
ifeq ($(OS_TEST),alpha)
OS_REL_CFLAGS = -D_ALPHA_ -DLINUX1_2 -D_XOPEN_SOURCE
CPU_ARCH = alpha
else
ifeq ($(OS_TEST),ia64)
OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
CPU_ARCH = ia64
else
ifeq ($(OS_TEST),sparc)
OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
CPU_ARCH = sparc
else
ifeq ($(OS_TEST),sparc64)
OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
CPU_ARCH = sparc
else
ifeq (,$(filter-out arm% sa110,$(OS_TEST)))
OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
CPU_ARCH = arm
else
OS_REL_CFLAGS = -DLINUX1_2 -Di386 -D_XOPEN_SOURCE
CPU_ARCH = x86
endif
endif
endif
endif
endif
endif
endif
LIBC_TAG = _glibc
ifeq ($(OS_RELEASE),2.0)
OS_REL_CFLAGS += -DLINUX2_0
MKSHLIB = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
ifdef BUILD_OPT
OPTIMIZER = -O2
endif
ifdef MAPFILE
MKSHLIB += -Wl,--version-script,$(MAPFILE)
endif
PROCESS_MAP_FILE = grep -v ';-' $(LIBRARY_NAME).def | \
sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
endif
ifeq ($(USE_PTHREADS),1)
OS_PTHREAD = -lpthread
endif
OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR
OS_LIBS = -L/lib $(OS_PTHREAD) -ldl -lc
ifdef USE_PTHREADS
DEFINES += -D_REENTRANT
endif
ARCH = linux
DSO_CFLAGS = -fPIC
DSO_LDOPTS = -shared
DSO_LDFLAGS =
# INCLUDES += -I/usr/include -Y/usr/include/linux
G++INCLUDES = -I/usr/include/g++
#
# Always set CPU_TAG on Linux, OpenVMS, WINCE.
#
CPU_TAG = _$(CPU_ARCH)

View File

@@ -0,0 +1,49 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Linux 2.1 (ELF)
#
include $(CORE_DEPTH)/coreconf/Linux.mk
ifeq ($(OS_RELEASE),2.1)
OS_REL_CFLAGS += -DLINUX2_1
MKSHLIB = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
ifdef BUILD_OPT
OPTIMIZER = -O2
endif
ifdef MAPFILE
MKSHLIB += -Wl,--version-script,$(MAPFILE)
endif
PROCESS_MAP_FILE = grep -v ';-' $(LIBRARY_NAME).def | \
sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
endif

View File

@@ -0,0 +1,49 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Linux 2.2 (ELF)
#
include $(CORE_DEPTH)/coreconf/Linux.mk
OS_REL_CFLAGS += -DLINUX2_1
MKSHLIB = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
ifdef BUILD_OPT
OPTIMIZER = -O2
endif
ifdef MAPFILE
MKSHLIB += -Wl,--version-script,$(MAPFILE)
endif
PROCESS_MAP_FILE = grep -v ';-' $(LIBRARY_NAME).def | \
sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@

View File

@@ -0,0 +1,49 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Linux 2.4 (ELF)
#
include $(CORE_DEPTH)/coreconf/Linux.mk
OS_REL_CFLAGS += -DLINUX2_1
MKSHLIB = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
ifdef BUILD_OPT
OPTIMIZER = -O2
endif
ifdef MAPFILE
MKSHLIB += -Wl,--version-script,$(MAPFILE)
endif
PROCESS_MAP_FILE = grep -v ';-' $(LIBRARY_NAME).def | \
sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@

View File

@@ -0,0 +1,49 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Linux 2.5 (ELF)
#
include $(CORE_DEPTH)/coreconf/Linux.mk
OS_REL_CFLAGS += -DLINUX2_1
MKSHLIB = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
ifdef BUILD_OPT
OPTIMIZER = -O2
endif
ifdef MAPFILE
MKSHLIB += -Wl,--version-script,$(MAPFILE)
endif
PROCESS_MAP_FILE = grep -v ';-' $(LIBRARY_NAME).def | \
sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@

View File

@@ -0,0 +1,36 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Linux 1.2 (ELF)
#
include $(CORE_DEPTH)/coreconf/Linux.mk

View File

@@ -0,0 +1,36 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Linux 2.0 (ELF)
#
include $(CORE_DEPTH)/coreconf/Linux.mk

View File

@@ -0,0 +1,43 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
DEPTH = ..
CORE_DEPTH = ..
MODULE = coreconf
DIRS = nsinstall
include $(DEPTH)/coreconf/config.mk
include $(DEPTH)/coreconf/rules.mk
export:: libs

View File

@@ -0,0 +1,95 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for NCR SysVr4 v 3.0
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = cc
###
NS_USE_NATIVE = 1
# NS_USE_GCC = 1
export PATH:=$(PATH):/opt/ncc/bin
###
RANLIB = true
GCC_FLAGS_EXTRA += -pipe
DEFINES += -DSVR4 -DSYSV -DHAVE_STRERROR -DNCR
OS_CFLAGS += -Hnocopyr -DSVR4 -DSYSV -DHAVE_STRERROR -DNCR -DPRFSTREAMS_BROKEN
ifdef NS_USE_NATIVE
CC = cc
CCC = ncc
CXX = ncc
# OS_LIBS += -L/opt/ncc/lib
else
# OS_LIBS +=
endif
#OS_LIBS += -lsocket -lnsl -ldl -lc
MKSHLIB += $(LD) $(DSO_LDOPTS)
#DSO_LDOPTS += -G -z defs
DSO_LDOPTS += -G
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@
CPU_ARCH = x86
ARCH = ncr
NOSUCHFILE = /solaris-rm-f-sucks
# now take care of default GCC (rus@5/5/97)
ifdef NS_USE_GCC
# if gcc-settings are redefined already - don't touch it
#
ifeq (,$(findstring gcc, $(CC)))
CC = gcc
CCC = g++
CXX = g++
# always use -fPIC - some makefiles are still broken and don't distinguish
# situation when they build shared and static libraries
CFLAGS += -fPIC -Wall $(GCC_FLAGS_EXTRA)
# OS_LIBS += -L/usr/local/lib -lstdc++ -lg++ -lgcc
endif
endif
###

View File

@@ -0,0 +1,66 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for NEC Mips SYSV
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = $(CORE_DEPTH)/build/hcc
CPU_ARCH = mips
ifdef NS_USE_GCC
CC = gcc
CCC = g++
else
CC = $(CORE_DEPTH)/build/hcc
OS_CFLAGS = -Xa -KGnum=0 -KOlimit=4000
CCC = g++
endif
MKSHLIB = $(LD) $(DSO_LDOPTS)
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@
RANLIB = /bin/true
OS_CFLAGS += $(ODD_CFLAGS) -DSVR4 -D__SVR4 -DNEC -Dnec_ews -DHAVE_STRERROR
OS_LIBS = -lsocket -lnsl -ldl $(LDOPTIONS)
LDOPTIONS = -lc -L/usr/ucblib -lucb
NOSUCHFILE = /nec-rm-f-sucks
DSO_LDOPTS = -G

View File

@@ -0,0 +1,86 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for NetBSD
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = gcc
CC = gcc
CCC = g++
RANLIB = ranlib
CPU_ARCH := $(shell uname -p)
ifeq ($(CPU_ARCH),i386)
OS_REL_CFLAGS = -Di386
CPU_ARCH = x86
endif
ifndef OBJECT_FMT
OBJECT_FMT := $(shell if echo __ELF__ | $${CC:-cc} -E - | grep -q __ELF__ ; then echo a.out ; else echo ELF ; fi)
endif
ifeq ($(OBJECT_FMT),ELF)
DLL_SUFFIX = so
else
DLL_SUFFIX = so.1.0
endif
OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DNETBSD -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK
OS_LIBS = -lcompat
ARCH = netbsd
DSO_CFLAGS = -fPIC -DPIC
DSO_LDOPTS = -shared
DSO_LDFLAGS =
ifeq ($(OBJECT_FMT),ELF)
DSO_LDOPTS += -Wl,-soname,lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
endif
ifdef LIBRUNPATH
DSO_LDOPTS += -Wl,-R$(LIBRUNPATH)
endif
MKSHLIB = $(CC) $(DSO_LDOPTS)
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@
G++INCLUDES = -I/usr/include/g++
INCLUDES += -I/usr/X11R6/include

View File

@@ -0,0 +1,250 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
MOZ_WIDGET_TOOLKIT = os2
# Specify toolset. Default to EMX.
ifeq ($(MOZ_OS2_TOOLS),VACPP)
XP_OS2_VACPP = 1
else
ifeq ($(MOZ_OS2_TOOLS),PGCC)
XP_OS2_EMX = 1
else
MOZ_OS2_TOOLS = EMX
XP_OS2_EMX = 1
endif
endif
# XP_PC is for Window and OS2 on Intel X86
# XP_OS2 is strictly for OS2 only
XP_DEFINE += -DXP_PC=1 -DXP_OS2=1
# Override prefix
LIB_PREFIX = $(NULL)
# Override suffix in suffix.mk
LIB_SUFFIX = lib
DLL_SUFFIX = dll
OBJ_SUFFIX = .obj
ASM_SUFFIX = .asm
PROG_SUFFIX = .exe
ifdef XP_OS2_EMX
CCC = gcc
LINK = gcc
AR = emxomfar -p256 r $@
# Keep AR_FLAGS blank so that we do not have to change rules.mk
AR_FLAGS =
RANLIB = @echo OS2 RANLIB
BSDECHO = @echo OS2 BSDECHO
IMPLIB = emximp -o
FILTER = emxexp
ifndef NO_SHARED_LIB
WRAP_MALLOC_LIB =
WRAP_MALLOC_CFLAGS =
DSO_CFLAGS =
DSO_PIC_CFLAGS =
MKSHLIB = $(CXX) $(CXXFLAGS) $(DSO_LDOPTS) -o $@
MKCSHLIB = $(CC) $(CFLAGS) $(DSO_LDOPTS) -o $@
MKSHLIB_FORCE_ALL =
MKSHLIB_UNFORCE_ALL =
DSO_LDOPTS = -Zomf -Zdll -Zmt -Zcrtdll -Zlinker /NOO
# DLL_SUFFIX = .dll
SHLIB_LDSTARTFILE =
SHLIB_LDENDFILE =
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = copy $(LIBRARY_NAME).def $@
endif #NO_SHARED_LIB
OS_CFLAGS = -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Zmtd -Zomf -Zmt -DDEBUG -DDEBUG_wintrinh -DTRACING -g
# Where the libraries are
MOZ_COMPONENT_NSPR_LIBS=-L$(DIST)/lib $(NSPR_LIBS)
NSPR_LIBS = -lplds4 -lplc4 -lnspr4
NSPR_INCLUDE_DIR =
ifdef BUILD_OPT
OPTIMIZER = -O6
DEFINES += -UDEBUG -U_DEBUG -DNDEBUG
DLLFLAGS = -DLL -OUT:$@ -MAP:$(@:.dll=.map)
EXEFLAGS = -PMTYPE:VIO -OUT:$@ -MAP:$(@:.exe=.map) -nologo -NOE
OBJDIR_TAG = _OPT
else
#OPTIMIZER = -O+ -Oi
DEFINES += -DDEBUG -D_DEBUG -DDEBUGPRINTS #HCT Need += to avoid overidding manifest.mn
DLLFLAGS = -DEBUG -DLL -OUT:$@ -MAP:$(@:.dll=.map)
EXEFLAGS = -DEBUG -PMTYPE:VIO -OUT:$@ -MAP:$(@:.exe=.map) -nologo -NOE
OBJDIR_TAG = _DBG
LDFLAGS = -DEBUG
endif # BUILD_OPT
else # XP_OS2_VACPP
AS = alp.exe
ifdef BUILD_OPT
ASFLAGS = -Od
else
ASFLAGS = +Od
endif
CCC = icc -q -DXP_OS2 -DOS2=4 -N10
LINK = -ilink
AR = -ilib /NOL /NOI /O:$(subst /,\\,$@)
# Keep AR_FLAGS blank so that we do not have to change rules.mk
AR_FLAGS =
RANLIB = @echo OS2 RANLIB
BSDECHO = @echo OS2 BSDECHO
IMPLIB = implib /NOL /NOI
FILTER = cppfilt -b -p -q
ifndef NO_SHARED_LIB
WRAP_MALLOC_LIB =
WRAP_MALLOC_CFLAGS =
DSO_CFLAGS =
DSO_PIC_CFLAGS =
MKSHLIB = $(LD) $(DSO_LDOPTS)
MKCSHLIB = $(LD) $(DSO_LDOPTS)
MKSHLIB_FORCE_ALL =
MKSHLIB_UNFORCE_ALL =
DSO_LDOPTS =
# DLL_SUFFIX = .dll
SHLIB_LDSTARTFILE =
SHLIB_LDENDFILE =
endif #NO_SHARED_LIB
OS_CFLAGS = /Q /qlibansi /Gd /Gm /Su4 /Mp /Tl-
INCLUDES += -I$(CORE_DEPTH)/../dist/include
DEFINES += -DXP_OS2_VACPP -DTCPV40HDRS
# Where the libraries are
NSPR_LIBS = $(DIST)/lib/nspr4.lib $(DIST)/lib/plc4.lib $(DIST)/lib/plds4.lib
MOZ_COMPONENT_NSPR_LIBS=-L$(DIST)/lib $(NSPR_LIBS)
NSPR_INCLUDE_DIR =
ifdef BUILD_OPT
OPTIMIZER = -Oi -G5
DEFINES += -UDEBUG -U_DEBUG -DNDEBUG
DLLFLAGS = /DLL /O:$@ /INC:_dllentry /MAP:$(@:.dll=.map)
EXEFLAGS = -PMTYPE:VIO -OUT:$@ -MAP:$(@:.exe=.map) -nologo -NOE
OBJDIR_TAG = _OPT
LDFLAGS = /FREE /NODEBUG /NOE /LINENUMBERS /nologo
else
OS_CFLAGS += /Ti+
DEFINES += -DDEBUG -D_DEBUG -DDEBUGPRINTS #HCT Need += to avoid overidding manifest.mn
DLLFLAGS = /DEBUG /DLL /O:$@ /INC:_dllentry /MAP:$(@:.dll=.map)
EXEFLAGS = -DEBUG -PMTYPE:VIO -OUT:$@ -MAP:$(@:.exe=.map) -nologo -NOE
OBJDIR_TAG = _DBG
LDFLAGS = /FREE /DE /NOE /LINENUMBERS /nologo
endif # BUILD_OPT
endif # XP_OS2_VACPP
# OS/2 use nsinstall that is included in the toolkit.
# since we do not wish to support and maintain 3 version of nsinstall in mozilla, nspr and nss
ifdef BUILD_TREE
NSINSTALL_DIR = $(BUILD_TREE)/nss
else
NSINSTALL_DIR = $(CORE_DEPTH)/coreconf/nsinstall
endif
# NSINSTALL = $(NSINSTALL_DIR)/$(OBJDIR_NAME)/nsinstall
NSINSTALL = nsinstall # HCT4OS2
INSTALL = $(NSINSTALL)
MKDEPEND_DIR = $(CORE_DEPTH)/coreconf/mkdepend
MKDEPEND = $(MKDEPEND_DIR)/$(OBJDIR_NAME)/mkdepend
MKDEPENDENCIES = $(OBJDIR_NAME)/depend.mk
####################################################################
#
# One can define the makefile variable NSDISTMODE to control
# how files are published to the 'dist' directory. If not
# defined, the default is "install using relative symbolic
# links". The two possible values are "copy", which copies files
# but preserves source mtime, and "absolute_symlink", which
# installs using absolute symbolic links. The "absolute_symlink"
# option requires NFSPWD.
# - THIS IS NOT PART OF THE NEW BINARY RELEASE PLAN for 9/30/97
# - WE'RE KEEPING IT ONLY FOR BACKWARDS COMPATIBILITY
####################################################################
ifeq ($(NSDISTMODE),copy)
# copy files, but preserve source mtime
INSTALL = $(NSINSTALL)
INSTALL += -t
else
ifeq ($(NSDISTMODE),absolute_symlink)
# install using absolute symbolic links
INSTALL = $(NSINSTALL)
INSTALL += -L `$(NFSPWD)`
else
# install using relative symbolic links
INSTALL = $(NSINSTALL)
INSTALL += -R
endif
endif
DEFINES += -DXP_OS2
define MAKE_OBJDIR
if test ! -d $(@D); then rm -rf $(@D); $(NSINSTALL) -D $(@D); fi
endef
#
# override the definition of DLL_PREFIX in prefix.mk
#
ifndef DLL_PREFIX
DLL_PREFIX = $(NULL)
endif
#
# override the TARGETS defined in ruleset.mk, adding IMPORT_LIBRARY
#
ifndef TARGETS
TARGETS = $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(PROGRAM)
endif
ifdef LIBRARY_NAME
IMPORT_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION)$(JDK_DEBUG_SUFFIX).lib
endif

View File

@@ -0,0 +1,72 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for DEC OSF/1
#
#
# The Bourne shell (sh) on OSF1 doesn't handle "set -e" correctly,
# which we use to stop LOOP_OVER_DIRS submakes as soon as any
# submake fails. So we use the Korn shell instead.
#
SHELL = /usr/bin/ksh
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = cc
CC = cc
OS_CFLAGS += $(NON_LD_FLAGS) -std1
CCC = cxx
RANLIB = /bin/true
CPU_ARCH = alpha
ifdef BUILD_OPT
OPTIMIZER += -Olimit 4000
endif
NON_LD_FLAGS += -ieee_with_inexact
OS_CFLAGS += -DOSF1 -D_REENTRANT
ifeq ($(USE_PTHREADS),1)
OS_CFLAGS += -pthread
endif
# The command to build a shared library on OSF1.
MKSHLIB += ld -shared -expect_unresolved "*" -soname $(notdir $@)
ifdef MAPFILE
MKSHLIB += -hidden -input $(MAPFILE)
endif
PROCESS_MAP_FILE = grep -v ';+' $(LIBRARY_NAME).def | grep -v ';-' | \
sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,-exported_symbol ,' > $@
DSO_LDOPTS += -shared

View File

@@ -0,0 +1,35 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for DEC OSF/1 V2.0
#
include $(CORE_DEPTH)/coreconf/OSF1.mk

View File

@@ -0,0 +1,35 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for DEC OSF/1 V3.0
#
include $(CORE_DEPTH)/coreconf/OSF1.mk

View File

@@ -0,0 +1,44 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On OSF1 V3.2, classic nspr is the default (and only) implementation
# strategy.
#
#
# Config stuff for DEC OSF/1 V3.2
#
include $(CORE_DEPTH)/coreconf/OSF1.mk
ifeq ($(OS_RELEASE),V3.2)
OS_CFLAGS += -DOSF1V3
endif

View File

@@ -0,0 +1,51 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On OSF1 V4.0, pthreads is the default implementation strategy.
# Classic nspr is also available.
#
ifneq ($(OS_RELEASE),V3.2)
USE_PTHREADS = 1
ifeq ($(CLASSIC_NSPR), 1)
USE_PTHREADS =
IMPL_STRATEGY := _CLASSIC
endif
endif
#
# Config stuff for DEC OSF/1 V4.0
#
include $(CORE_DEPTH)/coreconf/OSF1.mk
ifeq ($(OS_RELEASE),V4.0)
OS_CFLAGS += -DOSF1V4
endif

View File

@@ -0,0 +1,35 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for DEC OSF/1 V4.0B
#
include $(CORE_DEPTH)/coreconf/OSF1V4.0.mk

View File

@@ -0,0 +1,39 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for DEC OSF/1 V4.0D
#
include $(CORE_DEPTH)/coreconf/OSF1V4.0.mk
DEFINES += -DOSF1V4D
OS_LIBS += -lpthread -lrt

View File

@@ -0,0 +1,47 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On OSF1 V5.0, pthreads is the default implementation strategy.
# Classic nspr is also available.
#
ifneq ($(OS_RELEASE),V3.2)
USE_PTHREADS = 1
ifeq ($(CLASSIC_NSPR), 1)
USE_PTHREADS =
IMPL_STRATEGY := _CLASSIC
endif
endif
#
# Config stuff for DEC OSF/1 V5.0
#
include $(CORE_DEPTH)/coreconf/OSF1.mk

View File

@@ -0,0 +1,47 @@
#
# 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 Netscape security libraries.
#
# 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):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# On OSF1 V5.1, pthreads is the default implementation strategy.
# Classic nspr is also available.
#
ifneq ($(OS_RELEASE),V3.2)
USE_PTHREADS = 1
ifeq ($(CLASSIC_NSPR), 1)
USE_PTHREADS =
IMPL_STRATEGY := _CLASSIC
endif
endif
#
# Config stuff for DEC OSF/1 V5.1
#
include $(CORE_DEPTH)/coreconf/OSF1.mk

View File

@@ -0,0 +1,62 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for OpenBSD
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = gcc
CC = gcc
CCC = g++
RANLIB = ranlib
CPU_ARCH := $(shell uname -p)
ifeq ($(CPU_ARCH),i386)
OS_REL_CFLAGS = -Di386
CPU_ARCH = x86
endif
DLL_SUFFIX = so.1.0
OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DOPENBSD
OS_LIBS =
ARCH = openbsd
DSO_CFLAGS = -fPIC -DPIC
DSO_LDOPTS = -shared -Wl,-soname,lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
DSO_LDFLAGS =
MKSHLIB = $(CC) $(DSO_LDOPTS)

View File

@@ -0,0 +1,91 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Open UNIX 8.
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = gcc
CC = gcc
OS_CFLAGS += -fPIC
CCC = g++
CCC += -DPRFSTREAMS_BROKEN -I/usr/gnu/lib/g++-include
# CCC = $(CORE_DEPTH)/build/hcpp
# CCC += +.cpp +w
RANLIB = /bin/true
#
# -DSCO_PM - Policy Manager AKA: SCO Licensing
# -DSCO - Changes to Netscape source (consistent with AIX, LINUX, etc..)
# -Dsco - Needed for /usr/include/X11/*
#
OS_CFLAGS += -DSCO_SV -DSYSV -D_SVID3 -DHAVE_STRERROR -DSW_THREADS -DSCO_PM -DSCO -Dsco
#OS_LIBS += -lpmapi -lsocket -lc
MKSHLIB = $(LD)
MKSHLIB += $(DSO_LDOPTS)
XINC = /usr/include/X11
MOTIFLIB += -lXm
INCLUDES += -I$(XINC)
CPU_ARCH = x86
GFX_ARCH = x
ARCH = sco
LOCALE_MAP = $(CORE_DEPTH)/cmd/xfe/intl/sco.lm
EN_LOCALE = C
DE_LOCALE = de_DE.ISO8859-1
FR_LOCALE = fr_FR.ISO8859-1
JP_LOCALE = ja
SJIS_LOCALE = ja_JP.SJIS
KR_LOCALE = ko_KR.EUC
CN_LOCALE = zh
TW_LOCALE = zh
I2_LOCALE = i2
LOC_LIB_DIR = /usr/lib/X11
NOSUCHFILE = /solaris-rm-f-sucks
BSDECHO = /bin/echo
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@
#
# These defines are for building unix plugins
#
BUILD_UNIX_PLUGINS = 1
#DSO_LDOPTS += -b elf -G -z defs
DSO_LDOPTS += -G
DSO_LDFLAGS += -nostdlib -L/lib -L/usr/lib -lXm -lXt -lX11 -lgen
# Used for Java compiler
EXPORT_FLAGS += -W l,-Bexport

View File

@@ -0,0 +1,67 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.1 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# Config stuff for Compaq OpenVMS
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
ifdef INTERNAL_TOOLS
CC = c89
CCC = cxx
OPTIMIZER = -O
else
CC = ccc
CCC = ccc
endif
RANLIB = /bin/true
CPU_ARCH := $(shell uname -Wh)
OS_CFLAGS = -DVMS -DVMS_AS_IS -Wc,names=\(short,as\) \
-DGENERIC_PTHREAD_REDEFINES -DNO_UDSOCK
OS_CXXFLAGS = -DVMS -DVMS_AS_IS -Wc,names=\(short,as\) \
-DGENERIC_PTHREAD_REDEFINES -DNO_UDSOCK
# Maybe this should go into rules.mk or something?
ifdef NSPR_INCLUDE_DIR
INCLUDES += -I$(NSPR_INCLUDE_DIR)
endif
#
# XCFLAGS are the only CFLAGS that are used during a link operation. Defining
# OPTIMIZER in XCFLAGS means that each compilation line gets OPTIMIZER
# included twice, but at least we get OPTIMIZER included in the link
# operations; and OpenVMS needs it!
#
XCFLAGS += $(OPTIMIZER)
# The command to build a shared library in POSIX on OpenVMS.
MKSHLIB = vmsld_psm OBJDIR=$(OBJDIR) $(OPTIMIZER)
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = copy $(LIBRARY_NAME).def $@
#
# Always set CPU_TAG on Linux, OpenVMS, WINCE.
#
CPU_TAG = _$(CPU_ARCH)

View File

@@ -0,0 +1,22 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.1 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# Config stuff for Compaq OpenVMS
#
include $(CORE_DEPTH)/coreconf/OpenVMS.mk

View File

@@ -0,0 +1,68 @@
#
# 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 Netscape security libraries.
#
# 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):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for QNX
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
USE_PTHREADS = 1
ifeq ($(USE_PTHREADS),1)
IMPL_STRATEGY = _PTH
endif
CC = gcc
CCC = g++
RANLIB = ranlib
DEFAULT_COMPILER = gcc
ifeq ($(OS_TEST),ppc)
CPU_ARCH = ppc
else
CPU_ARCH = x86
endif
MKSHLIB = $(CC) -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
ifdef BUILD_OPT
OPTIMIZER = -O2
endif
OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -Wall -pipe -DNTO -DHAVE_STRERROR -D_QNX_SOURCE -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500
ifdef USE_PTHREADS
DEFINES += -D_REENTRANT
endif
DSO_CFLAGS = -fPIC
DSO_LDOPTS = -shared
DSO_LDFLAGS =

View File

@@ -0,0 +1,563 @@
OVERVIEW of "ns/coreconf":
This README file is an attempt to provide the reader with a simple
synopsis of the "ns/coreconf" build system which was originally
fundamentally designed and built to accomodate Netscape's binary
release model. Wherever possible, an attempt has been made to
comply with the NSPR 2.0 build system, including mimicing the
compiler/linker flags, and directory naming structure. The reader
should keep in mind that the system builds binary releases of
header files, class files, libraries, and executables on numerous
flavors of UNIX and Windows operating systems. Unfortunately,
no serious attempt has ever been made to incorporate an ability to
generate cross-platform binaries on an Apple MacIntosh platform.
Note that this file will not attempt to redefine or document the
architecture of this system. However, documents on this subject
are available at the following URL:
http://warp/hardcore/prj-ttools/specs/release/index.html
DEPENDENCIES of "ns/coreconf":
The "ns/coreconf" build system requires the specified versions of
the following platform-dependent tools:
UNIX Platforms:
--------------
gmake (version 3.74 or later)
perl 4.0 (NOTE: perl 5.003 or later recommended)
uname
Windows Platforms:
-----------------
gmake 3.74 (must use hacked Netscape version)
shmsdos.exe (contained in Netscape gmake.exe)
nsinstall.exe (contained in Netscape gmake.exe)
perl.exe (version 4.0 for everything except testing;
NOTE: MKS toolkit perl 5.002 is broken)
perl5.exe (for testing;
NOTE: perl 5.003 or later recommended;
MKS toolkit perl 5.002 is broken)
uname.exe (use nstools version)
ENHANCEMENTS to "ns/coreconf":
With the advent of Certificate Server 4.0 using the ns/coreconf
build system, several changes had to be made to enhance
ns/coreconf support for building Java/JNI classes/programs, as
well as libraries slated to be released as binaries. While the
following may not represent an exhaustive list of these changes,
it does attempt to be at least somewhat comprehensive:
(1) During the course of these enhancements, a total of
four files have been modified, and four new files have
been added.
The following files have been modified:
- command.mk: removed old definition of JAR
- config.mk: added include statement of new
"jdk.mk" file
- ruleset.mk: allowed the $(MKPROG) variable to be
overridden by supplying it with a
default value of $(CC); augmented
numerous definitions to enhance
ability of ns/coreconf to produce
a more robust set of libraries;
added some JNI definitions; PACKAGE
definition may be overridden by new
"jdk.mk" file
- rules.mk: separated the compile phase of a
program from the link phase of a
program such that a developer can
now strictly override program linkage
by simply supplying a $(MKPROG)
variable; augmented NETLIBDEPTH
to use CORE_DEPTH but retain backward
compatibility; added JNI section;
modified .PRECIOUS rule;
The following files have been added:
- README: this file; an ASCII-based text
document used to summarize the
ns/coreconf build system and
suitable (paginated) for printing
- jdk.mk: a file comprising most (if not all)
of the default Java related build
information; the definitions in this
file are only included if NS_USE_JDK
has been defined
- jniregen.pl: a perl script used to create a
dependency for when JNI files should
be regenerated (based upon any change
to the ".class" file from which the
".h" file was originally generated)
- outofdate.pl: a perl script used to create a
dependency for when ".class" files
should be regenerated (based upon
any change to the ".java" file
from which the ".class" file was
originally generated)
(2) As stated above, the ns/coreconf build system now separates
the link phase of a program from its compilation phase.
While ns/coreconf still works exactly as it used to because
the $(MKPROG) variable is assigned $(CC) by default, a developer
may now override this behavior by simply supplying their
own unique value for $(MKPROG) on every platform. This allows
a program compiled with $(CC) to link with external libraries
that may contain "C++" linkage. Before this change, a
programmer would need to reference their own local copy of
rules.mk (see the ns/sectools/cmd/pk12util program for
an example of how this used to be accomplished).
(3) Currently, the ns/coreconf build system differs from the
NSPR 2.0 build system which utilizes an "_s" to denote
static libraries from import libraries. In fact, the
ns/coreconf build system adds no prefixes or suffixes to
distinguish one version of static libraries from another.
Note that both the ns/coreconf build system as well as the
NSPR 2.0 build system do nothing to provide a method of
distinguishing 16-bit from 32-bit static libraries on the
same machine, either, since:
a) this might only provide difficulty during
development, since static libraries always
need to be embedded within a program
(note this is highly unlikely, since libraries
for different platforms are subdivided via
a well-known subdirectory structure, and
a developer may use multiple trees for
development),
b) this maintains backwards compatibility,
something very important since no legacy
programs will need to change their link phase, and
c) Netscape as a company has dropped any plans
of future development of 16-bit products.
(4) Since several members of the Hardcore Security group did
not favor NSPR 2.0's solution of adding an "_s" to static
libraries on Windows platforms as a method to distinguish
them from their import library cousins, a different solution
was proposed and has been recently implemented for ns/coreconf:
- a 16 has been added as a suffix to both dynamic and
import libraries built on 16-bit Windows platforms
- a 32 has been added as a suffix to both dynamic and
import libraries built on 32-bit Windows platforms
Since, the HCL release process currently only contains a
single instance of building a dynamic library,
ns/security/lib/fortcrypt/fort12.dll, the impact of this
change should be relatively small.
It should be noted that although this would additionally
limit the 8.3 namespace on 16-bit platforms, it is highly
unlikely that any future development will be performed on
this platform.
(5) The $(LIBRARY_VERSION) tag has been added to all non-static
libraries created on UNIX operating systems to alleviate
any future confusion for binary releases which utilize this
tag. Again, it should be noted that this tag is only
utilized on non-static libraries, since more than one
version of the library may need to exist simultaneously
if multiple products are utilized.
Currently, only one HCL released library utilizes this tag:
ns/security/lib/fortcrypt/fort12.a
(e. g. - in this library, the tag has been set to '12')
Again, it should be noted that although this would
additionally limit the 8.3 namespace on 16-bit platforms,
it is highly unlikely that any future development will be
performed on this platform.
(6) The $(JDK_DEBUG_SUFFIX) extension has been added to all
library and program names to support debug versions of
Java programs (e. g. - java_g, javac_g, etc).
Once again, it should be noted that although this would
additionally limit the 8.3 namespace on 16-bit platforms,
it is highly unlikely that any future Java development
will be performed on this platform.
(7) Most (if not all) default definitions for java have been
encapsulated within their own file, jdk.mk, which is
always included by default in ns/coreconf/config.mk.
However, the definitions within this file are only ever
activated if NS_USE_JDK has been set to be 1.
(8) Two perl scripts (jniregen.pl and outofdate.pl) have been
added to the system to foster a more robust development
environment for composing Java and JNI programs
utilizing the ns/coreconf build system. Both of these
perl scripts are related to resolving dependencies which
can not be accomplished through normal makefile dependencies.
(9) This file, README, was created in an attempt to allow
developers who have familiarity with ns/coreconf a simple
roadmap for what has changed, as well as a top-level view of
what comprises ns/coreconf. This file was written in
ASCII (rather than HTML) primarily to promote simple
paginated printing.
OVERVIEW of "config.mk":
This file contains the configuration information necessary to
build each "Core Components" source module:
include file name Purpose
=================== =======================================
arch.mk source and release <architecture> tags
command.mk default command macros
(NOTE: may be overridden in $(OS_CONFIG).mk)
$(OS_CONFIG).mk <architecture>-specific macros
(dependent upon <architecture> tags)
platform.mk source and release <platform> tags
(dependent upon <architecture> tags)
tree.mk release <tree> tags
(dependent upon <architecture> tags)
module.mk source and release <component> tags
(NOTE: A component is also called a module
or a subsystem. This file is dependent upon
$(MODULE) being defined on the command
line, as an environment variable, or in
individual makefiles, or more
appropriately, manifest.mn)
version.mk release <version> tags
(dependent upon $(MODULE) being defined on
the command line, as an environment variable,
or in individual makefiles, or more
appropriately, manifest.mn)
location.mk macros to figure out binary code location
(dependent upon <platform> tags)
source.mk <component>-specific source path
(dependent upon <user_source_tree>,
<source_component>, <version>, and
<platform> tags)
headers.mk include switch for support header files
(dependent upon <tree>, <component>, <version>,
and <platform> tags)
prefix.mk compute program prefixes
suffix.mk compute program suffixes
(dependent upon <architecture> tags)
jdk.mk define JDK
(dependent upon <architecture>,
<source>, and <suffix> tags)
ruleset.mk Master "Core Components" rule set
(should always be the last file
included by config.mk)
OVERVIEW of "rules.mk":
The "rules.mk" file consists of four sections. The first section
contains the "master" build rules for all binary releases. While
this section can (and should) largely be thought of as "language"
independent, it does utilize the "perl" scripting language to
perform both the "import" and "release" of binary modules.
The rules which dwell in this section and their purpose:
CATEGORY/rule:: Purpose
=================== =======================================
GENERAL
-------
all:: "default" all-encompassing rule which
performs "export libs program install"
export:: recursively copy specified
cross-platform header files to the
$(SOURCE_XPHEADERS_DIR) directory;
recursively copy specified
machine-dependent header files to the
$(SOURCE_MDHEADERS_DIR) directory;
although all rules can be written to
repetively "chain" into other sections,
this rule is the most commonly used
rule to "chain" into other sections
such as Java providing a simple
mechanism which allows no need for
developers to memorize specialized
rules
libs:: recursively build
static (archival) $(LIBRARY), shared
(dynamic link) $(SHARED_LIBRARY),
and/or import $(IMPORT_LIBRARY)
libraries
program:: recursively build $(PROGRAM)
executable
install:: recursively copy all libraries to
$(SOURCE_LIB_DIR) directory;
recursively copy all executables to
$(SOURCE_BIN_DIR) directory
clean:: remove all files specified in the
$(ALL_TRASH) variable
clobber:: synonym for "clean::" rule
realclean:: remove all files specified by
$(wildcard *.OBJ), dist, and in
the $(ALL_TRASH) variable
clobber_all:: synonym for "realclean::" rule
private_export:: recursively copy specified
cross-platform header files to the
$(SOURCE_XPPRIVATE_DIR) directory
IMPORT
------
import:: uses perl script to retrieve specified
VERSION of the binary release from
$(RELEASE_TREE)
RELEASE
-------
release_clean:: remove all files from the
$(SOURCE_RELEASE_PREFIX) directory
release:: place specified VERSION of the
binary release in the appropriate
$(RELEASE_TREE) directory
release_export:: recursively copy specified
cross-platform header files to the
$(SOURCE_XPHEADERS_DIR)/include
directory
release_md:: recursively copy all libraries to
$(SOURCE_RELEASE_PREFIX)/
$(SOURCE_RELEASE_LIB_DIR) directory;
recursively copy all executables to
$(SOURCE_RELEASE_PREFIX)/
$(SOURCE_RELEASE_BIN_DIR) directory
release_jars:: use perl script to package appropriate
files in the $(XPCLASS_JAR),
$(XPHEADER_JAR), $(MDHEADER_JAR), and
$(MDBINARY_JAR) jar files
release_cpdistdir:: use perl script to copy the
$(XPCLASS_JAR), $(XPHEADER_JAR),
$(MDHEADER_JAR), and $(MDBINARY_JAR)
jar files to the specified VERSION
of the $(RELEASE_TREE) directory
TOOLS and AUTOMATION
--------------------
platform:: tool used to display the platform name
as composed within the "arch.mk" file
autobuild:: automation rule used by "Bonsai" and
"Tinderbox" to automatically generate
binary releases on various platforms
tests:: automation tool used to run the
"regress" and "reporter" tools
on various regression test suites
The second section of "rules.mk" primarily contains several
"language" dependent build rules for binary releases. These are
generally "computed" rules (created on the "fly"), and include
rules used by "C", "C++", assembly, the preprocessor, perl, and
the shell.
The rules which dwell in this section and their purpose:
CATEGORY/rule:: Purpose
=================== =============================
LIBRARIES
---------
$(LIBRARY): build the static library
specified by the $(LIBRARY)
variable
$(IMPORT_LIBRARY): build the import library
specified by the
$(IMPORT_LIBRARY) variable
$(SHARED_LIBRARY): build the shared
(dynamic link) library
specified by the
$(SHARED_LIBRARY) variable
PROGRAMS
--------
$(PROGRAM): build the binary executable
specified by the $(PROGRAM)
rule
$(OBJDIR)/
$(PROG_PREFIX)%.pure: build the "purified" binary
executable specified by this
rule
OBJECTS
-------
$(OBJDIR)/
$(PROG_PREFIX)%$(OBJ_SUFFIX): build the object file
associated with the
makefile rule dependency:
%.c = C file
%.cpp = C++ file
%.cc = C++ file
%.s = assembly file
%.S = assembly file
$(OBJDIR)/
$(PROG_PREFIX)%: (NOTE: deprecated rule)
build the object file
associated with the
makefile rule dependency:
%.cpp = C++ file
MISCELLANEOUS
-------------
$(DIRS):: specifies a helper method
used by $(LOOP_THROUGH_DIRS)
to recursively change
directories and invoke
$(MAKE)
%.i: build the preprocessor file
associated with the
makefile rule dependency:
%.c = C file
%.cpp = C++ file
%: process the specified file
using the method associated
with the makefile rule
dependency:
%.pl = perl script
%.sh = shell script
alltags: tool used to recursively
create a "ctags"-style
file for reference
The third section of "rules.mk' primarily contains several JAVA
"language" build rules for binary releases. These are also
generally "computed" rules (created on the "fly").
The rules which dwell in this section and their purpose:
CATEGORY/rule:: Purpose
=================== =============================
$(JAVA_DESTPATH):: create directory specified
as the Java destination path
for where classes are
deposited
$(JAVA_DESTPATH)/$(PACKAGE):: create directories specified
within the $(PACKAGE)
variable
$(JMCSRCDIR):: create directory specified
as the JMC destination path
$(JRI_HEADER_CFILES): used to generate/regenerate
JRI header files for "C"
$(JRI_STUB_CFILES): used to generate/regenerate
JRI stub files for "C"
$(JNI_HEADERS): used to generate/regenerate
JNI header files for "C"
The fourth section of "rules.mk" primarily contains miscellaneous
build rules for binary releases. Many of these rules are here to
create new subdirectories, manage dependencies, and/or override
standard gmake "Makefile" rules.
The rules which dwell in this section and their purpose:
CATEGORY/rule:: Purpose
=================== =============================
$(PUBLIC_EXPORT_DIR):: create directory used to
house public "C" header files
$(PRIVATE_EXPORT_DIR):: create directory used to
house private "C" header
files
$(SOURCE_XP_DIR)/
release/include:: create directory used to
house "C" header files
contained in a release
$(MKDEPENDENCIES):: for UNIX systems, create
a directory used to house
dependencies and utilize
the $(MKDEPEND) rule to
create them
$(MKDEPEND):: cd to the dependency
directory and create them
depend:: if $(OBJS) exist, perform the
$(MKDEPEND) rule followed by
the $(MKDEPENDENCIES) rule
dependclean:: remove all files contained
in the dependency repository
.DEFAULT: standard gmake rule
.SUFFIXES: standard gmake rule
.PRECIOUS: standard gmake rule
.PHONY: standard gmake rule

View File

@@ -0,0 +1,88 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for ReliantUNIX
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = cc
ifdef NS_USE_GCC
## gcc-2.7.2 homebrewn
CC = gcc
CCC = g++
AS = $(CC)
ASFLAGS += -x assembler-with-cpp
LD = gld
ODD_CFLAGS = -pipe -Wall -Wno-format
ifdef BUILD_OPT
OPTIMIZER += -O6
endif
MKSHLIB = $(LD)
MKSHLIB += -G -h $(@:$(OBJDIR)/%.so=%.so)
DSO_LDOPTS += -G -Xlinker -Blargedynsym
else
## native compiler (CDS++ 1.0)
# CC = /usr/bin/cc
CC = cc
CCC = /usr/bin/CC
AS = /usr/bin/cc
ODD_CFLAGS =
ifdef BUILD_OPT
OPTIMIZER += -O -F Olimit,4000
endif
MKSHLIB = $(CC)
MKSHLIB += -G -h $(@:$(OBJDIR)/%.so=%.so)
DSO_LDOPTS += -G -W l,-Blargedynsym
endif
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@
NOSUCHFILE = /sni-rm-f-sucks
ODD_CFLAGS += -DSVR4 -DSNI -DRELIANTUNIX
CPU_ARCH = mips
RANLIB = /bin/true
# For purify
NOMD_OS_CFLAGS += $(ODD_CFLAGS)
# we do not have -MDupdate ...
OS_CFLAGS += $(NOMD_OS_CFLAGS)
OS_LIBS += -lsocket -lnsl -lresolv -lgen -ldl -lc /usr/ucblib/libucb.a
ifdef DSO_BACKEND
DSO_LDOPTS += -h $(DSO_NAME)
endif

View File

@@ -0,0 +1,35 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for ReliantUNIX5.4
#
include $(CORE_DEPTH)/coreconf/ReliantUNIX.mk

View File

@@ -0,0 +1,36 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SCO OpenServer 5.0 for x86.
#
include $(CORE_DEPTH)/coreconf/SCO_SV3.2.mk

View File

@@ -0,0 +1,91 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SCO Unix for x86.
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = cc
CC = cc
OS_CFLAGS += -b elf -KPIC
CCC = g++
CCC += -b elf -DPRFSTREAMS_BROKEN -I/usr/local/lib/g++-include
# CCC = $(CORE_DEPTH)/build/hcpp
# CCC += +.cpp +w
RANLIB = /bin/true
#
# -DSCO_PM - Policy Manager AKA: SCO Licensing
# -DSCO - Changes to Netscape source (consistent with AIX, LINUX, etc..)
# -Dsco - Needed for /usr/include/X11/*
#
OS_CFLAGS += -DSCO_SV -DSYSV -D_SVID3 -DHAVE_STRERROR -DSW_THREADS -DSCO_PM -DSCO -Dsco
#OS_LIBS += -lpmapi -lsocket -lc
MKSHLIB = $(LD)
MKSHLIB += $(DSO_LDOPTS)
XINC = /usr/include/X11
MOTIFLIB += -lXm
INCLUDES += -I$(XINC)
CPU_ARCH = x86
GFX_ARCH = x
ARCH = sco
LOCALE_MAP = $(CORE_DEPTH)/cmd/xfe/intl/sco.lm
EN_LOCALE = C
DE_LOCALE = de_DE.ISO8859-1
FR_LOCALE = fr_FR.ISO8859-1
JP_LOCALE = ja
SJIS_LOCALE = ja_JP.SJIS
KR_LOCALE = ko_KR.EUC
CN_LOCALE = zh
TW_LOCALE = zh
I2_LOCALE = i2
LOC_LIB_DIR = /usr/lib/X11
NOSUCHFILE = /solaris-rm-f-sucks
BSDECHO = /bin/echo
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@
#
# These defines are for building unix plugins
#
BUILD_UNIX_PLUGINS = 1
#DSO_LDOPTS += -b elf -G -z defs
DSO_LDOPTS += -b elf -G
DSO_LDFLAGS += -nostdlib -L/lib -L/usr/lib -lXm -lXt -lX11 -lgen
# Used for Java compiler
EXPORT_FLAGS += -W l,-Bexport

View File

@@ -0,0 +1,58 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SunOS4.1
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = cc
INCLUDES += -I/usr/dt/include -I/usr/openwin/include -I/home/motif/usr/include
# SunOS 4 _requires_ that shared libs have a version number.
# XXX FIXME: Version number should use NSPR_VERSION_NUMBER?
DLL_SUFFIX = so.1.0
CC = gcc
RANLIB = ranlib
CPU_ARCH = sparc
# Purify doesn't like -MDupdate
NOMD_OS_CFLAGS += -Wall -Wno-format -DSUNOS4
OS_CFLAGS += $(DSO_CFLAGS) $(NOMD_OS_CFLAGS) -MDupdate $(DEPENDENCIES)
MKSHLIB = $(LD)
MKSHLIB += $(DSO_LDOPTS)
NOSUCHFILE = /solaris-rm-f-sucks
DSO_LDOPTS =
# -fPIC generates position-independent code for use in a shared library.
DSO_CFLAGS += -fPIC

View File

@@ -0,0 +1,44 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SunOS5.10
#
SOL_CFLAGS += -D_SVID_GETTOD
include $(CORE_DEPTH)/coreconf/SunOS5.mk
ifeq ($(OS_RELEASE),5.10)
OS_DEFINES += -DSOLARIS2_10
endif
OS_LIBS += -lthread -lnsl -lsocket -lposix4 -ldl -lc

View File

@@ -0,0 +1,38 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SunOS5.3
#
SOL_CFLAGS =
include $(CORE_DEPTH)/coreconf/SunOS5.mk

View File

@@ -0,0 +1,38 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SunOS5.4
#
SOL_CFLAGS =
include $(CORE_DEPTH)/coreconf/SunOS5.mk

View File

@@ -0,0 +1,67 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Solaris 2.4 on x86
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = cc
ifdef NS_USE_GCC
CC = gcc
OS_CFLAGS += -Wall -Wno-format
CCC = g++
CCC += -Wall -Wno-format
ASFLAGS += -x assembler-with-cpp
OS_CFLAGS += $(NOMD_OS_CFLAGS)
ifdef USE_MDUPDATE
OS_CFLAGS += -MDupdate $(DEPENDENCIES)
endif
else
CC = cc
CCC = CC
ASFLAGS += -Wa,-P
OS_CFLAGS += $(NOMD_OS_CFLAGS)
endif
CPU_ARCH = x86
MKSHLIB = $(LD)
MKSHLIB += $(DSO_LDOPTS)
NOSUCHFILE = /solx86-rm-f-sucks
RANLIB = echo
# for purify
NOMD_OS_CFLAGS += -DSVR4 -DSYSV -D_REENTRANT -DSOLARIS -D__svr4__ -Di386
DSO_LDOPTS += -G

View File

@@ -0,0 +1,44 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SunOS5.5.1
#
SOL_CFLAGS += -D_SVID_GETTOD
include $(CORE_DEPTH)/coreconf/SunOS5.mk
ifeq ($(OS_RELEASE),5.5.1)
OS_DEFINES += -DSOLARIS2_5
endif
OS_LIBS += -lthread -lnsl -lsocket -lposix4 -ldl -lc

View File

@@ -0,0 +1,46 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Solaris 2.5.1 on x86
#
SOL_CFLAGS = -D_SVID_GETTOD
include $(CORE_DEPTH)/coreconf/SunOS5.mk
CPU_ARCH = x86
ARCHFLAG =
OS_DEFINES += -Di386
ifeq ($(OS_RELEASE),5.5.1_i86pc)
OS_DEFINES += -DSOLARIS2_5
endif

View File

@@ -0,0 +1,42 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SunOS5.5
#
SOL_CFLAGS += -D_SVID_GETTOD
include $(CORE_DEPTH)/coreconf/SunOS5.mk
ifeq ($(OS_RELEASE),5.5)
OS_DEFINES += -DSOLARIS2_5
endif

View File

@@ -0,0 +1,44 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SunOS5.6
#
SOL_CFLAGS += -D_SVID_GETTOD
include $(CORE_DEPTH)/coreconf/SunOS5.mk
ifeq ($(OS_RELEASE),5.6)
OS_DEFINES += -DSOLARIS2_6
endif
OS_LIBS += -lthread -lnsl -lsocket -lposix4 -ldl -lc

View File

@@ -0,0 +1,46 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Solaris 2.6 on x86
#
SOL_CFLAGS = -D_SVID_GETTOD
include $(CORE_DEPTH)/coreconf/SunOS5.mk
CPU_ARCH = x86
ARCHFLAG =
OS_DEFINES += -Di386
ifeq ($(OS_RELEASE),5.6_i86pc)
OS_DEFINES += -DSOLARIS2_6
endif

View File

@@ -0,0 +1,44 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SunOS5.7
#
SOL_CFLAGS += -D_SVID_GETTOD
include $(CORE_DEPTH)/coreconf/SunOS5.mk
ifeq ($(OS_RELEASE),5.7)
OS_DEFINES += -DSOLARIS2_7
endif
OS_LIBS += -lthread -lnsl -lsocket -lposix4 -ldl -lc

View File

@@ -0,0 +1,48 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Solaris 7 on x86
#
SOL_CFLAGS = -D_SVID_GETTOD
include $(CORE_DEPTH)/coreconf/SunOS5.mk
CPU_ARCH = x86
ARCHFLAG =
OS_DEFINES += -Di386
ifeq ($(OS_RELEASE),5.7_i86pc)
OS_DEFINES += -DSOLARIS2_7
endif
OS_LIBS += -lthread -lnsl -lsocket -lposix4 -ldl -lc

View File

@@ -0,0 +1,44 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SunOS5.8
#
SOL_CFLAGS += -D_SVID_GETTOD
include $(CORE_DEPTH)/coreconf/SunOS5.mk
ifeq ($(OS_RELEASE),5.8)
OS_DEFINES += -DSOLARIS2_8
endif
OS_LIBS += -lthread -lnsl -lsocket -lposix4 -ldl -lc

View File

@@ -0,0 +1,48 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Solaris 8 on x86
#
SOL_CFLAGS = -D_SVID_GETTOD
include $(CORE_DEPTH)/coreconf/SunOS5.mk
CPU_ARCH = x86
ARCHFLAG =
OS_DEFINES += -Di386
ifeq ($(OS_RELEASE),5.8_i86pc)
OS_DEFINES += -DSOLARIS2_8
endif
OS_LIBS += -lthread -lnsl -lsocket -lposix4 -ldl -lc

View File

@@ -0,0 +1,44 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SunOS5.9
#
SOL_CFLAGS += -D_SVID_GETTOD
include $(CORE_DEPTH)/coreconf/SunOS5.mk
ifeq ($(OS_RELEASE),5.9)
OS_DEFINES += -DSOLARIS2_9
endif
OS_LIBS += -lthread -lnsl -lsocket -lposix4 -ldl -lc

View File

@@ -0,0 +1,48 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for Solaris 9 on x86
#
SOL_CFLAGS = -D_SVID_GETTOD
include $(CORE_DEPTH)/coreconf/SunOS5.mk
CPU_ARCH = x86
ARCHFLAG =
OS_DEFINES += -Di386
ifeq ($(OS_RELEASE),5.9_i86pc)
OS_DEFINES += -DSOLARIS2_9
endif
OS_LIBS += -lthread -lnsl -lsocket -lposix4 -ldl -lc

View File

@@ -0,0 +1,158 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Config stuff for SunOS5.x
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
#
# Temporary define for the Client; to be removed when binary release is used
#
ifdef MOZILLA_CLIENT
LOCAL_THREADS_ONLY = 1
ifndef NS_USE_NATIVE
NS_USE_GCC = 1
endif
endif
# Sun's WorkShop defines v8, v8plus and v9 architectures.
# gcc on Solaris defines v8 and v9 "cpus".
# gcc's v9 is equivalent to Workshop's v8plus.
# gcc apparently has no equivalent to Workshop's v9
# We always use Sun's assembler and linker, which use Sun's naming convention.
ifeq ($(USE_64), 1)
ifdef NS_USE_GCC
ARCHFLAG= UNKNOWN
else
ARCHFLAG=-xarch=v9
endif
LD=/usr/ccs/bin/ld
else
ifdef NS_USE_GCC
ifdef USE_HYBRID
ARCHFLAG=-mcpu=v9 -Wa,-xarch=v8plus
else
ARCHFLAG=-mcpu=v8
endif
else
ifdef USE_HYBRID
ARCHFLAG=-xarch=v8plus
else
ARCHFLAG=-xarch=v8
endif
endif
endif
#
# The default implementation strategy for Solaris is classic nspr.
#
ifeq ($(USE_PTHREADS),1)
IMPL_STRATEGY = _PTH
else
ifeq ($(LOCAL_THREADS_ONLY),1)
IMPL_STRATEGY = _LOCAL
endif
endif
#
# Temporary define for the Client; to be removed when binary release is used
#
ifdef MOZILLA_CLIENT
IMPL_STRATEGY =
endif
DEFAULT_COMPILER = cc
ifdef NS_USE_GCC
CC = gcc
OS_CFLAGS += -Wall -Wno-format
CCC = g++
CCC += -Wall -Wno-format
ASFLAGS += -x assembler-with-cpp
OS_CFLAGS += $(NOMD_OS_CFLAGS)
ifdef USE_MDUPDATE
OS_CFLAGS += -MDupdate $(DEPENDENCIES)
endif
OS_CFLAGS += $(ARCHFLAG)
else
CC = cc
CCC = CC
ASFLAGS += -Wa,-P
OS_CFLAGS += $(NOMD_OS_CFLAGS) $(ARCHFLAG)
ifndef BUILD_OPT
OS_CFLAGS += -xs
# else
# OPTIMIZER += -fast
endif
endif
INCLUDES += -I/usr/dt/include -I/usr/openwin/include
RANLIB = echo
CPU_ARCH = sparc
OS_DEFINES += -DSVR4 -DSYSV -D__svr4 -D__svr4__ -DSOLARIS
ifneq ($(LOCAL_THREADS_ONLY),1)
OS_DEFINES += -D_REENTRANT
endif
# Purify doesn't like -MDupdate
NOMD_OS_CFLAGS += $(DSO_CFLAGS) $(OS_DEFINES) $(SOL_CFLAGS)
MKSHLIB = $(LD) $(DSO_LDOPTS)
ifdef MAPFILE
MKSHLIB += -M $(MAPFILE)
endif
PROCESS_MAP_FILE = grep -v ';-' $(LIBRARY_NAME).def | \
sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
# ld options:
# -G: produce a shared object
# -z defs: no unresolved symbols allowed
DSO_LDOPTS += -G -h $(notdir $@)
# -KPIC generates position independent code for use in shared libraries.
# (Similarly for -fPIC in case of gcc.)
ifdef NS_USE_GCC
DSO_CFLAGS += -fPIC
else
DSO_CFLAGS += -KPIC
endif
NOSUCHFILE = /solaris-rm-f-sucks

View File

@@ -0,0 +1,92 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
XP_DEFINE += -DXP_UNIX
LIB_SUFFIX = a
DLL_SUFFIX = so
AR = ar
AR += cr $@
LDOPTS += -L$(SOURCE_LIB_DIR)
ifdef BUILD_OPT
OPTIMIZER += -O
DEFINES += -UDEBUG -DNDEBUG
else
OPTIMIZER += -g
DEFINES += -DDEBUG -UNDEBUG -DDEBUG_$(shell whoami)
endif
ifdef BUILD_TREE
NSINSTALL_DIR = $(BUILD_TREE)/nss
NSINSTALL = $(BUILD_TREE)/nss/nsinstall
else
NSINSTALL_DIR = $(CORE_DEPTH)/coreconf/nsinstall
NSINSTALL = $(NSINSTALL_DIR)/$(OBJDIR_NAME)/nsinstall
endif
MKDEPEND_DIR = $(CORE_DEPTH)/coreconf/mkdepend
MKDEPEND = $(MKDEPEND_DIR)/$(OBJDIR_NAME)/mkdepend
MKDEPENDENCIES = $(OBJDIR_NAME)/depend.mk
####################################################################
#
# One can define the makefile variable NSDISTMODE to control
# how files are published to the 'dist' directory. If not
# defined, the default is "install using relative symbolic
# links". The two possible values are "copy", which copies files
# but preserves source mtime, and "absolute_symlink", which
# installs using absolute symbolic links. The "absolute_symlink"
# option requires NFSPWD.
# - THIS IS NOT PART OF THE NEW BINARY RELEASE PLAN for 9/30/97
# - WE'RE KEEPING IT ONLY FOR BACKWARDS COMPATIBILITY
####################################################################
ifeq ($(NSDISTMODE),copy)
# copy files, but preserve source mtime
INSTALL = $(NSINSTALL)
INSTALL += -t
else
ifeq ($(NSDISTMODE),absolute_symlink)
# install using absolute symbolic links
INSTALL = $(NSINSTALL)
INSTALL += -L `$(NFSPWD)`
else
# install using relative symbolic links
INSTALL = $(NSINSTALL)
INSTALL += -R
endif
endif
define MAKE_OBJDIR
if test ! -d $(@D); then rm -rf $(@D); $(NSINSTALL) -D $(@D); fi
endef

View File

@@ -0,0 +1,57 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# Config stuff for SCO Unixware 2.1
#
include $(CORE_DEPTH)/coreconf/UNIX.mk
DEFAULT_COMPILER = $(CORE_DEPTH)/build/hcc
CC = $(CORE_DEPTH)/build/hcc
CCC = $(CORE_DEPTH)/build/hcpp
RANLIB = true
OS_CFLAGS = -KPIC -DSVR4 -DSYSV -DUNIXWARE
MKSHLIB = $(LD)
MKSHLIB += $(DSO_LDOPTS)
DSO_LDOPTS += -G
CPU_ARCH = x86
ARCH = sco
NOSUCHFILE = /solaris-rm-f-sucks
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@

View File

@@ -0,0 +1,209 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# win16_3.11.mk -- Make configuration for Win16
#
# This file configures gmake to build the Win16 variant of
# NSPR 2.0. This file has the function of two files commonly
# used on other platforms, for example: winnt.mk and
# winnt4.0.mk. ... The packaging is easier and there is only
# one variant of the Win16 target.
#
# Win16 is built using the Watcom C/C++ version 11.0
# compiler. You gotta set up the compiler first.
# The Watcom compiler depends on a few environment
# variables; these environment variables define where the
# compiler components are installed; they must be set before
# running the make.
#
# Notes:
# OS_CFLAGS is the command line options for the compiler when
# building the .DLL object files.
# OS_EXE_CFLAGS is the command line options for the compiler
# when building the .EXE object files; this is for the test
# programs.
# the macro OS_CFLAGS is set to OS_EXE_CFLAGS inside of the
# makefile for the pr/tests directory. ... Hack.
#
#
#
#
# -- configuration -----------------------------------------
DEFAULT_COMPILER = wcc
CC = wcc
CCC = wcl
LINK = wlink
AR = wlib
AR += -q $@
RC = wrc.exe
RC += /r /dWIN16=1 /bt=windows
RANLIB = echo
BSDECHO = echo
NSINSTALL_DIR = $(CORE_DEPTH)/coreconf/nsinstall
NSINSTALL = nsinstall
INSTALL = $(NSINSTALL)
MAKE_OBJDIR = mkdir
MAKE_OBJDIR += $(OBJDIR)
XP_DEFINE += -DXP_PC
LIB_SUFFIX = lib
DLL_SUFFIX = dll
ifdef BUILD_OPT
OPTIMIZER = -oneatx -oh -oi -ei -3 -fpi87 -fp3
else
OPTIMIZER += -d2 -hc -DDEBUG
# OPTIMIZER += -d2 -hw -DDEBUG
# LDFLAGS += -DEBUG -DEBUGTYPE:CV
endif
#
# $(CPU_ARCH) has been commented out so that its contents
# are not added to the WIN16_?.OBJ names thus expanding
# them beyond the 8.3 character limit for this platform.
#
#CPU_ARCH = x386
#
# added "-s" to avoid dependency on watcom's libs (e.g. on _STK)
# added "-zt3" for compatibility with MSVC's "/Gt3" option
#
OS_CFLAGS += -ml -3 -bd -zc -zu -bt=windows -s -zt3 -d_X86_ -dWIN16 -d_WINDLL
#OS_EXE_CFLAGS += -ml -3 -bt=windows -d_X86_ -dWIN16
OS_LIB_FLAGS = -c -iro
# Name of the binary code directories
OS_DLL_OPTION = CASEEXACT
OS_DLLFLAGS =
OS_LIBS =
W16_EXPORTS = #
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = copy $(LIBRARY_NAME).def $@
#
# The following is NOT needed for the NSPR 2.0 library.
#
OS_CFLAGS += -d_WINDOWS -d_MSC_VER=700
#
# override the definitions of RELEASE_TREE found in tree.mk
#
ifndef RELEASE_TREE
ifdef BUILD_SHIP
ifdef USE_SHIPS
RELEASE_TREE = $(NTBUILD_SHIP)
else
RELEASE_TREE = //redbuild/components
endif
else
RELEASE_TREE = //redbuild/components
endif
endif
#
# override the definitions of LIB_PREFIX and DLL_PREFIX in prefix.mk
#
ifndef LIB_PREFIX
LIB_PREFIX = $(NULL)
endif
ifndef DLL_PREFIX
DLL_PREFIX = $(NULL)
endif
#
# override the definitions of various _SUFFIX symbols in suffix.mk
#
#
# Object suffixes
#
ifndef OBJ_SUFFIX
OBJ_SUFFIX = .obj
endif
#
# Assembler source suffixes
#
ifndef ASM_SUFFIX
ASM_SUFFIX = .asm
endif
#
# Library suffixes
#
ifndef IMPORT_LIB_SUFFIX
IMPORT_LIB_SUFFIX = .$(LIB_SUFFIX)
endif
ifndef DYNAMIC_LIB_SUFFIX_FOR_LINKING
DYNAMIC_LIB_SUFFIX_FOR_LINKING = $(IMPORT_LIB_SUFFIX)
endif
#
# Program suffixes
#
ifndef PROG_SUFFIX
PROG_SUFFIX = .exe
endif
#
# When the processor is NOT 386-based on Windows NT, override the
# value of $(CPU_TAG). For WinNT, 95, 16, not CE.
#
ifneq ($(CPU_ARCH),x386)
CPU_TAG = _$(CPU_ARCH)
endif
#
# override ruleset.mk, removing the "lib" prefix for library names, and
# adding the "32" after the LIBRARY_VERSION.
#
ifdef LIBRARY_NAME
SHARED_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION)32$(JDK_DEBUG_SUFFIX).dll
IMPORT_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION)32$(JDK_DEBUG_SUFFIX).lib
endif
#
# override the TARGETS defined in ruleset.mk, adding IMPORT_LIBRARY
#
ifndef TARGETS
TARGETS = $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(PROGRAM)
endif

View File

@@ -0,0 +1,198 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# Configuration common to all versions of Windows NT
# and Windows 95
#
DEFAULT_COMPILER = cl
CC = cl
CCC = cl
LINK = link
AR = lib
AR += -NOLOGO -OUT:"$@"
RANLIB = echo
BSDECHO = echo
ifdef BUILD_TREE
NSINSTALL_DIR = $(BUILD_TREE)/nss
else
NSINSTALL_DIR = $(CORE_DEPTH)/coreconf/nsinstall
endif
NSINSTALL = nsinstall
MKDEPEND_DIR = $(CORE_DEPTH)/coreconf/mkdepend
MKDEPEND = $(MKDEPEND_DIR)/$(OBJDIR_NAME)/mkdepend.exe
# Note: MKDEPENDENCIES __MUST__ be a relative pathname, not absolute.
# If it is absolute, gmake will crash unless the named file exists.
MKDEPENDENCIES = $(OBJDIR_NAME)/depend.mk
INSTALL = $(NSINSTALL)
MAKE_OBJDIR = mkdir
MAKE_OBJDIR += $(OBJDIR)
RC = rc.exe
GARBAGE += $(OBJDIR)/vc20.pdb $(OBJDIR)/vc40.pdb
XP_DEFINE += -DXP_PC
LIB_SUFFIX = lib
DLL_SUFFIX = dll
ifdef BUILD_OPT
OS_CFLAGS += -MD
OPTIMIZER += -O2
DEFINES += -UDEBUG -U_DEBUG -DNDEBUG
DLLFLAGS += -OUT:"$@"
else
#
# Define USE_DEBUG_RTL if you want to use the debug runtime library
# (RTL) in the debug build
#
ifdef USE_DEBUG_RTL
OS_CFLAGS += -MDd
else
OS_CFLAGS += -MD
endif
OPTIMIZER += -Od -Z7
#OPTIMIZER += -Zi -Fd$(OBJDIR)/ -Od
DEFINES += -DDEBUG -D_DEBUG -UNDEBUG -DDEBUG_$(USERNAME)
DLLFLAGS += -DEBUG -DEBUGTYPE:CV -OUT:"$@"
LDFLAGS += -DEBUG -DEBUGTYPE:CV
endif
DEFINES += -DWIN32
ifdef MAPFILE
DLLFLAGS += -DEF:$(MAPFILE)
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@
#
# The following is NOT needed for the NSPR 2.0 library.
#
DEFINES += -D_WINDOWS
# override default, which is ASFLAGS = CFLAGS
AS = ml.exe
ASFLAGS = -Cp -Sn -Zi -coff $(INCLUDES)
#
# override the definitions of RELEASE_TREE found in tree.mk
#
ifndef RELEASE_TREE
ifdef BUILD_SHIP
ifdef USE_SHIPS
RELEASE_TREE = $(NTBUILD_SHIP)
else
RELEASE_TREE = //redbuild/components
endif
else
RELEASE_TREE = //redbuild/components
endif
endif
#
# override the definitions of LIB_PREFIX and DLL_PREFIX in prefix.mk
#
ifndef LIB_PREFIX
LIB_PREFIX = $(NULL)
endif
ifndef DLL_PREFIX
DLL_PREFIX = $(NULL)
endif
#
# override the definitions of various _SUFFIX symbols in suffix.mk
#
#
# Object suffixes
#
ifndef OBJ_SUFFIX
OBJ_SUFFIX = .obj
endif
#
# Assembler source suffixes
#
ifndef ASM_SUFFIX
ASM_SUFFIX = .asm
endif
#
# Library suffixes
#
ifndef IMPORT_LIB_SUFFIX
IMPORT_LIB_SUFFIX = .$(LIB_SUFFIX)
endif
ifndef DYNAMIC_LIB_SUFFIX_FOR_LINKING
DYNAMIC_LIB_SUFFIX_FOR_LINKING = $(IMPORT_LIB_SUFFIX)
endif
#
# Program suffixes
#
ifndef PROG_SUFFIX
PROG_SUFFIX = .exe
endif
#
# When the processor is NOT 386-based on Windows NT, override the
# value of $(CPU_TAG). For WinNT, 95, 16, not CE.
#
ifneq ($(CPU_ARCH),x386)
CPU_TAG = _$(CPU_ARCH)
endif
#
# override ruleset.mk, removing the "lib" prefix for library names, and
# adding the "32" after the LIBRARY_VERSION.
#
ifdef LIBRARY_NAME
SHARED_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION)32$(JDK_DEBUG_SUFFIX).dll
IMPORT_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION)32$(JDK_DEBUG_SUFFIX).lib
endif
#
# override the TARGETS defined in ruleset.mk, adding IMPORT_LIBRARY
#
ifndef TARGETS
TARGETS = $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(PROGRAM)
endif

View File

@@ -0,0 +1,59 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# Config stuff for WIN95
#
# This makefile defines the following variables:
# OS_CFLAGS and OS_DLLFLAGS.
include $(CORE_DEPTH)/coreconf/WIN32.mk
ifeq ($(CPU_ARCH), x386)
OS_CFLAGS += -W3 -nologo
DEFINES += -D_X86_
else
ifeq ($(CPU_ARCH), MIPS)
#OS_CFLAGS += -W3 -nologo
#DEFINES += -D_MIPS_
OS_CFLAGS += -W3 -nologo
else
ifeq ($(CPU_ARCH), ALPHA)
OS_CFLAGS += -W3 -nologo
DEFINES += -D_ALPHA_=1
endif
endif
endif
OS_DLLFLAGS += -nologo -DLL -SUBSYSTEM:WINDOWS -PDB:NONE
DEFINES += -DWIN95

View File

@@ -0,0 +1,207 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# Configuration common to all versions of Windows CE and Pocket PC x.
#
ifeq ($(CPU_ARCH),x86)
DEFAULT_COMPILER = cl
CC = cl
CCC = cl
else
ifeq ($(CPU_ARCH),ARM)
DEFAULT_COMPILER = clarm
CC = clarm
CCC = clarm
else
include CPU_ARCH_is_not_recognized
include _$(CPU_ARCH)
endif
endif
LINK = link
AR = lib
AR += -NOLOGO -OUT:"$@"
RANLIB = echo
BSDECHO = echo
ifdef BUILD_TREE
NSINSTALL_DIR = $(BUILD_TREE)/nss
else
NSINSTALL_DIR = $(CORE_DEPTH)/coreconf/nsinstall
endif
NSINSTALL = nsinstall
MKDEPEND_DIR = $(CORE_DEPTH)/coreconf/mkdepend
MKDEPEND = $(MKDEPEND_DIR)/$(OBJDIR_NAME)/mkdepend.exe
# Note: MKDEPENDENCIES __MUST__ be a relative pathname, not absolute.
# If it is absolute, gmake will crash unless the named file exists.
MKDEPENDENCIES = $(OBJDIR_NAME)/depend.mk
INSTALL = $(NSINSTALL)
MAKE_OBJDIR = mkdir
MAKE_OBJDIR += $(OBJDIR)
RC = rc.exe
GARBAGE += $(OBJDIR)/vc20.pdb $(OBJDIR)/vc40.pdb
XP_DEFINE += -DXP_PC
LIB_SUFFIX = lib
DLL_SUFFIX = dll
ifdef BUILD_OPT
# OS_CFLAGS += -MD
OPTIMIZER += -O2
DEFINES += -UDEBUG -U_DEBUG -DNDEBUG
DLLFLAGS += -OUT:"$@"
else
#
# Define USE_DEBUG_RTL if you want to use the debug runtime library
# (RTL) in the debug build
#
ifdef USE_DEBUG_RTL
# OS_CFLAGS += -MDd
else
# OS_CFLAGS += -MD
endif
OPTIMIZER += -Od -Z7
#OPTIMIZER += -Zi -Fd$(OBJDIR)/ -Od
DEFINES += -DDEBUG -D_DEBUG -UNDEBUG -DDEBUG_$(USERNAME)
DLLFLAGS += -DEBUG -DEBUGTYPE:CV -OUT:"$@"
LDFLAGS += -DEBUG -DEBUGTYPE:CV
endif
# DEFINES += -DWIN32
ifdef MAPFILE
DLLFLAGS += -DEF:$(MAPFILE)
endif
# Change PROCESS to put the mapfile in the correct format for this platform
PROCESS_MAP_FILE = cp $(LIBRARY_NAME).def $@
#
# The following is NOT needed for the NSPR 2.0 library.
#
DEFINES += -D_WINDOWS
# override default, which is ASFLAGS = CFLAGS
AS = ml.exe
ASFLAGS = -Cp -Sn -Zi -coff $(INCLUDES)
#
# override the definitions of RELEASE_TREE found in tree.mk
#
ifndef RELEASE_TREE
ifdef BUILD_SHIP
ifdef USE_SHIPS
RELEASE_TREE = $(NTBUILD_SHIP)
else
RELEASE_TREE = //redbuild/components
endif
else
RELEASE_TREE = //redbuild/components
endif
endif
#
# override the definitions of LIB_PREFIX and DLL_PREFIX in prefix.mk
#
ifndef LIB_PREFIX
LIB_PREFIX = $(NULL)
endif
ifndef DLL_PREFIX
DLL_PREFIX = $(NULL)
endif
#
# override the definitions of various _SUFFIX symbols in suffix.mk
#
#
# Object suffixes
#
ifndef OBJ_SUFFIX
OBJ_SUFFIX = .obj
endif
#
# Assembler source suffixes
#
ifndef ASM_SUFFIX
ASM_SUFFIX = .asm
endif
#
# Library suffixes
#
ifndef IMPORT_LIB_SUFFIX
IMPORT_LIB_SUFFIX = .$(LIB_SUFFIX)
endif
ifndef DYNAMIC_LIB_SUFFIX_FOR_LINKING
DYNAMIC_LIB_SUFFIX_FOR_LINKING = $(IMPORT_LIB_SUFFIX)
endif
#
# Program suffixes
#
ifndef PROG_SUFFIX
PROG_SUFFIX = .exe
endif
#
# override ruleset.mk, removing the "lib" prefix for library names, and
# adding the "32" after the LIBRARY_VERSION.
#
ifdef LIBRARY_NAME
SHARED_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION)32$(JDK_DEBUG_SUFFIX).dll
IMPORT_LIBRARY = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION)32$(JDK_DEBUG_SUFFIX).lib
endif
#
# override the TARGETS defined in ruleset.mk, adding IMPORT_LIBRARY
#
ifndef TARGETS
TARGETS = $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(PROGRAM)
endif
#
# Always set CPU_TAG on Linux, OpenVMS, WINCE.
#
CPU_TAG = _$(CPU_ARCH)

View File

@@ -0,0 +1,99 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# Config stuff for WINCE 3.0 (MS Pocket PC 2002)
#
# CPU_ARCH must already be defined to one of:
# x86, ARM
#
# This makefile defines the following variables:
# OS_CFLAGS, and OS_DLLFLAGS.
include $(CORE_DEPTH)/coreconf/WINCE.mk
CEVersion = 300
CePlatform = WIN32_PLATFORM_PSPC=310
ifeq ($(CPU_ARCH), x86)
DEFINES += -D_X86_ -D_i386_ -Di_386_ -Dx86
OS_CFLAGS += -Gs8192 -GF
OS_DLLFLAGS += -machine:IX86
else
ifeq ($(CPU_ARCH), ARM)
DEFINES += -DARM -D_ARM_
OS_DLLFLAGS += -machine:ARM
else
include CPU_ARCH_is_undefined
endif
endif
DEFINES += -D_WIN32_WCE=300 -DUNDER_CE=300
DEFINES += -DWIN32_PLATFORM_PSPC=310
DEFINES += -DUNICODE -D_UNICODE
OS_CFLAGS += -W3 -nologo
OS_DLLFLAGS += -DLL
LINKFLAGS = -nologo -PDB:NONE -subsystem:windowsce,3.00 \
-nodefaultlib:libc.lib \
-nodefaultlib:libcd.lib \
-nodefaultlib:libcmt.lib \
-nodefaultlib:libcmtd.lib \
-nodefaultlib:msvcrt.lib \
-nodefaultlib:msvcrtd.lib \
-nodefaultlib:oldnames.lib \
$(NULL)
LINK += $(LINKFLAGS)
LDFLAGS += $(LINKFLAGS)
OS_LIBS= coredll.lib corelibc.lib
#DLLBASE = -base:"0x00100000" -stack:0x10000,0x1000 -entry:"_DllMainCRTStartup"
DLLBASE += -align:"4096"
#SUB_SHLOBJS =
#EXTRA_LIBS =
#EXTRA_SHARED_LIBS =
#OS_LIBS=
#LD_LIBS=
#
# Win NT needs -GT so that fibers can work
#
#OS_CFLAGS += -GT
#DEFINES += -DWINNT
# WINNT uses the lib prefix, Win95 and WinCE don't
#NSPR31_LIB_PREFIX = lib

View File

@@ -0,0 +1,64 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# Config stuff for WINNT 3.51
#
# This makefile defines the following variables:
# OS_CFLAGS and OS_DLLFLAGS.
# It has the following internal variables:
# OS_PROC_CFLAGS and OS_WIN_CFLAGS.
include $(CORE_DEPTH)/coreconf/WIN32.mk
ifeq ($(CPU_ARCH), x386)
OS_PROC_CFLAGS += -D_X86_
else
ifeq ($(CPU_ARCH), MIPS)
OS_PROC_CFLAGS += -D_MIPS_
else
ifeq ($(CPU_ARCH), ALPHA)
OS_PROC_CFLAGS += -D_ALPHA_
endif
endif
endif
OS_WIN_CFLAGS += -W3
OS_CFLAGS += -nologo $(OS_WIN_CFLAGS) $(OS_PROC_CFLAGS)
#OS_DLLFLAGS += -nologo -DLL -PDB:NONE -SUBSYSTEM:WINDOWS
OS_DLLFLAGS += -nologo -DLL -PDB:NONE -SUBSYSTEM:WINDOWS
#
# Win NT needs -GT so that fibers can work
#
OS_CFLAGS += -GT
OS_CFLAGS += -DWINNT

View File

@@ -0,0 +1,65 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# Config stuff for WINNT 4.0
#
# This makefile defines the following variables:
# OS_CFLAGS and OS_DLLFLAGS.
include $(CORE_DEPTH)/coreconf/WIN32.mk
ifeq ($(CPU_ARCH), x386)
OS_CFLAGS += -W3 -nologo
DEFINES += -D_X86_
else
ifeq ($(CPU_ARCH), MIPS)
#OS_CFLAGS += -W3 -nologo
#DEFINES += -D_MIPS_
OS_CFLAGS += -W3 -nologo
else
ifeq ($(CPU_ARCH), ALPHA)
OS_CFLAGS += -W3 -nologo
DEFINES += -D_ALPHA_=1
endif
endif
endif
OS_DLLFLAGS += -nologo -DLL -SUBSYSTEM:WINDOWS -PDB:NONE
#
# Win NT needs -GT so that fibers can work
#
OS_CFLAGS += -GT
DEFINES += -DWINNT
NSPR31_LIB_PREFIX = lib

View File

@@ -0,0 +1,65 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# Config stuff for WINNT 5.0 (Windows 2000)
#
# This makefile defines the following variables:
# OS_CFLAGS and OS_DLLFLAGS.
include $(CORE_DEPTH)/coreconf/WIN32.mk
ifeq ($(CPU_ARCH), x386)
OS_CFLAGS += -W3 -nologo
DEFINES += -D_X86_
else
ifeq ($(CPU_ARCH), MIPS)
#OS_CFLAGS += -W3 -nologo
#DEFINES += -D_MIPS_
OS_CFLAGS += -W3 -nologo
else
ifeq ($(CPU_ARCH), ALPHA)
OS_CFLAGS += -W3 -nologo
DEFINES += -D_ALPHA_=1
endif
endif
endif
OS_DLLFLAGS += -nologo -DLL -SUBSYSTEM:WINDOWS -PDB:NONE
#
# Win NT needs -GT so that fibers can work
#
OS_CFLAGS += -GT
DEFINES += -DWINNT
NSPR31_LIB_PREFIX = lib

View File

@@ -0,0 +1,65 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# Config stuff for WINNT 5.1 (Windows XP)
#
# This makefile defines the following variables:
# OS_CFLAGS and OS_DLLFLAGS.
include $(CORE_DEPTH)/coreconf/WIN32.mk
ifeq ($(CPU_ARCH), x386)
OS_CFLAGS += -W3 -nologo
DEFINES += -D_X86_
else
ifeq ($(CPU_ARCH), MIPS)
#OS_CFLAGS += -W3 -nologo
#DEFINES += -D_MIPS_
OS_CFLAGS += -W3 -nologo
else
ifeq ($(CPU_ARCH), ALPHA)
OS_CFLAGS += -W3 -nologo
DEFINES += -D_ALPHA_=1
endif
endif
endif
OS_DLLFLAGS += -nologo -DLL -SUBSYSTEM:WINDOWS -PDB:NONE
#
# Win NT needs -GT so that fibers can work
#
OS_CFLAGS += -GT
DEFINES += -DWINNT
NSPR31_LIB_PREFIX = lib

View File

@@ -0,0 +1,333 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#######################################################################
# Master "Core Components" macros for getting the OS architecture #
# defines these symbols:
# 64BIT_TAG
# OS_ARCH (from uname -r)
# OS_TEST (from uname -m)
# OS_RELEASE (from uname -v and/or -r)
# OS_TARGET User defined, or set to OS_ARCH
# CPU_ARCH (from unmame -m or -p, ONLY on WINNT)
# OS_CONFIG OS_TARGET + OS_RELEASE
# OBJDIR_TAG
# OBJDIR_NAME
#######################################################################
#
# Macros for getting the OS architecture
#
ifeq ($(USE_64), 1)
64BIT_TAG=_64
else
64BIT_TAG=
endif
OS_ARCH := $(subst /,_,$(shell uname -s))
#
# Attempt to differentiate between sparc and x86 Solaris
#
OS_TEST := $(shell uname -m)
ifeq ($(OS_TEST),i86pc)
OS_RELEASE := $(shell uname -r)_$(OS_TEST)
else
OS_RELEASE := $(shell uname -r)
endif
#
# Force the IRIX64 machines to use IRIX.
#
ifeq ($(OS_ARCH),IRIX64)
OS_ARCH = IRIX
endif
#
# Force the older BSD/OS versions to use the new arch name.
#
ifeq ($(OS_ARCH),BSD_386)
OS_ARCH = BSD_OS
endif
#
# Catch Deterim if SVR4 is NCR or UNIXWARE
#
ifeq ($(OS_ARCH),UNIX_SV)
ifneq ($(findstring NCR, $(shell grep NCR /etc/bcheckrc | head -1 )),)
OS_ARCH = NCR
else
# Make UnixWare something human readable
OS_ARCH = UNIXWARE
endif
# Get the OS release number, not 4.2
OS_RELEASE := $(shell uname -v)
endif
ifeq ($(OS_ARCH),UNIX_System_V)
OS_ARCH = NEC
endif
ifeq ($(OS_ARCH),AIX)
OS_RELEASE := $(shell uname -v).$(shell uname -r)
endif
#
# Distinguish between OSF1 V4.0B and V4.0D
#
ifeq ($(OS_ARCH)$(OS_RELEASE),OSF1V4.0)
OS_VERSION := $(shell uname -v)
ifeq ($(OS_VERSION),564)
OS_RELEASE := V4.0B
endif
ifeq ($(OS_VERSION),878)
OS_RELEASE := V4.0D
endif
endif
#
# SINIX changes name to ReliantUNIX with 5.43
#
ifeq ($(OS_ARCH),ReliantUNIX-N)
OS_ARCH = ReliantUNIX
OS_RELEASE = 5.4
endif
ifeq ($(OS_ARCH),SINIX-N)
OS_ARCH = ReliantUNIX
OS_RELEASE = 5.4
endif
#
# Handle FreeBSD 2.2-STABLE and Linux 2.0.30-osfmach3
#
ifeq (,$(filter-out Linux FreeBSD,$(OS_ARCH)))
OS_RELEASE := $(shell echo $(OS_RELEASE) | sed 's/-.*//')
endif
ifeq ($(OS_ARCH),Linux)
OS_RELEASE := $(basename $(OS_RELEASE))
endif
#
# For OS/2
#
ifeq ($(OS_ARCH),OS_2)
OS_ARCH = OS2
OS_RELEASE := $(shell uname -v)
endif
ifneq (,$(findstring OpenVMS,$(OS_ARCH)))
OS_ARCH = OpenVMS
OS_RELEASE := $(shell uname -v)
endif
#######################################################################
# Master "Core Components" macros for getting the OS target #
#######################################################################
#
# Note: OS_TARGET should be specified on the command line for gmake.
# When OS_TARGET=WIN95 is specified, then a Windows 95 target is built.
# The difference between the Win95 target and the WinNT target is that
# the WinNT target uses Windows NT specific features not available
# in Windows 95. The Win95 target will run on Windows NT, but (supposedly)
# at lesser performance (the Win95 target uses threads; the WinNT target
# uses fibers).
#
# When OS_TARGET=WIN16 is specified, then a Windows 3.11 (16bit) target
# is built. See: win16_3.11.mk for lots more about the Win16 target.
#
# If OS_TARGET is not specified, it defaults to $(OS_ARCH), i.e., no
# cross-compilation.
#
#
# The following hack allows one to build on a WIN95 machine (as if
# s/he were cross-compiling on a WINNT host for a WIN95 target).
# It also accomodates for MKS's and Cygwin's uname.exe.
#
ifeq ($(OS_ARCH),WIN95)
OS_ARCH = WINNT
OS_TARGET = WIN95
endif
ifeq ($(OS_ARCH),Windows_95)
OS_ARCH = Windows_NT
OS_TARGET = WIN95
endif
ifeq ($(OS_ARCH),CYGWIN_95-4.0)
OS_ARCH = CYGWIN_NT-4.0
OS_TARGET = WIN95
endif
ifeq ($(OS_ARCH),CYGWIN_98-4.10)
OS_ARCH = CYGWIN_NT-4.0
OS_TARGET = WIN95
endif
#
# On WIN32, we also define the variable CPU_ARCH, if it isn't already.
#
ifndef CPU_ARCH
ifeq ($(OS_ARCH), WINNT)
CPU_ARCH := $(shell uname -p)
ifeq ($(CPU_ARCH),I386)
CPU_ARCH = x386
endif
endif
endif
# If uname -s returns "Windows_NT", we assume that we are using
# the uname.exe in MKS toolkit.
#
# The -r option of MKS uname only returns the major version number.
# So we need to use its -v option to get the minor version number.
# Moreover, it doesn't have the -p option, so we need to use uname -m.
#
ifeq ($(OS_ARCH), Windows_NT)
OS_ARCH = WINNT
OS_MINOR_RELEASE := $(shell uname -v)
ifeq ($(OS_MINOR_RELEASE),00)
OS_MINOR_RELEASE = 0
endif
OS_RELEASE := $(OS_RELEASE).$(OS_MINOR_RELEASE)
ifndef CPU_ARCH
CPU_ARCH := $(shell uname -m)
#
# MKS's uname -m returns "586" on a Pentium machine.
#
ifneq (,$(findstring 86,$(CPU_ARCH)))
CPU_ARCH = x386
endif
endif
endif
#
# If uname -s returns "CYGWIN_NT-4.0", we assume that we are using
# the uname.exe in the Cygwin tools.
#
ifeq (CYGWIN_NT,$(findstring CYGWIN_NT,$(OS_ARCH)))
OS_RELEASE := $(patsubst CYGWIN_NT-%,%,$(OS_ARCH))
OS_ARCH = WINNT
ifndef CPU_ARCH
CPU_ARCH := $(shell uname -m)
#
# Cygwin's uname -m returns "i686" on a Pentium Pro machine.
#
ifneq (,$(findstring 86,$(CPU_ARCH)))
CPU_ARCH = x386
endif
endif
endif
ifndef OS_TARGET
OS_TARGET = $(OS_ARCH)
endif
ifeq ($(OS_TARGET), WIN95)
OS_RELEASE = 4.0
endif
ifeq ($(OS_TARGET), WIN16)
OS_RELEASE =
# OS_RELEASE = _3.11
endif
ifdef OS_TARGET_RELEASE
OS_RELEASE = $(OS_TARGET_RELEASE)
endif
#
# This variable is used to get OS_CONFIG.mk.
#
OS_CONFIG = $(OS_TARGET)$(OS_RELEASE)
#
# OBJDIR_TAG depends on the predefined variable BUILD_OPT,
# to distinguish between debug and release builds.
#
ifdef BUILD_OPT
ifeq ($(OS_TARGET),WIN16)
OBJDIR_TAG = _O
else
OBJDIR_TAG = $(64BIT_TAG)_OPT
endif
else
ifdef BUILD_IDG
ifeq ($(OS_TARGET),WIN16)
OBJDIR_TAG = _I
else
OBJDIR_TAG = $(64BIT_TAG)_IDG
endif
else
ifeq ($(OS_TARGET),WIN16)
OBJDIR_TAG = _D
else
OBJDIR_TAG = $(64BIT_TAG)_DBG
endif
endif
endif
#
# The following flags are defined in the individual $(OS_CONFIG).mk
# files.
#
# CPU_TAG is defined if the CPU is not the most common CPU.
# COMPILER_TAG is defined if the compiler is not the native compiler.
# IMPL_STRATEGY may be defined too.
#
OBJDIR_NAME = $(OS_TARGET)$(OS_RELEASE)$(CPU_TAG)$(COMPILER_TAG)$(LIBC_TAG)$(IMPL_STRATEGY)$(OBJDIR_TAG).OBJ
ifeq (,$(filter-out WINNT WIN95 WINCE,$(OS_TARGET))) # list omits WIN16
ifndef BUILD_OPT
#
# Define USE_DEBUG_RTL if you want to use the debug runtime library
# (RTL) in the debug build
#
ifdef USE_DEBUG_RTL
OBJDIR_NAME = $(OS_TARGET)$(OS_RELEASE)$(CPU_TAG)$(COMPILER_TAG)$(IMPL_STRATEGY)$(OBJDIR_TAG).OBJD
endif
endif
endif
MK_ARCH = included

View File

@@ -0,0 +1,55 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#######################################################################
# Master "Core Components" default command macros; #
# can be overridden in <arch>.mk #
#######################################################################
AS = $(CC)
ASFLAGS += $(CFLAGS)
CCF = $(CC) $(CFLAGS)
LINK_DLL = $(LINK) $(OS_DLLFLAGS) $(DLLFLAGS)
LINK_EXE = $(LINK) $(OS_LFLAGS) $(LFLAGS)
NFSPWD = $(NSINSTALL_DIR)/nfspwd
CFLAGS = $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
$(XCFLAGS)
RANLIB = echo
TAR = /bin/tar
#
# For purify
#
NOMD_CFLAGS += $(OPTIMIZER) $(NOMD_OS_CFLAGS) $(XP_DEFINE) $(DEFINES) \
$(INCLUDES) $(XCFLAGS)
MK_COMMAND = included

View File

@@ -0,0 +1,169 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Configuration information for building in the "Core Components" source module
#
#######################################################################
# [1.0] Master "Core Components" source and release <architecture> #
# tags #
#######################################################################
ifndef MK_ARCH
include $(CORE_DEPTH)/coreconf/arch.mk
endif
#######################################################################
# [2.0] Master "Core Components" default command macros #
# (NOTE: may be overridden in $(OS_TARGET)$(OS_RELEASE).mk) #
#######################################################################
ifndef MK_COMMAND
include $(CORE_DEPTH)/coreconf/command.mk
endif
#######################################################################
# [3.0] Master "Core Components" <architecture>-specific macros #
# (dependent upon <architecture> tags) #
# #
# We are moving towards just having a $(OS_TARGET).mk file #
# as opposed to multiple $(OS_TARGET)$(OS_RELEASE).mk files, #
# one for each OS release. #
#######################################################################
TARGET_OSES = FreeBSD BSD_OS NetBSD OpenUNIX OS2 QNX Darwin BeOS OpenBSD
ifeq (,$(filter-out $(TARGET_OSES),$(OS_TARGET)))
include $(CORE_DEPTH)/coreconf/$(OS_TARGET).mk
else
include $(CORE_DEPTH)/coreconf/$(OS_TARGET)$(OS_RELEASE).mk
endif
#######################################################################
# [4.0] Master "Core Components" source and release <platform> tags #
# (dependent upon <architecture> tags) #
#######################################################################
ifndef PLATFORM
PLATFORM = $(OBJDIR_NAME)
endif
#######################################################################
# [5.0] Master "Core Components" release <tree> tags #
# (dependent upon <architecture> tags) #
#######################################################################
ifndef MK_TREE
include $(CORE_DEPTH)/coreconf/tree.mk
endif
#######################################################################
# [6.0] Master "Core Components" source and release <component> tags #
# NOTE: A component is also called a module or a subsystem. #
# (dependent upon $(MODULE) being defined on the #
# command line, as an environment variable, or in individual #
# makefiles, or more appropriately, manifest.mn) #
#######################################################################
ifndef MK_MODULE
include $(CORE_DEPTH)/coreconf/module.mk
endif
#######################################################################
# [7.0] Master "Core Components" release <version> tags #
# (dependent upon $(MODULE) being defined on the #
# command line, as an environment variable, or in individual #
# makefiles, or more appropriately, manifest.mn) #
#######################################################################
ifndef MK_VERSION
include $(CORE_DEPTH)/coreconf/version.mk
endif
#######################################################################
# [8.0] Master "Core Components" macros to figure out #
# binary code location #
# (dependent upon <platform> tags) #
#######################################################################
ifndef MK_LOCATION
include $(CORE_DEPTH)/coreconf/location.mk
endif
#######################################################################
# [9.0] Master "Core Components" <component>-specific source path #
# (dependent upon <user_source_tree>, <source_component>, #
# <version>, and <platform> tags) #
#######################################################################
ifndef MK_SOURCE
include $(CORE_DEPTH)/coreconf/source.mk
endif
#######################################################################
# [10.0] Master "Core Components" include switch for support header #
# files #
# (dependent upon <tree>, <component>, <version>, #
# and <platform> tags) #
#######################################################################
ifndef MK_HEADERS
include $(CORE_DEPTH)/coreconf/headers.mk
endif
#######################################################################
# [11.0] Master "Core Components" for computing program prefixes #
#######################################################################
ifndef MK_PREFIX
include $(CORE_DEPTH)/coreconf/prefix.mk
endif
#######################################################################
# [12.0] Master "Core Components" for computing program suffixes #
# (dependent upon <architecture> tags) #
#######################################################################
ifndef MK_SUFFIX
include $(CORE_DEPTH)/coreconf/suffix.mk
endif
#######################################################################
# [13.0] Master "Core Components" for defining JDK #
# (dependent upon <architecture>, <source>, and <suffix> tags)#
#######################################################################
ifdef NS_USE_JDK
include $(CORE_DEPTH)/coreconf/jdk.mk
endif
#######################################################################
# [14.0] Master "Core Components" rule set #
#######################################################################
ifndef MK_RULESET
include $(CORE_DEPTH)/coreconf/ruleset.mk
endif
#######################################################################
# [15.0] Dependencies.
#######################################################################
-include $(MKDEPENDENCIES)

View File

@@ -0,0 +1,156 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
sub recursive_copy {
local($fromdir);
local($todir);
local(@dirlist);
$fromdir = shift;
$todir = shift;
print STDERR "recursive copy called with $fromdir, $todir\n";
#remove any trailing slashes.
$fromdir =~ s/\/$//;
$todir =~ s/\/$//;
opendir(DIR, $fromdir);
@dirlist = readdir DIR;
close DIR;
foreach $file (@dirlist) {
if (! (($file eq "." ) || ($file eq "..") )) {
if (-d "$fromdir/$file") {
print STDERR "handling directory $todir/$file\n";
&rec_mkdir("$todir/$file");
&recursive_copy("$fromdir/$file","$todir/$file");
}
else {
print STDERR "handling file $fromdir/$file\n";
&my_copy("$fromdir/$file","$todir/$file");
}
}
}
}
sub parse_argv {
# print STDERR "Parsing Variables\n";
foreach $q ( @ARGV ) {
if (! ($q =~ /=/)) {
$var{$lastassigned} .= " $q";
}
else {
$q =~ /^([^=]*)=(.*)/;
$left = $1;
$right = $2;
$right =~ s/ *$//;
$var{$left} = $right;
$lastassigned = $left;
}
print STDERR "Assigned $lastassigned = $var{$lastassigned}\n";
}
}
# usage: &my_copy("dir/fromfile","dir2/tofile");
# do a 'copy' - files only, 'to' MUST be a filename, not a directory.
# fix this to be able to use copy on win nt.
sub my_copy {
local($from);
local($to);
local($cpcmd);
$from = shift;
$to = shift;
if ( ! defined $var{OS_ARCH}) {
die "OS_ARCH not defined!";
}
else {
if ($var{OS_ARCH} eq 'WINNT') {
$cpcmd = 'cp';
}
else {
$cpcmd = 'cp';
}
print STDERR "COPYING: $cpcmd $from $to\n";
system("$cpcmd $from $to");
}
}
sub old_my_copy {
local($from);
local($to);
$from = shift;
$to = shift;
open(FIN, "<$from") || die("Can't read from file $from\n");
if ( ! open(FOUT,">$to")) {
close FIN;
die "Can't write to file $to\n";
}
while (read(FIN, $buf, 100000)) {
print FOUT $buf;
}
close (FIN);
close (FOUT);
}
sub rec_mkdir {
local($arg);
local($t);
local($q);
$arg = shift;
$t = "";
foreach $q (split(/\//,$arg)) {
$t .= $q;
if (! ($t =~ /\.\.$/)) {
if ($t =~ /./) {
mkdir($t,0775);
}
}
$t.= '/';
}
}
1;

View File

@@ -0,0 +1,195 @@
#! /usr/local/bin/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 the Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
require('coreconf.pl');
#######-- read in variables on command line into %var
&parse_argv;
### do the copy
print STDERR "RELEASE TREE / MODULE = $var{RELEASE_TREE} $var{MODULE}\n";
# 1
if ($var{RELEASE} eq "") { exit; } # Can't do release here, so exit.
# 2
#if (! ($var{RELEASE} =~ /\//)) { # if no specific version is specified in RELEASE variable
# $component = $var{RELEASE};
#}
#else { # if a subcomponent/version is given in the RELEASE variable
# $var{RELEASE} =~ m|^([^/]*)/|;
# $component = $1; # everything before the first slash;
# }
# 3
$path = $var{RELEASE};
# 4
# find out what directory we would create for 'today'
$year = (localtime)[5] + 1900;
$month = (localtime)[4] + 1;
$day = (localtime)[3];
$today = sprintf( "%d%02d%02d", $year, $month, $day );
# 5
# if version is null, then set the version to today.
if ($var{"RELEASE_VERSION"} eq "") {
$var{"RELEASE_VERSION"} = $today;
}
#6
$version = $var{"RELEASE_VERSION"}; # set RELEASE_VERSION to passed in variable
#7
# if version is today, then we will want to make a 'current' link.
if ($version eq $today) {
$create_current = 1;
}
#8
# version can be a) passed in value from command line, b) value in manifest.mn
# or c) computed value such as '19970909'
$dir = "$var{'RELEASE_TREE'}/$path";
#9
if (! (-e "$dir/$version" && -d "$dir/$version")) {
print "making dir $dir \n";
&rec_mkdir("$dir/$version");
}
print "version = $version\n";
print "path = $path\n";
print "var{release_tree} = $var{'RELEASE_TREE'}\n";
print "dir = $dir = RELEASE_TREE/path\n";
#10
if ($create_current == 1) {
# unlinking and linking always occurs, even if the link is correct
print "unlinking $dir/current\n";
unlink("$dir/current");
print "putting version number $today into 'current' file..";
open(FILE,">$dir/current") || die " couldn't open current\n";
print FILE "$today\n";
close(FILE);
print " ..done\n"
}
&rec_mkdir("$dir/$version/$var{'RELEASE_MD_DIR'}");
&rec_mkdir("$dir/$version/$var{'RELEASE_XP_DIR'}");
foreach $jarfile (split(/ /,$var{FILES}) ) {
print STDERR "---------------------------------------------\n";
$jarinfo = $var{$jarfile};
($jardir,$jaropts) = split(/\|/,$jarinfo);
if ($jaropts =~ /f/) {
print STDERR "Copying files $jardir....\n";
}
else {
print STDERR "Copying jar file $jarfile....\n";
}
print "jaropts = $jaropts\n";
if ($jaropts =~ /m/) {
$destdir = $var{"RELEASE_MD_DIR"};
print "found m, using MD dir $destdir\n";
}
elsif ($jaropts =~ /x/) {
$destdir = $var{"RELEASE_XP_DIR"};
print "found x, using XP dir $destdir\n";
}
else {
die "Error: must specify m or x in jar options in $jarinfo line\n";
}
$distdir = "$dir/$version/$destdir";
if ($jaropts =~ /f/) {
print "splitting: \"$jardir\"\n";
for $srcfile (split(/ /,$jardir)) {
#if srcfile has a slash
if ($srcfile =~ m|/|) {
#pull out everything before the last slash into $1
$srcfile =~ m|(.*)/|;
$distsubdir = "/$1";
print "making dir $distdir$distsubdir\n";
&rec_mkdir("$distdir$distsubdir");
}
print "copy: from $srcfile\n";
print " to $distdir$distsubdir\n";
$srcprefix = "";
if ($jaropts =~/m/) {
$srcprefix = "$var{'PLATFORM'}/";
}
system("cp $srcprefix$srcfile $distdir$distsubdir");
}
}
else {
$srcfile = "$var{SOURCE_RELEASE_PREFIX}/$jardir/$jarfile";
print "copy: from $srcfile\n";
print " to $distdir\n";
system("cp $srcfile $distdir");
}
}

View File

@@ -0,0 +1,60 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#######################################################################
# Master "Core Components" include switch for support header files #
#######################################################################
#
# Always append source-side machine-dependent (md) and cross-platform
# (xp) include paths
#
INCLUDES += -I$(SOURCE_MDHEADERS_DIR)
ifneq ($(OS_TARGET),WIN16)
INCLUDES += -I$(SOURCE_XPHEADERS_DIR)
endif
#
# Only append source-side private cross-platform include paths for
# sectools
#
INCLUDES += -I$(SOURCE_XPPRIVATE_DIR)
ifdef MOZILLA_CLIENT
INCLUDES += -I$(SOURCE_XP_DIR)/include $(MOZILLA_INCLUDES)
endif
MK_HEADERS = included

View File

@@ -0,0 +1,218 @@
#! /usr/local/bin/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 the Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
print STDERR "import.pl\n";
require('coreconf.pl');
$returncode =0;
#######-- read in variables on command line into %var
$var{ZIP} = "zip";
$var{UNZIP} = "unzip -o";
&parse_argv;
if (! ($var{IMPORTS} =~ /\w/)) {
print STDERR "nothing to import\n";
}
######-- Do the import!
foreach $import (split(/ /,$var{IMPORTS}) ) {
print STDERR "\n\nIMPORTING .... $import\n-----------------------------\n";
# if a specific version specified in IMPORT variable
# (if $import has a slash in it)
if ($import =~ /\//) {
# $component=everything before the first slash of $import
$import =~ m|^([^/]*)/|;
$component = $1;
$import =~ m|^(.*)/([^/]*)$|;
# $path=everything before the last slash of $import
$path = $1;
# $version=everything after the last slash of $import
$version = $2;
if ($var{VERSION} ne "current") {
$version = $var{VERSION};
}
}
else {
$component = $import;
$path = $import;
$version = $var{VERSION};
}
$releasejardir = "$var{RELEASE_TREE}/$path";
if ($version eq "current") {
print STDERR "Current version specified. Reading 'current' file ... \n";
open(CURRENT,"$releasejardir/current") || die "NO CURRENT FILE\n";
$version = <CURRENT>;
$version =~ s/(\r?\n)*$//; # remove any trailing [CR/]LF's
close(CURRENT);
print STDERR "Using version $version\n";
if ( $version eq "") {
die "Current version file empty. Stopping\n";
}
}
$releasejardir = "$releasejardir/$version";
if ( ! -d $releasejardir) {
die "$releasejardir doesn't exist (Invalid Version?)\n";
}
foreach $jarfile (split(/ /,$var{FILES})) {
($relpath,$distpath,$options) = split(/\|/, $var{$jarfile});
if ($var{'OVERRIDE_IMPORT_CHECK'} eq 'YES') {
$options =~ s/v//g;
}
if ( $relpath ne "") { $releasejarpathname = "$releasejardir/$relpath";}
else { $releasejarpathname = $releasejardir; }
# If a component doesn't have IDG versions, import the DBG ones
if( ! -e "$releasejarpathname/$jarfile" ) {
if( $relpath =~ /IDG\.OBJ$/ ) {
$relpath =~ s/IDG.OBJ/DBG.OBJ/;
$releasejarpathname = "$releasejardir/$relpath";
} elsif( $relpath =~ /IDG\.OBJD$/ ) {
$relpath =~ s/IDG.OBJD/DBG.OBJD/;
$releasejarpathname = "$releasejardir/$relpath";
}
}
if (-e "$releasejarpathname/$jarfile") {
print STDERR "\nWorking on jarfile: $jarfile\n";
if ($distpath =~ m|/$|) {
$distpathname = "$distpath$component";
}
else {
$distpathname = "$distpath";
}
#the block below is used to determine whether or not the xp headers have
#already been imported for this component
$doimport = 1;
if ($options =~ /v/) { # if we should check the imported version
print STDERR "Checking if version file exists $distpathname/version\n";
if (-e "$distpathname/version") {
open( VFILE, "<$distpathname/version") ||
die "Cannot open $distpathname/version for reading. Permissions?\n";
$importversion = <VFILE>;
close (VFILE);
$importversion =~ s/\r?\n$//; # Strip off any trailing CR/LF
if ($version eq $importversion) {
print STDERR "$distpathname version '$importversion' already imported. Skipping...\n";
$doimport =0;
}
}
}
if ($doimport == 1) {
if (! -d "$distpathname") {
&rec_mkdir("$distpathname");
}
# delete the stuff in there already.
# (this should really be recursive delete.)
if ($options =~ /v/) {
$remheader = "\nREMOVING files in '$distpathname/' :";
opendir(DIR,"$distpathname") ||
die ("Cannot read directory $distpathname\n");
@filelist = readdir(DIR);
closedir(DIR);
foreach $file ( @filelist ) {
if (! ($file =~ m!/.?.$!) ) {
if (! (-d $file)) {
$file =~ m!([^/]*)$!;
print STDERR "$remheader $1";
$remheader = " ";
unlink "$distpathname/$file";
}
}
}
}
print STDERR "\n\n";
print STDERR "\nExtracting jarfile '$jarfile' to local directory $distpathname/\n";
print STDERR "$var{UNZIP} $releasejarpathname/$jarfile -d $distpathname\n";
system("$var{UNZIP} $releasejarpathname/$jarfile -d $distpathname");
$r = $?;
if ($options =~ /v/) {
if ($r == 0) {
unlink ("$distpathname/version");
if (open(VFILE,">$distpathname/version")) {
print VFILE "$version\n";
close(VFILE);
}
}
else {
print STDERR "Could not create '$distpathname/version'. Permissions?\n";
$returncode ++;
}
}
} # if (doimport)
} # if (-e releasejarpathname/jarfile)
} # foreach jarfile)
} # foreach IMPORT
exit($returncode);

View File

@@ -0,0 +1,626 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
ifdef NS_USE_JDK
#######################################################################
# [1] Define preliminary JDK "Core Components" toolset options #
#######################################################################
# set default JDK java threading model
ifeq ($(JDK_THREADING_MODEL),)
JDK_THREADING_MODEL = native_threads
# no such thing as -native flag
JDK_THREADING_MODEL_OPT =
endif
#######################################################################
# [2] Define platform-independent JDK "Core Components" options #
#######################################################################
# set default location of the java classes repository
ifeq ($(JAVA_DESTPATH),)
ifdef BUILD_OPT
JAVA_DESTPATH = $(SOURCE_CLASSES_DIR)
else
JAVA_DESTPATH = $(SOURCE_CLASSES_DBG_DIR)
endif
endif
# set default location of the package under the java classes repository
# note that this overrides the default package value in ruleset.mk
ifeq ($(PACKAGE),)
PACKAGE = .
endif
# set default location of the java source code repository
ifeq ($(JAVA_SOURCEPATH),)
JAVA_SOURCEPATH = .
endif
# add JNI directory to default include search path
ifneq ($(JNI_GEN),)
ifdef NSBUILDROOT
INCLUDES += -I$(JNI_GEN_DIR) -I$(SOURCE_XP_DIR)
else
INCLUDES += -I$(JNI_GEN_DIR)
endif
endif
#######################################################################
# [3] Define platform-dependent JDK "Core Components" options #
#######################################################################
# set [Microsoft Windows] platforms
ifeq ($(OS_ARCH), WINNT)
JAVA_CLASSES = $(JAVA_HOME)/lib/classes.zip
ifeq ($(JRE_HOME),)
JRE_HOME = $(JAVA_HOME)
JRE_CLASSES = $(JAVA_CLASSES)
else
ifeq ($(JRE_CLASSES),)
JRE_CLASSES = $(JRE_HOME)/lib/classes.zip
endif
endif
PATH_SEPARATOR = ;
# (2) specify "header" information
JAVA_ARCH = win32
INCLUDES += -I$(JAVA_HOME)/include
INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
# (3) specify "linker" information
JAVA_CPU =
JAVA_LIBDIR = lib
JAVA_CLIBS =
JAVA_LIBS = -LIBPATH:$(JAVA_HOME)/$(JAVA_LIBDIR) jvm.lib
JAVA_LIBS += $(JAVA_CLIBS)
LDFLAGS += $(JAVA_LIBS)
# currently, disable JIT option on this platform
JDK_JIT_OPT = -nojit
endif
# set [Sun Solaris] platforms
ifeq ($(OS_ARCH), SunOS)
JAVA_CLASSES = $(JAVA_HOME)/lib/classes.zip
ifeq ($(JRE_HOME),)
JRE_HOME = $(JAVA_HOME)
JRE_CLASSES = $(JAVA_CLASSES)
else
ifeq ($(JRE_CLASSES),)
JRE_CLASSES = $(JRE_HOME)/lib/classes.zip
endif
endif
PATH_SEPARATOR = :
# (2) specify "header" information
JAVA_ARCH = solaris
INCLUDES += -I$(JAVA_HOME)/include
INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
# (3) specify "linker" information
ifeq ($(USE_64), 1)
JAVA_CPU = $(shell uname -p)v9
else
JAVA_CPU = $(shell uname -p)
endif
ifeq ($(JDK_VERSION), 1.1)
JAVA_LIBDIR = lib/$(JAVA_CPU)
else
JAVA_LIBDIR = jre/lib/$(JAVA_CPU)
endif
# ** IMPORTANT ** having -lthread before -lnspr is critical on solaris
# when linking with -ljava as nspr redefines symbols in libthread that
# cause JNI executables to fail with assert of bad thread stack values.
JAVA_CLIBS = -lthread
ifneq ($(JDK_VERSION), 1.1)
ifeq ($(USE_64), 1)
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/server
else
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/classic
endif
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)
JAVA_LIBS += -ljvm -ljava
else
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/$(JDK_THREADING_MODEL) -ljava
endif
JAVA_LIBS += $(JAVA_CLIBS)
LDFLAGS += $(JAVA_LIBS)
# currently, disable JIT option on this platform
JDK_JIT_OPT =
endif
# set [Hewlett Packard HP-UX] platforms
ifeq ($(OS_ARCH), HP-UX)
JAVA_CLASSES = $(JAVA_HOME)/lib/classes.zip
ifeq ($(JRE_HOME),)
JRE_HOME = $(JAVA_HOME)
JRE_CLASSES = $(JAVA_CLASSES)
else
ifeq ($(JRE_CLASSES),)
JRE_CLASSES = $(JRE_HOME)/lib/classes.zip
endif
endif
PATH_SEPARATOR = :
# (2) specify "header" information
JAVA_ARCH = hp-ux
INCLUDES += -I$(JAVA_HOME)/include
INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
# (3) specify "linker" information
JAVA_CPU = PA_RISC
JAVA_LIBDIR = jre/lib/$(JAVA_CPU)
JAVA_CLIBS =
JAVA_LIBS = -L$(JAVA_HOME)/$(JAVA_LIBDIR)/$(JDK_THREADING_MODEL) -lhpi
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/classic -ljvm
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR) -ljava
JAVA_LIBS += $(JAVA_CLIBS)
LDFLAGS += $(JAVA_LIBS)
# no JIT option available on this platform
JDK_JIT_OPT =
endif
# set [Redhat Linux] platforms
ifeq ($(OS_ARCH), Linux)
JAVA_CLASSES = $(JAVA_HOME)/lib/classes.zip
ifeq ($(JRE_HOME),)
JRE_HOME = $(JAVA_HOME)
JRE_CLASSES = $(JAVA_CLASSES)
else
ifeq ($(JRE_CLASSES),)
JRE_CLASSES = $(JRE_HOME)/lib/classes.zip
endif
endif
PATH_SEPARATOR = :
# (2) specify "header" information
JAVA_ARCH = linux
INCLUDES += -I$(JAVA_HOME)/include
INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
# (3) specify "linker" information
JAVA_CPU = i386
JAVA_LIBDIR = jre/lib/$(JAVA_CPU)
JAVA_CLIBS =
ifeq ($(JDK_VERSION), 1.4)
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/server -ljvm
else
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/classic -ljvm
endif
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR) -ljava
JAVA_LIBS += $(JAVA_CLIBS)
LDFLAGS += $(JAVA_LIBS)
# no JIT option available on this platform
JDK_JIT_OPT =
endif
# set [IBM AIX] platforms
ifeq ($(OS_ARCH), AIX)
JAVA_CLASSES = $(JAVA_HOME)/lib/classes.zip
ifeq ($(JRE_HOME),)
JRE_HOME = $(JAVA_HOME)
JRE_CLASSES = $(JAVA_CLASSES)
else
ifeq ($(JRE_CLASSES),)
JRE_CLASSES = $(JRE_HOME)/lib/classes.zip
endif
endif
PATH_SEPARATOR = :
# (2) specify "header" information
JAVA_ARCH = aix
INCLUDES += -I$(JAVA_HOME)/include
INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
# (3) specify "linker" information
JAVA_CPU = aix
JAVA_LIBDIR = jre/bin
JAVA_CLIBS =
JAVA_LIBS = -L$(JAVA_HOME)/$(JAVA_LIBDIR) -lhpi
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/classic -ljvm
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR) -ljava
JAVA_LIBS += $(JAVA_CLIBS)
LDFLAGS += $(JAVA_LIBS)
# no JIT option available on this platform
JDK_JIT_OPT =
endif
# set [Digital UNIX] platforms
ifeq ($(OS_ARCH), OSF1)
JAVA_CLASSES = $(JAVA_HOME)/lib/classes.zip
ifeq ($(JRE_HOME),)
JRE_HOME = $(JAVA_HOME)
JRE_CLASSES = $(JAVA_CLASSES)
else
ifeq ($(JRE_CLASSES),)
JRE_CLASSES = $(JRE_HOME)/lib/classes.zip
endif
endif
PATH_SEPARATOR = :
# (2) specify "header" information
JAVA_ARCH = alpha
INCLUDES += -I$(JAVA_HOME)/include
INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
# (3) specify "linker" information
JAVA_CPU = alpha
JAVA_LIBDIR = jre/lib/$(JAVA_CPU)
JAVA_CLIBS =
JAVA_LIBS = -L$(JAVA_HOME)/$(JAVA_LIBDIR)/$(JDK_THREADING_MODEL) -lhpi
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/classic -ljvm
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR) -ljava
JAVA_LIBS += $(JAVA_CLIBS)
LDFLAGS += $(JAVA_LIBS)
# no JIT option available on this platform
JDK_JIT_OPT =
endif
# set [Silicon Graphics IRIX] platforms
ifeq ($(OS_ARCH), IRIX)
JAVA_CLASSES = $(JAVA_HOME)/lib/dev.jar:$(JAVA_HOME)/lib/rt.jar
ifeq ($(JRE_HOME),)
JRE_HOME = $(JAVA_HOME)
JRE_CLASSES = $(JAVA_CLASSES)
else
ifeq ($(JRE_CLASSES),)
JRE_CLASSES = $(JRE_HOME)/lib/dev.jar:$(JRE_HOME)/lib/rt.jar
endif
endif
PATH_SEPARATOR = :
# (2) specify "header" information
JAVA_ARCH = irix
INCLUDES += -I$(JAVA_HOME)/include
INCLUDES += -I$(JAVA_HOME)/include/$(JAVA_ARCH)
# (3) specify "-n32 linker" information
JAVA_CPU = sgi
JAVA_LIBDIR = lib32/$(JAVA_CPU)
JAVA_CLIBS =
JAVA_LIBS = -L$(JAVA_HOME)/$(JAVA_LIBDIR)/$(JDK_THREADING_MODEL) -lhpi
JAVA_LIBS += -lirixextra
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR)/classic -ljvm
JAVA_LIBS += -L$(JAVA_HOME)/$(JAVA_LIBDIR) -ljava
JAVA_LIBS += $(JAVA_CLIBS)
LDFLAGS += $(JAVA_LIBS)
# no JIT option available on this platform
JDK_JIT_OPT =
endif
#######################################################################
# [4] Define remaining JDK "Core Components" default toolset options #
#######################################################################
# set JDK optimization model
ifeq ($(BUILD_OPT),1)
JDK_OPTIMIZER_OPT = -O
else
JDK_OPTIMIZER_OPT = -g
endif
# set minimal JDK debugging model
ifeq ($(JDK_DEBUG),1)
JDK_DEBUG_OPT = -debug
else
JDK_DEBUG_OPT =
endif
# set default path to repository for JDK classes
ifeq ($(JDK_CLASS_REPOSITORY_OPT),)
JDK_CLASS_REPOSITORY_OPT = -d $(JAVA_DESTPATH)
endif
# define a default JDK classpath
ifeq ($(JDK_CLASSPATH),)
JDK_CLASSPATH = '$(JAVA_DESTPATH)$(PATH_SEPARATOR)$(JAVA_SOURCEPATH)$(PATH_SEPARATOR)$(JAVA_CLASSES)'
endif
# by default, override CLASSPATH environment variable using the JDK classpath option with $(JDK_CLASSPATH)
ifeq ($(JDK_CLASSPATH_OPT),)
JDK_CLASSPATH_OPT = -classpath $(JDK_CLASSPATH)
endif
ifeq ($(USE_64), 1)
JDK_USE_64 = -d64
endif
endif
#######################################################################
# [5] Define JDK "Core Components" toolset; #
# (always allow a user to override these values) #
#######################################################################
#
# (1) appletviewer
#
ifeq ($(APPLETVIEWER),)
APPLETVIEWER_PROG = $(JAVA_HOME)/bin/appletviewer$(PROG_SUFFIX)
APPLETVIEWER_FLAGS = $(JDK_THREADING_MODEL_OPT)
APPLETVIEWER_FLAGS += $(JDK_DEBUG_OPT)
APPLETVIEWER_FLAGS += $(JDK_JIT_OPT)
APPLETVIEWER = $(APPLETVIEWER_PROG) $(APPLETVIEWER_FLAGS)
endif
#
# (2) jar
#
ifeq ($(JAR),)
JAR_PROG = $(JAVA_HOME)/bin/jar$(PROG_SUFFIX)
JAR_FLAGS = $(JDK_THREADING_MODEL_OPT)
JAR = $(JAR_PROG) $(JAR_FLAGS)
endif
#
# (3) java
#
ifeq ($(JAVA),)
JAVA_PROG = $(JAVA_HOME)/bin/java$(PROG_SUFFIX)
JAVA_FLAGS = $(JDK_THREADING_MODEL_OPT)
JAVA_FLAGS += $(JDK_DEBUG_OPT)
JAVA_FLAGS += $(JDK_CLASSPATH_OPT)
JAVA_FLAGS += $(JDK_JIT_OPT)
JAVA_FLAGS += $(JDK_USE_64)
JAVA = $(JAVA_PROG) $(JAVA_FLAGS)
endif
#
# (4) javac
#
ifeq ($(JAVAC),)
JAVAC_PROG = $(JAVA_HOME)/bin/javac$(PROG_SUFFIX)
JAVAC_FLAGS = $(JDK_THREADING_MODEL_OPT)
JAVAC_FLAGS += $(JDK_OPTIMIZER_OPT)
JAVAC_FLAGS += $(JDK_DEBUG_OPT)
JAVAC_FLAGS += $(JDK_CLASSPATH_OPT)
JAVAC_FLAGS += $(JDK_CLASS_REPOSITORY_OPT)
JAVAC_FLAGS += $(JDK_USE_64)
JAVAC = $(JAVAC_PROG) $(JAVAC_FLAGS)
endif
#
# (5) javadoc
#
ifeq ($(JAVADOC),)
JAVADOC_PROG = $(JAVA_HOME)/bin/javadoc$(PROG_SUFFIX)
JAVADOC_FLAGS = $(JDK_THREADING_MODEL_OPT)
JAVADOC_FLAGS += $(JDK_CLASSPATH_OPT)
JAVADOC = $(JAVADOC_PROG) $(JAVADOC_FLAGS)
endif
#
# (6) javah
#
ifeq ($(JAVAH),)
JAVAH_PROG = $(JAVA_HOME)/bin/javah$(PROG_SUFFIX)
JAVAH_FLAGS = $(JDK_THREADING_MODEL_OPT)
JAVAH_FLAGS += $(JDK_CLASSPATH_OPT)
JAVAH = $(JAVAH_PROG) $(JAVAH_FLAGS)
endif
#
# (7) javakey
#
ifeq ($(JAVAKEY),)
JAVAKEY_PROG = $(JAVA_HOME)/bin/javakey$(PROG_SUFFIX)
JAVAKEY_FLAGS = $(JDK_THREADING_MODEL_OPT)
JAVAKEY = $(JAVAKEY_PROG) $(JAVAKEY_FLAGS)
endif
#
# (8) javap
#
ifeq ($(JAVAP),)
JAVAP_PROG = $(JAVA_HOME)/bin/javap$(PROG_SUFFIX)
JAVAP_FLAGS = $(JDK_THREADING_MODEL_OPT)
JAVAP_FLAGS += $(JDK_CLASSPATH_OPT)
JAVAP = $(JAVAP_PROG) $(JAVAP_FLAGS)
endif
#
# (9) javat
#
ifeq ($(JAVAT),)
JAVAT_PROG = $(JAVA_HOME)/bin/javat$(PROG_SUFFIX)
JAVAT_FLAGS = $(JDK_THREADING_MODEL_OPT)
JAVAT = $(JAVAT_PROG) $(JAVAT_FLAGS)
endif
#
# (10) javaverify
#
ifeq ($(JAVAVERIFY),)
JAVAVERIFY_PROG = $(JAVA_HOME)/bin/javaverify$(PROG_SUFFIX)
JAVAVERIFY_FLAGS = $(JDK_THREADING_MODEL_OPT)
JAVAVERIFY = $(JAVAVERIFY_PROG) $(JAVAVERIFY_FLAGS)
endif
#
# (11) javaw
#
ifeq ($(JAVAW),)
jJAVAW_PROG = $(JAVA_HOME)/bin/javaw$(PROG_SUFFIX)
jJAVAW_FLAGS = $(JDK_THREADING_MODEL_OPT)
jJAVAW_FLAGS += $(JDK_DEBUG_OPT)
jJAVAW_FLAGS += $(JDK_CLASSPATH_OPT)
jJAVAW_FLAGS += $(JDK_JIT_OPT)
jJAVAW = $(JAVAW_PROG) $(JAVAW_FLAGS)
endif
#
# (12) jdb
#
ifeq ($(JDB),)
JDB_PROG = $(JAVA_HOME)/bin/jdb$(PROG_SUFFIX)
JDB_FLAGS = $(JDK_THREADING_MODEL_OPT)
JDB_FLAGS += $(JDK_DEBUG_OPT)
JDB_FLAGS += $(JDK_CLASSPATH_OPT)
JDB_FLAGS += $(JDK_JIT_OPT)
JDB = $(JDB_PROG) $(JDB_FLAGS)
endif
#
# (13) jre
#
ifeq ($(JRE),)
JRE_PROG = $(JAVA_HOME)/bin/jre$(PROG_SUFFIX)
JRE_FLAGS = $(JDK_THREADING_MODEL_OPT)
JRE_FLAGS += $(JDK_CLASSPATH_OPT)
JRE_FLAGS += $(JDK_JIT_OPT)
JRE = $(JRE_PROG) $(JRE_FLAGS)
endif
#
# (14) jrew
#
ifeq ($(JREW),)
JREW_PROG = $(JAVA_HOME)/bin/jrew$(PROG_SUFFIX)
JREW_FLAGS = $(JDK_THREADING_MODEL_OPT)
JREW_FLAGS += $(JDK_CLASSPATH_OPT)
JREW_FLAGS += $(JDK_JIT_OPT)
JREW = $(JREW_PROG) $(JREW_FLAGS)
endif
#
# (15) native2ascii
#
ifeq ($(NATIVE2ASCII),)
NATIVE2ASCII_PROG = $(JAVA_HOME)/bin/native2ascii$(PROG_SUFFIX)
NATIVE2ASCII_FLAGS = $(JDK_THREADING_MODEL_OPT)
NATIVE2ASCII = $(NATIVE2ASCII_PROG) $(NATIVE2ASCII_FLAGS)
endif
#
# (16) rmic
#
ifeq ($(RMIC),)
RMIC_PROG = $(JAVA_HOME)/bin/rmic$(PROG_SUFFIX)
RMIC_FLAGS = $(JDK_THREADING_MODEL_OPT)
RMIC_FLAGS += $(JDK_OPTIMIZER_OPT)
RMIC_FLAGS += $(JDK_CLASSPATH_OPT)
RMIC = $(RMIC_PROG) $(RMIC_FLAGS)
endif
#
# (17) rmiregistry
#
ifeq ($(RMIREGISTRY),)
RMIREGISTRY_PROG = $(JAVA_HOME)/bin/rmiregistry$(PROG_SUFFIX)
RMIREGISTRY_FLAGS = $(JDK_THREADING_MODEL_OPT)
RMIREGISTRY = $(RMIREGISTRY_PROG) $(RMIREGISTRY_FLAGS)
endif
#
# (18) serialver
#
ifeq ($(SERIALVER),)
SERIALVER_PROG = $(JAVA_HOME)/bin/serialver$(PROG_SUFFIX)
SERIALVER_FLAGS = $(JDK_THREADING_MODEL_OPT)
SERIALVER = $(SERIALVER_PROG) $(SERIALVER_FLAGS)
endif

View File

@@ -0,0 +1,107 @@
#!/usr/local/bin/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 the Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# Input: -d dir -j javahcmd foo1 foo2 . . .
# Compares generated "_jni/foo1.h" file with "foo1.class", and
# generated "_jni/foo2.h" file with "foo2.class", etc.
# (NOTE: unlike its closely related cousin, outofdate.pl,
# the "-d dir" must always be specified)
# Runs the javahcmd on all files that are different.
#
# Returns: list of headers which are OLDER than corresponding class
# files (non-existant class files are considered to be real old :-)
my $javah = "";
my $classdir = "";
while(1) {
if ($ARGV[0] eq '-d') {
$classdir = $ARGV[1];
$classdir .= "/";
shift;
shift;
} elsif($ARGV[0] eq '-j') {
$javah = $ARGV[1];
shift;
shift;
} else {
last;
}
}
if( $javah eq "") {
die "Must specify -j <javah command>";
}
if( $classdir eq "") {
die "Must specify -d <classdir>";
}
foreach $filename (@ARGV)
{
$headerfilename = "_jni/";
$headerfilename .= $filename;
$headerfilename =~ s/\./_/g;
$headerfilename .= ".h";
$classfilename = $filename;
$classfilename =~ s|\.|/|g;
$classfilename .= ".class";
$classfilename = $classdir . $classfilename;
( $dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size, $atime, $headermtime,
$ctime, $blksize, $blocks ) = stat( $headerfilename );
( $dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size, $atime, $classmtime,
$ctime, $blksize, $blocks ) = stat( $classfilename );
if( $headermtime < $classmtime )
{
# NOTE: Since this is used by "javah", and "javah" refuses to overwrite
# an existing file, we force an unlink from this script, since
# we actually want to regenerate the header file at this time.
unlink $headerfilename;
push @filelist, $filename;
}
}
if( @filelist ) {
$cmd = "$javah " . join(" ",@filelist);
$cmd =~ s/\'/\"/g; # because windows doesn't understand single quote
print "$cmd\n";
exit (system($cmd) >> 8);
} else {
print "All JNI header files up to date.\n"
}

View File

@@ -0,0 +1,66 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#######################################################################
# Master "Core Components" macros to figure out binary code location #
#######################################################################
#
# Figure out where the binary code lives.
#
ifdef BUILD_TREE
ifdef LIBRARY_NAME
BUILD = $(BUILD_TREE)/nss/$(LIBRARY_NAME)
OBJDIR = $(BUILD_TREE)/nss/$(LIBRARY_NAME)
DEPENDENCIES = $(BUILD_TREE)/nss/$(LIBRARY_NAME)/.md
else
BUILD = $(BUILD_TREE)/nss
OBJDIR = $(BUILD_TREE)/nss
DEPENDENCIES = $(BUILD_TREE)/nss/.md
endif
else
BUILD = $(PLATFORM)
OBJDIR = $(PLATFORM)
DEPENDENCIES = $(PLATFORM)/.md
endif
DIST = $(SOURCE_PREFIX)/$(PLATFORM)
ifdef BUILD_DEBUG_GC
DEFINES += -DDEBUG_GC
endif
GARBAGE += $(DEPENDENCIES) core $(wildcard core.[0-9]*)
MK_LOCATION = included

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