Compare commits

..

1650 Commits

Author SHA1 Message Date
mstoltz%netscape.com
5883b626d1 Bug 191817 - Remove eval() usage from attachment selection code to avoid script insertion
git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137581 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-08 02:37:36 +00:00
mstoltz%netscape.com
ee8c70a89d Bug 187996 - disable 305 redirects
git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137561 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-07 22:53:45 +00:00
mstoltz%netscape.com
b57db162cc Bug 157644 - prevent buffer overrun caused by malformed POP3 messages
git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137559 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-07 22:52:00 +00:00
mstoltz%netscape.com
96db6ed745 Bug 159659 - prevent URL bar spoofing by disallowing wysiwyg URL loads not initiated from history.
git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137558 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-07 22:50:54 +00:00
sgehani%netscape.com
e4e4524471 Support mutiple legacy checks.
b=22158; r=ssu; a=adt


git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137500 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-06 22:00:18 +00:00
sgehani%netscape.com
41fcfc0f2c Porting jag's topcrash fix for bug 110404.
b=110404; a=adt


git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137493 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-06 20:15:23 +00:00
cltbld%netscape.com
14eeb5e473 fixing build breakage
git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137484 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-06 17:30:45 +00:00
ssu%netscape.com
114992d045 fixing bug 19088 and bug 22173 - remove sweetlou references from config.ini. r=,a=sgehani
git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137437 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-05 22:51:05 +00:00
jj%netscape.com
4647ccc433 updated installer 'vers'
git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137387 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-04 23:15:07 +00:00
sgehani%netscape.com
d7d24a2dbf Port jag's fix for bug 171274:
``URL bar spoofing using XUL <browser type="content-primary">''


git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137351 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-04 02:45:52 +00:00
dveditz%netscape.com
a8602fbcbb bug 190996 reading corrupt zip archives leaks memory, r=ssu,sr=heikki,a=adt
git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137218 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 21:57:43 +00:00
kaie%netscape.com
2cfc6f2306 b=151250 False warning posting to https site from http site.
r=javi sr=alecf adt=sgehani


git-svn-id: svn://10.0.0.236/branches/NETSCAPE_7_02_BRANCH@137187 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 07:27:46 +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
leaf%mozilla.org
2c9614fb10 update pull scripts to pull the better named MOZILLA_1_0_BRANCH symbolic tag,
a=bunch-o-drivers


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122271 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 19:21:17 +00:00
sspitzer%netscape.com
6afd739cf1 fix for #147916. tinderbox sidebar panels should not be there by default.
if a bunch of people get mozilla 1.0, they'll overload tbox.
r=callion,sr=bienvenu,a=leaf


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122267 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 18:20:19 +00:00
jst%netscape.com
2457823369 Fixing bug 147754. Do a same-origin check on serialized data. r=mstoltz@netscape.com, sr=jband@netscape.com, a=dbaron,shaver,scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122251 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 03:52:58 +00:00
dbragg%netscape.com
aeaefb716d Regular update of localeVersion value to 1.0.0final. r=leaf, sr=scc, a=drivers, ADT approved. Bug #147714
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122238 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 23:24:30 +00:00
dveditz%netscape.com
d4beef1773 fix crash installing language packs bug 147672. r=dbaron,sr=shaver,a=valeski/scc/wjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122235 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:15:56 +00:00
blizzard%redhat.com
928f583b71 Bug #134204. Use pkg-config files. r=cls,hp a=lots-o-drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122227 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 20:30:12 +00:00
leaf%mozilla.org
0282fc286e updating the MOZILLA_VERSION in configure{.in}
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122201 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-27 19:29:12 +00:00
leaf%mozilla.org
04cc039c07 updating user agent.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122200 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-27 19:07:21 +00:00
leaf%mozilla.org
7f1f83e834 updating about page in prep for upcoming release
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122199 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-27 19:04:34 +00:00
brendan%mozilla.org
b423f4baff Don't emit JSOP_DEF{VAR,CONST} unless at top-level or in a heavyweight function (146596, r=jband, sr=shaver, a=chofmann).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122191 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-27 01:21:53 +00:00
shaver%mozilla.org
4a96596e09 146401: add pref for XSLT. r=peterv, sr=jst, a=drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122186 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-26 16:37:18 +00:00
jfrancis%netscape.com
ad33f31373 fixing 136165: crash after deleting styled text. r=cmanske sr=dveditz; a=shaver,scc,tor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122151 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-25 00:53:58 +00:00
seawood%netscape.com
080e80a637 Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.o
rg/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files
into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manage
r hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components

Bug #56601 r=leaf a=scc,shaver,tor


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122149 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-25 00:07:27 +00:00
seawood%netscape.com
53d656a9a1 Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.o
rg/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files
into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manage
r hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components

Bug #56601 r=leaf a=scc,shaver,tor


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122148 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 23:52:27 +00:00
seawood%netscape.com
89b0d7af2c Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.o
rg/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files
into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manage
r hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components

Bug #56601 r=leaf a=scc,shaver,tor


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122145 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 23:46:27 +00:00
pavlov%netscape.com
1c4cdfade6 checking in fix for bug 145147 r=bienvenu sr=mscott a=roc,scc,shaver,jaimejr,etc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122142 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 22:53:03 +00:00
seawood%netscape.com
63f6028c4e Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components

Bug #56601 r=leaf a=scc,shaver,tor


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122141 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 22:47:55 +00:00
seawood%netscape.com
246b3f7e9f Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components

Bug #56601 r=leaf,a=scc,shaver,tor


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122140 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 22:43:38 +00:00
jst%netscape.com
e45a686be7 Fixing bug 113351. Original patch by peterv, tweaks by me and mstoltz. Add same-origin checks to XSLT includes. r=mstolts@netscape.com, sr=rpotts@netscape.com, a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122062 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 07:23:48 +00:00
racham%netscape.com
1dce744290 Fixing bug 15562. Fixing duplicate entries problem in pageInfo.dtd file. r=ftang, sr=sspitzer, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122060 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 07:10:40 +00:00
jst%netscape.com
5df1afe6e6 Backing out part of the fix for bug 143369 as a fix for bug 146333. Don't make ChromeWindow's prototype immutable.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122059 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 05:39:27 +00:00
jst%netscape.com
da482534b3 Backing out part of the fix for bug 143369 as a fix for bug 146333. Don't make ChromeWindow's prototype immutable.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122058 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 05:35:41 +00:00
cotter%netscape.com
be64be1dfd ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; mostly privacy updates per Steve Morse's review
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122051 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 04:24:44 +00:00
morse%netscape.com
afe8df3d75 bug 146094, leaking cookies, r=waterson/mstoltz, sr=darin, a=chofmann/brendan/scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122049 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 01:30:15 +00:00
harishd%netscape.com
3ee011d02b Preserve comment declaration for textarea and viewsource. b=133044, r=heikki, sr=jst, a=brendan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122048 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 01:28:28 +00:00
harishd%netscape.com
bd5ddb70ea Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=js, a=chofmann, brendan, shaver
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122041 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:18:58 +00:00
dbragg%netscape.com
d6c39cca3a Regular update for mozilla milestone rc3. Changing 1.0.0rc2 to 1.0.0rc3. r=leaf, sr=scc, a=blizzard, adt approved. Note: leaf@mozilla.org will be watching the tree for me.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122036 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 23:25:01 +00:00
dbragg%netscape.com
2fe6680b3f Regular update for mozilla milestone rc3. Changing 1.0.0rc2 to 1.0.0rc3. r=leaf, sr=scc, a=blizzard, adt approved. Note: leaf@mozilla.org will be watching the tree for me.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122034 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 23:19:10 +00:00
anatoliya%netscape.com
1347bd1e96 bug 144556 on behalf of rbs, it is mozilla part for bugscape bug 13906 r=brade sr=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122030 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 20:50:37 +00:00
rods%netscape.com
b9c5c653e6 The patch removes the n-order search for the length and reuses a funciton
"BinarySearchForPosition" code from the nsTextFrame for finding cursor
position. Instead of cursor position, it is just uses the available width.
Bug 139384 r=dcone sr=attinasi a=chofmann,rjesup adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122019 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 11:11:00 +00:00
mhammond%skippinet.com.au
d6b4715e32 Bring up to date WRT "char *" -> nsString API changes.
Not part of the build.  Global a= for this part of the tree.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 05:31:25 +00:00
dveditz%netscape.com
ecbe515d79 bug 144704 make sure view image menu item doesn't inherit the wrong context, r=bryner, sr=brendan, a=chofmann, adt1.0.0+
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122009 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 05:05:38 +00:00
dveditz%netscape.com
44cab4adea bug 143420 make sure showOnlyThisFrame menu item doesn't inherit the wrong context, r=bryner,sr=scc,a=brendan,adt1.0.0+
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122008 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 05:02:43 +00:00
jst%netscape.com
a2dc91d683 Fixing security bug 143369. Don't allow web content to shadow their origin. r=brendan@mozilla.org, mstoltz@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122005 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 04:36:53 +00:00
shanjian%netscape.com
9607a311ed #132006 Traditional Chinese is detected as Simplified Chinese
correct state machine of gb18030, and eliminate gb18030 as option
when only 2 candidates left.
r=ftang, sr=scc, a=chofman, adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122004 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 04:07:51 +00:00
darin%netscape.com
804ae553c3 fixes bug 146074 "Proxy-authorization not on all requests after authentication"
r=rjesup sr=rpotts a=chofmann,rjesup,shaver


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122003 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 03:44:45 +00:00
mkaply%us.ibm.com
be7d4fdde0 #145764
a=brendan
OS/2 only - fix broken icon


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122001 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 02:30:48 +00:00
dbaron%fas.harvard.edu
6aed6f697f Fix Mac bustage from brendan's checkin.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121999 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 02:08:05 +00:00
timeless%mac.com
624fe1566b Bug 133666 Skin switch on restart not completely performed
patch by blake r=ben sr=hyatt a=scc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121998 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 02:00:00 +00:00
timeless%mac.com
ec1577308a Bug 133601 DND in a folder in personal toolbar: multiple folders can be open at once
patch by pierrechanial@netscape.net r=bryner a=scc [sr waved by endico]


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121997 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 01:58:10 +00:00
kaie%netscape.com
e3aa3a71cb b=144823 Localized certificate name is garbled, unable to send out signed/encrypted mail on a localized build
r=javi sr=mscott adt=putterman a=endico


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121996 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 01:13:30 +00:00
kmcclusk%netscape.com
90dcf11081 Destroy sub document frames within the nsHTMLInnerFrames Destroy method instead of its destructor so nsIWidgets instances are destroyed in the proper order. bug 66748; r=jkeiser sr=attinasi a=scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121990 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:39:15 +00:00
ducarroz%netscape.com
132e190048 Fix for bug 141051 (patch v1). Need to reset the window title before recycling the compose window. R=varada, SR=mscott, A=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121985 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:12:53 +00:00
brendan%mozilla.org
dc9928eb7c Don't fail to call OBJ_CHECK_ACCESS for o.__proto__ = x, with enough mode bits to say what's happening (143369, r=shaver, sr=jst, a=chofmann).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121984 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:07:58 +00:00
akkana%netscape.com
428ff1c549 71726: Pass http url into validation tool. r=brade sr=alecf a=chofmann,scc,brendan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121983 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:07:38 +00:00
yokoyama%netscape.com
c61baaa999 bug 118179
FTP site is broken for Japanese server
Impact for only displaying ftp directory listing.
/r=bbaetz,/sr=darin,/a=chofmann,/adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121979 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:00:39 +00:00
yokoyama%netscape.com
edee1b6680 Bug 140983
Retrieve IMEProperty by calling ImmGetProperty() and
determine if the IME supports W API.
Impact only in Win2k and WinXP Simplified Chinese platforms
/r=shanjian,/sr=kin@netscape.com
/adt=putterman,/a=permission call from driver@mozilla.org


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121978 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:38:42 +00:00
alecf%netscape.com
885c533ef0 fix bustage - missing ) (didn't make it over from my last linux patch..grr)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121976 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:28:07 +00:00
rpotts%netscape.com
de0519cd67 bug #145994 (r=chak,sr=alec, a=drivers) Crash due to a null pointer when Stop() is called within an nsIWebProgressListener notification.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121975 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:21:14 +00:00
bryner%netscape.com
c5ac50d5e2 Add a null check to fix a crash that can happen if you context-click while autocomplete is active in mail compose (Bug 137864). r=danm, sr=jag, a=brendan.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121974 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:13:47 +00:00
bryner%netscape.com
4cb5382fca Fix a problem where the beforeselected/afterselected attributes on tabs weren't getting cleaned up when a tab is closed. This was causing drawing issues in the classic skin. Bug 137836, r=pinkerton, sr=blake, a=scc.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121972 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:10:55 +00:00
morse%netscape.com
0bc0799597 bug 140625, wallet dialog refers to old menu structure, c=neil@parkwaycc.co.uk, r=morse, sr=dveditz, a=valeski, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121968 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:00:02 +00:00
morse%netscape.com
9e0f7ffb8a bug 140464, cookies expire at end of session if date header is missing, c=mloiselle@yahoo.com, r=morse, sr=darin, a=valeski, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121965 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 22:52:44 +00:00
morse%netscape.com
cfa280641e bug 138918, understanding-privacy button is broken, r=sgehani, sr=jag, a=valeski, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121963 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 22:39:32 +00:00
bienvenu%netscape.com
a911b0b748 check in bug 62084 from trunk, problem importing long mailings lists
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121962 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 22:16:55 +00:00
alecf%netscape.com
be9c8fa239 fix for bug 139633 - move Left/Right/Mid out of nsAString so we can freeze strings
r/sr=dmose, darin, jag, mozbot, lumpy, callion, jst, akkana (various parts of various patches, after baking on the trunk for a while)
a=chofmann
adt=jaimejr


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121959 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:41:28 +00:00
leaf%mozilla.org
0d32d05921 bug 144488, r,a=endico on behalf of drivers (update theme location to something
that can handle the bandwidth)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121948 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:07:17 +00:00
sicking%bigfoot.com
bf7b44d54f Bug 119317: remove support for old non-namespaced "inherits" xbl-attribute. Also move the last few occurences to the new syntax.
r=fabian sr=hyatt a=brendan


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121945 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 20:28:50 +00:00
ducarroz%netscape.com
a2b5d31397 Fix for bug 144257. We should skip out-commented html when looking for entities. R=varada, SR=mscott, A=scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121943 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 20:17:42 +00:00
mscott%netscape.com
6d0476c328 Since it wasn't the cause of the mail smoketests going orange, but 106479 back onto
the branch (i backed it out late last night to see).


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121940 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 20:06:12 +00:00
rpotts%netscape.com
2cd31bb596 bug #46856 (r=valeski,sr=jst,a=valeski) nsIWebProgress/nsIWebProgressListener API changes.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121921 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 07:59:04 +00:00
rpotts%netscape.com
637548fb10 bug #46856 (r=valeski, sr=jst, a=valeski) nsIWebProgress/nsIWebProgressListener API changes.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121919 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 05:59:14 +00:00
mscott%netscape.com
26949a54c9 For kicks, back out Bug 106479 to see if it fixes the orange mail smoketest.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121918 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 05:34:43 +00:00
mscott%netscape.com
3c7053730f Landing Bug #127702 onto the branch. Fix security problem with imap
r=cavin
sr=bienvenu
a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121917 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 05:31:30 +00:00
peterlubczynski%netscape.com
ee3c3f96d7 Fixing keyboard events for full page plugins on Mac bug 143316 r=av sr=attinasi
a=chofmann,brendan,etc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121912 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 03:09:38 +00:00
rginda%netscape.com
9039f3c7b0 - venkman only -
bug 145466, "Can't save the profile data"
patch=smaug@jippii.fi,r=me,a=chofmann
add missing parameter nsIOutputStream::init callsite


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121910 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 02:41:47 +00:00
morse%netscape.com
a000b7234a bug 143328, Hiding form-manager panels stopped working, r=sgehani, sr=jag, a=brendan, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121906 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 00:38:57 +00:00
heikki%netscape.com
218651a65b Bug 142788, malformed comment end was not detected in quirks mode which caused the rest of the document to be treated as a comment. r=harishd, sr=jst, a=ADT,scc.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121898 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:58:48 +00:00
darin%netscape.com
423460521b fixes bug 141779 "Trunk, M1RC1 Crashes related to DNS caching [@ nsDNSRequest::FireStop]"
r=gordon sr=rpotts a=brendan


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121897 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:57:05 +00:00
oeschger%netscape.com
732eb22602 update to search rdf, dispensation for content updates for 122806
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121896 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:54:37 +00:00
mscott%netscape.com
28a1c909e4 Landing 106479 onto the branch. Don't freeze an imap account with out a trash folder
when emptying trash on exit.
r=timeless
sr=mscott
a=blizzard


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121893 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:43:53 +00:00
bryner%netscape.com
da24b92c2a Check in Michiel van Leeuwen's patch for bug 135076 that fixes the problem where you get scroll arrows in submenus when the submenus are initially opened so close to the bottom of the screen that their position is adjusted to make them fit on screen. r=bryner, sr=ben, a=brendan.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121886 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 20:33:24 +00:00
morse%netscape.com
204f826da0 backing out last checkin which was made in error.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121882 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 19:59:54 +00:00
morse%netscape.com
4516f9102e bug 143204, crash when selecting user and no user is selected, r=sgehani, sr=dveditz, a=choffman, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121881 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 19:54:14 +00:00
rods%netscape.com
ab56848021 Simple name change to correct properties file name
Bug 145460 r=dcone a=chofmann,shaver adt=jaime (no sr yet)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121872 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 13:48:19 +00:00
ben%netscape.com
69d2a48ff1 Fixing 130614 on the 1.0 branch, RC2 crashes on startup on Windows 95
due to nonexistent favorites folder (Windows 95 without IE4+ does not have
a favorites folder, so null check before using it)
r=ftang, sr=hyatt, a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121869 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 11:24:31 +00:00
peterlubczynski%netscape.com
c5b72f03a1 Correctly set visibility of view on DidReflow for cases when our CSS visibility style has changed from visible (windows part) bug 129306 r=av sr=attinasi, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121863 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 03:28:04 +00:00
andreww%netscape.com
d455161f02 bugzilla bug 141029 - Need to update editorTasksOverlay due to menu changes - r=cmanske, sr=sspitzer, drivers=rjesup, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121862 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 03:15:44 +00:00
pavlov%netscape.com
764bd4bf65 fix for bug 130876 from lorenzo@colitti.com. r=pavlov sr=tor a=chofmann,shaver
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121861 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 03:11:49 +00:00
bryner%netscape.com
5a4cd2828d Use insertafter instead of absolute position numbers for the composer and addressbook icons (bug 137468). r=ben, sr=blake, a=chofmann/shaver.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121859 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 01:54:36 +00:00
shaver%mozilla.org
303b3fe0e3 Bug 142846: Save doesn't store all subframes. Patch=adamlock, r=brade,
sr=rpotts@netscape.com, a=rjesup for 1.0 branch.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121849 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 23:43:22 +00:00
shaver%mozilla.org
cb4a0b5b63 Bug 142592: color attributes on MathML elements can't be updated sometimes.
Patch=rbs, r=roc+moz, sr=attinasi, a=brendan,shaver,chofmann for 1.0.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121848 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 23:39:25 +00:00
shaver%mozilla.org
80b989b275 Bug 137079: originating-server cookie test preventing some sites from working
correctly.  Patch by morse, r=pinkerton, sr=alecf, a=drivers for the branch.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121847 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 23:35:14 +00:00
morse%netscape.com
5dbd73bf67 bug 143204, crash in password manager when selecting user from list, r=sgehani, sr=dveditz, a=rjesup@wgate.com, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121842 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 07:20:20 +00:00
heikki%netscape.com
0481dc4c6e Bug 137628, depending on network speed the contents of comments could appear on a page in strict mode. Treat unclosed comment in strict mode as text. Fix line numbers in case we need to wait for more content before parsing. r=harishd, sr=jst, a=ADT,chofmann,brendan.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121840 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 05:45:50 +00:00
bryner%netscape.com
d525363520 Fix Copy Link Location. The tooltip timer was causing the document's popupNode to get nulled out. We don't actually need to set popupNode at all for tooltips, we have tooltipNode for that. Modified the menu popup code to use tooltipNode for tooltips. Bug 143607. r=hewitt, sr=jst, a=shaver.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121839 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 04:31:56 +00:00
jst%netscape.com
748665aa52 Fixing bug 132609. Make sure termination functions are called after JS event handlers are executed. r=heikki@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121838 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 04:24:40 +00:00
jst%netscape.com
c4da75c128 Fixing one more part of performance bug 118933. Speed up access to global properties window and document. r=peterv@netscape.com, sr=vidur@netscape.com. a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121837 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 04:21:08 +00:00
jst%netscape.com
2795a668d6 Fixing bug 80083. Don't let a modified window.navigator object be collected by the GC too early. r=fabian@bluishgecko.net, sr=vidur@netscape.com, a=choffmann,brendan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121836 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 04:18:18 +00:00
jst%netscape.com
1b6ec3d818 Fixing bug 145064. Stop link.pathname (n' frieds) accessors from throwing exceptions on non-URL URI's. r=bzbarsky@mit.edu, sr=heikki@netscape.com, a=choffmann,brendan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121835 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 04:15:38 +00:00
jst%netscape.com
83d6027167 Fixing bug 141442. Make window.openDialog() overridable from scripts on webpages. r=mstoltz@netscape.com, sr=jband@netscape.com, a=brendan,choffmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121834 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 04:13:23 +00:00
jst%netscape.com
5c6d280101 Fixing topcrash bug 131841. Don't let presshells die while we're making calls on them. r=sicking@bigfoot.com, sr=vidur@netscape.com/brendan@mozilla.org, a=choffmann,brendan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121833 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 04:10:37 +00:00
jst%netscape.com
3528882472 Checking in jband's fix for bug 143853. Clear the cached proto JSObject when transitioning from page to page. r=dbradley@netscape.com, sr=jst@netscape.com, a=choffmann,brendan,shaver
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121832 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 04:02:26 +00:00
jst%netscape.com
d630028f35 Checking in peterv's fix for bug 129006. Don't crash when reloading invalid XML. r=axel@pike.org, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121830 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 03:57:34 +00:00
mkaply%us.ibm.com
3b629c5fe4 #109464
r=gerv, sr=alecf, a=chofmann,brendan
OS/2 only if statement - Os/2 has different default DPI values


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121828 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 03:51:50 +00:00
bryner%netscape.com
21346b8835 Fix shift-tab from the document into the urlbar; this also fixes some other tabbing results that were a result of odd interactions with the selection code. Bug 136495, r=aaronl, sr=jst, a=valeski.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121827 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 03:41:17 +00:00
darin%netscape.com
cdca1f405a fixes bug 91795 "large downloads causes mozilla to consume too much memory
(results possibly in an kill because of out of memory)"
patch1: author=gordon r=dougt sr=darin
patch2: author=darin r=gordon,dougt sr=rpotts
a=brendan


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121822 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 02:20:56 +00:00
rods%netscape.com
ce1fd5d84c Change uI to use the combobox instead of textfield and arrow btns
Bug 127857 r=dcone,sgehani sr=alecf,attinasi adt=putterman a=chofmann,dbaron,valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121819 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 01:32:45 +00:00
bzbarsky%mit.edu
5f87a200ec Fix off-by-one-char error that caused hang. Bug 142290, r=caillon,
sr=jst, a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121815 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:59:14 +00:00
bzbarsky%mit.edu
66d54a8b6d Restrict the fix for bug 116938 to Windows-only to preserve OS/2 and
Linux users' sanity. Bug 144923, r=law, sr=mscott, a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121812 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:50:19 +00:00
cotter%netscape.com
5f02b8269b ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; misc. privacy & security
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121807 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:38:01 +00:00
heikki%netscape.com
b4fff11fed Bug 141765, fix crash in decoding structures inside arrays. Patch from rayw, r=heikki, sr=jst, a=ADT,chofmann,brendan.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121806 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:35:25 +00:00
heikki%netscape.com
3243c72cb2 Bug 81546, workaround to make XHTML documents with forms to display. r=harishd, sr=jst, a=ADT,chofmann,brendan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121804 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:03:39 +00:00
harishd%netscape.com
0c5d530ffc Making sure that mCountRemaining also gets updated when data gets inserted into the scanner buffer. b=117441, r=heikki, sr=jst, a=chofmann,brendan,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121801 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:01:59 +00:00
ducarroz%netscape.com
2fcaf0e746 Fix for bug 139362. In order to avoid to be hit by bug 70083, we need to do a copy of the string we are passing to NewURI to be sure it's in one segment. Patch proposed by jag. R=ducarroz, SR=sspitzer, A=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121796 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 23:16:04 +00:00
dbaron%fas.harvard.edu
2f87640ce4 Rename a variable so that we can build on gcc 3.1. r=cls sr=jst a=rjesup b=139089
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121783 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:46:03 +00:00
oeschger%netscape.com
be372b62a6 fix for 138763: duplicate paragraph in help, check-in dispensation per bug 122806, plus removing references to IM. Bad!
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121775 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:11:18 +00:00
ccarlen%netscape.com
76c08bd2ed Bug 76431 - protect profiles from running multiple instances. r=brendan@mozilla.org/sr=darin@netscape.com/a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121774 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:07:44 +00:00
kaie%netscape.com
da5d212dfc b=141317 CopyToLowerCase produces strings with random content
r=jag sr=alecf a=scc/rjesup adt=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121770 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 20:05:33 +00:00
bzbarsky%mit.edu
5c41eb1716 Um, back that out; tree is closed... (coulda sworn it said "open"....)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121759 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 14:41:32 +00:00
bzbarsky%mit.edu
91b9b7e794 Restrict the fix for bug 116938 to Windows-only to preserve OS/2 and
Linux users' sanity. Bug 144923, r=law, sr=mscott, a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121758 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 14:40:09 +00:00
dmose%netscape.com
4da30258e7 Only define PERL if it has not already been defined so that when autoconf finds perl in non-standard places, that works properly. r=cls, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121753 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 07:02:53 +00:00
dmose%netscape.com
295058cc41 Fix clobber to remove libraries (bug 136651); fixes AIX tinderbox lossage. Patch from Philip K. Warren <pkw@austin.ibm.com>; r=dmose@netscape.com, sr=sspitzer@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121752 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 06:54:00 +00:00
dmose%netscape.com
7774ce5dcf NetBSD portability fix (bug 99068). Patch from taya@netbsd.org; r=dmose@netscape.com; sr=sspitzer@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121751 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 06:45:18 +00:00
rjesup%wgate.com
5f60368f08 Bug 139380: clean up font substition code to avoid mistaken changes in
the future. r=bstell, sr=attinasi, a=rjesup, checkin for gisburn


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121750 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 06:26:52 +00:00
rjesup%wgate.com
ca60e23706 Bug 143413: missing entry in Xlib for symbol-fontspecific. r=pete.zha,
sr=attinasi, a=rjesup (checking in for gisburn)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121748 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 06:17:38 +00:00
pavlov%netscape.com
bf883ac38d checking in fix for bug 14113. r=varga sr=brendan a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121746 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 05:46:42 +00:00
kaie%netscape.com
cfa1d71b55 b=112384 Unable to download some CRLs.
r=javi sr=darin adt=putterman a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121735 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 03:22:56 +00:00
dbaron%fas.harvard.edu
3a72186992 Make GetImplementationFlags more useful/extensible by changing the default implementation to return zero rather than returning the flags from the shared buffer handle, and add a constant for one expected future use. b=109571 r=jag sr=scc a=chofmann,valeski,scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121734 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 03:03:41 +00:00
dbaron%fas.harvard.edu
af6aa2ea05 Null-check mBindingTable to avoid crash with some themes. b=143835 r=brendan sr=waterson a=chofmann, scc, valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121730 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 02:40:24 +00:00
seawood%netscape.com
114aae699d Because js uses static data structures and is linked into other shared libraries, js must be built as a shared library.
Thanks to Colin Blake <colin@theblakes.com> for the original patch.
Bug #127442 r=bryner a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121726 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 02:10:08 +00:00
seawood%netscape.com
f9848fb7b1 Reinstate real_install target so that it will be possible to have an install tar
get for Mozilla that works as expected
Bug #138442 r=dmose@netscape.com, mcs@netscape.com a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121725 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 02:03:41 +00:00
karnaze%netscape.com
856aebbbd6 bug 113235 - avoid reframing if possible when content is inserted inside an inline containing a block. a=rjesup, adt=putterman, sr=waterson, r=attinasi.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121721 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 01:42:24 +00:00
seawood%netscape.com
526ec82985 Increase Shared Memory Transport size to 512k for solaris builds.
Note: "512 is a good compromise between the transport speed and the system memor
y resources consumed."
Thanks to Jeff Wasilko <jw-mozilla@smoe.org> for the patch.
Bug #118846 r=cls a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121717 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 01:12:18 +00:00
seawood%netscape.com
67a384bafa chdir out of temp directory before invoking mozilla process.
Bug #101016 r=syd sr=sspitzer a=blizzard


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121716 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:59:25 +00:00
cotter%netscape.com
d7a3ed9aa3 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; index tags & some content updates
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121709 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:47:39 +00:00
oeschger%netscape.com
77a9c7a763 adding some entries to search db for help, dispensation per 122806, r=cotter
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121708 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:44:53 +00:00
oeschger%netscape.com
9065957d3d removing an unused html file from the build, dispensation per 122806, r=cotter
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121707 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:43:08 +00:00
pinkerton%netscape.com
9188b6c365 explicitly set locale in installed-chrome.txt for embedding packaging. r=ccarlen/sr=beard/a=valeski bug 144866.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121701 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:20:38 +00:00
jaggernaut%netscape.com
fe32f8706e Bug 132583: deal more cleanly with passing non-UTF8 strings to NS_ConvertUTF8toUCS2. r=scc, sr=darin, a=drivers, a=adt.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121699 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:03:35 +00:00
dougt%netscape.com
e79695d563 Removing string nsCRT depend. patch by scc, r=dougt, sr=jag, b=36756, a=chofmann,dbaron,valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121698 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 23:57:51 +00:00
brendan%mozilla.org
ed20e5e6fd Checking in khanson@netscape.com's patch fixing GMT offset day-overflow (65671, r=mccabe, sr=jband, a=rjesup).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121693 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 23:16:37 +00:00
pinkerton%netscape.com
612499e4d0 make NS_ConvertUTF8toUCS2(ptr, length) work correctly. r=jag/sr=scc/a=rjesup bug#141866
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121692 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 23:15:57 +00:00
jst%netscape.com
d41a137af5 Fixing bug 140944. Map document.body.scroll* to the scroll info about the root scrolling view for compatibility with IE. r=bzbarsky@mit.edu, sr=shaver@mozilla.org, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121691 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 23:13:55 +00:00
kaie%netscape.com
6692771666 b=104502 Updated icons for S/Mime security
icons=marlon  r=kaie  sr=mscott  a=valeski  adt=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121680 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 21:20:56 +00:00
attinasi%netscape.com
5f0ca989b0 Check for null to prevent crash when a native scrollbar is requested on a platform that does nto support it. b=138720 r=kmcclusk sr=kin a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121677 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 21:15:27 +00:00
sspitzer%netscape.com
cbc76df7dc supplimental fix for #119360. it's mozillaHomeState, not mozillaHomeStreet.
r=dmose,sr=bienvenu,shaver, a=rjesup,putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121636 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:51:00 +00:00
rods%netscape.com
68df67103c allows for progress dialog to be turned off
Bug 140183 adt=syd a=chofmann,dbaron,valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121635 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:42:19 +00:00
mkaply%us.ibm.com
5980efcab5 #141528
r=bzbarsky, sr=blizzard, a=chofmann
OS/2 only - new helper app code - more like unix - new protoocl handler code


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121634 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:32:19 +00:00
mkaply%us.ibm.com
7452c85b9c #141820
r=wtc, a=chofmann
OS/2 only - don't quote parameters when calling DosStartSession


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121633 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:28:08 +00:00
mkaply%us.ibm.com
1e1f13f227 #143674
r=me,sr=blizzard, a=chofmann
OS/2 only - change splash from Warpzila to Mozilla


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121632 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:25:11 +00:00
mkaply%us.ibm.com
1bfdcafcb0 #97861
r=cls, a=chofmann
OS/2 only - add OS/2 specific nsTransform2D so Os/2 builds don't suck


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121627 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:21:41 +00:00
rods%netscape.com
b78558faa1 Allows for printed more than one copy for the postscript print module
Bug 139566 r=roland sr=attinasi adt=petterman a=chofmann,dbaron,valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121626 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:20:04 +00:00
rods%netscape.com
9861f30e1d 1) They currently share the same style context resolution
2) It can be difficult to determine whether you are creating/reflowing a UI or

   doc scrollbar (SB)
3) They share the same PresContext which has a single scale value that UI SBs
   need to ignore, but the doc SBs need to use.

This patch does the following:
1) Enables the PrintPreviewContext to turn on and of the scaling of twips
2) When creating a new scrollbar, it checks to see if the frame parent is
   is a viewportframe that way it knows if it is in the UI or in the document
   then for UI scrollbars it turns off the saling, and for doc scrollbars it
   turns it on. This needs to be done at creation time as well as, reflow
   because it GetScaledPixelsToTwips get called during both.
3) The nsSimpleSequenceFrame turns on scaling during its children reflow
   then turns it off.
4) When PrintPreview "setup" is done it turns off the scaling in the
   PrintPreviewContext because any reflowing other usages for
   GetScaledPixelsToTwips will be for UI scrollbars
5) A copy of all the style rules for scrollbars is made and placed inside of
   a media type "print" This way the style resultion for the scaled scrollbars
   in the document are not shared with the UI.
Bug 120616 r=dcone sr=attinasi adt=putterman a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121622 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:59:05 +00:00
(no author)
ed501b059e 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@121615 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:12:34 +00:00
av%netscape.com
5204f1360e Fixing 106411 -- 'Starting plugin...' message is stuck in the status bar, r=serge, sr=beard, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121612 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 12:34:31 +00:00
peterlubczynski%netscape.com
b07b40ca0e Fix for Viewpoint: Adding extra event call (WM_WINDOWPOSCHANGED) for windowless plugins on Windows so that they are updated with their position and bounds. Bug 135737, r=av, sr=attinasi, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121609 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 06:02:43 +00:00
jaggernaut%netscape.com
4ad7f1e776 Bug 139649: Fix IsDependentOn, I forgot to make the ptr and ptr, length based Assign, Append and Insert go through the dependency checks. r=alecf, sr=scc, a=drivers, a=adt.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121605 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 04:36:23 +00:00
timeless%mac.com
f2459da232 fixing build bustage for qnx photon embedding this is from the nsI*File freeze
a=shaver


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121588 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 02:44:51 +00:00
serge%netscape.com
55b08dd44e fix #119494 Acrobat fails to load document from this site [200 expecting 206] r=peterl,sr=darin,a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121586 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 01:09:22 +00:00
rginda%netscape.com
ffbc7660a6 - chatzilla only -
bug 143503, "long channel topic isn't wrapped properly"
r=samuel@sieb.net, sr=shaver@mozilla.org, a=leaf@mozilla.org
insert spaces in long topic words so things can wrap.

bug 140088, "Chatzilla is crashing when switching tabs."
r=samuel@sieb.net, sr=shaver, a=rjesup@wgate.com
don't touch the tree selection while the tree is hidden.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121577 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 23:34:38 +00:00
darin%netscape.com
cf51d1ad90 fixes bug 134793 "browser hangs when [ is put in the URL bar"
r=gagan sr=rpotts a=jesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121576 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 23:34:23 +00:00
mkaply%us.ibm.com
fe7fca9da1 #144554
r=pedemont, sr=blizzard, a=rjesup
OS/2 - remove stupid code that broke mail migration


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121569 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 22:24:05 +00:00
serge%netscape.com
cd24c92cb2 fix #130080 Signing Acrobat doesn't work r=peterl,sr=darin,a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121566 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 22:18:48 +00:00
leaf%mozilla.org
be65bb26c2 update to RC3 text, r=lpham bug 134264
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121565 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 21:52:48 +00:00
serge%netscape.com
90ddac64b6 fix #139572 Payroll W2 form fails to render in Acrobat ( pdf on secure site), r=peterl,sr=beard,a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121564 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 21:41:54 +00:00
waterson%netscape.com
e6f6feeecc Bug 132905. Panic and bail if we can't find a node in the content map. Wallpaper for a topcrash. r=rjc, sr=alecf, a=chofmann,shaver,dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121549 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:27:35 +00:00
darin%netscape.com
b4e1ea9f95 fixes bug 143821 "Trunk M1RC2 crashes with bad connection
[@ nsHttpHandler::ReclaimConnection]" r=kaie sr=jag,rpotts a=shaver+scc+jesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121536 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:58:25 +00:00
darin%netscape.com
2c7a49f756 fixes bug 141796 "Mozilla crashed in http-pipelining code Trunk M1RC2
[@ nsHttpPipeline::GetRequestSize_Locked]" r=jag sr=rpotts a=shaver+scc+jesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121535 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:57:11 +00:00
rods%netscape.com
f6370ccef4 when we are already in PP it ned to get the mOrigDCScale value
from the previous PP data object instead of fetching it from the DC, the DC
contains the current value and it may not represent what is actually the
Original value.
Bug 139459 r=dcone sr=attinasi a=asa,rjesup adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121526 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 11:53:53 +00:00
jkeiser%netscape.com
8fb0709493 Bustage fix.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121523 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 08:38:24 +00:00
darin%netscape.com
07160b3d82 fixing likely mac bustage (removing references to nsAPromiseString.h since
that file no longer exists).


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121519 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 05:01:19 +00:00
jkeiser%netscape.com
dda6dbadfe Make forms close file after submitting. bug 126829, r=dougt@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121517 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 04:56:55 +00:00
jaggernaut%netscape.com
26aaabc693 Bug 139649: Fix string code to use IsDependentOn instead of depending on nsAPromiseString type. r=scc, sr=darin, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121514 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 03:34:52 +00:00
karnaze%netscape.com
52844744bf bug 138725 process out-of-flow frames when first encountered in DoCleanupFrameReferences. Avoid reframing when an inline is appended to an inline that contains a block. a=chofmann, adt=putterman, sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121511 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 02:15:33 +00:00
dcone%netscape.com
006631235e b=143363 r=rods sr=kin a=choffman use deleteDC instead of DeleteObject to delete the DC's
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121508 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 01:25:43 +00:00
rbs%maths.uq.edu.au
678f5fafba Added yet another layer to make Mozilla very robust when font resources run out, the patch makes font metrics to be fail safe or at least very hard to break -- to the point that failure means that the system is barely working (testing showed that Mozilla stayed alive while other applications were dying). This patch differs from the one checked in the trunk in that it doesn't remove wallpaper null-checks added in the past for the problem (these were removed on the trunk), b=136248, r=shanjian, sr=attinasi
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121506 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 00:38:43 +00:00
leaf%mozilla.org
e20087bf71 remove reference to a commented-out debug menu, part of bug 139335,
r=bengoodger, sr=hewitt, a=chofmann on behalf of drivers


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121505 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 00:37:53 +00:00
leaf%mozilla.org
7d4fc36816 removing debug menus from preferences and the navigator toolbar,
bug 139335, r=bengoodger sr=hewitt a=chofmann on behalf of drivers


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121504 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 00:36:17 +00:00
bzbarsky%mit.edu
8a4bb68747 Fix crash on "moz-bitmap:" urls with no bitmap name. Bug 143912,
r=timeless, sr=hewitt/shaver, a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121503 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 00:32:40 +00:00
cltbld%netscape.com
4e211fa8a0 updating user agent for rc3. bug 133797. r=lpham sr=leaf a=asa blanket
version approval.  asasaki checking in as cltbld.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121500 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 00:17:20 +00:00
oeschger%netscape.com
4618d9b438 adding an image to help content, r=cotter, dispensation per 122806
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121496 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 23:38:00 +00:00
(no author)
c0a5bc3dda 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@121495 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 23:37:59 +00:00
oeschger%netscape.com
a02f3f6976 adding an image to help content, r=cotter, dispensation per 122806
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121494 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 23:37:58 +00:00
cotter%netscape.com
6cd2d41b36 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; updated content to match mozilla UI
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121489 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 23:15:40 +00:00
cotter%netscape.com
93608b2018 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; page info updates for toc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121488 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 22:50:47 +00:00
nhotta%netscape.com
fab25ee31b Set a correct accesskey value for "more",
bug 138028, r=naving, sr=bienvenu, a=rjesup@wgate.com, adt.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121485 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 22:45:47 +00:00
smontagu%netscape.com
d8ef8c6365 Perform Bidi reordering on page headers when printing. Bug 139297, r=Roland.Mainz@informatik.med.uni-giessen.de, sr=attinasi
a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121478 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:36:14 +00:00
shanjian%netscape.com
cb972e1f0e #141887 file:// protocol does not display non ASCII folder name under cjk window system
On CJK system, we have to use mbsrchr to identify the last "\" of a string.
r=dougt, sr=alecf, a=asa, adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121455 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 04:57:06 +00:00
mkaply%us.ibm.com
af14ded3fc #114891
r=nhotta, sr=blizzard, a=rjesup
New enum for specifying charset of 4.x prefs.js


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121454 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 04:19:29 +00:00
mkaply%us.ibm.com
6aa16322cb #114891
r=nhotta, sr=blizzard, a=rjesup
New enum for specifying charset of 4.x prefs.js


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121453 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 04:13:02 +00:00
mkaply%us.ibm.com
5a0d585550 #144275
r=pedemonte, sr=blizzard, a=rjesup
OS/2 only - use button 2 for drag


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121449 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 04:03:04 +00:00
bryner%netscape.com
447d10c73f Make Return/Enter on Mac always activate the default accept button (bug 132720). r=hewitt, sr=ben, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121448 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 03:28:07 +00:00
dougt%netscape.com
a514b9a490 Attempting to fix bustage on OS/2.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121441 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:44:04 +00:00
locka%iol.ie
2dac4a584c Stop image control frame changing the event status on events after they have been handled. Prevents context menu events propogating up through parents. b=143033 r=saari@netscape.com sr=jst@netscape.com a=asa@mozilla.org a=jaimejr@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121430 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:48:16 +00:00
ducarroz%netscape.com
2d65aaeb5c Fix for bugscape 15399/bugzila 139251. Fix Body of Multipart/alternative message with attachment not included when forwarded. R=cavin, SR=mscott, A=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121429 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:47:24 +00:00
locka%iol.ie
81cfb6b041 Fix for crash in mousewheel message handler when wheeling over other gecko apps. b=137213 r=bryner@netscape.com sr=alecf@netscape.com a=asa@mozilla.org a=putterman@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121428 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:45:20 +00:00
darin%netscape.com
658d17a08a fixing mac bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121417 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:01:13 +00:00
darin%netscape.com
7ed400413d fixes OS/2 bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121415 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 23:56:24 +00:00
darin%netscape.com
8f84341661 fixing mac bustage (bug=129279)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121414 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 23:31:14 +00:00
darin%netscape.com
f4b6547ce1 fixing OS/2 bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121413 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 23:18:49 +00:00
darin%netscape.com
fba63e7c60 fixes mac bustage (b=129279)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121412 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 23:17:33 +00:00
darin%netscape.com
8514da82d2 landing nsIFile API changes (b=129279)
r=dougt sr=alecf a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121404 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 22:09:29 +00:00
danm%netscape.com
2e5b4e7927 null guard gLastFocusedContent in PreHandleEvent. bug 142918 r=jst,saari a=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121398 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 21:24:09 +00:00
varga%utcru.sk
47d9eca542 Fix for bug 133351 - Bookmarks cannot be moved by drag in sidebar.
r=pink, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121395 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 21:00:49 +00:00
seawood%netscape.com
eaeb0298a2 Use debug() instead of dump() so that js component registration output only show
s up in debug builds.
Bug #138726 r=rginda sr=alecf a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121365 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 03:37:33 +00:00
alecf%netscape.com
327ecc2f83 fix for bug 142568 - license (Comment) only change - fix unicharutil library to be triple licensed, so that it can be used in galeon
r=tao, sr=jag, a=asa
(no adt because this is a licensing-only change, no code is changed here)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121359 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 01:36:04 +00:00
rpotts%netscape.com
63384d1830 bug #99627 (r=chak, sr=mscott, a=asa) Mark nsIURIContentListener as frozen
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121332 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 05:16:22 +00:00
oeschger%netscape.com
9349315a9a small updates to the search db, dispensation per 122806, r=cotter
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121325 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 01:50:49 +00:00
tingley%sundell.net
6927396daf Fix for bug 89065 to make text-decoration: blink work again.
r=dbaron sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121318 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 00:42:34 +00:00
rjesup%wgate.com
072579ba85 Bug 143031: bookmarks in toolbar always becomes a drag when opened. r=jag,
sr=blizzard, a=rjesup/asa/etc (checking in for Blake at Asa's request).


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121252 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 07:08:07 +00:00
sspitzer%netscape.com
a76e8d6662 fix for #119360.
addressbook export to ldif, re-import is lossy.
fix two issue, multi line attributes need to be base64 encoded
and there are several attributes that are not being exported / imported.
r=dmose, sr=bienvenu.  a=putterman,asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121251 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 06:41:06 +00:00
pete.zha%sun.com
0810edec5f bug 139877:right-click context menu access keys require "enter" to perform action
r=pete.zha@sun.com sr=jag a=asa
Check in for Kyle Yuan(kyle.yuan@sun.com)'s fix


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121250 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 05:44:59 +00:00
dmose%netscape.com
e952bcd424 Set maximum LDAP I/O timeout to 10 seconds (bug 143172). This significantly mitigates the pain of the connection hang bug (bug 79509). r=mcs@netscape.com, sr=sspitzer@netscape.com, a=asa@mozilla.org, adt=putterman@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121249 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 05:35:45 +00:00
mkaply%us.ibm.com
6884165424 #142695
r=mkaply, sr=blizzard, a=rjesup
OS/2 only - code from Jessica Blanco - don't use CRLF in printer names


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121246 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 03:29:19 +00:00
oeschger%netscape.com
a521a1b0e2 adding some new content to help, r=cotter, dispensation per bug 122806
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121245 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 03:19:56 +00:00
mkaply%us.ibm.com
72a95558c8 #137782
r=pinkerton, sr=jst, a=asa
Change for OS/2 only - use right mouse button for drag


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121244 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 03:08:37 +00:00
mkaply%us.ibm.com
050a707758 #141833
r=tartak, sr=blizzard, a=rjesup
OS/2 only - better error checking for icon decoder


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121242 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 02:57:06 +00:00
blizzard%redhat.com
052d83d570 Bug #22337. Make it possible to install private colormap on 8 bit displays. r=pavlov,s=brendan,a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121241 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 02:07:00 +00:00
timeless%mac.com
682e0c7c38 Bug 87965 Can't expand chrome/*.jar files on ARM
patch by jeroen.dobbelaere@acunia.com
r=dveditz sr=brendan a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121240 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 02:00:12 +00:00
blizzard%redhat.com
c399a0d6b1 Bug #140767. Menus don't open when hovered while another menu is open. Don't drop motion events when there's a rollup listener and the event isn't over a popup window. r=rjesup,sr=shaver,a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121238 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 01:53:10 +00:00
katakai%japan.sun.com
213e72aaf3 bug 142873
Can't turn on IM after a popup window opens
Call SetFocus() of XIC again to the current focused widget
r=blizzard,sr=shaver,a=asa(for1.0branch)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121232 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 01:19:50 +00:00
bryner%netscape.com
919dac4da6 Fix undefined entities in hiddenWindow.xul, the cause of missing menus on Mac when no windows are open (bug 143141). r=jag, sr=hewitt, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121228 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 00:36:07 +00:00
rginda%netscape.com
022fbb7508 - chatzilla only -
Bug 140088 Chatzilla is crashing when switching tabs.
rs=blizzard, a=asa
spackle to avoid crasher.  don't tweak the tree root if the tree isn't visible.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121223 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 00:03:48 +00:00
cotter%netscape.com
5e3510d4b1 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; correction to previous update.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121214 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 23:16:12 +00:00
brendan%mozilla.org
ae1a1cd55d Fix old bogus static dollarStr thread-safety bug (142651, r=jband, sr=shaver, a=asa).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121206 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:51:44 +00:00
cotter%netscape.com
d44e782fba ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; misc. privacy & security updates, corrections
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121199 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:25:24 +00:00
shanjian%netscape.com
21b640baee #143132 Installation failed when installing under some locales
removed dependency on charset conversion modules.
r=syd, sr=mscott a=asa, adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121158 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 06:51:33 +00:00
darin%netscape.com
aa9bee63fc fixes bug 139817 "M1RC1 topcrash [@ nsHttpChannel::OnStartRequest]"
r=gordon sr=jst a=asa ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121157 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 06:43:49 +00:00
bryner%netscape.com
35b56c75c2 Don't crash if the view manager has gone away before a menu popup is dismissed. Bug 126277, r=ben, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121156 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 05:21:48 +00:00
bryner%netscape.com
6991439448 Fix positioning of XUL popups inside an iframe. Bug 129782, r=pavlov, sr=ben, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121153 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 05:19:23 +00:00
jst%netscape.com
7bee723d56 Fixing bug 143088. Freezing the interfaces nsIDOMWindow, nsIDOMWindowCollection, and nsIDOMBarProp. Comment changes only, no real code changes. r=fabian@bluishgecko.net, sr=vidur@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121151 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 04:47:15 +00:00
jst%netscape.com
df2a5275d4 Fixing bug 140462. String manipulation problems in the fragment getters for nsIURI that caused problems when accessing href.pathname n' friends. r=bbaetz@student.usyd.edu.au, sr=darin@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121149 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 03:24:46 +00:00
bzbarsky%mit.edu
aff4e0bb2f Bug 139624 (minor fixes to view-source menus). Patch by
gregvalure@yahoo.com (Greg Valure), r=bzbarsky, sr=alecf, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121144 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 02:55:53 +00:00
dougt%netscape.com
b81d803390 Fix for 117628. DNS reset on failure. r=brendan, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121141 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 02:24:12 +00:00
darin%netscape.com
ab6ac0a31d fixes bug 142843 "mozilla ignores 'Expires: 0' and 'Pragma: no-cache' when
sent with a 'Last-Modified' header"
r=bbaetz sr=rpotts a=valeski,chofmann ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121128 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 00:01:12 +00:00
cotter%netscape.com
472d6e0cfb ongoing s help content updates per bugzilla 122806 & ADT, r=oeschger; misc. privacy & security content & formatting updates
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121125 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 23:29:29 +00:00
(no author)
d0c0a6a921 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@121123 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 23:25:41 +00:00
seawood%netscape.com
72900e0edb BeOS needs unistd.h for read() and friends.
Fixing tinderbox bustage.
Bug #109913 a=shaver


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121120 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 23:20:48 +00:00
ben%netscape.com
cbe2249b39 bug 129980 - crash right clicking while loading victoria's secret page.
A must fix!
Patch by hewitt@netscape.com, r=peterl, sr=ben@netscape.com, contact selmer@netscape.com for any questions ;-)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121056 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 09:25:35 +00:00
ssu%netscape.com
ab0aa7118c fixing bug 142805 - Installation failed when installing 1.0 build on JA RH 7.1. r=dprice sr=jag a=leaf, adt1.0.0
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121051 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 07:33:44 +00:00
mstoltz%netscape.com
a4c3785f50 Bug 133170 - Do a same-origin security check after redirects on XMLHttpRequest
and document.load calls. Also enable HTTP basic-auth dialog for both functions.
r=heikki, jst sr=jband, a=chofmann, putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121049 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 06:30:55 +00:00
leaf%mozilla.org
28fea7fe7d allow pulling by using MOZ_DATE in addition to the usual branch tag.
bug 142906, a=asa, r=cls


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121043 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 05:53:09 +00:00
dbragg%netscape.com
ba98c54594 localeVersion update for RC2. Using string 1.0.0rc2. Fixes bug 142823 r=tao, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121029 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 01:19:10 +00:00
jaggernaut%netscape.com
2250ff40dc Bug 142871: Need way to override navigator window title, r=bryner, sr=alecf, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121019 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:43:59 +00:00
jkeiser%netscape.com
e2b8fd356a Allow javascript URI form submits to call .submit(). bug 139798, r=alexsavulov@netscape.com, sr=attinasi@netscape.com, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121001 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:47:13 +00:00
caillon%returnzero.com
a33ccabd1e 142711, add a trailing slash to the default homepage to avoid an extra connection for the user and save some load on the server. r=timeless, sr=shaver, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120997 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:16:13 +00:00
brendan%mozilla.org
3c96562702 Avoid toSource bloat in e.stack; fix related crash due to unrooted errObject in js_ErrorToException (139316, r=rginda, sr=shaver).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120991 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:59:56 +00:00
jaggernaut%netscape.com
80bafa48f9 Bug 129428: Paste doesn't work in bookmark manager. Patch by ben@netscape.com, r=pierrechanial@netscape.net, sr=jag, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120988 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:55:49 +00:00
bienvenu%netscape.com
ef779b7b11 checking in fix for 141028 from trunk, shutdown crash in nsMsgDatabase a=drivers
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120947 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:53:11 +00:00
kaie%netscape.com
b1ac5dd228 b=139329 Crashes trying to send signed mail.
r=javi sr=alecf a=asa adt=jaimejr


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120933 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 09:39:13 +00:00
brendan%mozilla.org
db876e378d Fix script attribute handling so type trumps language (135493, r=heikki, sr=jst, a=asa).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120927 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 09:08:29 +00:00
racham%netscape.com
ea4c27d979 Fixing bug 142627. Making copies and folders settings to hold. Landing for Navin. r=bhuvan, sr=bienvenu, a=asa,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120922 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 07:30:17 +00:00
rginda%netscape.com
9bed9c8290 bug 140088, "Chatzilla is crashing when switching tabs."
patch=jst, r=rginda, sr=hyatt, a=asa
clear element box object when the element is removed from the document.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120918 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 03:24:13 +00:00
dprice%netscape.com
6d752f5d9b 142170 r=ssu sr=jag adt=jaime a=asa
add message= flag to RunApp sections of .ini files

142282 r=ssu,syd,dprice sr=mscott adt=jaime a=chofmann
add supercede attribute to Components sections of .ini files


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120914 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 02:44:12 +00:00
dougt%netscape.com
8fc073e52b Relanding dveditz's xpinstall/unicode patch. bugs 142107/125107 r=dougt, sr=alecf, a=asa/chofmann, adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120886 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 22:10:05 +00:00
saari%netscape.com
5a31496eb0 fix form bugzilla 142138, adding null checks to prevent embedding layer from exploding when processing an activate event during window teardown. sr=jag, r=chak, adt and driver approved, kid tested
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120852 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 19:36:22 +00:00
bzbarsky%mit.edu
3519bd22cf 140262 - context menu for input type=password should include
paste. r=biesi sr=blake, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120804 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 22:43:59 +00:00
blakeross%telocity.com
cb38baf4c8 137815 - crash hitting enter key before panel content finishes loading [@nsTreeSelection::FireOnSelectHandler]. r=bryner sr=ben a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120801 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 20:34:35 +00:00
sgehani%netscape.com
dd53284abb Disable dropping onto toolbar folders on unices.
b=96504; r=law; sr=blizzard; a=shaver


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120800 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 18:30:12 +00:00
darin%netscape.com
0b3df0b317 cleaning up documentation, marking some interfaces frozen, and splitting
up some interfaces into separate IDL files (b=124465)
reviewed by dougt and bbaetz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120799 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 17:55:27 +00:00
bryner%netscape.com
fd5e4b32c1 Checking mkaply's OS/2 bustage fix into the branch.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120795 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 03:34:22 +00:00
bryner%netscape.com
b8ed7d5184 Make the XUL cache lock gc'ing of script objects while they are in the cache, to prevent pulling out a bogus JSObject. Bug 132216, r=waterson, sr=brendan, a=asa (and hopefully no OS/2 bustage this time).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120791 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 19:06:54 +00:00
bryner%netscape.com
6c88206d50 Adding the functions JS_LockGCThingRT and JS_UnlockGCThingRT, which are variants that only require a JSRuntime, not a JSContext. Converted some internal callers to use the new interface. Bug 141356, patch from shaver, r=bryner, sr=brendan, a=asa (via bug 132216).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120784 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 07:54:59 +00:00
ducarroz%netscape.com
6300150636 Fix for bug 137627. Need to check for null pointer to avoid to crash in some specific cases.
R=kaie, SR=sspitzer, A=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120775 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:29:31 +00:00
oeschger%netscape.com
fa48dfcca2 updating help content, dispensation per 122806: adding entries to search database, r=cotter
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120774 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:28:49 +00:00
mscott%netscape.com
8ae38475b0 Bug #121583 --> work around the infinite reflow loop in various windows that use tree widgets by
forcing a min height and min width on the the tree. This fixes the famous 100 % CPU hang.

Patch from kin@netscape.com
r=mscott
sr=hyatt
a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120763 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:35:18 +00:00
ssu%netscape.com
d8b7e7f848 fixing bug 141858 - unexpected setup\setup.exe error message after installing browser, r=dprice, sr=mscott, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120760 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:20:03 +00:00
yokoyama%netscape.com
89fbc40586 Bug 139842
Mail/News only.  Freeze when user scroll the msg header.
- infinite loop caused by creating an invalid UTF-8 string.
- invalid UTF-8 string was created when Unicode Decoder failed.
/r=nhotta, /sr=bienvenu, /a=asa, /adt=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120757 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:13:56 +00:00
brendan%mozilla.org
3fca8a4975 Fix js_SetProtoOrParent to handle non-native and native-but-incompatible-class-change proto-setting scenarios (140164, r=khanson, sr=jband, a=rjesup).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120756 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:11:05 +00:00
rginda%netscape.com
e9031b6800 - venkman only -
bug 137327, r=caillon@returnzero.com,a=shaver
translate null to -1 in getParentIndex return, to avoid infinite loop


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120754 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:04:07 +00:00
rginda%netscape.com
efbd75a0b3 - cview only -
bug 137327, r=caillon@returnzero.com,a=shaver
translate null to -1 in getParentIndex return, to avoid infinite loop


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120753 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:03:28 +00:00
rginda%netscape.com
cb74781241 - chatzilla only -
correct the command name for the View->Open At Startup option


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120752 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 23:59:49 +00:00
(no author)
62ca5a2c59 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@120746 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 23:27:34 +00:00
dougt%netscape.com
bb399b0937 Fixes 138254 and 138157. Both are related to ftp uploading and publishing. r=bbaetz sr=darin, a=scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120741 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 22:53:58 +00:00
leaf%mozilla.org
1bff3d0f84 missed some of dveditz's files
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120737 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 22:31:21 +00:00
timeless%mac.com
a672bca9fe 3.46 <wtc@netscape.com> 11 Apr 2002 11:34
Deleted a printf statement in the Neutrino builds. Bug 135692.
a=scc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120735 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 22:05:12 +00:00
leaf%mozilla.org
8b85480c73 backing out dveditz's unapproved checkin (and pink's subsequent mac
build-bustage fix).


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120730 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 21:41:44 +00:00
pinkerton%netscape.com
c22abfef1a fix bustage, cast required for wchar_t.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120698 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 15:31:23 +00:00
dveditz%netscape.com
a65215f7d3 bug 125106,126276 make Installer (particularly Windows) work on localized OS's. Also fixes 84492 and bugscape 14315. r=dougt/sr=alecf.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120689 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 11:32:32 +00:00
rods%netscape.com
4c2e366f9b Add strnig for can't print xul docs error
Bug 136185 r=dcone sr=attinasi a=scc adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120688 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 11:07:43 +00:00
hyatt%netscape.com
fcc1b296a8 Fix for 121583. r=ben, sr=kin, adt=selmer
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120679 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 07:03:27 +00:00
mhammond%skippinet.com.au
954a04b866 Merge from trunk.
Not part of the build.  Global a= for this part of the tree.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120670 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 05:16:44 +00:00
smontagu%netscape.com
2b62bd490c Fix hang and crash when pressing ENTER in Hebrew text fields. Bug 95228, r=lkemmel@il.ibm.com, jkeiser; sr=waterson, attinasi; a=shaver,asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120668 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 05:02:29 +00:00
law%netscape.com
969733934b Bug 141330 (for branch); a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120661 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 04:10:47 +00:00
timeless%mac.com
92504d633b Bug 137171 XML-RPC bug handling dates with months 10 and over
patch by samuel@sieb.net r=rginda sr=sspitzer a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120659 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 04:09:59 +00:00
law%netscape.com
6345f05f54 Bug 141647 (for branch); ensure profile is selected when opening window; this is needed to handle command line options that include -turbo and some other option that causes a window to open; r=jelwell@netscape.com, sr=jaggernaut@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120650 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:15:36 +00:00
sspitzer%netscape.com
aaef08a0d4 fix for #140094. typo in attribute name leads to LDIF dataloss.
thanks to dp for the fix.  r=blizzard,sr=bienvenu,a=shaver


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120642 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 02:52:33 +00:00
sspitzer%netscape.com
bc513f36aa fix for bugzilla bug #137886. add support for re-migration of defunct
profiles.  r=ccarlen, sr=bievenu, a=chofmann.  thanks to ccarlen for the
initial patch.  by default, no re-migration for mozilla builds.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120637 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 02:33:39 +00:00
mhammond%skippinet.com.au
344a2a950f Merge from trunk.
Not part of the build.  Global a= for this part of the tree.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120628 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:32:51 +00:00
cotter%netscape.com
afd9deff38 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; minor updates for certs help.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120626 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:22:20 +00:00
mhammond%skippinet.com.au
21c1975abf Only support dynamic linking - finally works for both Windows and Linux :)
Not part of the build.  Global a= for this part of the tree.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120621 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 00:59:23 +00:00
pavlov%netscape.com
f01bb5c354 part of earlier checkin for timers. r=rjesup sr=rpotts a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120600 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 23:00:10 +00:00
mkaply%us.ibm.com
5738f2de70 #141676
r=pedemonte, sr=blizzard, a=rjesup
OS/2 only - don't add the hidden window to the task list


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120598 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:58:01 +00:00
khanson%netscape.com
b1bcc03db3 Patch for Bug #138666, memory leak in jsdtoa.c, sr=brendan, r=khanson, a=chofmann, has adt approval
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120596 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:56:50 +00:00
pavlov%netscape.com
f57bfe8089 checking in bug 129953 into the 1.0 branch. part 2 of 2. r=rjesup sr=rpotts a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120586 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:52:30 +00:00
pavlov%netscape.com
9696b2257b checking in bug 129953 into the 1.0 branch. part 1 of 2. r=rjesup sr=rpotts a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120584 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:46:09 +00:00
blizzard%redhat.com
6308211d36 Use an nsFixedSizeAllocator to legalize the bit-packing's assumption that
all nsXULAttributes pointers will be 8-byte aligned. Bug 124335, r=brendan,
sr=waterson, a=rjesup (shaver's bug.)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120583 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:37:37 +00:00
pinkerton%netscape.com
087b513af8 remove portions of smfr's last scrolling optimization. the OffsetRgn calls seem un-necessary and caused problems with redrawing outliners and scrolling while windows overlapped the scrolled widget. r=sdagley/sr=beard/a=asa. bug# 141249
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120572 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:03:32 +00:00
rjesup%wgate.com
55781765c2 Bug 125489: mkdir issues causing problems with Privacy/Security & Tasks
menus. r=dougt  sr=brendan a=scc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120571 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:59:43 +00:00
tor%cs.brown.edu
0b880c3f33 Bug 53597 - make gamma correction (or lack thereof) consistent.
r=dbaron, sr=brendan, a=roc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120568 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:40:35 +00:00
peterlubczynski%netscape.com
07c3528f53 Implementing plugin scanning in their installation folders and fixing Real Player in the components folder, bug 133282 r=av, sr=attinasi,waterson a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120567 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:40:10 +00:00
tor%cs.brown.edu
433f63c85f Bug 137694 - only create the 1-bit GC once we've created a 1-bit pixmap.
r=pavlov, sr=blizzard, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120566 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:37:48 +00:00
sicking%bigfoot.com
2c9d5ffb80 Bug 140687: Make substring() work for all startindexes.
r=Pike sr=jst a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120546 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 14:59:41 +00:00
rjesup%wgate.com
57359a5752 Bug 141718: 1.0 needs to have it's own start page. r=gerv, sr=shaver, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120545 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 14:53:14 +00:00
kaie%netscape.com
dd0a7ce7ea b=139948 SSL Tooltip not updated when going from one ssl site to another
r=javi sr=jag a=rjesup adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120532 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 07:58:59 +00:00
timeless%mac.com
0d02bd205a bug 139989, Fieldset needs prettier default border
patch by mabus@runbox.no, r=axel@pike.org, sr=ben, a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120531 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 07:15:43 +00:00
mkaply%us.ibm.com
8cf733bbc1 #140574
r=mkaply, sr=blizzard, a=rjesup@wgate.com
OS/2 only - Remove unnecessary pixelscale - fix print preview scaling


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120520 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 03:22:50 +00:00
bryner%netscape.com
b5cb98b819 Fixing mach-o build bustage on MOZILLA_1_0_0_BRANCH. a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120516 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 03:17:58 +00:00
rbs%maths.uq.edu.au
90402b9a8c bug 121748 - stretch fences at a size that fully covers non-fences. Also improve the height of token elements such as <mi> when they involve symbol fonts with weird metrics, r=roc+moz, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120489 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:37:40 +00:00
brendan%mozilla.org
6423619c8f Followup fix for 138791, neil@parkwaycc.co.uk's superior bit-fu (r=rjesup, sr=waterson, a=asa).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120488 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:35:46 +00:00
rginda%netscape.com
9209ff62fe bug 135455, Missing chatzilla icon in Window dropdown menu
patch=mailto:andreas.premstaller@uibk.ac.at, r=rginda,sr=ben,a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120482 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:06:19 +00:00
(no author)
a0d1145f8e 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@120481 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:06:13 +00:00
rginda%netscape.com
74e73e10f3 bug 135455, Missing chatzilla icon in Window dropdown menu
patch=mailto:andreas.premstaller@uibk.ac.at, r=rginda,sr=ben,a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120480 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:06:12 +00:00
cavin%netscape.com
238feddbd6 Fix for 123804 and 138804. Put child folders in the pending list when parent folders are missing and process these child folders when parent folders show up. r=ducarroz, sr=sspitzer, a=rjesup@wgate.com, adt=jaimejr.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120477 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:04:10 +00:00
brendan%mozilla.org
a978be0193 Avoid opening and trying to reopen in CopyTo, so we work on FAT32 filesystems mounted on Linux (e.g.; 134163, r=dougt, sr=waterson, a=asa).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120472 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:50:20 +00:00
naving%netscape.com
cb5b4b1b01 138297 r=bienvenu sr=mscott a=rjesup Fix problems with single profile filter for imap accts when using quick
launch. Don't null the filter list on server unless we are unloading it.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120471 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:47:23 +00:00
brendan%mozilla.org
3ec439a1fd Don't 'constant-fold' if(false)var foo=42 into nothing (140974, r=khanson, sr=shaver, a=asa).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120469 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:40:14 +00:00
jkeiser%netscape.com
c16ff0faf0 Fix Mac radio button click / general event crasher. bug 134934, r=saari@netscape.com, sr=attinasi@netscape.com, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120463 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:03:28 +00:00
ssu%netscape.com
506b99572b fixing bug 100822 - Shut down running browsers after download. r=curt sr=dveditz a=drivers,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120460 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 21:51:09 +00:00
av%netscape.com
4679a340c1 Backing out changes from fixing bug 104611 as it may have caused a regression in page load time, see bug 141518
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120446 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 18:09:45 +00:00
bzbarsky%mit.edu
9bc7ddddf4 Landing Neil's fix for bug 132682 - Twisties aren't clickable in History
Sidebar, r=varga, sr=alecf, a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120442 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 15:00:58 +00:00
mhammond%skippinet.com.au
a9d5b91669 Oops - screwed up last checking - windows tries to init/finalize twice!
Not part of the build.  Global a= for this part of the tree.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120434 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 14:03:24 +00:00
mhammond%skippinet.com.au
64a4b4e041 s/false/0/ - must have been in js mode :)
Not part of the build.  Global a= for this part of the tree.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120433 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 14:02:24 +00:00
rods%netscape.com
bb57de0d36 This line got backed out of the trunk, but not the branch and should have
Discovered by Bug 140116
Bug 64165 r=jkeiser sr=attinasi a=asa adt=jamime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120430 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 13:03:22 +00:00
rods%netscape.com
ade3fc802f safety check to keep it from crashing
The safety checks in finalize_translation is the key to stopping the crash, but
the added ones in end_document are important also.
Bug 139369 r=dcone,roland sr=attinasi adt=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120427 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 11:36:07 +00:00
blizzard%redhat.com
c478573816 Bug #129591. nsWindow::Enabled is a no-op on GTK. Also fixes bug #65521 ([linux] modal dialogs should only freeze parent window (not all windows)) and bug #130855 (clicking on menuitem with submenu often activates an item on the submenu). Rewrite events to be much more sane. r=bryner, sr=jst, a=rjesup,shaver
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120418 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 04:05:29 +00:00
dbaron%fas.harvard.edu
6d80075884 Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120417 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 03:55:40 +00:00
hewitt%netscape.com
3eb34b884b 134195 - trees don't work in builds installed over old builds, r=dbaron, sr=jag, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120415 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 03:15:50 +00:00
hewitt%netscape.com
4353adcf44 123834 - no text in wizard buttons on mac, r=andreww, sr=ben, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120409 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 03:02:56 +00:00
dbaron%fas.harvard.edu
8ce8efd86e Add command-line tool for parsing CSS files. b=139943 sr=waterson r=attinasi a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120407 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:54:11 +00:00
cotter%netscape.com
22af3d19b0 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; misc. SDX & interface updates
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120399 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:34:47 +00:00
chak%netscape.com
3e667aeba3 Fix for #141247 - Enable HTML dir listings
r=dougt, sr=darin, a=adt, a=drivers


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120391 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:01:11 +00:00
chak%netscape.com
9717ee655a Fixes #141235. Indexed-html converter doesn't handle parent directories for file protocol.
[Checking in for dougt]
r=chak@netscape.com, sr=darin@netscape.com, a=adt, a=drivers


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120390 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:59:33 +00:00
darin%netscape.com
8bf0331753 fixes bug 141061 "XMLHttpRequest allows reading of local files"
r=mstoltz sr=heikki a=asa ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120379 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:20:13 +00:00
darin%netscape.com
131bb3f6bb fixes bug 138877 "Browser crashes if HREF contains entity #9619; M1RC1
topcrash [@ MSVCRT.DLL - PR_Free] [@ libc.so.6 - PR_Free]"
r=nhotta sr=rpotts a=asa ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120378 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:15:12 +00:00
bzbarsky%mit.edu
b0533dc7a4 Disable Link Toolbar on the branch only. Bug 138496, patch by
sballard@netreach.net (Stuart Ballard), r=bzbarsky, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120374 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:39:47 +00:00
dprice%netscape.com
2464767a0e 139641 r=ssu sr=dveditz a=rjesup adt=putterman
add flexable directory lookup to the install wizard


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120371 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:22:38 +00:00
(no author)
b3ff479e57 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@120366 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:03:58 +00:00
danm%netscape.com
8edc1bfe80 two new makefiles in xpfe/components/autocomplete/resources. bug 120155 r=bryner,jag a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120350 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:37:55 +00:00
danm%netscape.com
9151441b62 process resources directory, Windows-only. bug 120155 r=bryner,jag a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120349 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:36:45 +00:00
danm%netscape.com
e90f36f1ba process content directory. bug 120155 r=bryner,jag a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120348 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:35:38 +00:00
danm%netscape.com
b085bafb64 force popup widget to be invisible when the menu is not explicitly open. bug 120155 r=bryner,hyatt a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120346 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:34:27 +00:00
danm%netscape.com
ab66163d40 new empty makefile to process jar.mn. bug 120155 r=bryner,jag a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120345 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:33:16 +00:00
danm%netscape.com
f72164b69a windows-only override for autocomplete.css bug 120155 r=bryner,jag a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120343 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:32:05 +00:00
danm%netscape.com
0a3fb441b8 windows-only version with visibility:hidden rule. bug 120155 r=bryner,jag a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120342 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:31:31 +00:00
karnaze%netscape.com
ace6774c42 bug 138292 - add a non table related frame to its parent frame's child list when the parent frame is an anonymous table cell frame, a=rjesup, adt=putterman, sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120341 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:21:58 +00:00
(no author)
90cc2ae2ad 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@120339 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:10:23 +00:00
varada%netscape.com
486c6118e2 fix for 141314;associate the right smtp server with each account;r=racham;sr=sspitzer
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120337 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:08:39 +00:00
naving%netscape.com
84438fad56 139833 r=racham sr=sspitzer a=rjesup default sent/templates/drafts folder uri's should use internal names,
do not use localized names.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120332 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:37:57 +00:00
av%netscape.com
c9db4ed2fd Fixing 106411 -- 'Starting plugin...' message is stuck in the status bar, r=serge, sr=beard, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120321 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 20:54:11 +00:00
darin%netscape.com
0dd4d12051 fix assertion in nsHttpPipeline due to missing NS_INIT_ISUPPORTS... this
patch was meant to land along with yesterday's pipelining landing.
r=gagan sr=rpotts a=chofmann ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120315 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 20:08:30 +00:00
jkeiser%netscape.com
584cad73f4 Fix form restoration for pages with multiple forms. bug 138892, r=rods@netscape.com, sr=attinasi@netscape.com, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120314 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 19:52:45 +00:00
varga%utcru.sk
e851fcf629 Fix for bug 135002 - timing issues in the outliner content model.
r=bryner, sr=hewitt, adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120304 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 16:22:31 +00:00
rods%netscape.com
c8cd4c0142 forgot about this additional change
Bug 136185 r=dcone sr=attinasi a=asa adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120294 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 10:57:46 +00:00
rods%netscape.com
eed8ea112d temp fix so XUL document won't print
Bug 136185 r=dcone sr=attinasi a=asa adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120293 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 10:46:26 +00:00
law%netscape.com
0cdefef72b Bug 136188 (for branch); add support for WWW_GetWindowInfo DDE topic; r=John Weilander (support@kaylon.com); sr=roc+moz@cs.cmu.edu, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120290 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 07:57:42 +00:00
sspitzer%netscape.com
7bc93da4c9 fix build issue. thanks to jefft for the patch.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120289 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 06:33:18 +00:00
mstoltz%netscape.com
6505f6ae3f Bug 140133 - Changing dangerous strcpy call to strncpy, and null-terminating
the result. r=nhotta, sr=heikki, a=asa, putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120286 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 04:18:32 +00:00
av%netscape.com
327e48530d Fixing 132430 -- Real JukeBox breaks the Plugin Finder Service, r=peterl, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120278 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 02:16:40 +00:00
av%netscape.com
ecc5bf01f7 Fixing 132430 -- Real JukeBox breaks the Plugin Finder Service, r=peterl, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120277 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 02:08:01 +00:00
av%netscape.com
56e1aee489 Fix 132430 -- Real JukeBox breaks the Plugin Finder Service, r=peterl, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120276 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 02:06:14 +00:00
law%netscape.com
01f4d66b6b Bug 141068; turn on the pref that will cause exit when last window closes in turbo mode, if the user has multiple profiles, r=sgehani@netscape.com, sr=jaggernaut@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120275 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:55:45 +00:00
darin%netscape.com
e5e4f0b26c fixes bug 93054 "implement HTTP/1.1 pipelining" (disabled by default)
r=gagan sr=rpotts a=chofmann ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120268 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:11:16 +00:00
mhammond%skippinet.com.au
a792c0ba44 s/wchar_t/PRUnicode/ for Linux.
Not part of the build.  Global "a=" for this part of the tree.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120267 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:05:19 +00:00
mhammond%skippinet.com.au
9f7c157dc0 Add some standard header files.
Not part of the build.  Global "a=" for this part of the tree.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120266 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:04:01 +00:00
bzbarsky%mit.edu
a1c5d620cf Make selecting parts of a line in align:justify work right on
Mac/Linux.  Bug 58704, r=akkana, sr=kin, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120255 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 23:54:43 +00:00
mhammond%skippinet.com.au
647489f91d Remove signed/unsigned mismatch warning.
Not part of the build; global "a=" for this part of the tree.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120251 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 23:23:37 +00:00
mhammond%skippinet.com.au
79017aee7c Ensure result code always initialized, even when we don't go around the loop
Not part of the build; global "a=" for this part of the tree.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120250 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 23:22:52 +00:00
mhammond%skippinet.com.au
7093aeefa2 Yet another attempt at portable library init and finalize. Thanks to
Christof Meerwald.

Not part of the build; global "a=" for this part of the tree.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120249 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 23:22:16 +00:00
mkaply%us.ibm.com
9187ea31c1 #140538
r=pedemont, sr=blizzard, a=asa
OS/2 only - fix some edge cases where file dialog didn't appear, general cleanup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120245 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 22:50:50 +00:00
serge%netscape.com
959b0bd890 fix #131153 [PDF plugin doesn't work, it expects file extension for stream type == StreamType_AsFile] r=peterl,sr=darin,a=asa,adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120244 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 22:48:32 +00:00
varga%utcru.sk
e9b4d1c37e Fix for bug 135294 - Click on splitter causes semi-hang.
r=hwaara, sr=ben, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120240 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 22:37:13 +00:00
leaf%mozilla.org
4de9db38fa update to release candidate 2 in case we do one ;) r=aki, bug 134264
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120237 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 22:06:33 +00:00
jj%netscape.com
95537ada6b bugscape 13170: updating 'vers' 2 again (in fact restoring rev 1.9.44.2)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120234 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 22:03:26 +00:00
jfrancis%netscape.com
c7287e9c01 branch landing of 100855: getting correct ui feedback in composer's paragraph format menu. r=brade, sr=kin, adt=jaime, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120225 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 21:19:12 +00:00
locka%iol.ie
d096ea5ef8 Add missing scrollbar graphic. b=138692 r=adamlock@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org a=jaimejr@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120224 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 21:14:48 +00:00
radha%netscape.com
5cff0b49e8 Fix for bug # 138134. General anchor traversal broken by ScrollIfAnchor(). r=adamlock sr=alecf a=rjesup. Approved by ADT.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120223 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:58:23 +00:00
law%netscape.com
1986167e81 Bug 133120; re-applying this fix on the branch, it was previously applied weeks ago but I screwed up CVS and it got backed out
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120222 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:42:08 +00:00
cbiesinger%web.de
16c69a134c bug 140146 patch by ere@atp.fi r=bienvenu sr=mscott a=asa
crash in nsMsgFolder during shutdown; M1RC1 topcrash [@ nsMsgFolder::SetBiffState]


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120221 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:33:36 +00:00
mkaply%us.ibm.com
1baf46f180 #67749
r=cls, a=dbaron
OS/2 only - add OS/2 specific forms.css


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120219 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:29:07 +00:00
jaggernaut%netscape.com
9e403beae8 Bug 37638: URL bar is given focus by default in new window [via accel+N or File > New Navigator Window]
Bug 89835: Window opened up with JavaScript has focus in the URL bar while NN4 and IE put focus on the content area

Focus will now always go to the content area unless we're opening for a blank page.

r=sgehani, sr=hewitt, a=drivers, a=adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120186 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 09:40:03 +00:00
glazman%netscape.com
888df6e957 Add ability to remove named anchors from Composer's Format menu and contextual menu; b=80742, r=jfrancis, sr=kin, a=rjesup@wgate.com, adt=jaime
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120184 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 09:31:03 +00:00
ben%netscape.com
05920ee992 127476 - adt1.0.0+ non-ASCII characters in imported IE bookmarks are displayed
as garbage. r=ftang, sr=hyatt, a=dbaron.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120183 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 09:22:04 +00:00
badami%netscape.com
0194225d8b bug 122877 r=bratell sr=jst a=asa patch=t_mutreja@yahoo.com
case insensitive matching for attributes (HREF != href)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120177 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 06:25:55 +00:00
mhammond%skippinet.com.au
97c9c1ece8 New file needed by last checkin. Not part of the build.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120174 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 05:54:52 +00:00
mhammond%skippinet.com.au
50d2799bf8 Add support for nsIVariant, and fix a number of other bugs. Replace
nsAllocator with nsMemory.

Not part of the build; using global "a=" for this part of the tree.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120173 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 05:32:45 +00:00
karnaze%netscape.com
509866e746 bug 138436 - remove redundant style change reflows. a=asa, adt=putterman, sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120171 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 03:37:51 +00:00
dbaron%fas.harvard.edu
11f00a6636 Better simulate the automated update to configure that would have happened on the trunk (fixes line numbers for error reports during build). See bug 91305.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120160 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 23:36:58 +00:00
blakeross%telocity.com
00c4fb82f8 134039 - theme switching should shut down QL. r=law sr=hyatt a=dbaron adt1.0.0+
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120157 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 22:48:50 +00:00
shanjian%netscape.com
b73ef7a9df update configure base on configure.in.
(configure.in change was made for :
#91305 add universal chardet into unix default extensions list.
That was checked in a week ago, but configure file is not updated yet.
)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120154 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 22:22:27 +00:00
darin%netscape.com
484eac2e03 fixes bug 138780 "Redirect with non-ASCII in URL fails"
r=andreas.otte@debitel.net sr=rpotts a=asa ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120145 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 19:40:00 +00:00
alecf%netscape.com
edc01d68be fix comments to actually describe the interface for bug 136235
r=chak, sr=dveditz, a=dbaron
no ADT because this is simply a comment/doc change - there is no code involved.
trying to do the right thing here and just land this puppy.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120083 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 04:32:23 +00:00
wtc%netscape.com
c863d44ace Bugzilla bug 129080: Unroll the collect_data code. Pin the required buffers.
Allow the cache to grow if necessary to hold large objects. r=nelsonb,wtc.
a=asa (on behalf of drivers) for checkin to the 1.0 branch
Modified Files: h_bigkey.c hash_buf.c
Tag: MOZILLA_1_0_0_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120076 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 03:43:49 +00:00
wtc%netscape.com
e418971eda Cause tinderbox to rebuild. (Tag: MOZILLA_1_0_0_BRANCH)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120073 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 03:05:59 +00:00
wtc%netscape.com
dd7b6b45f5 Backed out the fix for bug 121975 on the MOZILLA_1_0_0_BRANCH. It doesn't
work on Windows 95.
Modified files: configure configure.in WIN32.mk _win95.h w95dllmain.c
w95thred.c


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120072 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 03:02:01 +00:00
sspitzer%netscape.com
a1721de603 fix for #134743. mailing list entries get duplicated when you use turbo.
r=racham,sr=mscott,a=dbaron,a=adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120071 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 02:54:53 +00:00
law%netscape.com
a696f04d4d Bug 136940; check new pref browser.turbo.singleProfileOnly, and if set, exit when last window closes. This code provides a stop-gap in case multi-profile bugs can't be fixed; r=morse, sr=blake, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120065 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:57:01 +00:00
(no author)
c3af0047a7 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@120062 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:47:19 +00:00
law%netscape.com
f4637ef0de Bug 116938; ensure temp file has extension matching content type, and, prevent ShellExecute on executable files; r=sgehani, sr=mscott, a=shaver
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120060 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:40:17 +00:00
morse%netscape.com
cb3a2e0996 bug 132641, -killAll to close all windows, r=law, sr=jag, a=rjesup@wgate.com, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120055 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:15:44 +00:00
cltbld%netscape.com
a5212f8062 fixing previous checkin: to rc2 for the moment.
asasaki checking in as cltbld, still bug 133797.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120054 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:13:48 +00:00
jst%netscape.com
9c851a6d41 Fixing OS/2 bustage.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120052 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:07:40 +00:00
leaf%mozilla.org
9ff0d77979 force empty commit to branch to allow checking out with branch and date
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120049 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 00:39:10 +00:00
cltbld%netscape.com
72108100e8 Updating user agent string for 1.0, bug 133797.
r=lpham, sr=leaf, a=asa for blanket version approval.
asasaki checking in as cltbld.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120045 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 00:04:43 +00:00
curt%netscape.com
e3a4480ddc Fixes infinite loop in windows installer
(r=leaf, sr=dveditz, r=leaf)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120035 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:27:40 +00:00
kmcclusk%netscape.com
4a76d52d77 Abort paint if destroying the PresShell and check for null PresShell in nsImageLoader. bug 102585. r=waterson sr=attinasi a=dbaron adt_a=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120028 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:05:09 +00:00
jst%netscape.com
256c0c9094 Fixing bug 98654. Making document.write() after setting window.location from within a script that comes from document.write() not cancel the load that was intiated by setting window.location. r=bzbarsky@mit.edu, sr=vidur@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120024 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:53:10 +00:00
brendan%mozilla.org
02d880cb36 Fix for 131348 (a=asa, r=shaver, sr=brendan, checking in for khanson).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120013 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:10:25 +00:00
peterv%netscape.com
1b3fa859b9 Fix for bug 135825 (No scrollbars in P3P summary window). r=Pike, sr=heikki, a=dbaron, adt1.0.0+.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120009 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 21:45:19 +00:00
mscott%netscape.com
a6bb24d4c8 Bug #121299 --> fix the cookie icon to use an icon with a transparent background
r=morse
sr=sspitzer
a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120007 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 21:42:29 +00:00
peterv%netscape.com
7c9a240e91 Fix for bug 56087 (XSLTProcessor::TransformDocument can't work on existing document). r=harishd, sr=heikki, a=scc, adt1.0.0+.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120006 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 21:17:45 +00:00
rginda%netscape.com
5cee5838bf - venkman only -
bug 139883, "ErrorHookProc can be tricked into thinking it never finished running", r=peterv, a=scc
fixes bad early return in jsds_ErrorHookProc
test for correct max params (12, not 8) in CreatePPLineMap
use nsnull instead of 0 for null pointer return value


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120001 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:59:02 +00:00
cbiesinger%web.de
0726835c64 last checkin had a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119997 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:42:31 +00:00
cbiesinger%web.de
320ca6ca28 bug 104825 r=caillon sr=attinasi
ABBR and ACRONYM should not have arrow/question cursor


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119996 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:41:04 +00:00
andreas.otte%debitel.net
4072445f12 fix bug 132254 [Invalid URL confuses mozilla], while resolving a
possible relative url do not return an error when the urlparser
identifies an invalid scheme, instead take the string as relative url
instead, r=morse, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119995 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:39:31 +00:00
pinkerton%netscape.com
3f8bb42c7e delay mediator hookup to later in reflow to catch some other outliners. r=sdagley/sr=ben/a=roc. bug# 139263
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119994 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:27:10 +00:00
chak%netscape.com
44eccf3e99 Backing out fix for #106253 - Plugins aren't adding themselves to load groups
a=adt, a=drivers, r=peterl, sr=alecf


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119990 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:19:44 +00:00
oeschger%netscape.com
bca9d10196 help content update: search database additions, dispensation per 122806
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119989 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:19:05 +00:00
dougt%netscape.com
5d265597f7 Reduces the chance of losing a known race condition. 139556. r=rpotts@netscape.com, sr=darin@netscape.com, a=asa, *dt=jamiejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119988 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:16:47 +00:00
rjesup%wgate.com
533e58886e Bug 135361: Print properties margin callouts mislabeled.
r=bzbarsky, sr=attinasi, a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119966 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 15:07:30 +00:00
karnaze%netscape.com
afd1e054ec bug 136746 - null pointer check if line is empty. a=asa, adt=jaimejr, sr=waterson/attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119964 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 14:55:25 +00:00
morse%netscape.com
42f8892aeb bug 132641 implement -killAll, r=law, sr=sgehani, a=rjesup@wgate.com, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119952 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 06:51:57 +00:00
jaggernaut%netscape.com
c6b05ab2a7 Bug 139522: SSL Pages are incorrectly displayed as being not encrypted. r=kaie, sr=alecf, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119951 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 06:50:33 +00:00
jaggernaut%netscape.com
8d79ab9138 Backing myself out. This was an accidental checkin, but it'll come for real soon, I promise :-)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119950 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 06:47:17 +00:00
jaggernaut%netscape.com
8a331877f7 *** empty log message ***
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119948 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 06:44:20 +00:00
morse%netscape.com
bf5f91136e bug 132641 implement -killAll, r=law, sr=sgehani, a=rjesup@wgate.com, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119947 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 06:26:07 +00:00
morse%netscape.com
92dc132e55 bug 132641 implement -killAll, r=law, sr=sgehani, a=rjesup@wgate.com, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119946 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 06:19:53 +00:00
curt%netscape.com
6320031aac Differentiate between a product name we show the user and an internal product
name we use for regisry and path names
  (Bug 140178, r=ssu, sr=dveditz, a=asa)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119941 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 04:49:56 +00:00
jkeiser%netscape.com
324d0ddc3b Fix crash with keyboard access to comboboxes (bug 136606), r=rods@netscape.com, sr=attinasi@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119939 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 04:16:57 +00:00
bienvenu%netscape.com
95cb3a686d fix bug 127707 from trunk crash adding news server after removing news server r=navin, sr=sspitzer a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119936 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 02:09:16 +00:00
ducarroz%netscape.com
51fa48e028 Fix for bug 138619. We must initialize rv before using it!. R=srilatha, SR=bienvenu, A=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119920 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 00:48:29 +00:00
nhotta%netscape.com
030dc46ba9 Adding a localization comment to a property file not to translate the strings,
bug 139615, r=rchen, a=rjesup@wgate.com, adt.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119919 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 00:47:23 +00:00
sspitzer%netscape.com
a3ae03ad37 fix for #101527
moveTo() [of directories with subdirectories] on windows doesn't behave the same as it does on linux and mac.  r=dougt, sr=bienvenu, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119916 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 00:39:53 +00:00
brendan%mozilla.org
514f134015 Purge the deflated string cache entry, if any, before finalizing external strings (140070, r=jband, sr=shaver, a=rjesup).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119913 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:54:34 +00:00
darin%netscape.com
8a410b6fe1 fixes bug 137965 "document contains no data on disconnect"
r=bbaetz sr=rpotts a=asa ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119912 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:54:31 +00:00
cotter%netscape.com
509d393ae1 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; content & formatting fixes for certs help
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119910 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:45:04 +00:00
sspitzer%netscape.com
1f51267cb5 new string for bug #137886. r=ccarlen,sr=bienvenu,a=putterman,mcarlson
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119906 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:31:59 +00:00
darin%netscape.com
2e507a2491 fixes bug 139202 "should not send extra FTP commands"
patch=brade, r=mstoltz, sr=alecf,darin


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119905 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:30:25 +00:00
peterlubczynski%netscape.com
17d4973104 Fixing last checkin so it matches what's in the trunk (and doesn't crash on startup)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119891 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:36:58 +00:00
morse%netscape.com
8da15e1c80 bug 123633, prefs not written on shutdown, r=sgehani, sr=jag, a=rjesup@wgate.com, adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119888 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:34:32 +00:00
brendan%mozilla.org
19e0851b35 Handle wraparound of PRIntervalTime, plus crucial fixes thanks to Ere Maijala <ere@atp.fi> (138791, r=rjesup, sr=waterson, a=blizzard).
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119882 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:59:36 +00:00
heikki%netscape.com
3106d5e24d Bug 129607, do not try to parse when data in not XML. This improves performance and also fixes a hang if the data is HTML that has inline style elements. r=harishd, sr=vidur, a=rjesup@wgate.com,ADT.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119881 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:41:26 +00:00
pinkerton%netscape.com
ff9eb3391c oops, missing a {
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119879 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:35:14 +00:00
pinkerton%netscape.com
ee124649b2 package download progress on mac for embedding. fix jar manifest to not pull en-unix on every platform. r=bryner/sr=ben/a=rjesup. bug#134523
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119867 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:09:37 +00:00
mkaply%us.ibm.com
902cd5e269 #125076
r=mkaply, sr=blizzard, a=roc+moz
OS/2 only - from Jessica Blanco - different way to allocate printer data to fix crash/hang on some drivers


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119864 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:04:59 +00:00
mkaply%us.ibm.com
40e5a9d113 #139852
r=mkaply, sr=blizzard, a=roc+moz
OS/2 only - from Javier Pedemonte - implement ConstrainPosition


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119862 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:03:12 +00:00
mkaply%us.ibm.com
8df34cd68e #139219
r=pedemont, sr=blizzard, a=roc+moz
OS/2 only - handle zorder event


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119861 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:00:24 +00:00
dbragg%netscape.com
8e808c44ee Missed checking in these files when I fixed bug 126785. Opened as bug 138740. r=tao, sr=scc, a=rjesup@wgate.com
adt approved.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119860 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:58:57 +00:00
mkaply%us.ibm.com
cfcaa9c909 #138728
r=pedemont, sr=blizzard, a=roc+moz
OS/2 only - convert filtername to platform specific charset


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119859 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:57:48 +00:00
peterlubczynski%netscape.com
4023b25ccc adding missed file
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119828 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 15:11:45 +00:00
peterlubczynski%netscape.com
168b044abc Fixing crash with default plugin, r=av, sr=waterson, bug 139529 a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119827 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 14:25:24 +00:00
peterlubczynski%netscape.com
01a5f01e3f Implementing BP_GetSupportedMIMETypes and NP_GetMIMEDescription on Mac to get MPEGs to work with Quicktime, bug 113464 r=bnesse sr=beard a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119826 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 14:23:26 +00:00
pinkerton%netscape.com
93cb40a1c2 Second attempt to fix bug 137295; gaps appearing in images on Mac OS X. Changed to not pass in the clipRgn when we're drawing to another image (e.g. animated GIFs), or another non-window destination where we don't want to clip. r=pink, sr=beard. a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119825 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 14:15:33 +00:00
pete.zha%sun.com
e33240dbef bug 92491:press letters to select item in XUL menu, menulist
r=aaronl sr=hyatt a=shaver
Check in for Kyle Yuan's(kyle.yuan@sun.com) fix


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119821 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 10:44:07 +00:00
sspitzer%netscape.com
5c8009f90e fix for #124208. Address Book window shows LDAP directories from previous Profile in turbo mode.
r=bienvenu, sr=mscott.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119815 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 05:37:13 +00:00
jj%netscape.com
812bb1716c backing out last checkin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119814 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 05:36:59 +00:00
morse%netscape.com
dd51cc7727 bug 136972, change p3p default settings, r=sgehani, sr=jag, a=rjesup@wgate.com, adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119813 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 04:10:50 +00:00
dprice%netscape.com
9b5a6028f2 130428 - r=syd sr=dveditz a=scc adt=putterman
xpis can be triggered from urls with query strings
118216 - r=syd sr=dveditz a=scc adt=putterman
avoid edge case crashes by adding a few error checks


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119812 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 03:47:59 +00:00
mscott%netscape.com
83f74adbed Bug #132731 --> dynamically adjust the width of the alert window to avoid truncation issues. Use the correct
font in the alert.
r=neil
sr=hewitt
a=scc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119808 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 01:44:23 +00:00
sgehani%netscape.com
6d7ba532c9 Use getComplexValue() instead of getLocalizedUnicharPref().
b=139355; r=bryner; sr=alecf; a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119802 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:52:18 +00:00
dbaron%fas.harvard.edu
719f6148dd Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt. Also includes fixes for regressions from original checkin: bug 137556 (r=bryner sr=kin) and bug 137067 (r=bzbarsky sr=waterson). a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119796 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:24:49 +00:00
bzbarsky%mit.edu
5d62c3cc6a Fix parsing of content-types. Bug 138639, r=bbaetz, sr=darin, a=scc.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119787 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:54:35 +00:00
cotter%netscape.com
aae80b929a ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; misc. content updates
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119782 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:39:56 +00:00
rbs%maths.uq.edu.au
c3c7fa242d MathML entries are missing in embedding packages, b=137029, r=adamlock, sr=heikki, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119777 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:13:26 +00:00
kaie%netscape.com
8d102035fa b=134992 Fix crash when displaying some S/Mime messages.
r=javi sr=alecf adt=putterman a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119776 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:10:59 +00:00
kaie%netscape.com
aa91314590 b=139349 Need to use dont_AddRef with GetCertAtIndex
r=bryner sr=alecf adt=putterman a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119775 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:09:55 +00:00
kaie%netscape.com
f1d171d635 b=139325 Leaking CERTCertificate references from
nsNSSCertificate::GetChain
r=bryner/javi sr=alecf adt=jaime a=scc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119774 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:08:17 +00:00
kaie%netscape.com
b3068b50ef b=125607 Temporary workaround for better displaying signed S/Mime messages
w/ attachments from IMAP servers.
r=ducarroz sr=bienvenu adt=putterman a=scc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119773 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:04:33 +00:00
rbs%maths.uq.edu.au
7579ba6446 MathML entries are missing in embedding packages, b=137029, r=adamlock, sr=heikki, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119771 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:02:37 +00:00
mscott%netscape.com
eaa65c0868 Bug #133580 --> make image/tiff attachments show up as external attachments
instead of acting non-existent in the message.
r=ducarroz
sr=bienvenu
a=scc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119770 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 22:56:42 +00:00
bryner%netscape.com
09e6ecc483 Bug 124304 - make tab/shift+tab cycle through all recipients in the mail compose window (even ones not scrolled into view). r=ben, sr=hewitt, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119768 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 22:31:23 +00:00
sicking%bigfoot.com
cbe5acd88b bug 137399: Make removeAttribute work again for html-elements not in main doc-tree
r=glazou sr=jst a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119765 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 22:14:39 +00:00
mkaply%us.ibm.com
44309b6b69 #124164
r=pedemont, sr=blizzard, a=asa
OS/2 only - remove unnecessary XP_OS2 chunk that tries to fix form element fonts


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119762 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 22:05:17 +00:00
nhotta%netscape.com
e232ba020c Changed to use a different util function which does not call the converter repeatedly in a loop
in order to workaround the converter problem (bug 138578),
bug 120728, r=ducarroz, sr=sspitzer, a=rjesup@wgate.com, adt.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119761 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:56:13 +00:00
mkaply%us.ibm.com
aaf2e134b8 #136958
r=cls, a=scc
OS/2 only - remove high performance timer code - switch to OS millisecond timers


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119760 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:55:38 +00:00
nhotta%netscape.com
29c0a861b1 Added out argument for NS_MsgStripRE to avoid altering the const argument,
bug 131983, r=ducarroz, sr=bienvenu, a=rjesup@wgate.com, adt.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119759 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:54:13 +00:00
brade%netscape.com
699a315d5e fix double-click bug (clicking twice quickly in scrollbar invokes properties dialogs); bug 134503, r=akkana, sr=kin, a=scc, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119750 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:32:12 +00:00
shanjian%netscape.com
6e2c371544 #115114 autodetect universal detects french as Central European (ISO-8859-2)
removing latin2 and win1250 prober to prevent latin1 confusion.
r=ftang, sr=scc, a=rjesup, adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119745 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:16:26 +00:00
varga%utcru.sk
6c1e42594e Fix for bug 135764 - mozilla crashes in DOM Inspector - Trunk [@ nsTreeBodyFrame::SetBounds]
r=bryner, sr=ben, a=scc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119744 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:05:32 +00:00
jfrancis%netscape.com
45b43ac004 branch landing of fix for bugzilla 135337: adt=jaime, a=shaver
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119743 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:04:17 +00:00
blizzard%redhat.com
b502b8efc1 Bug #81779 . Mozilla crashes if you higlight and repeatedly drag text. Return if the source data items aren't available. r=rjesup,sr=shaver,a=shaver
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119742 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:03:46 +00:00
cltbld%netscape.com
52bc62de79 bugscape bug 13170: updated 'vers' to 2 - kysmith checking in as cltbld
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119737 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 20:24:15 +00:00
cotter%netscape.com
7beecd0046 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; misc. cert updates, help on help
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119691 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 05:55:48 +00:00
(no author)
959f48bb82 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@119689 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 05:52:06 +00:00
saari%netscape.com
9392bde1e3 fix for bugzilla 135226. Slight modification of previous patch to disable image optimization to DDBs when displaying on a paletted device. This isn't the ideal solution, but it is what I'm going with for the moment to deal with the embedding pull tomorrow morning.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119687 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 04:53:42 +00:00
shanjian%netscape.com
d4bc26bd24 #138002 nsParser should not accept charset notification coming from low priority source
check existing charset source and send notification only when existing charset source is
lower than meta charset.
r=ftang, sr=jst, a=shaver, adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119663 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:49:38 +00:00
locka%iol.ie
aa4c21982b Add missing nssckbi library to embedding manifests. b=134034 r=kaie@netscape.com sr=rpotts@netscape.com a=putterman@netscape.com a=valeski@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119641 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 22:51:46 +00:00
suresh%netscape.com
9820819552 fix for 138231. select a tab if the last selected one is not in view. r=suresh, sr=alecf.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119636 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 22:27:08 +00:00
dougt%netscape.com
880f61a67c PAC instantiation hangs Regxpcom Solaris nightly build packaging process. Fixing timer logic. Patch by Kenneth Herron. r=dougt@netscape.com, sr=brendan@mozilla.org, a=rjesup@wgate.com , b=106009
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119633 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 21:32:33 +00:00
dougt%netscape.com
521e7835df Fix for 139512. GPF During Installation in Regxpcom during install. patch by jband, r=dougt, sr=shaver, a=blizzard
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119632 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 21:19:39 +00:00
mkaply%us.ibm.com
c5bd386711 #100676
r=pedemont,cls (makefile), sr=alecf, a=shaver
OS/2 only - remove dependency on uconv for filename conversions


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119631 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 21:11:47 +00:00
bzbarsky%mit.edu
e85e0624e7 Fix cloneNode() to properly copy the "style" attr as an object, not a
string.  Bug 137428, r=fabian, sr=jst, a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119630 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 21:08:11 +00:00
bzbarsky%mit.edu
9821e88608 Fix crash on copying string with embedded nulls. Bug 136278, r=brade,
sr=kin, a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119629 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 21:05:38 +00:00
mkaply%us.ibm.com
b4b60272e8 #100676
r=pedemont,cls (makefile), sr=alecf, a=shaver
OS/2 only - remove dependency on uconv for filename conversions


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119628 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 21:04:20 +00:00
varada%netscape.com
fc89f1262e fix for 136937- mail compose body becomes uneditable after send failure;r=srilatha;sr=mscott;a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119627 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 21:01:59 +00:00
mkaply%us.ibm.com
3e5989752f #124164
r=mkaply, sr=blizzard, a=shaver
OS/2 only - code from Javier Pedemonte to properly set font heights


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119626 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 21:01:28 +00:00
cavin%netscape.com
a40574c03f Fix for 134897. Reset 'mInitialized' and 'm_initialized' for imap so that the folder obj will be re-initialized for new profiles. Also reset 'mPath' and 'm_pathName' for imap so that it points to the right physical location for the new profile (instead of carrying over from previous profile). r=bienvenu, sr=sspitzer, a=asa, adt=putterman.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119625 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 20:55:20 +00:00
brade%netscape.com
f6cf35ca4e remove FontManager (moved to gfxComponent.xml) so it can be weak linked (bug 138495); r=ccarlen, pinkerton, sr=sfraser, a=rjesup, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119611 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 13:23:15 +00:00
brade%netscape.com
33244035e4 add fontmanager library (bug 138495) r=ccarlen, pinkerton, sr=sfraser, a=rjesup, adt=putterman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119610 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 13:06:05 +00:00
peterv%netscape.com
1071f10c04 Fix for bug 135895 (XHTML <style> element not working). r=sicking, sr=jst, a=asa, adt1.0.0+.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119607 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 12:37:17 +00:00
darin%netscape.com
e6328bd509 fixes bug 136216 "[viewpoint] GetURL fails on https file when the file is
partially in the browser's memory cache" r=serge, sr=rpotts, a=asa, ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119602 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 05:47:43 +00:00
naving%netscape.com
d86149a289 134291 r=mscott sr=bienvenu a=rjesup. Make migration work for 2nd profile w/ imap acct in turbo mode.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119586 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 00:57:41 +00:00
rdayal%netscape.com
14eda85230 Fix for leaks by each entry retrieved during any LDAP search, bug # 134069
r=dmose, sr=sspitzer, a=roc+moz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119580 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 00:02:44 +00:00
srilatha%netscape.com
57e6b9c547 Fix for bug #134947. Import text dialog unusable,
r=varada, sr=sspitzer, a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119579 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:57:55 +00:00
bzbarsky%mit.edu
82d1070192 Inspector shows wrong list of style rules for table elements. Bug
122557, r=caillon, sr=hewitt, a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119577 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:51:23 +00:00
rdayal%netscape.com
c0392aee23 fix for MAPI Send of file with non English filenames, bug # 103313
r=nhotta, sr=mscott, a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119565 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 22:30:40 +00:00
ducarroz%netscape.com
02822617db Fix for bug 136008. Do not cache the compose window if it's the last window else that will prevent the application to shutdown. Patch submitted by antonio.xu@sun.com. R=ducarroz, SR=bienvenu, A=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119563 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 20:58:35 +00:00
ducarroz%netscape.com
172fc515a3 Fix for bug 134729. Remove cols attibute passed down when user press the delete key and instead add a function to calculate the number of columns. R=varada,shuehan SR=sspitzer, A= rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119559 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 20:37:09 +00:00
jdunn%netscape.com
eac3008773 adding a newline (HP requires them)
r=cls@seawood.org
a=asasaki@netscape.com
# 139191


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119550 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 17:04:18 +00:00
kaie%netscape.com
52cca6ed36 b=137154 PSM needs to call SSL_ClearSessionCache before switching profiles
r=wtc/javi sr=alecf


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119541 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 13:55:32 +00:00
brade%netscape.com
02f579ce4a show error when unable to publish (such as being unable to create a uri) bug 126258; r=cmanske, sr=kin, a=asa, adt=jaime
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119537 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 13:08:35 +00:00
rods%netscape.com
9ed956dcca Cache the Zoom and TextZoom for the main DC while in Print Preview and then set
it back when leaving Print Preview
Bug 136785 r=dcone sr=attinasi adt=putterman


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119536 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 12:18:39 +00:00
blakeross%telocity.com
96d8a8ece0 105547 - remove pref to control where new windows open (tab or window). r=bryner sr=ben a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119533 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 03:13:11 +00:00
blakeross%telocity.com
bf9337f3d8 105547 - windows open in new window instead of tabs (remove pref for now). r=bryner sr=ben a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119531 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 03:08:12 +00:00
naving%netscape.com
4ce66d0295 22994 r=morse sr=dveditz sspitzer a=asa Add support for blocking cookies in mailnews by default. Used an overlay to add this new checkbox that gets the value from disableCookieForMailNews pref
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119530 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 01:46:26 +00:00
naving%netscape.com
5b7d330067 137008 r=bienvenu sr=mscott a=asa. Make redo delete messages work for quick search results when folder was in
threaded view.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119529 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 01:33:36 +00:00
sicking%bigfoot.com
9c4bd18276 Bug 132302: Throw right exceptions for DOM Ranges.
r=Pike, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119520 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 18:01:15 +00:00
cbiesinger%web.de
36ca27b46a bug 136402 patch by neil.marshall@sympatico.ca r=db48x sr=alecf a=asa
Case of first letter in text labels is sometimes wrong in the Media tab


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119499 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 18:12:00 +00:00
caillon%returnzero.com
998811395f Page info shouldn't open cache items in blocking mode. Fixes Bug 124566, 'View Page Info whilst this page loading hangs browser.' Patch by db48x@yahoo.com, r=caillon, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119492 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 14:48:47 +00:00
caillon%returnzero.com
e7acea9915 Bug 137297. Alphabetize computed style's queryableProperties list. r=bzbarsky, sr=hewitt, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119491 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 14:40:32 +00:00
jfrancis%netscape.com
65d1906f81 branch landing of 136944: crash in editor when typing.
a=asa; adt=Jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119489 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 14:14:01 +00:00
hwaara%chello.se
fce95b6677 #128527, "disabling a radiobutton doesn't disable the text"
r=andreww, sr=hewitt, a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119488 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 13:12:40 +00:00
rods%netscape.com
2ec240eb5c This displays a focus ring when the listbox has focus for HTML listboxes (NOT XBL listboxes)
The idea is that when the SelectAreaFrame (which is the parent) of the options
is asked to paint then it asks the ListControlframe to paint the focus ring in
the correct spot. It need to find the first non-disabled option (ignoring opt
groups) and if nothing is selected it need to find the first frame which is the
dummy option. Also, it now track thru a static data member which listControl
frame currently has focus (this was taking from how comboboxes track it internally)
Bug 64165 r=jkeiser sr=attinasi adt=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119486 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 12:29:40 +00:00
mscott%netscape.com
21202829f3 Bug #133130 --> fix a race condition that caused the notification icon
to never go away.

Bug #135753 --> figure out the folder to select when the user clicks on the
animated alert to ensure that we select the right folder.

Bug #123104 --> fix an inaccuracy in the new mail count. Always reset to 0
if we discover we have no new mail even if the state has already been changed
that way.

r=naving, sr=bienvenu/sspitzer
a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119471 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 03:11:20 +00:00
oeschger%netscape.com
df8ed489af adding image to help, author=robinf, r=oeschger, dispensation for regular updates per 122806
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119447 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:22:41 +00:00
harishd%netscape.com
759cc84ac4 Prevent charset loading for document.write content because it's already in unicode. b=125317, r=ftang, sr=jst, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119439 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:24:07 +00:00
heikki%netscape.com
5e7aa6a1c8 Bug 137632, going back and forward in history does not scroll back to anchor location nor does it select the anchor (if pref set). r=radha, sr=jst, a=rjesup,ADT.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119436 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:13:15 +00:00
(no author)
943efc9e9f 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@119426 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 22:25:24 +00:00
bzbarsky%mit.edu
b7b3e572b6 Make the "Close" menuitem and shortcut work in Inspector. Bug 128663,
r=hwaara, sr=hewitt, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119424 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 22:24:45 +00:00
ftang%netscape.com
2b12789fbf fix bug 131837 r=nhotta sr=kin. fix simp chinese to unicode mapping table for se
veral sites
carry from trunk


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119423 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 21:58:18 +00:00
mkaply%us.ibm.com
aaa9ecf79b #137693
r=mkaply, sr=blizzard, a=rjesup@wgate.com
OS/2 only - workaround for MINCHO font bug


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119422 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 21:57:22 +00:00
nhotta%netscape.com
9ac4527500 Use ISO-8859-1 as a compose charset if us-ascii, change for edit as new,
bug 136938, r=ducarroz, sr=kin, a=asa, adt.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119419 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 21:37:36 +00:00
harishd%netscape.com
d9d21ee90f Initialize token allocator, in the BuildMode(), regardless of whether a sink is available or not. b=137644, r=heikki, sr=jst, a=adt,asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119418 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 21:09:20 +00:00
harishd%netscape.com
0068546bf3 Fixed a crash by making sure that the CNavDTD and nsHTMLContentSink stacjs are synchronized when handling FORM. b=133410, r=heikki, sr=jst, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119417 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 21:00:14 +00:00
peterlubczynski%netscape.com
0d8ecd0d21 Fixing smoketest blocker bug 138500 r=av sr=jag a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119410 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 18:18:58 +00:00
cbiesinger%web.de
a41a9d2a9e bug 138475 r=bbaetz sr=darin a=asa
data: protocol doesn't unescape its uri string
also fixes bug where data: urls w/o mimetype didn't work (e.g. data:,foobar)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119404 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 15:16:41 +00:00
varada%netscape.com
39b506ab01 fix for 58506;smtp panel doesnt get refreshed when creating a new default smtp server;r=srilatha;sr=mscott;a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119401 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 14:22:54 +00:00
kin%netscape.com
bd004663da Fix for bug 106489 (Text entered in box does not appear)
- Moved MoveChildrenTo() and GetRealFrame() to a point in the
  file where they could be called from my new utility method
  AdjustOutOfFlowFrameParentPtrs().

- Modified MoveChildrenTo() to take an nsFrameConstructorState arg,
  so that it can call my new method AdjustOutOfFlowFrameParentPtrs()
  so that out-of-flow floater frames are reparented to the correct
  containing block when the placeholder is moved under the block
  created in ConstructInline().

r=attinasi@netscape.com  sr=waterson@netscape.com
adt=jaimejr@netscape.com  a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119395 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 13:37:35 +00:00
kin%netscape.com
6ee8dd438a Fix for bug 68331 (Moving caret in TEXTAREA to start of line can cause page to scroll horizontally)
- Modified GetSelectionRegionRectAndScrollableView() to clip
  aRect so that it is completely within the bounds of the
  scrolledView. This insures that other scrolled views in
  the parent hierarchy will not scroll more than they have to.

r=brade@netscape.com  sr=sfraser@netscape.com
adt=jaimejr@netscape.com  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119394 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 13:36:31 +00:00
sicking%bigfoot.com
a8674b4e10 Bug 132300. A better way to bootstrap XPathEvaluator by following the specs recommendation and making documents implement the interface.
r=pike sr=jst a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119393 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 13:26:19 +00:00
rjc%netscape.com
31f63c43ed Fix adt1.0.0+ bug #132493 on MOZILLA_1_0_0_BRANCH (already on tip): Mac OS X multiple sheets issue. r=pink sr=ben a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119390 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 10:29:16 +00:00
mjudge%netscape.com
4eb038a1c4 82151 fix for caret jumping in text areas from beginning to end. adt+ a+ ect QA tested on Trunk
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119388 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 10:09:17 +00:00
mjudge%netscape.com
094f94cb44 adt+ and a+ 82151. fix to stop caret from jumping to beginning or ending of text area.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119387 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 10:08:18 +00:00
rpotts%netscape.com
82b127ba0b bug #105253 (r=peterl, sr=jst, a=adt) plugin streams are not added to the loadgroup...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119385 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 08:24:08 +00:00
gerv%gerv.net
93d7608437 Bug 3935 - mozilla-native psuedo classes and properties should be marked as such. This fixes a number of them; still a few more to do. Patch by gerv, r=dbaron, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119384 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 08:07:11 +00:00
cotter%netscape.com
efe7a90161 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; misc. uprivacy feature updates
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119383 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:51:30 +00:00
shliang%netscape.com
3c852822ad 135975 - theme preview images are outdated - images by gregvalure@yahoo.com - r=andreww, sr=hewitt, a=jesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119381 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:38:23 +00:00
shliang%netscape.com
195ec35e03 134801 - account manager panels out of order - r=bhuvan,sr=sspitzer,a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119380 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:22:44 +00:00
shliang%netscape.com
ffc3fedbde 133863 - plugin finder service pref ui - r=hewitt, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119377 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:15:03 +00:00
rdayal%netscape.com
70903d0a21 Fix for MAPI send to work without causing any hang of the calling MAPI apps.
bug # 129347.
r=ducarroz, sr=mscott, a=asa.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119376 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:11:28 +00:00
jefft%netscape.com
ce8692fe97 fixed bug 133437 - Pop acnts:Sent Copy of MDN Request messages should have MSG_FLAG_MDN_REPORT_NEEDED turned off, r=ducarroz, sr=bienvenu, a=jaimejr; bug 136476 - MDN:If you filter mesgs and receive a mesg that is requesting RR, you are prompted to send the RR before you actually click on the mesg; r=bienvenu,sr=sspitzer,a=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119373 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 06:42:12 +00:00
sfraser%netscape.com
a41718dcc7 Fix for bug 127362 -- incremental scrolling gets slower and slower. Make sure that we shift window->visRgn to the correct coordinates before doing region math, and ensure that HandleUpdateEvent() leaves the port in the way that it found it. r=pinkerton, sr=beard. a=asa for branch checkin.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119372 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 06:30:57 +00:00
srilatha%netscape.com
133c46acb5 Part of fix for bug# 134947. Import Text Dialog unusable
r=varada, sr=sspitzer, a=jesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119371 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 06:29:15 +00:00
racham%netscape.com
a7ee21f18d Fixing bug 137876. This fixes a typo in the function call so that ISPs can execute customized routines at the end of mailnews account creation process. r=andreww, sr=sspitzer, a=asa, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119370 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 06:20:34 +00:00
racham%netscape.com
ea39f306d9 Fixing bug 131330. This fix allows ISPs to customize wizard pages with desired style rules example being setting customized images for page header. r=andreww, sr=sspitzer, a=asa, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119369 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 06:14:52 +00:00
mjudge%netscape.com
c71efb01ce 103888 adt approved. QA tested on trunk. fix for typing and having characters end up at end of inline style block after a <BR>
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119368 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 06:09:17 +00:00
danm%netscape.com
e0a60c50f5 make blur() available to embedded apps. bug 57841 in its third avatar r=jst,scc a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119367 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 06:06:36 +00:00
bbaetz%student.usyd.edu.au
efec05ce41 Bug 134270 - ftp password displayed in page heading
r=dougt, sr=darin, a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119365 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 06:02:42 +00:00
mjudge%netscape.com
b5d53cbfd1 102220 r=jfrancis sr=kin QA approved on trunk. fix forup down situation with typing and shift selecting.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119364 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 05:55:23 +00:00
heikki%netscape.com
07e496302c Bug 136788, XML pages do not display when going back and forward in history. Patch from peterv, r=jst, sr=heikki, a=asa,ADT.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119363 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 05:49:32 +00:00
srilatha%netscape.com
329777865b Fix for bug # 129708. Multibyte baseDN gets garbled in Directory Server Properties dialog
r=ducarroz, sr=sspitzer, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119362 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 05:48:04 +00:00
joki%netscape.com
bde5680d10 Fix for bug 93111, fix event targetting in tables over rowspans and empty cells by making rows and cols invalid targets (forcing targetting of cells or the table itself). r:dbaron, sr:jst, a:asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119361 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 05:47:38 +00:00
bnesse%netscape.com
60f04d9ed1 Fix for bug 123787. Insure gRoot is allocated before attempting to free it. r=sfraser, sr=alecf, a=valeski, adt=paw.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119360 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 05:46:07 +00:00
joki%netscape.com
a44296e6f4 Fix for bug 128676, Have focus events sent directly to their widgets since using coord targeting can now be inaccurate. r:roc+moz, sr:jst, a:asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119359 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 05:42:27 +00:00
joki%netscape.com
4fd072f9b3 Fix for bug 135345, stop infinite recursion caused when calling select() from inside a focus event handler. r:jkeiser, sr:jst, a:asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119358 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 05:38:29 +00:00
mjudge%netscape.com
02d6beada3 7868 QA checked it out on trunk. fx will allow a QI to nsISelectionDisplay of nsPresShell and a GetInterface of nsISelectionDisplay on the webbrowser.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119357 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 05:33:39 +00:00
jkeiser%netscape.com
cf4ae53af2 rods's patch to move print properties to global dialog for embedding (bug 138026), r=dcone@netscape.com, sr=attinasi@netscape.com, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119356 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 04:46:29 +00:00
timeless%mac.com
c5bcf9cb2d Bug 136910ÿldap build bustage on QNX
r=dmose r=cls a=asa (for build bustage checkin and on behalf of drivers)


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119299 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:32:36 +00:00
dougt%netscape.com
31012ea782 Fixing 138080 on the branch. a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119272 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 16:17:29 +00:00
kaie%netscape.com
3045303bda b=119418 Fix handling of opaque signed S/Mime messages.
Also fixes some other S/Mime issues, as described in the bug.
r=ddrinan/ducarroz/darin sr=alecf a=rjesup
Fixing bustage, approval for checkin to the closed tree from asasaki


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119238 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 17:21:14 +00:00
dougt%netscape.com
664f7b6ba9 Backing out pavlov's changes. Note to self: never check in other people's code.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119237 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 16:23:35 +00:00
peterlubczynski%netscape.com
ae1c53e386 Fixing bustage in REQUIRES line for Windows gmake builds
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119236 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 16:07:09 +00:00
caillon%returnzero.com
0b3bab9d61 Make WidgetStateManager also remember the .checked property for <listitem type="checkbox"/>. This fixes bug 134441, Scripts & Windows pref panel doesn't remember checkboxes on viewing it the second time. r=hewitt, sr=ben
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119234 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:46:21 +00:00
peterlubczynski%netscape.com
7234c2c8d4 Fix for hidden attribute not working correctly on EMBED tag, bug 136456 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119232 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:32:27 +00:00
kaie%netscape.com
a86b530963 b=119418 Fix handling of opaque signed S/Mime messages.
Also fixes some other S/Mime issues, as described in the bug.
r=ddrinan/ducarroz/darin sr=alecf a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119230 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:24:53 +00:00
caillon%returnzero.com
7798a03d15 Bug 137103, Remove a duplicate pref that slipped in with the fix for 117707. Thanks to jonasj@jonasj.dk for noticing this and providing the patch. r=caillon sr=tor a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119229 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:17:31 +00:00
pinkerton%netscape.com
bc50d32b62 package xul security dialogs in embedding. also add appcomps to embed to get session history. r=ccarlen/sr=alecf/a=rjesup. bug# 135211
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119227 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:11:36 +00:00
peterlubczynski%netscape.com
8fa83f72eb Changes for plugin finder service, bug 133864, r=av sr=attinasi
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119225 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:07:10 +00:00
pinkerton%netscape.com
c27c3fcdcc fixes to make tabs look much nicer in dialogs. r=pink/sr=hyatt. bug# 134447
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119223 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 13:51:35 +00:00
karnaze%netscape.com
735a2536da bug 125543 - Row groups are prevented from splitting in the reflow preceeding the special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. a=asa, adt=paw, sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119222 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 13:01:22 +00:00
rods%netscape.com
f24f902979 Add a new attr to PrintObject for identifying POs that are to be hidden, not
reflowed. So if a frameset frame's root frame is zero height then we mark it
hidden and not to be printed.
Bug 134769 r=dcone sr=attinasi adt=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119221 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 12:37:04 +00:00
heikki%netscape.com
64dd27f57c Bug 128541, make send(null) work again, and make us match IE6 more closely regarding the parameters we accept. r=harishd, sr=jst, a=rjesup,ADT.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119214 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 06:33:57 +00:00
heikki%netscape.com
33ecf1d294 Bug 128326, disable save as complete for XML because of serious dataloss bugs. r=bzbarsky, sr=blake, a=asa,ADT.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119213 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 06:29:44 +00:00
shanjian%netscape.com
918dad7488 #128154 Crash: opening non-ascii attachments
replace default "default char" from '?' to '_'. The former one is not
acceptable in windows filename.
r=ftang, sr=alecf, a=asa, adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119212 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 06:01:51 +00:00
dprice%netscape.com
0d3b70b536 1364967 r=jfrancis sr=dveditz a=rjesup adt=putterman
add xpicleanup to carbon builds


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119208 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:57:35 +00:00
cotter%netscape.com
6ebf49f699 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; minor fix for smime help.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119207 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:52:07 +00:00
jst%netscape.com
b1df11336d Checking in jeff.qiu@sun.com's fix for bug 77585. Speeding up AppendData() on nsGenericDOMDataNode, this speeds up loading of long text documents. r=cbiesinger@web.de, sr=jst@netscape.com, a=rjesup@wgate.com.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119186 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:26:53 +00:00
ccarlen%netscape.com
6497384abd Bug 136311 - Can't install on 8.6 because MSL is using functions not available there. Set the compile flags so we don't use HFS. r=brade/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119180 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:07:01 +00:00
jaggernaut%netscape.com
af6d4e6058 Bug 121841: <!ENTITY> hangs 0.9.8 and trunk using 100% CPU. r=bryner, sr=scc, a=scc, a=adt, approval from leaf and asa to check into closed tree.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119179 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:02:33 +00:00
rods%netscape.com
d0ddeb0ea7 backing out unwanted check in
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119164 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:39:07 +00:00
sspitzer%netscape.com
177c560d03 temporary fix for #130581. the cached compose window has issues on linux, if your
focus model is "focus follows mouse".  Until we figure that out (see #137698),
we need to disable this performance trick on unix.
APPROVED FOR THE CLOSED 1.0 BRANCH.
r/sr=bienvenu, a=asa,leaf, adt=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119163 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:36:43 +00:00
rods%netscape.com
b5137cca5b Add a new attr to PrintObject for identifying POs that are to be hidden, not
reflowed. So if a frameset frame's root frame is zero height then we mark it
hidden and not to be printed.
Bug 134769 r=dcone sr=attinasi adt=jaime


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119152 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:04:47 +00:00
brade%netscape.com
5b4d8f10d0 back out changes that were inadvertently checked in with previous revision (a=asa, a=leaf) bug 137790
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119146 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 21:04:40 +00:00
waterson%netscape.com
15861e0899 Bug 137378. Stop ancestor frame notification at a frame that is an NS_FRAME_REFLOW_ROOT. r=karnaze, sr=kin, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119143 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 20:56:18 +00:00
dougt%netscape.com
459491e786 Landing the better part of 129953 and in the process fixing a smoketest blocker. a=leaf
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119142 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 20:55:29 +00:00
andreww%netscape.com
a25e0f514e bug 128895 removing aqua button appearance to throbber in osx , r=shliang, sr=sfraser, adt=jaimejr a=asa and a=asa+leaf on checking this into closed tree.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119139 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 20:04:11 +00:00
mkaply%us.ibm.com
c5eb29c591 OS/2 bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119134 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 19:22:46 +00:00
(no author)
5551933833 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@119132 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 19:09:58 +00:00
jj%netscape.com
6f7df30dbe #134227: Updated Mozilla installer strings to 1.0.0 (branch). r=leaf, sr=granrose, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119113 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 17:41:03 +00:00
jj%netscape.com
c7bae18605 #134223: udpating Finder's Get Info strings to 1.0 for OS9 and OSX. r=asaki, sr=granrose, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119112 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 17:29:13 +00:00
kaie%netscape.com
cbac461555 b=118319 Fix memory leak.
r=javi/wtc sr=blizzard a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119107 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 14:16:13 +00:00
kaie%netscape.com
e7af3755e5 b=136908 Make CRL manager UI work again.
r=kaie sr=ben a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119105 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 14:11:27 +00:00
bbaetz%student.usyd.edu.au
cf1554a393 Bug 129420 - mailto: urls not working with PAC
r=dougt, sr=darin, a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 07:44:10 +00:00
ftang%netscape.com
45fcc528e6 carry ccarlen's mac os 9 trunk bustage fix to branch
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119085 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 06:33:34 +00:00
jaggernaut%netscape.com
6fb703b7e6 Bug 128965: Better icons for components, images by Andreas Premstaller <andreas.premstaller@uibk.ac.at>, r=marlon, sr=jag, a=drivers, a=adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119081 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 05:45:34 +00:00
dprice%netscape.com
c90c704127 123649 r=mjudge sr=dveditz a=rjesup adt=putterman
crasher fix landing on branch


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119079 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 05:19:17 +00:00
dougt%netscape.com
bc2f5778ac I am with Alec. I really hate the mac build system.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119077 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 04:55:48 +00:00
dougt%netscape.com
5820b9d970 xpcom initalization of event queue. r=brendan@mozilla.org, sr=darin@netscape.com, a=asa@mozilla.org, 135531
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119068 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 04:03:48 +00:00
rbs%maths.uq.edu.au
26432dcb35 dataloss, SaveAs leaves private [-|_moz] attributes in the output, b=134298, r=akkana, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119063 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 03:22:31 +00:00
dougt%netscape.com
a060ea6240 xpcom initalization of event queue. r=brendan@mozilla.org, sr=darin@netscape.com, a=asa@mozilla.org, 135531
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119060 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 03:07:13 +00:00
dougt%netscape.com
fdfe478178 Addresses threadsafe of native loader. 98755, r=waterson, sr=jband, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119059 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 03:02:40 +00:00
dougt%netscape.com
cea9c992fa Fixes shutdown crash [@PR_EnterMonitor] called with a deleted monitor on the MemoryFlusher thread. 135330, r=brendan@mozilla.org, sr=jband@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119058 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 03:00:04 +00:00
dougt%netscape.com
e510dfda65 Landing 129953 for pavlov@netscape.com. r=rjesup@wgate.com, sr=rpotts@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119057 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:52:49 +00:00
leaf%mozilla.org
3349bf4f6c bug 136673. version mozilla.exe. code from asasaki@netscape.com, r=cls, sr=leaf
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119053 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:18:12 +00:00
mkaply%us.ibm.com
50de85c1f1 #59403
r=pedemont, sr=blizzard, a=asa
OS/2 only - beginning of drag/drop


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119052 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:17:11 +00:00
mkaply%us.ibm.com
f5acf31b44 #135795
r=cls, a=asa
Disable mkdepend on OS/2 for now


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119051 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:14:20 +00:00
varga%utcru.sk
9a5c5ad50c Fix for bug 137178 - Outliner tree expanded by default, should not be.
- prevent insertions to closed containers
r=sgehani/varga, sr=hewitt, patch=sgehani,varga, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119048 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 01:15:28 +00:00
morse%netscape.com
bd887d65a7 bug 137551, form manager stopped working, sr=scc, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119046 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 01:08:12 +00:00
shliang%netscape.com
dfc2a9baa4 137211 - change Netcenter reference in absync to Netscape.com. r=ssu,sr=sspitzer,a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119043 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:15:25 +00:00
smontagu%netscape.com
785b3a8b97 (Checkin for Roland.Mainz@informatik.med.uni-giessen.de). Bug 127520 "Large pictures print corrupted", r=db48x, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119040 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:11:08 +00:00
ftang%netscape.com
e089b55ded fix bug 110726. r=ccarlen sr=sfraser a=asa
install Carbon Input Text event handler for embedding project
from trunk


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119039 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:10:02 +00:00
ftang%netscape.com
56eaff5f89 fix bug 110726. add imlementation of Carbone Text Event handler forwarding code to CBrowserShell
r=ccarlen sr=sfraser a=asa
from trunk


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119036 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:08:10 +00:00
ftang%netscape.com
b1b0b5e26f add CTextInputEventHandling.cpp to the project
fix bug 110726. r=ccarlen sr=sfraser a=asa
from trunk


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119035 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:05:43 +00:00
ftang%netscape.com
5f9959cb6a fix bug 110726. r=ccarlen sr=sfraser a=asa
from trunk. add implementation to deal with Carboneevnt for input method


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119034 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:04:11 +00:00
ftang%netscape.com
d0d165e336 fix bug 110726. add CTextInputEventHandler.h
r=ccarlen sr=sfraser a=asa
from trunk


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119033 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:03:25 +00:00
attinasi%netscape.com
673fac74ae Migrating patch from trunk to branch: prevent crash by clearing undisplayed map when style sheet is added. b=118014 r=dbaron sr=kin a=asa and jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119032 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:03:15 +00:00
ftang%netscape.com
849a03fcf4 fix bug 110726. impelement nsIMacTextInputEventSink on nsMacWindow
to fix embedding input method
r=ccarlen sr=sfraser a=asa
carry from trunk


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119030 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:01:01 +00:00
dcone%netscape.com
43b89a87c3 b=121230 r=kmcclusk sr=attinasi a=tor. ADT+ approved. Fix PNG rendering.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119029 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:00:01 +00:00
ftang%netscape.com
2b462d89ac add nsIMacTextInputEventSink.idl to the widetIDL. move from trunk
fix bug 110726. r=ccarlen sr=sfraser a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119028 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:58:56 +00:00
ftang%netscape.com
7f02e46de6 add this from trunk
fix bug 110726 r=ccarlen sr=sfraser a=asa
add idl for mac input method.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119026 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:56:53 +00:00
leaf%mozilla.org
6ea3a5d455 bugs 133794 and 135585, update release notes urls, fix about: page user-agent
printing. reviews/approvals noted in bugs.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119023 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:50:17 +00:00
(no author)
6fd3021383 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@119022 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:49:30 +00:00
harishd%netscape.com
75ffa9f160 Fix js line numbers in html documents. b=111576, r=heikki, sr=jst a=asa,scc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@119016 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:44:48 +00:00
brade%netscape.com
ae776da105 bug 135862, use correct strings for new composer window (submitted by cmanske, r=brade, sr=kin, a=rjesup, adt=jaime, l10n=rchen)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118985 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 14:42:09 +00:00
brade%netscape.com
add60686df bug 75898 (force platform overlays during jar process) r=pinkerton, sr=sfraser, a=asa, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118984 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 14:28:32 +00:00
brade%netscape.com
318c4d4e32 remove Composer's debug menu (bug 83349, r=rcassubm cmanske, sr=sfraser, a=asa, adt=jaime)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118982 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 13:54:24 +00:00
kaie%netscape.com
e93a97fc87 b=119481 Fix various unitialized variables.
r=kaie/javi sr=kin a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118977 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 11:37:58 +00:00
kaie%netscape.com
758b75177d b=129740 Fix client auth with profiles migrated from Communicator.
r=javi sr=alecf a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118976 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 11:34:38 +00:00
kaie%netscape.com
045bea67fd b=132543 Fix crash when downloading CRL
r=javi sr=alecf a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118975 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 11:32:10 +00:00
jkeiser%netscape.com
d78f3e282e Fix reflow problems for boxes with non-box children (bug 119849), r=hewitt, sr=attinasi, a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118972 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 04:54:23 +00:00
dcone%netscape.com
f6400c0959 b=135208 r=kmcclusk, sr=attinasi a=asa adt approved. Fix color printout of light text.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118971 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 04:09:28 +00:00
naving%netscape.com
9507ed70ae 136636 r=bienvenu sr=sspitzer a=rjesup. Do not set m_ownFolderStream to false, StartBatch is called twice here
and would leave the stream open.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118970 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 04:01:50 +00:00
jdunn%netscape.com
358d670381 Use compiler define _AIX instead of user defined AIX4_3 (which isn't set
on AIX5L)
# 133834
r=dmose@netscape.com
a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118952 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 11:15:10 +00:00
timeless%mac.com
76ee3df50c Bug 129999 needs ansi-1251 font support in nsFontMetricsGTK/nsFontMetricsXlib
patch by Roland.Mainz@informatik.med.uni-giessen.de r=katakai sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118946 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 00:40:26 +00:00
seawood%netscape.com
d37950ff50 Make --srcdir autodetection work with activestate perl
Bug #135589


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118942 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 23:03:00 +00:00
caillon%returnzero.com
a31ba917d3 Bug 133764. Unable to change content pack and language pack at once. Patch by kairo@kairo.at, r=dbragg, sr=alecf, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118941 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 22:49:21 +00:00
dbragg%netscape.com
72cf8919f4 Regular update of localeVersion to 1.0.0 (bug 126785) r=tao, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118932 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 16:22:23 +00:00
dbragg%netscape.com
a533e6f79e Regular update of localeVersion strings to 1.0.0. (bug 126785) r=tao, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118931 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 16:09:05 +00:00
dbaron%fas.harvard.edu
e8755c4945 Fix percentage font sizes when all font properties specified (and not inherited) by weaking (again) optimization of not calling parent's GetStyleData. b=132381 r=hyatt sr=waterson a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118930 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 15:40:31 +00:00
sicking%bigfoot.com
e661aff94e Bug 119317: move the "inherits" attribute to the xbl namespace for most clients.
r=hixie sr=hyatt a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118928 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 15:05:18 +00:00
colin%theblakes.com
11af650b54 Fix busted printing for OpenVMS.
All these changes should be OpenVMS only.
b=136884 r=rods sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118924 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 12:53:28 +00:00
cbiesinger%web.de
7bdf727629 bug 44716 r=pavlov sr=tor a=asa
Mozilla doesn't claim .jfif, .pjpeg, .pjp extensions when checked


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118918 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 09:55:39 +00:00
cotter%netscape.com
804d8b6a74 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; update for edit ciphers section per new UI
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118912 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 05:38:36 +00:00
danm%netscape.com
4699ab09d6 changing the format of the comment describing registerNotification, as requested by depstein. bug 99618
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118902 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:55:13 +00:00
peterlubczynski%netscape.com
a7ec286d93 Stop sending bogus menu events to full-page plugins bug 93895 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118896 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:46:31 +00:00
waterson%netscape.com
10b1eb2d72 Bug 135146. Implement NS_FRAME_REFLOW_ROOT to allow reflows for <textarea> and <input type='text'> to be dispatched from the scroll frame within the nsGfxTextControlFrame2. r=kin, sr=attinasi, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118894 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:36:58 +00:00
yokoyama%netscape.com
f9b23c4cbf Bug 135476
Customize Character coding dialog box doesn't
display charencoding correctly.
Fixing typo in pref-charset.js
/r=ftang;/sr=hewitt;/adt+=paw@netscape.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118892 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:35:57 +00:00
mstoltz%netscape.com
8a360f6c9d Bug 136993 - Put the "trusted codebase principals" feature back in.
r=harishd, sr=jst, a=valeski


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118889 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:15:57 +00:00
cltbld%netscape.com
b3f041a340 Bug# 134225 - Updated milestone string from 0.9.9+ to 1.0.0+ r=asaki, sr/a=leaf. ycalonje checking in as cltbld
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118887 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 00:54:04 +00:00
jgmyers%netscape.com
f1ccc4dde2 Remove no longer needed forcehandshake code, fixing SSL/IMAP over SOCKS: bug 133434 r=kaie@netscape.com sr=brendan@mozilla.org a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118886 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 00:35:43 +00:00
leaf%mozilla.org
42d216f822 bug 133794 r/a=blizzard. User agent change for rc1, about: page spell-out of "Release
Candidate 1"


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118885 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 00:28:12 +00:00
shanjian%netscape.com
9e65ef69a5 #91305 add univerialchardet into unix default extensions list
add universalchardet.so to unix package as well.
r=cls, sr=hewitt, a=rjesup, adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118884 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 00:20:05 +00:00
sspitzer%netscape.com
36cdd5f3ff fix for blocker bug #136874. can't open mail/news window after closing.
r=shuehan, sr=bienvenu.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118881 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 21:16:38 +00:00
ccarlen%netscape.com
d0f31fb261 Fix for blocker bug 136693 - form submission not working dur to unimplemented confirmEx. r=pink/sr=sfraser
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118873 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 20:57:32 +00:00
pinkerton%netscape.com
f8e3cddf0a turn off double-buffering on osx with a new method on nsIRenderingContext. r=kmcclusk/sr=sfraser/a=valeski. bug# 78764
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118853 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:56:53 +00:00
brade%netscape.com
4604325dfc fix warning (bug 135771) r=akkana; sr=kin; a=asa; adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118845 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:00:48 +00:00
brade%netscape.com
34ed215e04 change progress status icons if cancellation of publish, fix SetProgressFinished to handle cases where we don't have a filename (bug 126258 and 135771) r=cmanske, akkana; sr=kin, a=asa, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118844 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 12:59:36 +00:00
brade%netscape.com
fa5c5eeb7d disable debug output, handle aborted error as a non-error, handle cases where we have a null channel (bugs 135527, 126258, 135771) r=cmanske, akkana; sr=kin, a=asa, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118843 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 12:57:53 +00:00
kaie%netscape.com
3317bd174a b=128586 Fix restoring certificates
adt=jaimejr a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118842 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 12:56:08 +00:00
caillon%returnzero.com
04958e3f9b Bug 117707. Disabling most of the prefs in Edit>Prefs>Advanced>Scripts/Windows was causing real JS scripts to break because it used CAPS. Move the checks for these features into C++, with new prefs. Patch by doronr@naboonline.com (initial work) and caillon@returnzero.com. r=fabian sr=jst a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118839 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 10:11:39 +00:00
seawood%netscape.com
92ff2b7272 Roll our own version of abs2rel to fix bustage when MOZ_OBJDIR contains ..
Bug #135589 r=kaie a=jesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118828 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 04:09:31 +00:00
kmcclusk%netscape.com
58150531b4 Fix off by one pixel scrolling errors running under 96DPI by replacing the damageRect.ScaleRoundOut(p2t) call with explicit conversion to twips because ScaleRoundOut introduced errors in the pixel to twips conversion. bug 120918; sr=attinasi r=dcone a=asa adt_a=paw
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118825 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 03:36:37 +00:00
jj%netscape.com
0869043d48 #4830: turning traceback option off for optimized non-Carbon classic builds - 1.0.0 BRANCH
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118817 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 01:06:28 +00:00
wtc%netscape.com
c8e259b919 Bugzilla bug 135448: removed a level of code to make semaphores faster.
This patch is contributed by Michael Kaply <mkaply@us.ibm.com>.
Modified files: _os2 os2cv.c os2vacpp.asm
Tag: MOZILLA_1_0_0_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118815 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 00:27:29 +00:00
morse%netscape.com
c74d723da4 remove the send flyout menu, r=sgehani, sr=jag, a=asa, adt=putterman, ok'ed by mcarlson
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118814 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 00:04:50 +00:00
shliang%netscape.com
d3fb5163a2 132896 - remove offline mode at startup ui in pref panel - r=ssu,sr=sspitzer,a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118811 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 23:40:48 +00:00
darin%netscape.com
4ce3a9d36f fixes bug 136857 "Enable Pipelining doesn't remain disabled when HTTP 1.0
selected" patch=davidstl@yahoo.com r=brade sr=darin


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118806 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 22:50:59 +00:00
naving%netscape.com
e629278774 136443 r=blake sr=sspitzer a=asa. Make stop button, stop from menus work again in mailnews.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118805 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 22:44:06 +00:00
dbragg%netscape.com
22d56d374f Final little teeny part of bug 130102. Adding a comma after toolbars. r=bzbarsky, sr=alecf, a=asa (for drivers)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118804 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 22:34:01 +00:00
blakeross%telocity.com
587635d6b6 127349 - remove partial favicon support. r=ben sr=alecf a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118803 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 22:27:33 +00:00
(no author)
551965e5db 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@118801 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 22:18:56 +00:00
wtc%netscape.com
1e111acc39 Merged the fix for Bugzilla bug 136625 on the MOZILLA_1_0_0_BRANCH.
r=relyea. a=jaimejr@netscape.com adt1.0.0+ (on ADT's behalf).


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118799 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 22:13:47 +00:00
darin%netscape.com
c461ca32b7 fixes bug 130079 "Importing IE favorites turns spaces into %20 (URL-encoded)"
patch=andreas.otte@debitel.net
r=ben sr=darin a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118786 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 21:12:27 +00:00
pinkerton%netscape.com
a0bac4e516 actually hook up dnd overriding apis to webbrowserchrome. r=brade/sr=blizzard/a=valeski. bug# 136744.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118781 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 19:47:23 +00:00
wtc%netscape.com
8e4140b79c Bugzilla bug 135119: fixed compilation problems on Linux Alpha. r=cls.
a=rjesup@wgate.com for check into the mozilla 1.0.0 branch.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118773 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 18:14:39 +00:00
oeschger%netscape.com
7f3448f68f just updating some mozilla help content, dispensation per 122806, updating per 46917, r=oeschger, author=jayesh sheth
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118764 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:43:36 +00:00
(no author)
0ee3a71577 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@118763 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:41:30 +00:00
pinkerton%netscape.com
b1e2b1e3bf clean up checking for a golden child menu. don't delete a golden child menu when setting the hidden attribute. that would be bad. r=saari/sr=sfraser/a=asa. bug# 136460
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118760 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:37:39 +00:00
seawood%netscape.com
2ade79cfe2 Fix link ordering problem when building with static components and a static gtk.
Bug #136192 r=bryner a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118757 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:31:27 +00:00
kin%netscape.com
f57fa35533 Fix for bug 128136 (Printing disables keyboard movement of caret in textfields)
Added SuppressEventHandlers() utility routine, which PreDestroy()
and CreateAnonymousContent() now call to determine if the controller
unregister/register code should be executed.

r=rods@netscape.com  sr=sfraser@netscape.com
adt=jaimejr@netscape.com  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118754 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:22:32 +00:00
kin%netscape.com
c89366eb3e Fix for bug 110940 (order List ID does not display correctly after change )
RenumberListsFor() now calls Invalidate() for a bullet frame if it's ordinal is changed.

r=kmcclusk@netscape.com  sr=waterson@netscape.com
adt=jaimejr@netscape.com  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118753 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:19:49 +00:00
seawood%netscape.com
204c694be1 Add dependency to fix -jx build bustage.
Bug #136297 r=dcran,dmose a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118751 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:01:14 +00:00
cbiesinger%web.de
b148ba5407 bug 136382 r=rjesup@wgate.com sr=tor a=asa
preference to disable image placeholders


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118742 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 12:22:31 +00:00
timeless%mac.com
9090496ade Bug 135903 'Size' items in Page Info hasn't units
patch by db48x@yahoo.com r=biesi sr=alecf a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118737 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 06:46:18 +00:00
timeless%mac.com
1d66a32348 Bug 69295 [RFE] Unable to follow link/copy/drag elements of Page Info, e.g. images
patch by db48x@yahoo.com r=kerz sr=alecf a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118736 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 06:45:06 +00:00
badami%netscape.com
d8a4df2f50 HTTP 300 page screws up session history
bug=114982 sr=darin r=rpotts a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118724 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:56:03 +00:00
dbaron%fas.harvard.edu
daca085785 Fix topcrash by clearing the view manager's weak pointer back to the pres shell before the pres shell goes away. b=134664 r=roc+moz sr=jag a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118717 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:05:10 +00:00
dbaron%fas.harvard.edu
992e77fb04 Fix potential leak of view observer (pres shell). b=134664 r=roc+moz sr=jag a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118716 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:04:19 +00:00
serge%netscape.com
fbe8d4409c fix #94895, Flash movie is constantly stopped and restarted, r=peterl, sr=beard, a=paw
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118714 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:40:42 +00:00
dveditz%netscape.com
4743655549 fix chromeless/blank browser after upgrade (bug 135222) r=syd, sr=sfraser, a=rjesup, adt=paw
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118705 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:42:17 +00:00
(no author)
08b55a8c92 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@118704 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:28:52 +00:00
saari%netscape.com
358a7fceee small fix 7868 r=jfrancis sr= kin adt+ ect. Added parameter that was in 9.8 branch now to 1.0 branch.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118694 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:02:16 +00:00
darin%netscape.com
6f907b6f81 fixes bug 136678 "byte range request fails if server returns anything other
than 206" r=dougt sr=rpotts a=asa adt1.0.0+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118685 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:27:11 +00:00
darin%netscape.com
be52de925f fixes bug 135547 "make event queues more robust"
r=danm sr=rpotts,brendan a=drivers,adt


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118683 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:19:25 +00:00
alexsavulov%netscape.com
d7072a40f3 fix for bug 107545
added nullcheck for frame pointer
r=kmccluskey sr=attinasi a=rjesup adt1.0.0+=syd


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118681 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:12:48 +00:00
cotter%netscape.com
7d36c6511d ongoing privacy & securtity help content updates per 122806, r=oeschger; misc. minor correx.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118675 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 23:31:16 +00:00
akkana%netscape.com
9d9d6d8619 129122: Add a new serializer mode (used primarily by mail)
in which <br> tags within <pre> blocks are translated to newlines.
r=nhotta,ducarroz,tmutreja sr=sspitzer a=rjesup adt1.0.0+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118673 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 23:27:20 +00:00
mkaply%us.ibm.com
239695399c #135450
r=wtc, a=asa
OS/2 only - don't set priority if it is the default


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118669 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 23:05:03 +00:00
mkaply%us.ibm.com
c1b3007458 #136622
r=pedemont, sr=blizzard, a=asa
OS/2 only - rewrite cursor code - support crosshair


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118667 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:55:38 +00:00
mkaply%us.ibm.com
731717a2fe OS/2 bustage - need extern C - already baked on trunk - r=dmose
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118657 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:12:19 +00:00
kin%netscape.com
c92d888b06 Fix for bug 136408 (Crash editing pages with text widgets)
Use :canvas as selector to avoid triggering layout crash bug 123049.
Added isindex and textarea to list of items to use default cursor.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
adt=syd@netscape.com  a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118655 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:02:27 +00:00
ducarroz%netscape.com
3722e59eaa Fix for bug 129358. Need to pre-initialize spec.name to void memory corruption in the copy constructor when the file doesn't exist. Also protect the copy constructor against bogus spec.name. R=fraser, SR=sspitzer, A=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118647 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:32:27 +00:00
danm%netscape.com
7341a8a72f freezing interface for 1.0. bug 99618 r=chak,rpotts a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118644 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:21:46 +00:00
danm%netscape.com
d87745cb1f freezing interface for 1.0. bug 99617 r=chak,rpotts a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118643 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:21:12 +00:00
danm%netscape.com
26fe20452e freezing interface for 1.0. bug 136275 r=chak,rpotts a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118641 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:20:10 +00:00
ducarroz%netscape.com
fa18c05f79 Fix for bug 120594. Add a null pointer check to avoid crashing. R=varada, SR=bienvenu, A=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118636 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 20:53:57 +00:00
radha%netscape.com
a48dbb8e4c Fix for bug 135868. crash due to null pointer reference in nsDocShell::InternalLoad().
r=mcafee, sr=rpotts a=valeski. Approved by ADT.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118634 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 19:41:04 +00:00
sicking%bigfoot.com
e317dd137f Bug 135679: fixes form submit when target url is same page and current url has anchor.
r=jkeiser sr=attinasi a=rjesup


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118619 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 14:03:12 +00:00
shliang%netscape.com
8946cfe8c2 133355 - adding fake free web mail account to folder pane - will only show up in commercial builds - r=bhuvan,sr=sspitzer,a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118614 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 11:59:45 +00:00
locka%iol.ie
4a01af29d0 Fix an %s which should have been an %S. b=131143 r=chak@netscape.com sr=rpotts@netscape.com a=lorikaplan@netscape.com (locale) a=jaimejr@netscape.com (adt) a=asa@mozilla.org (drivers)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118612 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 11:30:09 +00:00
locka%iol.ie
c14766db45 Lower limit on number of nested content frames before giving up. b=126466 r=fabian@bluishgecko.net sr=jst@netscape.com a=rjesup@wgate.com (drivers) a=jaimejr@netscape.com (adt)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118611 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 11:28:01 +00:00
caillon%returnzero.com
e885f1dd15 Bug 135998, Clean up and shrink output of the HTML directory listing. r=bbaetz,glazou sr=darin a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118608 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 10:28:57 +00:00
varga%utcru.sk
bab75062ce Fix for bug 135048 - Folder pane won't auto scroll down during drag and drop.
Covers 134889 also.
r=bryner, sr=ben, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118607 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 09:48:53 +00:00
racham%netscape.com
49443b5f2c Fixing bug 135594. Allow ISPs to customize mailnews account wizard via overlay wizard pages. r/sr=sspitzer, a=asa, adt
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118603 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 09:02:09 +00:00
dmose%netscape.com
895a74da95 LDAP over SSL (bug 107411). UI changes thanks to srilatha@netscape.com nsLDAPSecurityGlue.cpp: r=mcs@netscape.com; Mac S/MIME build changes: r=javi@netscape.com; Mac Project changes: r=rdayal; all other files: r=bhuvan@netscape.com; entire patch: sr=sspitzer@netscape.com; a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118597 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 05:56:07 +00:00
(no author)
446b07e818 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@118589 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:41:24 +00:00
danm%netscape.com
7fbc9919c2 reverting rev 3.409. this re-opens bug 120155 but fixes bug 134317 and bug 135528. snif.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118587 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:36:20 +00:00
cltbld%netscape.com
6320f9759f force commit to allow checkouts by branch and date
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118581 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 03:46:58 +00:00
leaf%mozilla.org
72b6ef5cdc testing dolog change, comment change only
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118579 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 23:49:17 +00:00
jj%netscape.com
024577fbad pull from MOZILLA_1_0_0_BRANCH tag
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@118574 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 22:20:34 +00:00
(no author)
6e8bb30a03 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@118551 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 14:31:21 +00:00
25365 changed files with 6225685 additions and 103548 deletions

43
mozilla/LEGAL Normal file
View File

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

567
mozilla/LICENSE Normal file
View File

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

399
mozilla/Makefile.in Normal file
View File

@@ -0,0 +1,399 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DEPTH = .
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/build/unix/modules.mk
ifneq ($(BUILD_MODULES),all)
DIRS = $(BUILD_MODULE_DIRS)
EXPORT_DIRS = $(BUILD_MODULE_DEP_DIRS)
else
#
# And now for something completely different...
# Divide the default build into tiers.
# Tiers must be defined on module boundaries
#
default: $(SUBMAKEFILES)
$(MAKE) tier_0
$(MAKE) nspr
$(MAKE) ldap
ifdef MOZ_ENABLE_XFT
$(MAKE) freetype
$(MAKE) expat
endif
$(MAKE) tier_1
$(MAKE) tier_9
ifdef MOZ_EXTENSIONS
$(MAKE) tier_94
endif
ifdef MOZ_PSM
$(MAKE) tier_95
endif
ifdef MOZ_MAIL_NEWS
$(MAKE) tier_97
endif
ifdef MOZ_CALENDAR
$(MAKE) tier_98
endif
$(MAKE) tier_99
# Make sure that the existing rulesets work
DIRS = \
$(tier_0_dirs) \
$(tier_1_dirs) \
$(tier_9_dirs) \
$(NULL)
ifdef GC_LEAK_DETECTOR
DIRS += gc/boehm
endif
ifdef MOZ_EXTENSIONS
DIRS += $(tier_94_dirs)
endif
ifdef MOZ_PSM
DIRS += $(tier_95_dirs)
endif
ifdef MOZ_MAIL_NEWS
DIRS += $(tier_97_dirs)
endif
ifdef MOZ_CALENDAR
DIRS += $(tier_98_dirs)
endif
DIRS += $(tier_99_dirs)
#
# tier 0 - base build config dirs
#
tier_0_dirs = \
config \
build \
include \
$(NULL)
#
# tier 1 - base libraries
#
tier_1_dirs = js
# MacOSX needs to build lib for MoreFiles before xpcom
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
tier_1_dirs += lib/mac/MoreFiles
endif
#
# tier 9 - core components (xpcom,necko,gecko)
#
# intl should not be in here - it's just temporary until
# xpconnect's dependency on intl is repaired - see bug 106130
tier_9_dirs += \
modules/libreg \
string \
xpcom \
intl \
$(NULL)
ifndef MOZ_NATIVE_ZLIB
tier_9_dirs += modules/zlib
endif
# Installer needs standalone libjar, hence standalone zlib
ifneq (,$(filter Linux SunOS WINNT,$(OS_ARCH)))
tier_9_dirs += modules/zlib/standalone
endif
tier_9_dirs += \
modules/libjar \
$(NULL)
ifdef MOZ_JAVA_SUPPLEMENT
tier_9_dirs += \
java/util \
java/webclient \
$(NULL)
endif
ifndef MOZ_NATIVE_JPEG
tier_9_dirs += jpeg
endif
tier_9_dirs += dbm js/src/xpconnect
ifdef MOZ_OJI
tier_9_dirs += js/src/liveconnect
endif
ifdef MOZ_JSDEBUGGER
tier_9_dirs += js/jsd
endif
ifdef MOZ_ENABLE_XFT
tier_9_dirs += other-licenses/Xft
endif
ifdef MOZ_ENABLE_XLIB
tier_9_dirs += gfx/src/xlibrgb widget/src/xlibxtbin
endif
ifdef MOZ_ENABLE_GTK
tier_9_dirs += widget/src/gtksuperwin widget/src/gtkxtbin
endif
ifdef MOZ_INTERNAL_LIBART_LGPL
tier_9_dirs += other-licenses/libart_lgpl
endif
tier_9_dirs += \
modules/libutil \
netwerk \
modules/mpfilelocprovider \
uriloader \
modules/libpref \
modules/libimg \
modules/oji \
caps \
rdf \
expat \
htmlparser \
gfx \
gfx2 \
modules/libpr0n \
modules/plugin \
dom \
view \
widget \
content \
layout \
db \
docshell \
webshell \
embedding \
editor \
sun-java \
profile \
themes \
$(NULL)
ifdef ACCESSIBILITY
tier_9_dirs += accessible
endif
ifdef MOZ_LDAP_XPCOM
tier_9_dirs += directory/xpcom
endif
# This must preceed xpfe
ifdef MOZ_JPROF
tier_9_dirs += tools/jprof
endif
tier_9_dirs += xpfe xpinstall
ifdef MOZ_LEAKY
tier_9_dirs += tools/leaky
endif
ifdef ENABLE_TESTS
tier_9_dirs += xpcom/tests
endif
ifdef NS_TRACE_MALLOC
tier_9_dirs += tools/trace-malloc
endif
tier_9_dirs += l10n
#
# tier 9x - application features
#
ifdef MOZ_EXTENSIONS
tier_94_dirs += extensions
endif
ifdef MOZ_PSM
tier_95_dirs += security/manager
endif
ifdef MOZ_MAIL_NEWS
tier_97_dirs += mailnews
endif
ifdef MOZ_CALENDAR
tier_98_dirs += calendar
endif
#
# tier 99 - application binaries
#
ifneq (,$(MOZ_STATIC_COMPONENTS)$(MOZ_META_COMPONENTS))
tier_99_dirs += modules/staticmod
endif
tier_99_dirs += xpfe/bootstrap
ifdef MOZ_ENABLE_GTK
tier_99_dirs += embedding/browser/gtk/tests
endif
endif # BUILD_MODULES == all
STATIC_MAKEFILES := nsprpub directory/c-sdk
ifdef MOZ_PSM
STATIC_MAKEFILES += security/nss
endif
GARBAGE_DIRS += dist
DIST_GARBAGE = config.cache config.log config.status config-defs.h \
dependencies.beos config/autoconf.mk config/myrules.mk config/myconfig.mk \
unallmakefiles \
$(topsrcdir)/.mozconfig.mk $(topsrcdir)/.mozconfig.out
ifeq ($(BUILD_MODULES),all)
# Build psuedo-external modules first when export is explicitly called
export::
$(MAKE) -C config export
$(MAKE) nspr
$(MAKE) ldap
ifdef MOZ_ENABLE_XFT
$(MAKE) freetype
$(MAKE) expat
endif
install::
ifndef MOZ_NATIVE_NSPR
$(MAKE) -C nsprpub real_install DESTDIR=$(DESTDIR) libdir=$(mozappdir) includedir=$(includedir)/nspr
$(RM) -f $(addprefix $(DESTDIR)$(mozappdir)/$(LIB_PREFIX), $(addsuffix .$(LIB_SUFFIX), nspr4 plds4 plc4))
$(RM) -f $(addprefix $(DESTDIR)$(bindir)/,nspr-config compile-et.pl prerr.properties)
endif
ifdef MOZ_LDAP_XPCOM
$(MAKE) -C directory/c-sdk real_install DESTDIR=$(DESTDIR) libdir=$(mozappdir) includedir=$(includedir)/ldap
endif
endif
include $(topsrcdir)/config/rules.mk
ifeq ($(BUILD_MODULES),all)
# Clean up after psuedo-external modules
clean clobber realclean clobber_all distclean::
ifndef MOZ_NATIVE_NSPR
$(MAKE) -C nsprpub $@
endif
ifdef MOZ_LDAP_XPCOM
$(MAKE) -C directory/c-sdk $@
endif
endif
tier_%:
@echo "$@: $($@_dirs)"
@$(EXIT_ON_ERROR) \
for d in $($@_dirs); do $(UPDATE_TITLE) \
$(MAKE) -C $$d export; \
done ; \
$(PERL) $(MOZILLA_DIR)/config/purge-old-headers.pl $(DIST)/include ;\
for d in $($@_dirs); do $(UPDATE_TITLE) \
$(MAKE) -C $$d libs; \
done
#
# Individual modules
#
boehm:
ifdef GC_LEAK_DETECTOR
$(MAKE) -C gc/boehm
endif
nspr: boehm
ifndef MOZ_NATIVE_NSPR
$(MAKE) -C nsprpub
endif
ldap:
ifdef MOZ_LDAP_XPCOM
$(MAKE) -C directory/c-sdk
endif
freetype:
ifdef MOZ_ENABLE_XFT
ifndef MOZ_XFT_SYSTEM_FREETYPE2
$(MAKE) -C other-licenses/freetype
$(MAKE) -C other-licenses/freetype install
endif
endif
expat:
ifdef MOZ_ENABLE_XFT
$(MAKE) -C other-licenses/expat
$(MAKE) -C other-licenses/expat install
endif
# For modules.mk standalone build
export::
+$(LOOP_OVER_EXPORT_DIRS)
export::
@$(PERL) $(MOZILLA_DIR)/config/purge-old-headers.pl $(DIST)/include
distclean::
cat unallmakefiles | $(XARGS) rm -f
rm -f unallmakefiles $(DIST_GARBAGE)
ifeq ($(OS_ARCH),WINNT)
rebase:
ifdef MOZILLA_OFFICIAL
echo rebasing $(DIST)
/bin/find $(DIST) -name "*.dll" > rebase.lst
rebase -b 60000000 -R . -G rebase.lst
rm rebase.lst
endif
splitsymbols:
ifdef MOZILLA_OFFICIAL
echo splitting symbols out of binaries
/bin/find $(DIST) -name "*.dll" -exec splitsym {} \;
/bin/find $(DIST) -name "*.exe" -exec splitsym {} \;
/bin/find $(DIST) -name "*.EXE" -exec splitsym {} \;
endif # MOZILLA_OFFICIAL
deliver: splitsymbols rebase
endif # WINNT
# Temporary hack for NSS 3.4 landing (bug 116334, wtc@netscape.com)
ifdef MOZ_PSM
ifdef COMPILER_DEPEND
depend::
$(MAKE) -C security/manager depend
endif
endif

325
mozilla/README.txt Normal file
View File

@@ -0,0 +1,325 @@
==============================================================
= = = = = = = = = = Mozilla Read Me = = = = = = = = = = =
==============================================================
Mozilla is subject to the terms detailed in the license
agreement accompanying it.
This Read Me file contains information about system
requirements and installation instructions for the Windows,
Mac OS, and Linux builds of Mozilla.
For more info on Mozilla, see www.mozilla.org. To submit bugs
or other feedback, see the Navigator QA menu and check out
Bugzilla at http://bugzilla.mozilla.org for links to known
bugs, bug-writing guidelines, and more. You can also get help
with Bugzilla by pointing your IRC client to #mozillazine
at irc.mozilla.org.
==============================================================
Getting Mozilla
==============================================================
You can download nightly builds of Mozilla from the
Mozilla.org FTP site at
ftp://ftp.mozilla.org/pub/mozilla/nightly/
For the very latest builds, see
ftp://ftp.mozilla.org/pub/mozilla/nightly/latest
Keep in mind that nightly builds, which are used by
Mozilla.org developers for testing, may be buggy. If you are
looking for a more polished version of Mozilla, Mozilla.org
releases Milestone builds of Mozilla every six weeks or so
that you can download from
http://www.mozilla.org/releases
Be sure to read the Mozilla release notes for information
on known problems and installation issues with Mozilla.
The release notes can be found at the preceding URL along
with the milestone releases themselves.
Note: Please use Talkback builds whenever possible. These
builds allow transmission of crash data back to Mozilla
developers, improved crash analysis, and posting of crash
information to our crash-data newsgroup.
==============================================================
System Requirements
==============================================================
*All Platforms
To view and use the new streamlined "Modern" theme,
your display monitor should be set to display
thousands of colors. For users who cannot set their
displays to use more than 256 colors, Mozilla.org
recommends using the "Classic" theme for Mozilla.
To select the Modern theme after you have installed
Mozilla, from the Navigator browser, open the View
menu, and then open then open the Apply Theme submenu
and choose Modern.
*Mac OS
-Mac OS 8.6 or later
-PowerPC 604e 266 MHz or faster processor, or G3/G4
-64 MB RAM
-36 MB of free hard disk space
*Windows
-Windows 9x/Me or Windows NT 4/2000/XP
-Intel Pentium-class 233 MHz (or faster) processor
-64 MB RAM
-26 MB free hard disk space
*Linux
-Red Hat Linux 6.x or 7 with X11 R6
[Note: Mozilla is certified and fully supported on
Red Hat Linux, but will run on other Linux
distributions, such as Debian 2.1 (or later) or
SuSE 6.2 (or later). The libraries glibc 2.1 (or
higher) and libjpeg.so.62 (or higher) are required.]
-Intel Pentium-class 233 MHz (or faster) processor
-64MB RAM
-26MB free hard disk space
==============================================================
Installation Instructions
==============================================================
For Mac OS and Windows users, it is strongly recommended that
you exit all programs before running the setup program. Also,
you should temporarily disable virus-detection software.
For Linux users, note that the installation instructions use
the bash shell. If you're not using bash, adjust the commands
accordingly.
For all platforms, install into a clean (new) directory.
Installing on top of previously released builds may cause
problems.
Note: These instructions do not tell you how to build Mozilla.
For info on building the Mozilla source, see
http://www.mozilla.org/source.html
Windows Installation Instructions
---------------------------------
Note: For Windows NT/2000/XP systems, you need Administrator
privileges to install Mozilla. If you see an "Error 5" message
during installation, make sure you're running the installation
with Administrator privileges.
To install Mozilla by downloading the Mozilla installer,
follow these steps:
1. Click the the mozilla-win32-installer.exe link on
the site you're downloading Mozilla from to download
the installer file to your machine.
2. Navigate to where you downloaded the file and
double-click the Mozilla program icon on your machine
to begin the Setup program.
3. Follow the on-screen instructions in the setup
program. The program starts automatically the first
time.
To install Mozilla by downloading the .zip file and
installing manually, follow these steps:
1. Click the mozilla-win32-talkback.zip link or the
mozilla-win32.zip link on the site you're down-
loading Mozilla from to download the .zip file to
your machine.
2. Navigate to where you downloaded the file and
double-click the compressed file.
Note: This step assumes you already have a recent
version of WinZip installed, and that you know how to
use it. If not, you can get WinZip and information
about the program at www.winzip.com.
3. Extract the .zip file to a directory such as
C:\Program Files\mozilla.org\Mozilla.
4. To start Mozilla, navigate to the directory you
extracted Mozilla to and double-click the Mozilla.exe
icon.
Mac OS Installation Instructions
--------------------------------
Note: If the downloaded file does not expand automatically
you must expand the file using a program such as StuffIt
Expander. Expander ships with all new Macs and comes with the
default system install, so you may want to do a find in
Sherlock for "StuffIt" to make sure that you don't already
have it installed.
If you don't have Expander, you can get a copy at the
following Web site:
http://www.aladdinsys.com/expander/expander_mac_login.html
If you do already have Expander, you need to set it to start
by default. See the above URL for info on using Expander.
To install Mozilla by downloading the Mozilla installer,
(recommended) follow these steps:
1. Click the MacMozillaInstaller.sea.bin link on the
site you're downloading Mozilla from to download the
file to your Mac's desktop. A MozillaInstaller
folder is created.
2. Double-click the MozillaInstaller folder in the
Finder.
3. Double-click the Mozilla Installer icon.
4. Follow the on-screen instructions to complete the
installation process.
5. To start Mozilla, open the folder where you
installed Mozilla and double-click the Mozilla icon.
To install Mozilla by downloading the .bin file and
installing manually, follow these steps:
1. Click the mozilla-mac-*.sea.bin link on the site
you're downloading Mozilla from to download the
Mozilla binary to your Mac's desktop.
2. Double-click the mozilla-mac-*.sea.sit.bin icon
on your desktop.
3. Choose the directory where you want to install
Mozilla.
4. To start Mozilla, open the folder where you
installed Mozilla and double-click the Mozilla icon.
Linux Installation Instructions
-------------------------------
Note: If you install in the default directory (which is
usually /usr/local/mozilla), or any other directory where
only the root user normally has write-access, you must
start Mozilla first as root before other users can start
the program. Doing so generates a set of files required
for later use by other users.
To install Mozilla by downloading the Mozilla installer,
follow these steps:
1. Create a directory named mozilla (mkdir mozilla)
and change to that directory (cd mozilla).
2. Click the link on the site you're downloading
Mozilla from to download the installer file
(called mozilla-1686-pc-linux-gnu-installer.tar.gz)
to your machine.
3. Change to the mozilla directory (cd mozilla) and
decompress the archive with the following command:
tar zxvf moz*.tar.gz
The installer is now located in a subdirectory of
Mozilla named mozilla-installer.
4. Change to the mozilla-installer directory
(cd mozilla-installer) and run the installer with the
./mozilla-installer command.
5. Follow the instructions in the install wizard for
installing Mozilla.
Note: If you have a slower machine, be aware that the
installation may take some time. In this case, the
installation progress may appear to hang indefinitely,
even though the installation is still in process.
6. To start Mozilla, change to the directory where you
installed it and run the ./mozilla command.
To install Mozilla by downloading the tar.gz file:
1. Create a directory named "mozilla" (mkdir mozilla)
and change to that directory (cd mozilla).
2. Click the link on the site you're downloading
Mozilla from to download the non-installer
(mozilla*.tar.gz) file into the mozilla directory.
3. Change to the mozilla directory (cd mozilla) and
decompress the file with the following command:
tar zxvf moz*.tar.gz
This creates a "mozilla" directory under your mozilla
directory.
4. Change to the mozilla directory (cd mozilla).
5. Run Mozilla with the following run script:
./mozilla
To hook up Mozilla complete with icon to the GNOME Panel,
follow these steps:
1. Click the GNOME Main Menu button, open the Panel menu,
and then open the Add to Panel submenu and choose Launcher.
2. Right-click the icon for Mozilla on the Panel and
enter the following command:
directory_name./mozilla
where directory_name is the name of the directory
you downloaded mozilla to. For example, the default
directory that Mozilla suggests is /usr/local/mozilla.
3. Type in a name for the icon, and type in a comment
if you wish.
4. Click the icon button and type in the following as
the icon's location:
directory_name/icons/mozicon50.xpm
where directory name is the directory where you
installed Mozilla. For example, the default directory
is /usr/local/mozilla/icons/mozicon50.xpm.

View File

@@ -0,0 +1,2 @@
Pursuant to section 3.3 of the MPL, this file will contain a list of the files
that have been modified by IBM Corporation.

View File

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

View File

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

View File

@@ -0,0 +1,190 @@
<html>
<head>
<title>
How the Accessible Module works
</title>
</head>
<body>
<h1>How the Accessible module (accessibility.dll) works</h1>
<ul>
<p>
See also:
<a href="http://www.mozilla.org/projects/ui/accessibility/vendors-win.html">Gecko Info for Windows Accessibility Vendors</a>, a primer for vendors of 3rd party accessibility software, on how to use our MSAA and other relevant API's.
</p>
<p>
The <a href="http://lxr.mozilla.org/seamonkey/source/accessible/">Accessible module</a> is where we implement support for the <a href="http://www.microsoft.com/enable/msaa/">Microsoft Active Accessibility (MSAA) API</a>
(<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=12952">bug 12952</a>).
Support for Sun's <a href="http://www.sun.com/access/gnome/">Gnome Accessibility API</a> is part of our future plans as well.
</p>
</ul>
<h2>What is MSAA?</h2>
<ul>
<p>
A 3rd part accessibility aid, such as a screen reader, wants to track what's happening inside Mozilla. It needs to know about
focus changes and other events, and it needs to know whtat data nodes there are in the layout tree.
Using this information,
the screen reader will speak out loud important changes to the document or UI, and allow the user to track
where they navigate. Some screen readers also magnify text and images in the currently focused area, and others
show information on a <a href="http://www.audiodata.de/e/produkte/pc/lapbraille/">refreshable braille display</a>.
</p>
<p>
In Windows, accesibility aids acquires the necessary information to do this using hacks and MSAA. MSAA is supposed
to be the "right way" for accessibility aids to get information, but sometimes the hacks are more effective.
For example, screen readers look for screen draws of a vertical blinking line, to determine the location of the caret.
Without doing this, screen readers would not be able to let the user know where there caret has moved to in most programs,
because so many applications do not use the system caret (ours is an example). This is so commonly done, that
no one even bothers to support the MSAA caret, because the hack works.
</p>
<p>
MSAA provides information in two different ways:
<ol>
<li>a COM interface (IAccessible) that allows applications to expose the tree of data nodes that make up
each window in the user interface currently being interacted with and</li>
<li> a set of system messages
that confer accessibility-related events such as focus changes, changes to document content and alerts.</li>
</ol>
</p>
<p>
To really learn about MSAA, you need to download
the entire <a href="http://www.microsoft.com/enable/msaa/download.htm">MSAA SDK</a>.
Without downloading the SDK, you won't get the complete documentation.
The SDK also contains some very useful tools, such as the Accessible Event Watcher, which shows what accessible
events are being generated by a given piece of software. The Accessible Explorer and Inspect Object tools
show the tree of data nodes the Accessible object is exposing through COM.
</p>
</ul>
<h2>IAccessible Interface</h2>
<ul>
<p>
The IAccessible interface is used in a tree of IAccessible's, each one representing a data node, similar to a DOM.
</p>
<p>
Here are the methods supported in IAccessible:
<ul>
<li>get_accParent: Get the parent of an IAccessible.</li>
<li>get_accChildCount: Get the number of children of an IAccesible.</li>
<li>get_accChild: Get the child of an Iaccessible.</li>
<li>get_accName: Get the "name" of the IAccessible, for example the name of a button, checkbox or menuitem.</li>
<li>get_accValue: Get the "value" of the IAccessible, for example a number in a slider, a URL for a link, the text a user entered in a field.</li>
<li>get_accDescription: Get a long description of the current IAccessible. This is not really too useful.</li>
<li>get_accRole: Get an enumerated value representing what this IAccessible is used for, for example.</li>
is it a link, static text, editable text, a checkbox, or a table cell, etc.</li>
<li>get_accState: a 32 bit field representing possible on/off states, such as focused, fousable, selected, selectable, visible, protected (for passwords),
checked, etc. </li>
<li>get_accHelp: Get context sensitive help for the IAccessible.</li>
<li>get_accHelpTopic: We don't use this, it's only if the Windows help system is used.</li>
<li>get_accKeyboardShortcut: What is the keyboard shortcut for this IAccessible.</li>
<li>get_accFocus: Which child is focused?</li>
<li>get_accSelection: Which children of this item are selected?</li>
<li>get_accDefaultAction: Get a description or name of the default action for this component, such as "jump" for links.</li>
<li>accSelect: Select the item associated with this IAccessible.</li>
<li>accLocation: Get the x,y coordinates, and the height and width of this IAccessible node.</li>
<li>accNavigate: Navigate up, down, left or right from this IAccessible.</li>
<li>accHitTest: Find out what IAccessible exists and a specific coordinate.</li>
<li>accDoDefaultAction: Perform the action described by get_accDefaultAction.</li>
<li>put_accName: Change the name.</li>
<li>put_accValue: Change the value.</li>
</ul>
</p>
</ul>
<h2>The Basics</h2>
<ul>
<p>
Rather than directly implement IAccessible with an Accessible class, we have chosen to proxy to our own cross-platform interface,
called nsIAccessible, which is more robust. It has the capability of supporting other new accessibility API's such
as Sun's Gnome Accessiblity API. The nsIAccessible interface is implemented by a variety of classes for each of the
various objects in HTML. Each class is tailored to the specific abilities and properties of the HTML objects it applies to.
</p>
<p>
The first thing that happens when an accessibility aid wants to watch our application is calls the Windows API function
AccessibleObjectFromWindow(). This in turns sends the window in question
a <a href="http://lxr.mozilla.org/seamonkey/search?string=WM_GETOBJECT">WM_GETOBJECT</a> message requesting an IAccessible for the window.
In our case, this event is received in mozilla/widget/src/windows/nsWindow.cpp.
We send back an IAccessible interface that represents that root window. The accessibility aid will use
that first IAccessible to reach rest of the IAccessible hierarchy, by asking for it's children IAccessibles, asking the children for the
grandchildren IAccessibles, and so on. Until this WM_GETOBJECT message is processed, the accessibility.dll is not loaded,
so there is almost zero overhead for accessibility in Mozilla.
</p>
</ul>
<h2>How the IAccessible's are Created</h2>
<ul>
<p>
To create the root IAccessible for a window the first time it gets the <a href="http://lxr.mozilla.org/seamonkey/search?string=WM_GETOBJECT">WM_GETOBJECT</a> message in,
nsWindow.cpp first generates an internal event
called <a href="http://lxr.mozilla.org/seamonkey/search?string=NS_GETACCESSIBLE">NS_GETACCESSIBLE</a>,
which is handled in nsFrame.cpp via the creation of an nsRootAccessible implementation of the nsIAccessible interface.
The first IAccessible is then created by instantiating a RootAccessible class. This RootAccessible is also cached by
the nsWindow it's for, so that any additional WM_GETOBJECT messages use the same RootAccessible.
The RootAccessible class used to implement IAccessible here is slightly different from the normal Accessible class
that's used, in that it keeps track of event data.
RootAccessible and Accessible are both implemented
in <a href="http://lxr.mozilla.org/seamonkey/source/widget/source/windows/Accessible.cpp">
mozilla/widget/src/windows/Accessible.cpp</a>).
</P>
</ul>
<h2>The Real Power Behind IAccessible's</h2>
<ul>
<p>The implementations of IAccessible (Accessible and RootAccessible), don't know anything about Mozilla
objects. They merely proxy to our cross platform accessibility classes, which all have an nsIAccessible interface.
</h2>
<p>
The base implementation for nsIAccessible is called nsAccessible. It has default implementations for all the
nsIAccessible methods. It also knows how
to walk Mozilla's content DOM and frame tree, exposing only the objects that are needed for accessibility.
Essentially, nsAccessible knows what it needs to expose by asking each DOM node's primary frame for
an nsIAccessible, using the GetAccessible() method. If it gets one, it's considered an accessible object.
A frame that wishes to return
an nsIAccessible GetAccessible() is called, creates one of the correct type on the fly using
nsIAccessibilityService methods built for that purpose.
</p>
<p>
The specific implementations
of nsIAccessible for each widget or content type inherit from nsAccessible.
Each implementation then overrides those methods
it wishes to implement, and does nothing for those methods it wants the default behavior for.
For example, the default behavior for nsIAccessible::getAccFirstChild is to
instantial a nsDOMTreeWalker, and ask it for the first child. However, nsImageAccessible overrides getAccFirstChild,
returning the first area of an image map if there is one, otherwise nsnull.
</p>
</ul>
<h2>MSAA Events</h2>
<ul>
<p>
When an accessibility-related event occurs within an application such as Mozilla, it must use NotifyWinEvent from
the Win32 API. NotifyWinEvent is passed arguments for the window the event occured in, and the number of the child
within that window. Accessibility aids use the Win32 call SetWinEventHook() to register as a listener for these events.
</p>
<p>
The accessibility aid is choose which events it is interested in learning more about by using the Win32 API call
AccessibleObjectFromEvent, requesting the IAccessible to the node corresponding to the
child number that had been indicated from NotifyWinEvent(). This ends up asking our RootAccessible for the child
IAccessible that matches the window handle and child id we indicated through NotofyWinEvent().
</p>
<p>
In Mozilla, this creates a problem. We cannot
keep track of a child number for every important accessible node in a document. We deal with this by generating fake
child IDs for the most recent accessibile events that we have generated, in a circular array.
</p>
<p>
Since there is a RootAccessible for each top level window that might generate MSAA events, that's where we do the bookkeeping
for these events and their nsIAccessible's. Whenever NotifyWinEvent() is called, a new fake ID is generated (We use
negative numbers for the fake IDs). When the callback comes to request the IAccessible for that child number,
we check the circular array for that ID, and voila, we have the corresponding nsIAccessible to proxy.
</p>
<p>
Every RootAccessible has an nsRootAccessible which is an nsIAccessibleEventReceiver. The RootAccessible
uses this to register itself as an nsIAccessibleEventListener. In the end, nsRootAccessible registers itself as a listener
of Mozilla's internal and DOM events. It's HandleEvent routine translates these events into MSAA events, and passes them along to
with an nsIAccessible to the original RootAccessible::HandleEvent
which turns that nsIAccessible into a NotifyWinEvent call, complete with a fake child ID.
</p>
<p>
Most MSAA events aren't utilized by accessibility aids. Therefore we implement only the handful that matter.
The most important event is the focus event, followed by name, state and value change events.
</p>
</ul>
</body>
</html>

View File

@@ -0,0 +1,68 @@
#
# 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): John Gaunt (jgaunt@netscape.com)
#
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
LIBRARY_NAME = accessibility
EXPORT_LIBRARY = 1
ifneq ($(OS_ARCH),WINNT)
SHORT_LIBNAME = access
endif
IS_COMPONENT = 1
MODULE_NAME = nsAccessibilityModule
REQUIRES = \
xpcom \
string \
dom \
$(NULL)
CPPSRCS = nsAccessibilityFactory.cpp
LOCAL_INCLUDES = -I$(srcdir)/../src
SHARED_LIBRARY_LIBS = \
$(DIST)/lib/$(LIB_PREFIX)accessibility_base_s.$(LIB_SUFFIX) \
$(DIST)/lib/$(LIB_PREFIX)accessibility_html_s.$(LIB_SUFFIX) \
$(NULL)
ifdef MOZ_XUL
SHARED_LIBRARY_LIBS += $(DIST)/lib/$(LIB_PREFIX)accessibility_xul_s.$(LIB_SUFFIX)
endif
EXTRA_DSO_LIBS = \
gkconshared_s \
gkgfx \
$(NULL)
EXTRA_DSO_LDOPTS = \
$(LIBS_DIR) \
$(EXTRA_DSO_LIBS) \
$(MOZ_COMPONENT_LIBS) \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -0,0 +1,55 @@
#!gmake
#
# 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): John Gaunt (jgaunt@netscape.com)
DEPTH=..\..
MODULE=accessibility
REQUIRES = \
xpcom \
string \
dom \
$(NULL)
LIBRARY_NAME=accessibility
MODULE_NAME=nsAccessibilityModule
include <$(DEPTH)\config\config.mak>
CPP_OBJS=\
.\$(OBJDIR)\nsAccessibilityFactory.obj \
$(NULL)
LINCS = $(LINCS) -I..\src # for implementation headers
SUB_LIBRARIES=\
$(DIST)\lib\accessibility_base_s.lib \
$(DIST)\lib\accessibility_html_s.lib \
!ifdef MOZ_XUL
$(DIST)\lib\accessibility_xul_s.lib \
!endif
$(NULL)
LLIBS=\
$(DIST)\lib\xpcom.lib \
$(DIST)\lib\gkgfx.lib \
$(DIST)\lib\contentshared_s.lib \
$(LIBNSPR) \
$(NULL)
include <$(DEPTH)\config\rules.mak>

View File

@@ -0,0 +1,76 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsCOMPtr.h"
#include "nsIModule.h"
#include "nsIGenericFactory.h"
#include "nsIServiceManager.h"
#include "nsIComponentManager.h"
#include "nsIAccessibilityService.h"
#include "nscore.h"
static NS_IMETHODIMP
NS_ConstructAccessibilityService(nsISupports *aOuter, REFNSIID aIID, void **aResult)
{
nsresult rv;
NS_ASSERTION(aOuter == nsnull, "no aggregation");
nsIAccessibilityService* accessibility;
rv = NS_NewAccessibilityService(&accessibility);
if (NS_FAILED(rv)) {
NS_ERROR("Unable to construct chrome registry");
return rv;
}
rv = accessibility->QueryInterface(aIID, aResult);
NS_ASSERTION(NS_SUCCEEDED(rv), "unable to find correct interface");
NS_RELEASE(accessibility);
return rv;
}
// The list of components we register
static const nsModuleComponentInfo components[] =
{
{ "AccessibilityService",
NS_ACCESSIBILITY_SERVICE_CID,
"@mozilla.org/accessibilityService;1",
NS_ConstructAccessibilityService
},
};
NS_IMPL_NSGETMODULE(nsAccessibilityModule, components);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,26 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..
DIRS= public src build
include <$(DEPTH)\config\rules.mak>

View File

@@ -0,0 +1,2 @@
nsIAccessibilityService.idl
nsIAccessible.idl

View File

@@ -0,0 +1,43 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
XPIDL_MODULE= accessibility
XPIDLSRCS = \
nsIAccessibilityService.idl \
nsIAccessible.idl \
nsIAccessibleDocument.idl \
nsIAccessibleEventReceiver.idl \
nsIAccessibleEventListener.idl \
nsIAccessibleSelectable.idl \
nsIAccessibleProvider.idl \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -0,0 +1,39 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..
MODULE=accessibility
XPIDL_MODULE=accessibility
XPIDLSRCS = \
.\nsIAccessibilityService.idl \
.\nsIAccessible.idl \
.\nsIAccessibleDocument.idl \
.\nsIAccessibleEventReceiver.idl \
.\nsIAccessibleEventListener.idl \
.\nsIAccessibleSelectable.idl \
.\nsIAccessibleProvider.idl \
$(NULL)
EXPORTS = \
$(NULL)
include <$(DEPTH)\config\rules.mak>

View File

@@ -0,0 +1,99 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
* Contributor(s):
*/
#include "nsISupports.idl"
#include "domstubs.idl"
#include "nsIAtom.idl"
#include "domstubs.idl"
#include "nsIAccessible.idl"
interface nsIWeakReference;
[scriptable, uuid(68D9720A-0984-42b6-A3F5-8237ED925727)]
interface nsIAccessibilityService : nsISupports
{
nsIAccessible createAccessible(in nsIDOMNode aNode, in nsISupports aDocument);
nsIAccessible createIFrameAccessible(in nsIDOMNode aNode);
nsIAccessible createRootAccessible(in nsISupports aPresContext, in nsISupports aFrame);
nsIAccessible createHTML4ButtonAccessible(in nsISupports aFrame);
nsIAccessible createHTMLAreaAccessible(in nsIWeakReference aPresShell, in nsIDOMNode aDOMNode, in nsIAccessible aAccParent);
nsIAccessible createHTMLBlockAccessible(in nsIDOMNode aNode, in nsISupports aDocument);
nsIAccessible createHTMLButtonAccessible(in nsISupports aFrame);
nsIAccessible createHTMLCheckboxAccessible(in nsISupports aFrame);
nsIAccessible createHTMLComboboxAccessible(in nsIDOMNode aNode, in nsISupports aPresShell);
nsIAccessible createHTMLGroupboxAccessible(in nsISupports aFrame);
nsIAccessible createHTMLImageAccessible(in nsISupports aFrame);
nsIAccessible createHTMLListboxAccessible(in nsIDOMNode aNode, in nsISupports aPresShell);
// new
// nsIAccessible CreateHTMLObjectAccessible(in nsISupports aFrame);
// end new
nsIAccessible createHTMLRadioButtonAccessible(in nsISupports aFrame);
nsIAccessible createHTMLSelectOptionAccessible(in nsIDOMNode aNode, in nsIAccessible aAccParent, in nsISupports aPresShell);
nsIAccessible createHTMLTableAccessible(in nsISupports aFrame);
nsIAccessible createHTMLTableCellAccessible(in nsISupports aFrame);
nsIAccessible createHTMLTextAccessible(in nsISupports aFrame);
nsIAccessible createHTMLTextFieldAccessible(in nsISupports aFrame);
nsIAccessible createXULButtonAccessible(in nsIDOMNode aNode);
nsIAccessible createXULCheckboxAccessible(in nsIDOMNode aNode);
nsIAccessible createXULColorPickerAccessible(in nsIDOMNode aNode);
nsIAccessible createXULColorPickerTileAccessible(in nsIDOMNode aNode);
nsIAccessible createXULComboboxAccessible(in nsIDOMNode aNode);
nsIAccessible createXULDropmarkerAccessible(in nsIDOMNode aNode);
nsIAccessible createXULGroupboxAccessible(in nsIDOMNode aNode);
nsIAccessible createXULImageAccessible(in nsIDOMNode aNode);
nsIAccessible createXULListboxAccessible(in nsIDOMNode aNode);
nsIAccessible createXULListitemAccessible(in nsIDOMNode aNode);
nsIAccessible createXULMenubarAccessible(in nsIDOMNode aNode);
nsIAccessible createXULMenuitemAccessible(in nsIDOMNode aNode);
nsIAccessible createXULMenupopupAccessible(in nsIDOMNode aNode);
nsIAccessible createXULMenuSeparatorAccessible(in nsIDOMNode aNode);
nsIAccessible createXULProgressMeterAccessible(in nsIDOMNode aNode);
nsIAccessible createXULStatusBarAccessible(in nsIDOMNode aNode);
nsIAccessible createXULRadioButtonAccessible(in nsIDOMNode aNode);
nsIAccessible createXULRadioGroupAccessible(in nsIDOMNode aNode);
nsIAccessible createXULSelectOptionAccessible(in nsIDOMNode aNode);
nsIAccessible createXULSelectListAccessible(in nsIDOMNode aNode);
nsIAccessible createXULTabAccessible(in nsIDOMNode aNode);
nsIAccessible createXULTabBoxAccessible(in nsIDOMNode aNode);
nsIAccessible createXULTabPanelsAccessible(in nsIDOMNode aNode);
nsIAccessible createXULTabsAccessible(in nsIDOMNode aNode);
nsIAccessible createXULTextAccessible(in nsIDOMNode aNode);
nsIAccessible getAccessibleFor(in nsIDOMNode aNode);
};
%{ C++
// for component registration
// {DE401C37-9A7F-4278-A6F8-3DE2833989EF}
#define NS_ACCESSIBILITY_SERVICE_CID \
{ 0xde401c37, 0x9a7f, 0x4278, { 0xa6, 0xf8, 0x3d, 0xe2, 0x83, 0x39, 0x89, 0xef } }
extern nsresult
NS_NewAccessibilityService(nsIAccessibilityService** aResult);
%}

View File

@@ -0,0 +1,193 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: Eric D Vaughan (evaughan@netscape.com)
*
* Contributor(s):
* Aaron Leventhal
* John Gaunt
*/
#include "nsISupports.idl"
#include "nsIDOMNode.idl"
#include "domstubs.idl"
[scriptable, uuid(B26FBE47-9A5F-42a1-822B-082461AE4D6D)]
interface nsIAccessible : nsISupports
{
readonly attribute nsIAccessible accParent;
readonly attribute nsIAccessible accNextSibling;
readonly attribute nsIAccessible accPreviousSibling;
readonly attribute nsIAccessible accFirstChild;
readonly attribute nsIAccessible accLastChild;
readonly attribute long accChildCount;
attribute DOMString accName;
readonly attribute DOMString accValue;
readonly attribute DOMString accDescription;
readonly attribute unsigned long accRole;
readonly attribute unsigned long accState;
readonly attribute unsigned long accExtState;
readonly attribute DOMString accHelp;
readonly attribute nsIAccessible accFocused;
nsIAccessible accGetAt(in long x, in long y);
nsIAccessible accNavigateRight();
nsIAccessible accNavigateLeft();
nsIAccessible accNavigateUp();
nsIAccessible accNavigateDown();
void accGetBounds(out long x,
out long y,
out long width,
out long height);
void accAddSelection();
void accRemoveSelection();
void accExtendSelection();
void accTakeSelection();
void accTakeFocus();
readonly attribute PRUint8 accNumActions;
DOMString getAccActionName(in PRUint8 index);
void accDoAction(in PRUint8 index); // Action number 0 is the default action
nsIDOMNode accGetDOMNode();
// Used by Accessible implementation to save data and speed up accessibility tree walking
[noscript] void CacheOptimizations(in nsIAccessible aParent, in PRInt32 aSiblingIndex, in nsIDOMNodeList aSiblingList);
// MSAA State flags - used for bitfield. More than 1 allowed.
const unsigned long STATE_UNAVAILABLE = 0x00000001; // Disabled, maps to opposite of Java ENABLED, Gnome/ATK SENSITIVE?
const unsigned long STATE_SELECTED = 0x00000002;
const unsigned long STATE_FOCUSED = 0x00000004;
const unsigned long STATE_PRESSED = 0x00000008;
const unsigned long STATE_CHECKED = 0x00000010;
const unsigned long STATE_MIXED = 0x00000020; // 3-state checkbox or toolbar button
const unsigned long STATE_READONLY = 0x00000040; // Maps to opposite of Java/Gnome/ATK EDITABLE state
const unsigned long STATE_HOTTRACKED = 0x00000080;
const unsigned long STATE_DEFAULT = 0x00000100;
const unsigned long STATE_EXPANDED = 0x00000200;
const unsigned long STATE_COLLAPSED = 0x00000400;
const unsigned long STATE_BUSY = 0x00000800;
const unsigned long STATE_FLOATING = 0x00001000; // Children "owned" not "contained" by parent
const unsigned long STATE_MARQUEED = 0x00002000;
const unsigned long STATE_ANIMATED = 0x00004000;
const unsigned long STATE_INVISIBLE = 0x00008000;
const unsigned long STATE_OFFSCREEN = 0x00010000;
const unsigned long STATE_SIZEABLE = 0x00020000;
const unsigned long STATE_MOVEABLE = 0x00040000;
const unsigned long STATE_SELFVOICING = 0x00080000;
const unsigned long STATE_FOCUSABLE = 0x00100000;
const unsigned long STATE_SELECTABLE = 0x00200000;
const unsigned long STATE_LINKED = 0x00400000;
const unsigned long STATE_TRAVERSED = 0x00800000;
const unsigned long STATE_MULTISELECTABLE = 0x01000000; // Supports multiple selection
const unsigned long STATE_EXTSELECTABLE = 0x02000000; // Supports extended selection
const unsigned long STATE_ALERT_LOW = 0x04000000; // This information is of low priority
const unsigned long STATE_ALERT_MEDIUM = 0x08000000; // This information is of medium priority
const unsigned long STATE_ALERT_HIGH = 0x10000000; // This information is of high priority
const unsigned long STATE_PROTECTED = 0x20000000; // Maps to Gnome's *Role* ATK_ROLE_PASSWD_TEXT, nothing for Java?
const unsigned long STATE_HASPOPUP = 0x40000000; // New in MSAA 2.0
// Extended state flags (for now non-MSAA, for Java and Gnome/ATK support)
// This is only the states that there isn't already a mapping for in MSAA
// See www.accessmozilla.org/article.php?sid=11 for information on the mappings between accessibility API states
const unsigned long STATE_INVALID = 0x00200000; // No explanation given
const unsigned long STATE_ACTIVE = 0x00400000; // This window is currently the active window
const unsigned long STATE_EXPANDABLE = 0x00800000; // An item that can be expanded, such as a tree item with children
const unsigned long STATE_MODAL = 0x01000000; // Must do something with control before leaving it
const unsigned long STATE_MULTI_LINE = 0x02000000; // Edit control that can take multiple lines
const unsigned long STATE_SENSITIVE = 0x04000000; // No explanation given
const unsigned long STATE_RESIZABLE = 0x08000000; // Object can be resized
const unsigned long STATE_SHOWING = 0x10000000; // This object and all of it's ancestors are visible
const unsigned long STATE_SINGLE_LINE = 0x20000000; // This text object can only contain 1 line of text
const unsigned long STATE_TRANSIENT = 0x40000000; // Tells accessibility aid "Don't add event listener - this object doesn't generate any". For example, could be used with higher level containers.
const unsigned long STATE_VERTICAL = 0x80000000; // Especially used for sliders and scrollbars
// MSAA Roles - only one per nsIAccessible or IAccessible
const unsigned long ROLE_TITLEBAR = 0x00000001;
const unsigned long ROLE_MENUBAR = 0x00000002;
const unsigned long ROLE_SCROLLBAR = 0x00000003;
const unsigned long ROLE_GRIP = 0x00000004;
const unsigned long ROLE_SOUND = 0x00000005;
const unsigned long ROLE_CURSOR = 0x00000006;
const unsigned long ROLE_CARET = 0x00000007;
const unsigned long ROLE_ALERT = 0x00000008;
const unsigned long ROLE_WINDOW = 0x00000009;
const unsigned long ROLE_CLIENT = 0x0000000A;
const unsigned long ROLE_MENUPOPUP = 0x0000000B;
const unsigned long ROLE_MENUITEM = 0x0000000C;
const unsigned long ROLE_TOOLTIP = 0x0000000D;
const unsigned long ROLE_APPLICATION = 0x0000000E;
const unsigned long ROLE_DOCUMENT = 0x0000000F;
const unsigned long ROLE_PANE = 0x00000010;
const unsigned long ROLE_CHART = 0x00000011;
const unsigned long ROLE_DIALOG = 0x00000012;
const unsigned long ROLE_BORDER = 0x00000013;
const unsigned long ROLE_GROUPING = 0x00000014;
const unsigned long ROLE_SEPARATOR = 0x00000015;
const unsigned long ROLE_TOOLBAR = 0x00000016;
const unsigned long ROLE_STATUSBAR = 0x00000017;
const unsigned long ROLE_TABLE = 0x00000018;
const unsigned long ROLE_COLUMNHEADER = 0x00000019;
const unsigned long ROLE_ROWHEADER = 0x0000001A;
const unsigned long ROLE_COLUMN = 0x0000001B;
const unsigned long ROLE_ROW = 0x0000001C;
const unsigned long ROLE_CELL = 0x0000001D;
const unsigned long ROLE_LINK = 0x0000001E;
const unsigned long ROLE_HELPBALLOON = 0x0000001F;
const unsigned long ROLE_CHARACTER = 0x00000020;
const unsigned long ROLE_LIST = 0x00000021;
const unsigned long ROLE_LISTITEM = 0x00000022;
const unsigned long ROLE_OUTLINE = 0x00000023;
const unsigned long ROLE_OUTLINEITEM = 0x00000024;
const unsigned long ROLE_PAGETAB = 0x00000025;
const unsigned long ROLE_PROPERTYPAGE = 0x00000026;
const unsigned long ROLE_INDICATOR = 0x00000027;
const unsigned long ROLE_GRAPHIC = 0x00000028;
const unsigned long ROLE_STATICTEXT = 0x00000029;
const unsigned long ROLE_TEXT = 0x0000002A; // Editable, selectable, etc.
const unsigned long ROLE_PUSHBUTTON = 0x0000002B;
const unsigned long ROLE_CHECKBUTTON = 0x0000002C;
const unsigned long ROLE_RADIOBUTTON = 0x0000002D;
const unsigned long ROLE_COMBOBOX = 0x0000002E;
const unsigned long ROLE_DROPLIST = 0x0000002F;
const unsigned long ROLE_PROGRESSBAR = 0x00000030;
const unsigned long ROLE_DIAL = 0x00000031;
const unsigned long ROLE_HOTKEYFIELD = 0x00000032;
const unsigned long ROLE_SLIDER = 0x00000033;
const unsigned long ROLE_SPINBUTTON = 0x00000034;
const unsigned long ROLE_DIAGRAM = 0x00000035;
const unsigned long ROLE_ANIMATION = 0x00000036;
const unsigned long ROLE_EQUATION = 0x00000037;
const unsigned long ROLE_BUTTONDROPDOWN = 0x00000038;
const unsigned long ROLE_BUTTONMENU = 0x00000039;
const unsigned long ROLE_BUTTONDROPDOWNGRID = 0x0000003A;
const unsigned long ROLE_WHITESPACE = 0x0000003B;
const unsigned long ROLE_PAGETABLIST = 0x0000003C;
const unsigned long ROLE_CLOCK = 0x0000003D;
const unsigned long ROLE_SPLITBUTTON = 0x0000003E; // New in MSAA 2.0
const unsigned long ROLE_IPADDRESS = 0x0000003F; // New in MSAA 2.0
const unsigned long ROLE_NOTHING = 0xffffffff;
};

View File

@@ -0,0 +1,41 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: Aaron Leventhal
*
* Contributor(s):
* John Gaunt
*/
#include "nsISupports.idl"
#include "nsIAccessible.idl"
#include "domstubs.idl"
interface nsIDocument;
[scriptable, uuid(8781FC88-355F-4439-881F-6504A0A1CEB6)]
interface nsIAccessibleDocument : nsISupports
{
readonly attribute DOMString URL;
readonly attribute DOMString title;
readonly attribute DOMString mimeType;
readonly attribute DOMString docType;
DOMString getNameSpaceURIForID(in short nameSpaceID);
[noscript] nsIDocument getDocument();
};

View File

@@ -0,0 +1,45 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: Eric D Vaughan (evaughan@netscape.com)
*
* Contributor(s):
*/
#include "nsISupports.idl"
#include "nsIAccessible.idl"
[scriptable, uuid(BEE49E7D-9D06-49bf-8984-1694C697D74F)]
interface nsIAccessibleEventListener : nsISupports
{
// these are set to the values given by MSAA
const unsigned long EVENT_FOCUS = 0x8005;
const unsigned long EVENT_STATE_CHANGE = 0x800A;
const unsigned long EVENT_NAME_CHANGE = 0x800C;
const unsigned long EVENT_SELECTION = 0x8006;
const unsigned long EVENT_SELECTION_ADD = 0x8007;
const unsigned long EVENT_SELECTION_REMOVE = 0x8008;
const unsigned long EVENT_SELECTION_WITHIN = 0x8009;
const unsigned long EVENT_MENUSTART = 0x0004;
const unsigned long EVENT_MENUEND = 0x0005;
const unsigned long EVENT_MENUPOPUPSTART = 0x0006;
const unsigned long EVENT_MENUPOPUPEND = 0x0007;
void handleEvent(in unsigned long aEvent, in nsIAccessible aTarget);
};

View File

@@ -0,0 +1,32 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: Eric D Vaughan (evaughan@netscape.com)
*
* Contributor(s):
*/
#include "nsIAccessibleEventListener.idl"
[scriptable, uuid(AB331E47-4FAA-4a12-9480-9B480DD78B39)]
interface nsIAccessibleEventReceiver : nsISupports
{
void addAccessibleEventListener(in nsIAccessibleEventListener aListener);
void removeAccessibleEventListener();
};

View File

@@ -0,0 +1,33 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: John Gaunt (jgaunt@netscape.com)
*
* Contributor(s):
* John Gaunt
*/
#include "nsISupports.idl"
#include "nsIAccessible.idl"
[scriptable, uuid(3f0e3eb0-1dd2-11b2-9605-be5b8e76cf4b)]
interface nsIAccessibleProvider : nsISupports
{
readonly attribute nsIAccessible accessible;
};

View File

@@ -0,0 +1,34 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: John Gaunt (jgaunt@netscape.com)
*
* Contributor(s):
* John Gaunt
*/
#include "nsISupports.idl"
#include "nsIAccessible.idl"
#include "nsISupportsArray.idl"
[scriptable, uuid(34d268d6-1dd2-11b2-9d63-83a5e0ada290)]
interface nsIAccessibleSelectable : nsISupports
{
nsISupportsArray GetSelectedChildren();
};

View File

@@ -0,0 +1,39 @@
#
# 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): John Gaunt (jgaunt@netscape.com)
#
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = \
base \
html \
$(null)
ifdef MOZ_XUL
DIRS += xul
endif
include $(topsrcdir)/config/rules.mk

View File

@@ -0,0 +1 @@
accessible.properties

View File

@@ -0,0 +1,77 @@
#
# 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): John Gaunt (jgaunt@netscape.com)
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
LIBRARY_NAME = accessibility_base_s
REQUIRES = \
content \
content_xul \
docshell \
dom \
gfx \
gfx2 \
htmlparser \
imglib2 \
intl \
layout \
locale \
necko \
string \
uriloader \
view \
webshell \
widget \
xpcom \
xuldoc \
webbrwsr \
$(NULL)
CPPSRCS = \
nsAccessibilityService.cpp \
nsAccessible.cpp \
nsBaseWidgetAccessible.cpp \
nsFormControlAccessible.cpp \
nsGenericAccessible.cpp \
nsRootAccessible.cpp \
nsSelectAccessible.cpp \
$(NULL)
EXPORTS = \
nsRootAccessible.h \
$(NULL)
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES += \
-I$(srcdir) \
-I$(srcdir)/../html \
-I$(srcdir)/../xul \
$(NULL)

View File

@@ -0,0 +1,8 @@
jump = Jump
press = Press
check = Check
uncheck = Uncheck
select = Select
open = Open
close = Close
switch = Switch

View File

@@ -0,0 +1,3 @@
en-win.jar:
locale/en-US/global-platform/accessible.properties

View File

@@ -0,0 +1,77 @@
#!gmake
#
# 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): John Gaunt (jgaunt@netscape.com)
DEPTH = ..\..\..
MODULE = accessibility
LIBRARY_NAME = accessibility_base_s
REQUIRES = \
content \
content_xul \
docshell \
dom \
gfx \
intl \
layout \
locale \
necko \
string \
uriloader \
view \
webshell \
widget \
xpcom \
$(NULL)
CPP_OBJS = \
.\$(OBJDIR)\nsAccessibilityService.obj \
.\$(OBJDIR)\nsAccessible.obj \
.\$(OBJDIR)\nsBaseWidgetAccessible.obj \
.\$(OBJDIR)\nsFormControlAccessible.obj \
.\$(OBJDIR)\nsGenericAccessible.obj \
.\$(OBJDIR)\nsRootAccessible.obj \
.\$(OBJDIR)\nsSelectAccessible.obj \
$(NULL)
EXPORTS = \
.\nsRootAccessible.h \
$(NULL)
LINCS = \
-I..\html \
-I..\xul \
-I..\..\..\layout\html\forms\public \
-I..\..\..\layout\html\forms\src \
-I..\..\..\layout\html\base\src \
$(NULL)
include <$(DEPTH)\config\rules.mak>
libs:: $(LIBRARY)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
clobber::
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,69 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Original Author: David W. Hyatt (hyatt@netscape.com)
* Contributor(s): John Gaunt (jgaunt@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __nsAccessibilityService_h__
#define __nsAccessibilityService_h__
#include "nsIAccessibilityService.h"
#include "nsIContent.h"
#include "nsIPresShell.h"
#include "nsIDocShell.h"
class nsIFrame;
class nsIWeakReference;
class nsIDOMNode;
class nsAccessibilityService : public nsIAccessibilityService
{
public:
nsAccessibilityService();
virtual ~nsAccessibilityService();
NS_DECL_ISUPPORTS
// nsIAccessibilityService methods:
NS_DECL_NSIACCESSIBILITYSERVICE
private:
nsresult GetInfo(nsISupports* aFrame, nsIFrame** aRealFrame, nsIWeakReference** aShell, nsIDOMNode** aContent);
nsresult GetShellFromNode(nsIDOMNode *aNode, nsIWeakReference **weakShell);
void GetOwnerFor(nsIPresShell *aPresShell, nsIPresShell **aOwnerShell, nsIContent **aOwnerContent);
nsIContent* FindContentForDocShell(nsIPresShell* aPresShell, nsIContent* aContent, nsIDocShell* aDocShell);
};
#endif /* __nsIAccessibilityService_h__ */

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,168 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsAccessible_H_
#define _nsAccessible_H_
#include "nsCOMPtr.h"
#include "nsGenericAccessible.h"
#include "nsIAccessible.h"
#include "nsIAccessibilityService.h"
#include "nsIDOMNode.h"
#include "nsIFocusController.h"
#include "nsIPresContext.h"
#include "nsIPresShell.h"
#include "nsPoint.h"
#include "nsRect.h"
#include "nsWeakReference.h"
#include "nsIDOMNodeList.h"
#include "nsIBindingManager.h"
#define ACCESSIBLE_BUNDLE_URL "chrome://global-platform/locale/accessible.properties"
class nsIContent;
class nsIDocShell;
class nsIFrame;
class nsIWebShell;
enum { eSiblingsUninitialized = -1, eSiblingsWalkNormalDOM = -2}; // Used in sibling index field as flags
class nsAccessible : public nsGenericAccessible
{
public:
// to eliminate the confusion of "magic numbers" -- if ( 0 ){ foo; }
enum { eAction_Switch=0, eAction_Jump=0, eAction_Click=0 };
// how many actions
enum { eNo_Action=0, eSingle_Action=1 };
nsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
virtual ~nsAccessible();
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccFocused(nsIAccessible **_retval);
NS_IMETHOD AccGetAt(PRInt32 x, PRInt32 y, nsIAccessible **_retval);
NS_IMETHOD AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height);
NS_IMETHOD AccRemoveSelection(void);
NS_IMETHOD AccTakeSelection(void);
NS_IMETHOD AccTakeFocus(void);
NS_IMETHOD AccGetDOMNode(nsIDOMNode **_retval);
protected:
virtual nsIFrame* GetFrame();
virtual nsIFrame* GetBoundsFrame();
virtual void GetBounds(nsRect& aRect, nsIFrame** aRelativeFrame);
virtual void GetPresContext(nsCOMPtr<nsIPresContext>& aContext);
PRBool IsPartiallyVisible();
NS_IMETHOD AppendLabelText(nsIDOMNode *aLabelNode, nsAString& _retval);
NS_IMETHOD AppendLabelFor(nsIContent *aLookNode, const nsAString *aId, nsAString *aLabel);
NS_IMETHOD GetHTMLAccName(nsAString& _retval);
NS_IMETHOD GetXULAccName(nsAString& _retval);
NS_IMETHOD AppendFlatStringFromSubtree(nsIContent *aContent, nsAString *aFlatString);
NS_IMETHOD AppendFlatStringFromContentNode(nsIContent *aContent, nsAString *aFlatString);
NS_IMETHOD AppendStringWithSpaces(nsAString *aFlatString, const nsAString& textEquivalent);
NS_IMETHOD GetFocusedElement(nsIDOMElement **aFocusedElement);
NS_IMETHOD CacheOptimizations(nsIAccessible *aParent, PRInt32 aSiblingIndex, nsIDOMNodeList *aSiblingList);
// helper method to verify frames
static PRBool IsCorrectFrameType(nsIFrame* aFrame, nsIAtom* aAtom);
static nsresult GetTranslatedString(const nsAString& aKey, nsAString& aStringOut);
void GetScrollOffset(nsRect *aRect);
void GetScreenOrigin(nsIPresContext *aPresContext, nsIFrame *aFrame, nsRect *aRect);
// Data Members
nsCOMPtr<nsIDOMNode> mDOMNode;
nsCOMPtr<nsIWeakReference> mPresShell;
nsCOMPtr<nsIAccessible> mParent;
nsCOMPtr<nsIDOMNodeList> mSiblingList; // If some of our computed siblings are anonymous content nodes, cache node list
PRInt32 mSiblingIndex; // Cache where we are in list of kids that we got from nsIBindingManager::GetContentList(parentContent)
};
/** This class is used to walk the DOM tree. It skips
* everything but nodes that either implement nsIAccessible
* or have primary frames that implement "GetAccessible"
*/
struct WalkState {
nsCOMPtr<nsIAccessible> accessible;
nsCOMPtr<nsIDOMNode> domNode;
nsCOMPtr<nsIDOMNodeList> siblingList;
PRInt32 siblingIndex; // Holds a state flag or an index into the siblingList
WalkState *prevState;
};
class nsAccessibleTreeWalker {
public:
nsAccessibleTreeWalker(nsIWeakReference* aShell, nsIDOMNode* aContent,
PRInt32 aCachedSiblingIndex, nsIDOMNodeList *aCachedSiblingList, PRBool mWalkAnonymousContent);
~nsAccessibleTreeWalker();
NS_IMETHOD GetNextSibling();
NS_IMETHOD GetPreviousSibling();
NS_IMETHOD GetParent();
NS_IMETHOD GetFirstChild();
NS_IMETHOD GetLastChild();
PRInt32 GetChildCount();
WalkState mState;
protected:
NS_IMETHOD GetChildBefore(nsIDOMNode* aParent, nsIDOMNode* aChild);
PRBool IsHidden();
PRBool GetAccessible();
NS_IMETHOD GetFullTreeParentNode(nsIDOMNode *aChildNode, nsIDOMNode **aParentNodeOut);
void GetSiblings(nsIDOMNode *aOneOfTheSiblings);
void GetKids(nsIDOMNode *aParent);
void ClearState();
NS_IMETHOD PushState();
NS_IMETHOD PopState();
nsCOMPtr<nsIWeakReference> mPresShell;
nsCOMPtr<nsIAccessibilityService> mAccService;
nsCOMPtr<nsIBindingManager> mBindingManager;
};
#endif

View File

@@ -0,0 +1,425 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsAccessible.h"
#include "nsBaseWidgetAccessible.h"
#include "nsCOMPtr.h"
#include "nsGUIEvent.h"
#include "nsIContent.h"
#include "nsIDOMElement.h"
#include "nsIDOMEventReceiver.h"
#include "nsIFrame.h"
#include "nsILink.h"
#include "nsIPresContext.h"
#include "nsIPresShell.h"
#include "nsISelection.h"
#include "nsISelectionController.h"
// ------------
// nsBlockAccessible
// ------------
nsBlockAccessible::nsBlockAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):nsAccessible(aNode, aShell)
{
}
/* nsIAccessible accGetAt (in long x, in long y); */
NS_IMETHODIMP nsBlockAccessible::AccGetAt(PRInt32 tx, PRInt32 ty, nsIAccessible **_retval)
{
// We're going to find the child that contains coordinates (tx,ty)
PRInt32 x,y,w,h;
AccGetBounds(&x,&y,&w,&h); // Get bounds for this accessible
if (tx >= x && tx < x + w && ty >= y && ty < y + h)
{
// It's within this nsIAccessible, let's drill down
nsCOMPtr<nsIAccessible> child;
nsCOMPtr<nsIAccessible> smallestChild;
PRInt32 smallestArea = -1;
nsCOMPtr<nsIAccessible> next;
GetAccFirstChild(getter_AddRefs(child));
PRInt32 cx,cy,cw,ch; // Child bounds
while(child) {
child->AccGetBounds(&cx,&cy,&cw,&ch);
// ok if there are multiple frames the contain the point
// and they overlap then pick the smallest. We need to do this
// for text frames.
// For example, A point that's in block #2 is also in block #1, but we want to return #2:
//
// [[block #1 is long wrapped text that continues to
// another line]] [[here is a shorter block #2]]
if (tx >= cx && tx < cx + cw && ty >= cy && ty < cy + ch)
{
if (smallestArea == -1 || cw*ch < smallestArea) {
smallestArea = cw*ch;
smallestChild = child;
}
}
child->GetAccNextSibling(getter_AddRefs(next));
child = next;
}
if (smallestChild != nsnull)
{
*_retval = smallestChild;
NS_ADDREF(*_retval);
return NS_OK;
}
*_retval = this;
NS_ADDREF(this);
return NS_OK;
}
*_retval = nsnull;
return NS_OK;
}
/**
* nsContainerAccessible
*/
nsContainerAccessible::nsContainerAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/** no actions */
NS_IMETHODIMP nsContainerAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eNo_Action;
return NS_OK;
}
/** no actions */
NS_IMETHODIMP nsContainerAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
return NS_OK;
}
/** no actions */
NS_IMETHODIMP nsContainerAccessible::AccDoAction(PRUint8 index)
{
return NS_OK;
}
/** no state -- normal */
NS_IMETHODIMP nsContainerAccessible::GetAccState(PRUint32 *_retval)
{
*_retval = 0;
return NS_OK;
}
/** no value */
NS_IMETHODIMP nsContainerAccessible::GetAccValue(nsAString& _retval)
{
return NS_OK;
}
/** no name*/
NS_IMETHODIMP nsContainerAccessible::GetAccName(nsAString& _retval)
{
return NS_OK;
}
//-------------
// nsLeafFrameAccessible
//-------------
nsLeafAccessible::nsLeafAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/* nsIAccessible getAccFirstChild (); */
NS_IMETHODIMP nsLeafAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/* nsIAccessible getAccLastChild (); */
NS_IMETHODIMP nsLeafAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/* long getAccChildCount (); */
NS_IMETHODIMP nsLeafAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}
//----------------
// nsLinkableAccessible
//----------------
nsLinkableAccessible::nsLinkableAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell), mIsALinkCached(PR_FALSE), mLinkContent(nsnull), mIsLinkVisited(PR_FALSE)
{
}
/* long GetAccState (); */
NS_IMETHODIMP nsLinkableAccessible::GetAccState(PRUint32 *_retval)
{
nsAccessible::GetAccState(_retval);
*_retval |= STATE_READONLY | STATE_SELECTABLE;
if (IsALink()) {
*_retval |= STATE_LINKED;
if (mIsLinkVisited)
*_retval |= STATE_TRAVERSED;
}
// Get current selection and find out if current node is in it
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell) {
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIPresContext> context;
shell->GetPresContext(getter_AddRefs(context));
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
nsIFrame *frame = nsnull;
if (content && NS_SUCCEEDED(shell->GetPrimaryFrameFor(content, &frame)) && frame) {
nsCOMPtr<nsISelectionController> selCon;
frame->GetSelectionController(context,getter_AddRefs(selCon));
if (selCon) {
nsCOMPtr<nsISelection> domSel;
selCon->GetSelection(nsISelectionController::SELECTION_NORMAL, getter_AddRefs(domSel));
if (domSel) {
PRBool isSelected = PR_FALSE, isCollapsed = PR_TRUE;
domSel->ContainsNode(mDOMNode, PR_TRUE, &isSelected);
domSel->GetIsCollapsed(&isCollapsed);
if (isSelected && !isCollapsed)
*_retval |=STATE_SELECTED;
}
}
}
if (IsALink()) {
// Make sure we also include all the states of the parent link, such as focusable, focused, etc.
PRUint32 role;
GetAccRole(&role);
if (role != ROLE_LINK) {
nsCOMPtr<nsIAccessible> parentAccessible;
GetAccParent(getter_AddRefs(parentAccessible));
if (parentAccessible) {
PRUint32 orState = 0;
parentAccessible->GetAccState(&orState);
*_retval |= orState;
}
}
}
return NS_OK;
}
NS_IMETHODIMP nsLinkableAccessible::GetAccValue(nsAString& _retval)
{
if (IsALink()) {
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(mLinkContent));
if (elt)
return elt->GetAttribute(NS_LITERAL_STRING("href"), _retval);
}
return NS_ERROR_NOT_IMPLEMENTED;
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsLinkableAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
/* wstring getAccActionName (in PRUint8 index); */
NS_IMETHODIMP nsLinkableAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
// Action 0 (default action): Jump to link
if (index == eAction_Jump) {
if (IsALink()) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("jump"), _retval);
return NS_OK;
}
return NS_ERROR_NOT_IMPLEMENTED;
}
return NS_ERROR_INVALID_ARG;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsLinkableAccessible::AccDoAction(PRUint8 index)
{
// Action 0 (default action): Jump to link
if (index == 0) {
if (IsALink()) {
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell) {
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIPresContext> presContext;
shell->GetPresContext(getter_AddRefs(presContext));
if (presContext) {
nsMouseEvent linkClickEvent;
linkClickEvent.eventStructType = NS_EVENT;
linkClickEvent.message = NS_MOUSE_LEFT_CLICK;
linkClickEvent.isShift = PR_FALSE;
linkClickEvent.isControl = PR_FALSE;
linkClickEvent.isAlt = PR_FALSE;
linkClickEvent.isMeta = PR_FALSE;
linkClickEvent.clickCount = 0;
linkClickEvent.widget = nsnull;
nsEventStatus eventStatus = nsEventStatus_eIgnore;
mLinkContent->HandleDOMEvent(presContext,
&linkClickEvent,
nsnull,
NS_EVENT_FLAG_INIT,
&eventStatus);
return NS_OK;
}
}
}
return NS_ERROR_INVALID_ARG;
}
PRBool nsLinkableAccessible::IsALink()
{
if (mIsALinkCached) // Cached answer?
return mLinkContent? PR_TRUE: PR_FALSE;
nsCOMPtr<nsIContent> walkUpContent(do_QueryInterface(mDOMNode));
if (walkUpContent) {
nsCOMPtr<nsIContent> tempContent = walkUpContent;
while (walkUpContent) {
nsCOMPtr<nsILink> link(do_QueryInterface(walkUpContent));
if (link) {
mLinkContent = tempContent;
mIsALinkCached = PR_TRUE;
nsLinkState linkState;
link->GetLinkState(linkState);
if (linkState == eLinkState_Visited)
mIsLinkVisited = PR_TRUE;
return PR_TRUE;
}
walkUpContent->GetParent(*getter_AddRefs(tempContent));
walkUpContent = tempContent;
}
}
mIsALinkCached = PR_TRUE; // Cached that there is no link
return PR_FALSE;
}
// ------------
// nsMenuListenerAccessible
// ------------
NS_IMPL_ISUPPORTS_INHERITED1(nsMenuListenerAccessible, nsAccessible, nsIDOMXULListener)
nsMenuListenerAccessible::nsMenuListenerAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsAccessible(aDOMNode, aShell)
{
mRegistered = PR_FALSE;
mOpen = PR_FALSE;
}
nsMenuListenerAccessible::~nsMenuListenerAccessible()
{
if (mRegistered) {
nsCOMPtr<nsIDOMEventReceiver> eventReceiver(do_QueryInterface(mDOMNode));
if (eventReceiver)
eventReceiver->RemoveEventListener(NS_LITERAL_STRING("popupshowing"), this, PR_TRUE);
}
}
NS_IMETHODIMP nsMenuListenerAccessible::PopupShowing(nsIDOMEvent* aEvent)
{
mOpen = PR_TRUE;
/* TBD send state change event */
return NS_OK;
}
NS_IMETHODIMP nsMenuListenerAccessible::PopupHiding(nsIDOMEvent* aEvent)
{
mOpen = PR_FALSE;
/* TBD send state change event */
return NS_OK;
}
NS_IMETHODIMP nsMenuListenerAccessible::Close(nsIDOMEvent* aEvent)
{
mOpen = PR_FALSE;
/* TBD send state change event */
return NS_OK;
}
void
nsMenuListenerAccessible::SetupMenuListener()
{
// if not already one, register ourselves as a popup listener
if (!mRegistered) {
nsCOMPtr<nsIDOMEventReceiver> eventReceiver(do_QueryInterface(mDOMNode));
if (!eventReceiver) {
return;
}
nsresult rv = eventReceiver->AddEventListener(NS_LITERAL_STRING("popupshowing"), this, PR_TRUE);
if (NS_FAILED(rv)) {
return;
}
mRegistered = PR_TRUE;
}
}

View File

@@ -0,0 +1,148 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsBaseWidgetAccessible_H_
#define _nsBaseWidgetAccessible_H_
#include "nsAccessible.h"
#include "nsCOMPtr.h"
#include "nsIContent.h"
#include "nsIDOMNode.h"
#include "nsIDOMXULListener.h"
/**
* This file contains a number of classes that are used as base
* classes for the different accessibility implementations of
* the HTML and XUL widget sets. --jgaunt
*/
/**
* Special Accessible that knows how to handle hit detection for flowing text
*/
class nsBlockAccessible : public nsAccessible
{
public:
nsBlockAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD AccGetAt(PRInt32 x, PRInt32 y, nsIAccessible **_retval);
};
/**
* Special Accessible that just contains other accessible objects
* no actions, no name, no state, no value
*/
class nsContainerAccessible : public nsAccessible
{
public:
nsContainerAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
NS_IMETHOD GetAccName(nsAString& _retval);
};
/**
* Leaf version of DOM Accessible -- has no children
*/
class nsLeafAccessible : public nsAccessible
{
public:
nsLeafAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
};
/**
* A type of accessible for DOM nodes containing an href="" attribute.
* It knows how to report the state of the link ( traveled or not )
* and can activate ( click ) the link programmatically.
*/
class nsLinkableAccessible : public nsAccessible
{
public:
nsLinkableAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
protected:
PRBool IsALink();
PRBool mIsALinkCached; // -1 = unknown, 0 = not a link, 1 = is a link
nsCOMPtr<nsIContent> mLinkContent;
PRBool mIsLinkVisited;
};
/*
* A base class that can listen to menu events. Its used by selects so the
* button and the window accessibles can change their name and role
* depending on whether the drop down list is dropped down on not
*/
class nsMenuListenerAccessible : public nsAccessible, public nsIDOMXULListener
{
public:
NS_DECL_ISUPPORTS_INHERITED
nsMenuListenerAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsMenuListenerAccessible();
// popup listener
NS_IMETHOD PopupShowing(nsIDOMEvent* aEvent);
NS_IMETHOD PopupShown(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD PopupHiding(nsIDOMEvent* aEvent);
NS_IMETHOD PopupHidden(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD Close(nsIDOMEvent* aEvent);
NS_IMETHOD Command(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD Broadcast(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD CommandUpdate(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent) { return NS_OK; }
virtual void SetupMenuListener();
PRBool mRegistered;
PRBool mOpen;
};
#endif

View File

@@ -0,0 +1,226 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* John Gaunt (jgaunt@netscape.com)
* Aaron Leventhal (aaronl@netscape.com)
*
* 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 ***** */
// NOTE: alphabetically ordered
#include "nsFormControlAccessible.h"
#include "nsIDocument.h"
#include "nsIDOMHTMLFormElement.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIDOMHTMLLabelElement.h"
#include "nsIDOMNodeList.h"
#include "nsIDOMXULButtonElement.h"
#include "nsIDOMXULCheckboxElement.h"
#include "nsIDOMXULDocument.h"
#include "nsIDOMXULElement.h"
#include "nsIDOMXULLabelElement.h"
#include "nsIDOMXULSelectCntrlEl.h"
#include "nsIDOMXULSelectCntrlItemEl.h"
#include "nsReadableUtils.h"
#include "nsString.h"
/**
* nsFormControlAccessible
*/
nsFormControlAccessible::nsFormControlAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/**
* XUL states: focused, unavailable(disabled), focusable, ?protected?
* HTML states: focused, unabailable(disabled), focusable, protected
*/
NS_IMETHODIMP nsFormControlAccessible::GetAccState(PRUint32 *_retval)
{
// Get the focused state from the nsAccessible
nsAccessible::GetAccState(_retval);
PRBool disabled = PR_FALSE;
nsresult rv = NS_ERROR_FAILURE;
nsCOMPtr<nsIDOMHTMLInputElement> htmlFormElement(do_QueryInterface(mDOMNode, &rv));
if (NS_SUCCEEDED(rv) && htmlFormElement) {
htmlFormElement->GetDisabled(&disabled);
nsAutoString typeString;
htmlFormElement->GetType(typeString);
if (typeString.EqualsIgnoreCase("password"))
*_retval |= STATE_PROTECTED;
}
else {
nsCOMPtr<nsIDOMXULControlElement> xulFormElement(do_QueryInterface(mDOMNode, &rv));
if (NS_SUCCEEDED(rv) && xulFormElement) {
xulFormElement->GetDisabled(&disabled);
/* XXX jgaunt do XUL elements support password fields? */
}
}
if (disabled)
*_retval |= STATE_UNAVAILABLE;
else
*_retval |= STATE_FOCUSABLE;
return NS_OK;
}
/**
* Will be called by both HTML and XUL elements, this method
* merely checks who is calling and then calls the appropriate
* protected method for the XUL or HTML element.
*/
NS_IMETHODIMP nsFormControlAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMXULElement> xulFormElement(do_QueryInterface(mDOMNode));
if (xulFormElement)
return GetXULAccName(_retval);
else
return GetHTMLAccName(_retval);
}
/**
* No Children
*/
NS_IMETHODIMP nsFormControlAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* No Children
*/
NS_IMETHODIMP nsFormControlAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* No Children
*/
NS_IMETHODIMP nsFormControlAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}
// ------------
// Radio button
// ------------
nsRadioButtonAccessible::nsRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
/**
*
*/
NS_IMETHODIMP nsRadioButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
/**
*
*/
NS_IMETHODIMP nsRadioButtonAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("select"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/**
*
*/
NS_IMETHODIMP nsRadioButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_RADIOBUTTON;
return NS_OK;
}
// ------------
// Text Accessibles
// ------------
nsTextAccessible::nsTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsLinkableAccessible(aDomNode, aShell)
{
}
/**
* We are text
*/
NS_IMETHODIMP nsTextAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_TEXT;
return NS_OK;
}
/**
* No Children
*/
NS_IMETHODIMP nsTextAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* No Children
*/
NS_IMETHODIMP nsTextAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* No Children
*/
NS_IMETHODIMP nsTextAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}

View File

@@ -0,0 +1,93 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Eric D Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsFormControlAccessible_H_
#define _nsFormControlAccessible_H_
#include "nsBaseWidgetAccessible.h"
/**
* This supports name and state information for both XUL and HTML
* widgets. Designed to be a base class for the impls of XUL
* and HTML form widget Accessibles
*/
class nsFormControlAccessible : public nsAccessible
{
public:
nsFormControlAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
};
/**
*
*/
class nsRadioButtonAccessible : public nsFormControlAccessible
{
public:
nsRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
};
/**
* Text nodes have no children, but since double inheritance
* no-worky we have to re-impl the LeafAccessiblity blocks
* this way.
*/
class nsTextAccessible : public nsLinkableAccessible
{
public:
nsTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
};
#endif

View File

@@ -0,0 +1,242 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsGenericAccessible.h"
#include "nsCOMPtr.h"
#include "nsIWeakReference.h"
#include "nsReadableUtils.h"
#include "nsIContent.h"
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsGenericAccessible, nsIAccessible)
nsGenericAccessible::nsGenericAccessible()
{
NS_INIT_ISUPPORTS();
/* member initializers and constructor code */
}
nsGenericAccessible::~nsGenericAccessible()
{
/* destructor code */
}
/* nsIAccessible getAccParent (); */
NS_IMETHODIMP nsGenericAccessible::GetAccParent(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible getAccNextSibling (); */
NS_IMETHODIMP nsGenericAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible getAccPreviousSibling (); */
NS_IMETHODIMP nsGenericAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible getAccFirstChild (); */
NS_IMETHODIMP nsGenericAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible getAccLastChild (); */
NS_IMETHODIMP nsGenericAccessible::GetAccLastChild(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long getAccChildCount (); */
NS_IMETHODIMP nsGenericAccessible::GetAccChildCount(PRInt32 *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccName (); */
NS_IMETHODIMP nsGenericAccessible::GetAccName(nsAString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccValue (); */
NS_IMETHODIMP nsGenericAccessible::GetAccValue(nsAString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setAccName (in wstring name); */
NS_IMETHODIMP nsGenericAccessible::SetAccName(const nsAString& name)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccDescription (); */
NS_IMETHODIMP nsGenericAccessible::GetAccDescription(nsAString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsGenericAccessible::GetAccRole(PRUint32 *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccState (); */
NS_IMETHODIMP nsGenericAccessible::GetAccState(PRUint32 *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsGenericAccessible::GetAccNumActions(PRUint8 *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccActionName (in PRUint8 index); */
NS_IMETHODIMP nsGenericAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsGenericAccessible::AccDoAction(PRUint8 index)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible getAccFocused(); */
NS_IMETHODIMP nsGenericAccessible::GetAccFocused(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccHelp (); */
NS_IMETHODIMP nsGenericAccessible::GetAccHelp(nsAString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible accGetAt (in long x, in long y); */
NS_IMETHODIMP nsGenericAccessible::AccGetAt(PRInt32 x, PRInt32 y, nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible accNavigateRight (); */
NS_IMETHODIMP nsGenericAccessible::AccNavigateRight(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible accNavigateLeft (); */
NS_IMETHODIMP nsGenericAccessible::AccNavigateLeft(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible accNavigateUp (); */
NS_IMETHODIMP nsGenericAccessible::AccNavigateUp(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible accNavigateDown (); */
NS_IMETHODIMP nsGenericAccessible::AccNavigateDown(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accGetBounds (out long x, out long y, out long width, out long height); */
NS_IMETHODIMP nsGenericAccessible::AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accAddSelection (); */
NS_IMETHODIMP nsGenericAccessible::AccAddSelection()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accRemoveSelection (); */
NS_IMETHODIMP nsGenericAccessible::AccRemoveSelection()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accExtendSelection (); */
NS_IMETHODIMP nsGenericAccessible::AccExtendSelection()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accTakeSelection (); */
NS_IMETHODIMP nsGenericAccessible::AccTakeSelection()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accTakeFocus (); */
NS_IMETHODIMP nsGenericAccessible::AccTakeFocus()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long getAccExtState (); */
NS_IMETHODIMP nsGenericAccessible::GetAccExtState(PRUint32 *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsGenericAccessible::AccGetDOMNode(nsIDOMNode **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsGenericAccessible::CacheOptimizations(nsIAccessible *aParent, PRInt32 aSiblingIndex, nsIDOMNodeList *aSiblingList)
{
return NS_ERROR_NOT_IMPLEMENTED;
}

View File

@@ -0,0 +1,67 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Eric D Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsGenericAccessible_H_
#define _nsGenericAccessible_H_
#include "nsISupports.h"
#include "nsIAccessible.h"
#include "nsIContent.h"
#include "nsIDOMNode.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsCOMPtr.h"
#include "nsIWeakReference.h"
/**
* Basic implementation
* supports nothing
*/
class nsGenericAccessible : public nsIAccessible
{
NS_DECL_ISUPPORTS
NS_DECL_NSIACCESSIBLE
public:
nsGenericAccessible();
virtual ~nsGenericAccessible();
};
#endif

View File

@@ -0,0 +1,684 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsIAccessible.h"
#include "nsRootAccessible.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsIDOMNSDocument.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsIDOMEventTarget.h"
#include "nsIDOMElement.h"
#include "nsIDOMNSEvent.h"
#include "nsIDOMEventReceiver.h"
#include "nsIDOMEventListener.h"
#include "nsReadableUtils.h"
#include "nsILink.h"
#include "nsHTMLFormControlAccessible.h"
#include "nsHTMLLinkAccessible.h"
#include "nsIURI.h"
#include "nsIDocShell.h"
#include "nsIDocShellTreeItem.h"
#include "nsIWebNavigation.h"
#include "nsIXULDocument.h"
#include "nsIDOMDocument.h"
#include "nsIDOMDocumentType.h"
#include "nsINameSpaceManager.h"
#include "nsIDOMNSHTMLSelectElement.h"
#include "nsIAccessibleSelectable.h"
#include "nsLayoutAtoms.h"
#include "nsString.h"
#include "nsXPIDLString.h"
#include "nsIAccessibilityService.h"
#include "nsIServiceManager.h"
#include "nsHTMLSelectAccessible.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsCURILoader.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsIScriptGlobalObject.h"
#include "nsIDOMXULSelectCntrlEl.h"
#include "nsIDOMXULSelectCntrlItemEl.h"
NS_INTERFACE_MAP_BEGIN(nsRootAccessible)
NS_INTERFACE_MAP_ENTRY(nsIAccessibleDocument)
NS_INTERFACE_MAP_ENTRY(nsIAccessibleEventReceiver)
NS_INTERFACE_MAP_ENTRY(nsIDOMFocusListener)
NS_INTERFACE_MAP_ENTRY(nsIDOMFormListener)
NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
NS_INTERFACE_MAP_ENTRY(nsITimerCallback)
NS_INTERFACE_MAP_ENTRY(nsIWebProgressListener)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMFormListener)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsIDOMEventListener, nsIDOMFormListener)
NS_INTERFACE_MAP_END_INHERITING(nsAccessible)
NS_IMPL_ADDREF_INHERITED(nsRootAccessible, nsAccessible);
NS_IMPL_RELEASE_INHERITED(nsRootAccessible, nsAccessible);
nsIDOMNode * nsRootAccessible::gLastFocusedNode = 0; // Strong reference
PRUint32 nsRootAccessible::gInstanceCount = 0;
//#define DEBUG_LEAKS 1 // aaronl debug
//-----------------------------------------------------
// construction
//-----------------------------------------------------
nsRootAccessible::nsRootAccessible(nsIWeakReference* aShell):nsAccessible(nsnull,aShell),
nsDocAccessibleMixin(aShell), mAccService(do_GetService("@mozilla.org/accessibilityService;1")),
mBusy(eBusyStateUninitialized)
{
mListener = nsnull;
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (shell) {
shell->GetDocument(getter_AddRefs(mDocument));
mDOMNode = do_QueryInterface(mDocument);
}
nsLayoutAtoms::AddRefAtoms();
++gInstanceCount;
#ifdef DEBUG_LEAKS
printf("=====> %d nsRootAccessible's %x\n", gInstanceCount, (PRUint32)this);
#endif
}
//-----------------------------------------------------
// destruction
//-----------------------------------------------------
nsRootAccessible::~nsRootAccessible()
{
if (--gInstanceCount == 0)
NS_IF_RELEASE(gLastFocusedNode);
#ifdef DEBUG_LEAKS
printf("======> %d nsRootAccessible's %x\n", gInstanceCount, (PRUint32)this);
#endif
nsLayoutAtoms::ReleaseAtoms();
RemoveAccessibleEventListener();
}
/* attribute wstring accName; */
NS_IMETHODIMP nsRootAccessible::GetAccName(nsAString& aAccName)
{
return GetTitle(aAccName);
}
// helpers
nsIFrame* nsRootAccessible::GetFrame()
{
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
nsIFrame* root = nsnull;
if (shell)
shell->GetRootFrame(&root);
return root;
}
void nsRootAccessible::GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame)
{
*aRelativeFrame = GetFrame();
if (*aRelativeFrame)
(*aRelativeFrame)->GetRect(aBounds);
}
/* readonly attribute nsIAccessible accParent; */
NS_IMETHODIMP nsRootAccessible::GetAccParent(nsIAccessible * *aAccParent)
{
*aAccParent = nsnull;
return NS_OK;
}
/* readonly attribute unsigned long accRole; */
NS_IMETHODIMP nsRootAccessible::GetAccRole(PRUint32 *aAccRole)
{
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell) {
*aAccRole = 0;
return NS_ERROR_FAILURE;
}
/*
// Commenting this out for now.
// It was requested that we always use MSAA ROLE_PANE objects instead of client objects.
// However, it might be asked that we put client objects back.
nsCOMPtr<nsIPresContext> context;
shell->GetPresContext(getter_AddRefs(context));
nsCOMPtr<nsISupports> container;
context->GetContainer(getter_AddRefs(container));
if (container) {
nsCOMPtr<nsIDocShellTreeItem> parentTreeItem, docTreeItem(do_QueryInterface(container));
if (docTreeItem) {
docTreeItem->GetSameTypeParent(getter_AddRefs(parentTreeItem));
// Basically, if this docshell has a parent of the same type, it's a frame
if (parentTreeItem) {
*aAccRole = ROLE_PANE;
return NS_OK;
}
}
}
*aAccRole = ROLE_CLIENT;
*/
*aAccRole = ROLE_PANE;
// If it's a <dialog>, use ROLE_DIALOG instead
nsCOMPtr<nsIContent> rootContent;
mDocument->GetRootContent(getter_AddRefs(rootContent));
if (rootContent) {
nsCOMPtr<nsIDOMElement> rootElement(do_QueryInterface(rootContent));
if (rootElement) {
nsAutoString name;
rootElement->GetLocalName(name);
if (name.Equals(NS_LITERAL_STRING("dialog")))
*aAccRole = ROLE_DIALOG;
}
}
return NS_OK;
}
NS_IMETHODIMP nsRootAccessible::GetAccState(PRUint32 *aAccState)
{
*aAccState = STATE_FOCUSABLE;
if (mBusy == eBusyStateLoading)
*aAccState |= STATE_BUSY;
return NS_OK;
}
NS_IMETHODIMP nsRootAccessible::GetAccValue(nsAString& aAccValue)
{
return GetURL(aAccValue);
}
void nsRootAccessible::Notify(nsITimer *timer)
{
// Short timer is finished
if (mBusy != eBusyStateDone) {
mBusy = eBusyStateDone;
if (mListener)
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, this);
}
}
void nsRootAccessible::StartDocReadyTimer()
{
if (!mTimer) {
nsresult rv;
mTimer = do_CreateInstance("@mozilla.org/timer;1", &rv);
if (NS_SUCCEEDED(rv)) {
const PRUint32 kUpdateTimerDelay = 1;
mTimer->Init(NS_STATIC_CAST(nsITimerCallback*, this), kUpdateTimerDelay);
}
}
}
/* void addAccessibleEventListener (in nsIAccessibleEventListener aListener); */
NS_IMETHODIMP nsRootAccessible::AddAccessibleEventListener(nsIAccessibleEventListener *aListener)
{
NS_ASSERTION(aListener, "Trying to add a null listener!");
if (mListener)
return NS_OK;
mListener = aListener;
// use AddEventListener from the nsIDOMEventTarget interface
nsCOMPtr<nsIDOMEventTarget> target(do_QueryInterface(mDocument));
if (target) {
// capture DOM focus events
nsresult rv = target->AddEventListener(NS_LITERAL_STRING("focus"), NS_STATIC_CAST(nsIDOMFocusListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
// capture Form change events
rv = target->AddEventListener(NS_LITERAL_STRING("change"), NS_STATIC_CAST(nsIDOMFormListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
// add ourself as a CheckboxStateChange listener (custom event fired in nsHTMLInputElement.cpp)
rv = target->AddEventListener(NS_LITERAL_STRING("CheckboxStateChange"), NS_STATIC_CAST(nsIDOMFormListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
// add ourself as a RadioStateChange Listener ( custom event fired in in nsHTMLInputElement.cpp & radio.xml)
rv = target->AddEventListener(NS_LITERAL_STRING("RadioStateChange"), NS_STATIC_CAST(nsIDOMFormListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
rv = target->AddEventListener(NS_LITERAL_STRING("ListitemStateChange"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
rv = target->AddEventListener(NS_LITERAL_STRING("popupshowing"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
rv = target->AddEventListener(NS_LITERAL_STRING("popuphiding"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
rv = target->AddEventListener(NS_LITERAL_STRING("DOMMenuItemActive"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
// Extremely short timer, after which we announce that page is finished loading
// By waiting until after this short time, we know that the 3rd party accessibility software
// has received it's accessible, and can handle events on it.
StartDocReadyTimer();
// Set up web progress listener - we need to know when page loading is finished
// That way we can send the STATE_CHANGE events for the MSAA root "pane" object (ROLE_PANE),
// and change the STATE_BUSY bit flag
nsCOMPtr<nsIPresShell> presShell(do_QueryReferent(mPresShell));
if (presShell) {
nsCOMPtr<nsIPresContext> context;
presShell->GetPresContext(getter_AddRefs(context));
if (context) {
nsCOMPtr<nsISupports> container; context->GetContainer(getter_AddRefs(container));
nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(container));
if (docShell) {
mWebProgress = do_GetInterface(docShell);
mWebProgress->AddProgressListener(this, nsIWebProgress::NOTIFY_LOCATION |
nsIWebProgress::NOTIFY_STATE_DOCUMENT);
}
}
}
NS_ASSERTION(mWebProgress, "Could not get nsIWebProgress for nsRootAccessible");
}
return NS_OK;
}
/* void removeAccessibleEventListener (); */
NS_IMETHODIMP nsRootAccessible::RemoveAccessibleEventListener()
{
if (mListener) {
nsCOMPtr<nsIDOMEventTarget> target(do_QueryInterface(mDocument));
if (target) {
target->RemoveEventListener(NS_LITERAL_STRING("focus"), NS_STATIC_CAST(nsIDOMFocusListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("change"), NS_STATIC_CAST(nsIDOMFormListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("CheckboxStateChange"), NS_STATIC_CAST(nsIDOMFormListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("popupshowing"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("popuphiding"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("DOMMenuItemActive"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("RadioStateChange"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("ListitemStateChange"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
}
if (mTimer) {
mTimer->Cancel();
mTimer = nsnull;
}
if (mWebProgress) {
mWebProgress->RemoveProgressListener(this);
mWebProgress = nsnull;
}
mListener = nsnull;
}
return NS_OK;
}
void nsRootAccessible::FireAccessibleFocusEvent(nsIAccessible *focusAccessible, nsIDOMNode *focusNode)
{
if (focusNode && gLastFocusedNode != focusNode) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_FOCUS, focusAccessible);
NS_IF_RELEASE(gLastFocusedNode);
gLastFocusedNode = focusNode;
NS_ADDREF(gLastFocusedNode);
}
}
// --------------- nsIDOMEventListener Methods (3) ------------------------
NS_IMETHODIMP nsRootAccessible::HandleEvent(nsIDOMEvent* aEvent)
{
if (mListener) {
// optionTargetNode is set to current option for HTML selects
nsCOMPtr<nsIDOMNode> targetNode, optionTargetNode;
nsresult rv = GetTargetNode(aEvent, targetNode);
if (NS_FAILED(rv))
return rv;
// Check to see if it's a select element. If so, need the currently focused option
nsCOMPtr<nsIDOMHTMLSelectElement> selectElement(do_QueryInterface(targetNode));
if (selectElement) // ----- Target Node is an HTML <select> element ------
nsHTMLSelectOptionAccessible::GetFocusedOptionNode(targetNode, optionTargetNode);
// for focus events on Radio Groups we give the focus to the selected button
nsCOMPtr<nsIDOMXULSelectControlElement> selectControl(do_QueryInterface(targetNode));
if (selectControl) {
nsCOMPtr<nsIDOMXULSelectControlItemElement> selectItem;
selectControl->GetSelectedItem(getter_AddRefs(selectItem));
optionTargetNode = do_QueryInterface(selectItem);
}
nsAutoString eventType;
aEvent->GetType(eventType);
nsCOMPtr<nsIAccessible> accessible;
if (NS_SUCCEEDED(mAccService->GetAccessibleFor(targetNode, getter_AddRefs(accessible)))) {
if (eventType.EqualsIgnoreCase("focus") || eventType.EqualsIgnoreCase("DOMMenuItemActive")) {
if (optionTargetNode &&
NS_SUCCEEDED(mAccService->GetAccessibleFor(optionTargetNode, getter_AddRefs(accessible)))) {
FireAccessibleFocusEvent(accessible, optionTargetNode);
}
else
FireAccessibleFocusEvent(accessible, targetNode);
}
else if (eventType.EqualsIgnoreCase("change")) {
if (!selectControl) // Don't use onchange to fire EVENT_STATE_CHANGE events for selects
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
}
else if (eventType.EqualsIgnoreCase("ListitemStateChange")) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_FOCUS, accessible);
}
else if (eventType.EqualsIgnoreCase("CheckboxStateChange")) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
}
else if (eventType.EqualsIgnoreCase("RadioStateChange") ) {
// first the XUL radio buttons
if (targetNode &&
NS_SUCCEEDED(mAccService->GetAccessibleFor(targetNode, getter_AddRefs(accessible)))) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_FOCUS, accessible);
}
else { // for the html radio buttons -- apparently the focus code just works. :-)
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
}
}
else if (eventType.EqualsIgnoreCase("popupshowing"))
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_MENUPOPUPSTART, accessible);
else if (eventType.EqualsIgnoreCase("popuphiding"))
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_MENUPOPUPEND, accessible);
}
}
return NS_OK;
}
NS_IMETHODIMP nsRootAccessible::GetTargetNode(nsIDOMEvent *aEvent, nsCOMPtr<nsIDOMNode>& aTargetNode)
{
nsCOMPtr<nsIDOMEventTarget> domEventTarget;
nsCOMPtr<nsIDOMNSEvent> nsevent(do_QueryInterface(aEvent));
if (nsevent) {
nsevent->GetOriginalTarget(getter_AddRefs(domEventTarget));
}
nsresult rv;
aTargetNode = do_QueryInterface(domEventTarget, &rv);
return rv;
}
// ------- nsIDOMFocusListener Methods (1) -------------
NS_IMETHODIMP nsRootAccessible::Focus(nsIDOMEvent* aEvent)
{
return HandleEvent(aEvent);
}
NS_IMETHODIMP nsRootAccessible::Blur(nsIDOMEvent* aEvent) { return NS_OK; }
// ------- nsIDOMFormListener Methods (5) -------------
NS_IMETHODIMP nsRootAccessible::Submit(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::Reset(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::Change(nsIDOMEvent* aEvent)
{
// get change events when the form elements changes its state, checked->not,
// deleted text, new text, change in selection for list/combo boxes
// this may be the event that we have the individual Accessible objects
// handle themselves -- have list/combos figure out the change in selection
// have textareas and inputs fire a change of state etc...
return HandleEvent(aEvent);
}
// gets Select events when text is selected in a textarea or input
NS_IMETHODIMP nsRootAccessible::Select(nsIDOMEvent* aEvent) { return NS_OK; }
// gets Input events when text is entered or deleted in a textarea or input
NS_IMETHODIMP nsRootAccessible::Input(nsIDOMEvent* aEvent) { return NS_OK; }
// ------- nsIDOMXULListener Methods (8) ---------------
NS_IMETHODIMP nsRootAccessible::PopupShowing(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::PopupShown(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::PopupHiding(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::PopupHidden(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::Close(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::Command(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::Broadcast(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::CommandUpdate(nsIDOMEvent* aEvent) { return NS_OK; }
// ------- nsIAccessibleDocument Methods (5) ---------------
NS_IMETHODIMP nsRootAccessible::GetURL(nsAString& aURL)
{
return nsDocAccessibleMixin::GetURL(aURL);
}
NS_IMETHODIMP nsRootAccessible::GetTitle(nsAString& aTitle)
{
return nsDocAccessibleMixin::GetTitle(aTitle);
}
NS_IMETHODIMP nsRootAccessible::GetMimeType(nsAString& aMimeType)
{
return nsDocAccessibleMixin::GetMimeType(aMimeType);
}
NS_IMETHODIMP nsRootAccessible::GetDocType(nsAString& aDocType)
{
return nsDocAccessibleMixin::GetDocType(aDocType);
}
NS_IMETHODIMP nsRootAccessible::GetNameSpaceURIForID(PRInt16 aNameSpaceID, nsAString& aNameSpaceURI)
{
return nsDocAccessibleMixin::GetNameSpaceURIForID(aNameSpaceID, aNameSpaceURI);
}
NS_IMETHODIMP nsRootAccessible::GetDocument(nsIDocument **doc)
{
return nsDocAccessibleMixin::GetDocument(doc);
}
NS_IMETHODIMP nsRootAccessible::OnStateChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRUint32 aStateFlags, nsresult aStatus)
{
return NS_OK;
}
/* void onProgressChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aCurSelfProgress, in long aMaxSelfProgress, in long aCurTotalProgress, in long aMaxTotalProgress); */
NS_IMETHODIMP nsRootAccessible::OnProgressChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRInt32 aCurSelfProgress, PRInt32 aMaxSelfProgress,
PRInt32 aCurTotalProgress, PRInt32 aMaxTotalProgress)
{
NS_NOTREACHED("notification excluded in AddProgressListener(...)");
return NS_OK;
}
/* void onLocationChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsIURI location); */
NS_IMETHODIMP nsRootAccessible::OnLocationChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, nsIURI *location)
{
// Load has been verified, it will occur, about to commence
if (mListener && mBusy != eBusyStateLoading) {
mBusy = eBusyStateLoading;
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, this);
StartDocReadyTimer();
}
return NS_OK;
}
/* void onStatusChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsresult aStatus, in wstring aMessage); */
NS_IMETHODIMP nsRootAccessible::OnStatusChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, nsresult aStatus, const PRUnichar *aMessage)
{
NS_NOTREACHED("notification excluded in AddProgressListener(...)");
return NS_OK;
}
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
NS_IMETHODIMP nsRootAccessible::OnSecurityChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRUint32 state)
{
NS_NOTREACHED("notification excluded in AddProgressListener(...)");
return NS_OK;
}
nsDocAccessibleMixin::nsDocAccessibleMixin(nsIDocument *aDoc):mDocument(aDoc)
{
}
nsDocAccessibleMixin::nsDocAccessibleMixin(nsIWeakReference *aPresShell)
{
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(aPresShell));
if (shell)
shell->GetDocument(getter_AddRefs(mDocument));
}
nsDocAccessibleMixin::~nsDocAccessibleMixin()
{
}
NS_IMETHODIMP nsDocAccessibleMixin::GetURL(nsAString& aURL)
{
nsCOMPtr<nsIPresShell> presShell;
mDocument->GetShellAt(0, getter_AddRefs(presShell));
if (!presShell)
return NS_ERROR_FAILURE;
nsCOMPtr<nsIDocShell> docShell;
GetDocShellFromPS(presShell, getter_AddRefs(docShell));
nsCOMPtr<nsIWebNavigation> webNav(do_GetInterface(docShell));
nsCAutoString theURL;
if (webNav) {
nsCOMPtr<nsIURI> pURI;
webNav->GetCurrentURI(getter_AddRefs(pURI));
if (pURI)
pURI->GetSpec(theURL);
}
//XXXaaronl Need to use CopyUTF8toUCS2(nsDependentCString(theURL), aURL); when it's written
aURL.Assign(NS_ConvertUTF8toUCS2(theURL));
return NS_OK;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetTitle(nsAString& aTitle)
{
// This doesn't leak - we don't own the const pointer that's returned
aTitle = *(mDocument->GetDocumentTitle());
return NS_OK;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetMimeType(nsAString& aMimeType)
{
nsCOMPtr<nsIDOMNSDocument> domnsDocument(do_QueryInterface(mDocument));
if (domnsDocument) {
return domnsDocument->GetContentType(aMimeType);
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetDocType(nsAString& aDocType)
{
nsCOMPtr<nsIXULDocument> xulDoc(do_QueryInterface(mDocument));
nsCOMPtr<nsIDOMDocument> domDoc(do_QueryInterface(mDocument));
nsCOMPtr<nsIDOMDocumentType> docType;
if (xulDoc) {
aDocType = NS_LITERAL_STRING("window"); // doctype not implemented for XUL at time of writing - causes assertion
return NS_OK;
}
else if (domDoc && NS_SUCCEEDED(domDoc->GetDoctype(getter_AddRefs(docType))) && docType) {
return docType->GetName(aDocType);
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetNameSpaceURIForID(PRInt16 aNameSpaceID, nsAString& aNameSpaceURI)
{
if (mDocument) {
nsCOMPtr<nsINameSpaceManager> nameSpaceManager;
if (NS_SUCCEEDED(mDocument->GetNameSpaceManager(*getter_AddRefs(nameSpaceManager))))
return nameSpaceManager->GetNameSpaceURI(aNameSpaceID, aNameSpaceURI);
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetDocument(nsIDocument **doc)
{
*doc = mDocument;
if (mDocument) {
NS_IF_ADDREF(*doc);
return NS_OK;
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetDocShellFromPS(nsIPresShell* aPresShell, nsIDocShell** aDocShell)
{
*aDocShell = nsnull;
if (aPresShell) {
nsCOMPtr<nsIDocument> doc;
aPresShell->GetDocument(getter_AddRefs(doc));
if (doc) {
nsCOMPtr<nsIScriptGlobalObject> scriptObj;
doc->GetScriptGlobalObject(getter_AddRefs(scriptObj));
if (scriptObj) {
scriptObj->GetDocShell(aDocShell);
if (*aDocShell)
return NS_OK;
}
}
}
return NS_ERROR_FAILURE;
}

View File

@@ -0,0 +1,156 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsRootAccessible_H_
#define _nsRootAccessible_H_
#include "nsAccessible.h"
#include "nsIAccessibleEventReceiver.h"
#include "nsIAccessibleEventListener.h"
#include "nsIAccessibleDocument.h"
#include "nsIDOMFormListener.h"
#include "nsIDOMXULListener.h"
#include "nsIDOMFocusListener.h"
#include "nsIDocument.h"
#include "nsIAccessibilityService.h"
#include "nsIWebProgressListener.h"
#include "nsIWeakReference.h"
#include "nsITimer.h"
#include "nsITimerCallback.h"
#include "nsIWebProgress.h"
class nsDocAccessibleMixin
{
public:
nsDocAccessibleMixin(nsIDocument *doc);
nsDocAccessibleMixin(nsIWeakReference *aShell);
virtual ~nsDocAccessibleMixin();
NS_DECL_NSIACCESSIBLEDOCUMENT
protected:
NS_IMETHOD GetDocShellFromPS(nsIPresShell* aPresShell, nsIDocShell** aDocShell);
nsCOMPtr<nsIDocument> mDocument;
};
class nsRootAccessible : public nsAccessible,
public nsDocAccessibleMixin,
public nsIAccessibleDocument,
public nsIAccessibleEventReceiver,
public nsIDOMFocusListener,
public nsIDOMFormListener,
public nsIDOMXULListener,
public nsIWebProgressListener,
public nsITimerCallback,
public nsSupportsWeakReference
{
NS_DECL_ISUPPORTS_INHERITED
public:
enum EBusyState {eBusyStateUninitialized, eBusyStateLoading, eBusyStateDone};
nsRootAccessible(nsIWeakReference* aShell);
virtual ~nsRootAccessible();
/* attribute wstring accName; */
NS_IMETHOD GetAccName(nsAString& aAccName);
NS_IMETHOD GetAccValue(nsAString& aAccValue);
NS_IMETHOD GetAccParent(nsIAccessible * *aAccParent);
NS_IMETHOD GetAccRole(PRUint32 *aAccRole);
NS_IMETHOD GetAccState(PRUint32 *aAccState);
// ----- nsIAccessibleEventReceiver -------------------
NS_IMETHOD AddAccessibleEventListener(nsIAccessibleEventListener *aListener);
NS_IMETHOD RemoveAccessibleEventListener();
// ----- nsIDOMEventListener --------------------------
NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent);
// ----- nsIDOMFocusListener --------------------------
NS_IMETHOD Focus(nsIDOMEvent* aEvent);
NS_IMETHOD Blur(nsIDOMEvent* aEvent);
// ----- nsIDOMFormListener ---------------------------
NS_IMETHOD Submit(nsIDOMEvent* aEvent);
NS_IMETHOD Reset(nsIDOMEvent* aEvent);
NS_IMETHOD Change(nsIDOMEvent* aEvent);
NS_IMETHOD Select(nsIDOMEvent* aEvent);
NS_IMETHOD Input(nsIDOMEvent* aEvent);
NS_IMETHOD PopupShowing(nsIDOMEvent* aEvent);
NS_IMETHOD PopupShown(nsIDOMEvent* aEvent);
NS_IMETHOD PopupHiding(nsIDOMEvent* aEvent);
NS_IMETHOD PopupHidden(nsIDOMEvent* aEvent);
NS_IMETHOD Close(nsIDOMEvent* aEvent);
NS_IMETHOD Command(nsIDOMEvent* aEvent);
NS_IMETHOD Broadcast(nsIDOMEvent* aEvent);
NS_IMETHOD CommandUpdate(nsIDOMEvent* aEvent);
NS_IMETHOD_(void) Notify(nsITimer *timer);
NS_DECL_NSIACCESSIBLEDOCUMENT
NS_DECL_NSIWEBPROGRESSLISTENER
protected:
NS_IMETHOD GetTargetNode(nsIDOMEvent *aEvent, nsCOMPtr<nsIDOMNode>& aTargetNode);
virtual void GetBounds(nsRect& aRect, nsIFrame** aRelativeFrame);
virtual nsIFrame* GetFrame();
void FireAccessibleFocusEvent(nsIAccessible *focusAccessible, nsIDOMNode *focusNode);
void StartDocReadyTimer();
static PRUint32 gInstanceCount;
// mListener is not a com pointer. We don't own the listener
// it is the callers responsibility to remove the listener
// otherwise we will get into circular referencing problems
// We don't need a weak reference, because we're owned by this listener
nsIAccessibleEventListener *mListener;
static nsIDOMNode * gLastFocusedNode; // we do our own refcounting for this
nsCOMPtr<nsITimer> mTimer;
nsCOMPtr<nsIWebProgress> mWebProgress;
nsCOMPtr<nsIAccessibilityService> mAccService;
EBusyState mBusy;
};
#endif

View File

@@ -0,0 +1,743 @@
/* -*- 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):
* Original Author: Eric Vaughan (evaughan@netscape.com)
* Contributor(s): John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsCOMPtr.h"
#include "nsFormControlAccessible.h"
#include "nsIAtom.h"
#include "nsIComboboxControlFrame.h"
#include "nsIDOMEventReceiver.h"
#include "nsIDOMHTMLCollection.h"
#include "nsIDOMHTMLOptionElement.h"
#include "nsIDOMHTMLOptGroupElement.h"
#include "nsIDOMText.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsIFrame.h"
#include "nsIListControlFrame.h"
#include "nsISelectControlFrame.h"
#include "nsLayoutAtoms.h"
#include "nsRootAccessible.h"
#include "nsSelectAccessible.h"
#include "nsIServiceManager.h"
/** ------------------------------------------------------ */
/** First, the common widgets */
/** ------------------------------------------------------ */
/** Constructor -- cache our parent */
nsSelectListAccessible::nsSelectListAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/** Return our parents bounds */
NS_IMETHODIMP nsSelectListAccessible::AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height)
{
return mParent->AccGetBounds(x,y,width,height);
}
/** Return our cached parent */
NS_IMETHODIMP nsSelectListAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_ADDREF(*_retval);
return NS_OK;
}
/** We are a list */
NS_IMETHODIMP nsSelectListAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LIST;
return NS_OK;
}
/** We are an only child */
NS_IMETHODIMP nsSelectListAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/** We are an only child */
NS_IMETHODIMP nsSelectListAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* nsSelectOptionAccessible
*/
/** Constructor -- cache our parent */
nsSelectOptionAccessible::nsSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsLeafAccessible(aDOMNode, aShell)
{
if (aParent)
mParent = aParent;
else {
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
nsCOMPtr<nsIDOMNode> parentNode, parentNode1;
nsCOMPtr<nsIAccessible> parentAccessible, lastChildAcc;
aDOMNode->GetParentNode(getter_AddRefs(parentNode));
if (parentNode) {
// this parent could be a Combobox or a ListBox. Each has a different
// was to get to the ListElement.
nsCOMPtr<nsIDOMHTMLOptGroupElement> optGroupElement(do_QueryInterface(parentNode));
if (optGroupElement) {
parentNode->GetParentNode(getter_AddRefs(parentNode1));
parentNode = parentNode1;
}
accService->GetAccessibleFor(parentNode, getter_AddRefs(parentAccessible));
PRUint32 role;
do {
parentAccessible->GetAccLastChild(getter_AddRefs(lastChildAcc));
if (lastChildAcc)
lastChildAcc->GetAccRole(&role);
parentAccessible = lastChildAcc;
} while (role != nsIAccessible::ROLE_LIST && lastChildAcc);
}
mParent = parentAccessible;
}
}
/** click us! */
NS_IMETHODIMP nsSelectOptionAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("select"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/** We are a ListItem */
NS_IMETHODIMP nsSelectOptionAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LISTITEM;
return NS_OK;
}
/** Return our cached parent */
NS_IMETHODIMP nsSelectOptionAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
/**
* Get our Name from our Content's subtree
*/
NS_IMETHODIMP nsSelectOptionAccessible::GetAccName(nsAString& _retval)
{
// CASE #1 -- great majority of the cases
// find the label attribute - this is what the W3C says we should use
nsCOMPtr<nsIDOMElement> domElement(do_QueryInterface(mDOMNode));
NS_ASSERTION(domElement, "No domElement for accessible DOM node!");
nsresult rv = domElement->GetAttribute(NS_LITERAL_STRING("label"), _retval) ;
if (NS_SUCCEEDED(rv) && !_retval.IsEmpty() ) {
return NS_OK;
}
// CASE #2 -- no label parameter, get the first child,
// use it if it is a text node
nsCOMPtr<nsIDOMNode> child;
mDOMNode->GetFirstChild(getter_AddRefs(child));
if (child) {
nsCOMPtr<nsIDOMText> text (do_QueryInterface(child));
if (text) {
nsCOMPtr<nsIContent> content (do_QueryInterface(child));
if (!content) {
return NS_ERROR_FAILURE;
}
nsAutoString txtValue;
rv = AppendFlatStringFromContentNode(content, &txtValue);
if (NS_SUCCEEDED(rv)) {
// Temp var (txtValue) needed until CompressWhitespace built for nsAString
txtValue.CompressWhitespace();
_retval.Assign(txtValue);
return NS_OK;
}
}
}
return NS_ERROR_FAILURE;
}
/** ------------------------------------------------------ */
/** Secondly, the Listbox widget */
/** ------------------------------------------------------ */
/** ----- nsListboxAccessible ----- */
/** Constructor */
nsListboxAccessible::nsListboxAccessible(nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsAccessible(aDOMNode, aShell)
{
}
/** We are a window, as far as MSAA is concerned */
NS_IMETHODIMP nsListboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_WINDOW;
return NS_OK;
}
/**
* We always have 1 child: a subclass of nsSelectListAccessible.
*/
NS_IMETHODIMP nsListboxAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 1;
return NS_OK;
}
/**
* As a nsHTMLListboxAccessible we can have the following states:
* STATE_FOCUSED
* STATE_READONLY
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsListboxAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus status from base class
nsAccessible::GetAccState(_retval);
*_retval |= STATE_READONLY | STATE_FOCUSABLE;
return NS_OK;
}
/** ------------------------------------------------------ */
/** Finally, the Combobox widgets */
/** ------------------------------------------------------ */
/** ----- nsComboboxAccessible ----- */
/**
* Constructor -- set initial state - closed, register ourself
*/
nsComboboxAccessible::nsComboboxAccessible(nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsAccessible(aDOMNode, aShell)
{
mRegistered = PR_FALSE;
mOpen = PR_FALSE;
SetupMenuListener();
}
/**
* Destructor -- If we are registered, remove ourselves as a listener.
*/
nsComboboxAccessible::~nsComboboxAccessible()
{
if (mRegistered) {
nsCOMPtr<nsIDOMEventReceiver> eventReceiver(do_QueryInterface(mDOMNode));
if (eventReceiver)
eventReceiver->RemoveEventListener(NS_LITERAL_STRING("popupshowing"), this, PR_TRUE);
}
}
/**
* Inherit the ISupports impl from nsAccessible,
* handle nsIDOMXULListener and nsIAccessibleSelectable ourself
*/
NS_IMPL_ISUPPORTS_INHERITED2(nsComboboxAccessible, nsAccessible, nsIDOMXULListener, nsIAccessibleSelectable)
/**
* If we aren't already registered, register ourselves as a
* listener to "popupshowing" events on our DOM node. Set our
* state to registered, but don't notify MSAA as they
* don't need to know about this state.
*/
void
nsComboboxAccessible::SetupMenuListener()
{
// if not already registered as a popup listener, register ourself
if (!mRegistered) {
nsCOMPtr<nsIDOMEventReceiver> eventReceiver(do_QueryInterface(mDOMNode));
if (eventReceiver && NS_SUCCEEDED(eventReceiver->AddEventListener(NS_LITERAL_STRING("popupshowing"), this, PR_TRUE)))
mRegistered = PR_TRUE;
}
}
/** We are a combobox */
NS_IMETHODIMP nsComboboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_COMBOBOX;
return NS_OK;
}
/**
* We always have 3 children: TextField, Button, Window. In that order
*/
NS_IMETHODIMP nsComboboxAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 3;
return NS_OK;
}
/**
* nsIAccessibleSelectable method. No-op because our selection is returned through
* GetValue(). This _may_ change just to provide additional info for the vendors
* and another option for them to get at stuff. Despite the fact that we are
* single selection only.
*/
NS_IMETHODIMP nsComboboxAccessible::GetSelectedChildren(nsISupportsArray **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* As a nsComboboxAccessible we can have the following states:
* STATE_FOCUSED
* STATE_READONLY
* STATE_FOCUSABLE
* STATE_HASPOPUP
* STATE_EXPANDED
* STATE_COLLAPSED
*/
NS_IMETHODIMP nsComboboxAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus status from base class
nsAccessible::GetAccState(_retval);
if (mOpen)
*_retval |= STATE_EXPANDED;
else
*_retval |= STATE_COLLAPSED;
*_retval |= STATE_HASPOPUP | STATE_READONLY | STATE_FOCUSABLE;
return NS_OK;
}
/**
* Set our state to open and (TBD) fire an event to MSAA saying our state
* has changed.
*/
NS_IMETHODIMP nsComboboxAccessible::PopupShowing(nsIDOMEvent* aEvent)
{
mOpen = PR_TRUE;
/* TBD send state change event */
return NS_OK;
}
/**
* Set our state to not open and (TDB) fire an event to MSAA saying
* our state has changed.
*/
NS_IMETHODIMP nsComboboxAccessible::PopupHiding(nsIDOMEvent* aEvent)
{
mOpen = PR_FALSE;
/* TBD send state change event */
return NS_OK;
}
/**
* Set our state to not open and (TDB) fire an event to MSAA saying
* our state has changed.
*/
NS_IMETHODIMP nsComboboxAccessible::Close(nsIDOMEvent* aEvent)
{
mOpen = PR_FALSE;
/* TBD send state change event */
return NS_OK;
}
/** ----- nsComboboxTextFieldAccessible ----- */
/** Constructor */
nsComboboxTextFieldAccessible::nsComboboxTextFieldAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsLeafAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/**
* Currently gets the text from the first option, needs to check for selection
* and then return that text.
* Walks the Frame tree and checks for proper frames.
*/
NS_IMETHODIMP nsComboboxTextFieldAccessible::GetAccValue(nsAString& _retval)
{
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if (!frame || !context)
return NS_ERROR_FAILURE;
frame->FirstChild(context, nsnull, &frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::blockFrame))
return NS_ERROR_FAILURE;
#endif
frame->FirstChild(context, nsnull, &frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::textFrame))
return NS_ERROR_FAILURE;
#endif
nsCOMPtr<nsIContent> content;
frame->GetContent(getter_AddRefs(content));
if (!content)
return NS_ERROR_FAILURE;
AppendFlatStringFromSubtree(content, &_retval);
return NS_OK;
}
/**
* Gets the bounds for the BlockFrame.
* Walks the Frame tree and checks for proper frames.
*/
void nsComboboxTextFieldAccessible::GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame)
{
// get our first child's frame
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if (!frame || !context)
return;
frame->FirstChild(context, nsnull, aBoundingFrame);
frame->FirstChild(context, nsnull, &frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::blockFrame))
return;
#endif
frame->GetRect(aBounds);
}
/** Return our cached parent */
NS_IMETHODIMP nsComboboxTextFieldAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
/**
* We are the first child of our parent, no previous sibling
*/
NS_IMETHODIMP nsComboboxTextFieldAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* Our role is currently only static text, but we should be able to have
* editable text here and we need to check that case.
*/
NS_IMETHODIMP nsComboboxTextFieldAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_STATICTEXT;
return NS_OK;
}
/**
* As a nsComboboxTextFieldAccessible we can have the following states:
* STATE_READONLY
* STATE_FOCUSED
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsComboboxTextFieldAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus status from base class
nsAccessible::GetAccState(_retval);
*_retval |= STATE_READONLY | STATE_FOCUSABLE;
return NS_OK;
}
/** -----ComboboxButtonAccessible ----- */
/** Constructor -- cache our parent */
nsComboboxButtonAccessible::nsComboboxButtonAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsLeafAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/** Just one action ( click ). */
NS_IMETHODIMP nsComboboxButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
/**
* Gets the bounds for the gfxButtonControlFrame.
* Walks the Frame tree and checks for proper frames.
*/
void nsComboboxButtonAccessible::GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame)
{
// get our second child's frame
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if (!context)
return;
*aBoundingFrame = frame; // bounding frame is the ComboboxControlFrame
frame->FirstChild(context, nsnull, &frame); // first frame is for the textfield
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::blockFrame))
return;
#endif
frame->GetNextSibling(&frame); // sibling frame is for the button
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::gfxButtonControlFrame))
return;
#endif
frame->GetRect(aBounds);
}
/** We are a button. */
NS_IMETHODIMP nsComboboxButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
/** Return our cached parent */
NS_IMETHODIMP nsComboboxButtonAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
/**
* Gets the name from GetAccActionName()
*/
NS_IMETHODIMP nsComboboxButtonAccessible::GetAccName(nsAString& _retval)
{
return GetAccActionName(eAction_Click, _retval);
}
/**
* Our action name is the reverse of our state:
* if we are closed -> open is our name.
* if we are open -> closed is our name.
* Uses the frame to get the state, updated on every click
*/
NS_IMETHODIMP nsComboboxButtonAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
PRBool isOpen = PR_FALSE;
nsIFrame *boundsFrame = GetBoundsFrame();
nsIComboboxControlFrame* comboFrame;
boundsFrame->QueryInterface(NS_GET_IID(nsIComboboxControlFrame), (void**)&comboFrame);
if (!comboFrame)
return NS_ERROR_FAILURE;
comboFrame->IsDroppedDown(&isOpen);
if (isOpen)
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("close"), _retval);
else
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("open"), _retval);
return NS_OK;
}
/**
* As a nsComboboxButtonAccessible we can have the following states:
* STATE_PRESSED
* STATE_FOCUSED
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsComboboxButtonAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus status from base class
nsAccessible::GetAccState(_retval);
// we are open or closed --> pressed or not
PRBool isOpen = PR_FALSE;
nsIFrame *boundsFrame = GetBoundsFrame();
nsIComboboxControlFrame* comboFrame;
boundsFrame->QueryInterface(NS_GET_IID(nsIComboboxControlFrame), (void**)&comboFrame);
if (!comboFrame)
return NS_ERROR_FAILURE;
comboFrame->IsDroppedDown(&isOpen);
if (isOpen)
*_retval |= STATE_PRESSED;
*_retval |= STATE_FOCUSABLE;
return NS_OK;
}
/** ----- nsComboboxWindowAccessible ----- */
/**
* Constructor -- cache our parent
*/
nsComboboxWindowAccessible::nsComboboxWindowAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/**
* As a nsComboboxWindowAccessible we can have the following states:
* STATE_FOCUSED
* STATE_FOCUSABLE
* STATE_INVISIBLE
* STATE_FLOATING
*/
NS_IMETHODIMP nsComboboxWindowAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus status from base class
nsAccessible::GetAccState(_retval);
// we are open or closed
PRBool isOpen = PR_FALSE;
nsIFrame *boundsFrame = GetBoundsFrame();
nsIComboboxControlFrame* comboFrame = nsnull;
boundsFrame->QueryInterface(NS_GET_IID(nsIComboboxControlFrame), (void**)&comboFrame);
if (!comboFrame)
return NS_ERROR_FAILURE;
comboFrame->IsDroppedDown(&isOpen);
if (! isOpen)
*_retval |= STATE_INVISIBLE;
*_retval |= STATE_FOCUSABLE | STATE_FLOATING;
return NS_OK;
}
/** We are a window */
NS_IMETHODIMP nsComboboxWindowAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_WINDOW;
return NS_OK;
}
/** Return our cached parent */
NS_IMETHODIMP nsComboboxWindowAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
/**
* We are the last sibling of our parent.
*/
NS_IMETHODIMP nsComboboxWindowAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* We only have one child, a list
*/
NS_IMETHODIMP nsComboboxWindowAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 1;
return NS_OK;
}
/**
* Gets the bounds for the areaFrame.
* Walks the Frame tree and checks for proper frames.
*/
void nsComboboxWindowAccessible::GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame)
{
// get our first option
nsCOMPtr<nsIDOMNode> child;
mDOMNode->GetFirstChild(getter_AddRefs(child));
// now get its frame
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell) {
*aBoundingFrame = nsnull;
return;
}
nsIFrame* frame = nsnull;
nsCOMPtr<nsIContent> content(do_QueryInterface(child));
shell->GetPrimaryFrameFor(content, &frame);
if (!frame) {
*aBoundingFrame = nsnull;
return;
}
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::blockFrame))
return;
#endif
frame->GetParent(aBoundingFrame);
frame->GetParent(&frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::areaFrame))
return;
#endif
frame->GetRect(aBounds);
}

View File

@@ -0,0 +1,238 @@
/* -*- 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):
* Original Author: Eric Vaughan (evaughan@netscape.com)
* Contributor(s): John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __nsSelectAccessible_h__
#define __nsSelectAccessible_h__
#include "nsBaseWidgetAccessible.h"
#include "nsIAccessibleSelectable.h"
#include "nsIDOMXULListener.h"
/** ------------------------------------------------------ */
/** First, the common widgets */
/** ------------------------------------------------------ */
/**
* The list that contains all the options in the select.
*/
class nsSelectListAccessible : public nsAccessible
{
public:
nsSelectListAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsSelectListAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
protected:
nsCOMPtr<nsIAccessible> mParent;
};
/**
* Options inside the select, contained within the list
*/
class nsSelectOptionAccessible : public nsLeafAccessible
{
public:
nsSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsSelectOptionAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
protected:
nsCOMPtr<nsIAccessible> mParent;
};
/** ------------------------------------------------------ */
/** Secondly, the Listbox widget */
/** ------------------------------------------------------ */
/**
* A class that represents the Listbox widget.
*/
class nsListboxAccessible : public nsAccessible
{
public:
nsListboxAccessible (nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsListboxAccessible () {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
/** ------------------------------------------------------ */
/** Finally, the Combobox widgets */
/** ------------------------------------------------------ */
/**
* A class the represents the HTML Combobox widget.
*/
class nsComboboxAccessible : public nsAccessible,
public nsIAccessibleSelectable,
public nsIDOMXULListener
{
public:
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIACCESSIBLESELECTABLE
nsComboboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsComboboxAccessible();
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
/* ----- nsIDOMXULListener ----- */
NS_IMETHOD PopupShowing(nsIDOMEvent* aEvent);
NS_IMETHOD PopupShown(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD PopupHiding(nsIDOMEvent* aEvent);
NS_IMETHOD PopupHidden(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD Close(nsIDOMEvent* aEvent);
NS_IMETHOD Command(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD Broadcast(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD CommandUpdate(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent) { return NS_OK; }
virtual void SetupMenuListener();
protected:
PRBool mRegistered;
PRBool mOpen;
};
/**
* A class the represents the text field in the Combobox to the left
* of the drop down button
*/
class nsComboboxTextFieldAccessible : public nsLeafAccessible
{
public:
nsComboboxTextFieldAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsComboboxTextFieldAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
virtual void GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame);
protected:
nsCOMPtr<nsIAccessible> mParent;
};
/**
* A class that represents the button inside the Select to the
* right of the text field
*/
class nsComboboxButtonAccessible : public nsLeafAccessible
{
public:
nsComboboxButtonAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsComboboxButtonAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
virtual void GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame);
protected:
nsCOMPtr<nsIAccessible> mParent;
};
/**
* A class that represents the window that lives to the right
* of the drop down button inside the Select. This is the window
* that is made visible when the button is pressed.
*/
class nsComboboxWindowAccessible : public nsAccessible
{
public:
nsComboboxWindowAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsComboboxWindowAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
virtual void GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame);
protected:
nsCOMPtr<nsIAccessible> mParent;
};
#endif

View File

@@ -0,0 +1,71 @@
#
# 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): John Gaunt (jgaunt@netscape.com)
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
LIBRARY_NAME = accessibility_html_s
REQUIRES = \
content \
content_xul \
docshell \
dom \
gfx \
gfx2 \
htmlparser \
imglib2 \
intl \
layout \
locale \
necko \
string \
uriloader \
view \
webshell \
widget \
xpcom \
webbrwsr \
$(NULL)
CPPSRCS = \
nsHTMLAreaAccessible.cpp \
nsHTMLFormControlAccessible.cpp \
nsHTMLIFrameRootAccessible.cpp \
nsHTMLImageAccessible.cpp \
nsHTMLLinkAccessible.cpp \
nsHTMLSelectAccessible.cpp \
nsHTMLTableAccessible.cpp \
nsHTMLTextAccessible.cpp \
$(NULL)
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES = \
-I$(srcdir)/../base \
$(NULL)

View File

@@ -0,0 +1,74 @@
#!gmake
#
# 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): John Gaunt (jgaunt@netscape.com)
DEPTH = ..\..\..
MODULE = accessibility
LIBRARY_NAME = accessibility_html_s
REQUIRES = \
content \
dom \
gfx \
gfx2 \
htmlparser \
imglib2 \
layout \
locale \
necko \
string \
uriloader \
webshell \
widget \
xpcom \
$(NULL)
CPP_OBJS = \
.\$(OBJDIR)\nsHTMLAreaAccessible.obj \
.\$(OBJDIR)\nsHTMLFormControlAccessible.obj \
.\$(OBJDIR)\nsHTMLIFrameRootAccessible.obj \
.\$(OBJDIR)\nsHTMLImageAccessible.obj \
.\$(OBJDIR)\nsHTMLLinkAccessible.obj \
.\$(OBJDIR)\nsHTMLSelectAccessible.obj \
.\$(OBJDIR)\nsHTMLTableAccessible.obj \
.\$(OBJDIR)\nsHTMLTextAccessible.obj \
$(NULL)
EXPORTS = \
$(NULL)
LINCS = \
-I..\base \
-I..\..\..\layout\html\forms\public \
-I..\..\..\layout\html\forms\src \
-I..\..\..\layout\html\base\src \
$(NULL)
include <$(DEPTH)\config\rules.mak>
libs:: $(LIBRARY)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
clobber::
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib

View File

@@ -0,0 +1,169 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsGenericAccessible.h"
#include "nsHTMLAreaAccessible.h"
#include "nsReadableUtils.h"
#include "nsString.h"
#include "nsAccessible.h"
#include "nsIAccessibilityService.h"
#include "nsIServiceManager.h"
#include "nsIDOMElement.h"
#include "nsIDOMHTMLAreaElement.h"
// --- area -----
nsHTMLAreaAccessible::nsHTMLAreaAccessible(nsIDOMNode *aDomNode, nsIAccessible *aAccParent, nsIWeakReference* aShell):
nsLinkableAccessible(aDomNode, aShell), mAccParent(aAccParent)
{
}
/* wstring getAccName (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccName(nsAString & _retval)
{
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(mDOMNode));
if (elt) {
nsAutoString hrefString;
elt->GetAttribute(NS_LITERAL_STRING("title"), _retval);
}
return NS_OK;
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LINK;
return NS_OK;
}
/* wstring getAccValue (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(mDOMNode));
if (elt)
elt->GetAttribute(NS_LITERAL_STRING("href"), _retval);
return NS_OK;
}
/* wstring getAccDescription (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccDescription(nsAString& _retval)
{
// Still to do - follow IE's standard here
nsCOMPtr<nsIDOMHTMLAreaElement> area(do_QueryInterface(mDOMNode));
if (area)
area->GetShape(_retval);
return NS_OK;
}
/* nsIAccessible getAccFirstChild (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/* nsIAccessible getAccLastChild (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/* long getAccChildCount (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccParent(nsIAccessible * *aAccParent)
{
*aAccParent = mAccParent;
NS_IF_ADDREF(*aAccParent);
return NS_OK;
}
nsIAccessible *nsHTMLAreaAccessible::CreateAreaAccessible(nsIDOMNode *aDOMNode)
{
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
if (accService) {
nsIAccessible* acc = nsnull;
accService->CreateHTMLAreaAccessible(mPresShell, aDOMNode, mAccParent, &acc);
return acc;
}
return nsnull;
}
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccNextSibling(nsIAccessible * *aAccNextSibling)
{
*aAccNextSibling = nsnull;
nsCOMPtr<nsIDOMNode> nextNode;
mDOMNode->GetNextSibling(getter_AddRefs(nextNode));
if (nextNode)
*aAccNextSibling = CreateAreaAccessible(nextNode);
return NS_OK;
}
/* readonly attribute nsIAccessible accPreviousSibling; */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccPreviousSibling(nsIAccessible * *aAccPrevSibling)
{
*aAccPrevSibling = nsnull;
nsCOMPtr<nsIDOMNode> prevNode;
mDOMNode->GetPreviousSibling(getter_AddRefs(prevNode));
if (prevNode)
*aAccPrevSibling = CreateAreaAccessible(prevNode);
return NS_OK;
}
/* void accGetBounds (out long x, out long y, out long width, out long height); */
NS_IMETHODIMP nsHTMLAreaAccessible::AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height)
{
//nsIFrame *frame;
// Do a better job on this later - need to use GetRect on mAreas of nsImageMap from nsImageFrame
//return mAccParent->nsAccessible::AccGetBounds(x,y,width,height);
*x = *y = *width = *height = 0;
return NS_ERROR_NOT_IMPLEMENTED;
}

View File

@@ -0,0 +1,71 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsHTMLAreaAccessible_H_
#define _nsHTMLAreaAccessible_H_
#include "nsBaseWidgetAccessible.h"
#include "nsAccessible.h"
/* Accessible for image map areas - must be child of image
*/
class nsHTMLAreaAccessible : public nsLinkableAccessible
{
public:
nsHTMLAreaAccessible(nsIDOMNode *domNode, nsIAccessible *accParent, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString & _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccParent(nsIAccessible * *aAccParent);
NS_IMETHOD GetAccNextSibling(nsIAccessible * *aAccNextSibling);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible * *aAccPreviousSibling);
NS_IMETHOD GetAccDescription(nsAString& _retval);
NS_IMETHOD AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height);
protected:
nsIAccessible *CreateAreaAccessible(nsIDOMNode *aDOMNode);
nsCOMPtr<nsIAccessible> mAccParent;
};
#endif

View File

@@ -0,0 +1,446 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Eric Vaughan (evaughan@netscape.com)
*
*
* 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 ***** */
// NOTE: alphabetically ordered
#include "nsAccessible.h"
#include "nsFormControlAccessible.h"
#include "nsHTMLAtoms.h"
#include "nsHTMLFormControlAccessible.h"
#include "nsIDOMHTMLButtonElement.h"
#include "nsIDOMHTMLFormElement.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIDOMNSHTMLButtonElement.h"
#include "nsIDOMHTMLLabelElement.h"
#include "nsIDOMHTMLTextAreaElement.h"
#include "nsIDOMXULCheckboxElement.h"
#include "nsIDOMXULButtonElement.h"
#include "nsIDOMXULSelectCntrlItemEl.h"
#include "nsIDOMXULSelectCntrlEl.h"
#include "nsINameSpaceManager.h"
#include "nsIFrame.h"
#include "nsISelectionController.h"
#include "nsReadableUtils.h"
#include "nsWeakReference.h"
// --- checkbox -----
nsHTMLCheckboxAccessible::nsHTMLCheckboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_CHECKBUTTON;
return NS_OK;
}
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) { // 0 is the magic value for default action
// check or uncheck
PRUint32 state;
GetAccState(&state);
if (state & STATE_CHECKED)
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("uncheck"), _retval);
else
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("check"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTMLCheckboxAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) { // 0 is the magic value for default action
nsCOMPtr<nsIDOMHTMLInputElement> htmlCheckboxElement(do_QueryInterface(mDOMNode));
if (htmlCheckboxElement) {
htmlCheckboxElement->Click();
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccState(PRUint32 *_retval)
{
nsFormControlAccessible::GetAccState(_retval);
PRBool checked = PR_FALSE; // Radio buttons and check boxes can be checked
nsCOMPtr<nsIDOMHTMLInputElement> htmlCheckboxElement(do_QueryInterface(mDOMNode));
if (htmlCheckboxElement)
htmlCheckboxElement->GetChecked(&checked);
if (checked)
*_retval |= STATE_CHECKED;
return NS_OK;
}
//------ Radio button -------
nsHTMLRadioButtonAccessible::nsHTMLRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsRadioButtonAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTMLRadioButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == eAction_Click) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
if (element) {
element->Click();
return NS_OK;
}
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTMLRadioButtonAccessible::GetAccState(PRUint32 *_retval)
{
nsFormControlAccessible::GetAccState(_retval);
PRBool checked = PR_FALSE; // Radio buttons and check boxes can be checked
nsCOMPtr<nsIDOMHTMLInputElement> htmlRadioElement(do_QueryInterface(mDOMNode));
if (htmlRadioElement)
htmlRadioElement->GetChecked(&checked);
if (checked)
*_retval |= STATE_CHECKED;
return NS_OK;
}
// ----- Button -----
nsHTMLButtonAccessible::nsHTMLButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("press"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTMLButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == eAction_Click) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
if (element) {
element->Click();
return NS_OK;
}
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccState(PRUint32 *_retval)
{
nsFormControlAccessible::GetAccState(_retval);
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No nsIDOMElement for button node!");
nsAutoString buttonType;
element->GetAttribute(NS_LITERAL_STRING("type"), buttonType);
if (buttonType.EqualsIgnoreCase("submit"))
*_retval |= STATE_DEFAULT;
return NS_OK;
}
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMHTMLInputElement> button(do_QueryInterface(mDOMNode));
if (!button)
return NS_ERROR_FAILURE;
nsAutoString name;
button->GetValue(name);
name.CompressWhitespace();
_retval.Assign(name);
return NS_OK;
}
// ----- HTML 4 Button: can contain arbitrary HTML content -----
nsHTML4ButtonAccessible::nsHTML4ButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsLeafAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;;
}
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("press"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTML4ButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) {
nsCOMPtr<nsIDOMNSHTMLButtonElement> buttonElement(do_QueryInterface(mDOMNode));
if ( buttonElement )
{
buttonElement->Click();
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccState(PRUint32 *_retval)
{
nsAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No nsIDOMElement for button node!");
nsAutoString buttonType;
element->GetAttribute(NS_LITERAL_STRING("type"), buttonType);
if (buttonType.EqualsIgnoreCase("submit"))
*_retval |= STATE_DEFAULT;
return NS_OK;
}
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccName(nsAString& _retval)
{
nsresult rv = NS_ERROR_FAILURE;
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
nsAutoString name;
if (content)
rv = AppendFlatStringFromSubtree(content, &name);
if (NS_SUCCEEDED(rv)) {
// Temp var needed until CompressWhitespace built for nsAString
name.CompressWhitespace();
_retval.Assign(name);
}
return rv;
}
// --- textfield -----
nsHTMLTextFieldAccessible::nsHTMLTextFieldAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTMLTextFieldAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_TEXT;
return NS_OK;
}
NS_IMETHODIMP nsHTMLTextFieldAccessible::GetAccValue(nsAString& _retval)
{
PRUint32 state;
GetAccState(&state);
if (state & STATE_PROTECTED) // Don't return password text!
return NS_ERROR_FAILURE;
nsCOMPtr<nsIDOMHTMLTextAreaElement> textArea(do_QueryInterface(mDOMNode));
if (textArea) {
textArea->GetValue(_retval);
return NS_OK;
}
nsCOMPtr<nsIDOMHTMLInputElement> inputElement(do_QueryInterface(mDOMNode));
if (inputElement) {
inputElement->GetValue(_retval);
return NS_OK;
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsHTMLTextFieldAccessible::GetAccState(PRUint32 *_retval)
{
// can be
// focusable, focused, protected. readonly, unavailable, selected
nsAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
nsCOMPtr<nsIDOMHTMLTextAreaElement> textArea(do_QueryInterface(mDOMNode));
nsCOMPtr<nsIDOMHTMLInputElement> inputElement(do_QueryInterface(mDOMNode));
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(mDOMNode));
PRBool isReadOnly = PR_FALSE;
elt->HasAttribute(NS_LITERAL_STRING("readonly"), &isReadOnly);
if (isReadOnly)
*_retval |= STATE_READONLY;
// Get current selection and find out if current node is in it
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell) {
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIPresContext> context;
shell->GetPresContext(getter_AddRefs(context));
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
nsIFrame *frame = nsnull;
if (content && NS_SUCCEEDED(shell->GetPrimaryFrameFor(content, &frame)) && frame) {
nsCOMPtr<nsISelectionController> selCon;
frame->GetSelectionController(context,getter_AddRefs(selCon));
if (selCon) {
nsCOMPtr<nsISelection> domSel;
selCon->GetSelection(nsISelectionController::SELECTION_NORMAL, getter_AddRefs(domSel));
if (domSel) {
PRBool isCollapsed = PR_TRUE;
domSel->GetIsCollapsed(&isCollapsed);
if (!isCollapsed)
*_retval |=STATE_SELECTED;
}
}
}
if (!textArea) {
if (inputElement) {
/////// ====== Must be a password field, so it uses nsIDOMHTMLFormControl ==== ///////
PRUint32 moreStates = 0;
nsresult rv = nsFormControlAccessible::GetAccState(&moreStates);
*_retval |= moreStates;
return rv;
}
return NS_ERROR_FAILURE;
}
PRBool disabled = PR_FALSE;
textArea->GetDisabled(&disabled);
if (disabled)
*_retval |= STATE_UNAVAILABLE;
return NS_OK;
}
// --- groupbox -----
/*
* The HTML for this is <fieldset> <legend>box-title</legend> form elements </fieldset>
*/
nsHTMLGroupboxAccessible::nsHTMLGroupboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTMLGroupboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_GROUPING;
return NS_OK;
}
NS_IMETHODIMP nsHTMLGroupboxAccessible::GetAccState(PRUint32 *_retval)
{
// Groupbox doesn't support any states!
*_retval = 0;
return NS_OK;
}
NS_IMETHODIMP nsHTMLGroupboxAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
if (element) {
nsCOMPtr<nsIDOMNodeList> legends;
element->GetElementsByTagName(NS_LITERAL_STRING("legend"), getter_AddRefs(legends));
if (legends) {
nsCOMPtr<nsIDOMNode> legendNode;
legends->Item(0, getter_AddRefs(legendNode));
nsCOMPtr<nsIContent> legendContent(do_QueryInterface(legendNode));
if (legendContent) {
_retval.Assign(NS_LITERAL_STRING("")); // Default name is blank
return AppendFlatStringFromSubtree(legendContent, &_retval);
}
}
}
return NS_OK;
}

View File

@@ -0,0 +1,113 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Eric D Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsHTMLFormControlAccessible_H_
#define _nsHTMLFormControlAccessible_H_
#include "nsBaseWidgetAccessible.h"
#include "nsFormControlAccessible.h"
class nsICheckboxControlFrame;
class nsHTMLCheckboxAccessible : public nsFormControlAccessible
{
public:
nsHTMLCheckboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
class nsHTMLRadioButtonAccessible : public nsRadioButtonAccessible
{
public:
nsHTMLRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
class nsHTMLButtonAccessible : public nsFormControlAccessible
{
public:
nsHTMLButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
};
class nsHTML4ButtonAccessible : public nsLeafAccessible
{
public:
nsHTML4ButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
};
class nsHTMLTextFieldAccessible : public nsFormControlAccessible
{
public:
nsHTMLTextFieldAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
class nsHTMLGroupboxAccessible : public nsAccessible
{
public:
nsHTMLGroupboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
};
#endif

View File

@@ -0,0 +1,205 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsHTMLIFrameRootAccessible.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsIPresShell.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsIDOMDocument.h"
#include "nsReadableUtils.h"
NS_INTERFACE_MAP_BEGIN(nsHTMLIFrameRootAccessible)
NS_INTERFACE_MAP_END_INHERITING(nsRootAccessible)
NS_IMPL_ADDREF_INHERITED(nsHTMLIFrameRootAccessible, nsRootAccessible);
NS_IMPL_RELEASE_INHERITED(nsHTMLIFrameRootAccessible, nsRootAccessible);
NS_IMPL_ADDREF_INHERITED(nsHTMLIFrameAccessible, nsBlockAccessible);
NS_IMPL_RELEASE_INHERITED(nsHTMLIFrameAccessible, nsBlockAccessible);
NS_IMETHODIMP
nsHTMLIFrameAccessible::QueryInterface(const nsIID& aIID, void** aInstancePtr)
{
NS_ASSERTION(aInstancePtr, "QueryInterface requires a non-NULL destination!");
if ( !aInstancePtr )
return NS_ERROR_NULL_POINTER;
if (aIID.Equals(NS_GET_IID(nsIAccessibleDocument))) {
*aInstancePtr = (void*)(nsIAccessibleDocument*) this;
NS_IF_ADDREF(this);
return NS_OK;
}
return nsBlockAccessible::QueryInterface(aIID, aInstancePtr);
}
nsHTMLIFrameAccessible::nsHTMLIFrameAccessible(nsIDOMNode* aNode, nsIAccessible* aRoot, nsIWeakReference* aShell, nsIDocument *aDoc):
nsBlockAccessible(aNode, aShell), mRootAccessible(aRoot), nsDocAccessibleMixin(aDoc)
{
}
/* attribute wstring accName; */
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccName(nsAString& aAccName)
{
return GetTitle(aAccName);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccValue(nsAString& aAccValue)
{
return GetURL(aAccValue);
}
/* nsIAccessible getAccFirstChild (); */
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
return mRootAccessible->GetAccFirstChild(_retval);
}
/* nsIAccessible getAccLastChild (); */
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccLastChild(nsIAccessible **_retval)
{
return mRootAccessible->GetAccLastChild(_retval);
}
/* long getAccChildCount (); */
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccChildCount(PRInt32 *_retval)
{
return mRootAccessible->GetAccChildCount(_retval);
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PANE;
return NS_OK;
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccState(PRUint32 *aAccState)
{
return nsAccessible::GetAccState(aAccState);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetURL(nsAString& aURL)
{
return nsDocAccessibleMixin::GetURL(aURL);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetTitle(nsAString& aTitle)
{
return nsDocAccessibleMixin::GetTitle(aTitle);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetMimeType(nsAString& aMimeType)
{
return nsDocAccessibleMixin::GetMimeType(aMimeType);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetDocType(nsAString& aDocType)
{
return nsDocAccessibleMixin::GetDocType(aDocType);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetNameSpaceURIForID(PRInt16 aNameSpaceID, nsAString& aNameSpaceURI)
{
return nsDocAccessibleMixin::GetNameSpaceURIForID(aNameSpaceID, aNameSpaceURI);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetDocument(nsIDocument **doc)
{
return nsDocAccessibleMixin::GetDocument(doc);
}
//=============================//
// nsHTMLIFrameRootAccessible //
//=============================//
//-----------------------------------------------------
// construction
//-----------------------------------------------------
nsHTMLIFrameRootAccessible::nsHTMLIFrameRootAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
mOuterNode(aNode), nsRootAccessible(aShell)
{
}
//-----------------------------------------------------
// destruction
//-----------------------------------------------------
nsHTMLIFrameRootAccessible::~nsHTMLIFrameRootAccessible()
{
}
void nsHTMLIFrameRootAccessible::Init()
{
if (!mOuterAccessible) {
nsCOMPtr<nsIDOMDocument> domDoc;
mOuterNode->GetOwnerDocument(getter_AddRefs(domDoc));
nsCOMPtr<nsIDocument> doc(do_QueryInterface(domDoc));
if (doc) {
nsCOMPtr<nsIPresShell> parentShell;
doc->GetShellAt(0, getter_AddRefs(parentShell));
if (parentShell) {
nsCOMPtr<nsIContent> content(do_QueryInterface(mOuterNode));
nsIFrame* frame = nsnull;
parentShell->GetPrimaryFrameFor(content, &frame);
NS_ASSERTION(frame, "No outer frame.");
frame->GetAccessible(getter_AddRefs(mOuterAccessible));
NS_ASSERTION(mOuterAccessible, "Something's wrong - there's no accessible for the outer parent of this frame.");
}
}
}
}
/* readonly attribute nsIAccessible accParent; */
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetAccParent(nsIAccessible * *_retval)
{
Init();
return mOuterAccessible->GetAccParent(_retval);
}
/* nsIAccessible getAccNextSibling (); */
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
Init();
return mOuterAccessible->GetAccNextSibling(_retval);
}
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
Init();
return mOuterAccessible->GetAccPreviousSibling(_retval);
}

View File

@@ -0,0 +1,101 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsIFrameRootAccessible_H_
#define _nsIFrameRootAccessible_H_
#include "nsBaseWidgetAccessible.h"
#include "nsRootAccessible.h"
#include "nsAccessible.h"
#include "nsIAccessibleDocument.h"
class nsIWebShell;
class nsIWeakReference;
class nsHTMLIFrameAccessible : public nsBlockAccessible,
public nsIAccessibleDocument,
public nsDocAccessibleMixin
{
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIACCESSIBLEDOCUMENT
public:
nsHTMLIFrameAccessible(nsIDOMNode* aNode, nsIAccessible* aRoot, nsIWeakReference* aShell, nsIDocument *doc);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccName(nsAString& aAccName);
NS_IMETHOD GetAccValue(nsAString& AccValue);
NS_IMETHOD GetAccRole(PRUint32 *aAccRole);
NS_IMETHOD GetAccState(PRUint32 *aAccState);
protected:
nsCOMPtr<nsIAccessible> mRootAccessible;
};
class nsHTMLIFrameRootAccessible : public nsRootAccessible
{
NS_DECL_ISUPPORTS_INHERITED
public:
nsHTMLIFrameRootAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
virtual ~nsHTMLIFrameRootAccessible();
/* attribute wstring accName; */
NS_IMETHOD GetAccParent(nsIAccessible * *aAccParent);
/* nsIAccessible getAccNextSibling (); */
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
/* nsIAccessible getAccPreviousSibling (); */
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
protected:
void Init();
// In these variable names, "outer" relates to the nsHTMLIFrameAccessible, as opposed to the
// nsHTMLIFrameRootAccessible which is "inner".
// The outer node is a <browser> or <iframe> tag, whereas the inner node corresponds to the inner document root.
nsCOMPtr<nsIDOMNode> mOuterNode;
nsCOMPtr<nsIAccessible> mOuterAccessible;
};
#endif

View File

@@ -0,0 +1,205 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsGenericAccessible.h"
#include "nsHTMLImageAccessible.h"
#include "nsReadableUtils.h"
#include "nsAccessible.h"
#include "nsIHTMLDocument.h"
#include "nsIDocument.h"
#include "nsIDOMHTMLCollection.h"
#include "nsIAccessibilityService.h"
#include "nsIServiceManager.h"
#include "imgIRequest.h"
#include "imgIContainer.h"
#include "nsIImageFrame.h"
// --- image -----
nsHTMLImageAccessible::nsHTMLImageAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsLinkableAccessible(aDOMNode, aShell)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(aDOMNode));
nsCOMPtr<nsIDocument> doc;
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell)
return;
shell->GetDocument(getter_AddRefs(doc));
nsAutoString mapElementName;
if (doc && element) {
nsCOMPtr<nsIHTMLDocument> htmlDoc(do_QueryInterface(doc));
element->GetAttribute(NS_LITERAL_STRING("usemap"),mapElementName);
if (htmlDoc && !mapElementName.IsEmpty()) {
if (mapElementName.CharAt(0) == '#')
mapElementName.Cut(0,1);
htmlDoc->GetImageMap(mapElementName, getter_AddRefs(mMapElement));
}
}
}
NS_IMETHODIMP nsHTMLImageAccessible::GetAccState(PRUint32 *_retval)
{
// The state is a bitfield, get our inherited state, then logically OR it with STATE_ANIMATED if this
// is an animated image.
nsLinkableAccessible::GetAccState(_retval);
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
nsIFrame *frame = nsnull;
if (content && shell)
shell->GetPrimaryFrameFor(content, &frame);
nsCOMPtr<nsIImageFrame> imageFrame(do_QueryInterface(frame));
nsCOMPtr<imgIRequest> imageRequest;
if (imageFrame)
imageFrame->GetImageRequest(getter_AddRefs(imageRequest));
nsCOMPtr<imgIContainer> imgContainer;
if (imageRequest)
imageRequest->GetImage(getter_AddRefs(imgContainer));
if (imgContainer) {
PRUint32 numFrames;
imgContainer->GetNumFrames(&numFrames);
if (numFrames > 1)
*_retval |= STATE_ANIMATED;
}
return NS_OK;
}
/* wstring getAccName (); */
NS_IMETHODIMP nsHTMLImageAccessible::GetAccName(nsAString& _retval)
{
nsresult rv = NS_ERROR_FAILURE;
nsCOMPtr<nsIContent> imageContent(do_QueryInterface(mDOMNode));
if (imageContent) {
nsAutoString name;
rv = AppendFlatStringFromContentNode(imageContent, &name);
if (NS_SUCCEEDED(rv)) {
// Temp var needed until CompressWhitespace built for nsAString
name.CompressWhitespace();
_retval.Assign(name);
}
}
return rv;
}
/* wstring getAccRole (); */
NS_IMETHODIMP nsHTMLImageAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_GRAPHIC;
return NS_OK;
}
nsIAccessible *nsHTMLImageAccessible::CreateAreaAccessible(PRUint32 areaNum)
{
if (!mMapElement)
return nsnull;
if (areaNum == -1) {
PRInt32 numAreaMaps;
GetAccChildCount(&numAreaMaps);
if (numAreaMaps<=0)
return nsnull;
areaNum = NS_STATIC_CAST(PRUint32,numAreaMaps-1);
}
nsIDOMHTMLCollection *mapAreas;
mMapElement->GetAreas(&mapAreas);
if (!mapAreas)
return nsnull;
nsIDOMNode *domNode = nsnull;
mapAreas->Item(areaNum,&domNode);
if (!domNode)
return nsnull;
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
if (!accService)
return nsnull;
if (accService) {
nsIAccessible* acc = nsnull;
accService->CreateHTMLAreaAccessible(mPresShell, domNode, this, &acc);
return acc;
}
return nsnull;
}
/* nsIAccessible getAccFirstChild (); */
NS_IMETHODIMP nsHTMLImageAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = CreateAreaAccessible(0);
return NS_OK;
}
/* nsIAccessible getAccLastChild (); */
NS_IMETHODIMP nsHTMLImageAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = CreateAreaAccessible(-1);
return NS_OK;
}
/* long getAccChildCount (); */
NS_IMETHODIMP nsHTMLImageAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
if (mMapElement) {
nsIDOMHTMLCollection *mapAreas;
mMapElement->GetAreas(&mapAreas);
if (mapAreas) {
PRUint32 length;
mapAreas->GetLength(&length);
*_retval = NS_STATIC_CAST(PRInt32, length);
}
}
return NS_OK;
}

View File

@@ -0,0 +1,71 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsHTMLImageAccessible_H_
#define _nsHTMLImageAccessible_H_
#include "nsAccessible.h"
#include "nsBaseWidgetAccessible.h"
#include "nsIFrame.h"
#include "nsIImageFrame.h"
#include "nsIDOMHTMLMapElement.h"
/* Accessible for supporting images
* supports:
* - gets name, role
* - support basic state
*/
class nsHTMLImageAccessible : public nsLinkableAccessible
{
public:
nsHTMLImageAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
protected:
nsIAccessible *CreateAreaAccessible(PRUint32 areaNum);
nsCOMPtr<nsIDOMHTMLMapElement> mMapElement;
};
#endif

View File

@@ -0,0 +1,79 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsHTMLLinkAccessible.h"
#include "nsWeakReference.h"
#include "nsIFrame.h"
#include "nsILink.h"
#include "nsILinkHandler.h"
#include "nsISelection.h"
#include "nsISelectionController.h"
#include "nsIPresContext.h"
#include "nsReadableUtils.h"
#include "nsIDOMElement.h"
nsHTMLLinkAccessible::nsHTMLLinkAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsLinkableAccessible(aDomNode, aShell)
{
}
/* wstring getAccName (); */
NS_IMETHODIMP nsHTMLLinkAccessible::GetAccName(nsAString& _retval)
{
if (!IsALink()) // Also initializes private data members
return NS_ERROR_FAILURE;
nsAutoString name;
nsresult rv = AppendFlatStringFromSubtree(mLinkContent, &name);
if (NS_SUCCEEDED(rv)) {
// Temp var needed until CompressWhitespace built for nsAString
name.CompressWhitespace();
_retval.Assign(name);
}
return rv;
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLLinkAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LINK;
return NS_OK;
}

View File

@@ -0,0 +1,55 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsHTMLLinkAccessible_H_
#define _nsHTMLLinkAccessible_H_
#include "nsAccessible.h"
#include "nsBaseWidgetAccessible.h"
class nsHTMLLinkAccessible : public nsLinkableAccessible
{
public:
nsHTMLLinkAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
#endif

View File

@@ -0,0 +1,706 @@
/* -*- 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):
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsCOMPtr.h"
#include "nsHTMLSelectAccessible.h"
#include "nsIAccessibilityService.h"
#include "nsIFrame.h"
#include "nsIComboboxControlFrame.h"
#include "nsIDOMEventReceiver.h"
#include "nsIDOMHTMLCollection.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIDOMHTMLOptionElement.h"
#include "nsIDOMHTMLOptGroupElement.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsIDOMHTMLOListElement.h"
#include "nsIListControlFrame.h"
#include "nsIServiceManager.h"
#include "nsLayoutAtoms.h"
#include "nsIDocument.h"
/**
* Selects, Listboxes and Comboboxes, are made up of a number of different
* widgets, some of which are shared between the two. This file contains
* all of the widgets for both of the Selects, for HTML only. Some of them
* extend classes from nsSelectAccessible.cpp, which contains base classes
* that are also extended by the XUL Select Accessibility support.
*
* Listbox:
* - nsHTMLListboxAccessible
* - nsHTMLSelectListAccessible
* - nsHTMLSelectOptionAccessible
*
* Comboboxes:
* - nsHTMLComboboxAccessilbe
* - nsHTMLComboboxTextFieldAccessible
* - nsHTMLComboboxButtonAccessible
* - nsHTMLComboboxWindowAccessilbe
* - nsHTMLSelectListAccessible
* - nsHTMLSelectOptionAccessible
*/
/** ------------------------------------------------------ */
/** First, the common widgets */
/** ------------------------------------------------------ */
/** ----- nsHTMLSelectListAccessible ----- */
/** Default Constructor */
nsHTMLSelectListAccessible::nsHTMLSelectListAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsSelectListAccessible(aParent, aDOMNode, aShell)
{
}
/**
* As a nsHTMLSelectListAccessible we can have the following states:
* STATE_MULTISELECTABLE
* STATE_EXTSELECTABLE
*/
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccState(PRUint32 *_retval)
{
nsCOMPtr<nsIDOMHTMLSelectElement> select (do_QueryInterface(mDOMNode));
if ( select ) {
PRBool multiple;
select->GetMultiple(&multiple);
if ( multiple )
*_retval |= STATE_MULTISELECTABLE | STATE_EXTSELECTABLE;
}
return NS_OK;
}
/**
* Gets the last child of the DOM node and creates and returns
* a nsHTMLSelectOptionAccessible.
*/
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccLastChild(nsIAccessible **_retval)
{
nsCOMPtr<nsIDOMNode> last;
mDOMNode->GetLastChild(getter_AddRefs(last));
*_retval = new nsHTMLSelectOptionAccessible(this, last, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* Gets the child count of a Select List Accessible. We want to count
* all the <optgroup>s and <option>s as children because we want a
* flat tree under the Select List.
*/
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccChildCount(PRInt32 *aAccChildCount)
{
// Count the number of <Option Group> and <option> elements and return
// this number. This is so the tree can be flattened
nsCOMPtr<nsIDOMNode> next, nextInner, nextChild;
nsCOMPtr<nsIDOMHTMLOptionElement> optionElement(do_QueryInterface(mDOMNode));
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
PRInt32 countChild;
countChild = 0;
mDOMNode->GetFirstChild(getter_AddRefs(next));
while (next) {
nsCOMPtr<nsIDOMHTMLOptGroupElement> optGroupElement(do_QueryInterface(next));
countChild++;
if (optGroupElement) {
next->GetFirstChild(getter_AddRefs(nextInner));
while (nextInner ) {
nsCOMPtr<nsIDOMHTMLOptionElement> optionElement(do_QueryInterface(nextInner));
if (optionElement) {
countChild++;
}
nextInner->GetNextSibling(getter_AddRefs(nextChild));
nextInner = nextChild;
} // endWhile nextInner
} // endif optGroupElement
next->GetNextSibling(getter_AddRefs(nextInner));
next = nextInner;
} // endWhile next
*aAccChildCount = countChild;
return NS_OK;
}
/** ----- nsHTMLSelectOptionAccessible ----- */
/** Default Constructor */
nsHTMLSelectOptionAccessible::nsHTMLSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsSelectOptionAccessible(aParent, aDOMNode, aShell)
{
}
/**
* Gets the next accessible sibling of the mDOMNode and creates and returns
* a nsHTMLSelectOptionAccessible or nsHTMLSelectOptGroupAccessible.
*/
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
// Get next sibling and if found create and return an accessible for it
// When getting the next sibling of an SelectOption we could be working with
// either an optgroup or an option. We process this tree as flat.
*_retval = nsnull;
nsCOMPtr<nsIDOMNode> next;
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
nsCOMPtr<nsIDOMHTMLOptGroupElement> currOptGroupElement(do_QueryInterface(mDOMNode));
if (currOptGroupElement) {
mDOMNode->GetFirstChild(getter_AddRefs(next));
}
if (!next) // no child under a <optgroup> or we started with a <option>
mDOMNode->GetNextSibling(getter_AddRefs(next)); // See if there is another <optgroup>
if (next) {
accService->GetAccessibleFor(next, _retval);
return NS_OK;
}
// else No child then or child is not a <option> nor an <optgroup>
// go back up to the parent and get next sibling from there,
nsCOMPtr<nsIDOMNode> parent, parentNextSib;
mDOMNode->GetParentNode(getter_AddRefs(parent));
if (!parent) {
return NS_OK;
} else {
nsCOMPtr<nsIDOMHTMLOListElement> listElement(do_QueryInterface(parent));
if (listElement) // we are done!
return NS_OK;
}
parent->GetNextSibling(getter_AddRefs(parentNextSib));
if (!parentNextSib)
return NS_OK; // done
// We have a parent that is an option or option group
// get accessible for either one and return it
accService->GetAccessibleFor(parentNextSib, _retval);
return NS_OK;
}
/**
* Gets the previous accessible sibling of the mDOMNode and creates and returns
* a nsHTMLSelectOptionAccessible or nsHTMLSelectOptGroupAccessible.
*/
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
nsCOMPtr<nsIAccessible> thisAcc, selectListAcc, nextSiblingAcc;
accService->GetAccessibleFor(mDOMNode, getter_AddRefs(thisAcc));
// The accessible parent of an <option> or <optgroup> is always the SelectListAcc - see GetAccessibleFor()
thisAcc->GetAccParent(getter_AddRefs(selectListAcc));
if (!selectListAcc) {
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIDOMNode> siblingDOMNode;
selectListAcc->GetAccFirstChild(_retval);
// Go thru all the siblings until we find ourselves(mDOMNode) then use the
// sibling right before us.
do {
(*_retval)->GetAccNextSibling(getter_AddRefs(nextSiblingAcc));
if (!nextSiblingAcc) {
*_retval = nsnull;
return NS_ERROR_FAILURE;
}
nextSiblingAcc->AccGetDOMNode(getter_AddRefs(siblingDOMNode));
if (siblingDOMNode == mDOMNode) {
break; // we found ourselves!
}
NS_RELEASE(*_retval);
*_retval = nextSiblingAcc;
NS_IF_ADDREF(*_retval);
} while (nextSiblingAcc);
return NS_OK;
}
/**
* As a nsHTMLSelectOptionAccessible we can have the following states:
* STATE_SELECTABLE
* STATE_SELECTED
* STATE_FOCUSED
* STATE_FOCUSABLE
* STATE_INVISIBLE -- not implemented yet
*/
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccState(PRUint32 *_retval)
{
*_retval = 0;
nsCOMPtr<nsIDOMNode> focusedOptionNode, parentNode;
// Go up to parent <select> element
nsCOMPtr<nsIDOMNode> thisNode(do_QueryInterface(mDOMNode));
do {
thisNode->GetParentNode(getter_AddRefs(parentNode));
nsCOMPtr<nsIDOMHTMLSelectElement> selectControl(do_QueryInterface(parentNode));
if (selectControl) {
break;
}
thisNode = parentNode;
} while (parentNode);
if (!parentNode) {
return NS_ERROR_FAILURE;
}
// find out if we are the focused node
GetFocusedOptionNode(parentNode, focusedOptionNode);
if (focusedOptionNode == mDOMNode)
*_retval |= STATE_FOCUSED;
// Are we selected?
nsCOMPtr<nsIDOMHTMLOptionElement> option (do_QueryInterface(mDOMNode));
if ( option ) {
PRBool isSelected = PR_FALSE;
option->GetSelected(&isSelected);
if ( isSelected )
*_retval |= STATE_SELECTED;
}
*_retval |= STATE_SELECTABLE | STATE_FOCUSABLE;
return NS_OK;
}
/**
* Helper method for getting the focused DOM Node from our parent(list) node. We
* need to use the frame to get the focused option because for some reason we
* weren't getting the proper notification when the focus changed using the DOM
*/
nsresult nsHTMLSelectOptionAccessible::GetFocusedOptionNode(nsIDOMNode *aListNode,
nsCOMPtr<nsIDOMNode>& aFocusedOptionNode)
{
NS_ASSERTION(aListNode, "Called GetFocusedOptionNode without a valid list node");
nsCOMPtr<nsIContent> content(do_QueryInterface(aListNode));
nsCOMPtr<nsIDocument> document;
content->GetDocument(*getter_AddRefs(document));
nsCOMPtr<nsIPresShell> shell;
if (document)
document->GetShellAt(0,getter_AddRefs(shell));
if (!shell)
return NS_ERROR_FAILURE;
nsIFrame *frame = nsnull;
shell->GetPrimaryFrameFor(content, &frame);
PRInt32 focusedOptionIndex = 0;
// Get options
nsCOMPtr<nsIDOMHTMLSelectElement> selectElement(do_QueryInterface(aListNode));
NS_ASSERTION(selectElement, "No select element where it should be");
nsCOMPtr<nsIDOMHTMLCollection> options;
nsresult rv = selectElement->GetOptions(getter_AddRefs(options));
if (NS_SUCCEEDED(rv)) {
nsCOMPtr<nsIListControlFrame> listFrame(do_QueryInterface(frame));
if (listFrame) {
// Get what's focused in listbox by asking frame for "selected item".
// Can't use dom interface for this, because it will always return the first selected item
// when there is more than 1 item selected. We need the focused item, not
// the first selected item.
rv = listFrame->GetSelectedIndex(&focusedOptionIndex);
}
else // Combo boxes can only have 1 selected option, so they can use the dom interface for this
rv = selectElement->GetSelectedIndex(&focusedOptionIndex);
}
// Either use options and focused index, or default to list node itself
if (NS_SUCCEEDED(rv) && options && focusedOptionIndex >= 0) // Something is focused
rv = options->Item(focusedOptionIndex, getter_AddRefs(aFocusedOptionNode));
else { // If no options in list or focusedOptionIndex <0, then we are not focused on an item
aFocusedOptionNode = aListNode; // return normal target content
rv = NS_OK;
}
return rv;
}
/** ----- nsHTMLSelectOptGroupAccessible ----- */
/** Default Constructor */
nsHTMLSelectOptGroupAccessible::nsHTMLSelectOptGroupAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsHTMLSelectOptionAccessible(aParent, aDOMNode, aShell)
{
}
/**
* As a nsHTMLSelectOptGroupAccessible we can have the following states:
* STATE_SELECTABLE
*/
NS_IMETHODIMP nsHTMLSelectOptGroupAccessible::GetAccState(PRUint32 *_retval)
{
nsHTMLSelectOptionAccessible::GetAccState(_retval);
*_retval &= ~(STATE_FOCUSABLE|STATE_SELECTABLE);
return NS_OK;
}
/** ------------------------------------------------------ */
/** Secondly, the Listbox widget */
/** ------------------------------------------------------ */
/** ----- nsHTMLListboxAccessible ----- */
/** Constructor */
nsHTMLListboxAccessible::nsHTMLListboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsListboxAccessible(aDOMNode, aShell)
{
}
/** Inherit the ISupports impl from nsAccessible, we handle nsIAccessibleSelectable */
NS_IMPL_ISUPPORTS_INHERITED1(nsHTMLListboxAccessible, nsListboxAccessible, nsIAccessibleSelectable)
/**
* Our last (and only) child is an nsHTMLSelectListAccessible object
*/
NS_IMETHODIMP nsHTMLListboxAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLSelectListAccessible(this, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* Our first (and only) child is an nsHTMLSelectListAccessible object
*/
NS_IMETHODIMP nsHTMLListboxAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLSelectListAccessible(this, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* Our value is the value of our ( first ) selected child. nsIDOMHTMLSelectElement
* returns this by default with GetValue().
*/
NS_IMETHODIMP nsHTMLListboxAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMHTMLSelectElement> select (do_QueryInterface(mDOMNode));
if ( select ) {
select->GetValue(_retval);
return NS_OK;
}
return NS_ERROR_FAILURE;
}
/**
* nsIAccessibleSelectable method.
* - gets from the Select DOMNode the list of all Select Options
* - iterates through all of the options looking for selected Options
* - creates IAccessible objects for selected Options
* - Returns the IAccessibles for selectd Options in the nsISupportsArray
*
* retval will be nsnull if:
* - there are no Options in the Select Element
* - there are Options but none are selected
* - the DOMNode is not a nsIDOMHTMLSelectElement ( shouldn't happen )
*/
NS_IMETHODIMP nsHTMLListboxAccessible::GetSelectedChildren(nsISupportsArray **_retval)
{
nsCOMPtr<nsIDOMHTMLSelectElement> select(do_QueryInterface(mDOMNode));
if(select) {
nsCOMPtr<nsIDOMHTMLCollection> options;
// get all the options in the select
select->GetOptions(getter_AddRefs(options));
if (options) {
// set up variables we need to get the selected options and to get their nsIAccessile objects
PRUint32 length;
options->GetLength(&length);
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
nsCOMPtr<nsISupportsArray> selectedAccessibles;
NS_NewISupportsArray(getter_AddRefs(selectedAccessibles));
if (!selectedAccessibles || !accService)
return NS_ERROR_FAILURE;
// find the selected options and get the accessible objects;
PRBool isSelected = PR_FALSE;
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
for (PRUint32 i = 0 ; i < length ; i++) {
nsCOMPtr<nsIDOMNode> tempNode;
options->Item(i,getter_AddRefs(tempNode));
if (tempNode) {
nsCOMPtr<nsIDOMHTMLOptionElement> tempOption(do_QueryInterface(tempNode));
if (tempOption)
tempOption->GetSelected(&isSelected);
if (isSelected) {
nsCOMPtr<nsIAccessible> tempAccess;
accService->CreateHTMLSelectOptionAccessible(tempOption, this, context, getter_AddRefs(tempAccess));
if ( tempAccess )
selectedAccessibles->AppendElement(tempAccess);
isSelected = PR_FALSE;
}
}
}
selectedAccessibles->Count(&length); // reusing length
if ( length != 0 ) { // length of nsISupportsArray containing selected options
*_retval = selectedAccessibles;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
}
}
// no options, not a select or none of the options are selected
*_retval = nsnull;
return NS_OK;
}
/** ------------------------------------------------------ */
/** Finally, the Combobox widgets */
/** ------------------------------------------------------ */
/** ----- nsHTMLComboboxAccessible ----- */
/** Constructor */
nsHTMLComboboxAccessible::nsHTMLComboboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsComboboxAccessible(aDOMNode, aShell)
{
}
/**
* Our last child is an nsHTMLComboboxWindowAccessible object
*/
NS_IMETHODIMP nsHTMLComboboxAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLComboboxWindowAccessible(this, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* Our last child is an nsHTMLComboboxTextFieldAccessible object
*/
NS_IMETHODIMP nsHTMLComboboxAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLComboboxTextFieldAccessible(this, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* Our value is the value of our ( first ) selected child. nsIDOMHTMLSelectElement
* returns this by default with GetValue().
*/
NS_IMETHODIMP nsHTMLComboboxAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMHTMLSelectElement> select (do_QueryInterface(mDOMNode));
if (select) {
select->GetValue(_retval);
return NS_OK;
}
return NS_ERROR_FAILURE;
}
/** ----- nsHTMLComboboxTextFieldAccessible ----- */
/** Constructor */
nsHTMLComboboxTextFieldAccessible::nsHTMLComboboxTextFieldAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsComboboxTextFieldAccessible(aParent, aDOMNode, aShell)
{
}
/**
* Our next sibling is an nsHTMLComboboxButtonAccessible object
*/
NS_IMETHODIMP nsHTMLComboboxTextFieldAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLComboboxButtonAccessible(parent, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/** -----ComboboxButtonAccessible ----- */
/** Constructor -- cache our parent */
nsHTMLComboboxButtonAccessible::nsHTMLComboboxButtonAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsComboboxButtonAccessible(aParent, aDOMNode, aShell)
{
}
/**
* Programmaticaly click on the button, causing either the display or
* the hiding of the drop down box ( window ).
* Walks the Frame tree and checks for proper frames.
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::AccDoAction(PRUint8 index)
{
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if (!context)
return NS_ERROR_FAILURE;
frame->FirstChild(context, nsnull, &frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::blockFrame))
return NS_ERROR_FAILURE;
#endif
frame->GetNextSibling(&frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::gfxButtonControlFrame))
return NS_ERROR_FAILURE;
#endif
nsCOMPtr<nsIContent> content;
frame->GetContent(getter_AddRefs(content));
// We only have one action, click. Any other index is meaningless(wrong)
if (index == eAction_Click) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(content));
if (element)
{
element->Click();
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_INVALID_ARG;
}
/**
* Our next sibling is an nsHTMLComboboxWindowAccessible object
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLComboboxWindowAccessible(parent, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* Our next sibling is an nsHTMLComboboxTextFieldAccessible object
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLComboboxTextFieldAccessible(parent, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/** ----- nsHTMLComboboxWindowAccessible ----- */
/**
* Constructor -- cache our parent
*/
nsHTMLComboboxWindowAccessible::nsHTMLComboboxWindowAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsComboboxWindowAccessible(aParent, aDOMNode, aShell)
{
}
/**
* Our previous sibling is a nsHTMLComboboxButtonAccessible object
*/
NS_IMETHODIMP nsHTMLComboboxWindowAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLComboboxButtonAccessible(parent, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* We only have one child, a list
*/
NS_IMETHODIMP nsHTMLComboboxWindowAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLSelectListAccessible(this, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* We only have one child, a list
*/
NS_IMETHODIMP nsHTMLComboboxWindowAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLSelectListAccessible(this, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}

View File

@@ -0,0 +1,224 @@
/* -*- 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):
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __nsHTMLSelectAccessible_h__
#define __nsHTMLSelectAccessible_h__
#include "nsCOMPtr.h"
#include "nsIAccessibleSelectable.h"
#include "nsIDOMNode.h"
#include "nsIWeakReference.h"
#include "nsSelectAccessible.h"
/**
* Selects, Listboxes and Comboboxes, are made up of a number of different
* widgets, some of which are shared between the two. This file contains
* all of the widgets for both of the Selects, for HTML only. Some of them
* extend classes from nsSelectAccessible.cpp, which contains base classes
* that are also extended by the XUL Select Accessibility support.
*
* Listbox:
* - nsHTMLListboxAccessible
* - nsHTMLSelectListAccessible
* - nsHTMLSelectOptionAccessible
*
* Comboboxes:
* - nsHTMLComboboxAccessible
* - nsHTMLComboboxTextFieldAccessible
* - nsHTMLComboboxButtonAccessible
* - nsHTMLComboboxWindowAccessible
* - nsHTMLSelectListAccessible
* - nsHTMLSelectOptionAccessible(s)
*/
/** ------------------------------------------------------ */
/** First, the common widgets */
/** ------------------------------------------------------ */
/*
* The list that contains all the options in the select.
*/
class nsHTMLSelectListAccessible : public nsSelectListAccessible
{
public:
nsHTMLSelectListAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLSelectListAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *aAccChildCount) ;
};
/*
* Options inside the select, contained within the list
*/
class nsHTMLSelectOptionAccessible : public nsSelectOptionAccessible
{
public:
nsHTMLSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLSelectOptionAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
static nsresult GetFocusedOptionNode(nsIDOMNode *aListNode, nsCOMPtr<nsIDOMNode>& aFocusedOptionNode);
};
/*
* Opt Groups inside the select, contained within the list
*/
class nsHTMLSelectOptGroupAccessible : public nsHTMLSelectOptionAccessible
{
public:
nsHTMLSelectOptGroupAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLSelectOptGroupAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
/** ------------------------------------------------------ */
/** Secondly, the Listbox widget */
/** ------------------------------------------------------ */
/*
* A class the represents the HTML Listbox widget.
*/
class nsHTMLListboxAccessible : public nsListboxAccessible,
public nsIAccessibleSelectable
{
public:
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIACCESSIBLESELECTABLE
nsHTMLListboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLListboxAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
};
/** ------------------------------------------------------ */
/** Finally, the Combobox widgets */
/** ------------------------------------------------------ */
/*
* A class the represents the HTML Combobox widget.
*/
class nsHTMLComboboxAccessible : public nsComboboxAccessible
{
public:
nsHTMLComboboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLComboboxAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
};
/*
* A class the represents the text field in the Select to the left
* of the drop down button
*/
class nsHTMLComboboxTextFieldAccessible : public nsComboboxTextFieldAccessible
{
public:
nsHTMLComboboxTextFieldAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLComboboxTextFieldAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
};
/**
* A class that represents the button inside the Select to the
* right of the text field
*/
class nsHTMLComboboxButtonAccessible : public nsComboboxButtonAccessible
{
public:
nsHTMLComboboxButtonAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLComboboxButtonAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD AccDoAction(PRUint8 index);
};
/*
* A class that represents the window that lives to the right
* of the drop down button inside the Select. This is the window
* that is made visible when the button is pressed.
*/
class nsHTMLComboboxWindowAccessible : public nsComboboxWindowAccessible
{
public:
nsHTMLComboboxWindowAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLComboboxWindowAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
};
#endif

View File

@@ -0,0 +1,101 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsHTMLTableAccessible.h"
#include "nsWeakReference.h"
#include "nsReadableUtils.h"
#include "nsIDOMElement.h"
nsHTMLTableCellAccessible::nsHTMLTableCellAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsBlockAccessible(aDomNode, aShell)
{
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLTableCellAccessible::GetAccRole(PRUint32 *aResult)
{
*aResult = ROLE_CELL;
return NS_OK;
}
NS_IMETHODIMP nsHTMLTableCellAccessible::GetAccState(PRUint32 *aResult)
{
nsAccessible::GetAccState(aResult);
*aResult &= ~STATE_FOCUSABLE; // Inherit all states except focusable state since table cells cannot be focused
return NS_OK;
}
nsHTMLTableAccessible::nsHTMLTableAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsBlockAccessible(aDomNode, aShell)
{
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLTableAccessible::GetAccRole(PRUint32 *aResult)
{
*aResult = ROLE_TABLE;
return NS_OK;
}
NS_IMETHODIMP nsHTMLTableAccessible::GetAccState(PRUint32 *aResult)
{
nsAccessible::GetAccState(aResult);
*aResult &= ~STATE_FOCUSABLE; // Inherit all states except focusable state since tables cannot be focused
return NS_OK;
}
NS_IMETHODIMP nsHTMLTableAccessible::GetAccName(nsAString& aResult)
{
aResult.Assign(NS_LITERAL_STRING("")); // Default name is blank
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
if (element) {
nsCOMPtr<nsIDOMNodeList> captions;
element->GetElementsByTagName(NS_LITERAL_STRING("caption"), getter_AddRefs(captions));
if (captions) {
nsCOMPtr<nsIDOMNode> captionNode;
captions->Item(0, getter_AddRefs(captionNode));
if (captionNode) {
nsCOMPtr<nsIContent> captionContent(do_QueryInterface(captionNode));
AppendFlatStringFromSubtree(captionContent, &aResult);
}
}
}
return NS_OK;
}

View File

@@ -0,0 +1,64 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsHTMLTableAccessible_H_
#define _nsHTMLTableAccessible_H_
#include "nsAccessible.h"
#include "nsBaseWidgetAccessible.h"
class nsHTMLTableCellAccessible : public nsBlockAccessible
{
public:
nsHTMLTableCellAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *aResult);
NS_IMETHOD GetAccState(PRUint32 *aResult);
};
class nsHTMLTableAccessible : public nsBlockAccessible
{
public:
nsHTMLTableAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *aResult);
NS_IMETHOD GetAccState(PRUint32 *aResult);
NS_IMETHOD GetAccName(nsAString& aResult);
};
#endif

View File

@@ -0,0 +1,51 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsHTMLTextAccessible.h"
nsHTMLTextAccessible::nsHTMLTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsTextAccessible(aDomNode, aShell)
{
}
/* wstring getAccName (); */
NS_IMETHODIMP nsHTMLTextAccessible::GetAccName(nsAString& _retval)
{
return mDOMNode->GetNodeValue(_retval);
}

View File

@@ -0,0 +1,54 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsHTMLTextAccessible_H_
#define _nsHTMLTextAccessible_H_
#include "nsFormControlAccessible.h"
class nsIWeakReference;
class nsHTMLTextAccessible : public nsTextAccessible
{
public:
nsHTMLTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
};
#endif

View File

@@ -0,0 +1,34 @@
#!gmake
#
# 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): John Gaunt (jgaunt@netscape.com)
DEPTH = ..\..
include <$(DEPTH)\config\config.mak>
DIRS = \
base \
html \
!ifdef MOZ_XUL
xul \
!endif
$(NULL)
include <$(DEPTH)\config\rules.mak>

View File

@@ -0,0 +1,70 @@
#
# 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): John Gaunt (jgaunt@netscape.com)
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
LIBRARY_NAME = accessibility_xul_s
REQUIRES = \
content \
content_xul \
docshell \
dom \
gfx \
gfx2 \
htmlparser \
imglib2 \
intl \
layout \
locale \
necko \
string \
uriloader \
view \
webshell \
widget \
xpcom \
webbrwsr \
$(NULL)
CPPSRCS = \
nsXULColorPickerAccessible.cpp \
nsXULFormControlAccessible.cpp \
nsXULMenuAccessible.cpp \
nsXULSelectAccessible.cpp \
nsXULTabAccessible.cpp \
nsXULTextAccessible.cpp \
$(NULL)
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES = \
-I$(srcdir)/../base \
-I$(srcdir)/../html \
$(NULL)

View File

@@ -0,0 +1,67 @@
#!gmake
#
# 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): John Gaunt (jgaunt@netscape.com)
DEPTH = ..\..\..
MODULE = accessibility
LIBRARY_NAME = accessibility_xul_s
REQUIRES = \
content \
dom \
gfx \
layout \
necko \
string \
widget \
xpcom \
$(NULL)
CPP_OBJS = \
.\$(OBJDIR)\nsXULColorPickerAccessible.obj \
.\$(OBJDIR)\nsXULFormControlAccessible.obj \
.\$(OBJDIR)\nsXULMenuAccessible.obj \
.\$(OBJDIR)\nsXULSelectAccessible.obj \
.\$(OBJDIR)\nsXULTabAccessible.obj \
.\$(OBJDIR)\nsXULTextAccessible.obj \
$(NULL)
EXPORTS = \
$(NULL)
LINCS = \
-I..\base \
-I..\html \
-I..\..\..\layout\html\forms\public \
-I..\..\..\layout\html\forms\src \
-I..\..\..\layout\html\base\src \
$(NULL)
include <$(DEPTH)\config\rules.mak>
libs:: $(LIBRARY)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
clobber::
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib

View File

@@ -0,0 +1,130 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* 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 ***** */
// NOTE: alphabetically ordered
#include "nsXULColorPickerAccessible.h"
#include "nsReadableUtils.h"
#include "nsString.h"
#include "nsXULFormControlAccessible.h"
#include "nsIDOMElement.h"
/**
* XUL Color Picker Tile
*/
/**
* Default Constructor
*/
nsXULColorPickerTileAccessible::nsXULColorPickerTileAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
/**
* We are a pushbutton
*/
NS_IMETHODIMP nsXULColorPickerTileAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
/**
* Possible states: focused, focusable, selected
*/
NS_IMETHODIMP nsXULColorPickerTileAccessible::GetAccState(PRUint32 *_retval)
{
// get focus and disable status from base class
nsFormControlAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
// Focused?
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No XUL Element for colorpicker");
PRBool isFocused = PR_FALSE;
element->HasAttribute(NS_LITERAL_STRING("hover"), &isFocused);
if (isFocused)
*_retval |= STATE_FOCUSED;
PRBool isSelected = PR_FALSE;
element->HasAttribute(NS_LITERAL_STRING("selected"), &isSelected);
if (isFocused)
*_retval |= STATE_SELECTED;
return NS_OK;
}
NS_IMETHODIMP nsXULColorPickerTileAccessible::GetAccName(nsAString& _retval)
{
_retval.Assign(NS_LITERAL_STRING(""));
return NS_OK;
}
NS_IMETHODIMP nsXULColorPickerTileAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No XUL Element for colorpicker");
return element->GetAttribute(NS_LITERAL_STRING("color"), _retval);
}
/**
* XUL Color Picker
*/
/**
* Default Constructor
*/
nsXULColorPickerAccessible::nsXULColorPickerAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsXULColorPickerTileAccessible(aNode, aShell)
{
}
/**
* Possible states: focused, focusable, unavailable(disabled)
*/
NS_IMETHODIMP nsXULColorPickerAccessible::GetAccState(PRUint32 *_retval)
{
// get focus and disable status from base class
nsFormControlAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE | STATE_HASPOPUP;
return NS_OK;
}

View File

@@ -0,0 +1,63 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsXULColorPickerAccessible_H_
#define _nsXULColorPickerAccessible_H_
// NOTE: alphabetically ordered
#include "nsFormControlAccessible.h"
class nsXULColorPickerTileAccessible : public nsFormControlAccessible
{
public:
nsXULColorPickerTileAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
};
class nsXULColorPickerAccessible : public nsXULColorPickerTileAccessible
{
public:
nsXULColorPickerAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
#endif

View File

@@ -0,0 +1,566 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* 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 ***** */
// NOTE: alphabetically ordered
#include "nsIDocument.h"
#include "nsIDOMNodeList.h"
#include "nsIDOMXULButtonElement.h"
#include "nsIDOMXULCheckboxElement.h"
#include "nsIDOMXULDescriptionElement.h"
#include "nsIDOMXULDocument.h"
#include "nsIDOMXULLabelElement.h"
#include "nsIDOMXULMenuListElement.h"
#include "nsIDOMXULSelectCntrlEl.h"
#include "nsIDOMXULSelectCntrlItemEl.h"
#include "nsReadableUtils.h"
#include "nsString.h"
#include "nsXULFormControlAccessible.h"
#include "nsIAccessibilityService.h"
#include "nsIServiceManager.h"
/**
* XUL Button: can contain arbitrary HTML content
*/
/**
* Default Constructor
*/
// Don't inherit from nsFormControlAccessible - it doesn't allow children and a button can have a dropmarker child
nsXULButtonAccessible::nsXULButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell), mAccService(do_GetService("@mozilla.org/accessibilityService;1"))
{
}
NS_IMETHODIMP nsXULButtonAccessible::GetAccName(nsAString& aResult)
{
return GetXULAccName(aResult);
}
/**
* Only one actions available
*/
NS_IMETHODIMP nsXULButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;;
}
/**
* Return the name of our only action
*/
NS_IMETHODIMP nsXULButtonAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("press"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/**
* Tell the button to do it's action
*/
NS_IMETHODIMP nsXULButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) {
nsCOMPtr<nsIDOMXULButtonElement> buttonElement(do_QueryInterface(mDOMNode));
if ( buttonElement )
{
buttonElement->DoCommand();
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_INVALID_ARG;
}
/**
* We are a pushbutton
*/
NS_IMETHODIMP nsXULButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
/**
* Possible states: focused, focusable, unavailable(disabled)
*/
NS_IMETHODIMP nsXULButtonAccessible::GetAccState(PRUint32 *_retval)
{
// get focus and disable status from base class
nsAccessible::GetAccState(_retval);
PRBool disabled = PR_FALSE;
nsCOMPtr<nsIDOMXULControlElement> xulFormElement(do_QueryInterface(mDOMNode));
if (xulFormElement) {
xulFormElement->GetDisabled(&disabled);
if (disabled)
*_retval |= STATE_UNAVAILABLE;
else
*_retval |= STATE_FOCUSABLE;
}
// Buttons can be checked -- they simply appear pressed in rather than checked
nsCOMPtr<nsIDOMXULButtonElement> xulButtonElement(do_QueryInterface(mDOMNode));
if (xulButtonElement) {
PRBool checked = PR_FALSE;
PRInt32 checkState = 0;
xulButtonElement->GetChecked(&checked);
if (checked) {
*_retval |= STATE_PRESSED;
xulButtonElement->GetCheckState(&checkState);
if (checkState == nsIDOMXULButtonElement::CHECKSTATE_MIXED)
*_retval |= STATE_MIXED;
}
}
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No nsIDOMElement for button node!");
PRBool isDefault = PR_FALSE;
element->HasAttribute(NS_LITERAL_STRING("default"), &isDefault) ;
if (isDefault)
*_retval |= STATE_DEFAULT;
return NS_OK;
}
/**
* Perhaps 1 child - if there's a <dropmarker>
*/
NS_IMETHODIMP nsXULButtonAccessible::GetAccFirstChild(nsIAccessible **aResult)
{
*aResult = nsnull;
nsCOMPtr<nsIAccessible> testAccessible;
nsAccessible::GetAccLastChild(getter_AddRefs(testAccessible));
// If the anonymous tree walker can find accessible children, and the last one is a push button,
// then use it as the only accessible child -- because this is the scenario where we have a dropmarker child
if (testAccessible) {
PRUint32 role;
if (NS_SUCCEEDED(testAccessible->GetAccRole(&role)) && role == ROLE_PUSHBUTTON) {
*aResult = testAccessible;
NS_ADDREF(*aResult);
}
}
return NS_OK;
}
NS_IMETHODIMP nsXULButtonAccessible::GetAccLastChild(nsIAccessible **aResult)
{
return GetAccFirstChild(aResult);
}
NS_IMETHODIMP nsXULButtonAccessible::GetAccChildCount(PRInt32 *aResult)
{
*aResult = 0;
nsCOMPtr<nsIAccessible> accessible;
GetAccFirstChild(getter_AddRefs(accessible));
if (accessible)
*aResult = 1;
return NS_OK;
}
/**
* XUL Dropmarker: can contain arbitrary HTML content
*/
/**
* Default Constructor
*/
nsXULDropmarkerAccessible::nsXULDropmarkerAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
/**
* Only one actions available
*/
NS_IMETHODIMP nsXULDropmarkerAccessible::GetAccNumActions(PRUint8 *aResult)
{
*aResult = eSingle_Action;
return NS_OK;;
}
PRBool nsXULDropmarkerAccessible::DropmarkerOpen(PRBool aToggleOpen)
{
PRBool isOpen = PR_FALSE;
nsCOMPtr<nsIDOMNode> parentButtonNode;
mDOMNode->GetParentNode(getter_AddRefs(parentButtonNode));
nsCOMPtr<nsIDOMXULButtonElement> parentButtonElement(do_QueryInterface(parentButtonNode));
if (parentButtonElement) {
parentButtonElement->GetOpen(&isOpen);
if (aToggleOpen)
parentButtonElement->SetOpen(!isOpen);
}
else {
nsCOMPtr<nsIDOMXULMenuListElement> parentMenuListElement(do_QueryInterface(parentButtonNode));
if (parentMenuListElement) {
parentMenuListElement->GetOpen(&isOpen);
if (aToggleOpen)
parentMenuListElement->SetOpen(!isOpen);
}
}
return isOpen;
}
/**
* Return the name of our only action
*/
NS_IMETHODIMP nsXULDropmarkerAccessible::GetAccActionName(PRUint8 index, nsAString& aResult)
{
if (index == eAction_Click) {
if (DropmarkerOpen(PR_FALSE))
aResult = NS_LITERAL_STRING("close");
else
aResult = NS_LITERAL_STRING("open");
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/**
* Tell the Dropmarker to do it's action
*/
NS_IMETHODIMP nsXULDropmarkerAccessible::AccDoAction(PRUint8 index)
{
if (index == eAction_Click) {
DropmarkerOpen(PR_TRUE); // Reverse the open attribute
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/**
* We are a pushbutton
*/
NS_IMETHODIMP nsXULDropmarkerAccessible::GetAccRole(PRUint32 *aResult)
{
*aResult = ROLE_PUSHBUTTON;
return NS_OK;
}
NS_IMETHODIMP nsXULDropmarkerAccessible::GetAccState(PRUint32 *aResult)
{
*aResult = 0;
if (DropmarkerOpen(PR_FALSE))
*aResult = STATE_PRESSED;
return NS_OK;
}
/**
* XUL checkbox
*/
/**
* Default Constructor
*/
nsXULCheckboxAccessible::nsXULCheckboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
/**
* We are a CheckButton
*/
NS_IMETHODIMP nsXULCheckboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_CHECKBUTTON;
return NS_OK;
}
/**
* Only one action available
*/
NS_IMETHODIMP nsXULCheckboxAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
/**
* Return the name of our only action
*/
NS_IMETHODIMP nsXULCheckboxAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
// check or uncheck
PRUint32 state;
GetAccState(&state);
if (state & STATE_CHECKED)
_retval = NS_LITERAL_STRING("uncheck");
else
_retval = NS_LITERAL_STRING("check");
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/**
* Tell the checkbox to do its only action -- check( or uncheck) itself
*/
NS_IMETHODIMP nsXULCheckboxAccessible::AccDoAction(PRUint8 index)
{
if (index == eAction_Click) {
PRBool checked = PR_FALSE;
nsCOMPtr<nsIDOMXULCheckboxElement> xulCheckboxElement(do_QueryInterface(mDOMNode));
if (xulCheckboxElement) {
xulCheckboxElement->GetChecked(&checked);
xulCheckboxElement->SetChecked(!checked);
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_INVALID_ARG;
}
/**
* Possible states: focused, focusable, unavailable(disabled), checked
*/
NS_IMETHODIMP nsXULCheckboxAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus and disable status from base class
nsFormControlAccessible::GetAccState(_retval);
// Determine Checked state
nsCOMPtr<nsIDOMXULCheckboxElement> xulCheckboxElement(do_QueryInterface(mDOMNode));
if (xulCheckboxElement) {
PRBool checked = PR_FALSE;
xulCheckboxElement->GetChecked(&checked);
if (checked) {
*_retval |= STATE_CHECKED;
PRInt32 checkState = 0;
xulCheckboxElement->GetCheckState(&checkState);
if (checkState == nsIDOMXULCheckboxElement::CHECKSTATE_MIXED)
*_retval |= STATE_MIXED;
}
}
return NS_OK;
}
/**
* XUL groupbox
*/
nsXULGroupboxAccessible::nsXULGroupboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsXULGroupboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_GROUPING;
return NS_OK;
}
NS_IMETHODIMP nsXULGroupboxAccessible::GetAccState(PRUint32 *_retval)
{
// Groupbox doesn't support any states!
*_retval = 0;
return NS_OK;
}
NS_IMETHODIMP nsXULGroupboxAccessible::GetAccName(nsAString& _retval)
{
_retval.Assign(NS_LITERAL_STRING("")); // Default name is blank
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
if (element) {
nsCOMPtr<nsIDOMNodeList> captions;
element->GetElementsByTagName(NS_LITERAL_STRING("caption"), getter_AddRefs(captions));
if (captions) {
nsCOMPtr<nsIDOMNode> captionNode;
captions->Item(0, getter_AddRefs(captionNode));
if (captionNode) {
element = do_QueryInterface(captionNode);
NS_ASSERTION(element, "No nsIDOMElement for caption node!");
element->GetAttribute(NS_LITERAL_STRING("label"), _retval) ;
}
}
}
return NS_OK;
}
/**
* progressmeter
*/
nsXULProgressMeterAccessible::nsXULProgressMeterAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsXULProgressMeterAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PROGRESSBAR;
return NS_OK;
}
/**
* No states supported for progressmeter
*/
NS_IMETHODIMP nsXULProgressMeterAccessible::GetAccState(PRUint32 *_retval)
{
*_retval =0;
return NS_OK;
}
NS_IMETHODIMP nsXULProgressMeterAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No element for DOM node!");
element->GetAttribute(NS_LITERAL_STRING("value"), _retval);
_retval.Append(NS_LITERAL_STRING("%"));
return NS_OK;
}
/**
* XUL Radio Button
*/
/** Constructor */
nsXULRadioButtonAccessible::nsXULRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsRadioButtonAccessible(aNode, aShell)
{
}
/** Our only action is to click */
NS_IMETHODIMP nsXULRadioButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == eAction_Click) {
nsCOMPtr<nsIDOMXULSelectControlItemElement> radioButton(do_QueryInterface(mDOMNode));
if (radioButton) {
radioButton->DoCommand();
return NS_OK;
}
}
return NS_ERROR_INVALID_ARG;
}
/** We are Focusable and can be Checked and focused */
NS_IMETHODIMP nsXULRadioButtonAccessible::GetAccState(PRUint32 *_retval)
{
nsFormControlAccessible::GetAccState(_retval);
PRBool selected = PR_FALSE; // Radio buttons can be selected
nsCOMPtr<nsIDOMXULSelectControlItemElement> radioButton(do_QueryInterface(mDOMNode));
if (radioButton)
radioButton->GetSelected(&selected);
if (selected)
*_retval |= STATE_CHECKED;
return NS_OK;
}
/**
* This gets the parent of the RadioGroup (our grandparent) and sets it
* as our parent, for future calls.
*/
NS_IMETHODIMP nsXULRadioButtonAccessible::GetAccParent(nsIAccessible ** aAccParent)
{
if (! mParent) {
nsCOMPtr<nsIAccessible> tempParent;
nsAccessible::GetAccParent(getter_AddRefs(tempParent));
if (tempParent)
tempParent->GetAccParent(getter_AddRefs(mParent));
}
NS_ASSERTION(mParent,"Whoa! This RadioButtonAcc doesn't have a parent! Better find out why.");
*aAccParent = mParent;
NS_ADDREF(*aAccParent);
return NS_OK;
}
/**
* XUL Radio Group
* The Radio Group proxies for the Radio Buttons themselves. The Group gets
* focus whereas the Buttons do not. So we only have an accessible object for
* this for the purpose of getting the proper RadioButton. Need this here to
* avoid circular reference problems when navigating the accessible tree and
* for getting to the radiobuttons.
*/
/** Constructor */
nsXULRadioGroupAccessible::nsXULRadioGroupAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/**
* XUL StatusBar: can contain arbitrary HTML content
*/
/**
* Default Constructor
*/
nsXULStatusBarAccessible::nsXULStatusBarAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/**
* We are a statusbar
*/
NS_IMETHODIMP nsXULStatusBarAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_STATUSBAR;
return NS_OK;
}
NS_IMETHODIMP nsXULStatusBarAccessible::GetAccState(PRUint32 *_retval)
{
*_retval = 0; // no special state flags for status bar
return NS_OK;
}

View File

@@ -0,0 +1,136 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsXULFormControlAccessible_H_
#define _nsXULFormControlAccessible_H_
// NOTE: alphabetically ordered
#include "nsBaseWidgetAccessible.h"
#include "nsFormControlAccessible.h"
#include "nsHTMLFormControlAccessible.h"
class nsXULButtonAccessible : public nsAccessible
// Don't inherit from nsFormControlAccessible - it doesn't allow children and a button can have a dropmarker child
{
public:
nsXULButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& aResult);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
private:
nsCOMPtr<nsIAccessibilityService> mAccService;
};
class nsXULCheckboxAccessible : public nsFormControlAccessible
{
public:
nsXULCheckboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
class nsXULDropmarkerAccessible : public nsFormControlAccessible
{
public:
nsXULDropmarkerAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
private:
PRBool DropmarkerOpen(PRBool aToggleOpen);
};
class nsXULGroupboxAccessible : public nsAccessible
{
public:
nsXULGroupboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
};
class nsXULProgressMeterAccessible : public nsAccessible
{
public:
nsXULProgressMeterAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString &_retval);
};
class nsXULRadioButtonAccessible : public nsRadioButtonAccessible
{
public:
nsXULRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
class nsXULRadioGroupAccessible : public nsAccessible
{
public:
nsXULRadioGroupAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
};
class nsXULStatusBarAccessible : public nsAccessible
{
public:
nsXULStatusBarAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
#endif

View File

@@ -0,0 +1,264 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsXULMenuAccessible.h"
#include "nsAccessible.h"
#include "nsIAccessible.h"
#include "nsIDOMElement.h"
#include "nsIDOMXULPopupElement.h"
// ------------------------ Menu Item -----------------------------
nsXULMenuitemAccessible::nsXULMenuitemAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsAccessible(aDOMNode, aShell)
{
}
NS_IMETHODIMP nsXULMenuitemAccessible::GetAccState(PRUint32 *_retval)
{
nsAccessible::GetAccState(_retval);
// Focused?
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No DOM element for menu node!");
PRBool isFocused = PR_FALSE;
element->HasAttribute(NS_LITERAL_STRING("_moz-menuactive"), &isFocused);
if (isFocused)
*_retval |= STATE_FOCUSED;
// Has Popup?
nsAutoString tagName;
element->GetLocalName(tagName);
if (tagName.Equals(NS_LITERAL_STRING("menu")))
*_retval |= STATE_HASPOPUP;
nsAutoString menuItemType;
element->GetAttribute(NS_LITERAL_STRING("type"), menuItemType);
if (!menuItemType.IsEmpty()) {
// Selectable?
if (menuItemType.Equals(NS_LITERAL_STRING("radio")))
*_retval |= STATE_SELECTABLE;
// Checked?
PRBool isChecked = PR_FALSE;
element->HasAttribute(NS_LITERAL_STRING("checked"), &isChecked);
if (isChecked) {
if (*_retval & STATE_SELECTABLE)
*_retval |= STATE_SELECTED; // Use STATE_SELECTED for radio buttons
else *_retval |= STATE_CHECKED;
}
}
// Offscreen?
// If parent or grandparent menuitem is offscreen, then we're offscreen too
// We get it by replacing the current offscreen bit with the parent's
PRUint32 parentState = 0;
nsCOMPtr<nsIAccessible> parentAccessible;
GetAccParent(getter_AddRefs(parentAccessible));
parentAccessible->GetAccState(&parentState);
*_retval &= ~STATE_OFFSCREEN; // clear the old OFFSCREEN bit
*_retval |= (parentState & STATE_OFFSCREEN); // or it with the parent's offscreen bit
return NS_OK;
}
NS_IMETHODIMP nsXULMenuitemAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No DOM element for menu node!");
element->GetAttribute(NS_LITERAL_STRING("label"), _retval);
return NS_OK;
}
NS_IMETHODIMP nsXULMenuitemAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_MENUITEM;
return NS_OK;
}
NS_IMETHODIMP nsXULMenuitemAccessible::GetAccFirstChild(nsIAccessible **aAccFirstChild)
{
*aAccFirstChild = nsnull;
// Last argument of PR_FALSE indicates we don't walk anonymous children for menuitems
nsAccessibleTreeWalker walker(mPresShell, mDOMNode, mSiblingIndex, mSiblingList, PR_FALSE);
if (NS_SUCCEEDED(walker.GetFirstChild())) {
*aAccFirstChild = walker.mState.accessible;
NS_ADDREF(*aAccFirstChild);
}
return NS_OK;
}
NS_IMETHODIMP nsXULMenuitemAccessible::GetAccLastChild(nsIAccessible **aAccLastChild)
{
*aAccLastChild = nsnull;
// Last argument of PR_FALSE indicates we don't walk anonymous children for menuitems
nsAccessibleTreeWalker walker(mPresShell, mDOMNode, mSiblingIndex, mSiblingList, PR_FALSE);
if (NS_SUCCEEDED(walker.GetLastChild())) {
*aAccLastChild = walker.mState.accessible;
NS_ADDREF(*aAccLastChild);
}
return NS_OK;
}
NS_IMETHODIMP nsXULMenuitemAccessible::GetAccChildCount(PRInt32 *aAccChildCount)
{
// Last argument of PR_FALSE indicates we don't walk anonymous children for menuitems
nsAccessibleTreeWalker walker(mPresShell, mDOMNode, mSiblingIndex, mSiblingList, PR_FALSE);
*aAccChildCount = walker.GetChildCount();
return NS_OK;
}
// ------------------------ Menu Separator ----------------------------
nsXULMenuSeparatorAccessible::nsXULMenuSeparatorAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsXULMenuitemAccessible(aDOMNode, aShell)
{
}
NS_IMETHODIMP nsXULMenuSeparatorAccessible::GetAccState(PRUint32 *_retval)
{
// Isn't focusable, but can be offscreen
nsXULMenuitemAccessible::GetAccState(_retval);
*_retval &= STATE_OFFSCREEN;
return NS_OK;
}
NS_IMETHODIMP nsXULMenuSeparatorAccessible::GetAccName(nsAString& _retval)
{
_retval.Assign(NS_LITERAL_STRING(""));
return NS_OK;
}
NS_IMETHODIMP nsXULMenuSeparatorAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_SEPARATOR;
return NS_OK;
}
// ------------------------ Menu Popup -----------------------------
nsXULMenupopupAccessible::nsXULMenupopupAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell): nsAccessible(aDOMNode, aShell)
{
}
NS_IMETHODIMP nsXULMenupopupAccessible::GetAccState(PRUint32 *_retval)
{
// We are onscreen if our parent is active
*_retval = 0;
PRBool isActive = PR_FALSE;
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
element->HasAttribute(NS_LITERAL_STRING("menuactive"), &isActive);
if (!isActive) {
nsCOMPtr<nsIAccessible> parentAccessible;
nsCOMPtr<nsIDOMNode> parentNode;
GetAccParent(getter_AddRefs(parentAccessible));
if (parentAccessible)
parentAccessible->AccGetDOMNode(getter_AddRefs(parentNode));
element = do_QueryInterface(parentNode);
if (element)
element->HasAttribute(NS_LITERAL_STRING("open"), &isActive);
}
if (!isActive)
*_retval |= STATE_OFFSCREEN;
return NS_OK;
}
NS_IMETHODIMP nsXULMenupopupAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No element for popup node!");
while (element) {
element->GetAttribute(NS_LITERAL_STRING("label"), _retval);
if (!_retval.IsEmpty())
return NS_OK;
nsCOMPtr<nsIDOMNode> parentNode, node(do_QueryInterface(element));
if (!node)
return NS_ERROR_FAILURE;
node->GetParentNode(getter_AddRefs(parentNode));
element = do_QueryInterface(parentNode);
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsXULMenupopupAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_MENUPOPUP;
return NS_OK;
}
// ------------------------ Menu Bar -----------------------------
nsXULMenubarAccessible::nsXULMenubarAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell): nsAccessible(aDOMNode, aShell)
{
}
NS_IMETHODIMP nsXULMenubarAccessible::GetAccState(PRUint32 *_retval)
{
return nsAccessible::GetAccState(_retval);
}
NS_IMETHODIMP nsXULMenubarAccessible::GetAccName(nsAString& _retval)
{
_retval = NS_LITERAL_STRING("menubar");
return NS_OK;
}
NS_IMETHODIMP nsXULMenubarAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_MENUBAR;
return NS_OK;
}

View File

@@ -0,0 +1,87 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsXULMenuAccessible_H_
#define _nsXULMenuAccessible_H_
#include "nsAccessible.h"
/* Accessible for supporting XUL menus
*/
class nsXULMenuitemAccessible : public nsAccessible
{
public:
nsXULMenuitemAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **aAccFirstChild);
NS_IMETHOD GetAccLastChild(nsIAccessible **aAccLastChild);
NS_IMETHOD GetAccChildCount(PRInt32 *aAccChildCount);
};
class nsXULMenuSeparatorAccessible : public nsXULMenuitemAccessible
{
public:
nsXULMenuSeparatorAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
class nsXULMenupopupAccessible : public nsAccessible
{
public:
nsXULMenupopupAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
class nsXULMenubarAccessible : public nsAccessible
{
public:
nsXULMenubarAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
#endif

View File

@@ -0,0 +1,360 @@
/* -*- 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):
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsCOMPtr.h"
#include "nsXULSelectAccessible.h"
#include "nsIAccessibilityService.h"
#include "nsIDOMEventReceiver.h"
#include "nsIDOMNodeList.h"
#include "nsIDOMXULMultSelectCntrlEl.h"
#include "nsIDOMXULSelectCntrlItemEl.h"
#include "nsIDOMXULSelectCntrlEl.h"
#include "nsIServiceManager.h"
#include "nsLayoutAtoms.h"
/**
* Selects, Listboxes and Comboboxes, are made up of a number of different
* widgets, some of which are shared between the two. This file contains
* all of the widgets for both of the Selects, for XUL only. Some of them
* extend classes from nsSelectAccessible.cpp, which contains base classes
* that are also extended by the XUL Select Accessibility support.
*
* Listbox:
* - nsXULListboxAccessible
* - nsXULSelectListAccessible
* - nsXULSelectOptionAccessible
*
* Comboboxes:
* - nsXULComboboxAccessible
* - nsHTMLTextFieldAccessible (editable) or nsTextAccessible (readonly)
* - nsXULComboboxButtonAccessible
* - nsXULSelectListAccessible
* - nsXULSelectOptionAccessible
*/
/** ------------------------------------------------------ */
/** First, the common widgets */
/** ------------------------------------------------------ */
/** ----- nsXULSelectListAccessible ----- */
/** Default Constructor */
nsXULSelectListAccessible::nsXULSelectListAccessible(nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
}
NS_IMETHODIMP nsXULSelectListAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LIST;
return NS_OK;
}
/**
* As a nsXULSelectListAccessible we can have the following states:
* STATE_MULTISELECTABLE
* STATE_EXTSELECTABLE
*/
NS_IMETHODIMP nsXULSelectListAccessible::GetAccState(PRUint32 *_retval)
{
*_retval = 0;
nsAutoString selectionTypeString;
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No nsIDOMElement for caption node!");
element->GetAttribute(NS_LITERAL_STRING("seltype"), selectionTypeString) ;
if (selectionTypeString.EqualsIgnoreCase("multiple"))
*_retval |= STATE_MULTISELECTABLE | STATE_EXTSELECTABLE;
return NS_OK;
}
/** ----- nsXULSelectOptionAccessible ----- */
/** Default Constructor */
nsXULSelectOptionAccessible::nsXULSelectOptionAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsXULMenuitemAccessible(aDOMNode, aShell)
{
}
NS_IMETHODIMP nsXULSelectOptionAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LISTITEM;
return NS_OK;
}
/**
* As a nsXULSelectOptionAccessible we can have the following states:
* STATE_SELECTABLE
* STATE_SELECTED
* STATE_FOCUSED
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsXULSelectOptionAccessible::GetAccState(PRUint32 *_retval)
{
nsXULMenuitemAccessible::GetAccState(_retval);
nsCOMPtr<nsIDOMXULSelectControlItemElement> item(do_QueryInterface(mDOMNode));
PRBool isSelected = PR_FALSE;
item->GetSelected(&isSelected);
if (isSelected)
*_retval |= STATE_SELECTED;
return NS_OK;
}
/** ------------------------------------------------------ */
/** Secondly, the Listbox widget */
/** ------------------------------------------------------ */
/** ----- nsXULListboxAccessible ----- */
/** Constructor */
nsXULListboxAccessible::nsXULListboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsListboxAccessible(aDOMNode, aShell)
{
}
/** Inherit the ISupports impl from nsAccessible, we handle nsIAccessibleSelectable */
NS_IMPL_ISUPPORTS_INHERITED1(nsXULListboxAccessible, nsListboxAccessible, nsIAccessibleSelectable)
/**
* Let Accessible count them up
*/
NS_IMETHODIMP nsXULListboxAccessible::GetAccChildCount(PRInt32 *_retval)
{
return nsAccessible::GetAccChildCount(_retval);
}
/**
* As a nsXULListboxAccessible we can have the following states:
* STATE_FOCUSED
* STATE_READONLY
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsXULListboxAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus status from base class
nsListboxAccessible::GetAccState(_retval);
// see if we are multiple select if so set ourselves as such
nsCOMPtr<nsIDOMElement> element (do_QueryInterface(mDOMNode));
if (element) {
nsAutoString selType;
element->GetAttribute(NS_LITERAL_STRING("seltype"), selType);
if (!selType.IsEmpty() && selType.Equals(NS_LITERAL_STRING("multiple")))
*_retval |= STATE_MULTISELECTABLE;
}
*_retval |= STATE_FOCUSABLE ;
return NS_OK;
}
/**
* Our value is the value of our ( first ) selected child. nsIDOMXULSelectElement
* returns this by default with GetValue().
*/
NS_IMETHODIMP nsXULListboxAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMXULSelectControlElement> select(do_QueryInterface(mDOMNode));
if (select) {
nsCOMPtr<nsIDOMXULSelectControlItemElement> selectedItem;
select->GetSelectedItem(getter_AddRefs(selectedItem));
return selectedItem->GetValue(_retval);
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsXULListboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LIST;
return NS_OK;
}
/**
* nsIAccessibleSelectable method.
* - gets from the Select DOMNode the list of all Select Options
* - iterates through all of the options looking for selected Options
* - creates IAccessible objects for selected Options
* - Returns the IAccessibles for selected Options in the nsISupportsArray
*
* retval will be nsnull if:
* - there are no Options in the Select Element
* - there are Options but none are selected
* - the DOMNode is not a nsIDOMXULSelectControlElement ( shouldn't happen )
*/
NS_IMETHODIMP nsXULListboxAccessible::GetSelectedChildren(nsISupportsArray **_retval)
{
*_retval = nsnull;
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
nsCOMPtr<nsISupportsArray> selectedAccessibles;
NS_NewISupportsArray(getter_AddRefs(selectedAccessibles));
if (!selectedAccessibles || !accService)
return NS_ERROR_FAILURE;
nsCOMPtr<nsIDOMNodeList> selectedItems;
nsCOMPtr<nsIDOMXULMultiSelectControlElement> listbox (do_QueryInterface(mDOMNode));
PRInt32 length = 0;
if (listbox) {
listbox->GetSelectedCount(&length);
for ( PRInt32 i = 0 ; i < length ; i++ ) {
nsCOMPtr<nsIAccessible> tempAccessible;
nsCOMPtr<nsIDOMXULSelectControlItemElement> tempNode;
listbox->GetSelectedItem(i, getter_AddRefs(tempNode));
nsCOMPtr<nsIDOMNode> tempDOMNode (do_QueryInterface(tempNode));
accService->CreateXULListitemAccessible(tempDOMNode, getter_AddRefs(tempAccessible));
if (tempAccessible)
selectedAccessibles->AppendElement(tempAccessible);
}
}
PRUint32 uLength = 0;
selectedAccessibles->Count(&uLength);
if ( uLength != 0 ) { // length of nsISupportsArray containing selected options
*_retval = selectedAccessibles;
NS_ADDREF(*_retval);
}
// no options, not a select or none of the options are selected
return NS_OK;
}
/** ----- nsXULListitemAccessible ----- */
/** Constructor */
nsXULListitemAccessible::nsXULListitemAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsXULMenuitemAccessible(aDOMNode, aShell)
{
}
/** Inherit the ISupports impl from nsAccessible, we handle nsIAccessibleSelectable */
NS_IMPL_ISUPPORTS_INHERITED0(nsXULListitemAccessible, nsXULMenuitemAccessible)
/**
* If there is a Listcell as a child ( not anonymous ) use it, otherwise
* default to getting the name from GetXULAccName
*/
NS_IMETHODIMP nsXULListitemAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMNode> child;
if (NS_SUCCEEDED(mDOMNode->GetFirstChild(getter_AddRefs(child)))) {
nsCOMPtr<nsIDOMElement> childElement (do_QueryInterface(child));
if (childElement) {
nsAutoString tagName;
childElement->GetLocalName(tagName);
if (tagName.Equals(NS_LITERAL_STRING("listcell"))) {
childElement->GetAttribute(NS_LITERAL_STRING("label"), _retval);
return NS_OK;
}
}
}
return GetXULAccName(_retval);
}
/**
*
*/
NS_IMETHODIMP nsXULListitemAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LISTITEM;
return NS_OK;
}
/**
*
*/
NS_IMETHODIMP nsXULListitemAccessible::GetAccState(PRUint32 *_retval)
{
// nsAccessible::GetAccState(_retval); // get focused state
nsCOMPtr<nsIDOMXULSelectControlItemElement> listItem (do_QueryInterface(mDOMNode));
if (listItem) {
PRBool isSelected;
listItem->GetSelected(&isSelected);
if (isSelected)
*_retval |= STATE_SELECTED;
nsCOMPtr<nsIDOMNode> domParent;
mDOMNode->GetParentNode(getter_AddRefs(domParent));
nsCOMPtr<nsIDOMXULMultiSelectControlElement> parent(do_QueryInterface(domParent));
if (parent) {
nsCOMPtr<nsIDOMXULSelectControlItemElement> current;
parent->GetCurrentItem(getter_AddRefs(current));
if (listItem == current)
*_retval |= STATE_FOCUSED;
}
*_retval |= STATE_FOCUSABLE | STATE_SELECTABLE;
}
return NS_OK;
}
/** ------------------------------------------------------ */
/** Finally, the Combobox widgets */
/** ------------------------------------------------------ */
/** ----- nsXULComboboxAccessible ----- */
/** Constructor */
nsXULComboboxAccessible::nsXULComboboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsComboboxAccessible(aDOMNode, aShell)
{
}
/**
* Our value is the value of our ( first ) selected child. nsIDOMXULSelectElement
* returns this by default with GetValue().
*/
NS_IMETHODIMP nsXULComboboxAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMXULSelectControlElement> select(do_QueryInterface(mDOMNode));
if (select) {
nsCOMPtr<nsIDOMXULSelectControlItemElement> selectedItem;
select->GetSelectedItem(getter_AddRefs(selectedItem));
return selectedItem->GetValue(_retval);
}
return NS_ERROR_FAILURE;
}

View File

@@ -0,0 +1,167 @@
/* -*- 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):
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __nsXULSelectAccessible_h__
#define __nsXULSelectAccessible_h__
#include "nsCOMPtr.h"
#include "nsIAccessibleSelectable.h"
#include "nsIDOMNode.h"
#include "nsIWeakReference.h"
#include "nsSelectAccessible.h"
#include "nsXULMenuAccessible.h"
/**
* Selects, Listboxes and Comboboxes, are made up of a number of different
* widgets, some of which are shared between the two. This file contains
* all of the widgets for both of the Selects, for XUL only. Some of them
* extend classes from nsSelectAccessible.cpp, which contains base classes
* that are also extended by the XUL Select Accessibility support.
*
* Listbox:
* - nsXULListboxAccessible
* - nsXULSelectListAccessible
* - nsXULSelectOptionAccessible
*
* Comboboxes:
* - nsXULComboboxAccessible <menulist />
* - nsHTMLTextFieldAccessible
* - nsXULComboboxButtonAccessible
* - nsXULSelectListAccessible <menupopup />
* - nsXULSelectOptionAccessible(s) <menuitem />
*/
/** ------------------------------------------------------ */
/** First, the common widgets */
/** ------------------------------------------------------ */
/*
* The list that contains all the options in the select.
*/
class nsXULSelectListAccessible : public nsAccessible
{
public:
nsXULSelectListAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsXULSelectListAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
/*
* Options inside the select, contained within the list
*/
class nsXULSelectOptionAccessible : public nsXULMenuitemAccessible
{
public:
nsXULSelectOptionAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsXULSelectOptionAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
static nsresult GetFocusedOptionNode(nsIWeakReference *aPresShell, nsIDOMNode *aListNode, nsCOMPtr<nsIDOMNode>& aFocusedOptionNode);
};
/** ------------------------------------------------------ */
/** Secondly, the Listbox widget */
/** ------------------------------------------------------ */
/*
* A class the represents the XUL Listbox widget.
*/
class nsXULListboxAccessible : public nsListboxAccessible,
public nsIAccessibleSelectable
{
public:
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIACCESSIBLESELECTABLE
nsXULListboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsXULListboxAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
};
/**
* Listitems -- used in listboxes
*/
class nsXULListitemAccessible : public nsXULMenuitemAccessible
{
public:
NS_DECL_ISUPPORTS_INHERITED
nsXULListitemAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsXULListitemAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
/** ------------------------------------------------------ */
/** Finally, the Combobox widgets */
/** ------------------------------------------------------ */
/*
* A class the represents the XUL Combobox widget.
*/
class nsXULComboboxAccessible : public nsComboboxAccessible
{
public:
nsXULComboboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsXULComboboxAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccValue(nsAString& _retval);
};
#endif

View File

@@ -0,0 +1,211 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* 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 ***** */
// NOTE: alphabetically ordered
#include "nsXULTabAccessible.h"
#include "nsIDOMXULSelectCntrlEl.h"
#include "nsIDOMXULSelectCntrlItemEl.h"
/**
* XUL Tab
*/
/** Constructor */
nsXULTabAccessible::nsXULTabAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsLeafAccessible(aNode, aShell)
{
}
/**
* Might need to use the GetXULAccName method from nsFormControlAcc.cpp
*/
NS_IMETHODIMP nsXULTabAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMXULSelectControlItemElement> tab(do_QueryInterface(mDOMNode));
if (tab)
return GetXULAccName(_retval);
return NS_ERROR_FAILURE;
}
/** Only one action available */
NS_IMETHODIMP nsXULTabAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
/** Return the name of our only action */
NS_IMETHODIMP nsXULTabAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("switch"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/** Tell the tab to do it's action */
NS_IMETHODIMP nsXULTabAccessible::AccDoAction(PRUint8 index)
{
if (index == eAction_Switch) {
nsCOMPtr<nsIDOMXULSelectControlItemElement> tab(do_QueryInterface(mDOMNode));
if ( tab )
{
tab->DoCommand();
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_INVALID_ARG;
}
/** We are a tab */
NS_IMETHODIMP nsXULTabAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PAGETAB;
return NS_OK;
}
/**
* Possible states: focused, focusable, unavailable(disabled), offscreen
*/
NS_IMETHODIMP nsXULTabAccessible::GetAccState(PRUint32 *_retval)
{
// get focus and disable status from base class
nsLeafAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
return NS_OK;
}
/**
* XUL TabBox
* to facilitate naming of the tabPanels object we will give this the name
* of the selected tab in the tabs object.
*/
/** Constructor */
nsXULTabBoxAccessible::nsXULTabBoxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/** We are a window*/
NS_IMETHODIMP nsXULTabBoxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_WINDOW;
return NS_OK;
}
/** Possible states: normal */
NS_IMETHODIMP nsXULTabBoxAccessible::GetAccState(PRUint32 *_retval)
{
*_retval = 0;
return NS_OK;
}
/** 2 children, tabs, tabpanels */
NS_IMETHODIMP nsXULTabBoxAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 2;
return NS_OK;
}
/**
* XUL TabPanels
* XXX jgaunt -- this has to report the info for the selected child, reachable through
* the DOMNode. The TabPanels object has as its children the different
* vbox/hbox/whatevers that provide what you look at when you click on
* a tab.
* Here is how this will work: when asked about an object the tabPanels object will find
* out the selected child and create the tabPanel object using the child. That should wrap
* any XUL/HTML content in the child, since it is a simple nsAccessible basically.
* or maybe we just do that on creation. Not use the DOMnode we are given, but cache the selected
* DOMnode and then run from there.
*/
/** Constructor */
nsXULTabPanelsAccessible::nsXULTabPanelsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/** We are a Property Page */
NS_IMETHODIMP nsXULTabPanelsAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PROPERTYPAGE;
return NS_OK;
}
/**
* Possible values: focused, focusable, unavailable
*/
NS_IMETHODIMP nsXULTabPanelsAccessible::GetAccState(PRUint32 *_retval)
{
// get focus and disable status from base class -- skip container because we have state
nsAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
return NS_OK;
}
/**
* The name for the panel is the name from the tab associated with
* the panel. XXX not sure if the "panels" object should have the
* same name.
*/
NS_IMETHODIMP nsXULTabPanelsAccessible::GetAccName(nsAString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/**
* XUL Tabs - the s really stands for strip. this is a collection of tab objects
*/
/** Constructor */
nsXULTabsAccessible::nsXULTabsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsContainerAccessible(aNode, aShell)
{
}
/** We are a Page Tab List */
NS_IMETHODIMP nsXULTabsAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PAGETABLIST;
return NS_OK;
}

View File

@@ -0,0 +1,99 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsXULTabAccessible_H_
#define _nsXULTabAccessible_H_
// NOTE: alphabetically ordered
#include "nsBaseWidgetAccessible.h"
#include "nsFormControlAccessible.h"
#include "nsHTMLFormControlAccessible.h"
/** An individual tab */
class nsXULTabAccessible : public nsLeafAccessible
{
public:
nsXULTabAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
};
/**
* Contains a tabs object and a tabPanels object. A complete
* entity with relationships between tabs and content to
* be displayed in the tabpanels object
*/
class nsXULTabBoxAccessible : public nsAccessible
{
public:
nsXULTabBoxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
};
/**
* Represents the content area associated with the tabs object (when
* used together)
*/
class nsXULTabPanelsAccessible : public nsAccessible
{
public:
nsXULTabPanelsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
protected:
nsCOMPtr<nsIDOMNode> mGParentDOMNode;
nsCOMPtr<nsIDOMNode> mParentDOMNode;
};
/** merely a container of tab obejcts */
class nsXULTabsAccessible : public nsContainerAccessible
{
public:
nsXULTabsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
#endif

View File

@@ -0,0 +1,62 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* 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 ***** */
// NOTE: alphabetically ordered
#include "nsIDOMXULDescriptionElement.h"
#include "nsWeakReference.h"
#include "nsXULTextAccessible.h"
/**
* For XUL descriptions and labels
*/
nsXULTextAccessible::nsXULTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsTextAccessible(aDomNode, aShell)
{
}
/* wstring getAccName (); */
NS_IMETHODIMP nsXULTextAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMXULDescriptionElement> descriptionElement(do_QueryInterface(mDOMNode));
if (descriptionElement) {
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
return AppendFlatStringFromSubtree(content, &_retval);
}
return NS_ERROR_FAILURE;
}

View File

@@ -0,0 +1,55 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsXULTextAccessible_H_
#define _nsXULTextAccessible_H_
#include "nsFormControlAccessible.h"
class nsIWeakReference;
class nsXULTextAccessible : public nsTextAccessible
{
public:
nsXULTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
};
#endif

16
mozilla/aclocal.m4 vendored Normal file
View File

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

1245
mozilla/allmakefiles.sh Executable file

File diff suppressed because it is too large Load Diff

39
mozilla/build/Makefile.in Normal file
View File

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

View File

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

View File

@@ -0,0 +1,140 @@
dnl The contents of this file are subject to the Netscape Public
dnl License Version 1.1 (the "License"); you may not use this file
dnl except in compliance with the License. You may obtain a copy of
dnl the License at http://www.mozilla.org/NPL/
dnl
dnl Software distributed under the License is distributed on an "AS
dnl IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
dnl implied. See the License for the specific language governing
dnl rights and limitations under the License.
dnl
dnl The Original Code is mozilla.org code.
dnl
dnl The Initial Developer of the Original Code is Netscape
dnl Communications Corporation. Portions created by Netscape are
dnl Copyright (C) 1999 Netscape Communications Corporation. All
dnl Rights Reserved.
dnl
dnl Contributor(s):
dnl
dnl altoptions.m4 - An alternative way of specifying command-line options.
dnl These macros are needed to support a menu-based configurator.
dnl This file also includes the macro, AM_READ_MYCONFIG, for reading
dnl the 'myconfig.m4' file.
dnl Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
dnl MOZ_ARG_ENABLE_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE]])
dnl MOZ_ARG_DISABLE_BOOL( NAME, HELP, IF-NO [, IF-YES [, ELSE]])
dnl MOZ_ARG_ENABLE_STRING( NAME, HELP, IF-SET [, ELSE])
dnl MOZ_ARG_ENABLE_BOOL_OR_STRING( NAME, HELP, IF-YES, IF-NO, IF-SET[, ELSE]]])
dnl MOZ_ARG_WITH_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE])
dnl MOZ_ARG_WITHOUT_BOOL( NAME, HELP, IF-NO [, IF-YES [, ELSE])
dnl MOZ_ARG_WITH_STRING( NAME, HELP, IF-SET [, ELSE])
dnl MOZ_ARG_HEADER(Comment)
dnl MOZ_CHECK_PTHREADS( NAME, IF-YES [, ELSE ])
dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
dnl MOZ_TWO_STRING_TEST(NAME, VAL, STR1, IF-STR1, STR2, IF-STR2 [, ELSE])
AC_DEFUN(MOZ_TWO_STRING_TEST,
[if test "[$2]" = "[$3]"; then
ifelse([$4], , :, [$4])
elif test "[$2]" = "[$5]"; then
ifelse([$6], , :, [$6])
else
ifelse([$7], ,
[AC_MSG_ERROR([Option, [$1], does not take an argument ([$2]).])],
[$7])
fi])
dnl MOZ_ARG_ENABLE_BOOL(NAME, HELP, IF-YES [, IF-NO [, ELSE]])
AC_DEFUN(MOZ_ARG_ENABLE_BOOL,
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], [$enableval], yes, [$3], no, [$4])],
[$5])])
dnl MOZ_ARG_DISABLE_BOOL(NAME, HELP, IF-NO [, IF-YES [, ELSE]])
AC_DEFUN(MOZ_ARG_DISABLE_BOOL,
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], [$enableval], no, [$3], yes, [$4])],
[$5])])
dnl MOZ_ARG_ENABLE_STRING(NAME, HELP, IF-SET [, ELSE])
AC_DEFUN(MOZ_ARG_ENABLE_STRING,
[AC_ARG_ENABLE([$1], [$2], [$3], [$4])])
dnl MOZ_ARG_ENABLE_BOOL_OR_STRING(NAME, HELP, IF-YES, IF-NO, IF-SET[, ELSE]]])
AC_DEFUN(MOZ_ARG_ENABLE_BOOL_OR_STRING,
[ifelse([$5], ,
[errprint([Option, $1, needs an "IF-SET" argument.
])
m4exit(1)],
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], [$enableval], yes, [$3], no, [$4], [$5])],
[$6])])])
dnl MOZ_ARG_WITH_BOOL(NAME, HELP, IF-YES [, IF-NO [, ELSE])
AC_DEFUN(MOZ_ARG_WITH_BOOL,
[AC_ARG_WITH([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], [$withval], yes, [$3], no, [$4])],
[$5])])
dnl MOZ_ARG_WITHOUT_BOOL(NAME, HELP, IF-NO [, IF-YES [, ELSE])
AC_DEFUN(MOZ_ARG_WITHOUT_BOOL,
[AC_ARG_WITH([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], [$withval], no, [$3], yes, [$4])],
[$5])])
dnl MOZ_ARG_WITH_STRING(NAME, HELP, IF-SET [, ELSE])
AC_DEFUN(MOZ_ARG_WITH_STRING,
[AC_ARG_WITH([$1], [$2], [$3], [$4])])
dnl MOZ_ARG_HEADER(Comment)
dnl This is used by webconfig to group options
define(MOZ_ARG_HEADER, [# $1])
dnl
dnl Apparently, some systems cannot properly check for the pthread
dnl library unless <pthread.h> is included so we need to test
dnl using it
dnl
dnl MOZ_CHECK_PTHREADS(lib, success, failure)
AC_DEFUN(MOZ_CHECK_PTHREADS,
[
AC_MSG_CHECKING([for pthread_create in -l$1])
echo "
#include <pthread.h>
void *foo(void *v) { int a = 1; }
int main() {
pthread_t t;
if (!pthread_create(&t, 0, &foo, 0)) {
pthread_join(t, 0);
}
exit(0);
}" > dummy.c ;
echo "${CC-cc} -o dummy${ac_exeext} dummy.c $CFLAGS $CPPFLAGS -l[$1] $LDFLAGS $LIBS" 1>&5;
${CC-cc} -o dummy${ac_exeext} dummy.c $CFLAGS $CPPFLAGS -l[$1] $LDFLAGS $LIBS 2>&5;
_res=$? ;
rm -f dummy.c dummy${ac_exeext} ;
if test "$_res" = "0"; then
AC_MSG_RESULT([yes])
[$2]
else
AC_MSG_RESULT([no])
[$3]
fi
])
dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
AC_DEFUN(MOZ_READ_MOZCONFIG,
[AC_REQUIRE([AC_INIT_BINSH])dnl
# Read in '.mozconfig' script to set the initial options.
# See the mozconfig2configure script for more details.
_AUTOCONF_TOOLS_DIR=`dirname [$]0`/[$1]/build/autoconf
. $_AUTOCONF_TOOLS_DIR/mozconfig2configure])
dnl This gets inserted at the top of the configure script
MOZ_READ_MOZCONFIG(MOZ_TOPSRCDIR)

View File

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

1341
mozilla/build/autoconf/config.guess vendored Executable file

File diff suppressed because it is too large Load Diff

1463
mozilla/build/autoconf/config.sub vendored Executable file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,137 @@
# Configure paths for FreeType2
# Marcelo Magallon 2001-10-26, based on gtk.m4 by Owen Taylor
dnl AM_CHECK_FT2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for FreeType2, and define FT2_CFLAGS and FT2_LIBS
dnl
AC_DEFUN(AC_CHECK_FT2,
[dnl
dnl Get the cflags and libraries from the freetype-config script
dnl
AC_ARG_WITH(freetype-prefix,
[ --with-ft-prefix=PFX Prefix where FreeType is installed (optional)],
ft_config_prefix="$withval", ft_config_prefix="")
AC_ARG_WITH(freetype-exec-prefix,
[ --with-ft-exec-prefix=PFX
Exec prefix where FreeType is installed (optional)],
ft_config_exec_prefix="$withval", ft_config_exec_prefix="")
AC_ARG_ENABLE(freetypetest,
[ --disable-freetypetest
Do not try to compile and run a test FreeType program],
[], enable_fttest=yes)
if test x$ft_config_exec_prefix != x ; then
ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
if test x${FT2_CONFIG+set} != xset ; then
FT2_CONFIG=$ft_config_exec_prefix/bin/freetype-config
fi
fi
if test x$ft_config_prefix != x ; then
ft_config_args="$ft_config_args --prefix=$ft_config_prefix"
if test x${FT2_CONFIG+set} != xset ; then
FT2_CONFIG=$ft_config_prefix/bin/freetype-config
fi
fi
AC_PATH_PROG(FT2_CONFIG, freetype-config, no)
min_ft_version=ifelse([$1], ,6.1.0,$1)
AC_MSG_CHECKING(for FreeType - version >= $min_ft_version)
no_ft=""
if test "$FT2_CONFIG" = "no" ; then
no_ft=yes
else
FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
ft_config_micro_version=`$FT2_CONFIG $ft_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
ft_min_major_version=`echo $min_ft_version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
ft_min_minor_version=`echo $min_ft_version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
ft_min_micro_version=`echo $min_ft_version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_fttest" = "xyes" ; then
ft_config_is_lt=no
if test $ft_config_major_version -lt $ft_min_major_version ; then
ft_config_is_lt=yes
else
if test $ft_config_major_version -eq $ft_min_major_version ; then
if test $ft_config_minor_version -lt $ft_min_minor_version ; then
ft_config_is_lt=yes
else
if test $ft_config_minor_version -eq $ft_min_minor_version ; then
if test $ft_config_micro_version -lt $ft_min_micro_version ; then
ft_config_is_lt=yes
fi
fi
fi
fi
fi
if test "x$ft_config_is_lt" = "xyes" ; then
ifelse([$3], , :, [$3])
AC_MSG_RESULT(no)
else
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $FT2_CFLAGS"
LIBS="$FT2_LIBS $LIBS"
dnl
dnl Sanity checks for the results of freetype-config to some extent
dnl
AC_TRY_RUN([
#include <ft2build.h>
#include FT_FREETYPE_H
#include <stdio.h>
#include <stdlib.h>
int
main()
{
FT_Library library;
FT_Error error;
error = FT_Init_FreeType(&library);
if (error)
return 1;
else
{
FT_Done_FreeType(library);
return 0;
}
}
],, no_ft=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi # test $ft_config_version -lt $ft_min_version
fi # test "x$enable_fttest" = "xyes"
fi # test "$FT2_CONFIG" = "no"
if test "x$ft_config_is_lt" != "xyes" ; then
if test "x$no_ft" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$FT2_CONFIG" = "no" ; then
echo "*** The freetype-config script installed by FreeType 2 could not be found."
echo "*** If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the FT2_CONFIG environment variable to the"
echo "*** full path to freetype-config."
else
echo "*** The FreeType test program failed to run. If your system uses"
echo "*** shared libraries and they are installed outside the normal"
echo "*** system library path, make sure the variable LD_LIBRARY_PATH"
echo "*** (or whatever is appropiate for your system) is correctly set."
fi
FT2_CFLAGS=""
FT2_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(FT2_CFLAGS)
AC_SUBST(FT2_LIBS)
fi
])

View File

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

View File

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

119
mozilla/build/autoconf/install-sh Executable file
View File

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

View File

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

View File

@@ -0,0 +1,165 @@
# Configure paths for LIBART
# Raph Levien 98-11-18
# stolen from Manish Singh 98-9-30
# stolen back from Frank Belew
# stolen from Manish Singh
# Shamelessly stolen from Owen Taylor
dnl AM_PATH_LIBART([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for LIBART, and define LIBART_CFLAGS and LIBART_LIBS
dnl
AC_DEFUN(AM_PATH_LIBART,
[dnl
dnl Get the cflags and libraries from the libart-config script
dnl
AC_ARG_WITH(libart-prefix,[ --with-libart-prefix=PFX Prefix where LIBART is installed (optional)],
libart_prefix="$withval", libart_prefix="")
AC_ARG_WITH(libart-exec-prefix,[ --with-libart-exec-prefix=PFX Exec prefix where LIBART is installed (optional)],
libart_exec_prefix="$withval", libart_exec_prefix="")
AC_ARG_ENABLE(libarttest, [ --disable-libarttest Do not try to compile and run a test LIBART program],
, enable_libarttest=yes)
if test x$libart_exec_prefix != x ; then
libart_args="$libart_args --exec-prefix=$libart_exec_prefix"
if test x${LIBART_CONFIG+set} != xset ; then
LIBART_CONFIG=$libart_exec_prefix/bin/libart-config
fi
fi
if test x$libart_prefix != x ; then
libart_args="$libart_args --prefix=$libart_prefix"
if test x${LIBART_CONFIG+set} != xset ; then
LIBART_CONFIG=$libart_prefix/bin/libart-config
fi
fi
AC_PATH_PROG(LIBART_CONFIG, libart-config, no)
min_libart_version=ifelse([$1], ,0.2.5,$1)
AC_MSG_CHECKING(for LIBART - version >= $min_libart_version)
no_libart=""
if test "$LIBART_CONFIG" = "no" ; then
no_libart=yes
else
LIBART_CFLAGS=`$LIBART_CONFIG $libartconf_args --cflags`
LIBART_LIBS=`$LIBART_CONFIG $libartconf_args --libs`
libart_major_version=`$LIBART_CONFIG $libart_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
libart_minor_version=`$LIBART_CONFIG $libart_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
libart_micro_version=`$LIBART_CONFIG $libart_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_libarttest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $LIBART_CFLAGS"
LIBS="$LIBS $LIBART_LIBS"
dnl
dnl Now check if the installed LIBART is sufficiently new. (Also sanity
dnl checks the results of libart-config to some extent
dnl
rm -f conf.libarttest
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libart_lgpl/libart.h>
char*
my_strdup (char *str)
{
char *new_str;
if (str)
{
new_str = malloc ((strlen (str) + 1) * sizeof(char));
strcpy (new_str, str);
}
else
new_str = NULL;
return new_str;
}
int main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.libarttest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = my_strdup("$min_libart_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_libart_version");
exit(1);
}
if (($libart_major_version > major) ||
(($libart_major_version == major) && ($libart_minor_version > minor)) ||
(($libart_major_version == major) && ($libart_minor_version == minor) && ($libart_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** 'libart-config --version' returned %d.%d.%d, but the minimum version\n", $libart_major_version, $libart_minor_version, $libart_micro_version);
printf("*** of LIBART required is %d.%d.%d. If libart-config is correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
printf("*** If libart-config was wrong, set the environment variable LIBART_CONFIG\n");
printf("*** to point to the correct copy of libart-config, and remove the file\n");
printf("*** config.cache before re-running configure\n");
return 1;
}
}
],, no_libart=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_libart" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$LIBART_CONFIG" = "no" ; then
echo "*** The libart-config script installed by LIBART could not be found"
echo "*** If LIBART was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the LIBART_CONFIG environment variable to the"
echo "*** full path to libart-config."
else
if test -f conf.libarttest ; then
:
else
echo "*** Could not run LIBART test program, checking why..."
CFLAGS="$CFLAGS $LIBART_CFLAGS"
LIBS="$LIBS $LIBART_LIBS"
AC_TRY_LINK([
#include <stdio.h>
#include <libart_lgpl/libart.h>
], [ return 0; ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding LIBART or finding the wrong"
echo "*** version of LIBART. If it is not finding LIBART, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means LIBART was incorrectly installed"
echo "*** or that you have moved LIBART since it was installed. In the latter case, you"
echo "*** may want to edit the libart-config script: $LIBART_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
LIBART_CFLAGS=""
LIBART_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(LIBART_CFLAGS)
AC_SUBST(LIBART_LIBS)
rm -f conf.libarttest
])

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,67 @@
# -*- tab-width: 4; -*-
# Configure paths for NSPR
# Public domain - Chris Seawood <cls@seawood.org> 2001-04-05
# Based upon gtk.m4 (also PD) by Owen Taylor
dnl AM_PATH_NSPR([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for NSPR, and define NSPR_CFLAGS and NSPR_LIBS
AC_DEFUN(AM_PATH_NSPR,
[dnl
AC_ARG_WITH(nspr-prefix,
[ --with-nspr-prefix=PFX Prefix where NSPR is installed],
nspr_config_prefix="$withval",
nspr_config_prefix="")
AC_ARG_WITH(nspr-exec-prefix,
[ --with-nspr-exec-prefix=PFX
Exec prefix where NSPR is installed],
nspr_config_exec_prefix="$withval",
nspr_config_exec_prefix="")
if test -n "$nspr_config_exec_prefix"; then
nspr_config_args="$nspr_config_args --exec-prefix=$nspr_config_exec_prefix"
if test -z "$NSPR_CONFIG"; then
NSPR_CONFIG=$nspr_config_exec_prefix/bin/nspr-config
fi
fi
if test -n "$nspr_config_prefix"; then
nspr_config_args="$nspr_config_args --prefix=$nspr_config_prefix"
if test -z "$NSPR_CONFIG"; then
NSPR_CONFIG=$nspr_config_prefix/bin/nspr-config
fi
fi
unset ac_cv_path_NSPR_CONFIG
AC_PATH_PROG(NSPR_CONFIG, nspr-config, no)
min_nspr_version=ifelse([$1], ,4.0.0,$1)
AC_MSG_CHECKING(for NSPR - version >= $min_nspr_version (skipping))
no_nspr=""
if test "$NSPR_CONFIG" = "no"; then
no_nspr="yes"
else
NSPR_CFLAGS=`$NSPR_CONFIG $nspr_config_args --cflags`
NSPR_LIBS=`$NSPR_CONFIG $nspr_config_args --libs`
dnl Skip version check for now
nspr_config_major_version=`$NSPR_CONFIG $nspr_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
nspr_config_minor_version=`$NSPR_CONFIG $nspr_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
nspr_config_micro_version=`$NSPR_CONFIG $nspr_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
fi
if test -z "$no_nspr"; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
fi
AC_SUBST(NSPR_CFLAGS)
AC_SUBST(NSPR_LIBS)
])

View File

@@ -0,0 +1,57 @@
dnl This file is Copyright 2001 Red Hat, Inc.
dnl This file is in the public domain.
dnl
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
dnl also defines GSTUFF_PKG_ERRORS on error
AC_DEFUN(PKG_CHECK_MODULES, [
succeeded=no
if test -z "$PKG_CONFIG"; then
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
fi
if test "$PKG_CONFIG" = "no" ; then
echo "*** The pkg-config script could not be found. Make sure it is"
echo "*** in your path, or set the PKG_CONFIG environment variable"
echo "*** to the full path to pkg-config."
else
if ! $PKG_CONFIG --atleast-pkgconfig-version 0.7.0; then
echo "*** Your version of pkg-config is too old. You need version 0.7.0 or newer."
echo "*** See http://www.freedesktop.org/software/pkgconfig"
else
AC_MSG_CHECKING(for $2)
if $PKG_CONFIG --exists "$2" ; then
AC_MSG_RESULT(yes)
succeeded=yes
AC_MSG_CHECKING($1_CFLAGS)
$1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
AC_MSG_RESULT($$1_CFLAGS)
AC_MSG_CHECKING($1_LIBS)
$1_LIBS=`$PKG_CONFIG --libs "$2"`
AC_MSG_RESULT($$1_LIBS)
else
$1_CFLAGS=""
$1_LIBS=""
## If we have a custom action on failure, don't print errors, but
## do set a variable so people can do so.
$1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
ifelse([$4], ,echo $1_PKG_ERRORS,)
fi
AC_SUBST($1_CFLAGS)
AC_SUBST($1_LIBS)
fi
fi
if test $succeeded = yes; then
ifelse([$3], , :, [$3])
else
ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
fi
])

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