Compare commits

..

918 Commits

Author SHA1 Message Date
cltbld%netscape.com
3293a60c3c pull from the eventual tag, leaf checking in as cltbld
git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_RELEASE_MINIBRANCH@137770 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 18:29:50 +00:00
(no author)
491cca7387 This commit was manufactured by cvs2svn to create branch
'NETSCAPE_7_02_RELEASE_MINIBRANCH'.

git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_RELEASE_MINIBRANCH@137083 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-29 18:49:01 +00:00
cltbld%netscape.com
dfa8c6f86e updating to use branch tag NETSCAPE_7_02_BRANCH
git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137082 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-29 18:49:00 +00:00
(no author)
95568f7f6c This commit was manufactured by cvs2svn to create branch
'NETSCAPE_7_02_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@135050 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 19:26:11 +00:00
danm%netscape.com
9e8212e87c set UserState to match when window is sized or moved. bug 167663 r=dveditz,pinkerton,sfraser a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@134047 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 21:17:19 +00:00
darin%netscape.com
835db046b3 fixes bug 179983 "prefetching is broken on the 1.0 branch"
r=gordon sr=dveditz a=brendan ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@133818 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 05:09:01 +00:00
mstoltz%netscape.com
f3f23982f7 Bug 91043 - Disallow cross-origin access to HTMLDocument.write and writeln.
r=pavlov, sr=dveditz, a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@133801 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 01:14:41 +00:00
cavin%netscape.com
cbc1d68832 Fix for bug 169219. Check if the redirector type is an empty string as well. r=naving, sr=sspitzer, a=rjesup.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@133692 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 20:45:59 +00:00
darin%netscape.com
891ff56586 fixes bug 179026 "URL parameter containing non-ASCII characters is not
parsed correctly" r=dbradley sr=dveditz a=rjesup ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@133678 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:22:06 +00:00
bryner%netscape.com
5dc878b30c Bug 170001 - fix memory corruption resulting from trying to allocate a nsDOMMutationEvent from storage that is 4 bytes too small. r=dbaron, sr=jag, a=jesup.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@133230 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 00:19:42 +00:00
dveditz%netscape.com
715acf04b4 Prevent crash in ShellExecute() on some versions of windows (bug 161357) r=mstoltz,sr=darin,a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@133115 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 05:15:29 +00:00
ducarroz%netscape.com
5b849ee543 Fix for bug 162842.
When we parse a message, we emitt the main message headers as well the headers
of embedded messages. We must call nsIMsgMailNewsUrl::SetMimeHeaders only for
the main headers.
R=sspitzer, SR=bienvenu, A=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@133096 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 03:00:02 +00:00
rods%netscape.com
c2a4989a09 With Roy's suggestion, plus there is no need to convert the Printer Name using
GetACPString inside CreateGlobalDevModeAndInit, it is always passed in correctly.
We could convert the name inside CreateGlobalDevModeAndInit, but all the
platform calls require a LPTSTR, so this is the best way.
Bug 167128 sr=blizzard r=dcone a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@133030 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 20:53:55 +00:00
rods%netscape.com
4c7844ee93 fixes iframe display issue
Bug 167775 r=dcone sr=kin a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@133029 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 20:48:53 +00:00
rods%netscape.com
6d8a4d5b3e Fixes the iframe placement issue
Bug 129034 r=kin sr=dveditz a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@133028 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 20:47:08 +00:00
darin%netscape.com
4f54d75685 fixes bug 177326 "Mozilla rapidly repeats requests multiple times"
r=dougt sr=rpotts a=blizzard ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@133001 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 04:43:50 +00:00
dveditz%netscape.com
69f28efb74 fix for topcrash bug 146466, r=sgehani/rjc, sr=bzbarsky, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132987 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 02:48:17 +00:00
jaggernaut%netscape.com
2d857b89d4 "oops". Fixing bustage.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132928 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-04 13:26:15 +00:00
jaggernaut%netscape.com
f79343a4fb Bug 171274: check parent shell type for primary content frames. r=dbaron, sr=jst, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132927 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-04 12:27:19 +00:00
dveditz%netscape.com
55433fdc5a prevent heap overrun from corrupt zip archive (bug 157646) r=mstoltz,sr=darin,a=roc/chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132902 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-02 06:37:28 +00:00
dveditz%netscape.com
6a2d401bf4 prevent heap buffer overrun from corrupt jar (bug 164695) r=mstoltz,sr=darin,a=roc/chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132901 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-02 06:35:50 +00:00
caillon%returnzero.com
4c1b38605a 162393 - Make our content area click code and link handling code more robust.
r=bzbarsky sr=jag a=asa,shaver,roc+moz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132850 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-01 23:59:59 +00:00
cltbld%netscape.com
24d9e943f2 updating version to 1.0.2
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132804 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 23:53:09 +00:00
darin%netscape.com
00b2f23625 fixes bug 162520 "possible princeton-style password stealing exploit" and
fixes bug 175495 "Password Manager reprompts whether or not to save passwords
it already has stored" r=morse sr=dveditz a=asa ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132766 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 06:33:24 +00:00
darin%netscape.com
316833dcb0 fixes bug 174984 "Prefetch requests should send Referer"
r=gagan,mstoltz sr=bzbarsky a=valeski ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132763 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 06:12:44 +00:00
heikki%netscape.com
89bf3093f9 Bug 152701, XMLExtras properties should not be available in mailnews. r=harishd, sr=dveditz, a=brendan.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132759 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 04:27:05 +00:00
timeless%mozdev.org
d23ad2a655 Bug 137033 Chrome buttons remain highlighted after dropdown item selected
patch by kyle.yuan@sun.com r=ben sr=bryner a=jesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132758 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 03:27:40 +00:00
timeless%mozdev.org
affc998e47 Bug 127842 Reload the Bookmark and History tab context menu in sidebar crashes mozilla - Trunk M100 N70PR1 [@ nsXULTreeBuilder::GetTemplateActionCellFor]
patch by varga@netscape.com r=bryner sr=shaver a=jesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132757 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 03:22:26 +00:00
morse%netscape.com
c8ed6d408a bug 174104, secure cookies not recognized as secure, r=mstoltz, sr=dveditz, a=chofmann a=buckland
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132756 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 03:20:41 +00:00
dbradley%netscape.com
59f7944824 Bug 169902 - nsStandardURL::Resolve pass wrong length in some cases to ParseURL. r=dougt, sr=darin, a=brendan. NOTE: This contains only the nsURLParsers.cpp part of this patch. The nsStandardURL.cpp part was not applicable on the branch.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132751 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 02:35:29 +00:00
sfraser%netscape.com
e23174a81c Fix for bug 168831: PR_Poll on mac ignoring data buffered in io layers. module r=wtc. a=be/adt.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132750 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 02:28:33 +00:00
jpierre%netscape.com
0cc0ffae77 Add TC TrustCenter 2 & 3 roots . Bug # 169038 . a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132744 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 00:43:59 +00:00
mstoltz%netscape.com
3d38871d04 Bug 168316 - When Java calls into JS, add an extra frame to the top of the
JS stack with principal informtaion for the security manager.
r=dveditz, sr=jst, a=chofmann, buckland


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132680 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 03:29:40 +00:00
brendan%mozilla.org
5bebf21ae6 Fix lightweight function call code gen to select JSOP_POP always, to avoid contending for js_Interpret's *result pigeon-hole (176125, r=shaver, a=tor).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132624 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-29 02:11:20 +00:00
shliang%netscape.com
45ebb0480f bug 174765 - add popup blocking backend. r=dveditz,sr=jag,a=chofmann.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132546 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-26 00:19:59 +00:00
(no author)
a4938dfaba This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132506 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 04:46:20 +00:00
kin%netscape.com
931891d08a Fix for bug 159363: Text overlaps image (ESPN.com)
- Place right floaters at the unconstrained right edge during an unconstrained reflow. This ensures that the floater will be repositioned when the constrained reflow comes around.

- Fixed |if| expression that was used to detect whether or not we were trying to do an unconstrained reflow.

r=karnaze@netscape.com
sr=dbaron@fas.harvard.edu
a=chofmann@netscape.com
adt=buckland@netscape.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132407 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 20:21:04 +00:00
sdagley%netscape.com
617073babe Landing #56589 - shared menu support for OS X - on MOZILLA_1_0_BRANCH. r=bnesse,sr=sfraser,a=buckland and rjesup(for drivers)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132383 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-22 23:36:40 +00:00
karnaze%netscape.com
ccdeff9a22 bug 141021 - Add NeedPass2Reflow flag. a=chofmann,jaimejr, sr=waterson, r=bernd.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132380 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-22 21:33:18 +00:00
darin%netscape.com
0a4ca85593 fixes bug 151478 "https wyciwyg page is cached" r=mstoltz sr=rpotts a=rjesup ADT+
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132338 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-21 22:10:05 +00:00
shanjian%netscape.com
8a3d8a5d95 In my previous checkin, mac does not like this style #include "../src/cp1252.ut",
I just copy every from that file to here. It is basically the same thing as last checkin.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132287 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-19 04:22:13 +00:00
nhotta%netscape.com
2e3f19f3a8 Convert formatted date to NCR like we do for string bundles,
bug 169081, r=shanjian, sr=jst, a=chofmann.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132286 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-19 02:41:28 +00:00
shanjian%netscape.com
4f30ae79e3 #149417 Treat US-ASCII as ISO-8859-1 (Meta chaset tag)
r=ftang, sr=alecf
a=adt, choffman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132285 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-19 01:59:55 +00:00
cltbld%netscape.com
457cb25646 updated version for 7.01
Bug# 20487 - r=jj/sr=leaf/a=adt
ycalonje checking in as cltbld


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132259 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 20:24:34 +00:00
cbiesinger%web.de
358b717d94 bug 110076 patch by paper r=biesi sr=tor a=jesup Access violation in Trunk M100 N70PR1 [@ imgContainer::StartAnimation]
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132256 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 19:48:56 +00:00
karnaze%netscape.com
285bb2dfd5 Fix regression tests to get viewer from dist/bin, not affecting the build.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132237 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 14:11:06 +00:00
loadrunner%betak.net
984252a3ca b173552 inconsistent en-mac/en-unix in different platform langenus.xpi files, r=cls, tao, sr=sfraser, dveditz, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132176 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 20:16:55 +00:00
loadrunner%betak.net
dd1a1a49b3 b173552 inconsistent en-mac/en-unix in different platform langenus.xpi files, r=cls, sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132174 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 20:13:47 +00:00
dbragg%netscape.com
709509fd15 b173552, Inconsistent en-mac/en-unix in different platform langenus.xpi files, r=cls, tao, rs=sfraser, sr=dveditz, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132166 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 19:52:58 +00:00
dbragg%netscape.com
36da25c43e b 173552, Inconsistent en-mac/en-unix in different platform langenus.xpi files, r=cls, tao, rs=sfraser, sr=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132165 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 19:50:57 +00:00
rjesup%wgate.com
34cfc1a3e4 Bug 93015: (1.0 branch checkin) Fix problems with onload timing; with
memory cache entries being evicted incorrectly (images not loaded on Back
with a disabled disk cache); with loadflags (wrong document channel
assertions), and avoiding useless progress notifications for images loaded
by imglib (they belong to the proxy loader).  Subsumes bug 171053, bug
129795, and bug 150142.  r=rpotts, sr=darin a=brendan/asa/shaver (171053
is r=jst, sr=darin, a=rjesup)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132163 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 19:38:33 +00:00
darin%netscape.com
e9a2d8c01a link prefetching (default disabled) b=12274 r=gagan sr=rpotts a=rjesup ADT+
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132121 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 00:48:19 +00:00
darin%netscape.com
ff70d62e5a fixing more WIN32 bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132117 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 00:27:11 +00:00
darin%netscape.com
af9249ef04 fixing REQUIRES bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132116 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 00:23:48 +00:00
darin%netscape.com
75700356ca landing link prefetching disabled by default b=12274 r=gagan sr=rpotts
a=rjesup ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132104 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 23:15:34 +00:00
darin%netscape.com
7b272ad3aa adding new files for link prefetching b=12274 r=gagan sr=rpotts a=rjesup ADT+
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132102 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 23:08:38 +00:00
naving%netscape.com
4d0af44652 173357 r=cavin sr=bienvenu a=chofmann
173399 sr=sspitzer a=chofmann
fixing compact folder bugs


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132068 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 05:47:48 +00:00
kaie%netscape.com
c31b92b894 b=171220 Profile switching network teardown race condition with NSS shutdown
r=ccarlen sr=darin a=rjesup adt=buckland


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132050 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 00:49:24 +00:00
sfraser%netscape.com
42831eb44b Fix bug 157837 on the branch (broken scroll bar arrows). r=pink, sr=bryner, a=drivers.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132049 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 00:38:33 +00:00
dveditz%netscape.com
d6722475ca fixing bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132014 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 07:51:18 +00:00
dveditz%netscape.com
044063fb66 Fix WinXP SP1 install crash where an OS change in DLL search order sometimes picked up incompatible zlib.dll's from other applications (bug 167515) r=syd,sr=mscott,a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@132009 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 03:57:18 +00:00
oeschger%netscape.com
d7158d18a1 updating help content, rubber-stamped per bug 122806, r=robinf
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131983 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 21:19:06 +00:00
cltbld%netscape.com
a3b8660d79 updated version for 1.2b release. ycalonje checking in as cltbld.
r=jj,sr/a=leaf
Bug# 173833


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131971 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 18:01:53 +00:00
cltbld%netscape.com
281d61b5eb Updated version to 1.0.2 Bug#173833 r=jj,sr/a=leaf ycalonje checking in as cltbld
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131968 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 17:55:00 +00:00
srilatha%netscape.com
9e8f767b56 Fix for bug # 173304. Added the wizard pages to account wizard.
r=suresh@netscape.com, sr=sspitzer@netscape.com, a=valeski@netscape.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131946 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 02:35:00 +00:00
srilatha%netscape.com
59e561ca4d Fix for bug #173267. Added a method to get NCProfile stings from the registry
r=ccarlen@netscape.com, sr=sspitzer@netscape.com, a=valeski@netscape.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131945 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 02:31:42 +00:00
wtc%netscape.com
2de6db2be6 Bug 171198: allow forced removal of certs from temp cert store.
r=wtc. sr=relyea. a=rjesup@wgate.com and adt+ for mozilla 1.0 branch.
Modified Files:
Tag: MOZILLA_1_0_BRANCH
	certdb/stanpcertdb.c pk11wrap/pk11cert.c pki/pkistore.c
	pki/pkistore.h


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131851 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-12 00:33:25 +00:00
mstoltz%netscape.com
37d02f25e7 Bug 163648 - Allow "blacklisting" of potentially dangerous external protocol handlers
using prefs. Initially blacklisting vbscript, hcp, ms-help, vnd.moz.radio,
and javascript (as an external handler). r=darin, sr=dveditz, a=rjesup.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131747 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 23:59:37 +00:00
timeless%mac.com
6a2866c46f Bug 166371 Crashes at [@ nsThreadPool::Shutdown] in Trunk, N700
r=bz sr=darin a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131643 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 22:20:37 +00:00
darin%netscape.com
f915f7506b fixes bug 173147 "increase redirection limit to 20" r=dougt sr=heikki
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131641 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 22:14:47 +00:00
brendan%mozilla.org
d467a55f72 Null defense to stop 1.0 branch topcrash (167622, r=jrgm, sr=ben, a=rjesup).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131628 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 21:30:22 +00:00
dcone%netscape.com
6476a68e42 b=162747 r=rods sr=kin a=rjesup@wgate.com Update the background tiling update with that of the branch. Scrolling should
increase in speed with these changes.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131532 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:50:23 +00:00
naving%netscape.com
483f69e2fd 123402 r=timeless sr=bienvenu a=rjesup make sure timestamp of last auto-compact is set
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131517 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 00:49:31 +00:00
naving%netscape.com
a36501afb8 70322 r=cavin sr=bienvenu a=rjesup Make sure we don't crunch existing nstmp file.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131515 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 00:45:13 +00:00
jaggernaut%netscape.com
40405bcc78 Bug 118835: add support for home page groups. r=law, sr=hewitt, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131510 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 00:26:36 +00:00
bienvenu%netscape.com
0002ab0955 add support for getting custom command results from imap url 172453 r=cavin, sr=sspitzer, a=rjessup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131451 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 19:42:05 +00:00
bienvenu%netscape.com
b864807765 add support for imap undelete cmd to view, r=cavin, sr=sspitzer, a=rjessup 172452
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131449 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 19:38:43 +00:00
loadrunner%betak.net
920e9e494c b172679, Regarding to fix 172075, for Content pack (need update) appears, r=tao, sr=blizzard, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131448 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 19:29:58 +00:00
sspitzer%netscape.com
4772048140 fix for #172085. override smtp redirector type based on hostname.
r=cavin,sr=bienvenu,a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131441 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 18:42:40 +00:00
sgehani%netscape.com
511639a860 Fix spurious update notifications and rely on necko for browser version.
b=166448; r=harishd; sr=dveditz

*** NOT PART OF BUILD YET ***


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131359 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 02:01:24 +00:00
loadrunner%betak.net
8ad284afc5 b172075, Need to flip chrome locale version from 1.0.1rc1 to 1.0.2 in brand.dtd, r=tao, sr=blizzard, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131118 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 00:45:56 +00:00
kaie%netscape.com
0c68d5fce1 b=141612 Misconfigured SSL web sites cause "unknown authority" messages. Enhance the shown error message.
r=javi sr=dveditz adt=dveditz a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131113 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 00:07:20 +00:00
dbaron%fas.harvard.edu
03a0d0c951 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. This also fixes the association of label elements with text inputs (bug 28657). b=96813 r=jkeiser/bzbarsky sr=jst a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131033 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 00:21:31 +00:00
dbaron%fas.harvard.edu
bfff01a497 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. This also fixes the association of label elements with text inputs (bug 28657). b=96813 r=jkeiser/bzbarsky sr=jst a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@131032 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 00:20:17 +00:00
karnaze%netscape.com
9784c0a456 bug 167915 - remove 2nd patch in bug 138725 and install the 1st. a=rjesup, adt=dveditz, sr=kin, r=jkeiser
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130965 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-02 04:13:14 +00:00
heikki%netscape.com
5888a9563d Bug 169982, seems like the earlier checkin failed partially. Adding missing parts. r=mstoltz, sr=jst, a=choffmann,dveditz.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130830 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 22:27:14 +00:00
heikki%netscape.com
df48be254c Bug 169982, serializeToStream needs same origin check. r=mstoltz, sr=jst, a=chofmann.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130645 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-28 04:55:07 +00:00
bienvenu%netscape.com
342a2e9737 fix 100% cpu useage loading msg with background image, from trunk 98626 a=dveditz,rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130606 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 19:45:52 +00:00
ftang%netscape.com
61e86fe725 move the trunk fix of 164204 into branch for yokoyma
- Need to create a caret before calling ImmSetCandidateWindow()
this is a work-around of a bug with MS PinYin.
- Caret is created when we receive StartComposition()
and is destroyed when we receive EndComposition()
- impact only in WinXP with MS PinYin
r=shanjian sr=jst a=chofmann/dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130410 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 06:25:05 +00:00
sspitzer%netscape.com
9288edfd08 fix HPUX build bustage by adding a newline.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130390 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 23:31:02 +00:00
sspitzer%netscape.com
5d5db79f7b extensions / improvements for imap accounts with special redirector types.
don't collect incoming mail by default.  r/sr=bienvenu, a=putterman for 1.0 branch.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130368 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 20:27:26 +00:00
sspitzer%netscape.com
eb3dce191e new file.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130367 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 20:21:38 +00:00
darin%netscape.com
e252d45c54 fixes bug 166479 "DNS: user resinit() to update DNS list when lookup fails
(changing networks, DHCP, etc.)" r=dougt sr=blizzard a=brendan


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130331 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 03:57:22 +00:00
sfraser%netscape.com
5eabc6556d Fix bug 137295 (gaps in images) on the 1.0 branch. r=pinkerton, sr=beard. a=rjesup, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130294 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 21:50:57 +00:00
cbiesinger%web.de
c8431a1c2d bug 100846 patch by netdemonz@yahoo.com r=biesi sr=jag a=jesup turbo: should get back on system tray after explorer.exe crash
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130284 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 21:00:35 +00:00
darin%netscape.com
8a4f3c2b0e fixes bug 158500 "Binary data in multipart/x-mixed-replace get an extra
line end when saved or viewed." r=dougt sr=bzbarsky a=rjesup adt+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130260 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 18:49:11 +00:00
darin%netscape.com
682db95daa fixes bug 141641 "disabling cross-site HTTPS referrers breaks sites"
r=mstoltz,bbaetz sr=dveditz a=rjesup adt1.0.2+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130259 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 18:43:00 +00:00
alexsavulov%netscape.com
0144166907 fix for topcrash+ bug 146308 (the fix is technicaly the same like the one
for bug 143706 by David Baron)
sr= kin r= alexsavulov a= rjesup. the fix was requested by adt.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130209 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 20:11:18 +00:00
rpotts%netscape.com
a9616a0ca1 bug #169583 (r=jud, sr=darin). Allow the URILoader to continue looking for a consumer if a ContentHandler returns NS_ERROR_WONT_HANDLE_CONTENT
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130190 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 00:44:35 +00:00
shanjian%netscape.com
6e179e596c #169858 Browser--Can not login CMB website.
Suppress autodetection notification when charset source is higher.
r=jkeiser, jebak, sr=jst.
a=valeski, adt, a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130168 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 19:49:14 +00:00
shanjian%netscape.com
b1a3e2a620 #169858 Browser--Can not login CMB website.
post doc populate its charset to child frame to disable autodetection.
r=jkeiser, jebak, sr=jst.
a=valeski, adt, a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130167 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 19:48:13 +00:00
ccarlen%netscape.com
3d5a2b4af0 Bug 169683 - CHeaderSniffer is passing wrong flags to nsIWebBrowserPersist. r=pink/sr=sfraser/a=blizzard
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130158 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 18:44:01 +00:00
chak%netscape.com
94dd9c8333 Fix for Bugscape #19986 - Add(and comment out) OJI/LiveConnect files
r=adamlock,bnesse, sr=darin,rpotts
a=edt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130077 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 20:01:54 +00:00
peterlubczynski%netscape.com
800b1a4696 Fixing [OSX] Inline IME does not work in composer and text area when the Flash 6 plugin is running bug 159016 r=ftang sr=sfraser a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@130005 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 02:15:43 +00:00
peterlubczynski%netscape.com
fb3cadc94a Fixing bug 137231, can't show plugins that start out hidden sr=kin, r=serge, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129877 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 03:40:45 +00:00
dcone%netscape.com
3dcf39ccd4 137982 r=dcone sr=sfraser a=asa Fixes widgets drawing in the wrong places on the mac
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129862 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 01:49:54 +00:00
ccarlen%netscape.com
5598521fb3 Bug 154880 - dropdown lists do not go away in PPEmbed when click occurs outside of it. r=pink/sr=sfraser/a=rjesup@worldgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129854 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 00:54:25 +00:00
smontagu%netscape.com
b1a4916e76 Bug 161556: Arabic bitmap fonts are printed too small. Author=Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=darin, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129850 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 00:18:43 +00:00
rpotts%netscape.com
21ad91ddd0 bug #145579 (r=darin, sr=jst) send the correct referrer for images...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129849 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 00:17:10 +00:00
ccarlen%netscape.com
bfa6d9a346 Bugscape 8854 - Allow embedding clients to access background images from context menu listeners. r=pinkerton/sr=alecf/a=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129848 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 00:01:53 +00:00
ccarlen%netscape.com
db9d15b0db Adding new files for bugscape 8854 - Allow embedding clients to access background images from context menu listeners. r=pinkerton/sr=alecf/a=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129847 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 23:53:33 +00:00
rpotts%netscape.com
d98370f0e3 bug #142976 (a=rjesup). Fix storage transport to fire OnStopRequest for failures -- this impacts https: sites.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129824 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 21:25:20 +00:00
loadrunner%betak.net
4db6393558 b168588, Hardcoded strings in Gopher search alert, r=yokoyama, sr=bryner, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129809 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 20:00:00 +00:00
nhotta%netscape.com
87936510e8 Added 'styl' for D&D, the style run is created from script runs
which is generated after the text is converted from Uincode,
bug 168041, r=pink, sr=sfraser, a=rjesup@wgate.com, edt.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129804 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 19:36:48 +00:00
dougt%netscape.com
9732d10297 550 errors cause ftp to spin. r=bbaetz, sr=darin, a=rjesup@wgate.com, b=162326
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129755 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 22:03:33 +00:00
cbiesinger%web.de
5f53ccac3b bug 166886 r=pavlov,jesup sr=tor a=jesup crash loading .icos (on Tru64, possibly elsewhere), bit of cleanup (everywhere)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129735 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 19:33:51 +00:00
cltbld%netscape.com
20cce8ad8b updated mac getinfo strings for mozilla 1.0.2, bugzilla 168307. r=lpham sr/a=leaf. ycalonje checking in as cltbld.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129723 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 17:48:47 +00:00
cltbld%netscape.com
d05a65ee2b Updated Desktop Get Info version to 1.0.2 Bug# 989598. ycalonje checking in as cltbld
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129722 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 17:42:54 +00:00
(no author)
01d0f5d48a This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129695 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 13:54:29 +00:00
karnaze%netscape.com
f86d301fe7 bug 160014 - re-calc cell spacing total when balancing. a=rjesup, edt=valeski, sr=kin, r=kmcclusk
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129637 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 03:52:50 +00:00
leaf%mozilla.org
c1377636bb update localeVersion to 1.0.2
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129623 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-14 19:25:13 +00:00
mjudge%netscape.com
af905fb0cf old build system requires this file to be updated not just makefile.in
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129534 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 18:37:22 +00:00
bnesse%netscape.com
7a7fcabcca Fixing branch bustage... bad xml checkin.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129532 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 18:14:20 +00:00
darin%netscape.com
e3a0ace815 hoping to fix mac build bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129529 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 15:56:08 +00:00
sfraser%netscape.com
4ca5fbaa54 Add nsISelectionImageService.idl to the IDL project. Bug 14835. Checking into branch for mjudge, with all appropriate permissions.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129457 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 00:11:15 +00:00
mjudge%netscape.com
2ac6bd0cce 14835 landing on branch. adds image highlighting for selection in browser and any composer. fixes include all patches from bug. works on unix/mac and windows
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129455 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 00:05:14 +00:00
mjudge%netscape.com
bcf21e26a5 14835 landing on branch, fix for mac tiling code. need to not draw out of bounds
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129454 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 23:59:15 +00:00
darin%netscape.com
deb9bad8e0 fixes bug 166396 "embedders should be able to override the default socket
type used for HTTP connections" r=dougt sr=rpotts a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129416 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 20:49:11 +00:00
lpham%netscape.com
7861730db0 update to 1.0.2 for Mozilla 1.0.2 release
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129409 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 20:22:28 +00:00
beard%netscape.com
90e229ebb8 Fix for bug #168064, crash when ~/Library/Logs doesn't exist. r=bnesse, sr=sfraser, a=rjesup@wgate.com.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129402 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 19:55:33 +00:00
(no author)
b2fbc6f6a8 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129395 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 19:42:17 +00:00
brade%netscape.com
aff66455d3 don't scroll down when typing spaces in text widgets in browser (bug 26882, r=akkana, sr=sfraser, a=rjesup)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129344 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 14:27:59 +00:00
bolian.yin%sun.com
e1dd7c3a6e Bug 120464, [PATCH] Netscape 6.21 Beta locked the CDE(dtlogin process).
patch by joshua.xia@sun.com,  r/sr=blizzard a=rjesup@wgate.com for MOZILLA_1_0_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129314 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 05:46:53 +00:00
shanjian%netscape.com
464ef37bfe #161328 CJK string is not breakable before joined frames
change name from aIsBreakable to aCanBreakBefore,
apply RevertSpaceToNBSP in all situations.
make a word to be breakable before if it is not the first word.
r=rbs, sr=bzbarsky, a=edt, chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129292 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 01:39:06 +00:00
shanjian%netscape.com
3fa461dddf #162894 Extend universal detector's coverage to include iso-8859-1
r=roy, sr=jst, a=edt, chofmann
added a latin1 prober to detect iso-8859-1 (cp1252);


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129291 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 01:32:01 +00:00
rjesup%wgate.com
060b29f892 Bug 126346: iframes don't inherit text zoom (1.0 branch checkin).
r=dbaron sr=jst a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129286 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 00:45:57 +00:00
dougt%netscape.com
a2952a3278 Linux/SPARC w/GCC3 xptcall broken. patch by davem@redhat.com, sr=shaver@mozilla.org, b=144368
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129280 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 20:47:44 +00:00
peterlubczynski%netscape.com
7f15cdb2f9 Fix for topcrash bug 146538 browser may crash on startup if a plugin does not register any file extensions: GIB ActiveX Object (NPchargitplug.dll) may crash in [@ AddPluginInfoToRegistry] N700, branch r=av sr=beard a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129279 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 20:44:56 +00:00
dbaron%fas.harvard.edu
05327735d6 Make the declarations of colors for radio buttons and check boxes important, so they are unstylable (and styles in web pages don't cause them to disappear). b=58755 (and 164484) r=jkeiser (and bbaetz) sr=bzbarsky a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129278 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 20:39:31 +00:00
kin%netscape.com
703a40f096 Fix for bug #96736: [FLOATER]The "Top 1000 Reviewer" is overwritten by text
mozilla/layout/base/src/nsSpaceManager.cpp
  mozilla/layout/base/src/nsSpaceManager.h

    - Implemented nsSpaceManager methods PushState() and PopState().

  mozilla/layout/html/base/src/nsBlockReflowContext.cpp

    - Modified nsBlockReflowContext::DoReflowBlock() to
      call PushState() and PopState() to remove any
      floaters that may have been added to the SpaceManager
      during the intermediate "unconstrained" Reflow()
      call, used to calculate the max block width. This
      allows the Reflow() call that immediately follows
      it to properly place the floaters.

r=waterson@netscape.com  sr=dbaron@fas.harvard.edu
a=rjesup@wgate.com (on behalf of drivers@mozilla.org)
a=chofmann@netscape.com (on behalf of edt@netscape.com)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129277 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 20:29:48 +00:00
dbaron%fas.harvard.edu
fd4401ea3a Make BR-related parts of the quirky inline box model also quirky in almost-standards mode, to match the rest of the inline box model quirks. b=161691 sr=bzbarsky r=caillon a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129275 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 20:14:26 +00:00
nhotta%netscape.com
9f60ee00ed Add a code to unescape with a charset for a non ASCII file name,
bug 163682, r=jbetak, sr=bzbarsky, a=rjesup@wgate.com.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129274 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 19:51:34 +00:00
(no author)
fa7107e8a1 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129224 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 03:12:14 +00:00
kmcclusk%netscape.com
d65cefde11 Change PLEvent notification to dynamically switch between posting WM_APP messages and timers based on event starvation to prevent UI lockup and paint starvation during long page loads r=dougt sr=kin a=rjesup@wgate.com bug 157144
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129179 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 23:46:08 +00:00
neeti%netscape.com
daf7f72251 fix for bug 141784 - ftp.gigo.com does not connect, r=dougt, sr=darin, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129164 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 18:21:26 +00:00
darin%netscape.com
c67e224e13 fixes bug 143541 "SMTP via SSL via SOCKS fails to connect to server."
r=dougt sr=rpotts a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129162 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 18:05:43 +00:00
locka%iol.ie
95d2f59301 Add XMLExtras to embedding dist. b=166608 a=valeski@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129160 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 17:20:19 +00:00
smontagu%netscape.com
9a9299fe8e Back out bidi visual selection. Bug 76190, r=mjudge, sr=kin, a=rjesup@wgate.com, edt1.0.2+=jaimejr.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@129159 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 17:19:33 +00:00
cbiesinger%web.de
b6a48ebabe bug 166379 r=paper sr=tor a=jesup
Image crashes on repaint  [@ nsImageWin::DrawComposited24] N700, M1BR
(topcrasher)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128969 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 17:45:28 +00:00
nhotta%netscape.com
7e7360ead0 Remove BOM (Byte Order Mark) in 'utxt' for clipboard and drag&drop,
bug 165266, r=pinkerton, sfraser, a=chofmann.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128841 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 20:20:32 +00:00
nhotta%netscape.com
df9ca779c4 Changed the native conversion to return script runs then use it to create 'styl',
bug 163908, r=pink, sr=sfraser, a=chofmann.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128840 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 20:15:37 +00:00
nhotta%netscape.com
b7e6d2b2f1 Adding files to create 'styl' from script runs,
bug 163908, r=pink, sr=sfraser, a=chofmann.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128839 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 20:14:32 +00:00
andreas.otte%debitel.net
bb57889ebe fix bugs 166085 and 166175, both regressions from bug 163225, remove
assertions and cleanup JSProtocolhandler to work with deferred
handling of BaseURIs. r=bzbarsky, sr=darin, a=brendan (missing file
from previous checkin)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128837 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 20:10:58 +00:00
andreas.otte%debitel.net
1406d0810c fix bugs 166085 and 166175, both regressions from bug 163225, remove
assertions and cleanup JSProtocolhandler to work with deferred
handling of BaseURIs. r=bzbarsky, sr=darin, a=brendan


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128836 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 19:27:02 +00:00
nhotta%netscape.com
2e762cff2b Adding files to create 'styl' from script runs,
bug 163908, r=pink, sr=sfraser, a=chofmann.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128833 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 17:39:32 +00:00
(no author)
55f79f3b63 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128785 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 00:57:14 +00:00
andreas.otte%debitel.net
060a0196ac fix bug 32966 [http:/ (one slash) treated as http:// rather than /]
and bug 163225 [success or failure of ExtractScheme is not enough to
decide if a url is absolute or relative] this two patches add backwards
compatibility support for deprecated relative urls like http:file or
http:/file; r=bbaetz, sr=darin, a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128579 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 19:26:40 +00:00
timeless%mac.com
5680af36f7 Bug 135811 Crash after infinite recursion:
nsContentTreeOwner::FindItemWithName -> nsDocShell::FindItemWithName ->
nsDocShell::FindItemWithName (loop back to nsContentTreeOwner) - Trunk M1BR [@ ntdll.dll -
nsDocShell::FindItemWithName] [@ MSVCRT.DLL - nsWritingIterator<unsigned short>::write]
patch by adamlock r=mjudge sr=jst a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128572 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 18:12:17 +00:00
ccarlen%netscape.com
65e85ccc14 Bug 162845 - PPEmbed needs native impl of download progress UI. r=pinkerton/sr=sfraser/a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128548 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 11:35:54 +00:00
dbradley%netscape.com
76ce3d6bdd Bug 153034 - FreeBSD 5.0-current's gcc uses thunks. r=rjesup@wgate.com, sr=jst@netscape.com, a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128526 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 04:34:38 +00:00
beard%netscape.com
22677d5796 Prepends plugin classes to the beginning of the boot class path, to fix part 2 of bug #164712. r=sdagley, sr=sfraser, a=chofmann.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128518 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 02:35:12 +00:00
(no author)
016a9556b5 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128514 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 01:22:44 +00:00
timeless%mac.com
69a00dc5b1 Bug 164731 wrong accesskey in bookmarks.xul
r=caillon rs=darin a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128485 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 21:10:39 +00:00
nhotta%netscape.com
f9fb281ca6 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=chofmann.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128395 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 22:46:22 +00:00
nhotta%netscape.com
04f45957e8 Adding new files for utitily functions to convert between native script and Unicode,
bug 108029, r=pinkerton, sr=sfraser, a=chofmann.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128393 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 22:43:52 +00:00
beard%netscape.com
7d90be2f8f Fix for bug #164712, r=pinkerton, sr=sfraser, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128326 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 06:31:18 +00:00
pinkerton%netscape.com
5cb2869231 make toplevel widget the size of the grayRgn to prevent region coordinate overflow problems and shearing when scrolling (r=sdagley/sr=sfraser/a=chofmann) bug 162885.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128280 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 20:02:57 +00:00
pinkerton%netscape.com
03e0b54faa fix shearing during scrolling in embedding apps on 10.2 (r=ccarlen/sr=sfraser/a=chofmann) bug 162885
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128279 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 20:02:14 +00:00
shanjian%netscape.com
f716653de7 #162377 Non-ASCII filename is not shown when saving and downloading from a ftp listing
p=naoki, r=ftang, sr=bzbarsky
a=adt, chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128202 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:45:08 +00:00
shanjian%netscape.com
c87cdcf046 #161174 Hotmail Chinese attachment filename is displayed as question marks on download file dialog
p=naoki, r=ftang, sr=bzbarsky
a=adt, chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128201 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:43:01 +00:00
shanjian%netscape.com
11f30067e3 #162523 Java Script doesn't carry over the charset for the url containing non-ascii chars
p=naoki, r=ftang, sr=bzbarsky
a=adt, chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128200 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:41:49 +00:00
shanjian%netscape.com
b0d76ec9b7 #155569 null filename (+ extension) used for downloading files with non-ASCII names
p=naoki, r=ftang, sr=bzbarsky
a=adt, chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128198 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:40:22 +00:00
shanjian%netscape.com
4506ae6ca4 #155569 null filename (+ extension) used for downloading files with non-ASCII names
p=naoki, r=ftang, sr=bzbarsky
a=adt, chofmann
This checkin also contains change in 161174.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128197 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:40:09 +00:00
shanjian%netscape.com
ed3ccc1c71 #162949 Line wrapping: suspension points are placed at the beginning of a new line.
change u+2024, u+2025,u+2026 to class 1.
p=ftang, r=shanjian, sr=rbs, a=adt, chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@128191 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 00:52:23 +00:00
leaf%mozilla.org
c251af12c6 fix include path problem for nmake builds
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127950 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 14:54:17 +00:00
jkeiser%netscape.com
dd78defeb7 Restrict access to anonymous content (bug 164086), r=sicking@bigfoot.com, sr=bryner@netscape.com, a=choffman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127941 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 11:43:32 +00:00
jkeiser%netscape.com
f3e5faac05 Fix file event.originalTarget problem (bug 163598), r=joki@netscape.com, sr=jst@netscape.com, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127842 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 06:05:20 +00:00
shanjian%netscape.com
86f44a2085 #bug 162239 POST document could not inherit charset from previous page
if the previous charset is from autodetection.
Add PrevDocCharset field and use it for POST document charset resolution.

r=ftang, darin    sr=jst, a=adt, chofman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127752 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 04:27:41 +00:00
danm%netscape.com
426b359079 reverting previous checkin because of regressions 163718, 163710 a=brendan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127747 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 02:26:40 +00:00
dveditz%netscape.com
e66f9ca801 Wrap a pref around the fix for bug 154930 and default to the old behavior in 1.0. r=syd,sr=jsr,a=drivers,adt+
(see also evangelism bug 160339)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127688 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 05:11:25 +00:00
danm%netscape.com
b7ea04ce8b reorder Destroy() sequence and remove new window creation check from bug 115969 (rev 1.89 of .cpp). bug 130719 r=brendan,pavlov a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127684 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 04:33:20 +00:00
danm%netscape.com
9e54950fbd exit the app from Quit() only if all windows could be closed. bug 130719 r=brendan,pavlov
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127683 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 04:30:27 +00:00
danm%netscape.com
e6092f51d0 CheckForAbusePoint spreads to Alert,Confirm,Prompt. because of bug 130719. r=brendan,pavlov a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127681 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 04:27:48 +00:00
beard%netscape.com
276a005cbd workaround fix for bug #154699, r=sdagley, sr=bryner, a=adt.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127674 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 01:39:30 +00:00
syd%netscape.com
f72ce23b89 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=163423, installer engine needs to ignore the
fact that key doesn't exist when going to delete it. Otherwise, error could lead to installer
aborting when it should just treat the delete as a noop. a=valeski, r=hewitt, sr=dveditz,
caffeine=pepsi.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127663 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 23:25:59 +00:00
jkeiser%netscape.com
73f96ecdee Fix crash on DOM testsuite (bug 122511), r=sicking@bigfoot.com, sr=jst@netscape.com, a=rjesup, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127431 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 00:42:02 +00:00
bryner%netscape.com
a2b77085c1 Bug 162917 (carried over from bugscape 19001) - initial focus problems with sheets. Patch by sfraser, r=sdagley, sr=bryner.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127401 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 21:31:47 +00:00
timeless%mac.com
136a9eec51 Bug 158606 crash with -moz-opacity
patch by sergei_d@fi.tartu.ee r=timeless sr=blizzard (ports code) a=jesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127373 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 17:55:28 +00:00
shanjian%netscape.com
fc63250d61 #57332 Quick typing erases a converting
Let key and IME message have the same priority so that they can
be processed in right order.
p=shotaro , r =shanjian, sr=kin a=Randell.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127290 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 22:43:39 +00:00
jkeiser%netscape.com
cf673fb745 Rearrange frame state key (bug 162409), r=sicking@bigfoot.com, sr=bzbarsky@mit.edu, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@127236 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 03:19:18 +00:00
smontagu%netscape.com
d19c1282b5 yokoyama : Using smontagu's account
Bug 140234: CJK auto detector detects wrong.
Only impact if we have CJK detector on. Checking in for shanjian
/r=yokoyama /sr=jst, /adt=scott, /moz1.0+=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126923 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 00:25:12 +00:00
dveditz%netscape.com
3d3e456164 make XPInstall confirm dialog default to cancel (bug 149478) r=syd,sr=mscott,a=drivers,adt+
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126922 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 00:20:40 +00:00
dveditz%netscape.com
7f3dce7065 activate button on keyup only if already depressed (bug 161721) r=saari,sr=blake,a=drivers,adt+
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126921 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 00:14:28 +00:00
timeless%mac.com
e8b0ecc655 adding missing #include "jsdtoa.h"
sorting per js engine includes alphabetically to match js engine prevailing style
rs=brendan


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126842 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 00:53:51 +00:00
darin%netscape.com
b7bc2344e1 fixes bug 146884 - Mozilla sometimes consumes 100% CPU when pipelining is enabled...
r=dougt sr=rpotts a=valeski adt=paw


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126835 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 00:36:57 +00:00
sfraser%netscape.com
64141faf87 Branch fix for bug 102797: remove call to EventAvail, firstly because it is redundant (WaitNextEvent will return promptly if there is an event to handle), and because it nullifies the effects of an earlier WakeUpProcess call, which can kill performance in some areas. r=sdagley, sr=scc, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126809 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 22:07:00 +00:00
rginda%netscape.com
36cd476646 - venkman only -
syncing with the trunk.  a=rjesup.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126807 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 21:59:45 +00:00
dbaron%fas.harvard.edu
bd619db50a Fix regression causing scrollbars not to be extended by absolutely positioned elements in some cases. Also removed unused |FixParentAndView|. b=154230 r=bzbarsky sr=jst a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126801 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 21:34:11 +00:00
dbaron%fas.harvard.edu
45e468dd7e Hacky fix to make HR's ALIGN attribute work again. b=158197 r=mjudge sr=bzbarsky a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126800 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 21:28:57 +00:00
timeless%mac.com
5e1beb41e7 Bug 148171 js_FinishDtoa() not called unless JS_THREADSAFE is set
scole@planetweb.com r=khanson sr=shaver a=jesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126795 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 20:46:44 +00:00
timeless%mac.com
19b8fcac95 Bug 110112 Crash after long sequence of image confirmations - [@ libgdk-1.2.so.0 | libX11.so.6 - nsRenderingContextGTK::FillRect]
this fix disables the prompt before loading images option.
patch by waterson r=morse sr=alecf a=jesup
bug 146513 is filed to track a replacement.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126794 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 20:46:31 +00:00
darin%netscape.com
f97652aeeb makes timesofindia.com load again, b=105292
r=dougt sr=bz a=chofmann ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126735 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 04:58:04 +00:00
(no author)
991665428e This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126702 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 23:53:47 +00:00
brendan%mozilla.org
3846a62b05 Fix a macro name (LIMIT, not MAX -- fencepost, not maximum value; r=lumpy, sr=jack, a=asa).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126685 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 21:13:19 +00:00
law%netscape.com
a86e65afeb Bug 155080; this time, remove call to get (constant) pref value which can happen before profile is initialized; r=caillon, sr=blake, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126571 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 01:18:30 +00:00
bryner%netscape.com
eb12e9b09a Fix focus problems in maximized windows (bug 153828). r=saari, sr=jag, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126547 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:47:49 +00:00
shanjian%netscape.com
90c7fa925b #160547 table size / line wrapping incorrect
check if the joined 2 pieces is breakable in between before moving to 2nd piece.
r=kin, sr=rbs, a=adt, chofman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126526 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 17:03:38 +00:00
sfraser%netscape.com
0053fb82ed Recommitting fix for bug 157123 after erroneous backout (the more extensive changes on the trunk caused bug 160824). a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126311 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-04 04:57:26 +00:00
mcafee%netscape.com
76a93c8a0a Point bloat test to a simpler ftp url that wont flake (160465). r=bbaetz, sr/a=asa,rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126276 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-03 20:57:25 +00:00
cbiesinger%web.de
9c5678426f back out bug 157123 on branch too, caused 160824
a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126274 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-03 20:02:47 +00:00
sfraser%netscape.com
981b50b562 Minimal fix for bug 157123 -- laggy scrolling on Mac. Back off timer interval from 10ms to 25ms. r=bnesse/pinkerton, sr=scc, a=drivers/adt for branch checkin.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126249 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 22:21:21 +00:00
ccarlen%netscape.com
a4ef939166 Bug 160212 - Embedding window creators need flag to distinguish unrequested popups from other windows. r=pink/sr=jst/a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126230 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 11:48:18 +00:00
ccarlen%netscape.com
f525e8dabc Bug 136985 - expose support for detecting unrequested popups. Patch by hyatt. r=jst/sr=blake/a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126229 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 11:44:17 +00:00
ccarlen%netscape.com
90f4059f76 Adding new file for bug 160212 - embedding needs a flag to distinguish unrequested popups from regular windows. r=pink/sr=jst/a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126228 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 10:53:23 +00:00
brendan%mozilla.org
d009686c98 Steven Don's patch for bug 160592, opt:noicf linker option required for release builds (not part of Mozilla build).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126222 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 05:35:09 +00:00
law%netscape.com
03eb56a634 Bug 155080; move SavePrefFile call ahead of call to ShutDownCurrentProfile; this does two things: (a) protects prefs.js with profile lock (b) prevents collision(?) on prefs.js that causes prefs to be lost; r=ccarlen, sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126211 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 02:39:37 +00:00
sfraser%netscape.com
5356201762 Ack. Backing out previous checkin (fix for bug 157837) which I checked into the branch by mistake.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126203 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 00:53:42 +00:00
sfraser%netscape.com
21e6cdfc22 Fix for bug 157837 -- fix a problem with click-hold scrolling in scrollbars that caused the slightest mouse move to stop the scrolling; patch fixes a coordinate issue that made us think we'd left the widget. r=pinkerton, sr=bryner, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126200 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 00:51:08 +00:00
racham%netscape.com
06d5b2f721 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 mailnews account wizard that comes up, with a new profile. Patch is contributed by Andrew Schultz (ajschult@eos.ncsu.edu). r=bhuvan, sr=bzbarsky, a=adt,drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126189 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 22:45:43 +00:00
rginda%netscape.com
353a8d83b0 bug 155328, "nsViewManager and nsPresShell are unaware of stacked event queues"
sr=rpotts, r=jst, a=rjesup@wgate.com,jaime@netscape.com

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/branches/MOZILLA_1_0_BRANCH@126184 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 22:07:48 +00:00
rginda%netscape.com
90cb0a3012 bug 155328, "nsViewManager and nsPresShell are unaware of stacked event queues"
sr=jst, r=roc+mozilla@cs.cmu.edu, a=rjesup@wgate.com,jaime@netscape.com

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/branches/MOZILLA_1_0_BRANCH@126183 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 22:06:17 +00:00
ssu%netscape.com
ab80f34626 fixing bug 160452 - Need to update win32 installer to support Win2k SP3 feature. r=dprice sr=dveditz a=drivers,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126180 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 21:28:02 +00:00
sicking%bigfoot.com
5792019dc5 Fix bug 156452.
most parts are r=bz sr=jst. other parts r=peterv/jst/mstoltz sr=bz.
a=rjesup adt=jaimejr


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126176 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 19:21:48 +00:00
dougt%netscape.com
afe75f08ff Freezes nsAString, nsACString, nsAUTF8String. r=dougt, sr=alecf, a=brendan, b=125389
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126172 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 18:55:30 +00:00
darin%netscape.com
e59651f970 fixes bug 159413 - Pipelining "WARNING" should be revised...
r=gagan, sr=rpotts, a=asa, adt=paw


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126151 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 05:28:22 +00:00
ducarroz%netscape.com
d06ea0bab4 Fix for bug 159399. Patch provided by doron@netscape.com. Don't eat the continuation when parsing the body part of a mailto url. R=ducarroz, SR=mscott, ADT=jaimejr, A=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126141 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 00:43:59 +00:00
cbiesinger%web.de
2356edcb03 bug 158435 patch by nick@technisys.com.ar r=ksosez sr=bzbarsky a=jesup
Page Info's label-control association is broken (should be by id).


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126131 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 22:35:39 +00:00
brendan%mozilla.org
6351f151a2 khanson's patch with a comment elaboration for bug 157652 (r=rogerl, sr=me, a=rjesup).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126129 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 21:45:16 +00:00
dcone%netscape.com
0687171596 b=143830 r=dcone sr=tor a=valeski a=jaimejr. Fixes garbage in animation and speed animation up consiserably.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126128 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 21:36:28 +00:00
pete.zha%sun.com
1b62c84f11 unix: should remove the Reveal Location & Launch File buttons from download progress dialog
bug=90008 r=jkeiser sr=bzbarsky a=rjesup@wgate.com
Description: Just disable these two buttons on download dialog when we are on Unix


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126105 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 06:33:50 +00:00
bstell%ix.netcom.com
36243168a8 bug 159704, make direction case insensitive, checkin for doron@netscape.com,
r=bstell@ix.netcom.com, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126103 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 05:53:07 +00:00
sfraser%netscape.com
80a5e93c41 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/branches/MOZILLA_1_0_BRANCH@126102 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 05:31:37 +00:00
darin%netscape.com
03289ddf9e fixes bug 94734 - crash on a bugzilla search
patch=ajschult@eos.ncsu.edu r/sr=blizzard,darin a=brendan ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126073 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 19:53:53 +00:00
morse%netscape.com
94b82b9b34 bug 159484, js urls can steal passwords, r=mstoltz, sr=dveditz, a=chofmann, adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126068 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 19:11:10 +00:00
oeschger%netscape.com
9661fc1a6f bug=159188, r=rchen, sr=jag, a=jud for branch check-in, localized flag for sorting index
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126066 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 19:02:46 +00:00
ccarlen%netscape.com
5a97e6e1b0 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/branches/MOZILLA_1_0_BRANCH@126054 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 11:30:11 +00:00
katakai%japan.sun.com
147785fd14 bug 153562
crash trashes user directory, requires new profile
avoid BOM at iconv() for Solaris platform
patch from jk@tools.de
a=chofmann,r=Roland.Mainz@informatik.med.uni-giessen.de,sr=darin


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126037 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 01:47:23 +00:00
sfraser%netscape.com
cd627b7b21 Fix for 158927 on the 1.0 branch. r=wtc, sdagley. a=adt.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126034 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 00:28:38 +00:00
law%netscape.com
9a5cbe31f0 Bug 155080 (redux); protect alternate path to reading prefs.js with mutex lock to prevent lost prefs.js when another process is writing; r=morse, sr=bryner, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@126019 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 22:21:28 +00:00
kin%netscape.com
65a4d64ab4 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=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125985 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 04:29:05 +00:00
nhotta%netscape.com
72b9189612 Do not set the default charset to nsIMsgWindow if forward inline or edit as new,
bug 155253, r=ducarroz, sr=bienvenu, a=rjesup@wgate.com.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125933 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 03:09:09 +00:00
caillon%returnzero.com
be416db9fc Bug 152127 - Prevent tabs from getting renamed to "(Untitled)" at seemingly random times.
r=bzbarsky sr=jag a=rjesup adt=jaimejr

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


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125915 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 00:08:20 +00:00
cbiesinger%web.de
9890d34680 bug 155655 r=timeless sr=blake a=jesup
Navigator preferences leave blank space where "make default browser" would be


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125902 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 22:53:03 +00:00
rods%netscape.com
c5e949ee05 Hide Page Setup btn for Linux
Bug 158282 r=sgehani sr=bryner adt=jaime a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125880 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:03:30 +00:00
yokoyama%netscape.com
0e066b63f4 Bug 156979
Update installed-chrome.txt
to support marquee for embedder
/r=chak, adam, /a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125872 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 18:34:56 +00:00
ccarlen%netscape.com
9f18d5c122 Bug 158126 - Need to send activate events to Gecko for the sake of the IME window handling. r=pink/sr=sfraser/a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125853 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 10:52:52 +00:00
ccarlen%netscape.com
9b59e2db3f Bug 159014 - Autoscroll doesn't work when cursor leaves the view. nullEvents need to be sent to the event sink. r=pink/sr=sfraser/a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125852 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 10:28:46 +00:00
kmcclusk%netscape.com
e60118f3bf Fix hang when printing frameset documents. bug 157918 r=dcone sr=kin a=rjesup@wgate.com adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125837 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 01:21:18 +00:00
bzbarsky%mit.edu
aa17d59e79 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=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125823 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 22:17:08 +00:00
pinkerton%netscape.com
10ae5a6282 add mimetypes.rdf to profile defaults for embed distribution. fixes problem with advanced button in helper app download dialog which relies on this file being present (bug 157564). r=ccarlen/sr=sfraser/a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125746 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 23:47:11 +00:00
ssu%netscape.com
e6ae73f9f0 fixing build bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125692 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 08:39:39 +00:00
caillon%returnzero.com
d5031a8aef Bug 104470 - Popup blocking breaks window.open()s which are targetted to frames or existing named windows
r=sicking sr=jst a=brendan


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125686 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 06:43:05 +00:00
yokoyama%netscape.com
95d0d37196 bug 156979
supporting marquee tag.
few new files are added and makefile.xxx are modified.
/r=timeless, dveditz /sr=jst, /a=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125676 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 04:48:34 +00:00
law%netscape.com
74cab2329e Bugzilla bug 159038 (bugscape bug 17912); Don't open the turbo pseudo-Nav window if we've already opened a window; this has the effect of *not* disabling requests coming from secondary processes in such cases (because other code was confused thinking that the pseudo-Nav window hadn't closed yet); r=jelwell/morse, sr=syd, a=jaimer
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125675 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 04:15:26 +00:00
brendan%mozilla.org
0dedc35ab2 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/branches/MOZILLA_1_0_BRANCH@125664 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 01:53:07 +00:00
bzbarsky%mit.edu
f2278f43c8 Bug 158230. Clear out all the relevant style data when inline style
causes reframes. r=dbaron, sr=hyatt, a=valeski, adt=paw


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125661 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 01:22:45 +00:00
nhotta%netscape.com
a3ec84f29e (check in by ftang use nhotta's machine/account for shanjian)
fix bug 156943 and 76097
r=rbs
sr=waterson/jst
a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125638 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 21:27:17 +00:00
joki%netscape.com
272f0cdff1 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/branches/MOZILLA_1_0_BRANCH@125631 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 20:13:07 +00:00
peterlubczynski%netscape.com
4e45b1229b Fixing bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125618 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 08:06:43 +00:00
peterlubczynski%netscape.com
677515217e Attempting to fix HPUX bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125617 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 08:04:01 +00:00
peterlubczynski%netscape.com
b024b7b966 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@netscape.com sr=dveditz a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125611 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 06:11:32 +00:00
av%netscape.com
e426696a61 Fixing 157627 -- registry growth on every start up, r=av, sr=dveditz, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125604 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 04:17:39 +00:00
pavlov%netscape.com
353c943969 bug 157989. patch from paper@animecity.nu. r=pavlov sr=tor@acm.org a=brendan/chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125600 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 03:22:27 +00:00
pavlov%netscape.com
c7f4d2143b part 2 of fix for 157202 r=dougt/saari sr=tor@acm.org a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125599 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 02:39:08 +00:00
pavlov%netscape.com
ae544884a8 part 1 of fix for 157202 r=dougt/saari sr=tor@acm.org a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125598 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 02:37:54 +00:00
smontagu%netscape.com
bac8a2e954 Bug 140673: Some Arabic/Hebrew bitmap fonts printed way too small with Xprint. Author=Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=dveditz, a=rjesup (for branch)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125576 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 19:19:21 +00:00
kmcclusk%netscape.com
264bed2362 checked in fix for bug 15622 scrollbars should be reflow roots and other patches that it required.
checked in attachment 90649 for bug 156522. a=chofmann adt=jaimejr sr=kin r=waterson
checked in attachment 87306 for bug 141900. a=chofmann adt=jaimejr sr=waterson r=kmcclusk
checked in attachment 91690 for bug 156985. a=chofmann adt=jaimejr sr=kin r=waterson


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125560 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 03:35:37 +00:00
ducarroz%netscape.com
8aa8ecf518 Fix for bug 158334. Fix memory corruption created by using PL_strcat on a buffer not wide enough. R=varada, SR=bienvenu, A=chofmann, ADT=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125559 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 03:13:12 +00:00
law%netscape.com
771dce7edb Bug 155080; add mutex code to stop one process from reading prefs.js while another is writing it; r=morse, sr=jag, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125556 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-21 22:57:05 +00:00
morse%netscape.com
349f4a6b8d bug 155114, back out patch for fixing cookie-stealing attack, a=chofmann, adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125543 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 21:40:04 +00:00
brendan%mozilla.org
9dabd83bf4 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/branches/MOZILLA_1_0_BRANCH@125540 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 17:46:46 +00:00
brendan%mozilla.org
45a622cb72 Fix GC_MARK_DEBUG (DEBUG only, r/sr=dbaron).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125536 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-20 08:26:20 +00:00
shanjian%netscape.com
ca8249f841 #155175 Certain truetype fonts crash mozilla
fix a misuse of parenthesis
p= Andrew Schultz  r=bstell, sr=rbs, a=brendan


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125522 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 23:39:10 +00:00
curt%netscape.com
00ce8402e3 Turning off the Refresh Icons because it was having unacceptable side-effects.
(Bug 154708, r=ssu, sr=dveditz, a=chofmann)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125514 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 21:47:26 +00:00
leaf%mozilla.org
66342c6a59 updating version strings for OSX finder; missed when nsMacVersion.r was
updated, r=jj


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125505 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 18:50:31 +00:00
morse%netscape.com
5d25e03a26 bug 155114, part of yesterday's checkin that didn't make it
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125487 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 01:50:04 +00:00
pavlov%netscape.com
69b31d008b this wasn't meant to go in here yet.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125473 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 22:20:58 +00:00
pavlov%netscape.com
d59df3769a fix for bug 157202. r=dougt sr=tor@acm.org a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125472 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 22:18:11 +00:00
ssu%netscape.com
4f6ada6fdd fixing bug 156698, 156695, 156701 - all dealing with adding ourselves in the windows registry for the new WinXP feature dealing with Hiding/Showing our desktop icons and setting us up as the default browser/mail apps on the system. r=law, ssu (curt and dprice created the patches) sr=jag, dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125455 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 07:13:04 +00:00
tingley%sundell.net
e3de493e7f bug 153480: fix a crash in nsInMemoryDataSource that was being triggered
by download manager deletions.  r=rjc sr=waterson a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125436 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 03:22:42 +00:00
jaggernaut%netscape.com
79e2c79078 Fix Mac bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125434 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 03:15:46 +00:00
rayw%netscape.com
353ffb4a99 Fix for bug 154971, r=harishd, sr=heikki, sr=jst, a=brendan.
This causes the SOAP HTTPS transport object to implement the proper interfaces,
as HTTP does, so that it will work.  Very minimal risk because change is to an
object that was otherwise broken and only used by HTTPS.  This permits users of
SOAP to use secure https transport for e-commerce or other transactions that
need to be secure.  Has been checked in on the trunk for a while and verified.

This is only even loaded as paert of the xmlextras module.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125426 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 02:04:01 +00:00
ccarlen%netscape.com
4b444ea78d Bug 147373 - crash if a migrated profile is deleted outside of profile mgr. r=bnesse/sr=jag/a=paw
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125424 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 01:39:17 +00:00
cavin%netscape.com
2c47e8bf69 Fix for 149759. Carry fixes in nsTextAddress for ldif import problems to AddressBookParser and commit db changes in ConvertLDIFtoMAB(). r=ducarroz/naving, sr=sspitzer/bienvenu, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125423 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 01:24:35 +00:00
morse%netscape.com
68d49e4a49 bug 155114, stealing cookies based on path attribute, r=mstoltz, sr=jag, a=chofmann, adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125416 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 23:42:07 +00:00
tor%cs.brown.edu
148c6b76df Bug 76776 - incremental display of progressive jpegs. r=biesi, sr=jag, a=jesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125413 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 23:22:09 +00:00
dveditz%netscape.com
241692a655 correctly escape stored prefs (bug 143459) r=bnesse,mstoltz; sr=alecf; a=valeski; adt+
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125412 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 23:19:49 +00:00
pavlov%netscape.com
43be988a2e fix for bug 155222. r=pavlov sr=tor a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125411 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 23:11:54 +00:00
brendan%mozilla.org
d95ca38926 Don't return 1 cast to JSProperty* for a property found in a non-LiveConnect prototype object (155740, r=rogerl, sr=jband, a=chofmann).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125406 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 22:52:33 +00:00
sdagley%netscape.com
59ad949615 Merging fix #143543 from trunk - Work around Nav Services 1.0 flaw so Save File dialogs works on Mac OS 8.6. r/sr=sfraser, a=adt/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125403 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 21:40:29 +00:00
dbaron%fas.harvard.edu
e1d31b52f2 Work around crashes at ChildIterator::get using bounds check on ChildIterator::seek. sr=waterson r=kin a=brendan adt1.0.1+=putterman b=133219
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125402 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 21:37:40 +00:00
rods%netscape.com
122962f241 It 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 adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125383 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 11:22:34 +00:00
mkaply%us.ibm.com
ec4d65f5e9 #157347
r=wtc, sr=blizzard, a=chofmann
OS/2 only - don't try to escape quotation marks when using DosStartSession


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125376 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 05:51:07 +00:00
mkaply%us.ibm.com
3a35be5840 #157770
r=dougt, sr=blizzard, a=chofmann
OS/2 only - up the number of file handles when starting Moz, and handle specific error with DosCopy


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125375 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 05:48:54 +00:00
mkaply%us.ibm.com
918de790d5 #157383
r=pedemont, sr=blizzard, a=chofmann
OS/2 only - truncate title bar text to 256 to workaround OS bug


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125371 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 05:36:56 +00:00
kaie%netscape.com
b588ad7abb b=135214 tentative fix for "signed icon in 3-pane isn't going away"
r=dbaron sr=mscott adt=putterman a=blizzard


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125361 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 03:27:13 +00:00
wtc%netscape.com
6d2beab5f0 Merged the fix for bug 157750 on MOZILLA_1_0_BRANCH. a=chofmann for
mozilla1.0.1 checkin.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125341 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 23:26:09 +00:00
mkaply%us.ibm.com
484c0bffbf #67913
r=pedemont, sr=blizzard (platform specific code), a=valeski
OS/2 only - addition to already approved fix for bug that works around a bad computation on 800x600


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125328 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 22:14:28 +00:00
mkaply%us.ibm.com
d093302786 #52458
r=pedemont, sr=blizzard (platform specific code), a=valeski
OS/2 only - add a preference to enable trackpoint scrolling by creating invisible scrollbars on all windows
Relanding after bustage


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125327 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 22:12:42 +00:00
ccarlen%netscape.com
454a094105 Bug 154883 - Need to use session printing APIs on OSX. r=pinkerton/sr=sfraser/a=chofmann, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125315 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 20:36:31 +00:00
ducarroz%netscape.com
3dd881e4eb Fix for bug 152014. Better detection of end of input buffer when we fold one character before the end and the last character is either a space or a tab. R=cavin, SR=bienvenu, A=rjesup@wgate.com, ADT=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125311 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 19:32:11 +00:00
ccarlen%netscape.com
e9685da5ad Adding new files for bug 154883 - use session printing APIs on OSX. r=pinkerton/sr=sfraser/a=chofmann, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125310 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 19:24:15 +00:00
sgehani%netscape.com
d550f7da85 Make search engine name and term show up and work in the autocomlpete
dropdown for new profiles' first browser session.
b=144494; r=law; sr=dveditz; driver's a=chofmann; adt's a=paw


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125309 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 18:51:52 +00:00
peterlubczynski%netscape.com
b18105a673 fix #156936, regression: crash using OBJECT tag with any plugin, patch by serge r=peterl, sr=jag
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125289 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 07:51:42 +00:00
peterlubczynski%netscape.com
b8e0da4c99 Fixing bug 152978, problem on Mac platforms where Flash "drags" like an image would, r=bnesse, sr=sfraser
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125288 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 06:24:00 +00:00
bzbarsky%mit.edu
cebbf97ddf Fix bug 146143 (window.document being wrong on 'back' after a full-page
plugin). Patch by jst@netscape.com, r=bzbarsky, sr=jag, a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125286 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 05:42:14 +00:00
peterlubczynski%netscape.com
c3e6ac982b Fixing plugins needs to cause XPTI to be refreshed when pluigins change, bug 154272 r=av sr=jband a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125284 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 05:13:12 +00:00
peterlubczynski%netscape.com
4d3789a510 Fixing bug 148458: Netscape Radio crashes using Real Player if another plugin is being installed in another window because scripting any plugin in other window after plugins.refresh(1) causes this crash when plugin has been unloaded - N70PR1 [@ NPPL3260.DLL - XPTC_InvokeByIndex] r=av, sr=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125282 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 04:59:42 +00:00
katakai%japan.sun.com
cac9370e7e bug 146658
unable to load ./libmozpango-thaix.so
modified pango.modules to fix the location of the .so
r=Roland.Mainz@informatik.med.uni-giessen.de
sr=sfraser,a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125278 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 03:53:01 +00:00
katakai%japan.sun.com
7e6052e43a bug 152790
tis620-2 is not defined as th language group
added tis620-2 entry as language Thai
r=ftang,sr=sfraser,a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125277 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 03:50:17 +00:00
jfrancis%netscape.com
5c9f6ba852 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
a=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125276 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 03:31:06 +00:00
morse%netscape.com
adc5ea66d1 bug 155038, never consider chrome urls to be foreign, r=bbaetz, sr=alecf, a=chofmann, adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125266 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 00:56:03 +00:00
mstoltz%netscape.com
f6a2d615ee Bug 149943 - "pin" DNS cache to prevent DNS spoofing. Patch by Darin, r=dougt,
sr=dveditz, a=chofmann.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125262 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 00:21:42 +00:00
(no author)
935bccd809 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125252 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:57:36 +00:00
sfraser%netscape.com
11fe7c9c82 Fixing bug 139802 on the branch. Avoid spending lots of time in WaitNextEvent when there are NSPR threads running. r=wtc, sdagley. a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125250 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:56:54 +00:00
jaggernaut%netscape.com
8dc8007734 This should fix the bustage.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125230 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 19:02:29 +00:00
rods%netscape.com
52510b1a61 again trying to fix bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125223 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 16:47:23 +00:00
ccarlen%netscape.com
4136782b8e Fixing bustage.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125214 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 14:30:29 +00:00
rods%netscape.com
16bf0837e9 fix bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125213 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 13:41:18 +00:00
rods%netscape.com
ee1c750ef3 fix bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125208 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 12:11:14 +00:00
rods%netscape.com
24582d244c Add assign method
Bug 151628 r=ccarlen sr=jst a=jud adt=paw


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125206 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 10:54:11 +00:00
rods%netscape.com
15600e9cc9 Need null pointer check for insurance (extra safety check)
Bug 155189 a=chofmann adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125205 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 10:22:39 +00:00
mstoltz%netscape.com
e2be3f623e Bug 152725 - prevent cookie stealing due to incorrect URL parsing. Do not
get or set cookies for URL schemes which do not support the host field.
r=morse, sr=jst, dveditz, a=asa.

Bug 149943 - "pin" hostnames to IP numbers for the duration of a session to
prevent DNS spoofing. Patch by darin, r=dougt, sr=dveditz, a=asa

Bug 154930 - Prevent another DNS spoofing attack by restricting use of
document.domain. r=dveditz, sr=jst, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125141 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 03:07:47 +00:00
sgehani%netscape.com
360da12882 Fix ``search button should not use non-user-typed url as a search term''.
b=156504; r=jesse; sr=blake; a=adt,valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125108 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 20:00:59 +00:00
kaie%netscape.com
45232b694d b=156546 Forwarded inline: Incorrect signature/encryption status shown in header area
r=ducarroz sr=alecf adt=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125096 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 18:30:24 +00:00
rods%netscape.com
11557cd4cd Minor comment change
Bug 99619 r=kmcclusk sr=sspitzer a=jud adt=paw


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125088 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 11:34:52 +00:00
jkeiser%netscape.com
af1ab5cd9a Catch recursive frames before it's TOO LATE (bug 136580), Adam Lock's patch, r=jkeiser, sr=jst, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125065 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 03:27:49 +00:00
caillon%returnzero.com
1b3ae36bfa Bug 156822. New Address book and Composer icons for the windows menu and the component bar by marlon@netscape.com
moa=jag a=dbaron a=adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125063 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 03:16:31 +00:00
dbradley%netscape.com
8b33852684 Backing out checkin of 52458 to fix OS/2 bustage
Contained referenced to mIsScrollBar which exists in trunk, but not in branch


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125007 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 06:08:08 +00:00
dprice%netscape.com
e695b6ea1b oops missing adt=
backing out


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125006 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 05:34:17 +00:00
dprice%netscape.com
bd34e4a9a6 153291 r=curt sr=dveditz a=chofmann adt=jaime
add a way to create custom files for components
WINDOWS ONLY


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125005 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 05:23:56 +00:00
leaf%mozilla.org
902c609a39 update mac vers resource for bug 156409, r=jj
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124994 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 00:20:23 +00:00
shliang%netscape.com
e6ce4cecd3 155647 - addressbook card view spacing issues - r=bhuvan,sr=sspitzer,a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124993 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 00:14:34 +00:00
rbs%maths.uq.edu.au
1dd6ca0bf2 crash if position: absolute applied to <math>, r=roc+moz, sr=waterson, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124991 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 23:45:19 +00:00
mkaply%us.ibm.com
38307cf9a3 more 67913 - forgot change from reviewer when applying patch
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124988 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 23:32:05 +00:00
mkaply%us.ibm.com
2dbf05edde #52458
r=pedemont, sr=blizzard (platform specific code), a=valeski
OS/2 only - add a preference to enable trackpoint scrolling by creating invisible scrollbars on windows


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124987 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 23:31:19 +00:00
mkaply%us.ibm.com
dc7f020878 #56555
r=pedemont, sr=blizzard (platform specific code), a=valeski
OS/2 only - don't draw any rectangles if width is 0


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124986 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 23:29:11 +00:00
mkaply%us.ibm.com
ef3496fef8 #67913
r=pedemont, sr=blizzard (platform specific code), a=valeski
OS/2 only - don't let Mozilla windows cover up the Warpcenter


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124985 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 23:27:18 +00:00
rbs%maths.uq.edu.au
f2b5f60354 support <msqrt> and <mroot> with Mathematica fonts in addition to TeX fonts, b=121493, r=roc+moz, sr=waterson, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124983 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 23:01:45 +00:00
rbs%maths.uq.edu.au
6d7c54437c Hide embedded semantic MathML content, b=154931, r=hixie/dbaron, sr=roc+moz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124982 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 22:56:58 +00:00
bryner%netscape.com
640a950f34 Bug 156052 - setting focus causes :hover to be set. r=dbaron, sr=blake, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124975 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 21:09:43 +00:00
smontagu%netscape.com
5cec851236 Bug 155096: Crash when adding image to right-to-left mail message. r=mjudge, sr=kin, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124972 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 20:36:01 +00:00
naving%netscape.com
26c36cf57f 155668 r=cavin sr=bienvenu a=valeski fixing problems in displaying japanese local folder names
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124967 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 19:16:59 +00:00
morse%netscape.com
f2042f5fed bug 155679, mapi doesn't work with turbo and multiple profiles, r=rdayal, sr=jag, a=valeski, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124965 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 18:36:39 +00:00
bzbarsky%mit.edu
411f2bcd84 Compress the history.dat database every so often. Bug 112308, patch by
John Morrison <jrgm@netscape.com>, r=blake, sr=bienvenu, a=choffman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124949 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 06:42:17 +00:00
bzbarsky%mit.edu
7dbf267463 Fix part of bug 120327. Patch by Jonas Jorgensen <jonasj@jonasj.dk>,
r=bzbarsky, sr=brendan,ben, a=dbaron, gladness=all


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124946 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 06:17:59 +00:00
brendan%mozilla.org
384e1cac18 Oops, deal with PRInt64 operand to NS_SWAP64 (followup to last checkin).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124943 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 05:20:15 +00:00
brendan%mozilla.org
2aed97ba78 Avoid aliasing differently-typed pointers in NS_SWAP64 (142869, r=dbaron, sr=ben, a=blizzard).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124941 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 05:10:07 +00:00
leaf%mozilla.org
193e733bfc update release resource to 1.0.1
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124908 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 00:10:00 +00:00
loadrunner%betak.net
fa426c3455 93002: [distribution]Conn: Use dialup networking (.DUN) when launching
mozilla. r=dougt,sr=rpotts. Help Windows NT, 2000, and XP dialup a RAS
connection when a network address is unreachable. The controlling pref
is "network.autodial-helper.enabled". Patch by smeredith, all credits
to him :-)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124900 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 23:42:05 +00:00
morse%netscape.com
72e5b38215 bug 155114 stealing of cookies using path attribute, r=mstoltz, sr=jst, a=chofmann, adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124893 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 22:42:44 +00:00
timeless%mac.com
3a8a360848 Bug 125411 [NuBus] Mac installer crashes with a type 12 error (SleepQInstall)
r=dmose sr=jst a=tor


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124890 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 22:28:49 +00:00
brendan%mozilla.org
73fe2c170b Eliminate broken old pre-ECMA switch case compile-time evaluation (144834, r=khanson, sr=shaver, a=chofmann).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124889 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 22:21:13 +00:00
ducarroz%netscape.com
1500211a00 Fix for bug 155671. Pass the originalMsgURI received by message compose service to msgDraft down to mime and back to the compose window. Did some cleanup too which fix some memory leak. R=kaie, SR=bienvenu, A=chofmann, ADT=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124857 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 19:08:13 +00:00
brendan%mozilla.org
f510f3c40f Null-check prop before dropping it (156354, r=khanson, sr=shaver, a=dbaron).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124819 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 03:17:04 +00:00
rods%netscape.com
79241cbf70 The problem is the print for a mail msg is started when the first notification
of the document (mail msg) is done loading. This is wrong because if the mail
msg has attachments they may not be loaded and then the msgPrintEngine gets
additional notification for when the attachments have started to load and since
it has already started toprint error dialogs appear AND the attachments don't get printed.
The solution here is to cache a pointer to the DOM Window for the msg(s) being
printed. Then as the "stop" notifications come in we can ignore any documents
(which would be the attachments) where the dom window doesn't match the msg's
dom window. Then when they match which is the last notifiaction we can call print.
The notification that comes thru where the docLoader is NULL means the previous
document has completed printing and the engine should print the next msg.
Bug 155430 r=cavin sr=kin/sspitzer adt=putterman a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124806 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 02:17:23 +00:00
peterlubczynski%netscape.com
4722528d28 Fixing some plugins don't understand the DATA attribute on the OBJECT tag so in those cases copy that value to an appened "SRC" entry to the array of attributes/parameters plugins are passed. Bug 152334 r=av sr=waterson
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124747 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-08 06:11:21 +00:00
bienvenu%netscape.com
ad609ac775 fix crash when selecting a different folder while a local mail delete is going on, from trunk, a=chofmann 121240
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124735 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-07 00:25:27 +00:00
pete.zha%sun.com
854492cb27 crash if I close the mail window while a save as dialog is open for a message attachment
bug=143903 r=dbaron sr=waterson a=chofmann patch=antonio.xu@sun.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124702 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-05 04:51:30 +00:00
pete.zha%sun.com
bc9da123c9 Transport shouldn't fire status and progress after stop button been clicked for stopping a document load
bug=152279 r=jkeiser sr=darin a=chofmann patch=antonio.xu@sun.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124700 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-05 03:49:08 +00:00
jay.yan%sun.com
57c1713df6 bug 85958, shockwave/flash causes crash under solaris[x-server/bit-depth] patch=sergi,sr=serge,sr=blizzard,a=chofman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124670 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 05:31:23 +00:00
jay.yan%sun.com
f7e01beec6 bug 85958, shockware/flash cause crash under Solaris[x-server/bit-depth], patch=sergi, r=serge, sr=blizzard,a=chofman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124669 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 05:29:38 +00:00
henry.jia%sun.com
fdeb12057d Fixing bug 80035.
The patch allows Administrators to control the migration behavior wrt IMAP and Local Folders files. Today, during migration, we copy all those (IMAP & Local Folders) besides others into the newly created dierctory for the migrated profile. Some external parties have expressed concern over this approach due the large amount of mails they have in 4.x folders and all of those getting copied again wasting the disk space and also making the migration too slow. So, a hidden pref mail.migration.copyMailFiles is introduced (which can be set to false) for those who those interested to share the 4.x IMAP and Local Folders. Please see the bug report for the possible side effects and other discussion points wrt the sharing folders with 4.x. The pref is set to true by default which means we will continue to do the migration the way we have always done.
Patch by henry.jia@sun.com. r=racham, sr=sspitzer, a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124665 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 03:34:12 +00:00
leaf%mozilla.org
8622949487 add a *semicolon* bad mkaply, no biscuit.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124663 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 02:38:56 +00:00
harishd%netscape.com
c8a3883144 Disable scripts on the requested docshell and containing docshells. Also, made setCurrentURI() scriptable ( approved by Adam Lock ). b=154647, r=harishd, sr=jst, a=chofmann, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124644 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 23:40:13 +00:00
ducarroz%netscape.com
615ded5cba Fix for bug 155638. Backup previous fix for bug 137071 and 154734. R=nhotta, SR=bienvenu, A=chofmann, ADT=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124639 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 22:20:07 +00:00
mkaply%us.ibm.com
53fbb8a4ab #127741
r=saari, sr=blizzard, a=chofmann
OS/2 only - 82534 fix for OS/2


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124636 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 22:13:00 +00:00
brendan%mozilla.org
dd4a48af0d rogerl's fix to conform to ECMA by not enumerating regexp instance properties (155291, r=khanson, sr=brendan, a=chofmann).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124634 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 21:42:12 +00:00
brendan%mozilla.org
334bb84b34 rogerl's patch to fix some ECMA arity glitches (155289, r=khanson, sr=brendan, a=chofmann).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124631 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 21:03:42 +00:00
brendan%mozilla.org
6ea542727d khanson's fix for Function.prototype.apply.length ECMA glitch (145779, r=rogerl, sr=brendan, a=chofmann).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124629 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 21:00:54 +00:00
law%netscape.com
2c819ea8fa Bug 154238; forgot this bit on the branch...r=blythe, sr=ben, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124617 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 20:05:46 +00:00
brendan%mozilla.org
8276dd65a0 checkin for rogerl: Array.prototype.join(undefined) should join using ',' (155285, r=scole, sr=brendan, a=chofmann).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124607 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 17:25:08 +00:00
timeless%mac.com
f59687321c checking in for shaver bug 146210: Add Date.now to mirror JS_Now in script.
r=rginda, sr=brendan, a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124594 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 11:01:53 +00:00
jaggernaut%netscape.com
51cafd0876 Bug 153834: crash when changing Window's windows colors (e.g. Win XP theme change); Patch by Adam Lock <adamlock@netscape.com>, r=saari, sr=jag, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124591 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 07:23:31 +00:00
timeless%mac.com
b200f2abe5 Bug 154737 String(NaN) crashes JS Engine if JS_THREADSAFE is set
r=dbradley sr=brendan a=chofman
this patch is not identical to the trunk, to compile some blocks of code were moved around
also the trunk has ACQUIRE_DTOA_LOCK() whereas the branch has ACQUIRE_DTOA_LOCK(n).


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124581 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 04:28:12 +00:00
mkaply%us.ibm.com
99cd8efa51 #154161
r=pedemont, sr=blizzard, a=valeski
OS/2 only - get NPNULL plugin working on OS/2 - somehow I forgot these files


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124576 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 02:10:05 +00:00
morse%netscape.com
71a1b018b2 backing out last checkin -- it was meant for trunk, not branch
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124572 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 01:03:52 +00:00
yokoyama%netscape.com
3adbf31222 Bug 153470
Fixing keyboard input processing.
CJK char conversion in nsWindows::OnChar()
Impact only Windows platforms
/r=shanjian; /sr=kin; /drivers=jud; /adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124559 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 00:30:35 +00:00
morse%netscape.com
79c43413c5 bug 155114, cookie stealing based on path, r=mstoltz, sr=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124552 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 23:54:25 +00:00
tor%cs.brown.edu
234d339b8f Bug 154996 - PNG files with wrong width/height in IHDR can crash/hang
browser.  Patch by randeg@alum.rpi.edu (libpng author), rs=tor, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124534 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 21:29:57 +00:00
ccarlen%netscape.com
1ea10514a6 Bug 145827 - window.focus and window.blur not implemented in PPEmbed. Adding impl of nsIEmbeddingSiteWindow2. r=adamlock/sr=sfraser
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124533 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 21:27:14 +00:00
tor%cs.brown.edu
1377350cdc Bug 135579 - small interlaced PNG images not decoded correctly.
Patch from randeg@alum.rpi.edu (libpng author), rs=tor, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124532 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 21:25:07 +00:00
rogerl%netscape.com
a07b2410b5 Bug #154338,r=khanson,sr=jag,a=brendan. Misuse of string length field, when
stringwas dependent, extracted bad value for subsequent memory request.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124522 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 19:56:28 +00:00
timeless%mac.com
66b816aec1 Bug 125689 Mozinvaders crashes Mozilla! [@ nsGrid::FindRowsAndColumns]
r=varga sr=kin a=valeski
<grid></grid> with no rows or collumns


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124521 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 19:29:28 +00:00
cbiesinger%web.de
a5499898ab bug 82534 patch by saari r=bryner sr=jag a=valeski
Cannot type in URL/address/location bar or text boxes - no caret/cursor.  (Keyboard locks/freezes up / no input)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124485 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 09:40:49 +00:00
bzbarsky%mit.edu
fb6cf5001c Only let pages read their own style rules via CSSOM. Bug 135267, patch
by Mitch Stoltz <mstoltz@netscape.com>, r=dveditz, sr=scc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124481 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 06:45:27 +00:00
blakeross%telocity.com
c06c1c81c1 32034 - sidebar search fails if no navigator window is open. r=bryner sr=ben
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124458 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 02:45:23 +00:00
naving%netscape.com
7379db6d0f 154501 r=cavin sr=bienvenu a=valeski fixing regression can't save as draft/templates when using an imap acct that doesn't already have Drafts or Templates folder
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124448 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 01:09:58 +00:00
ducarroz%netscape.com
8dfd0be2f4 Fix for bug 154734. We need to unsecape the original message uri else IMAP will have trouble to deal with it. R=cavin, SR=bienvenu, ADT=paw, A=jud
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124445 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 23:58:44 +00:00
bzbarsky%mit.edu
d31db38e1b Fix major user perception bug 154346 (we don't execute content
automatically, but the user sure thinks we do).  r=law, sr=jag,
a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124441 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 23:16:20 +00:00
ssaux%netscape.com
c7e7547ac6 b=154624 change password regression r=javi sr=mscott a=valeski adt=paw
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124433 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 22:13:06 +00:00
av%netscape.com
07cd809b3c Bug 150761 -- using mouse wheel crashes windowless plugins, r=peterl, sr=sfraser, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124432 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 21:59:56 +00:00
rods%netscape.com
c63941f459 freeze the api
Bug 99619 r=kmcclusk sr=sspitzer a=jud adt=paw


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124430 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 21:45:05 +00:00
rods%netscape.com
447244b1b8 PATCH to hide NOFRAMES, since we do not support disabling frames anyway
Bug 134401 r=bzbarsky sr=hewitt adt=putterman a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124429 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 21:42:34 +00:00
akkana%netscape.com
da5dcb0a53 148713: cure an infinite loop in replace all when going backward.
Also fixes the strict JS warnings mentioned in bug 145071.
r=brade sr=kin adt=jaime a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124423 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 21:08:09 +00:00
jpierre%netscape.com
5381e01d9e Fix for 139874 - inject latest Root CA certs - VISA
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124417 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 20:27:36 +00:00
leaf%mozilla.org
9a8046b3bc go back to using the user agent rv: value for indicating the "release", r=blizzard
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124407 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 17:58:04 +00:00
blizzard%redhat.com
6c82147405 Update MOZILLA_VERSION to 1.0.0. r=leaf
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124406 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 17:52:59 +00:00
curt%netscape.com
723215b09c Don't set the desription for icons.
(Bug #42604, for ssu, r=curt, sr=dveditz, a=valeski)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124396 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 06:02:49 +00:00
leaf%mozilla.org
bbb08f932f updating user agent string version for upcoming source release
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124394 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 05:11:07 +00:00
karnaze%netscape.com
aaccceee2b bug 149436 - shanmu's patch to fix DEC. a=chofmann, adt=syd, sr=kin, r=karnaze.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124390 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 04:05:10 +00:00
naving%netscape.com
ba88c2a01f 154000 r=cavin sr=bienvenu a=chofmann Make rename/delete/drag and drop of imap folders work for non-ascii folder names.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124379 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-30 23:20:40 +00:00
mkaply%us.ibm.com
f8ecb38366 #151536
r=pedemont, sr=blizzard, a=valeski
OS/2 only - display Euro using current font, not Unicode font


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124370 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-30 04:58:14 +00:00
mkaply%us.ibm.com
8f768a393f #118546
r=pedemont, sr=blizzard, a=valeski
OS/2 only - bullet proof unicode stuff, better default fonts


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124369 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-30 04:55:29 +00:00
mkaply%us.ibm.com
b41feead2f #154161
r=cls, a=valeski
OS/2 only - get NPNULL plugin working on OS/2


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124368 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-30 04:48:09 +00:00
mkaply%us.ibm.com
0c65f033df #154161
r=pedemont, sr=blizzard, a=valeski
OS/2 only - get NPNULL plugin working on OS/2


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124367 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-30 04:47:25 +00:00
mkaply%us.ibm.com
fb016f49df #149365
r=mkaply, sr=blizzard, a=valeski
OS/2 only from jblanco - only set number of copies in one place


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124362 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 22:20:24 +00:00
mkaply%us.ibm.com
c8176f72e4 #149422
r=bnesse, sr=jst, a=valeski
OS/2 only - skip over EOF character on JS files in prefs


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124361 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 22:17:51 +00:00
mkaply%us.ibm.com
4ac1389355 #147702
r=jeffreyj@us.ibm.com, sr=blizzard, a=valeski
Take Windows code - keep a handle on window during deletion to prevent crash


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124360 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 22:15:32 +00:00
law%netscape.com
82aaad64fd Bug 154238; set ddeexec registry entries while running so we work with Adobe Acrobat (req'd for Acrobat forms); a=choffman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124358 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 21:30:32 +00:00
mkaply%us.ibm.com
27b63a8651 #154680
r=mkaply, sr=jag, a=valeski
Regression in RFind - -1 should be default offset, not 0


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124355 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 18:57:52 +00:00
radha%netscape.com
3c9a1c48a9 Fix for bug # 35011. r=jst sr=kin a=jud. window.onscroll and element.onscroll not fired.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124354 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 15:34:45 +00:00
radha%netscape.com
9e81647dfb Fix for bug # 35011. window.onScroll event not fired. r=jst, sr=kin a=jud. ADT approval received.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124353 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 15:33:44 +00:00
seawood%netscape.com
c02c587d59 Only check for & use -fshort-wchar with CXX as some versions of gcc only support
-fshort-wchar for g++.
Include <stddef.h> instead of <stdlib.h> in wchar_t tests to avoid exit() declar
ation issues with autoconf.
Bug #139211 r=bryner,dbaron a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124349 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 04:34:56 +00:00
seawood%netscape.com
59abfcd74a Fixing xlib build bustage.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124348 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 04:31:52 +00:00
seawood%netscape.com
8a9fe70b5f Link XT_LIBS in static xlib builds.
Use same modulename for xlib module in Makefile as the code uses.
Bug #144182 r=bryner a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124347 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 04:31:10 +00:00
dprice%netscape.com
287eecfb21 140104 r=curt sr=dveditz a=valeski adt=jaime
remove overlayinfo and chrome.rdf


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124343 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 01:41:07 +00:00
bzbarsky%mit.edu
47ab7a80c9 Bug 144479 (crash changing display prefs on pages with position:fixed
stuff), r=dbaron, sr=jst, a=choffman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124339 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 01:11:51 +00:00
jfrancis%netscape.com
8210c82fbf fix for 140484: tagStr incorrectly freed in nsListCommand::GetCurrentState; r=jfrancis; sr=kin; checkin in on behalf of Dan McGuirk; has adt and driver approval for branch landing
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124337 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 00:56:15 +00:00
seawood%netscape.com
ccfd0b4ed3 Conditionally check for -lSM & -lICE if -lXt test fails.
Bug #126163 r=bryner a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124335 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 00:33:47 +00:00
wtc%netscape.com
9f7559c26f Bug 154918: finishing touches to declare NSPR 4.2.1 and NSS 3.5 RTM for
mozilla1.0.1.  a=chofmann for 1.0 branch.
Tag: MOZILLA_1_0_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124330 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 00:19:37 +00:00
seawood%netscape.com
96af7cd26d Conditionally check for -lSM & -lICE if -lXt test fails.
Bug #126163 r=bryner a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124329 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 00:09:57 +00:00
seawood%netscape.com
365c00df70 Sync config.guess & config.sub with official GNU copies.
Bug #140869 r=bryner a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124327 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 00:07:01 +00:00
naving%netscape.com
ff19348c83 153982 r=cavin sr=bienvenu a=valeski make drag and drop of folders work for non-ascii folder names when dragging from imap to local or from local to local
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124318 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 23:19:35 +00:00
curt%netscape.com
3dcf34cddb Refresh icons on upgrade
(Bug #154708, r=curt, sr=dveditz)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124311 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 22:57:58 +00:00
tao%netscape.com
461e0fabb2 144584: Update localeVersion in 1.0.1 branch for newer milestone releases.
r=leaf,sr=dveditz,a=adt/drivers


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124309 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 22:36:53 +00:00
av%netscape.com
ab6df0d151 Bug 150087 -- resetting DOM plugin array before creating a new document, r=av, sr=jst, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124307 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 22:00:34 +00:00
av%netscape.com
bfb453b032 Bug 148889 -- keeping XPConnected plugin dlls in memory longer to avoid crashes, r=peterl, sr=beard, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124306 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 21:50:20 +00:00
harishd%netscape.com
96d04c8a88 Make marquee tag a block level element. b=154173, r=heikki, sr=jst, a=adt,valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124305 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 21:17:07 +00:00
kaie%netscape.com
8138f9f75d b=154240 security fix
r=javi sr=alecf adt=putterman a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124304 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 21:14:42 +00:00
rogerl%netscape.com
253808b572 Moving fix for #112626 from trunk; root RegExp static input field.
a=adt, r=rginda, sr=brendan


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124300 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 20:26:01 +00:00
locka%iol.ie
838efbaffc Fix for opening javascript: popups in embedding. b=149307 r=adamlock@netscape.com sr=jst@netscape.com a=valeski@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124299 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 20:24:21 +00:00
seawood%netscape.com
d0dc76f1cd Fix symlink detection (again) so that relative symlinks work and the binary is executed from the cwd, not the installation directory.
Thanks to Andrew Schultz <ajschult@eos.ncsu.edu> for the patch.
Bug #57866 r=cls a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124294 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 20:02:43 +00:00
seawood%netscape.com
d784760253 Fix for bug # 141438. added code so that we don't define SHORT_LIBNAME on winNT
Thanks to srilatha@netscape.com for the patch.
r=cls, sr=sspitzer a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124290 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 19:56:37 +00:00
blakeross%telocity.com
4ecba27f46 85595 - transparent animated gifs have white background. patch by Paper. r=pav sr=tor a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124289 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 19:32:02 +00:00
jj%netscape.com
737a2983d9 fixing "HasBundle" and "HasCustomIcon" Finder flags to enable 32-bit icon for the installer (bugscape #16402 and #16581). a=adt.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124288 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 18:50:41 +00:00
jj%netscape.com
8988f6da45 landing on 1.0 branch of recent artwork and icon changes for the installer (bugscape #16402 and #16581)
a=adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124286 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 18:43:23 +00:00
dbaron%fas.harvard.edu
f21b437b1c Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Pull in parts from previous fix for bug 141261. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson a=valeski, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124266 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 06:20:50 +00:00
dbaron%fas.harvard.edu
d3e6e4734a Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson a=valeski, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124264 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 04:37:17 +00:00
dveditz%netscape.com
66853862b5 return correct compareVersion() result in directory case (bug 136779) r=curt,sr=alecf,adt+,a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124263 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 03:53:34 +00:00
shanjian%netscape.com
3b36f91f6d #149724 Auto-detect Chinese doesn't work
Frequency analysis is only applied to euc clone encoding, and gb18030 is
not one of it. The existence of gb18030 will prevent frequency sampling from
happening. So eliminate gb18030 when considering frequency sampling.
r=ftang, sr=jst a=adt, valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124252 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 01:12:59 +00:00
blakeross%telocity.com
8a6110386c 106092 - trunk m1br m100 n70pr1 topcrash @ nsMenuFrame::OpenMenu. r=brade sr=ben a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124249 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 00:48:46 +00:00
blakeross%telocity.com
9c664d18c0 153287 - prefs for location bar autocomplete don't stick. r=caillon sr=ben a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124248 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 00:41:18 +00:00
timeless%mac.com
9d6f298def Bug 134724 nsIOService::~nsIOService => nsIOService::SetOffline
Getting service @mozilla.org/observer-service;1 on shutdown.
- M100 N70PR1 [@ nsThreadPool::Shutdown]
r=dougt sr=darin a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124245 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 00:27:15 +00:00
naving%netscape.com
3555d6cf63 104931 checking in for rdayal r=dmose sr=dveditz a=valeski install ldap modules as part of the browser instead
of mail.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124244 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 00:22:12 +00:00
serge%netscape.com
9148e88703 fix for #153547, crash [@ nsPluginInstancePeerImpl::GetOwner] r=av, sr=beard,a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124243 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 00:19:16 +00:00
bryner%netscape.com
29313725bb Fixing a printing crash caused by an uninitialized variable in DocumentViewerImpl::PrintDocContent (bug 151607). r=rods, sr=sspitzer, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124238 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 23:49:34 +00:00
morse%netscape.com
1ca5f2df20 bug 150080, turn on turbo for multiple profiles, r=law, sr=waterson, a=valeski, adt=paw
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124235 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 23:10:05 +00:00
morse%netscape.com
c103108810 check in new image for lori, a=lorikaplan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124234 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 23:02:00 +00:00
ccarlen%netscape.com
5ca9ccb8b5 Bug 134448 - XPTI needs to account for system wide plugins folders. r=peterlubczynski/sr=beard/a=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124233 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 22:46:29 +00:00
ssu%netscape.com
05118109bc fixing bug 152895 - msg header pane loses focus. r=ducarroz, sr=mscott, a=adt,drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124220 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 21:39:31 +00:00
mstoltz%netscape.com
ee2f062637 Bug 149777 - do not clone nodes from the page into the pageInfo Media panel,
just copy over the source URL and other relevant fields (to avoid copying event
handlers). r=bzbarsky, sr=jag, a=valeski. Patch by jrgm@netscape.com.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124219 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 21:33:16 +00:00
ducarroz%netscape.com
6fb5cd2313 Fix for bug 145291. We must generate the headers of all the children of an multipart/appledouble attachment when doing parts-on-demand in order to have all the needed information to generate the attachment entry in the UI. R=cavin, SR=bienvenu, A=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124213 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 21:04:05 +00:00
rods%netscape.com
cf00b52da2 temporary patch to the forms controls to ignore mouse events when in
printpreview until Bug 124990 gets fixed (radio and checkbox doesn't need the fix)
Bug 129002 r=dcone sr=attinasi a=jud adt=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124176 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 10:46:45 +00:00
rods%netscape.com
8023d5b6a3 We do not want to skip page ejects when printing the selection
Bug 153964 r=dcone sr=kin a=jud adt=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124175 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 10:44:04 +00:00
hewitt%netscape.com
3caa15fea0 bugs 124969 (crash typing in homepage textbox on mac) and 126480 (autocomplete popup doesn't appear the first time you type), r=ben, sr=bryner, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124164 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 05:07:03 +00:00
dcone%netscape.com
51a8ec8ac7 b=153456 r=kmcclusk@netscape.com, sr=waterson, a=Judson Valeski,putterman@netscape.com. Fixed a realizePalette call. improves
performance.. especially with embedding.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124163 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 04:50:17 +00:00
dprice%netscape.com
2a8076c485 154220 r=curt sr=dveditz a=valeski adt=jaime
Don't enter pause dialog if http response indicates an error


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124160 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 03:51:40 +00:00
heikki%netscape.com
90d90b777c Bug 151933, xml:base needs to call CheckLoadURI. r=harishd, sr=jst, a=ADT,valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124159 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 03:44:39 +00:00
serge%netscape.com
d027b325ef fix for #149336 Linux Flash crashes and causes stack curruption in NPP_New when swLiveconnect=TRUE, r=av,sr=darin,a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124157 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 03:00:11 +00:00
bbaetz%student.usyd.edu.au
148c919829 Bug 154030 - Handle directory index page title correctly
r=dougt, sr=darin, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124155 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 01:57:00 +00:00
naving%netscape.com
17ce578faa 151699 r=cavin sr=bienvenu a=valeski Bail out if there is no space when d&d local folders
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124150 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 01:21:21 +00:00
timeless%mac.com
654d90b6b8 Bug 125411 [NuBus] Mac installer crashes with a type 12 error (SleepQInstall)
r=sfraser sr=beard a=valeski
thanks to tim@maroney.org (see bug 138156)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124149 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 00:39:19 +00:00
timeless%mac.com
92f366df0e Bug 136441 <select> dropdowns messed up if they are in an iframe and the dropdown is longer than the iframe's height
patch by roc, r=kmcclusk, sr=waterson, a=jesup (re-approved by valeski)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124147 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 00:27:55 +00:00
morse%netscape.com
859b9bf284 checking in new p3p icon for lori, a=lori
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124140 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 23:49:47 +00:00
rpotts%netscape.com
ce0af0ef4e bug #147741 (r=jst, sr=darin, a=valeski) Notify nsIContentPolicy listeners of document and sub-document loads.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124119 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 20:45:10 +00:00
kaie%netscape.com
8bbe93efd9 b=154084 entering/leaving secure site alert pops up incessantly
r=javi sr=alecf adt=paw a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124107 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 19:04:04 +00:00
bbaetz%student.usyd.edu.au
25b4c3389a Oops, didn't notice tree was closed - backed out previous patch.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124092 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 12:09:44 +00:00
bbaetz%student.usyd.edu.au
06d700b8d4 Bug 154030 - Handle directory index page title correctly
r=dougt, sr=darin, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124091 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 12:05:53 +00:00
peterv%netscape.com
639474a89e Fix for bug 142108 (Crash when reloading XML+XSLT Trunk, M100, N70PR1, M11A [@ nsXMLContentSink::Observe][@ 0x00000001]). r=Pike, sr=jst. a=judson, adt=jaimejr.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124089 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 08:51:36 +00:00
peterv%netscape.com
ce1e3c03b5 Fix for bug 142108 (Crash when reloading XML+XSLT Trunk, M100, N70PR1, M11A [@ nsXMLContentSink::Observe][@ 0x00000001]). r=Pike, sr=jst. a=judson, adt=jaimejr.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124088 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 08:10:48 +00:00
peterv%netscape.com
239db03a1d New files for bug 142108 (Crash when reloading XML+XSLT Trunk, M100, N70PR1, M11A [@ nsXMLContentSink::Observe][@ 0x00000001]). r=Pike, sr=jst. a=judson, adt=jaimejr.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124086 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 07:54:58 +00:00
peterv%netscape.com
9dcf945f94 Fix for bug 153757 (hasAttribute on a HTML label crashes). r=caillon, sr=jst, a=dbaron, adt=putterman.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124085 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 07:45:36 +00:00
jay.yan%sun.com
098a6b94b7 bug 135663 Solaris's F11 and F12 do not map to VK_F11 and VK_F12 r=akk, sr=blizzard,a=Jud
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124071 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:11:24 +00:00
bryner%netscape.com
fb6cc8e082 Fixing 144315, a crash regression from my checkin for bug 138237. r=alexsavulov, sr=blake, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124057 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 00:48:24 +00:00
dveditz%netscape.com
b3b11437a8 avoid leaking plugin path name unless debugging pref turned on (bug 88183) r=peterlubczynski, sr=alecf, a=valeski, adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124053 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 00:25:18 +00:00
cavin%netscape.com
306252b88f Fix for 152449. Remember the CRC checksum for the updated card info in PatchHistoryTableWithNewID(). r=naving, sr=bienvenu, a=jaimejr.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124029 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 22:21:28 +00:00
naving%netscape.com
3e3feeebb2 153101 r=cavin sr=bienvenu a=valeski fix copying to local sent/draft folder after sending mail
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124027 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 22:14:09 +00:00
(no author)
ef5e271ffd This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124018 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:18 +00:00
jaggernaut%netscape.com
71eb38c4d9 Bug 150099: Hide the tab bar when clicking the close box, add show/hide menuitem for tabbar. r=bryner, sr=hewitt, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123995 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 06:37:46 +00:00
curt%netscape.com
e23dff8f91 Support for screen reader.
(Bug 104477, r=dprice, sr=dveditz)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123993 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 05:55:26 +00:00
curt%netscape.com
3d08029c45 Support for screen reader in listbox.
(Bug 104477, r=ssu, sr=dveditz, mozilla1.0.1+)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123992 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 05:52:42 +00:00
blakeross%telocity.com
6a02131f6c 143333 - transpaernt animated gif rendered laced with garbage pixels. patch by Arron M. r=pav sr=tor a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123987 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 04:52:49 +00:00
peterlubczynski%netscape.com
4df00a3088 Fixing NS_MakeAbsoluteURI so it doesn't crash on default parameters, bug 148233 r=serge, sr=darin a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123984 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 04:21:42 +00:00
varga%utcru.sk
e6af590601 Fix for bug 123719 - Default account is not placed at the top of the folder paner=bryner,neil sr=bienvenu,blake a=valeski adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123983 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 04:00:36 +00:00
jaggernaut%netscape.com
44d41aa222 Bug 147720: M1RC3 crash [@ nsCharTraits<unsigned short>::length]. r=dbaron, sr=blake, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123982 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 03:17:19 +00:00
caillon%returnzero.com
93b7ef8f0c Bug 134800. Following a groupmark should not clobber all open tabs: append the groupmark's tabs to the end of the tab list instead.
r/sr=jag/blake
a=asa
adt=paw


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123981 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 03:16:32 +00:00
peterlubczynski%netscape.com
5ada44a604 Fixing IPIX for Mac Classic: SetWindow needed to be called and nsObjectFrame::DidReflow() needed to complete on Mac as well, bug 144896 r=av sr=beard a=dbaron & ADT
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123979 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 02:45:36 +00:00
peterlubczynski%netscape.com
f1e23fb653 Fixing bug 122119, cannot use consecutive white space characters in PARAM tags, r=harishd, sr=jst a=dbaron & ADT
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123977 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 02:41:06 +00:00
blakeross%telocity.com
10ecd2cb1c 132319 - browser crashes when machine is low on memory. r=pav sr=tor a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123976 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 02:30:24 +00:00
blakeross%telocity.com
62eda89c24 135270 - sidebar add button doesn't call right dialog for bm groups. r=bryner sr=ben a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123975 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 02:17:34 +00:00
suresh%netscape.com
c1df55f01b fix for bugscape 16611, crash [@ InMemoryDataSource::Assert ]. r-rjc, sr-alecf, a-adt.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123970 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 00:15:33 +00:00
rods%netscape.com
8ee6840c00 when loading images from the cache for printing we need to set the flags correctly to get them from the cache
Bug 150072 r=dcone sr=kin a=jud adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123968 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 23:22:32 +00:00
rods%netscape.com
1fdfd53ba4 Add an interface to nsDataObjectCollection so we can QI to check to make sure
it is one of our objects before doing the static cast.
Bug 106211 r=pink sr=jst a=dbaron adt=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123967 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 23:19:33 +00:00
rods%netscape.com
4cc53df442 We are destroying the PresShell without calling EndObservingDocument, when a
BeginObservingDocument was already called. This means the PresShell is still
registered as an observer of the document and then later can cause a crash when
the document loops thru the observer list.
Bug 152536 r=dcone sr=jst a=jud adt=paw


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123966 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 23:15:39 +00:00
dprice%netscape.com
3e06338d30 144288 - missed a slight change
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123963 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 22:47:34 +00:00
dprice%netscape.com
5ec9d0dafa 151947 - r=curt sr=dveditz adt=jamie a=valeski
let config.ini control cleanup of previous version reg keys


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123962 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 22:44:20 +00:00
dprice%netscape.com
6c54fb56fc 149791 - r=curt sr=dveditz adt=jaime a=valeski
make superseded components invisible in selection lists


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123961 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 22:42:31 +00:00
dprice%netscape.com
608973612d 144288 - r=sgehani sr=dveditz adt=jaime a=valeski
libxpnet now fails on bad response codes


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123960 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 22:39:47 +00:00
naving%netscape.com
10ce09d738 136784 r=bienvenu sr=mscott a=valeski fix problems in compacting local folders when summary file is
out-of-date.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123951 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 21:45:59 +00:00
karnaze%netscape.com
a92f30d9c3 bug 145842 - don't repeat headers/footers that split. sr=attinasi, r=alexsavulov, adt=paw, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123949 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 21:32:46 +00:00
naving%netscape.com
88346339f0 151056 r=cavin sr=bienvenu a=valeski. fix mdn to work for large imap messages.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123948 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 21:25:31 +00:00
mjudge%netscape.com
77698771ed bug 146299 adt+ drivers+ sr=jag r=cmanske. bug to make drag selection select the image in the source document despite if the drag is successful or not.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123946 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 21:00:49 +00:00
mjudge%netscape.com
ff93b8dcda fix for 113613 sr=kin r=blythe adt+ and drivers ok'd. small fix to prevent caret from leaving containing style while typing and hitting endofline key.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123945 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:55:12 +00:00
kaie%netscape.com
be0bcee8f3 b=140836 https surfing: Clicking on a link early leads to "mixed/broken" lock icon
r=javi sr=rpotts adt=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123944 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:51:21 +00:00
kaie%netscape.com
f5057e6483 bug #148981 (r=kaie, sr=darin, adt=jaimejr, a=valeski). STATE_TRANSFERRING notifications are not fired if theunderlying channel does not provide nsIProgressEventSink notifications...
checking in for rpotts


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123943 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:42:37 +00:00
naving%netscape.com
09049016ea 152713 r=ssu, racham sr=mscott a=valeski Don't allow special folders to be deleted (Edit | Delete folder)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123942 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:41:25 +00:00
kaie%netscape.com
eafd14d1f0 b=153243 Error in recipient certificate availability checking, causing unreadable mail
r=ssaux sr=jag adt=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123941 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:39:14 +00:00
kaie%netscape.com
6033805e92 b=137071 [UE] Replies to or forwarding S/MIME encrypted mail should default to encrypt
Additional required patch, to fix "forward inline".
Patch created by ducarroz.
r=kaie sr=mscott adt=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123940 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:33:03 +00:00
kaie%netscape.com
2b5c8e9cbd b=137071 [UE] Replies to or forwarding S/MIME encrypted mail should default to encrypt
r=ducarroz sr=mscott adt=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123939 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:32:34 +00:00
naving%netscape.com
58e659e1e9 139485 r=cavin sr=bienvenu a=valeski fixing certain cases where returning to folder view after doing quick search
won't refresh scrollbar.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123938 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:29:55 +00:00
kaie%netscape.com
46d05f5f74 b=90956 Dot (.) instead of localized characters in pipnss module
r=ssaux sr=alecf adt=jaimejr adt=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123937 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:16:19 +00:00
caillon%returnzero.com
f3996f782c Bug 152256, honor the pref to prevent sites from hiding the statusbar for window.statusbar.visible=false
r=bzbarsky
sr=jst
a=valeski
adt=paw


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123936 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:12:21 +00:00
pinkerton%netscape.com
2d45da0f14 turn on CG metrics for quartz rendering if 10.1.5 is present. bug 149427, r=ccarlen/sr=hyatt/a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123935 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:10:08 +00:00
pinkerton%netscape.com
8c8adeec08 Check hidden attribute when creating separators. r=saari/sr=sfraser/a=valeski. bug#151693
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123934 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:08:51 +00:00
caillon%returnzero.com
9371bccc37 Bug 74688. Mail/News out of the box on Mac was pretty unusable because context menus were appearing on clicking the scrollbar.
r=sgehani
sr=jag
a=valeski
adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123933 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 20:08:49 +00:00
mkaply%us.ibm.com
a1f63a989a #150679
r=jeffreyj@us.ibm.com, sr=mscott, a=valeski
OS/2 only - support for new mail notification in the OS


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123917 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 04:48:10 +00:00
blakeross%telocity.com
49ac50f0c2 143267 - tools > download manager doesn't focus already open download manager. r=sgehani sr=blake a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123914 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 04:00:31 +00:00
timeless%mac.com
e1b79228fa Bug 152910 Set History to 0 it still works
patch by blake r=adamlock sr=alecf a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123912 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 02:32:59 +00:00
mkaply%us.ibm.com
d9a050b6c1 #150157
r=wtc, a=dbaron
OS/2 only - DosWrite is not returning an error when the disk is full.
We can tell the write failed if we did a partial write.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123911 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 02:13:20 +00:00
blizzard%redhat.com
0335eb8910 Bug #116653. Implement openurl(foo,new-tab). Patch from shaver. r=blizzard,sr=jag
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123908 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 00:22:04 +00:00
dbaron%fas.harvard.edu
204e2b5863 Correct display of bookmark groups in folders on personal toolbar. b=134853 Patch from neil@parkwaycc.co.uk. r=ben sr=alecf a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123895 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-23 05:49:15 +00:00
blakeross%telocity.com
a0bc28a6f0 134076 - help search engine should let users know that no matches were found. r=oeschger sr=alecf a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123893 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-23 04:11:59 +00:00
jaggernaut%netscape.com
20f52a464a Bug 112769: better "new tab" button for classic theme. r=bryner, sr=blake, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123891 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-23 02:35:37 +00:00
brendan%mozilla.org
99e1cc2ee7 Report uncaught errors-as-exceptions from outermost JS_Compile*Function* API calls, just as for JS_Compile*Script* (150584, r=rginda, sr=jst, a=dbaron).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123887 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-23 00:09:36 +00:00
brendan%mozilla.org
7a453fda9c Work around fgets-can't-return-embedded-nul bug (148800, r=rogerl, sr=shaver, a=valeski).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123885 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-23 00:04:45 +00:00
bnesse%netscape.com
42936b4b40 Fix for bug 141035. Application must quit if the .cfg file is required but does not exist. r=ccarlen, sgehani. sr=alecf, beard, dveditz. a=valeski. adt=putterman.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123878 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-22 20:43:33 +00:00
blakeross%telocity.com
ff1b8f2964 142310 - topcrash quitting while downloading @ nsHashTable::Exists. r=bryner sr=ben a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123875 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-22 19:44:15 +00:00
peterv%netscape.com
15ab5b9a2e Fix for bug 88761 (html code for selected and noshade (and other minimizable attributes) not w3c conformant). r=heikki, sr=jst, a=judson, adt=paw.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123869 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-22 14:27:54 +00:00
katakai%japan.sun.com
c374ea8952 bug 152260
AMPM order needs to be cared in time format
check the order AM/PM string from strftime()
r=yokoyama,sr=blizzard,a=valeski@netscape.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123864 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-22 06:18:44 +00:00
bryner%netscape.com
f97c54d160 Fixing win32 gmake bustage from darin's checkin... configure is not auto-updated on the branch, so please make sure to check in configure if you change configure.in.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123863 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-22 05:04:53 +00:00
srilatha%netscape.com
f07bfa94eb Fix for bug # 148939. When a card gets updated, update the addresslists of the mailing list
r=varada, sr=bienvenu, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123857 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-22 01:26:35 +00:00
rginda%netscape.com
c64b227676 Bug 151803, "Debugger is leaking JSDValues", r=peterv, sr=jst, a=valeski
Stop caching jsdIValues, it doesn't seem to be worth the lookup cost. This has the side effect of plugging the leak, as described in the bug.
also...
* Convert a few raw pointers to nsCOMPtrs
* Fix a bug where removing the last filter did not null out the list head,
causing a crash the next time filters were used.
* Track live jsdStackFrames, so we can invalidate them all when execution
continues. Without this, only the top frame is properly invalidated, and any
other frame accessed after a continue will do Bad Things.
* Add some debugging prints to GetInitAtService, which seems to be failing at
random times.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123855 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-22 01:08:34 +00:00
yokoyama%netscape.com
8176e540c2 Bug 149171, 146844, 149397
CJK IME text input related bug fixes.
/r=shanjian,/sr/brendan,/driver=jud,/adt=ok


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123851 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-22 00:34:46 +00:00
darin%netscape.com
a025d90adb fixes bug 147333 "Cannot load local files whose names contain
Japanese/Chinese characters" r=bstell sr=brendan a=valeski adt+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123841 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 23:55:49 +00:00
peterlubczynski%netscape.com
48933113ab Fixing bug 134445, OBJECT tag needs to be able to access default plugin r=av sr=beard
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123839 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 23:52:08 +00:00
naving%netscape.com
99dd57db43 129540 r=racham sr=alecf a=drivers adding help buttons and fixing them to point to right help page
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123838 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 23:44:06 +00:00
darin%netscape.com
4656a50b00 secondary fix for bug 146094 "Stealing third-party cookies through a proxy"
r=dougt sr=rpotts a=valeski adt+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123834 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 23:39:28 +00:00
darin%netscape.com
27d41038fa fixes bug 133286 "Windows Media Player in full-page plugin mode may not
repaint window" patch=av r=dougt sr=darin a=valeski adt+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123833 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 23:37:37 +00:00
naving%netscape.com
08fcc4efa9 129540 r=racham sr=alecf a=drivers adding help buttons and fixing them to point to the right page.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123832 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 23:36:32 +00:00
darin%netscape.com
1c43d58ca0 fixes bug 140107 "HTTP headers show in frame [when server pipelines chunked
responses]" r=dougt sr=rpotts a=valeski adt+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123831 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 23:32:33 +00:00
alexsavulov%netscape.com
d35f1c396d fix for bug 144315 - Images that are "broken" during document editing don't
redisplay using broken image icon.
r=glazman sr=waterson a=jaimejr


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123826 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 23:01:22 +00:00
wtc%netscape.com
6798a8a496 Bug 151940: SEC_PKCS12DecoderVerify should call SEC_ASN1DecoderFinish first
to detect insufficient input data error.  With mozilla1.0.1+ and adt1.0.1+
approvals.
Tag: MOZILLA_1_0_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123818 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 21:46:48 +00:00
wtc%netscape.com
073f0dcac1 Bug 151671: merged NSPR 4.2 and 4.2.1 fixes into MOZILLA_1_0_BRANCH.
With mozilla1.0.1+ and adt1.0.1+ approvals.
Modified files: repackage.sh prdepend.h base64.c prinit.h ptio.c vercheck.c


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123817 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 21:40:15 +00:00
curt%netscape.com
e54f9a1948 Looked like disk space was negative
(Bug #82448, r=dprice, sr=dveditz, a=valeski)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123816 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 21:36:31 +00:00
ssu%netscape.com
ad7d6a84eb fixing bug 152456 - mail header To: field shows duplicate address. r=varada, sr=mscott, a=drivers,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123815 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 21:36:04 +00:00
racham%netscape.com
2607c79153 Disable ,a=drivers,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123814 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 21:31:50 +00:00
srilatha%netscape.com
498e49324c Fix for bug # 130403. If there is no selected addressbook, make personalAB selectedAB.
r=varada, sr=bienvenu, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123811 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 21:09:05 +00:00
pavlov%netscape.com
ac467dfb2f fix for bug 148879. patch from balleysson@bigfoot.com. r=pavlov sr=tor a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123809 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 20:34:07 +00:00
shaver%mozilla.org
f12373b8d5 76968: Need to ~expand paths in nsLocalFileUnix. r=bz, sr=blizzard, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123804 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 20:08:37 +00:00
peterv%netscape.com
0a50be934d Fix for bug 94475 (if first whitespace in line in textarea is a tab it is changed to a new line). Patch by t_mutreja@yahoo.com, r=bratell@lysator.liu.se, sr=heikki, a=valeski, adt=jaimejr.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123782 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 08:22:37 +00:00
racham%netscape.com
f9c5aa5879 Fixing bugzilla bug 144562. Allow ISPs and vendors to set up pre-configured mailnews accounts via prefs. Adding global version prefs which provide ISP/vendors the flexibility of adding new accounts/servers to the existing set of accounts/servers by increasing the default version number. r=srilatha, sr=bienvenu, a=drivers,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123781 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 07:57:17 +00:00
racham%netscape.com
205be5ebc7 Fixing bugzilla bug 144562. Allow ISPs and vendors to set up pre-configured mailnews accounts via prefs. When a proper set of prefs area added to the global prefs file, accounts are set up automatically. On launching mailnews app, Account Wizard will be brought up on identifying invalid accounts so that user information like name and email address can be entered. Please see the bug for set of prefs used as an example. r=srilatha, sr=bienvenu, a=drivers,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123780 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 07:54:14 +00:00
dprice%netscape.com
3f782d2982 137384 r=curt sr=dveditz a=valeski adt=jaime
include license.txt with saved files when saving installer files


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123779 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 07:38:33 +00:00
dmose%netscape.com
dedb6e44a9 Fix incorrect array length calculation + add temporary variable to avoid scoping issue which was causing bogus text to appear in the LDAP auth dialog on linux (bug 148897); r=bryner@netscape.com, sr=bienvenu@netscape.com, a=valeski@netscape.com, adt=paw@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123777 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 06:53:20 +00:00
cotter%netscape.com
01d73157aa help content updates per bugzilla 122806 & ADT, r=oeschger; a few more final correx, search db update
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123773 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 05:50:42 +00:00
srilatha%netscape.com
9bcf6107c1 Fix for bug # 118804. Setting the width on the dropdown listbox
r=varada,andreww, sr=bienvenu, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123771 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 05:28:56 +00:00
dbaron%fas.harvard.edu
b0100e4d87 Fix performance problem on home.netscape.com: Don't do full reflow of all absolutely positioned elements whose containing block is on the path to the target of an incremental reflow. b=146831 sr=waterson r=kin a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123762 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 03:32:53 +00:00
dbaron%fas.harvard.edu
75a1d85212 Make sure SpaceManager is in the reflowState before absolute items are reflowed to prevent crash. b=130251 Patch by attinasi. r=alexsavulov, dbaron sr=waterson a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123761 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 03:25:52 +00:00
dbaron%fas.harvard.edu
6b3f3a6e88 Fix hang bug 140275 by cleaning up FindFrameWithContent. r=attinasi sr=waterson b=140275. Includes fix for regression that it caused, b=145224 sr=waterson r=bzbarsky. a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123758 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 03:04:34 +00:00
dbaron%fas.harvard.edu
9f5554c942 Fix crash when looking at style rules of element matching no rules. b=141022 r=hewitt sr=waterson a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123757 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 02:58:23 +00:00
dbaron%fas.harvard.edu
7a969df31e Fix crash exiting print preview in certain cases (pages with frames; embedding apps) by ensuring view manager outlives pres shell. b=148308 r=rods sr=waterson a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123756 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 02:56:06 +00:00
blakeross%telocity.com
73e99cd734 Some code slipped in that shouldn't have. Thanks to jrgm for catching it.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123753 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 02:18:38 +00:00
cmanske%netscape.com
48b621a0d7 New publish icon for Composer toolbar. b=125128, r=cmanske, sr=jst, a=adt, a=valeski/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123749 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 01:44:54 +00:00
leaf%mozilla.org
034c7403c1 update resource version strings.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123740 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 23:59:11 +00:00
dbaron%fas.harvard.edu
8a24b2305c Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123739 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 23:57:25 +00:00
dougt%netscape.com
8f8d06a1fe 153164. removed embed_base_s from XPCOM_GLUE_LIBS r/sr=seawood
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123736 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 23:43:00 +00:00
kmcclusk%netscape.com
463bf075db Fix off by one pixel error by changing how the rendering context state is saved/restored in nsContainerFrame's Paint method bug=80530 sr=waterson r=dbaron a=valeski adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123730 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 23:28:23 +00:00
kaie%netscape.com
418629f9d5 b=152971 Fix code error, occurred when manually resolving conflicts
r=ssaux sr=darin a=valeski adt=jaimejr


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123726 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 22:33:14 +00:00
dmose%netscape.com
b5d5402be6 If authentication fails during LDAP autocomplete, bring up a new password dialog rather than showing an obscure error message (bug 150723); r=ducarroz@netscape.com, sr=hewitt@netscape.com, a=valeski@netscape.com, adt=paw@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123708 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 19:57:35 +00:00
mkaply%us.ibm.com
b4a2bbf3f2 #152936
r=rods, sr=jst, a=valeski
OS/2 - Just return if there are no printers to prevent crash


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123707 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 19:56:36 +00:00
blakeross%telocity.com
f28341d7b8 131762 - can open multiple occurrences of download manager. r=hixie sr=ben a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123705 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 19:28:51 +00:00
blakeross%telocity.com
f565d2710a 142824 - downloads.rdf keeps on growing. r=blake sr=ben a=asa, patch by jrgm.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123704 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 19:26:29 +00:00
mkaply%us.ibm.com
1ab282c09c #70141
r=timeless, sr=jag, a=valeski
Windows - map + on numpad to + character


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123703 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 19:11:07 +00:00
kaie%netscape.com
b413625b22 b=145730 Avoid unnecessary repeated "encrypted page" alerts on JavaScript links.
r=jst sr=darin adt=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123702 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 18:59:11 +00:00
ssu%netscape.com
6dd25d57b7 fixing bug 136417 - Mark newsgroup read from newsgroup folder context menu affects wrong folder. r=bhuvan, sr=mscott, a=drivers,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123698 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 18:31:50 +00:00
morse%netscape.com
7ca15ca9f9 change p3p icon, r=kerz, sr=blake, a=lorikaplan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123691 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 13:27:44 +00:00
(no author)
d8d51f3fc0 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123687 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 12:04:23 +00:00
ssu%netscape.com
c30c45478b fixing bug 150678 - native installer progress bar looks choppy. r=curt, sr=dveditz, a=drivers,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123683 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 07:02:32 +00:00
cotter%netscape.com
b473eb7b46 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; final corrections and search db update
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123682 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 06:58:49 +00:00
jaggernaut%netscape.com
c94b3e468f Bug 139321: forward button not working with pdf. r=biesi, sr=alecf, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123681 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 06:32:22 +00:00
mscott%netscape.com
dd891e72f6 Bug #141835 --> register the browser window to handle image/jpg
r=naving
sr=sspitzer
a=jesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123674 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 03:24:47 +00:00
bnesse%netscape.com
7bba6c9005 Fix for bug 121332. Implement support for user callback function ProcessLDAPValues(). r=dmose, sr=alecf, a=valeski, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123671 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 02:27:00 +00:00
bnesse%netscape.com
6ae72b82cb Fix for bug 98476. Add safe save and redundant backup support for preferences. r=alecf, sr=jag, a=valeski, adt=jaimejr.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123670 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 02:22:11 +00:00
smontagu%netscape.com
99beaa40ee Bug 147743 Xprint prints some (non-scaleable) bitmap fonts far too small Author=Roland.Mainz@informatik.med.uni-giessen.de, r=bstell@ix.netcom.com, sr=dveditz, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123669 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 02:03:43 +00:00
smontagu%netscape.com
09abd13db8 Bug 150519 ("Search results from http://www.google.co.il/ print in horrible quality"), Author=Roland.Mainz@informatik.med.uni-giessen.de, r=shanjian, sr=jst, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123668 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 01:56:33 +00:00
srilatha%netscape.com
96e7c17494 Fix for bug # 151670. Mapi registry settings in the client should be same as installer
r=rdayal, sr=mscott


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123667 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 01:55:42 +00:00
blakeross%telocity.com
a401e3ecba 149812 - remove what's related domain blocking UI. r=bryner sr=ben a=scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123663 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 01:30:36 +00:00
naving%netscape.com
6c0f61c5a2 141354 r=bienvenu sr=mscott a=valeski fixing corruption of rules.dat if you have custom headers in your filter
and you try to add a new filter


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123657 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 00:23:21 +00:00
dougt%netscape.com
170660efc8 this should fix the bustage.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123656 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 00:21:37 +00:00
smontagu%netscape.com
d56b6fd084 Bug 146622 'PrefEnumCallback does not work as expected', Author=Roland.Mainz@informatik.med.uni-giessen.de,r=bstell+katakai,sr=jag+scc, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123653 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 00:07:51 +00:00
naving%netscape.com
18f184a211 128098 checking for oeschger patch by neil@parkwaycc.co.uk r=oeschger sr=alecf made it so Index is expanded by
default in help


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123652 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:58:05 +00:00
smontagu%netscape.com
150f8f03e3 Bug 148468: Xprint-specific X font banning code is broken. Author=Roland.Mainz@informatik.med.uni-giessen.de, r=timeless, sr=scc, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123651 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:57:44 +00:00
naving%netscape.com
8ed155c7ba 136721 r=racham sr=bienvenu a=valeski made it so that News server is pre-populated in Account Wizard after running auto-subscribe URLs.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123649 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:48:37 +00:00
smontagu%netscape.com
cc36111653 Bug 148470: Ban "-dt-*" (bitmap!!) fonts from Xprint. Author=Roland.Mainz@informatik.med.uni-giessen.de, r=shanjian, sr=jst, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123648 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:44:07 +00:00
naving%netscape.com
a66b9d84db 90064 r=cavin sr=bienvenu a=rjesup fixing subscribe error alert when sending mail without opening mailnews
on copying msg because sent folder was being subscribed again.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123647 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:41:30 +00:00
varada%netscape.com
57d568048a fix for bug#144569;should import smtp username from eudora,oe and outlook;r=srilatha;sr=bienvenu
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123645 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:33:56 +00:00
smontagu%netscape.com
9a471b1f2f Bug 148690: For Xprint force use of outline scaleable fonts if possible. Author Roland.Mainz@informatik.med.uni-giessen.de, r=shanjian, sr=jst, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123644 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:25:51 +00:00
naving%netscape.com
106d1530e9 136074 checking for oeschger patch by wilson r=oeschger sr=alecf fixing Help search engine should let user know that no matches were found
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123643 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:18:20 +00:00
ftang%netscape.com
4cf91c1b48 fix bug 150044 and bugscape 16047. r=yokoyama sr=kin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123641 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:14:23 +00:00
waterson%netscape.com
15c656b10b Bug 146797. Bullet-proof RDF container objects. r=tingley, sr=shaver, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123640 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:09:42 +00:00
waterson%netscape.com
7cb24c9de3 Bug 146125. Kill top- and bottom-margin on <th> elements. r=dbaron, sr=kin, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123639 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:09:05 +00:00
naving%netscape.com
527788efa4 151819 152406 r=cavin sr=bienvenu a=valeski fixing aol "Sent mail" and webmail "Draft" and "Sent" folder to show Recipient
instead of Sender and localizing webmail "Sent" and "Draft" folder


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123637 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 23:02:34 +00:00
dougt%netscape.com
cac2e2c5d4 fixes 139556. Crash in js_FreeStack [d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 409]. r=rpotts, sr=darin, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123630 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:49:38 +00:00
heikki%netscape.com
0865ca0b65 Bug 125583, disable automatic XLinks in Mail. r=harishd, sr=jst, a=ADT,rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123629 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:48:49 +00:00
nhotta%netscape.com
168b1d9d62 Check null pointer for arguments of Unicode conversion util functions,
bug 151769, r=ducarroz, sr=bienvenu, a=adt,valeski.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123628 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:43:49 +00:00
alexsavulov%netscape.com
87c57eb05c Fix for bug 134437: WM_SETFOCUS defferal to avoid accessing frames that are
in the process of destruction when windows are destroyed be cause setfocus
causes the flush of reflow commands

r=kmcclusk sr=waterson a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123623 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:27:57 +00:00
kaie%netscape.com
88dbfb8ef3 b=119394 Support fetching certificates from LDAP servers.
r=javi/dmose sr=mscott adt=putterman a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123622 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:25:16 +00:00
kaie%netscape.com
2b4245627a b=133995 Only allow sending encrypted mail using valid recipient certs.
r=javi sr=mscott adt=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123618 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:13:13 +00:00
kaie%netscape.com
d3b53fc01e b=149868 http must never use starttls type sockets, even when going over a proxy. http allows all flavors of SSL2/SSL3/TLS (while startls type sockets disallow some flavors).
r=bbaetz sr=darin adt=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123617 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:10:10 +00:00
kaie%netscape.com
b8d2b60148 b=148610 Lock icon should be updated as early as possible.
r=javi sr=rpotts


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123616 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:06:57 +00:00
bienvenu%netscape.com
e974827d29 fix for 144345 from trunk, linefeeds in offline msg string a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123615 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:00:20 +00:00
cmanske%netscape.com
8d58c6c22a Fixed crash when inserting table column, b=152320, r=brade, sr=kin, a=adt, a=rjesup/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123611 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 21:49:15 +00:00
cmanske%netscape.com
812ae457cb Support 'file://' protocol when publishing, b=142171, r=brade, sr=alecf, a=adt, a=rjesup/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123610 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 21:49:06 +00:00
cmanske%netscape.com
e5ed010bad Fixed bad font string for 'Helvetica, Arial, sans-serif' font group. b=150915, fix by ask@swva.net, r=cmanske, sr=kin, a=adt, a=rjesup/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123609 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 21:48:44 +00:00
cmanske%netscape.com
b091abdb95 Make dbl-click work to select color in colorpicker. b=151474, fix by neil@parkwaycc.co.uk, r=brade, sr=kin, a=adt, a=rjesup/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123608 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 21:48:42 +00:00
jaggernaut%netscape.com
d8344db317 Bug 112769: Add "New Tab" button to tab bar. r=sgehani, sr=hewitt, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123570 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 06:46:24 +00:00
shanjian%netscape.com
a3b6cbfd26 #84668 Ugly Chinese font in dialogs and menu on simplified chinese windows
force default size to be 9 when system says 8 for simplified chinese system.
r=ftang, sr=alecf, a=adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123562 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 02:36:28 +00:00
wtc%netscape.com
2639e2de42 Bug 144605: Reset the cert cache and clobber cert handles on token
insertion an removal.  r=mcgreer.  a=mozilla1.0.1+ and adt1.0.1+.
Tag: MOZILLA_1_0_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123558 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 01:35:35 +00:00
ssu%netscape.com
148b9b56d7 fixing bug 134745 - mail notification icon in system tray is the wrong icon (yellow triangle). r=bhuvan, sr=mscott, a=drivers,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123556 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 01:21:40 +00:00
serge%netscape.com
30aaf9a866 fix for #44169 improperly parented modal dialog in nsPluginHostImpl.cpp, r=av,sr=beard,a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123555 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 00:58:53 +00:00
harishd%netscape.com
d03db64f78 Strip leading/trailing spaces from img src attribute value that was preventing image rendering. b=87894, r=jkaiser, sr=jst, a=adt,valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123550 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 00:17:58 +00:00
srilatha%netscape.com
162e114cdd Fix for bug # 149758. ability to pre-config and lock ldap server prefs
r=rdayal, sr=sspitzer, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123547 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 00:06:03 +00:00
dmose%netscape.com
50e9a1cd12 First match not pre selected when multiple matches are present in directory (bug 102693); r=ducarroz@netscape.com, sr=mscott@netscape.com, a=valeski@netscape.com, adt=paw@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123544 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 23:40:09 +00:00
cotter%netscape.com
aad7e440e1 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; latest formatting & editorial updates
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123541 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 23:22:13 +00:00
dmose%netscape.com
485d22cd1c Add support for binary LDAP attributes (bug 119380); r=peterv@netscape.com, sr=mscott@netscape.com/sspitzer@netscape.com, a=valeski@netscape.com, adt=putterman@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123540 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 23:21:23 +00:00
nhotta%netscape.com
27b1c3bc88 Moved the flex value for the widget width out to .dtd file to make it localizable,
bug 150756, r=naving, sr=mscott, a=adt,valeski.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123539 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 23:16:09 +00:00
robinf%netscape.com
c95102f0f0 routine help updates per bug 122806, r=oeschger
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123535 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 23:01:28 +00:00
pinkerton%netscape.com
70385b3718 bug 148213, flush cookies to disk after a remove-all-cookies, r=pinkerton, sr=beard, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123521 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 20:53:09 +00:00
kaie%netscape.com
e0192c396e b=150863 Fix lock icon state for low/high crypto mix.
r=javi sr=alecf adt=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123515 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 20:30:04 +00:00
kaie%netscape.com
8fb90c754e b=126944 Handle NSS error codes within PSM.
r=ssaux sr=darin adt=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123514 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 20:26:58 +00:00
jpierre%netscape.com
9a512b60f0 Fix for bug 139874 - Inject Latest Roots CA Cert. - r=wtc a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123491 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 02:25:06 +00:00
law%netscape.com
fff521cbd6 Bug 89907 (on branch); add new button to Nav pref pane to simplify setting of default browser (Win32 only via platformPrefOverlay); r=sgehani, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123482 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 00:35:50 +00:00
law%netscape.com
39375575a6 Bug 89907 (on branch); add method to determine if prefs are set in Win32 registry; r=sgehani, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123480 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 00:16:08 +00:00
jpierre%netscape.com
d23a86c5c3 Fix for bug 139874 - Inject Latest Roots CA Cert. - r=wtc a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123462 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 21:08:08 +00:00
ducarroz%netscape.com
087a8d3d50 Fix for bug 135279. Need to be able to specify a line token other than LF when reading a stream buffer. Local file on Mac or CR as line ending. R=naving, SR=mscott, A= dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123458 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 21:00:50 +00:00
dougt%netscape.com
246c3064c1 Fixes 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123456 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 20:52:59 +00:00
(no author)
2ea2d4de49 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123452 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 20:49:27 +00:00
dmose%netscape.com
0e2ab4c13f Authenticated LDAP autocomplete autoselects address immediately after authentication (bug 146569); r=blake@netscape.com, sr=hewitt@netscape.com, a=dbaron@fas.harvard.edu, adt=syd@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123425 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 05:21:15 +00:00
dmose%netscape.com
5cb1e89f42 Fix NetBSD build bustage (bug 135027); r=seawood@netscape.com, a=dbaron@fas.harvard.edu, adt=syd@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123424 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 05:00:43 +00:00
ssu%netscape.com
7d244ddadf fixing bug 149515 - Mail header optimizations disabled critical mail header feature. r=bhuvan, sr=sspitzer, a=adt,drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123423 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 02:06:13 +00:00
suresh%netscape.com
f7aa411272 fix for 149189 - update goPreference calls with correct parameters (pref branch not expanded). r-ducarroz, sr-alecf, a=dbaron.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123418 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-16 19:48:33 +00:00
sicking%bigfoot.com
b6f33143fe Back out part of fix for bug 85893 which caused NodeSet::indexOf to not work for nodesets not in document order.
b=134295 r=peterv sr=jst a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123416 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-16 16:48:16 +00:00
morse%netscape.com
23938e1717 bug 147223, urlbar doesn't function if restart too quickly in turbo mode, r=law, sr=darin, a=dbaron, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123408 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-16 01:24:27 +00:00
blakeross%telocity.com
ed6d2aba83 This didn't get adt+'d yet, my mistake.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123399 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 21:55:00 +00:00
blakeross%telocity.com
1170c07f03 *** empty log message ***
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123398 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 21:52:48 +00:00
blakeross%telocity.com
15f32e23c9 128322 - history sidebar opens topmost visible link automatically. patch partly by neil. r=hewitt/andreww sr=blake/hewitt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123397 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 21:38:32 +00:00
blakeross%telocity.com
284c90077f 149357 - remove excess bloat in cookie prefs. r=morse sr=ben a=scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123395 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 21:29:22 +00:00
cavin%netscape.com
53e7ffd9da Fix for 140850. In AddLdifRowToDatabase(), reset CR/LF counters and return if there's no data in the ldif buffer to process. R=ducarroz, sr=sspitzer, a=dbaron.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123383 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 04:07:05 +00:00
cavin%netscape.com
fc905321c3 Fix for 141299. In nsMsgNewsFolder::SetReadSetFromStr(), after 'mReadSet' is recreated store the new pointer in the db as well. r=naving, sr=bienvenu, a=dbaron.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123382 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 04:04:49 +00:00
oeschger%netscape.com
364c30f59a additions to search db for help, dispensaton per 122806
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123378 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 00:49:43 +00:00
serge%netscape.com
bece21038b fix #146328, PluginViewerImpl::Init(nsIWidget* aParentWidget == check this parameter for null;r=av/peterl,sr=beard,a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123377 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 00:43:54 +00:00
smontagu%netscape.com
88de7c2871 Bug 150339: huge font crashes X Windows. Author=Roland.Mainz@informatik.med.uni-giessen.de, r=tor, sr=blizzard, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123375 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 00:31:05 +00:00
mscott%netscape.com
3d229b7740 Bug #119328 --> drop in the new mail notification icon from the UI group for the windows
system tray.

a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123374 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 00:06:20 +00:00
nhotta%netscape.com
cbc343bcad Added error handling for the Unicode conversion for message quote,
bug 132613, r=ducarroz, sr=bienvenu, a=adt, dbaron@fas.harvard.edu.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123372 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 23:45:53 +00:00
nhotta%netscape.com
f8110798ca Map charset name to charset atom, this fixes the charset name canonicalization problem (e.g "utf-8" vs "UTF-8"),
bug 138638, r=rjc, sr=alecf, a=adt, dbaron@fas.harvard.edu.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123371 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 23:45:36 +00:00
nhotta%netscape.com
0a0fbe2b15 Changed the localization note to mention that "MsgMdnWishToSend" is localizable,
bug 149162, r=yxia, sr=bienvenu, a=mcarlson, adt, dbaron@fas.harvard.edu.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123370 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 23:44:48 +00:00
oeschger%netscape.com
55a8e79021 adding more help buttons, bug=129540, r=andreww, sr=alecf, a=dbaron, long bake on trunk
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123369 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 23:42:59 +00:00
ssu%netscape.com
7cb0d3f5dc fixing bug 114952 - Labels: not available in standalone msg window, Message context menu items disabled. r=varada, sr=bienvenu, ar=drivers, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123368 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 23:37:49 +00:00
akkana%netscape.com
6204f58f95 134275: make find stop at table cell boundaries. r=brade sr=kin a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123367 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 23:37:35 +00:00
blizzard%redhat.com
7a35619362 Bug #148877. Export nss package and fix js library link line. r=cls,leaf a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123357 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 22:46:06 +00:00
shliang%netscape.com
69fdcdef0c 134430. change default prefs for mdn return receipts. r=ssu, sr=sspitzer, a=dbaron.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123291 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 02:31:40 +00:00
shliang%netscape.com
3afe010889 141064. focus for new mailing list dialog is not in right place. r=hewitt, sr=sspitzer, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123290 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 02:27:37 +00:00
cotter%netscape.com
d8d07f6235 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; latest privacy & security legal reviews, formatting updates
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123289 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 02:25:27 +00:00
shliang%netscape.com
642c729f4e 132032. column settings for unread msgs in mail folder pane not followed. r=bhuvan, sr=sspitzer, a=dbaron.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123288 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 02:23:50 +00:00
dcone%netscape.com
2ff622ca46 bug 116042. Check for a null pointer. r=rods sr=waterson adt=Jaime Rodriguez, Jr. a= Randell Jesup. Fixes quickkeys crash.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123284 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 02:09:09 +00:00
darin%netscape.com
a733dd87e2 fixes bug 147979 "Mac-SSL connections very slow"
r=sdagley sr=beard a=valeski ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123277 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 01:13:19 +00:00
mkaply%us.ibm.com
843fa93fba #147977
r=jpierre, sr=blizzard, a=dbaron
OS/2 only - int32 math causing incorrect computation of disk space


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123250 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 21:52:22 +00:00
mkaply%us.ibm.com
93ea8d41f1 #149729
r=jkobal, sr=blizzard, a=dbaron
OS/2 only -handle special case of WM_QUIT so we don't stop the OS from shutting down


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123249 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 21:46:41 +00:00
mkaply%us.ibm.com
ebadae9792 #149751
r=mkaply, sr=blizzard, a=dbaron
OS/2 only - don't recycle compose windows - turn off pref


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123247 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 21:44:56 +00:00
jaggernaut%netscape.com
2637ca49a6 Bug 103452: When window.close() is called, close the tab for that content window, not the whole (XUL) window. Patch by jag and jst, r=bryner, r=/sr=hewitt, sr=jag, sr=jst, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123243 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 21:28:00 +00:00
blakeross%telocity.com
22b4aee6eb 149357 - remove some cookie prefs. r=morse sr=ben a=scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123230 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 19:21:31 +00:00
cltbld%netscape.com
0b3c166594 updating installer to use http instead of ftp for downloading xpi files, does not affect build, bugscape 16662, kysmith checking in as cltbld
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123223 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 16:12:23 +00:00
rods%netscape.com
ff060bf719 PageSetup call needs observer
Bug 149317 r=dcone sr=kin adt=putterman a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123218 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 11:11:15 +00:00
seawood%netscape.com
2ff8ef790d Make sure that all of the headers are installed during a 'make install'.
Thanks to Chris Blizzard <blizzard@mozilla.org> for the patch.
Bug #149483 r=cls a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123217 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 11:00:30 +00:00
seawood%netscape.com
b903fd496a Fix real_install rules so that headers are still installed correctly if includedir is overridden on the commandline.
Bug #149483 r=blizzard a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123216 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 10:59:37 +00:00
jay.yan%sun.com
e497d8f399 for branch1.0 build bustage, I made a mistake in my last patch(, instead of ;) sr=jag for this patch.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123206 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 05:11:10 +00:00
jay.yan%sun.com
d717db1875 bug 143379, Build bustage-patch for bug 124042 broke solaris's build, r=blizzard,sr=darin,a=jud
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123205 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 03:57:28 +00:00
serge%netscape.com
4fcf400300 fix #147256 Crash in nsDocShell::GetRootScrollableView r=av,sr=alecf,a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123202 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 00:44:16 +00:00
shanjian%netscape.com
295383061e #102407 Unexpected instances of POSTDATA warning messages [form sub]
swap the order of weakdoc charset and default charset so that previous
doc charset can be inherited as default charset.
disabled charset autodetection for post document.
r=ftang, sr=darin, a=adt,


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123201 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 00:29:05 +00:00
nhotta%netscape.com
d0f40241a4 Changed strcpy to strncpy to protect the buffer,
bug 145370, r=ducarroz, sr=bienvenu, a=adt, dbaron@fas.harvard.edu.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123198 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 00:27:38 +00:00
alecf%netscape.com
dfd5d6c9ec fix for bug 148831 - avoid crashing and do a best-effort case conversion/comparison when the nsICaseConversion service has already been shut down. r=dougt, sr=jag, a=valeski, adt=putterman, x^2+y^2=z^2
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123172 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 18:44:38 +00:00
pinkerton%netscape.com
e6ddc2474b fix typo, bug 149283. r=tao/sr=alecf/a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123171 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 18:19:42 +00:00
bryner%netscape.com
93cdc87a79 Fixing loss of focus when opening a link in a new tab, by forcing an initial reflow so that the focus event isn't dropped on the floor (bug 138237). r=dbaron, sr=waterson, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123135 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 05:11:38 +00:00
robinf%netscape.com
12ecf6bcb0 routine help updates per bug 122806, r=oescgher
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123112 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 23:48:20 +00:00
cbiesinger%web.de
b4d784f8d8 forgot to check this change in before. bug 8031, r=tor, sr=dveditz, a=valeski, XBM support
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123093 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 22:33:13 +00:00
darin%netscape.com
0a404730ea fixes bug 149090 "viewing an image three times corrupts web pages [leaks
file descriptors on all platforms]" r=dougt, sr=rpotts, a=valeski, ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123088 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 22:25:38 +00:00
mkaply%us.ibm.com
9f22569679 #144128, #146252
r=mkaply, sr=blizzard, a=valeski
OS/2 only - forgot a couple renames


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123081 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 22:00:58 +00:00
mkaply%us.ibm.com
3aadc3f62c #144128, #146252
r=mkaply, sr=blizzard, a=valeski
OS/2 only - when rods checked in 144128, he missed the OS/2 changes.
146252 is OS/2 print preview fixes. It has been over three days since
approval, but I couldn't check it in until the rods stuff was figured out.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123079 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 21:49:20 +00:00
naving%netscape.com
b3565ee5a2 140591 r=varada sr=sspitzer a=valeski make prefill filters feature work on mac and linux
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123072 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:57:08 +00:00
sgehani%netscape.com
685a627533 Make print preview toolbar buttons accessible (accesskeys added).
b=133506; r=caillon; sr=blake; a=adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123033 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 15:15:06 +00:00
sgehani%netscape.com
cca1a6a27b Ability to tab to print preview toolbar (accessibility).
b=145388; r=dcone; sr=attinasi; a=chofmann
(checking in for rods; required for bug 133506)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123032 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 15:13:53 +00:00
sgehani%netscape.com
8c1ce051a9 Sidebar button in ns builds only.
b=134345; r=caillon; sr=hewitt; a=drivers,adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123030 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 14:38:24 +00:00
jaggernaut%netscape.com
3cf2173b4a Checking in two changes before the l10n freeze. For bug 112769 an addition to tabbrowser.dtd, for bug 150099 an addition to navigator.dtd. a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123025 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 06:44:38 +00:00
jay.yan%sun.com
529f8521a0 bug 120485, Can not delete folders on IMAP server cascadely. patch=henry, r=bienvenu,sr=mscott,a=shaver, judson valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123024 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 06:19:22 +00:00
peterlubczynski%netscape.com
b3362334e8 Fixing bug 120875, flash repsonds to mouse events in other tab and can't hide plugins, r=bnesse sr=beard a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123022 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 03:55:03 +00:00
shliang%netscape.com
f8dc8bd65b 147662 - adding option to remove free webmail in account manager. r=sspitzer, sr=bienvenu, a=judson.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123019 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 02:03:52 +00:00
cavin%netscape.com
8f7826ad96 Fix for 107466. Reset msg uid in server state parser before calling 'foundShell->Generate()' because the uid may have been used by newly arrived mail. r=naving, sr=bienvenu, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123018 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 00:47:25 +00:00
morse%netscape.com
c1c82a4bf0 bug 149176, no profile manager when exactly one profile and running turbo, r=law, sr=ben, a=valeski, adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 00:21:54 +00:00
bryner%netscape.com
754ab85e59 Fix a crash scrolling the address list in the mail compose window (bug 142542). r=ben, sr=jag, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123016 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 23:16:08 +00:00
cbiesinger%web.de
9165c56436 bug 8031 r=tor sr=dveditz a=valeski
Add XBM Decoder to build


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123012 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 22:07:14 +00:00
danm%netscape.com
ae6ef0fdcb scrollbar visibility is no longer reflected in mChromeFlags. same as trunk checkin 1.56. bug 130174 r=bryner,jag,jst a=syd,valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123008 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 21:23:30 +00:00
danm%netscape.com
f9a16cd243 scrollbar visibility is no longer reflected in mChromeFlags. same as trunk checkin 1.11. bug 130174 r=bryner,jag,jst a=syd,valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123007 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 21:23:17 +00:00
rjc%netscape.com
fa11ccfde9 Fix adt1.0.1+ bug # 144337 on Moz-1.0 branch: short-circuit QD implicit LockPortBits/UnlockPortBits, giving at least a couple of percentage points improvement re: drawing. r=sdagley sr=ben a=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123006 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 21:00:48 +00:00
naving%netscape.com
86f432ff5d 144228 r=cavin sr=bienvenu a=rjesup. fixing security bug that breaks pop3 connection and prevents downloading msgs.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123003 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 20:22:01 +00:00
naving%netscape.com
3f7e61ce94 140149 r=bhuvan sr=mscott a=valeski. fix disappearing of disable cookie for mailnews checkbox on mac commercial builds
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123002 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 20:14:24 +00:00
cmanske%netscape.com
71868732bb Removing unintended change to how long to keep open the Publish Progress dialog (previous checkin didn't match patch), b=148425, r=brade, sr=hewitt, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122997 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 19:14:06 +00:00
(no author)
d392c2ff2f This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122995 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 18:50:12 +00:00
cbiesinger%web.de
625fbbe83b bug 150165 patch by t.bugz@lament.cjb.net r=bbaetz sr=shaver a=valeski
fix typo - [noscrpit] was used instead of [noscript]


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122981 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 12:42:52 +00:00
rbs%maths.uq.edu.au
c1f2efd43e When editing the HTML plain source, use the user's specified fixed-width font-size for guaranteed readability. b=114022, r=cmanske, sr=alecf+kin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122980 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 11:09:22 +00:00
oeschger%netscape.com
0ef43da159 adding robinf's images to the right branch for tinderbox bustage, part of content
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122979 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 06:13:47 +00:00
sdagley%netscape.com
3b19241611 Fix #149133 - crash when scrolling a tab created by 'Open Link in New Tab' due to not having a valid focused widget when the page finishes loading. Merging from trunk. r=pinkerton, sr=beard, a=drivers/ADT
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122978 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 05:07:42 +00:00
seawood%netscape.com
66b707f9ce Fix beos build bustage.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122977 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 04:41:36 +00:00
cotter%netscape.com
2ffecc5625 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; latest security-related updates.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122976 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 04:41:17 +00:00
oeschger%netscape.com
9d6c62d59b new images added to help content build, dispensation per 122806
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122975 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 04:13:00 +00:00
shliang%netscape.com
b7b4b2f45b 123687 - ui for adding ldap in addressbook. r=sspitzer, sr=bienvenu, a=judson.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122973 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 03:08:57 +00:00
shliang%netscape.com
8d3089dd17 135089 - fixing truncated menulists. r=bryner, sr=hewitt, a=judson.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122972 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-10 03:05:00 +00:00
shanjian%netscape.com
256d2ce004 #136017 Some characters in menus/dialogs/etc. are rendered incorrectly
Special handling polish and czech native system.
p=Marek.Wawoczny@GmbH.rubikon.pl, r=shanjian, sr=waterson, a=judson


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122967 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-09 23:44:33 +00:00
law%netscape.com
780d805419 Bug 89907 localization changes only; l10n change approved by rchen@netscape.com, required on branch to meet 6/10 l10n freeze
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122966 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-09 22:48:54 +00:00
timeless%mac.com
c469567b9a Bug 137119 Dragging a bookmark in tree just below an open container jumps one row above it
patch by pierrechanial@netscape.net r=timeless sr=ben a=jesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122963 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-09 19:12:09 +00:00
ducarroz%netscape.com
a4de0a2603 Fix for bug 131990. We must allow space for the BCC headers. R=taka, SR=bienvenu, A= rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122958 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-09 15:14:20 +00:00
ssu%netscape.com
36574a7556 Fixing
bug 137141 - Wrong context menu items in stand alone mail window
 bug 138826 - context menu problems in stand alone message window: "Open Link in New Window" doesn't work, too many items are showing up, etc.

r=neil@parkwaycc.co.uk, sr=sspitzer, a=drivers,adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122955 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-09 08:31:27 +00:00
dmose%netscape.com
be6ce362bd Make LDAP authentication for addressbook and autocomplete work (bug 135778). r=sspitzer@netscape.com, srilatha@netscape.com; sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122950 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-09 00:32:01 +00:00
dmose%netscape.com
bc06dc9fd9 Make LDAP authentication for addressbook and autocomplete work (bug 135778). r=sspitzer@netscape.com, srilatha@netscape.com; sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122947 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 23:50:25 +00:00
ian%hixie.ch
b0d670a1bc Download manager pref panel. b=132440, r=ben, sr=blake
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122946 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 20:41:11 +00:00
darin%netscape.com
ccf19469e2 fixes bug 144442 "Cannot Load TDWaterhouse webbanking login page"
r=gagan sr=rpotts a=valeski ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122945 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 17:08:27 +00:00
darin%netscape.com
809492f2af fixes bug 60811 "[RFE] User should be able to force HTTP proxy transactions
to use HTTP/1.0 exclusively." r=brade,bbaetz sr=rpotts a=chofmann ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122944 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 17:03:29 +00:00
darin%netscape.com
baf10331b3 fixes bug 136210 "cannot view any https urls when memory cache size is set
to 0" r=beard sr=rpotts a=rjesup adt+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122943 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 16:52:48 +00:00
brade%netscape.com
1bca56362e add flag and code to handle serialization of output (one file at a time) so that publishing doesn't fail due to too many logins or similar (bug 138662 and others); r=adamlock, sr=alecf, a=chofmann/adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122941 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 10:11:00 +00:00
brade%netscape.com
ea000b5701 add flag for output serialization (bug 138662, r=adamlock, sr=alecf, a=chofmann/adt)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122940 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 10:07:48 +00:00
dprice%netscape.com
ab1fa0d555 145776 r=ssu sr=dveditz a=rjesup adt=jaime
flush control socket on ftp connections


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122939 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 08:27:55 +00:00
dprice%netscape.com
0d09ea3339 77443 r/sr=dveditz adt=jaime a=valeski
fix return value


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122938 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 08:23:38 +00:00
dprice%netscape.com
37ec5826d5 117263 r=sgehani sr=dveditz a=rjesup adt=putterman
send proper host info for ftp proxy downloads


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122937 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 08:15:14 +00:00
kmcclusk%netscape.com
e25c13eb4a Dispatch and handle a new cross platform message NS_SYSCOLORCHANGE. bug=143174. sr=roc+moz, r=rods, a=valeski adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122930 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 04:10:19 +00:00
chak%netscape.com
bd61327cdd Fix for #141285 - wallet does not appear to obey profile switching on the fly
Checking patch in for ccarlen@netscape.com
r=morse, sr=alect, a=valeski,adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122929 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 03:23:23 +00:00
cmanske%netscape.com
71c13892eb Improved publishing error monitoring and reporting in progress dialog, b=148425, r=brade, sr=hewitt, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122926 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 02:28:14 +00:00
cmanske%netscape.com
8a3ae50022 Save page source and restore document after failing to publish so image links aren't busted, b=134883, r=brade, sr=hewitt, a=adt, a=valeski/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122924 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 01:59:42 +00:00
khanson%netscape.com
5e7a7f7db5 patch for bug 143354. Doubles jsarray.sort speed for arrays of strings. Has ADT and Driver approval. r=brendan, sr=shaver
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122922 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 01:12:27 +00:00
(no author)
1e502bbf38 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122920 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 01:10:53 +00:00
cavin%netscape.com
fd8db7de55 Fix for 94775, 147022 and 148520. (1) Strip off trailing ''/ of input realm, if present, before making comparison in si_GetURL(). (2) When redirect login fails, invoke ForgetPassword(), instead SetPassword(nsnull), to clean up all cached passwords. r=dmose/morse, sr=bienvenu, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122917 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 01:04:41 +00:00
ssu%netscape.com
641c28f51e fixing bug 128552 - f6 and control+tab don't work in AB window. r=bhuvan, sr=mscott, a=drivers,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122916 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 00:28:22 +00:00
ssu%netscape.com
71fb0333e3 fixing bug 144483 - Message Filters menu item has conflicting access key. r=dean_tessman@hotmail.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122915 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 00:12:05 +00:00
dbragg%netscape.com
46fdd2e57c Fix for bug 141373. r=tao, sr=dveditz, a=rjesup, adt approved. Added Japan to the list.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122914 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 00:11:14 +00:00
waterson%netscape.com
73b3c9ec10 Bug 129115. Move reflow tree stuff from the trunk to the branch.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122913 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-08 00:05:14 +00:00
varada%netscape.com
e772c6a373 fix for 139814- Search the Web menu item should open page only in browser and not in any window with content area;r=law;sr=bienvenu;a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122911 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 23:46:32 +00:00
dcone%netscape.com
d49716cc16 b=137223 r = pavlov sr=attinasi a= rjesup@wgate.com adt=putterman. Fixes some PNG with alpha positioning issues.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122903 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 22:30:37 +00:00
mkaply%us.ibm.com
bfd72020ce OS/2 bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122890 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 18:00:24 +00:00
rods%netscape.com
45d310c534 So the fix is this line:
+    if (_tcscmp(lpInfo[i].pPrinterName, aPrinterName) == 0) {
I also removed the failure check after the calls to EnumerateNativePrinters
because even if one fails, it doesn't mean the others will. So it should keep trying.
The rest of the code is extra error checking that is all ifdef'ed out
Bug 143241 r=dcone sr=kin adt=putterman a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122886 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 13:53:09 +00:00
rods%netscape.com
443455d190 This simply adds a new arg to the PP call. The new arg is not being used, it is
for future and is needed for the API freeze.
Bug 144716 r=dcone sr=attinasi adt=putterman a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122884 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 13:42:44 +00:00
ducarroz%netscape.com
6b7774434c Fix for bug 147877. Add UI for disabling plugins in mailnews. R=bhuvan, SR=bienvenu, UI=mcarlson, A=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122883 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 13:41:27 +00:00
rods%netscape.com
afd9eb05a3 Solution: Move the creation and manipulation of PSs to their own service.
This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables
consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private
interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you
already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=kin adt=putterman a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122882 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 13:31:25 +00:00
rods%netscape.com
79b9d48b8a Solution: Move the creation and manipulation of PSs to their own service.
This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables
consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private
interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you
already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=kin adt=putterman a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122881 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 13:19:20 +00:00
ducarroz%netscape.com
da914522df Fix for bug 97055. Add possibility to block remote images in email message. R=morse,bhuvan, SR=bienvenu, A=valeski, UI=mcarlson
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122880 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 12:55:38 +00:00
kin%netscape.com
31126db321 Fixing nsCRT bustage on Mac. a=leaf
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122877 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 09:04:33 +00:00
kin%netscape.com
4a14b96c8e Fixing HP-UX bustage. a=leaf
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122875 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 08:41:05 +00:00
kin%netscape.com
f2462d5e0b Fix for bug 138573 (hitting return in list item causes list problems; workaround is to refresh)
Modified SlideLine() to use the combined area instead of the linebox
bounds when invalidating. This makes sure that we invalidate the
area occupied by the list bullets/ordinals.

r=dbaron@fas.harvard.edu  sr=waterson@netscape.com  a=valeski@netscape.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122874 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 08:02:41 +00:00
rods%netscape.com
61eb91d637 fix bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122872 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 06:52:16 +00:00
cotter%netscape.com
faa2be8068 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; latest legal & editorial correx.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122870 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 05:59:06 +00:00
cmanske%netscape.com
4811d76344 Improve visibility of Publish UI, b=146522, r=akkana, sr=dveditz, a=adt, a=chofman/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122869 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 05:24:02 +00:00
cmanske%netscape.com
0489976ef5 Added tooltips for Publish dialogs, b=146522, r=brade/robinf, sr=kin, a=adt, a=shaver/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122868 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 05:23:43 +00:00
rods%netscape.com
80b1c385f2 Pluggable dialog work for the API freeze
Bugs 115136 & 135441 r=dcone sr=attinasi adt=putterman a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122858 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 02:27:15 +00:00
blakeross%telocity.com
694206f300 132013 - remove from list makes program unresponsive for too long. r=ben/hewitt sr=hewitt/blake/ben (one patch by ben). a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122857 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 02:19:17 +00:00
rods%netscape.com
5ff90e973b Bug 143248 r=dcone/chak sr=attinasi adt=putterman a=jud
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122856 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 01:58:11 +00:00
rods%netscape.com
128e42c9dd Pluggable dialog work for the API freeze
Bugs 115136 & 135441 r=dcone sr=attinasi adt=putterman a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122854 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 01:47:13 +00:00
cmanske%netscape.com
641f4eb20b Added strings needed to fix Publishing Progress and error handling. b=148425, r=brade, sr=hewitt, a=adt, a=chofmann/drivers, i18n=mcarlson
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122853 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 01:31:10 +00:00
oeschger%netscape.com
a14d66bb1f add help button to page info dialog, r=db48x, sr=alecf, a=jud for branch, fresh-baked
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122852 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 01:26:20 +00:00
caillon%returnzero.com
a8bcd7ecec Bug 141863. Branch landing of pref to prevent sites from disabling the status bar on window.open(). r=danm, sr=jag, adt=putterman, a=chofmann, a=sherriff (suresh).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122848 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 00:04:30 +00:00
(no author)
bd5650ab43 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122842 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 23:37:15 +00:00
beard%netscape.com
79ac763969 Add MRJPluginCarbon to branch build. r=jj, sr=waterson, a=adt/jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122816 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 19:47:24 +00:00
ian%hixie.ch
6218a087c3 backing out previous checkin until tree is open
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122806 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 11:54:40 +00:00
ian%hixie.ch
6c076d2bd5 Download manager pref panel. b=132440, r=ben, sr=blake
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122805 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 11:16:50 +00:00
(no author)
0fe0c70ad3 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122804 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 10:40:43 +00:00
rods%netscape.com
2aa0bfec52 The diff basically remembers the old focuslistener and then unregisters it after the new one is registered.
The listener is deconstructed and it is still registered as a listener, so in some cases a blur event goes to the old listener that is why it crashes.
Bug 132672 r=dcone sr=jst adt=putterman a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122773 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 11:43:27 +00:00
jaggernaut%netscape.com
77f1f8f1df Bug 148840: Add "Bookmark This Group of Tabs..." to Bookmarks menu. r=caillon, sr=hewitt, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122769 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 10:07:24 +00:00
jaggernaut%netscape.com
3f71f67714 Bug 137005: Change wording of "File as group" to "Bookmark this group of tabs". r=bryner, sr=hewitt, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122766 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 08:43:50 +00:00
kaie%netscape.com
6122646715 b=138479 Disable Security tab in View Frame Info
r=javi sr=jag adt=putterman a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122762 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 04:00:58 +00:00
kaie%netscape.com
27640dbd20 b=143532 Only allow toggling FIPS when it is safe to
r=javi sr=alecf adt=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122761 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 03:57:20 +00:00
kaie%netscape.com
06234068c2 Shut down all sockets in http's keepalive/idle list when the SESSION_LOGOUT event happens. This ensures that we don't leak NSS resources associated with SSL sockets.
Bug 125561, r=ccarlen, sr=darin, adt=jaimejr, a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122760 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 03:51:31 +00:00
kaie%netscape.com
09df9a43cd b=129067 Deleted certs still appear in Cert Manager.
r=javi sr=alecf adt=putterman a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122758 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 03:43:43 +00:00
kaie%netscape.com
4f01124326 b=137874 Unable to import CA cert before SSL keep alive connection is terminated
r=javi sr=alecf adt=putterman a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122753 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 03:39:49 +00:00
kaie%netscape.com
9ab4d01371 b=142096 Message Security box does not display all recipients
r=javi sr=mscott a=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122751 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 03:37:41 +00:00
kaie%netscape.com
8556706ac2 b=144056 security state not reset after loading about:blank pages
r=javi sr=rpotts adt=jaimejr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122748 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 03:32:19 +00:00
kaie%netscape.com
113fc7d204 b=130692 Find matching certificate using case insensitive email address
r=javi sr=jag adt=jaimrjr a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122747 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 03:26:45 +00:00
jaggernaut%netscape.com
6b608c92ae Bug 101955: Middle-click -> Open in new window fails for URLs in Mail/News. r=caillon, sr=hewitt, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122746 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 02:58:13 +00:00
law%netscape.com
b2b18152d1 Applying fix for bug 14807 on branch; a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122742 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 02:14:11 +00:00
mscott%netscape.com
dbd893968e Bug #140104 --> don't let the cookie icon show up in non navigator windows.
r=morse
sr=sspitzer
a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122741 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 02:05:39 +00:00
mscott%netscape.com
1c3f5eac5b Remove extraneous vertical hash marks in the mail and compose windows added by smime.
r=kaie
sr=sspitzer
a=jessup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122740 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 02:02:48 +00:00
brendan%mozilla.org
70ff3fdd2c Ensure a live keyHash *after* multiplying by the irrational (146907, r=dbaron, sr=shaver, a=asa).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122738 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 01:49:19 +00:00
av%netscape.com
2f7cfac5a6 Fixing 143178 -- refreshing plugin list just before redirecting to the plugin finder service, r=peterl, sr=beard, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122737 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 01:47:13 +00:00
av%netscape.com
ed50252be8 Fixing 143178 -- refreshing plugin list just before redirecting to the plugin finder service, a=peterl, sr=beard, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122736 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 01:43:00 +00:00
nhotta%netscape.com
7d6679d157 Change not to set the composing mail charset as attachment's chaset.
bug 144917, r=ducarroz, sr=bienvenu, a=adt, rjesup@wgate.com.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122732 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 00:50:13 +00:00
nhotta%netscape.com
6f8c6a62b9 Changed the meta parse function for performance,
bug 144917, r=ducarroz, sr=bienvenu, a=adt, rjesup@wgate.com.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122731 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 00:49:33 +00:00
harishd%netscape.com
e2747f8c64 No need to tokenize the input stream if the DTD ( NavDTD ) cannot create a content sink. b=138071, r=heikki, sr=jst, a=adt,valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122730 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 00:49:13 +00:00
naving%netscape.com
f25a0d5a5c 145341 r=cavin sr=bienvenu a=rjesup. fix regression where there is no mail counter for automatic download of
pop3 mail on biff, also fix other related problems


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122724 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 00:39:11 +00:00
nhotta%netscape.com
70a1b8abe7 Add charset fallback mechanism to nsISaveAsCharset and use it for message headers and plain text body,
bug 109342, r=ducarroz,ftang, sr=bienvenu,sspitzer, a=adt, rjesup@wgate.com.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122722 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 00:38:19 +00:00
ducarroz%netscape.com
8af267ad6a Fix for bug 141648. We need to set the focus outside the eidtable field when recycling the compose window to avoid having focus problem on Mac. R=varada, SR=bienvenu, A=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122721 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 00:36:05 +00:00
brendan%mozilla.org
a6b0dcd241 Respect addProperty failure (148899, r=khanson, sr=shaver, a=rjesup).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122720 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 00:35:54 +00:00
oeschger%netscape.com
623e2a09c2 reorder tabs in help per usability test, r=andreww, sr=alecf, a=jud for branch, fresh baked
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122719 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 00:31:51 +00:00
naving%netscape.com
c8f1a5e385 139576 r=bienvenu sr=mscott a=valeski, checking in some remaining part of fix left out.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122712 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 23:33:05 +00:00
wtc%netscape.com
f699f6b31d Tracking bug 145836: check in NSS bug fixes for Mozilla 1.0.1. Approved by
drivers@mozilla.org and Netscape's ADT.  (Tag: MOZILLA_1_0_BRANCH)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122695 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 20:36:22 +00:00
dprice%netscape.com
4a62f540f1 84763 r=ssu sr=dveditz a=rejsup adt=putterman
proxy download fix


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122666 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 07:32:24 +00:00
dprice%netscape.com
70eae9b6d2 14668 r=ssu sr=dveditz a=rejsup adt=putterman
add SupersedeMinVersion to components in win32 installer


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122665 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 07:31:56 +00:00
cmanske%netscape.com
af3c3a24e3 Added accesskeys to Composer dialogs,b=131672, fix by neil@parkwaycc.co.uk, r=cmanske, sr=hewitt, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122662 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 06:38:11 +00:00
cotter%netscape.com
0db2ffc3af ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; misc. formatting, updates from legal
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122656 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 05:39:40 +00:00
darin%netscape.com
b440081fa2 fixes bug 136956 "HTTP preferences panel needs to control proxy settings as well"
r=brade sr=alecf a=chofmann ADT+

and

fixes bug 145382 "cleanup 'HTTP Networking' prefs panel"
r=gagan sr=rpotts a=chofmann ADT+

(HTTP Networking UI changes only)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122653 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 05:16:00 +00:00
darin%netscape.com
1f286b0218 fixes bug 100595 "crash [@ nsMultiMixedConv::FindToken] [was: sandiegozoo.org
- this site crashes the browser, every time]" r=dougt sr=rpotts a=chofmann ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122651 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 05:02:29 +00:00
cmanske%netscape.com
ef3972ac83 Fixed '3-D Shading' checkbox initialization, b=142784, r=brade, sr=hewitt, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122649 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:56:43 +00:00
cmanske%netscape.com
8394ac5fb2 Expand minimum width of location input field in Link Properties dialog, b=133790, r=brade, sr=kin, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122647 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:52:29 +00:00
kaie%netscape.com
db5ef2f455 Part of bug 119394, landing UI strings only.
r=cotter sr=alecf adt=putterman a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122646 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:51:51 +00:00
cmanske%netscape.com
b7e98f8495 Fixed List Properties dialog radio button initialization, b=141791, r=brade, sr=hewitt, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122644 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:47:21 +00:00
cmanske%netscape.com
60b9930469 Fixed Enter key behavior to reenable Composer UI after publishing, b=140962, r=andreww, sr=hewitt, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122642 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:43:59 +00:00
cmanske%netscape.com
eac3e2e9aa Fixed Preview in Browser command when used 2nd time, b=140959, r=brade, sr=kin, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122640 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:30:27 +00:00
cmanske%netscape.com
1acf8aa761 Changes in HTML source mode should trigger update of Publish button enable state, b=140063, r=akkana, sr=kin, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122639 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:23:30 +00:00
cmanske%netscape.com
5d51407505 Don't show publish failed message in Publish Progress dialog unless there's really an error, b=138040, r=brade, sr=kin, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122636 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:03:48 +00:00
cmanske%netscape.com
e63bb9d794 Fix conflicting accesskey in Composer context menu, b=137621, r=brade, sr=kin, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122635 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 03:57:58 +00:00
sdagley%netscape.com
eb15ad393e Localizable text portion of fix for #97975 going in to make L10N freeze. No code change so invoking the "Not part of build" excuse. ADT was consulted.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122634 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 03:56:55 +00:00
cmanske%netscape.com
8232e89286 Improve Publishing Site name creation and duplication prevention, b=136413, r=brade, sr=kin, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122632 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 03:51:50 +00:00
cmanske%netscape.com
c698a87201 Make Table Properties dialog xul1.0 compliant and fix Esc key action, b=135945, r=neil@parwayc.co.uk, sr=kin, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122631 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 03:16:19 +00:00
cmanske%netscape.com
619380c3c0 Make Table Properties dialog xul1.0 compliant and fix Esc key action, b=135945, r=neil@parwayc.co.uk, sr=kin, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122630 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 03:13:16 +00:00
ducarroz%netscape.com
231f605b15 FIx for bugscape bug 11669. Add preference to turn off plugin access in mail. R=mscott, SR=bienvenu, A=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122628 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 02:42:24 +00:00
cmanske%netscape.com
f715a3b168 Fixed data corruption in publishing - need clone object method, b=135834, r=akkana, sr=hewitt, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122625 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 02:32:47 +00:00
cmanske%netscape.com
2b3cc7e607 Allow HTML Source icon to be placed to right of text in Composer HTML mode tab, b=113883, r=mkaply@us.ibm.com,sr=hewitt,a=adt,a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122623 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 02:18:31 +00:00
cmanske%netscape.com
a0b5cde66a Add accesskeys to Spelling dialogs, b=112732, r=neil@parkwaycc.co.uk, sr=hewitt, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122622 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 02:10:14 +00:00
kyle.yuan%sun.com
20cb6cb693 Bug 134426 Set image as wallpaper crashes Mozilla (when Mozilla Wallpaper.bmp is Read-Only)
r=timeless, sr=hewitt, a=chofmann
return FAILURE rather than crashing when output stream can't be opend


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122618 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 00:52:15 +00:00
yokoyama%netscape.com
168886b9ad Checking in for nhotta
Use "sourceTextEncoding" to convert search name and description,
bug 92314, r=rjc, sr=alecf.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122615 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 00:31:36 +00:00
andreww%netscape.com
0399e58fdf bugzilla 111031 - need access keys [mnemonics] for QuickSearch - r=shuehan sr=hewitt adt=jaimejr drivers=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122606 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 22:43:52 +00:00
yokoyama%netscape.com
06d29ea249 Check in for nhotta
Moved the charset check out of
"if (msgType == nsIMsgCompDeliverMode.Now
|| msgType == nsIMsgCompDeliverMode.Later)",
bug 142902, r=ducarroz, sr=bienvenu,
adt=jaime, moz1.0.1=randell


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122605 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 22:42:09 +00:00
andreww%netscape.com
7e5c288be8 bugzilla 141281 - Editor: Format Menu: same mnemonic used for two menu items - r=cmanske sr=hewitt adt=jaimejr drivers=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122604 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 22:36:10 +00:00
timeless%mac.com
6fb3b48978 date: 2002/06/03 19:17:46; author: timeless%mac.com; state: Exp; lines: +3 -3
Bug 144763 tolerate do_QueryReferent() returning null [@nsXULPrototypeScript::Compile]
r=harishd sr=jst a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122603 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 22:36:06 +00:00
andreww%netscape.com
61e874fa84 bugzilla 89144 - Need keyboard access to "Tabs" menu in sidebar - r=aaronl,sgehani sr=hewitt, sspitzer adt=jaimiejr drivers=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122598 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 22:25:01 +00:00
cmanske%netscape.com
7d78857470 Fixed non-localized language strings for dictionary names in Spell Check dialog, b=142597, r=andreww, sr=hewitt, a=adt, a=chofmann/drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122597 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 22:16:00 +00:00
law%netscape.com
619bc7e159 Applying fix for bug 115225 on branch (on behalf of Stephen Donner)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122596 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:51:52 +00:00
akkana%netscape.com
69e6810d1e 139420: allow replacing a string with a null string. r=cmanske, some parts from parish@ntlworld.com with r=akkana, sr=kin, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122595 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:39:58 +00:00
bryner%netscape.com
75ba7f14e5 Don't allow sidebar panels to steal focus away from the URL bar or content area when a new window is opened (bug 76621). r=blake, sr=jag, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122592 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:29:00 +00:00
bryner%netscape.com
cce7fdff34 Fix menulist layout when a max-width is specified via CSS, and remove a workaround for this bug in the Editor Publish dialog (bug 131481). r=cmanske, sr=jag/hewitt, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122591 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:24:48 +00:00
kin%netscape.com
bf6cc01b52 Fix for bug 125345 (Font attributes disappear when you double click editor window)
Modified TypeInState::NotifySelectionChanged() to work around
bogus selection changed notifications (bug 140303). We now
call reset when the collapsed selection changes position, or
becomes uncollapsed.

mozilla/editor/libeditor/html/TypeInState.cpp
mozilla/editor/libeditor/html/TypeInState.h

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


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122590 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:22:05 +00:00
kin%netscape.com
bcb095f8a9 Fix for bug 135154 (Cursor not appearing in textarea after tabbing into it)
Don't call StopBlinking() if the selection changed notification is
for a selection that is different from the one in mDomSelectionWeak.

r=akkana@netscape.com  sr=attinasi@netscape.com  a=chofmann@netscape.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122589 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:21:07 +00:00
pinkerton%netscape.com
bd7dff22a8 add first stage of dragging images. advertise os-native image format to other applications. r=ccarlen/sr=alecf. bug# 138049
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122587 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:15:59 +00:00
bryner%netscape.com
972cceb99c Don't allow ctrl+tab to focus a hidden browser tab, by fixing nsDocShell::GetVisibility to be more thorough (bug 106123). r=jkeiser, sr=hewitt, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122586 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:12:53 +00:00
pinkerton%netscape.com
7e1e6c7215 hookup tooltips in PPEmbed. fix embedding tooltip impl to check window/dialog tag before groveling for title attribute. r=pink/sr=beard. bug# 142814.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122583 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:08:54 +00:00
pinkerton%netscape.com
4b60d7372d fix problem where resizing window would cause jiggling. the workaround we put in for os9 seems to no longer be needed and gives osx fits. patch from lws@mac.com. r=pink/rs=blake. bug#86740
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122582 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:06:47 +00:00
oeschger%netscape.com
57052515de updating search db for Help, dispensation per 122806, r=cotter
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122554 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 14:15:21 +00:00
cotter%netscape.com
dff5676e1b ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; latest legal comments
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122532 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 05:49:33 +00:00
timeless%mac.com
8b6b478b81 Bug 130448 urlbar popup mislocated; if url.length > ~170 chars is persisted to 'nc:urlbar-history'
patch by schoepf@in.tum.de r=ben, sr=hewitt a=jesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122531 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 05:12:32 +00:00
dougt%netscape.com
6756ed03f7 Fixes top crash in M1RC3 crash [@ nsLocalFile::GetPath], r=rpotts@netscape.com, sr=darin@netscape.com, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122528 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 03:32:37 +00:00
kaie%netscape.com
b762f8fe07 b=141894 Security button in msg compose needs a tooltip.
r=kaie sr=sspitzer a=chofmann adt=jaimejr


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122527 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 03:17:08 +00:00
bienvenu%netscape.com
3a341d46ca fix for 123858 showing multiple copies of news messages in threads with unread view from trunk
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122520 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 00:50:53 +00:00
bienvenu%netscape.com
106518fe50 speed up pop3 retrieval patch from trunk 139576 a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122519 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 00:44:26 +00:00
mkaply%us.ibm.com
cc7cfafe27 #145561
r=pedemont, sr=blizzard, a=valeski
OS/2 only - make focus code work more like Windows


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122517 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-02 20:11:22 +00:00
mkaply%us.ibm.com
8503fd95ac #148123
r=pedemont, sr=blizzard, a=valeski
OS/2 only - don't write an extra NULL char to URL objects


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122516 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-02 20:06:38 +00:00
mkaply%us.ibm.com
d7c55ba002 #148128
r=pedemont, sr=blizzard, a=valeski
OS/2 only - add prefs to set default telnet params


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122515 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-02 20:03:46 +00:00
mkaply%us.ibm.com
3c981d26f8 #148124
r=pedemont, sr=blizzard, a=valeski
OS/2 only - suppot for custom splash screen - same as Win - thanks to Bjorn Anderson for the sample code


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122514 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-02 20:01:22 +00:00
cmanske%netscape.com
d6ac34c459 Use system language format for date/time format in Page Properties dialog. b=132669, r=nhotta,sr=kin,a=rjesup@wgate.com,a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122504 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 20:57:52 +00:00
bryner%netscape.com
8bff0a3a2c Make sure to set a cursor for popup windows, otherwise we will get the root window cursor (bug 133387). r=pavlov, sr=blizzard, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122503 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 20:57:44 +00:00
sspitzer%netscape.com
ad80341982 fix for #138048. double click on card in addressbook side bar, doesn't bring up compose window.
r=rachan,sr=bienvenu.  a=adt,a=rjesup.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122499 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 18:45:05 +00:00
sspitzer%netscape.com
5729030ee1 fix for #134958. Deleting a mailing list from the directory pane fails.
r=hewitt,sr=bienvenu. a=adt,a=rjesup.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122498 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 18:38:58 +00:00
sspitzer%netscape.com
d314cdc629 fix for #115906. Properties of card\other\notes - Enter make a line-wrap and close the card.
r=racham,sr=bienvenu.a=adt,a=rjesup.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122497 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 18:35:06 +00:00
sspitzer%netscape.com
a22348496f fix for #146046 (r=hwaara, sr=bienvenu) and #135507 (r=naving, sr=sspitzer). fix several subscribe regressions. a=adt,a=rjesup.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122496 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 18:23:11 +00:00
sspitzer%netscape.com
a46e91bf0d fix for bugzilla bug #148310, bugscape bug #15485.
Quick Launch: After an exit, IMAP password dialog may appears with Biff and "Check new message on startup" setup.
r=naving,sr=mscott,a=adt,a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122495 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 18:05:48 +00:00
(no author)
4f992a26fb This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122493 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 13:13:42 +00:00
kaie%netscape.com
eaa2ea31bd b=139561 Implement S/Mime "on demand verification" for IMAP messages
r=javi sr=bienvenu


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122491 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 11:48:54 +00:00
kaie%netscape.com
12293d26da b=120939 Make clear that both encryption and signing certs are required to configure s/mime.
r=javi sr=mscott


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122490 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 11:25:05 +00:00
kaie%netscape.com
a1a530fb8d b=136948 Give better feedback when no valid certs for S/Mime are available
r=javi sr=mscott


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122489 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 11:17:18 +00:00
kaie%netscape.com
f93de378fe b=147770 Enhance S/Mime menu wordings
r=cotter sr=alecf


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122488 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 11:09:54 +00:00
locka%iol.ie
84f47ba861 Fix for keyword lookup regression. b=143080 r=valeski@netscape.com sr=rpotts@netscape.com a=rjesup@wgate.com a=putterman@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122485 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 08:55:41 +00:00
shanjian%netscape.com
c0b0d51402 Fix the bugtage.
SetFont API has been changed in nsIRenderingContext, need to change
nsRenderingContextBeOS.h as well.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122483 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 07:38:13 +00:00
law%netscape.com
b8e76d926a Fixing BeOS build bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122475 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 04:11:07 +00:00
caillon%returnzero.com
92d7706b2f 'Send Page' context menu item sends the frame instead of the frameset. r=bzbarsky, sr=ben, a=valeski. Checking in for Sander <mybugzilla@juima.org>, who contributed the patch.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122463 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 00:38:01 +00:00
caillon%returnzero.com
cae49d7651 Bug 141333, Renaming 'Add to Bookmarks' to 'Bookmark This Page' in the Bookmarks menu. r=gerv, rs=jag, adt=jaimejr, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122460 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 00:31:06 +00:00
katakai%japan.sun.com
ff07968863 bug 146287
Solaris specific mime names are not supported in Mozilla/Netscape Mail
Added some lines for chinese and TIS-620 for iso8859-11
r=ftang, sr=alecf, a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122458 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 00:25:47 +00:00
jkeiser%netscape.com
0aa9d241d4 Make iframe borders repaint when iframe becomes visible (bug 124507). r=waterson@netscape.com, sr=attinasi@netscape.com, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122456 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 23:58:02 +00:00
shanjian%netscape.com
2a7aacb79b #92806 need to support GB18030 in universal detector
Update gb18030 statemachine, and use gb18030 state machine to
replace gb2312.
r=ftang, sr=scc, a=adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122454 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 22:45:54 +00:00
shanjian%netscape.com
1122710c52 #142562 problem with <td align=right or align=center>
changed nsRenderingContext API, and let GetMetricsFor
take lang group as a required argument. Changed all such
calls. Implement a convenient function to simplifed the
code.
r=rbs, sr=waterson, a=adt, rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122452 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 22:37:55 +00:00
oeschger%netscape.com
964142a3a3 restoring context to help buttons in mailnews (and adding a couple of new ones), r=bhuvan, sr=alecf, a=scc, bug=129540
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122450 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 22:21:55 +00:00
dougt%netscape.com
eb31acfa17 r=dp, sr=darin, a=rjesup, adt+, bug=141479, inital patch by laotzu@pobox.com (Mathieu Fenniak)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122448 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 21:24:26 +00:00
srilatha%netscape.com
58f9ceadcb Fix for bug # 144508. Importing mail form outlook crashes the client.
patch provided by ducarroz, r= varada, sr=bienvenu, a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122447 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 21:23:19 +00:00
smontagu%netscape.com
b82e3dd3d7 Bug 129666: Xlib/Xprint do not scale em-dash & co. correctly. r=bstell@ix.netcom.com, sr=scc, a=rjesup. Checking in for Roland.Mainz@informatik.med.uni-giessen.de
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122444 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 21:11:16 +00:00
cbiesinger%web.de
9a2febfed4 Bug 112908 patch by rossi@telnet.at r=biesi sr=alecf a=valeski
Error in walletOverlay.js on startup [redeclaration of const hide]


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122417 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 12:09:26 +00:00
cotter%netscape.com
963096e847 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; privacy & security updates per legal & engineering reviews
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122405 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 05:03:11 +00:00
sdagley%netscape.com
d0734c2a24 Fix #116079 - if a file with no extension is dragged to Mozilla and it has a file type of 'TEXT' treat it as text/plain rather than application/octet-stream. Merging from trunk. r=bryner, sr=hyatt, a=ADT&drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122402 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 03:57:42 +00:00
sdagley%netscape.com
7d08b37835 Fix #139360 - Don't silently fail when file name from FilePicker >31 characters. Do a mid-trunc until we can switch to HFS+ APIs. Merging from trunk. Originally r=ccarlen,pinkerton sr=scc a=ADT&drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122401 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 03:52:44 +00:00
smontagu%netscape.com
eddc65a611 Prevent font download dialog from showing up in mailnews. Bug 139248, r=nhotta, sr=mscott, a=scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122399 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 03:39:13 +00:00
bienvenu%netscape.com
2deeb9d762 fix mac build bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122397 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 02:52:29 +00:00
oeschger%netscape.com
b904c4673f adding help context ids to pref window, bug=129540, r=bhuvan, sr=alecf, a=scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122390 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 23:45:34 +00:00
oeschger%netscape.com
28dc3cc184 get default topic when context is not found (from help button), bug 145331, r=oeschger on pwilson@gorge.net's patch, sr=alecf, a=scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122388 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 23:40:53 +00:00
srilatha%netscape.com
968f595848 Fix for bug # 143161. Autocompletion doesnot work with LDAP server with multibyte BaseDN.
r=dmose,sr=sspitzer, a=scc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122386 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 23:37:17 +00:00
serge%netscape.com
c25de96b99 fix #145377, browser crashes after clicking BACK on url with pdf doc, r=av,sr=darin,a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122385 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 23:13:42 +00:00
nhotta%netscape.com
1ad8ee4834 Add GB18030 to mail compose charset menu,
bug 136498, r=yokoyama, sr=alecf, a=atd,rjesup@wgate.com.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122383 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 23:11:50 +00:00
ducarroz%netscape.com
dd826b760f Fix for bug 67825. The shift option to select an alternative message compose window should be available only for mail3Pane toolbar's button. R=varada, SR=sspitzer, A=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122381 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 23:11:33 +00:00
nhotta%netscape.com
8c45a0d797 Changed GetTopmostMsgWindow, added pointer checks after the dom function calls,
bug 144735, r=ducarroz, sr=bienvenu a=atd,rjesup@wgate.com.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122380 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 23:09:15 +00:00
dougt%netscape.com
c3218394e4 support for OS2 XPCOM_DEBUG_BREAK env. r=dougt, sr=jband, a=valeski, patch by mkaply, b=148127
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122379 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 23:03:25 +00:00
bienvenu%netscape.com
4a8b42df43 don't mark imap messages read when compacting offline store, from trunk, 100781
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122378 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 23:00:20 +00:00
(no author)
cdae846961 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122371 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 22:56:23 +00:00
cavin%netscape.com
01f6ba274d Fix for 145336. Create keys for cards created from list members. r=dmose, sr=sspitzer, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122368 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 22:50:38 +00:00
morse%netscape.com
1361e7e34c bug 115818, context menu slow to appear, c=ajfeldman@brown.edu, r=morse, sr=waterson, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122366 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 22:32:41 +00:00
morse%netscape.com
5b3948723c menus not matching specs, r=sgehani, sr=jag, a=rjesup@wgate.com, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122363 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 22:21:13 +00:00
morse%netscape.com
7359ab3a7a bug 98673, reduce turbo-mode memory usage, r=law, sr=jag, a=rjesup@wgate.com, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122362 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 22:08:29 +00:00
srilatha%netscape.com
27f4fc61c4 Fix for bug # 129610. Simple MAPI preferences is does not get saved when prefs window is opened from mailnews.
r=rdayal, sr=mscott, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122361 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 22:05:32 +00:00
morse%netscape.com
00521a78a1 bug 138132, reverse sort cookies if called from p3p, r=sgehani, sr=dveditz, a=rjesup@wgate.com, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122357 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 21:58:55 +00:00
morse%netscape.com
c058e66325 bug 145492, sending out duplicate cookies, r=brade, sr=scc, a=rjesup@wgate.com, adt=trudelle
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122350 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 21:51:12 +00:00
morse%netscape.com
f2d72b7f87 bug 62348, empty cookie path treated incorrectly, c=sn@neopoly.de, r=morse, sr=jag, a=rjesup@wgate.com, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122349 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 21:47:32 +00:00
yokoyama%netscape.com
978551c1f7 Bug 141513
- IME input repositioning of Candidate window
- affect Windows 2000/XP - Simplified Chinese and MS PinYing and NeiMa IME only
/r=shanjian; /sr=brendan, /drivers=jud, /adt1.0.1=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122346 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 21:40:48 +00:00
bzbarsky%mit.edu
de87376b96 Fix positioning of fixed and absolute positioned blocks with auto left
or top. Bug 126213, r=dbaron, sr=attinasi, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122345 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 21:36:57 +00:00
bienvenu%netscape.com
c57068e4c1 fix for problem removing and adding same news server from trunk, 127707
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122340 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 20:28:24 +00:00
bienvenu%netscape.com
a623ac4e0e fix for undoing move from imap to local from trunk, 138342
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122339 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 20:27:30 +00:00
bienvenu%netscape.com
9afb0e7d74 fix problem replying/forwarding message in folder with comma in name, from trunk, 133861
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122338 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 20:24:43 +00:00
bienvenu%netscape.com
e0b2480d0e fix for 136805 from trunk, mdn problems with long, non-ascii subjects
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122337 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 20:23:46 +00:00
bienvenu%netscape.com
b5bebe6668 fix for selection/command updating problems from trunk 134893
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122336 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 20:23:01 +00:00
bzbarsky%mit.edu
d945ef7ecf make clip:inherit work. Bug 141734, r=dbaron, sr=attinasi, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122335 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 20:17:12 +00:00
bzbarsky%mit.edu
225f0aa962 Text zoom should reflow the viewport, otherwise fixed-pos elements don't
get reflown correctly. Bug 51578, r=dbaron, sr=waterson, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122334 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 20:10:14 +00:00
bzbarsky%mit.edu
e43da87623 cache results of getElementsByTagName in case people call
it in a loop. r=dbaron, sr=jst, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122333 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 20:06:45 +00:00
pinkerton%netscape.com
dfab04f55c clean up packaging warnings so real errors are easier to see. r=ccarlen/sr=beard/a=valeski. bug# 142556
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122330 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 19:21:27 +00:00
brendan%mozilla.org
458ff6f480 Back out troublesome parts of patch for 130544 (147997, r/sr=me).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122318 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 07:15:01 +00:00
brendan%mozilla.org
3c64131dd8 Clean up nsICollection/nsSupportsArray {Append,Remove}Element return type (130544, r=dougt, sr=bienvenu, a=valeski).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122292 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 22:38:49 +00:00
bienvenu%netscape.com
a1f4627d40 checking in fix for bug 121926 from trunk, r=bienvenu, sr=mscott, not removing failed passwords from wallet
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122287 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 21:53:52 +00:00
cavin%netscape.com
17138832e5 Fix for #82276. Always return entry info even if there's no other attribute associated with the contact. r=ducarroz, sr=mscott, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122286 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 21:52:51 +00:00
varada%netscape.com
17531efb1a fix for 70540 -compose window should bring up account wizard if there are no existing identities;r=bhuvan;sr=sspitzer;a=valeski;130036-in offline mode we should send later all the time instead of attempting to send after first try;r=ducarroz;sr=bienvenu;a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122284 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 21:44:58 +00:00
cavin%netscape.com
41e6f47bfa Fix for 58206. Output "From " line if a msg does start with one such line. r=ducarroz, sr=sspitzer, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122283 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 21:43:09 +00:00
32 changed files with 8191 additions and 8 deletions

View File

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

View File

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

View File

@@ -0,0 +1,59 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#error "DonÕt use me!"
#define OLDROUTINELOCATIONS 0
#define XP_MAC 1
#define NSPR20 1
#define _NO_FAST_STRING_INLINES_ 1
#define HAVE_BOOLEAN 1
#define NETSCAPE 1
#define OTUNIXERRORS 1 /* We want OpenTransport error codes */
#define OJI 1
/*
This compiles in heap dumping utilities and other good stuff
for developers -- maybe we only want it in for a special SDK
nspr/java runtime(?):
*/
#define DEVELOPER_DEBUG 1
#define MAX(_a,_b) ((_a) < (_b) ? (_b) : (_a))
#define MIN(_a,_b) ((_a) < (_b) ? (_a) : (_b))

Binary file not shown.

View File

@@ -0,0 +1,80 @@
#!perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Simon Fraser <sfraser@netscape.com>
#
require 5.004;
use strict;
use Cwd;
use Moz::BuildUtils;
use Moz::BuildCore;
#-------------------------------------------------------------
# Where have the build options gone?
#
# The various build flags have been centralized into one place.
# The master list of options is in MozBuildFlags.txt. However,
# you should never need to edit that file, or this one.
#
# To customize what gets built, or where to start the build,
# edit the $prefs_file_name file in
# System Folder:Preferences:Mozilla build prefs:
# Documentation is provided in that file.
#-------------------------------------------------------------
my($prefs_file_name) = "Mozilla opt build prefs";
my($config_header_file_name) = ":mozilla:config:mac:DefinesOptions.h";
#-------------------------------------------------------------
# hashes to hold build options
#-------------------------------------------------------------
my(%build);
my(%options);
my(%filepaths);
my(%optiondefines);
# Hash of input files for this build. Eventually, there will be
# input files for manifests, and projects too.
my(%inputfiles) = (
"buildflags", "MozillaBuildFlags.txt",
"checkoutdata", "MozillaCheckoutList.txt",
"buildprogress", "¥ Mozilla opt progress",
"buildmodule", "MozillaBuildList.pm",
"checkouttime", "Mozilla last checkout"
);
#-------------------------------------------------------------
# end build hashes
#-------------------------------------------------------------
# set the build root directory, which is the the dir above mozilla
SetupBuildRootDir(":mozilla:build:mac:build_scripts");
# Set up all the flags on $main::, like DEBUG, CARBON etc.
# Override the defaults using the preferences files.
SetupDefaultBuildOptions(0, ":mozilla:dist:viewer:", $config_header_file_name);
my($do_checkout) = 0;
my($do_build) = 1;
RunBuild($do_checkout, $do_build, \%inputfiles, $prefs_file_name);

View File

@@ -0,0 +1,80 @@
#!perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Simon Fraser <sfraser@netscape.com>
#
require 5.004;
use strict;
use Cwd;
use Moz::BuildUtils;
use Moz::BuildCore;
#-------------------------------------------------------------
# Where have the build options gone?
#
# The various build flags have been centralized into one place.
# The master list of options is in MozBuildFlags.txt. However,
# you should never need to edit that file, or this one.
#
# To customize what gets built, or where to start the build,
# edit the $prefs_file_name file in
# System Folder:Preferences:Mozilla build prefs:
# Documentation is provided in that file.
#-------------------------------------------------------------
my($prefs_file_name) = "Mozilla debug build prefs";
my($config_header_file_name) = ":mozilla:config:mac:DefinesOptionsDebug.h";
#-------------------------------------------------------------
# hashes to hold build options
#-------------------------------------------------------------
my(%build);
my(%options);
my(%filepaths);
my(%optiondefines);
# Hash of input files for this build. Eventually, there will be
# input files for manifests, and projects too.
my(%inputfiles) = (
"buildflags", "MozillaBuildFlags.txt",
"checkoutdata", "MozillaCheckoutList.txt",
"buildprogress", "¥ Mozilla debug progress",
"buildmodule", "MozillaBuildList.pm",
"checkouttime", "Mozilla last checkout"
);
#-------------------------------------------------------------
# end build hashes
#-------------------------------------------------------------
# set the build root directory, which is the the dir above mozilla
SetupBuildRootDir(":mozilla:build:mac:build_scripts");
# Set up all the flags on $main::, like DEBUG, CARBON etc.
# Override the defaults using the preferences files.
SetupDefaultBuildOptions(1, ":mozilla:dist:viewer_debug:", $config_header_file_name);
my($do_pull) = 0; # overridden by flags and prefs
my($do_build) = 1;
RunBuild($do_pull, $do_build, \%inputfiles, $prefs_file_name);

View File

@@ -0,0 +1,595 @@
#!perl -w
package Moz::BuildCore;
require 5.004;
require Exporter;
use strict;
use vars qw( @ISA @EXPORT );
# perl includes
use Cwd;
use POSIX;
use Time::Local;
use File::Basename;
use LWP::Simple;
# homegrown
use Moz::Moz;
use Moz::Jar;
use Moz::BuildFlags;
use Moz::BuildUtils;
use Moz::CodeWarriorLib;
# use MozillaBuildList; # eventually, this should go away, and be replaced by data input
@ISA = qw(Exporter);
@EXPORT = qw(
RunBuild
);
#//--------------------------------------------------------------------------------------------------
#// DoPrebuildCheck
#//
#// Check the build tools etc before running the build.
#//--------------------------------------------------------------------------------------------------
sub DoPrebuildCheck()
{
SanityCheckBuildOptions();
# launch codewarrior and persist its location. Have to call this before first
# call to getCodeWarriorPath().
my($ide_path_file) = $main::filepaths{"idepath"};
$ide_path_file = full_path_to($ide_path_file);
LaunchCodeWarrior($ide_path_file);
}
#//--------------------------------------------------------------------------------------------------
#// SanityCheckBuildOptions
#//--------------------------------------------------------------------------------------------------
sub SanityCheckBuildOptions()
{
my($bad_options) = 0;
# Jar options
if (!$main::options{chrome_jars} && !$main::options{chrome_files})
{
print "Warning: Both \$options{chrome_jars} and \$options{chrome_files} are off. You won't get any chrome.\n";
$bad_options = 1;
}
if (!$main::options{chrome_jars} && $main::options{use_jars})
{
print "Warning: \$options{chrome_jars} is off but \$options{use_jars} is on. Your build won't run (expects jars, got files).\n";
$bad_options = 1;
}
if (!$main::options{chrome_files} && !$main::options{use_jars})
{
print "Warning: \$options{chrome_jars} is off but \$options{chrome_files} is on. Your build won't run (expects files, got jars).\n";
$bad_options = 1;
}
if ($main::options{ldap_experimental} && !$main::options{ldap})
{
print "Warning: \$options{ldap_experimental} is on but \$options{ldap} is off. LDAP experimental features will not be built.\n";
$bad_options = 1;
}
if ($main::options{wsp} && !$main::options{xmlextras})
{
print "Warning: \$options{wsp} is on but \$options{xmlextras} is off. wsp will not be built.\n";
$bad_options = 1;
}
if ($bad_options) {
print "Build will start in 5 seconds. Press command-. to stop\n";
DelayFor(5);
}
}
#//--------------------------------------------------------------------------------------------------
#// GenBuildSystemInfo
#//--------------------------------------------------------------------------------------------------
sub GenBuildSystemInfo()
{
# always rebuild the configuration program.
BuildProjectClean(":mozilla:build:mac:tools:BuildSystemInfo:BuildSystemInfo.mcp", "BuildSystemInfo");
# delete the configuration file.
unlink(":mozilla:build:mac:BuildSystemInfo.pm");
# run the program.
system(":mozilla:build:mac:BuildSystemInfo");
# wait for the file to be created.
while (!(-e ":mozilla:build:mac:BuildSystemInfo.pm")) { WaitNextEvent(); }
# wait for BuildSystemInfo to finish, so that we see correct results.
while (IsProcessRunning("BuildSystemInfo")) { WaitNextEvent(); }
# now, evaluate the contents of the file.
open(F, ":mozilla:build:mac:BuildSystemInfo.pm");
while (<F>) { eval; }
close(F);
}
#//--------------------------------------------------------------------------------------------------
#// Make library aliases
#//--------------------------------------------------------------------------------------------------
sub MakeLibAliases()
{
my($dist_dir) = GetBinDirectory();
#// ProfilerLib
if ($main::PROFILE)
{
my($profilerlibpath) = Moz::CodeWarriorLib::getCodeWarriorPath("MacOS Support:Profiler:Profiler Common:ProfilerLib");
MakeAlias("$profilerlibpath", "$dist_dir"."Essential Files:");
}
}
#//--------------------------------------------------------------------------------------------------
#// ConfigureBuildSystem
#//
#// defines some build-system configuration variables.
#//--------------------------------------------------------------------------------------------------
sub ConfigureBuildSystem()
{
#// In the future, we may want to do configurations based on the actual build system itself.
#// GenBuildSystemInfo();
#// For now, if we discover a newer header file than existed in Universal Interfaces 3.2,
#// we'll assume that 3.3 or later is in use.
my($universal_interfaces) = Moz::CodeWarriorLib::getCodeWarriorPath("MacOS Support:Universal:Interfaces:CIncludes:");
if (-e ($universal_interfaces . "ControlDefinitions.h")) {
$main::UNIVERSAL_INTERFACES_VERSION = 0x0330;
}
#// Rename IC SDK folder in the Mac OS Support folder
my($ic_sdk_folder) = Moz::CodeWarriorLib::getCodeWarriorPath("MacOS Support:ICProgKit2.0.2");
if( -e $ic_sdk_folder)
{
my($new_ic_folder_name) = Moz::CodeWarriorLib::getCodeWarriorPath("MacOS Support:(ICProgKit2.0.2)");
rename ($ic_sdk_folder, $new_ic_folder_name);
# note that CodeWarrior doesn't descend into folders with () the name
print "Mozilla no longer needs the Internet Config SDK to build:\n Renaming the 'ICProgKit2.0.2' folder to '(ICProgKit2.0.2)'\n";
}
printf("UNIVERSAL_INTERFACES_VERSION = 0x%04X\n", $main::UNIVERSAL_INTERFACES_VERSION);
# alias required CodeWarrior libs into the Essential Files folder (only the Profiler lib now)
MakeLibAliases();
}
#//--------------------------------------------------------------------------------------------------
#// CheckOutModule. Takes variable number of args; first two are required
#//--------------------------------------------------------------------------------------------------
sub CheckOutModule($$$$)
{
my($session, $module, $revision, $date) = @_;
my($result) = $session->checkout($module, $revision, $date);
# result of 1 is success
if ($result) { return; }
my($checkout_err) = $session->getLastError();
if ($checkout_err == 708) {
die "Error: Checkout was cancelled.\n";
} elsif ($checkout_err == 911) {
die "Error: CVS session settings are incorrect. Check your password, and the CVS root settings.\n";
} elsif ($checkout_err == 703) {
die "Error: CVS checkout failed. Unknown module, unknown tag, bad username, or other CVS error.\n";
} elsif ($checkout_err == 711) {
print "Checkout of '$module' failed.\n";
}
}
#//--------------------------------------------------------------------------------------------------
#// getScriptFolder
#//--------------------------------------------------------------------------------------------------
sub getScriptFolder()
{
return dirname($0);
}
#//--------------------------------------------------------------------------------------------------
#// getScriptFolder
#//--------------------------------------------------------------------------------------------------
sub get_url_contents($)
{
my($url) = @_;
my($url_contents) = LWP::Simple::get($url);
$url_contents =~ s/\r\n/\n/g; # normalize linebreaks
$url_contents =~ s/\r/\n/g; # normalize linebreaks
return $url_contents;
}
#//--------------------------------------------------------------------------------------------------
#// get_files_from_content
#//--------------------------------------------------------------------------------------------------
sub uniq
{
my $lastval;
grep(($_ ne $lastval, $lastval = $_)[$[], @_);
}
#//--------------------------------------------------------------------------------------------------
#// get_files_from_content
#//--------------------------------------------------------------------------------------------------
sub get_files_from_content($)
{
my($content) = @_;
my(@jscalls) = grep (/return js_file_menu[^{]*/, split(/\n/, $content));
my $i;
for ($i = 0; $i < @jscalls ; $i++)
{
$jscalls[$i] =~ s/.*\(|\).*//g;
my(@callparams) = split(/,/, $jscalls[$i]);
my ($repos, $dir, $file, $rev) = grep(s/['\s]//g, @callparams);
$jscalls[$i] = "$dir/$file";
}
&uniq(sort(@jscalls));
}
#//--------------------------------------------------------------------------------------------------
#// getLastUpdateTime
#//
#// Get the last time we updated. Return 0 on failure
#//--------------------------------------------------------------------------------------------------
sub getLastUpdateTime($)
{
my($timestamp_file) = @_;
my($time_string);
local(*TIMESTAMP_FILE);
unless (open(TIMESTAMP_FILE, "< $timestamp_file")) { return 0; }
while (<TIMESTAMP_FILE>)
{
my($line) = $_;
chomp($line);
# ignore comments and empty lines
if ($line =~ /^\#/ || $line =~ /^\s*$/) {
next;
}
$time_string = $line;
}
# get the epoch seconds
my($last_update_secs) = $time_string;
$last_update_secs =~ s/\s#.+$//;
print "FAST_UPDATE found that you last updated at ".localtime($last_update_secs)."\n";
# how long ago was this, in hours?
my($gm_now) = time();
my($update_hours) = 1 + ceil(($gm_now - $last_update_secs) / (60 * 60));
return $update_hours;
}
#//--------------------------------------------------------------------------------------------------
#// saveCheckoutTimestamp
#//
#// Create a file on disk containing the current time. Param is time(), which is an Epoch seconds
#// (and therefore in GMT).
#//
#//--------------------------------------------------------------------------------------------------
sub saveCheckoutTimestamp($$)
{
my($gm_secs, $timestamp_file) = @_;
local(*TIMESTAMP_FILE);
open(TIMESTAMP_FILE, ">$timestamp_file") || die "Failed to open $timestamp_file\n";
print(TIMESTAMP_FILE "# time of last checkout or update, in GMT. Used by FAST_UPDATE\n");
print(TIMESTAMP_FILE "$gm_secs \# around ".localtime()." local time\n");
close(TIMESTAMP_FILE);
}
#//--------------------------------------------------------------------------------------------------
#// FastUpdate
#//
#// Use Bonsai url data to update only those dirs which have new files
#//
#//--------------------------------------------------------------------------------------------------
sub FastUpdate($$)
{
my($modules, $timestamp_file) = @_; # list of modules to check out
my($num_hours) = getLastUpdateTime($timestamp_file);
if ($num_hours == 0 || $num_hours > 170) {
print "Can't fast_update; last update was too long ago, or never. Doing normal checkout.\n";
return 0;
}
print "Doing fast update, pulling files changed in the last $num_hours hours\n";
my($cvsfile) = AskAndPersistFile($main::filepaths{"sessionpath"});
my($session) = Moz::MacCVS->new( $cvsfile );
unless (defined($session)) { die "Error: Checkout aborted. Cannot create session file: $session" }
# activate MacCVS
ActivateApplication('Mcvs');
my($checkout_start_time) = time();
#print "Time now is $checkout_start_time ($checkout_start_time + 0)\n";
my($this_co);
foreach $this_co (@$modules)
{
my($module, $revision, $date) = ($this_co->[0], $this_co->[1], $this_co->[2]);
# assume that things pulled by date wont change
if ($date ne "") {
print "$module is pulled by date, so ignoring in FastUpdate.\n";
next;
}
my($search_type) = "hours";
my($min_date) = "";
my($max_date) = "";
my($url) = "http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=${module}&branch=${revision}&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=${num_hours}&date=${search_type}&mindate=${min_date}&maxdate=${max_date}&cvsroot=%2Fcvsroot";
if ($revision eq "") {
print "Getting list of checkins to $module from Bonsai...\n";
} else {
print "Getting list of checkins to $module on branch $revision from Bonsai...\n";
}
my(@files) = &get_files_from_content(&get_url_contents($url));
if ($#files > 0)
{
my(@cvs_co_list);
my($co_file);
foreach $co_file (@files)
{
print "Updating $co_file\n";
push(@cvs_co_list, $co_file);
}
my($result) = $session->update($revision, \@cvs_co_list);
# result of 1 is success
if (!$result) { die "Error: Fast update failed\n"; }
} else {
print "No files in this module changed\n";
}
}
saveCheckoutTimestamp($checkout_start_time, $timestamp_file);
return 1;
}
#//--------------------------------------------------------------------------------------------------
#// Checkout
#//--------------------------------------------------------------------------------------------------
sub CheckoutModules($$$)
{
my($modules, $pull_date, $timestamp_file) = @_; # list of modules to check out
my($start_time) = TimeStart();
# assertRightDirectory();
my($cvsfile) = AskAndPersistFile($main::filepaths{"sessionpath"});
my($session) = Moz::MacCVS->new( $cvsfile );
unless (defined($session)) { die "Error: Checkout aborted. Cannot create session file: $session" }
my($checkout_start_time) = time();
# activate MacCVS
ActivateApplication('Mcvs');
my($this_co);
foreach $this_co (@$modules)
{
my($module, $revision, $date) = ($this_co->[0], $this_co->[1], $this_co->[2]);
if ($date eq "") {
$date = $pull_date;
}
CheckOutModule($session, $module, $revision, $date);
# print "Checking out $module with ref $revision, date $date\n";
}
saveCheckoutTimestamp($checkout_start_time, $timestamp_file);
TimeEnd($start_time, "Checkout");
}
#//--------------------------------------------------------------------------------------------------
#// ReadCheckoutModulesFile
#//--------------------------------------------------------------------------------------------------
sub ReadCheckoutModulesFile($$)
{
my($modules_file, $co_list) = @_;
my($checkout_file) = getScriptFolder().":".$modules_file;
local(*CHECKOUT_FILE);
open(CHECKOUT_FILE, "< $checkout_file") || die "Error: failed to open checkout list $checkout_file\n";
while (<CHECKOUT_FILE>)
{
my($line) = $_;
chomp($line);
# ignore comments and empty lines
if ($line =~ /^\#/ || $line =~ /^\s*$/) {
next;
}
my(@cvs_co) = ["", "", ""];
my($module, $revision, $date) = (0, 1, 2);
if ($line =~ /\s*([^#,\s]+)\s*\,\s*([^#,\s]+)\s*\,\s*([^#]+)/)
{
@cvs_co[$module] = $1;
@cvs_co[$revision] = $2;
@cvs_co[$date] = $3;
}
elsif ($line =~ /\s*([^#,\s]+)\s*\,\s*([^#,\s]+)\s*(#.+)?/)
{
@cvs_co[$module] = $1;
@cvs_co[$revision] = $2;
}
elsif ($line =~ /\s*([^#,\s]+)\s*\,\s*,\s*([^#,]+)/)
{
@cvs_co[$module] = $1;
@cvs_co[$date] = $2;
}
elsif ($line =~ /\s*([^#,\s]+)/)
{
@cvs_co[$module] = $1;
}
else
{
die "Error: unrecognized line '$line' in $modules_file\n";
}
# strip surrounding space from date
@cvs_co[$date] =~ s/^\s*|\s*$//g;
# print "Going to check out '@cvs_co[$module]', '@cvs_co[$revision]', '@cvs_co[$date]'\n";
push(@$co_list, \@cvs_co);
}
close(CHECKOUT_FILE);
}
#//--------------------------------------------------------------------------------------------------
#// PullFromCVS
#//--------------------------------------------------------------------------------------------------
sub PullFromCVS($$)
{
unless ( $main::build{pull} ) { return; }
my($modules_file, $timestamp_file) = @_;
StartBuildModule("pull");
my(@cvs_co_list);
ReadCheckoutModulesFile($modules_file, \@cvs_co_list);
if ($main::FAST_UPDATE && $main::options{pull_by_date})
{
die "Error: you can't use FAST_UPDATE if you are pulling by date.\n";
}
my($did_fast_update) = $main::FAST_UPDATE && FastUpdate(\@cvs_co_list, $timestamp_file);
if (!$did_fast_update)
{
my($pull_date) = "";
if ($main::options{pull_by_date})
{
# acceptable CVS date formats are (in local time):
# ISO8601 (e.g. "1972-09-24 20:05") and Internet (e.g. "24 Sep 1972 20:05").
# Perl's localtime() string format also seems to work.
$pull_date = localtime().""; # force string interp.
print "Pulling by date $pull_date\n";
}
CheckoutModules(\@cvs_co_list, $pull_date, $timestamp_file);
}
EndBuildModule("pull");
}
#//--------------------------------------------------------------------------------------------------
#// RunBuild
#//--------------------------------------------------------------------------------------------------
sub RunBuild($$$$)
{
my($do_pull, $do_build, $input_files, $build_prefs) = @_;
InitBuildProgress($input_files->{"buildprogress"});
# if we are pulling, we probably want to do a full build, so clear the build progress
if ($do_pull) {
ClearBuildProgress();
}
# read local prefs, and the build progress file, and set flags to say what to build
SetupBuildParams(\%main::build,
\%main::options,
\%main::optiondefines,
\%main::filepaths,
$input_files->{"buildflags"},
$build_prefs);
# If we were told to pull, make sure we do, overriding prefs etc.
if ($do_pull)
{
$main::build{"pull"} = 1;
}
# transfer this flag
$CodeWarriorLib::CLOSE_PROJECTS_FIRST = $main::CLOSE_PROJECTS_FIRST;
# setup the build log
SetupBuildLog($main::filepaths{"buildlogfilepath"}, $main::USE_TIMESTAMPED_LOGS);
StopForErrors();
if ($main::LOG_TO_FILE) {
RedirectOutputToFile($main::filepaths{"scriptlogfilepath"});
}
# run a pre-build check to see that the tools etc are in order
DoPrebuildCheck();
# do the pull
PullFromCVS($input_files->{"checkoutdata"}, $input_files->{"checkouttime"});
unless ($do_build) { return; }
my($build_start) = TimeStart();
# check the build environment
ConfigureBuildSystem();
# here we load and call methods in the build module indirectly.
# we have to use indirection because the build module can be named
# differently for different builds.
chdir(dirname($0)); # change to the script dir
my($build_module) = $input_files->{"buildmodule"};
# load the build module
require $build_module;
{ # scope for no strict 'refs'
no strict 'refs';
my($package_name) = $build_module;
$package_name =~ s/\.pm$//;
chdir($main::MOZ_SRC);
&{$package_name."::BuildDist"}();
chdir($main::MOZ_SRC);
&{$package_name."::BuildProjects"}();
}
# the build finished, so clear the build progress state
ClearBuildProgress();
TimeEnd($build_start, "Build");
print "Build complete\n";
}
1;

View File

@@ -0,0 +1,425 @@
#!perl -w
package Moz::BuildFlags;
require 5.004;
require Exporter;
# Package that attempts to read a file from the Preferences folder,
# and get build settings out of it
use strict;
use Exporter;
use Cwd;
use File::Basename;
use Moz::Moz;
use Moz::Prefs;
use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(
SetupBuildParams
InitBuildProgress
WriteBuildProgress
ClearBuildProgress
ReadBuildProgress
);
my(@build_flags);
my(@options_flags);
my(@filepath_flags);
my(%arrays_list) = (
"build_flags", \@build_flags,
"options_flags", \@options_flags,
"filepath_flags", \@filepath_flags
);
my($progress_file) = "¥ÊBuild progress";
#-------------------------------------------------------------------------------
# appendArrayFlag
#
# Set a flag in the array
#-------------------------------------------------------------------------------
sub appendArrayFlag(@)
{
my($array_name) = shift;
my($setting) = shift;
my($value) = shift;
my(@optional_values);
foreach (@_) {
push(@optional_values, $_);
}
my(@this_flag) = [$setting, $value, @optional_values];
my($flags_array) = $arrays_list{$array_name};
if ($flags_array)
{
push(@{$flags_array}, @this_flag) || die "Failed to append\n";
}
else
{
die "Error: unknown build flags array $array_name\n";
}
}
#-------------------------------------------------------------------------------
# readFlagsFile
#
# Read the file of build flags from disk. File path is relative to the
# script directory.
#-------------------------------------------------------------------------------
sub readFlagsFile($)
{
my($flags_file) = @_;
my($file_path) = $0;
$file_path =~ s/[^:]+$/$flags_file/;
print "Reading build flags from '$file_path'\n";
local(*FLAGS_FILE);
open(FLAGS_FILE, "< $file_path") || die "Error: failed to open flags file $file_path\n";
my($cur_array) = "";
while(<FLAGS_FILE>)
{
my($line) = $_;
chomp($line);
# ignore comments and empty lines
if ($line =~ /^\#/ || $line =~ /^\s*$/) {
next;
}
# 1-word line, probably array name
if ($line =~ /^([^#\s]+)\s*$/)
{
$cur_array = $1;
next;
}
elsif ($line =~ /^([^#\s]+)\s+\"(.+)\"(\s+#.+)?$/) # quoted option, possible comment
{
my($flag) = $1;
my($setting) = $2;
appendArrayFlag($cur_array, $flag, $setting);
}
elsif ($line =~ /^([^#\s]+)((\s+[^#\s]+)+)(\s+#.+)?$/) # multiple word line, possible comment
{
my($flag) = $1;
appendArrayFlag($cur_array, $flag, split(' ', $2));
}
else
{
die "Error: unknown build flag at '$line'\n";
}
}
close(FLAGS_FILE);
}
#-------------------------------------------------------------------------------
# flagsArrayToHash
#
# Utility routine to migrate flag from a 2D array to a hash, where
# item[n][0] is the hash entry name, and item[n][1] is the hash entry value.
#-------------------------------------------------------------------------------
sub flagsArrayToHash($$)
{
my($src_array, $dest_hash) = @_;
my($item);
foreach $item (@$src_array)
{
$dest_hash->{$item->[0]} = $item->[1];
}
}
#-----------------------------------------------
# printHash
#
# Utility routine to print a hash
#-----------------------------------------------
sub printHash($)
{
my($hash_ref) = @_;
print "Printing hash:\n";
my($key, $value);
while (($key, $value) = each (%$hash_ref))
{
print " $key $value\n";
}
}
#-----------------------------------------------
# printBuildArray
#
# Utility routine to print a 2D array
#-----------------------------------------------
sub printBuildArray($)
{
my($build_array) = @_;
my($entry);
foreach $entry (@$build_array)
{
print "$entry->[0] = $entry->[1]\n";
}
}
#-------------------------------------------------------------------------------
# SetBuildFlags
#-------------------------------------------------------------------------------
sub SetBuildFlags($)
{
my($build) = @_;
flagsArrayToHash(\@build_flags, $build);
}
#-------------------------------------------------------------------------------
# SetBuildOptions
#-------------------------------------------------------------------------------
sub SetBuildOptions($)
{
my($options) = @_;
flagsArrayToHash(\@options_flags, $options);
}
#-------------------------------------------------------------------------------
# SetFilepathFlags
#-------------------------------------------------------------------------------
sub SetFilepathFlags($)
{
my($filepath) = @_;
flagsArrayToHash(\@filepath_flags, $filepath);
}
#-------------------------------------------------------------------------------
# SetOptionDefines
#-------------------------------------------------------------------------------
sub SetOptionDefines($)
{
my($optiondefines) = @_;
foreach my $entry (@options_flags)
{
if (defined($entry->[2])) {
$optiondefines->{$entry->[0]}{$entry->[2]} = 1;
}
}
}
#-------------------------------------------------------------------------------
# PropagateAllFlags
#-------------------------------------------------------------------------------
sub PropagateAllFlags($)
{
my($build_array) = @_;
# if "all" is set, set all the flags to 1
unless ($build_array->[0][0] eq "all") { die "Error: 'all' must come first in the flags array\n"; }
if ($build_array->[0][1] == 1)
{
my($index);
foreach $index (@$build_array)
{
$index->[1] = 1;
}
}
}
#//--------------------------------------------------------------------------------------------------
#// _getBuildProgressFile
#//--------------------------------------------------------------------------------------------------
sub _getBuildProgressFile()
{
return $progress_file;
}
#//--------------------------------------------------------------------------------------------------
#// setBuildProgressStart
#//
#// This automagically sets $build{"all"} to 0
#//--------------------------------------------------------------------------------------------------
sub setBuildProgressStart($$)
{
my($build_array, $name) = @_;
my($index);
foreach $index (@$build_array)
{
$index->[1] = 0;
if ($index->[0] eq $name) {
last;
}
}
print "Building from module after $name, as specified by build progress\n";
}
#//--------------------------------------------------------------------------------------------------
#// InitBuildProgress
#//--------------------------------------------------------------------------------------------------
sub InitBuildProgress($)
{
my($prog_file) = @_;
if ($prog_file ne "") {
$progress_file = full_path_to($prog_file);
print "Writing build progress to $progress_file\n";
}
}
#//--------------------------------------------------------------------------------------------------
#// WriteBuildProgress
#//--------------------------------------------------------------------------------------------------
sub WriteBuildProgress($)
{
my($module_built) = @_;
my($progress_file) = _getBuildProgressFile();
if ($progress_file ne "")
{
open(PROGRESS_FILE, ">>$progress_file") || die "Failed to open $progress_file\n";
print(PROGRESS_FILE "$module_built\n");
close(PROGRESS_FILE);
}
}
#//--------------------------------------------------------------------------------------------------
#// ClearBuildProgress
#//--------------------------------------------------------------------------------------------------
sub ClearBuildProgress()
{
my($progress_file) = _getBuildProgressFile();
if ($progress_file ne "") {
unlink $progress_file;
}
}
#//--------------------------------------------------------------------------------------------------
#// WipeBuildProgress
#//--------------------------------------------------------------------------------------------------
sub WipeBuildProgress()
{
print "Ignoring build progress\n";
ClearBuildProgress();
$progress_file = "";
}
#//--------------------------------------------------------------------------------------------------
#// ReadBuildProgress
#//--------------------------------------------------------------------------------------------------
sub ReadBuildProgress($)
{
my($build_array) = @_;
my($progress_file) = _getBuildProgressFile();
my($last_module);
if (open(PROGRESS_FILE, "< $progress_file"))
{
print "Getting build progress from $progress_file\n";
while (<PROGRESS_FILE>)
{
my($line) = $_;
chomp($line);
$last_module = $line;
}
close(PROGRESS_FILE);
}
if ($last_module)
{
setBuildProgressStart($build_array, $last_module);
}
}
#-------------------------------------------------------------------------------
# clearOldBuildSettings
#-------------------------------------------------------------------------------
sub clearOldBuildSettings($$$$)
{
my($build, $options, $optiondefines, $filepaths) = @_;
# empty the arrays in case we're being called twice
@build_flags = ();
@options_flags = ();
@filepath_flags = ();
# and empty the hashes
%$build = ();
%$options = ();
%$optiondefines = ();
%$filepaths = ();
}
#-------------------------------------------------------------------------------
# SetupBuildParams
#-------------------------------------------------------------------------------
sub SetupBuildParams($$$$$$)
{
my($build, $options, $optiondefines, $filepaths, $flags_file, $prefs_file) = @_;
# Empty the hashes and arrays, to wipe out any stale data.
# Needed because these structures persist across two build scripts
# called using 'do' from a parent script.
clearOldBuildSettings($build, $options, $optiondefines, $filepaths);
# Read from the flags file, which sets up the various arrays
readFlagsFile($flags_file);
# If 'all' is set in the build array, propagate that to all entries
PropagateAllFlags(\@build_flags);
# read the user pref file, that can change values in the array
ReadMozUserPrefs($prefs_file, \@build_flags, \@options_flags, \@filepath_flags);
# If build progress exists, this clears flags in the array up to a certain point
if ($main::USE_BUILD_PROGRESS) {
ReadBuildProgress(\@build_flags);
} else {
WipeBuildProgress();
}
# printBuildArray(\@build_flags);
# printBuildArray(\@options_flags);
SetBuildFlags($build);
SetBuildOptions($options);
SetOptionDefines($optiondefines);
SetFilepathFlags($filepaths);
# printHash($build);
# printHash($options);
}
1;

View File

@@ -0,0 +1,786 @@
package Moz::BuildUtils;
require 5.004;
require Exporter;
# Package that contains build util functions specific to the Mozilla build
# process.
use strict;
use Exporter;
use Cwd;
use File::Path;
use File::Basename;
use Mac::Events;
use Mac::StandardFile;
use Moz::Moz;
use Moz::BuildFlags;
use Moz::MacCVS;
#use Moz::ProjectXML; #optional; required for static build only
use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(
SetupDefaultBuildOptions
SetupBuildRootDir
StartBuildModule
EndBuildModule
GetBinDirectory
BuildOneProjectWithOutput
BuildOneProject
BuildProject
BuildProjectClean
BuildIDLProject
BuildFolderResourceAliases
AskAndPersistFile
DelayFor
TimeStart
TimeEnd
EmptyTree
SetupBuildLog
SetBuildNumber
SetTimeBomb
UpdateConfigHeader
);
#//--------------------------------------------------------------------------------------------------
#// SetupDefaultBuildOptions
#//--------------------------------------------------------------------------------------------------
sub SetupDefaultBuildOptions($$$)
{
my($debug, $bin_dir, $config_header_file_name) = @_;
# Here we set up defaults for the various build flags.
# If you want to override any of these, it's best to do
# so via the relevant preferences file, which lives in
# System Folder:Preferences:Mozilla build prefs:{build prefs file}.
# For the name of the prefs file, see the .pl script that you
# run to start this build. The prefs files are created when
# you run the build, and contain some documentation.
#-------------------------------------------------------------
# configuration variables that globally affect what is built
#-------------------------------------------------------------
$main::DEBUG = $debug;
$main::PROFILE = 0;
$main::RUNTIME = 0; # turn on to just build runtime support and NSPR projects
$main::GC_LEAK_DETECTOR = 0; # turn on to use GC leak detection
$main::MOZILLA_OFFICIAL = 0; # generate build number
$main::LOG_TO_FILE = 0; # write perl output to a file
#-------------------------------------------------------------
# configuration variables that affect the manner of building,
# but possibly affecting the outcome.
#-------------------------------------------------------------
$main::ALIAS_SYM_FILES = $main::DEBUG;
$main::CLOBBER_LIBS = 1; # turn on to clobber existing libs and .xSYM files before
# building each project
# The following two options will delete all dist files (if you have $main::build{dist} turned on),
# but leave the directory structure intact.
$main::CLOBBER_DIST_ALL = 1; # turn on to clobber all aliases/files inside dist (headers/xsym/libs)
$main::CLOBBER_DIST_LIBS = 0; # turn on to clobber only aliases/files for libraries/sym files in dist
$main::CLOBBER_IDL_PROJECTS = 0; # turn on to clobber all IDL projects.
$main::CLOBBER_PROJECTS = 0; # turn on to remove object code from each project before building it
$main::UNIVERSAL_INTERFACES_VERSION = 0x0320;
#-------------------------------------------------------------
# configuration variables that are preferences for the build,
# style and do not affect what is built.
#-------------------------------------------------------------
$main::CLOSE_PROJECTS_FIRST = 0;
# 1 = close then make (for development),
# 0 = make then close (for tinderbox).
$main::USE_TIMESTAMPED_LOGS = 0;
$main::USE_BUILD_PROGRESS = 1; # track build progress for restartable builds
#-------------------------------------------------------------
# END OF CONFIG SWITCHES
#-------------------------------------------------------------
$main::BIN_DIRECTORY = $bin_dir;
$main::DEFINESOPTIONS_FILE = $config_header_file_name;
}
#//--------------------------------------------------------------------------------------------------
#// SetupBuildRootDir
#//--------------------------------------------------------------------------------------------------
sub SetupBuildRootDir($)
{
my($rel_path_to_script) = @_;
my($cur_dir) = cwd();
$cur_dir =~ s/$rel_path_to_script$//;
chdir($cur_dir) || die "Error: failed to set build root directory to '$cur_dir'.\nYou probably need to put 'mozilla' one level down (in a folder).\n";
$main::MOZ_SRC = cwd();
}
#//--------------------------------------------------------------------------------------------------
#// StartBuildModule
#//--------------------------------------------------------------------------------------------------
sub StartBuildModule($)
{
my($module) = @_;
print("---- Start of $module ----\n");
}
#//--------------------------------------------------------------------------------------------------
#// EndBuildModule
#//--------------------------------------------------------------------------------------------------
sub EndBuildModule($)
{
my($module) = @_;
WriteBuildProgress($module);
print("---- End of $module ----\n");
}
#--------------------------------------------------------------------------------------------------
# GetBinDirectory
#--------------------------------------------------------------------------------------------------
sub GetBinDirectory()
{
if ($main::BIN_DIRECTORY eq "") { die "Dist directory not set\n"; }
return $main::BIN_DIRECTORY;
}
#--------------------------------------------------------------------------------------------------
# AskAndPersistFile stores the information about the user pick inside
# the file $session_storage
#--------------------------------------------------------------------------------------------------
sub AskAndPersistFile($)
{
my ($sessionStorage) = @_;
my $cvsfile;
if (( -e $sessionStorage) &&
open( SESSIONFILE, $sessionStorage ))
{
# Read in the path if available
$cvsfile = <SESSIONFILE>;
chomp $cvsfile;
close SESSIONFILE;
if ( ! -e $cvsfile )
{
print STDERR "$cvsfile has disappeared\n";
undef $cvsfile;
}
}
unless (defined ($cvsfile))
{
# make sure that MacPerl is a front process
ActivateApplication('McPL');
MacPerl::Answer("Could not find your MacCVS session file. Please choose one", "OK");
# prompt user for the file name, and store it
my $macFile = StandardGetFile( 0, "McvD");
if ( $macFile->sfGood() )
{
$cvsfile = $macFile->sfFile();
# save the choice if we can
if ( open (SESSIONFILE, ">" . $sessionStorage))
{
printf SESSIONFILE $cvsfile, "\n";
close SESSIONFILE;
}
else
{
print STDERR "Could not open storage file $sessionStorage for saving $cvsfile\n";
}
}
}
return $cvsfile;
}
#--------------------------------------------------------------------------------------------------
# BuildIDLProject
#
#--------------------------------------------------------------------------------------------------
sub BuildIDLProject($$)
{
my ($project_path, $module_name) = @_;
if ($main::CLOBBER_IDL_PROJECTS)
{
my (@suffix_list) = (".mcp", ".xml");
my ($project_name, $project_dir, $suffix) = fileparse($project_path, @suffix_list);
if ($suffix eq "") { die "Error: Project, $project_path must end in .xml or .mcp\n"; }
my($datafolder_path);
if ($suffix eq ".xml")
{
$datafolder_path = $project_dir . "_" . $project_name . " Data:";
}
else {
$datafolder_path = $project_dir . $project_name . " Data:";
}
print STDERR "Deleting IDL data folder: $datafolder_path\n";
EmptyTree($datafolder_path);
}
BuildOneProject($project_path, "headers", 0, 0, 0);
BuildOneProject($project_path, $module_name.".xpt", 1, 0, 1);
}
#--------------------------------------------------------------------------------------------------
# CreateStaticLibTargets
#
#--------------------------------------------------------------------------------------------------
sub CreateXMLStaticLibTargets($)
{
my($xml_path) = @_;
my (@suffix_list) = (".xml");
my ($project_name, $project_dir, $suffix) = fileparse($xml_path, @suffix_list);
if ($suffix eq "") { die "XML munging: $xml_path must end in .xml\n"; }
#sniff the file to see if we need to fix up broken Pro5-exported XML
print "Parsing $xml_path\n";
my $ide_version = Moz::ProjectXML::SniffProjectXMLIDEVersion($xml_path);
if ($ide_version eq "4.0")
{
my $new_file = $project_dir.$project_name."2.xml";
print "Cleaning up Pro 5 xml to $new_file\n";
Moz::ProjectXML::CleanupPro5XML($xml_path, $new_file);
unlink $xml_path;
rename ($new_file, $xml_path);
}
my $doc = Moz::ProjectXML::ParseXMLDocument($xml_path);
my @target_list = Moz::ProjectXML::GetTargetsList($doc);
my $target;
my %target_hash; # for easy lookups below
foreach $target (@target_list) { $target_hash{$target} = 1; }
foreach $target (@target_list)
{
if ($target =~ /(.+).shlb$/) # if this is a shared lib target
{
my $target_base = $1;
my $static_target = $target_base.".o";
# ensure that this does not exist already
if ($target_hash{$static_target}) {
print "Static target $static_target already exists in project. Not making\n";
next;
}
print "Making static target '$static_target' from target '$target'\n";
Moz::ProjectXML::CloneTarget($doc, $target, $static_target);
Moz::ProjectXML::SetAsStaticLibraryTarget($doc, $static_target, $static_target);
}
}
print "Writing XML file to $xml_path\n";
my $temp_path = $project_dir."_".$project_name.".xml";
Moz::ProjectXML::WriteXMLDocument($doc, $temp_path, $ide_version);
Moz::ProjectXML::DisposeXMLDocument($doc);
if (-e $temp_path)
{
unlink $xml_path;
rename ($temp_path, $xml_path);
}
else
{
die "Error: Failed to add new targets to XML project\n";
}
}
#//--------------------------------------------------------------------------------------------------
#// ProcessProjectXML
#//
#// Helper routine to allow for XML pre-processing. This should read in the XML, process it,
#// and replace the original file with the processed version.
#//--------------------------------------------------------------------------------------------------
sub ProcessProjectXML($)
{
my($xml_path) = @_;
# we need to manually load Moz::ProjectXML, becaues not everyone will have the
# required perl modules in their distro.
my($cur_dir) = cwd();
chdir(dirname($0)); # change to the script dir
eval "require Moz::ProjectXML";
if ($@) { die "Error: could not do Project XML munging because you do not have the correct XML modules installed. Error is:\n################\n $@################"; }
chdir($cur_dir);
CreateXMLStaticLibTargets($xml_path);
}
#//--------------------------------------------------------------------------------------------------
#// Build one project, and make the alias. Parameters are project path, target name, shared library
#// name, make shlb alias (boolean), make xSYM alias (boolean), and is component (boolean).
#//--------------------------------------------------------------------------------------------------
sub BuildOneProjectWithOutput($$$$$$)
{
my ($project_path, $target_name, $output_name, $alias_lib, $alias_xSYM, $component) = @_;
unless ($project_path =~ m/^$main::BUILD_ROOT.+/) { return; }
my (@suffix_list) = (".mcp", ".xml");
my ($project_name, $project_dir, $suffix) = fileparse($project_path, @suffix_list);
if ($suffix eq "") { die "Error: Project, $project_path must end in .xml or .mcp\n"; }
my($dist_dir) = GetBinDirectory();
# Put libraries in "Essential Files" folder, Components in "Components" folder
my($output_dir) = $component ? "Components:" : "Essential Files:";
my($output_path) = $dist_dir.$output_dir;
if ($main::options{static_build})
{
if ($output_name =~ /\.o$/ || $output_name =~ /\.[Ll]ib$/)
{
$alias_xSYM = 0;
$alias_lib = 1;
$output_path = $main::DEBUG ? ":mozilla:dist:static_libs_debug:" : ":mozilla:dist:static_libs:";
}
}
# if the flag is on to export projects to XML, export and munge them
if ($main::EXPORT_PROJECTS && !($project_path =~ /IDL\.mcp$/))
{
my $xml_out_path = $project_path;
$xml_out_path =~ s/\.mcp$/\.xml/;
# only do this if project is newer?
if (! -e $xml_out_path)
{
ExportProjectToXML(full_path_to($project_path), full_path_to($xml_out_path));
ProcessProjectXML($xml_out_path);
}
}
# if the flag is set to use XML projects, default to XML if the file
# is present.
if ($main::USE_XML_PROJECTS && !($project_path =~ /IDL\.mcp$/))
{
my $xml_project_path = $project_dir.$project_name.".xml";
if (-e $xml_project_path)
{
$project_path = $xml_project_path;
$suffix = ".xml";
}
}
if ($suffix eq ".xml")
{
my($xml_path) = $project_path;
# Prepend an "_" onto the name of the generated project file so it doesn't conflict
$project_path = $project_dir . "_" . $project_name . ".mcp";
my($project_modtime) = (-e $project_path ? GetFileModDate($project_path) : 0);
my($xml_modtime) = (-e $xml_path ? GetFileModDate($xml_path) : 0);
if ($xml_modtime > $project_modtime)
{
print("Importing $project_path from $project_name.xml.\n");
unlink($project_path);
# Might want to delete the "xxx.mcp Data" dir ???
ImportXMLProject(full_path_to($xml_path), full_path_to($project_path));
}
}
if ($main::CLOBBER_LIBS)
{
unlink "$project_dir$output_name"; # it's OK if these fail
unlink "$project_dir$output_name.xSYM";
}
DoBuildProject($project_path, $target_name, $main::CLOBBER_PROJECTS);
$alias_lib ? MakeAlias("$project_dir$output_name", "$output_path") : 0;
$alias_xSYM ? MakeAlias("$project_dir$output_name.xSYM", "$output_path") : 0;
}
#//--------------------------------------------------------------------------------------------------
#// For compatiblity with existing scripts, BuildOneProject now just calls
#// BuildOneProjectWithOutput, with the output name and target name identical.
#// Note that this routine assumes that the target name and the shared libary name
#// are the same.
#//--------------------------------------------------------------------------------------------------
sub BuildOneProject($$$$$)
{
my ($project_path, $target_name, $alias_lib, $alias_xSYM, $component) = @_;
BuildOneProjectWithOutput($project_path, $target_name, $target_name,
$alias_lib, $alias_xSYM, $component);
}
#//--------------------------------------------------------------------------------------------------
#// For compatiblity with existing scripts, BuildProject now just calls
#// BuildOneProjectWithOutput, with the output name and target name identical.
#// Note that this routine assumes that the target name and the shared libary name
#// are the same. No aliases of the output are made.
#//--------------------------------------------------------------------------------------------------
sub BuildProject($$)
{
my ($project_path, $target_name) = @_;
BuildOneProjectWithOutput($project_path, $target_name, $target_name, 0, 0, 0);
}
#//--------------------------------------------------------------------------------------------------
#// Identical to BuildProject but clobbers the project before building it.
#//--------------------------------------------------------------------------------------------------
sub BuildProjectClean($$)
{
my ($project_path, $target_name) = @_;
my ($save_clobber_flag) = $main::CLOBBER_PROJECTS;
$main::CLOBBER_PROJECTS = 1;
BuildOneProjectWithOutput($project_path, $target_name, $target_name, 0, 0, 0);
$main::CLOBBER_PROJECTS = $save_clobber_flag;
}
#//--------------------------------------------------------------------------------------------------
#// Make resource aliases for one directory
#//--------------------------------------------------------------------------------------------------
sub BuildFolderResourceAliases($$)
{
my($src_dir, $dest_dir) = @_;
# get a list of all the resource files
opendir(SRCDIR, $src_dir) || die("can't open $src_dir");
my(@resource_files) = readdir(SRCDIR);
closedir(SRCDIR);
# make aliases for each one into the dest directory
print("Placing aliases to all files from $src_dir in $dest_dir\n");
for ( @resource_files )
{
next if $_ eq "CVS";
#print(" Doing $_\n");
if (-l $src_dir.$_)
{
print(" $_ is an alias\n");
next;
}
my($file_name) = $src_dir . $_;
MakeAlias($file_name, $dest_dir);
}
}
#//--------------------------------------------------------------------------------------------------
#// DelayFor
#//
#// Delay for the given number of seconds, allowing the script to be cancelled
#//--------------------------------------------------------------------------------------------------
sub DelayFor($)
{
my($delay_secs) = @_;
STDOUT->autoflush(1);
my($end_time) = time() + $delay_secs;
my($last_time) = 0;
my($cur_time) = time();
while ($cur_time < $end_time)
{
$cur_time = time();
if ($cur_time > $last_time)
{
print ".";
$last_time = $cur_time;
}
WaitNextEvent();
}
print "\n";
STDOUT->autoflush(0);
}
#//--------------------------------------------------------------------------------------------------
#// TimeStart
#//--------------------------------------------------------------------------------------------------
sub TimeStart()
{
return time();
}
#//--------------------------------------------------------------------------------------------------
#// TimeEnd
#//--------------------------------------------------------------------------------------------------
sub TimeEnd($$)
{
use integer;
my($start_time, $operation_name) = @_;
my($end_time) = time();
my($tot_sec) = $end_time - $start_time;
my($seconds) = $tot_sec;
my($hours) = $seconds / (60 * 60);
$seconds -= $hours * (60 * 60);
my($minutes) = $seconds / 60;
$seconds -= $minutes * 60;
print "$operation_name took $hours hours $minutes minutes and $seconds seconds\n";
}
#//--------------------------------------------------------------------------------------------------
#// Remove all files from a tree, leaving directories intact (except "CVS").
#//--------------------------------------------------------------------------------------------------
sub EmptyTree($)
{
my ($root) = @_;
#print "EmptyTree($root)\n";
opendir(DIR, $root);
my $sub;
foreach $sub (readdir(DIR))
{
my $fullpathname = $root.$sub; # -f, -d only work on full paths
# Don't call empty tree for the alias of a directory.
# -d returns true for the alias of a directory, false for a broken alias)
if (-d $fullpathname)
{
if (-l $fullpathname) # delete aliases
{
unlink $fullpathname;
next;
}
EmptyTree($fullpathname.":");
if ($sub eq "CVS")
{
#print "rmdir $fullpathname\n";
rmdir $fullpathname;
}
}
else
{
unless (unlink $fullpathname) { die "Failed to delete $fullpathname\n"; }
}
}
closedir(DIR);
}
#//--------------------------------------------------------------------------------------------------
#// Recurse through a directory hierarchy, looking for MANIFEST files.
#// Currently unused.
#//--------------------------------------------------------------------------------------------------
sub ScanForManifestFiles($$$$)
{
my($dir, $theme_root, $theme_name, $dist_dir) = @_;
opendir(DIR, $dir) or die "Cannot open dir $dir\n";
my @files = readdir(DIR);
closedir DIR;
my $file;
foreach $file (@files)
{
my $filepath = $dir.":".$file;
if (-d $filepath)
{
# print "Looking for MANIFEST files in $filepath\n";
ScanForManifestFiles($filepath, $theme_root, $theme_name, $dist_dir);
}
elsif ($file eq "MANIFEST")
{
# print "Doing manifest file $filepath\n";
# Get the dest path from the first line of the file
open(MANIFEST, $filepath) || die "Could not open file $file";
# Read in the path if available
my($dest_line) = <MANIFEST>;
chomp $dest_line;
close MANIFEST;
$dest_line =~ s|^#!dest[\t ]+|| || die "No destination line found in $filepath\n";
my($dest_path) = $dist_dir."chrome:skins:$theme_name:$dest_line";
# print " Destination is $dest_path\n";
InstallResources($filepath, "$dest_path", 0);
}
}
}
#-----------------------------------------------
# SetupBuildLog
#-----------------------------------------------
sub SetupBuildLog($$)
{
my($logfile_path, $timestamped_log) = @_;
my($logdir) = "";
my($logfile) = $logfile_path;
if ($logfile_path =~ /(.+?:)([^:]+)$/) # ? for non-greedy match
{
$logdir = $1;
$logfile = $2;
mkpath($logdir);
}
if ($timestamped_log)
{
#Use time-stamped names so that you don't clobber your previous log file!
my $now = localtime();
while ($now =~ s@:@.@) {} # replace all colons by periods
OpenErrorLog("${logdir}${now}");
}
else
{
OpenErrorLog("${logdir}${logfile}");
}
}
#-----------------------------------------------
# SetBuildNumber
#-----------------------------------------------
sub SetBuildNumber($$)
{
my($build_num_file, $files_to_touch) = @_;
# Make sure we add the config dir to search, to pick up mozBDate.pm
# Need to do this dynamically, because this module can be used before
# mozilla/config has been checked out.
my ($inc_path) = $0; # $0 is the path to the parent script
$inc_path =~ s/:build:mac:build_scripts:.+$/:config/;
push(@INC, $inc_path);
require mozBDate;
mozBDate::UpdateBuildNumber($build_num_file, $main::MOZILLA_OFFICIAL);
my($file);
foreach $file (@$files_to_touch)
{
print "Writing build number to $file from ${file}.in\n";
mozBDate::SubstituteBuildNumber($file, $build_num_file, "${file}.in");
}
}
#-----------------------------------------------
# SetTimeBomb
#-----------------------------------------------
sub SetTimeBomb($$)
{
my ($warn_days, $bomb_days) = @_;
system("perl :mozilla:config:mac-set-timebomb.pl $warn_days $bomb_days");
}
#//--------------------------------------------------------------------------------------------------
#// Regenerate a configuration header file if necessary
#//--------------------------------------------------------------------------------------------------
sub UpdateConfigHeader($)
{
my($config_path) = @_;
my($config, $oldconfig) = ("", "");
my($define, $definevalue, $defines);
my($k, $l,);
foreach $k (keys(%main::options))
{
if ($main::options{$k})
{
foreach $l (keys(%{$main::optiondefines{$k}}))
{
$my::defines{$l} = $main::optiondefines{$k}{$l};
print "Setting up my::defines{$l}\n";
}
}
}
my $config_headerfile = current_directory().$config_path;
if (-e $config_headerfile)
{
open(CONFIG_HEADER, "< $config_headerfile") || die "$config_headerfile: $!\n";
my($line);
while ($line = <CONFIG_HEADER>)
{
if ($line =~ m/#define\s+([^\s]*)\s+([^\s]*)\s*\n/)
{
$define = $1;
$definevalue = $2;
#canonicalize so that whitespace changes are not significant
my $canon_value = "#define " . $define . " " . $definevalue . "\n";
$oldconfig .= $canon_value;
if (exists ($my::defines{$define}) and ($my::defines{$define} == $definevalue))
{
delete $my::defines{$define};
$config .= $canon_value;
}
}
}
close(CONFIG_HEADER);
}
if (%my::defines)
{
foreach $k (keys(%my::defines))
{
$config .= "#define " . $k . " " . $my::defines{$k} . "\n";
}
}
my $file_name = basename($config_headerfile);
if (($config ne $oldconfig) || (!-e $config_headerfile))
{
printf("Writing new configuration header $file_name\n");
open(CONFIG_HEADER, "> $config_headerfile") || die "$config_headerfile: $!\n";
print(CONFIG_HEADER "/* This file is auto-generated based on build options. Do not edit. */\n");
print CONFIG_HEADER ($config);
close(CONFIG_HEADER);
MacPerl::SetFileInfo("CWIE", "TEXT", $config_headerfile);
}
else
{
printf("Configuration header $file_name is up-to-date\n");
}
}
1;

View File

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

View File

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

View File

@@ -0,0 +1,228 @@
#!perl -w
package Moz::MacCVS;
# package Mac::Apps::MacCVS; this should really be the name of the package
# but due to our directory hierarchy in mozilla, I am not doing it
require 5.004;
require Exporter;
use strict;
use Exporter;
use vars qw($VERSION @ISA @EXPORT);
use Cwd;
use File::Basename;
use Mac::StandardFile;
use Mac::AppleEvents;
use Mac::AppleEvents::Simple;
@ISA = qw(Exporter);
@EXPORT = qw(new describe checkout update);
$VERSION = "1.00";
# If you want to understand the gobbldeygook that's used to build Apple Events,
# you should start by reading the AEGizmos documentation.
# Architecture:
# cvs session object:
# name - session name
# session_file - session file
#
#
my($last_error) = 0;
my($gAppSig) = 'Mcvs'; # MacCVS Pro
#
# utility routines
#
sub _checkForEventError($)
{
my($evt) = @_;
if ($evt->{ERRNO} != 0)
{
print STDERR "Error. Script returned '$evt->{ERROR} (error $evt->{ERRNO})\n";
$last_error = $evt->{ERRNO};
return 0;
}
return 1; # success
}
#
# Session object methods
#
sub new
{
my ( $proto, $session_file) = @_;
my $class = ref($proto) || $proto;
my $self = {};
if ( defined($session_file) && ( -e $session_file) )
{
$self->{"name"} = basename( $session_file );
$self->{"session_file"} = $session_file;
bless $self, $class;
return $self;
}
else
{
print STDERR "MacCVS->new cvs file < $session_file > does not exist\n";
return;
}
}
# makes sure that the session is open
# assertSessionOpen()
# returns 1 on success
sub assertSessionOpen()
{
my ($self) = shift;
$last_error = 0;
my($prm) =
q"'----':obj {form:name, want:type(alis), seld:TEXT(@), from:'null'()}";
my($evt) = do_event(qw/aevt odoc/, $gAppSig, $prm, $self->{session_file});
return _checkForEventError($evt);
}
# prints the cvs object, used mostly for debugging
sub describe
{
my($self) = shift;
$last_error = 0;
print "MacCVS:: name: ", $self->{name}, " session file: ", $self->{session_file}, "\n";
}
# checkout( self, module, revision, date)
# MacCVS checkout command
# returns 1 on success.
sub checkout()
{
my($self, $module, $revision, $date ) = @_;
unless( defined ($module) ) { $module = ""; } # get rid of the pesky undefined warnings
unless( defined ($revision) ) { $revision = ""; }
unless( defined ($date) ) { $date = ""; }
$last_error = 0;
$self->assertSessionOpen() || die "Error: failed to open MacCVS session file at $self->{session_file}\n";
my($revstring) = ($revision ne "") ? $revision : "(none)";
my($datestring) = ($date ne "") ? $date : "(none)";
print "Checking out $module with revision $revstring, date $datestring\n";
my($prm) =
q"'----':obj {form:name, want:type(docu), seld:TEXT(@), from:'null'()}, ".
q"modl:'TEXT'(@), tagr:'TEXT'(@), tagd:'TEXT'(@) ";
my($evt) = do_event(qw/MCvs cout/, $gAppSig, $prm, $self->{name}, $module, $revision, $date);
return _checkForEventError($evt);
}
# update( self, branch tag, list of paths)
# MacCVS udate command
# returns 1 on success.
# NOTE: MacCVS Pro does not correctly support this stuff yet (as of version 2.7d5).
sub update()
{
my($self, $branch, $paths ) = @_;
$last_error = 0;
$self->assertSessionOpen() || die "Error: failed to open MacCVS session file at $self->{session_file}\n";
if ($branch eq "HEAD") {
$branch = "";
}
my($paths_list) = "";
my($path);
foreach $path (@$paths)
{
if ($paths_list ne "") {
$paths_list = $paths_list.", ";
}
$paths_list = $paths_list."Ò".$path."Ó";
}
my($prm) =
q"'----':obj {form:name, want:type(docu), seld:TEXT(@), from:'null'()}, ".
q"tagr:'TEXT'(@), tFls:[";
$prm = $prm.$paths_list."]";
my($evt) = do_event(qw/MCvs updt/, $gAppSig, $prm, $self->{name}, $branch);
return _checkForEventError($evt);
};
sub getLastError()
{
return $last_error;
}
1;
=pod
=head1 NAME
MacCVS - Interface to MacCVS
=head1 SYNOPSIS
use MacCVS;
$session = MacCVS->new( <session_file_path>) || die "cannot create session";
$session->checkout([module] [revision] [date]) || die "Could not check out";
=head1 DESCRIPTION
This is a MacCVS interface for talking to MacCVS Pro client.
MacCVSSession is the class used to manipulate the session
=item new
MacCVS->new( <cvs session file path>);
Creates a new session. Returns undef on failure.
=item checkout( <module> [revision] [date] )
cvs checkout command. Revision and date are optional
returns 0 on failure
=cut
=head1 SEE ALSO
=over
=item MacCVS Home Page
http://www.maccvs.org/
=back
=head1 AUTHORS
Aleks Totic atotic@netscape.com
Simon Fraser sfraser@netscape.com
=cut
__END__

View File

@@ -0,0 +1,603 @@
=head1 NAME
B<Moz> - routines for automating CodeWarrior builds, and some extra-curricular
activities related to building Mozilla
=head1 SYNOPSIS
use Moz;
OpenErrorLog(":::BuildLog");
StopForErrors();
$Moz::QUIET = 1;
InstallFromManifest(":projects:MANIFEST", $dist_dir);
BuildProjectClean(":projects:SomeProject.mcp", "SomeTarget");
MakeAlias(":projects:SomeProject.shlb", $dist_dir);
DontStopForErrors();
BuildProject(":projects:SomeOtherProject.mcp", "SomeTarget");
=head1 DESCRIPTION
B<Moz> comprises the routines needed to slap CodeWarrior around, force it
to build a sequence of projects, report the results, and a few other things.
This module should only contain functions that are generic to any build,
not just the Mozilla build.
=cut
package Moz::Moz;
require Exporter;
use Cwd;
use File::Copy;
use File::Path;
use File::Basename;
use Mac::Types;
use Mac::Events;
use Mac::Processes;
use ExtUtils::Manifest 'maniread';
use Moz::CodeWarriorLib;
@ISA = qw(Exporter);
@EXPORT = qw( LaunchCodeWarrior
GetCodeWarriorRelativePath
current_directory
full_path_to
DoBuildProject
ImportXMLProject
ExportProjectToXML
OpenErrorLog
MakeAlias
GetFileModDate
StopForErrors
DontStopForErrors
InstallFromManifest
InstallResources
RedirectOutputToFile
Delay
ActivateApplication
IsProcessRunning);
@EXPORT_OK = qw(CloseErrorLog QUIET);
sub current_directory()
{
my $current_directory = cwd();
chop($current_directory) if ( $current_directory =~ m/:$/ );
return $current_directory;
}
sub full_path_to($)
{
my ($path) = @_;
if ( $path =~ m/^[^:]+$/ )
{
$path = ":" . $path;
}
if ( $path =~ m/^:/ )
{
$path = current_directory() . $path;
}
return $path;
}
$logging = 0;
$recent_errors_file = "";
$stop_on_1st_error = 1;
$QUIET = 0;
=head2 Logging all the errors and warnings - C<OpenErrorLog($log_file)>, C<CloseErrorLog()>
The warnings and errors generated in the course of building projects can be logged to a file.
Tinderbox uses this facility to show why a remote build failed.
Logging is off by default.
Start logging at any point in your build process with C<OpenErrorLog($log_file)>.
Stop with C<CloseErrorLog()>.
You never need to close the log explicitly, unless you want to just log a couple of projects in the middle of a big list.
C<CloseErrorLog()> is not exported by default.
=cut
sub CloseErrorLog()
{
if ( $logging )
{
close(ERROR_LOG);
$logging = 0;
StopForErrors() if $stop_on_1st_error;
}
}
sub OpenErrorLog($)
{
my ($log_file) = @_;
CloseErrorLog();
if ( $log_file )
{
$log_file = full_path_to($log_file);
open(ERROR_LOG, ">$log_file") || die "Error: Can't open $log_file\n";
MacPerl::SetFileInfo("CWIE", "TEXT", $log_file);
$log_file =~ m/.+:(.+)/;
$recent_errors_file = full_path_to("$1.part");
$logging = 1;
}
}
=head2 Stopping before it's too late - C<StopForErrors()>, C<DontStopForErrors()>
When building a long list of projects, you decide whether to continue building subsequent projects when one fails.
By default, your build script will C<die> after the first project that generates an error while building.
Change this behavior with C<DontStopForErrors()>.
Re-enable it with C<StopForErrors()>.
=cut
sub StopForErrors()
{
$stop_on_1st_error = 1;
# Can't stop for errors unless we notice them.
# Can't notice them unless we are logging.
# If the user didn't explicitly request logging, log to a temporary file.
if ( ! $recent_errors_file )
{
OpenErrorLog("${TMPDIR}BuildResults");
}
}
sub DontStopForErrors()
{
$stop_on_1st_error = 0;
}
sub log_message($)
{
if ( $logging )
{
my ($message) = @_;
print ERROR_LOG $message;
}
}
sub log_message_with_time($)
{
if ( $logging )
{
my ($message) = @_;
my $time_stamp = localtime();
log_message("$message ($time_stamp)\n");
}
}
sub log_recent_errors($)
{
my ($project_name) = @_;
my $found_errors = 0;
if ( $logging )
{
open(RECENT_ERRORS, "<$recent_errors_file");
while( <RECENT_ERRORS> )
{
if ( /^Error/ || /^CouldnÕt find project file/ || /^Link Error/ )
{
# if (!$found_errors)
# print $_;
$found_errors = 1;
}
print ERROR_LOG $_;
}
close(RECENT_ERRORS);
unlink("$recent_errors_file");
}
if ( $stop_on_1st_error && $found_errors )
{
print ERROR_LOG "### Build failed.\n";
die "### Errors encountered building \"$project_name\".\n";
}
}
sub DoBuildProject($$$)
{
my ($project_path, $target_name, $clean_build) = @_;
$project_path = full_path_to($project_path);
# $project_path =~ m/.+:(.+)/;
# my $project_name = $1;
log_message_with_time("### Building \"$project_path\"");
# Check that the given project exists
if (! -e $project_path)
{
print ERROR_LOG "### Build failed.\n";
die "### Can't find project file \"$project_path\".\n";
}
print "Building \"$project_path\[$target_name\]\"\n";
$had_errors = Moz::CodeWarriorLib::build_project(
$project_path, $target_name, $recent_errors_file, $clean_build
);
WaitNextEvent();
# $had_errors =
#MacPerl::DoAppleScript(<<END_OF_APPLESCRIPT);
# tell (load script file "$CodeWarriorLib") to BuildProject("$project_path", "$project_name", "$target_name", "$recent_errors_file", $clean_build)
#END_OF_APPLESCRIPT
# Append any errors to the globally accumulated log file
# if ( $had_errors ) # Removed this test, because we want warnings, too. -- jrm
{
log_recent_errors($project_path);
}
}
sub ImportXMLProject($$)
{
my ($xml_path, $project_path) = @_;
# my ($codewarrior_ide_name) = Moz::CodeWarriorLib::getCodeWarriorIDEName();
# my $ascript = <<EOS;
# tell application "$codewarrior_ide_name"
# make new (project document) as ("$project_path") with data ("$xml_path")
# end tell
#EOS
# print $ascript."\n";
# my($result) = MacPerl::DoAppleScript($ascript);
# unless ($result) { die "Error: ImportXMLProject AppleScript failed $^E $result\n"; }
#
my($import_error) = Moz::CodeWarriorLib::import_project($xml_path, $project_path);
if ($import_error ne "") {
die "Error: ImportXMLProject failed with error $import_error\n";
}
}
sub ExportProjectToXML($$)
{
my ($project_path, $xml_path) = @_;
my (@suffix_list) = (".mcp");
my ($project_name, $project_dir, $suffix) = fileparse($project_path, @suffix_list);
if ($suffix eq "") { die "Project: $project_path doesn't look like a project file.\n"; }
if (-e $xml_path) {
print "$xml_path exists - not exporting $project_path\n";
}
else {
print "Exporting $project_path to $xml_path\n";
my($export_error) = Moz::CodeWarriorLib::export_project($project_path, $xml_path);
if ($export_error ne "") {
die "Error: export_project failed with error '$export_error'\n";
}
if (! -e $xml_path) {
die "Error: XML export to $xml_path failed\n";
}
}
}
=head2 Miscellaneous
C<MakeAlias($old_file, $new_file)> functions like C<symlink()>, except with better argument defaulting and more explicit error messages.
=cut
sub MakeAlias($$)
{
my ($old_file, $new_file) = @_;
# if the directory to hold $new_file doesn't exist, create it
if ( ($new_file =~ m/(.+:)/) && !-d $1 )
{
mkpath($1);
}
# if a leaf name wasn't specified for $new_file, use the leaf from $old_file
if ( ($new_file =~ m/:$/) && ($old_file =~ m/.+:(.+)/) )
{
$new_file .= $1;
}
my $message = "Can't create a Finder alias (at \"$new_file\")\n for \"$old_file\"; because ";
die "Error: $message \"$old_file\" doesn't exist.\n" unless -e $old_file;
die "Error: $message I won't replace an existing (non-alias) file with an alias.\n" if ( -e $new_file && ! -l $new_file );
# now: $old_file exists; $new_file doesn't (or else, is an alias already)
if ( -l $new_file )
{
# ...then see if it already points to $old_file
my $current_target = full_path_to(readlink($new_file));
my $new_target = full_path_to($old_file);
return if ( $current_target eq $new_target );
# if the desired alias already exists and points to the right thing, then we're done
unlink $new_file;
}
symlink($old_file, $new_file) || die "Error: $message symlink returned an unexpected error.\n";
}
=pod
C<InstallFromManifest()>
=cut
sub InstallFromManifest($;$$)
{
my ($manifest_file, $dest_dir, $flat) = @_;
$flat = 0 unless defined($flat); # if $flat, all rel. paths in MANIFEST get aliased to the root of $dest_dir
$dest_dir ||= ":";
$manifest_file =~ m/(.+):/;
my $source_dir = $1;
chop($dest_dir) if $dest_dir =~ m/:$/;
#Mac::Events->import();
WaitNextEvent();
if ($flat)
{
print "Doing manifest on \"$manifest_file\" FLAT\n" unless $QUIET;
}
else
{
print "Doing manifest on \"$manifest_file\"\n" unless $QUIET;
}
my $read = maniread(full_path_to($manifest_file));
foreach $file (keys %$read)
{
next unless $file;
$subdir = ":";
if (!$flat && ($file =~ /:.+:/ ))
{
$subdir = $&;
}
$file = ":$file" unless $file =~ m/^:/;
MakeAlias("$source_dir$file", "$dest_dir$subdir");
}
}
=pod
C<InstallResources()>
=cut
# parameters are path to MANIFEST file, destination dir, true (to make copies) or false (to make aliases)
sub InstallResources($;$;$)
{
my ($manifest_file, $dest_dir, $copy_files) = @_;
$dest_dir ||= ":";
mkpath($dest_dir) if !-d $dest_dir;
$manifest_file =~ m/(.+):/;
my $source_dir = $1;
chop($dest_dir) if $dest_dir =~ m/:$/;
WaitNextEvent();
print "Installing resources from \"$manifest_file\"\n" unless $QUIET;
my $read = maniread(full_path_to($manifest_file));
foreach $file (keys %$read)
{
next unless $file;
if ($copy_files)
{
copy("$source_dir:$file", "$dest_dir:$file");
}
else
{
MakeAlias("$source_dir:$file", "$dest_dir:$file");
}
}
}
#//--------------------------------------------------------------------------------------------------
#// Delay
#//--------------------------------------------------------------------------------------------------
sub Delay($)
{
my ($delay_seconds) = @_;
$now = time;
$exit_time = $now + $delay_seconds;
while ($exit_time > $now) {
$now = time;
}
}
#//--------------------------------------------------------------------------------------------------
#// GetFileModDate
#//--------------------------------------------------------------------------------------------------
sub GetFileModDate($)
{
my($filePath)=@_;
my($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks) = stat($filePath);
return $mtime;
}
#//--------------------------------------------------------------------------------------------------
#// LaunchCodeWarrior
#//--------------------------------------------------------------------------------------------------
sub LaunchCodeWarrior($)
{
my($idepath_file) = @_; # full path to IDE location file
my($cur_dir) = cwd();
# this both launches and writes the IDE path file
Moz::CodeWarriorLib::activate($idepath_file);
chdir($cur_dir);
}
#//--------------------------------------------------------------------------------------------------
#// GetCodeWarriorRelativePath
#//--------------------------------------------------------------------------------------------------
sub GetCodeWarriorRelativePath($)
{
my($rel_path) = @_;
return Moz::CodeWarriorLib::getCodeWarriorPath($rel_path);
}
#//--------------------------------------------------------------------------------------------------
#// RedirectOutputToFile
#//--------------------------------------------------------------------------------------------------
sub RedirectOutputToFile($)
{
my($log_file) = @_;
# ensure that folders in the path exist
my($logdir) = "";
my($logfile) = $log_file;
if ($log_file =~ /(.+?:)([^:]+)$/) # ? for non-greedy match
{
$logdir = $1;
$logfile = $2;
mkpath($logdir);
}
print "Output is now being redirected to the file '$log_file'\n";
open(STDOUT, "> $log_file") || die "Can't redirect stdout";
open(STDERR, ">&STDOUT") || die "Can't dup stdout";
select(STDERR); $| = 1; # make unbuffered
select(STDOUT); $| = 1; # make unbuffered
MacPerl::SetFileInfo("CWIE", "TEXT", $log_file);
}
#//--------------------------------------------------------------------------------------------------
#// ActivateApplication
#//--------------------------------------------------------------------------------------------------
sub ActivateApplication($)
{
my ($appSignature) = @_;
my ($psi, $found);
my ($appPSN);
$found = 0;
foreach $psi (values(%Process))
{
if ($psi->processSignature() eq $appSignature)
{
$appPSN = $psi->processNumber();
$found = 1;
last;
}
}
if ($found == 0 || SameProcess($appPSN, GetFrontProcess()))
{
return;
}
SetFrontProcess($appPSN);
while (GetFrontProcess() != $appPSN)
{
WaitNextEvent();
}
}
#//--------------------------------------------------------------------------------------------------
#// IsProcessRunning
#//--------------------------------------------------------------------------------------------------
sub IsProcessRunning($)
{
my($processName, $psn, $psi) = @_;
while ( ($psn, $psi) = each(%Process) ) {
if ($psi->processName eq $processName) { return 1; }
}
return 0;
}
1;
=head1 AUTHORS
Scott Collins <scc@netscape.com>, Simon Fraser <sfraser@netscape.com>, Chris Yeh <cyeh@netscape.com>
=head1 SEE ALSO
BuildMozillaDebug.pl (et al), BuildList.pm, CodeWarriorLib (an AppleScript library)
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
=cut

View File

@@ -0,0 +1,272 @@
package Moz::Prefs;
require 5.004;
require Exporter;
# Package that attempts to read a file from the Preferences folder,
# and get build settings out of it
use strict;
use Exporter;
use File::Path;
use Mac::Files;
use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(ReadMozUserPrefs);
#-------------------------------------------------------------------------------
#
# GetPrefsFolder
#
#-------------------------------------------------------------------------------
sub GetPrefsFolder()
{
my($prefs_folder) = FindFolder(kOnSystemDisk, kPreferencesFolderType, 1);
return $prefs_folder.":Mozilla build prefs";
}
#-------------------------------------------------------------------------------
#
# SetArrayValue
#
#-------------------------------------------------------------------------------
sub SetArrayValue($$$)
{
my($array_ref, $index1, $index2) = @_;
my($index);
foreach $index (@$array_ref)
{
if ($index->[0] eq $index1)
{
$index->[1] = $index2;
return 1;
}
}
return 0;
}
#-------------------------------------------------------------------------------
#
# WriteDefaultPrefsFile
#
#-------------------------------------------------------------------------------
sub WriteDefaultPrefsFile($)
{
my($file_path) = @_;
my($file_contents);
$file_contents = <<'EOS';
% You can use this file to customize the Mozilla build system.
% The following kinds of lines are allowable:
% Comment lines, which start with a '%' in the first column
% Lines which modify the default build settings. For the list of flags,
% see MozBuildFlags.pm. Examples are:
%
% build pull 0 % don't pull
% options mng 1 % turn mng on
%
% Line containing the special 'buildfrom' flag, which specifies
% where to start the build. Example:
%
% buildfrom nglayout % where to start the build
%
% Lines which specify the location of the files used to store paths
% to the CodeWarrior IDE, and the MacCVS Pro session file. Note quoting
% of paths containing whitespace. Examples:
%
% filepath idepath ::codewarrior.txt
% filepath sessionpath ":Some folder:MacCVS session path.txt"
%
% Lines which modify the build settings like %main::DEBUG.
% Any lines which do not match either of the above are assumed
% to set variables on $main::. Examples:
%
% MOZILLA_OFFICIAL 1
%
EOS
$file_contents =~ s/%/#/g;
local(*PREFS_FILE);
open(PREFS_FILE, "> $file_path") || die "Could not write default prefs file\n";
print PREFS_FILE ($file_contents);
close(PREFS_FILE);
MacPerl::SetFileInfo("McPL", "TEXT", $file_path);
}
#-------------------------------------------------------------------------------
#
# HandlePrefSet
#
#-------------------------------------------------------------------------------
sub HandlePrefSet($$$$)
{
my($flags, $name, $value, $desc) = @_;
if (SetArrayValue($flags, $name, $value)) {
print "Prefs set $desc flag '$name' to '$value'\n";
} else {
die "$desc setting '$name' is not a valid option\n";
}
}
#-------------------------------------------------------------------------------
#
# HandleBuildFromPref
#
#-------------------------------------------------------------------------------
sub HandleBuildFromPref($$)
{
my($build_array, $name) = @_;
my($setting) = 0;
my($index);
foreach $index (@$build_array)
{
if ($index->[0] eq $name) {
$setting = 1;
}
$index->[1] = $setting;
}
if ($setting == 1) {
print "Building from $name onwards, as specified by prefs\n";
} else {
printf "Failed to find buildfrom setting '$name'\n";
}
}
#-------------------------------------------------------------------------------
#
# ReadPrefsFile
#
#-------------------------------------------------------------------------------
sub ReadPrefsFile($$$$$)
{
my($file_path, $build_flags, $options_flags, $filepath_flags, $create_if_missing) = @_;
local(*PREFS_FILE);
if (open(PREFS_FILE, "< $file_path"))
{
print "Reading build prefs from '$file_path'\n";
while (<PREFS_FILE>)
{
my($line) = $_;
chomp($line);
if ($line =~ /^\#/ || $line =~ /^\s*$/) { # ignore comments and empty lines
next;
}
if (($line =~ /^\s*([^#\s]+)\s+([^#\s]+)\s+\"(.+)\"(\s+#.+)?/) ||
($line =~ /^\s*([^#\s]+)\s+([^#\s]+)\s+\'(.+)\'(\s+#.+)?/) ||
($line =~ /^\s*([^#\s]+)\s+([^#\s]+)\s+([^#\s]+)(\s+#.+)?/))
{
my($array_name) = $1;
my($option_name) = $2;
my($option_value) = $3;
# print "Read '$array_name' '$option_name' '$option_value'\n";
if ($array_name eq "build")
{
HandlePrefSet($build_flags, $option_name, $option_value, "Build");
}
elsif ($array_name eq "options")
{
HandlePrefSet($options_flags, $option_name, $option_value, "Options");
}
elsif ($array_name eq "filepath" && $option_name && $option_value)
{
HandlePrefSet($filepath_flags, $option_name, $option_value, "Filepath");
}
else
{
print "Unknown pref option at $line\n";
}
}
elsif ($line =~ /^\s*buildfrom\s+([^#\s]+)(\s+#.+)?/)
{
my($build_start) = $1;
HandleBuildFromPref($build_flags, $build_start);
}
elsif ($line =~ /^\s*([^#\s]+)\s+([^#\s]+)(\s+#.+)?/)
{
my($build_var) = $1;
my($var_setting) = $2;
print "Setting \$main::$build_var to $var_setting\n";
eval "\$main::$build_var = \"$var_setting\"";
}
else
{
print "Unrecognized input line at $line\n";
}
}
close(PREFS_FILE);
}
elsif ($create_if_missing)
{
print "No prefs file found at $file_path; using defaults\n";
my($folder_path) = $file_path;
$folder_path =~ s/[^:]+$//;
mkpath($folder_path);
WriteDefaultPrefsFile($file_path);
}
}
#-------------------------------------------------------------------------------
#
# ReadMozUserPrefs
#
#-------------------------------------------------------------------------------
sub ReadMozUserPrefs($$$$)
{
my($prefs_file_name, $build_flags, $options_flags, $filepath_flags) = @_;
if ($prefs_file_name eq "") { return; }
# if local prefs exist, just use those. Othewise, look in the prefs folder
if (-e $prefs_file_name)
{
# read local prefs
ReadPrefsFile($prefs_file_name, $build_flags, $options_flags, $filepath_flags, 0);
}
else
{
# first read prefs folder prefs
my($prefs_path) = GetPrefsFolder();
$prefs_path .= ":$prefs_file_name";
ReadPrefsFile($prefs_path, $build_flags, $options_flags, $filepath_flags, 1);
}
}
1;

View File

@@ -0,0 +1,932 @@
#!/usr/bin/perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Simon Fraser <sfraser@netscape.com>
#
package Moz::ProjectXML;
require 5.004;
require Exporter;
use strict;
use Exporter;
use Cwd;
use XML::DOM;
use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(
ParseXMLDocument
DisposeXMLDocument
WriteXMLDocument
CleanupPro5XML
GetTargetsList
CloneTarget
SetAsSharedLibraryTarget
SetAsStaticLibraryTarget
AddTarget
RemoveTarget
GetTargetSetting
SetTargetSetting
getChildElementTextContents
);
#--------------------------------------------------------------------------------------------------
# A module for reading, manipulating, and writing XML-format CodeWarrior project files.
#
# Sample usage:
#
# use ProjectXML;
#
# my $doc = ProjectXML::ParseXMLDocument("Test.mcp.xml");
# ProjectXML::CloneTarget($doc, "Test.shlb", "Test.lib");
# ProjectXML::SetAsStaticLibraryTarget($doc, "Test.lib", "TestOutput.lib");
# ProjectXML::WriteXMLDocument($doc, "Test_out.xml");
# ProjectXML::DisposeXMLDocument($doc);
#
#--------------------------------------------------------------------------------------------------
#//--------------------------------------------------------------------------------------------------
#// ParseXMLDocument
#// Note that the caller must call DisposeXMLDocument on the returned doc
#//--------------------------------------------------------------------------------------------------
sub ParseXMLDocument($)
{
my($doc_path) = @_;
my $parser = new XML::DOM::Parser(ErrorContext => 2);
my $doc = $parser->parsefile($doc_path);
return $doc;
}
#//--------------------------------------------------------------------------------------------------
#// DisposeXMLDocument
#// Needed to avoid memory leaks - cleanup circular references for garbage collection
#//--------------------------------------------------------------------------------------------------
sub DisposeXMLDocument($)
{
my($doc) = @_;
$doc->dispose();
}
#//--------------------------------------------------------------------------------------------------
#// WriteXMLDocument
#//--------------------------------------------------------------------------------------------------
sub _pro5_tag_compression($$)
{
return 1; # Pro 5 is broken and can't import XML with <foo/> style tags
}
sub _pro6plus_tag_compression($$)
{
return 0; # Pro 6 can deal with empty XML tags like <foo/>
}
sub WriteXMLDocument($$$)
{
my($doc, $file_path, $ide_version) = @_;
if ($ide_version eq "4.0")
{
XML::DOM::setTagCompression(\&_pro5_tag_compression);
}
else
{
XML::DOM::setTagCompression(\&_pro6plus_tag_compression);
}
$doc->printToFile($file_path);
}
#//--------------------------------------------------------------------------------------------------
#// CleanupPro5XML
#// XML Projects exported by Pro 5 contain garbage data under the MWMerge_MacOS_skipResources
#// setting. This routine cleans this up, saving the result to a new file
#//--------------------------------------------------------------------------------------------------
sub CleanupPro5XML($$)
{
my($xml_path, $out_path) = @_;
local(*XML_FILE);
open(XML_FILE, "< $xml_path") || die "Error: failed to open file $xml_path\n";
local(*CLEANED_FILE);
open(CLEANED_FILE, "> $out_path") || die "Error: failed to open file $out_path for writing\n";
my $in_skip_resources_settings = 0;
while(<XML_FILE>)
{
my($line) = $_;
if ($line =~ /^<\?codewarrior/) # is processing inst line
{
my $test_line = $line;
chomp($test_line);
my $out_line = $test_line;
if ($test_line =~ /^<\?codewarrior\s+exportversion=\"(.+)\"\s+ideversion=\"(.+)\"\s*\?>$/)
{
my $export_version = $1;
my $ide_version = $2;
$ide_version = "4.0_mozilla"; # pseudo IDE version so we know we touched it
$out_line = "<?codewarrior exportversion=\"".$export_version."\" ideversion=\"".$ide_version."\"?>";
}
print CLEANED_FILE "$out_line\n";
next;
}
if ($line =~ /MWMerge_MacOS_skipResources/)
{
$in_skip_resources_settings = 1;
print CLEANED_FILE "$line";
}
elsif($in_skip_resources_settings && $line =~ /<!-- Settings for/)
{
# leaving bad settings lines. Write closing tag
print CLEANED_FILE " <!-- Corrupted setting entries removed by script -->\n";
print CLEANED_FILE " </SETTING>\n\n";
print CLEANED_FILE "$line";
$in_skip_resources_settings = 0;
}
elsif (!$in_skip_resources_settings)
{
print CLEANED_FILE "$line";
}
}
close(XML_FILE);
close(CLEANED_FILE);
}
#--------------------------------------------------------------------------------------------------
# SniffProjectXMLIDEVersion
#
#--------------------------------------------------------------------------------------------------
sub SniffProjectXMLIDEVersion($)
{
my($xml_path) = @_;
my $found_version = "";
local(*XML_FILE);
open(XML_FILE, "< $xml_path") || die "Error: failed to open file $xml_path\n";
while(<XML_FILE>)
{
my($line) = $_;
chomp($line);
if ($line =~ /^<\?codewarrior/) # is processing inst line
{
unless ($line =~ /^<\?codewarrior\s+exportversion=\"(.+)\"\s+ideversion=\"(.+)\"\s*\?>$/)
{
die "Error: Failed to find ideversion in $xml_path in line $line\n";
}
my $export_version = $1;
my $ide_version = $2;
$found_version = $ide_version;
last;
}
}
close(XML_FILE);
return $found_version;
}
#//--------------------------------------------------------------------------------------------------
#// GetTargetsList
#// Returns an array of target names
#//--------------------------------------------------------------------------------------------------
sub GetTargetsList($)
{
my($doc) = @_;
my $nodes = $doc->getElementsByTagName("TARGET");
my $n = $nodes->getLength;
my @target_names;
for (my $i = 0; $i < $n; $i++)
{
my ($node) = $nodes->item($i);
my($target_name) = getChildElementTextContents($node, "NAME");
push(@target_names, $target_name);
}
return @target_names;
}
#//--------------------------------------------------------------------------------------------------
#// CloneTarget
#// Clone the named target, renaming it to 'new_name'
#//--------------------------------------------------------------------------------------------------
sub CloneTarget($$$)
{
my($doc, $target_name, $new_name) = @_;
my $target_node = getTargetNode($doc, $target_name);
# clone here
my $target_clone = $target_node->cloneNode(1); # deep clone
# -- munge target settings --
# set the target name field
setChildElementTextContents($doc, $target_clone, "NAME", $new_name);
# set the targetname pref
setTargetNodeSetting($doc, $target_clone, "Targetname", $new_name);
# -- insert new target subtree --
my $target_list = $target_node->getParentNode();
$target_list->appendChild($target_clone);
# -- now add to targetorder --
my (@target_order_nodes) = getChildOfDocument($doc, "TARGETORDER");
my $target_order = @target_order_nodes[0];
my $new_order = $doc->createElement("ORDEREDTARGET");
my $order_name = $doc->createElement("NAME");
$new_order->appendChild($order_name);
setChildElementTextContents($doc, $new_order, "NAME", $new_name);
$target_order->appendChild($new_order);
}
#//--------------------------------------------------------------------------------------------------
#// SetAsSharedLibraryTarget
#//
#//--------------------------------------------------------------------------------------------------
sub SetAsSharedLibraryTarget($$$)
{
my($doc, $target_name, $output_name) = @_;
my $target_node = getTargetNode($doc, $target_name);
setTargetNodeSetting($doc, $target_node, "MWProject_PPC_type", "SharedLibrary");
setTargetNodeSetting($doc, $target_node, "MWProject_PPC_filetype", "1936223330"); #'shlb'
setTargetNodeSetting($doc, $target_node, "MWProject_PPC_outfile", $output_name);
}
#//--------------------------------------------------------------------------------------------------
#// AddFileToTarget
#//
#// Add a file to the specified target(s).
#//
#//--------------------------------------------------------------------------------------------------
sub AddFileToTarget($$$)
{
my($doc, $target_list, $file_name) = @_;
# the file must be added in 3 places:
# 1. in <TARGET><FILELIST><FILE> (with linkage flags if necessary)
# 2. in <TARGET><LINKORDER><FILEREF>
# 3. in <GROUPLIST><GROUP><FILEREF>
die "Write me\n";
}
#//--------------------------------------------------------------------------------------------------
#// RemoveFileFromTarget
#//
#// Remove a file from the specified target, removing it from the entire project
#// if no other targets reference it.
#//
#//--------------------------------------------------------------------------------------------------
sub RemoveFileFromTarget($$$)
{
my($doc, $target_node, $file_name) = @_;
# the file must be removed in 3 places:
# 1. in <TARGET><FILELIST><FILE>
# 2. in <TARGET><LINKORDER><FILEREF>
# 3. in <GROUPLIST><GROUP><FILEREF>
# first, remove from <FILELIST>
my $filelist_node = getFirstChildElement($target_node, "FILELIST");
unless ($filelist_node) { die "Error: failed to find FILELIST node\n"; }
my $file_node = getChildNodeByGrandchildContents($doc, $filelist_node, "FILE", "PATH", $file_name);
unless ($file_node) { return; }
$filelist_node->removeChild($file_node);
# next, remove from <LINKORDER>
my $linkorder_node = getFirstChildElement($target_node, "LINKORDER");
unless ($linkorder_node) { die "Error: failed to find LINKORDER node\n"; }
my $fileref_node = getChildNodeByGrandchildContents($doc, $linkorder_node, "FILEREF", "PATH", $file_name);
unless ($fileref_node) { die "Error: link order node for file $file_name not found\n"; }
$linkorder_node->removeChild($fileref_node);
# last, remove from <GROUPLIST>
# <GROUPLIST> is cross-target, so we have to be careful here.
my $grouplist_node = getChildOfDocument($doc, "GROUPLIST");
unless ($grouplist_node) { die "Error: failed to find GROUPLIST node\n"; }
# if the file isn't in any other targets, remove it from the groups
if (!GetFileInUse($doc, $file_name))
{
print "File $file_name is in no other targest. Removing from project\n";
my @group_nodes;
getChildElementsOfType($doc, $grouplist_node, "GROUP", \@group_nodes);
my $group_node;
foreach $group_node (@group_nodes)
{
my @fileref_nodes;
getChildElementsOfType($doc, $group_node, "FILEREF", \@fileref_nodes);
my $fileref_node;
foreach $fileref_node (@fileref_nodes)
{
my $path_name = getChildElementTextContents($fileref_node, "PATH");
if ($path_name eq $file_name)
{
print "Removing $file_name from project group list\n";
$group_node->removeChild($fileref_node);
last;
}
}
# can a file appear in more than one group?
}
}
}
#//--------------------------------------------------------------------------------------------------
#// SetAsStaticLibraryTarget
#//
#//--------------------------------------------------------------------------------------------------
sub SetAsStaticLibraryTarget($$$)
{
my($doc, $target_name, $output_name) = @_;
my $target_node = getTargetNode($doc, $target_name);
setTargetNodeSetting($doc, $target_node, "MWProject_PPC_type", "Library");
setTargetNodeSetting($doc, $target_node, "MWProject_PPC_filetype", "1061109567"); #'????'
setTargetNodeSetting($doc, $target_node, "MWProject_PPC_outfile", $output_name);
# static targets don't need any library linkage, so we can remove linkage
# with all .shlb and .Lib files.
my(@obsolete_files) = ("NSStdLibStubs", "InterfacesStubs", "InterfaceLib", "InternetConfigLib");
print " Removing libraries etc. from target\n";
# get all files in target
my @target_files = GetTargetFilesList($doc, $target_name);
my $target_file;
foreach $target_file (@target_files)
{
if ($target_file =~ /(\.shlb|\.lib|\.Lib|\.o|\.exp)$/)
{
RemoveFileFromTarget($doc, $target_node, $target_file);
}
}
print " Removing stub libraries from target\n";
# then remove files with known names
my $obs_file;
foreach $obs_file (@obsolete_files)
{
RemoveFileFromTarget($doc, $target_node, $obs_file);
}
}
#//--------------------------------------------------------------------------------------------------
#// AddTarget
#//
#//--------------------------------------------------------------------------------------------------
sub AddTarget($$)
{
my($doc, $target_name) = @_;
die "Write me\n";
}
#//--------------------------------------------------------------------------------------------------
#// RemoveTarget
#//
#//--------------------------------------------------------------------------------------------------
sub RemoveTarget($$)
{
my($doc, $target_name) = @_;
die "Write me\n";
}
#//--------------------------------------------------------------------------------------------------
#// GetTargetSetting
#// Get the value for the specified setting in the specified target
#//--------------------------------------------------------------------------------------------------
sub GetTargetSetting($$$)
{
my($doc, $target_name, $setting_name) = @_;
my $target_node = getTargetNode($doc, $target_name);
return getTargetNodeSetting($target_node, "VALUE");
}
#//--------------------------------------------------------------------------------------------------
#// SetTargetSetting
#// Set the value for the specified setting in the specified target
#//--------------------------------------------------------------------------------------------------
sub SetTargetSetting($$$$)
{
my($doc, $target_name, $setting_name, $new_value) = @_;
my $target_node = getTargetNode($doc, $target_name);
setTargetNodeSetting($doc, $target_node, "VALUE", $new_value);
}
#//--------------------------------------------------------------------------------------------------
#// GetTargetFilesList
#// Return an array of the files in the target (in filelist order)
#//--------------------------------------------------------------------------------------------------
sub GetTargetFilesList($$)
{
my($doc, $target_name) = @_;
my $target_node = getTargetNode($doc, $target_name);
my @files_list;
my $filelist_node = getFirstChildElement($target_node, "FILELIST");
unless ($filelist_node) { die "Error: failed to find FILELIST node\n"; }
my @file_nodes;
getChildElementsOfType($doc, $filelist_node, "FILE", \@file_nodes);
my $node;
foreach $node (@file_nodes)
{
my $file_name = getChildElementTextContents($node, "PATH");
push(@files_list, $file_name);
}
return @files_list;
}
#//--------------------------------------------------------------------------------------------------
#// FileIsInTarget
#//
#//--------------------------------------------------------------------------------------------------
sub FileIsInTarget($$$)
{
my($doc, $file_name, $target_name) = @_;
my $target_node = getTargetNode($doc, $target_name);
unless ($target_node) { die "Error: no target found called $target_name\n"; }
my $file_node = GetTargetFileNode($doc, $target_node, $file_name);
if ($file_node) {
return 1;
}
return 0;
}
#//--------------------------------------------------------------------------------------------------
#// GetFileTargetsList
#// Return an array of the targets that a file is in (expensive)
#//--------------------------------------------------------------------------------------------------
sub GetFileTargetsList($$)
{
my ($doc, $file_name) = @_;
my @target_list;
my @targets = GetTargetsList($doc);
my $target;
foreach $target (@targets)
{
if (FileIsInTarget($doc, $file_name, $target))
{
push(@target_list, $target);
}
}
return @target_list;
}
#//--------------------------------------------------------------------------------------------------
#// GetTargetFileNode
#//
#//--------------------------------------------------------------------------------------------------
sub GetTargetFileNode($$$)
{
my($doc, $target_node, $file_name) = @_;
my $filelist_node = getFirstChildElement($target_node, "FILELIST");
unless ($filelist_node) { die "Error: failed to find FILELIST node\n"; }
my $file_node = getChildNodeByGrandchildContents($doc, $filelist_node, "FILE", "PATH", $file_name);
return $file_node;
}
#//--------------------------------------------------------------------------------------------------
#// GetFileInUse
#// Return true if the file is used by any target
#//--------------------------------------------------------------------------------------------------
sub GetFileInUse($$)
{
my($doc, $file_name) = @_;
my $targetlist_node = getChildOfDocument($doc, "TARGETLIST");
my $target_node = $targetlist_node->getFirstChild();
while ($target_node)
{
if ($target_node->getNodeTypeName eq "ELEMENT_NODE" &&
$target_node->getTagName() eq "TARGET")
{
# if this is a target node
my $file_node = GetTargetFileNode($doc, $target_node, $file_name);
if ($file_node) {
return 1; # found it
}
}
$target_node = $target_node->getNextSibling();
}
# not found
return 0;
}
#//--------------------------------------------------------------------------------------------------
#// getChildOfDocument
#//--------------------------------------------------------------------------------------------------
sub getChildOfDocument($$)
{
my($doc, $child_type) = @_;
return getFirstChildElement($doc->getDocumentElement(), $child_type);
}
#//--------------------------------------------------------------------------------------------------
#// getFirstChildElement
#//--------------------------------------------------------------------------------------------------
sub getFirstChildElement($$)
{
my($node, $element_name) = @_;
my $found_node;
unless ($node) { die "getFirstChildElement called with empty node\n"; }
#look for the first "element_name" child
my $child_node = $node->getFirstChild();
while ($child_node)
{
if ($child_node->getNodeTypeName eq "ELEMENT_NODE" &&
$child_node->getTagName() eq $element_name)
{
$found_node = $child_node;
last;
}
$child_node = $child_node->getNextSibling();
}
return $found_node;
}
#//--------------------------------------------------------------------------------------------------
#// getChildElementsOfType
#//
#// Return an array of refs to child nodes of the given type
#//--------------------------------------------------------------------------------------------------
sub getChildElementsOfType($$$$)
{
my($doc, $node, $child_type, $array_ref) = @_;
my $child_node = $node->getFirstChild();
while ($child_node)
{
if ($child_node->getNodeTypeName eq "ELEMENT_NODE" &&
$child_node->getTagName() eq $child_type)
{
push(@$array_ref, $child_node);
}
$child_node = $child_node->getNextSibling();
}
}
#//--------------------------------------------------------------------------------------------------
#// getChildElementTextContents
#//--------------------------------------------------------------------------------------------------
#
# Given <FOOPY><NERD>Hi!</NERD></FOOPY>, where $node is <FOOPY>,
# returns "Hi!". If > 1 <NERD> node, returns the contents of the first.
#
sub getChildElementTextContents($$)
{
my($node, $tag_name) = @_;
my $first_element = getFirstChildElement($node, $tag_name);
my $text_node = $first_element->getFirstChild();
my $text_contents = "";
# concat adjacent text nodes
while ($text_node)
{
if ($text_node->getNodeTypeName() ne "TEXT_NODE")
{
last;
}
$text_contents = $text_contents.$text_node->getData();
$text_node = $text_node->getNextSibling();
}
return $text_contents;
}
#//--------------------------------------------------------------------------------------------------
#// setChildElementTextContents
#//--------------------------------------------------------------------------------------------------
sub setChildElementTextContents($$$$)
{
my($doc, $node, $tag_name, $contents_text) = @_;
my $first_element = getFirstChildElement($node, $tag_name);
my $new_text_node = $doc->createTextNode($contents_text);
# replace all child elements with a text element
removeAllChildren($first_element);
$first_element->appendChild($new_text_node);
}
#//--------------------------------------------------------------------------------------------------
#// getChildNodeByContents
#//
#// Consider <foo><bar><baz>Foopy</baz></bar><bar><baz>Loopy</baz></bar></foo>
#// This function, when called with getChildNodeByContents($foonode, "bar", "baz", "Loopy")
#// returns the second <bar> node.
#//--------------------------------------------------------------------------------------------------
sub getChildNodeByGrandchildContents($$$$$)
{
my($doc, $node, $child_type, $gc_type, $gc_contents) = @_; # gc = grandchild
my $found_node;
my $child_node = $node->getFirstChild();
while ($child_node)
{
if ($child_node->getNodeTypeName eq "ELEMENT_NODE" &&
$child_node->getTagName() eq $child_type)
{
# check for a child of this node of type
my $child_contents = getChildElementTextContents($child_node, $gc_type);
if ($child_contents eq $gc_contents)
{
$found_node = $child_node;
last;
}
}
$child_node = $child_node->getNextSibling();
}
return $found_node;
}
#//--------------------------------------------------------------------------------------------------
#// getTargetNode
#//--------------------------------------------------------------------------------------------------
sub getTargetNode($$)
{
my($doc, $target_name) = @_;
my $targetlist_node = getChildOfDocument($doc, "TARGETLIST");
return getChildNodeByGrandchildContents($doc, $targetlist_node, "TARGET", "NAME", $target_name);
}
#//--------------------------------------------------------------------------------------------------
#// getTargetNamedSettingNode
#//--------------------------------------------------------------------------------------------------
sub getTargetNamedSettingNode($$)
{
my($target_node, $setting_name) = @_;
my $setting_node;
my $settinglist_node = getFirstChildElement($target_node, "SETTINGLIST");
my $child_node = $settinglist_node->getFirstChild();
while ($child_node)
{
if ($child_node->getNodeTypeName ne "ELEMENT_NODE")
{
$child_node = $child_node->getNextSibling();
next;
}
if ($child_node->getTagName() eq "SETTING")
{
my $set_name = getChildElementTextContents($child_node, "NAME");
if ($set_name eq $setting_name)
{
$setting_node = $child_node;
last;
}
}
$child_node = $child_node->getNextSibling();
}
return $setting_node;
}
#//--------------------------------------------------------------------------------------------------
#// getTargetNodeSetting
#//--------------------------------------------------------------------------------------------------
sub getTargetNodeSetting($$)
{
my($target_node, $setting_name) = @_;
my $setting_node = getTargetNamedSettingNode($target_node, $setting_name);
return getChildElementTextContents($setting_node, "VALUE");
}
#//--------------------------------------------------------------------------------------------------
#// setTargetNodeSetting
#//--------------------------------------------------------------------------------------------------
sub setTargetNodeSetting($$$$)
{
my($doc, $target_node, $setting_name, $new_value) = @_;
my $setting_node = getTargetNamedSettingNode($target_node, $setting_name);
setChildElementTextContents($doc, $setting_node, "VALUE", $new_value);
}
#//--------------------------------------------------------------------------------------------------
#// elementInArray
#//--------------------------------------------------------------------------------------------------
sub elementInArray($$)
{
my($element, $array) = @_;
my $test;
foreach $test (@$array)
{
if ($test eq $element) {
return 1;
}
}
return 0;
}
#//--------------------------------------------------------------------------------------------------
#// removeAllChildren
#//--------------------------------------------------------------------------------------------------
sub removeAllChildren($)
{
my($node) = @_;
my $child_node = $node->getFirstChild();
while ($child_node)
{
$node->removeChild($child_node);
$child_node = $node->getFirstChild();
}
}
#//--------------------------------------------------------------------------------------------------
#// dumpNodeData
#//--------------------------------------------------------------------------------------------------
sub dumpNodeData($)
{
my($node) = @_;
unless ($node) { die "Null node passed to dumpNodeData\n"; }
print "Dumping node $node\n";
my($node_type) = $node->getNodeTypeName();
if ($node_type eq "ELEMENT_NODE")
{
my($node_name) = $node->getTagName();
print "Element $node_name\n";
}
elsif ($node_type eq "TEXT_NODE")
{
my($node_data) = $node->getData;
# my(@node_vals) = unpack("C*", $node_data);
print "Text '$node_data'\n"; # may contain LF chars
}
else
{
print "Node $node_type\n";
}
}
#//--------------------------------------------------------------------------------------------------
#// dumpNodeTree
#//--------------------------------------------------------------------------------------------------
sub dumpNodeTree($)
{
my($node) = @_;
my($child_node) = $node->getFirstChild();
unless ($child_node) { return; }
# recurse
dumpNodeData($child_node);
# then go through child nodes
while ($child_node)
{
dumpNodeTree($child_node);
$child_node = $child_node->getNextSibling();
}
}
1;

View File

@@ -0,0 +1,90 @@
#-------------------------------------------------------------------------------
# These 3 lists are the 'master lists' to control what gets built.
#
# Ordering in these arrays is important; it has to reflect the order in
# which the build occurs.
#
# Setting containing spaces must be quoted with double quotes.
#-------------------------------------------------------------------------------
build_flags
all 1
pull 0
dist 0
config 0
xpidl 0
idl 0
stubs 0
runtime 0
common 0
imglib 0
libimg2 0
necko 0
security 0
browserutils 0
intl 0
nglayout 0
accessiblity 0
editor 0
embedding 0
viewer 0
xpapp 0
extensions 0
plugins 0
mailnews 0
apprunner 0
resources 0
options_flags
pull_by_date 0
chrome_jars 1
chrome_files 0
use_jars 1
transformiix 1
mathml 0 MOZ_MATHML
svg 0 MOZ_SVG
# svg requires libart, which is an lgpl library. You need to pull it
# explicitly.
libart_lgpl 0
mng 1
ldap 1 MOZ_LDAP_XPCOM
ldap_experimental 0 MOZ_LDAP_XPCOM_EXPERIMENTAL
xmlextras 1
wsp 0 MOZ_WSP
inspector 1
mailextras 1
xptlink 0
psm 0 MOZ_PSM
embedding_test 1
embedding_chrome 0
embedding_xulprefs 0
embedding_xulsecurity 0
carbon 0 TARGET_CARBON
useimg2 1 USE_IMG2
lowmem 0 MOZ_MAC_LOWMEM
accessible 1 ACCESSIBILITY
bidi 1 IBMBIDI
p3p 0
jsd 1
venkman 1
moz_logging 1 MOZ_LOGGING
chatzilla 1
content_packs 1
xml_rpc 1
cview 1
help 1
timeline 0 MOZ_TIMELINE
static_build 0 MOZ_STATIC_COMPONENT_LIBS
string_debug 0 DEBUG_STRING
string_stats 0 DEBUG_STRING_STATS
xpctools 0 XPC_TOOLS_SUPPORT
smime 1
mdn 1
print_preview 1 NS_PRINT_PREVIEW
moz_xul 1 MOZ_XUL
filepath_flags
idepath ":CodeWarrior IDE Path.txt"
sessionpath ":Mozilla session path.txt"
buildlogfilepath ":Build Logs:Mozilla build log.txt" # this is a path
scriptlogfilepath ":Build Logs:Mozilla script log.txt"

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,22 @@
# List of modules to check out. Format is
# module, (tag), (date)
# where tag and date are optional (non-trailing commas are required)
#
# Examples:
# mozilla/nsprpub, NSPRPUB_CLIENT_TAG
# mozilla/gc, , 10/25/2000 12:00:00
#
mozilla/nsprpub, NETSCAPE_7_02_RELEASE
mozilla/security/nss, NETSCAPE_7_02_RELEASE
mozilla/security/manager, NETSCAPE_7_02_RELEASE
mozilla/accessible, NETSCAPE_7_02_RELEASE
mozilla/directory/c-sdk, NETSCAPE_7_02_RELEASE
mozilla/lib/mac/Instrumentation, NETSCAPE_7_02_RELEASE
mozilla/gfx2, NETSCAPE_7_02_RELEASE
mozilla/modules/libpr0n, NETSCAPE_7_02_RELEASE
SeaMonkeyAll, NETSCAPE_7_02_RELEASE
## You need this if you want to be able to use SVG
## Note that this library is under the LGPL, not the MPL
#mozilla/other-licenses/libart_lgpl

View File

@@ -0,0 +1,79 @@
#!perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Simon Fraser <sfraser@netscape.com>
#
require 5.004;
use strict;
use Cwd;
use Moz::BuildUtils;
use Moz::BuildCore;
#-------------------------------------------------------------
# Where have the build options gone?
#
# The various build flags have been centralized into one place.
# The master list of options is in MozBuildFlags.txt. However,
# you should never need to edit that file, or this one.
#
# To customize what gets built, or where to start the build,
# edit the $prefs_file_name file in
# System Folder:Preferences:Mozilla build prefs:
# Documentation is provided in that file.
#-------------------------------------------------------------
my($prefs_file_name) = "Mozilla pull prefs";
#-------------------------------------------------------------
# hashes to hold build options
#-------------------------------------------------------------
my(%build);
my(%options);
my(%filepaths);
my(%optiondefines);
# Hash of input files for this build. Eventually, there will be
# input files for manifests, and projects too.
my(%inputfiles) = (
"buildflags", "MozillaBuildFlags.txt",
"checkoutdata", "MozillaCheckoutList.txt",
"buildprogress", "",
"buildmodule", "MozillaBuildList.pm",
"checkouttime", "Mozilla last checkout"
);
#-------------------------------------------------------------
# end build hashes
#-------------------------------------------------------------
# set the build root directory, which is the the dir above mozilla
SetupBuildRootDir(":mozilla:build:mac:build_scripts");
# Set up all the flags on $main::, like DEBUG, CARBON etc.
# Override the defaults using the preferences files.
SetupDefaultBuildOptions(0, ":mozilla:dist:viewer:", "");
my($do_checkout) = 1;
my($do_build) = 0;
RunBuild($do_checkout, $do_build, \%inputfiles, $prefs_file_name);

View File

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

Binary file not shown.

Binary file not shown.

View File

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

View File

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

Binary file not shown.

View File

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

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,4 @@
// test2.cpp
as
dfasdf

View File

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

View File

@@ -52,14 +52,14 @@
#
# For branches, uncomment the MOZ_CO_TAG line with the proper tag,
# and commit this file on that tag.
MOZ_CO_TAG = NETSCAPE_7_0_OEM_BRANCH
NSPR_CO_TAG = NETSCAPE_7_0_OEM_BRANCH
PSM_CO_TAG = NETSCAPE_7_0_OEM_BRANCH
NSS_CO_TAG = NETSCAPE_7_0_OEM_BRANCH
LDAPCSDK_CO_TAG = NETSCAPE_7_0_OEM_BRANCH
ACCESSIBLE_CO_TAG = NETSCAPE_7_0_OEM_BRANCH
GFX2_CO_TAG = NETSCAPE_7_0_OEM_BRANCH
IMGLIB2_CO_TAG = NETSCAPE_7_0_OEM_BRANCH
MOZ_CO_TAG = NETSCAPE_7_02_RELEASE
NSPR_CO_TAG = NETSCAPE_7_02_RELEASE
PSM_CO_TAG = NETSCAPE_7_02_RELEASE
NSS_CO_TAG = NETSCAPE_7_02_RELEASE
LDAPCSDK_CO_TAG = NETSCAPE_7_02_RELEASE
ACCESSIBLE_CO_TAG = NETSCAPE_7_02_RELEASE
GFX2_CO_TAG = NETSCAPE_7_02_RELEASE
IMGLIB2_CO_TAG = NETSCAPE_7_02_RELEASE
BUILD_MODULES = all
#######################################################################