Compare commits

..

2005 Commits

Author SHA1 Message Date
mscott%netscape.com
d633e9c9c6 localize the alert title
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@117004 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:58:38 +00:00
mscott%netscape.com
0391dbe928 Place holder icon for the mail alert dialog (classic skin).
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116990 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 21:00:43 +00:00
mscott%netscape.com
05b3a7f99b classic changes for the alert dialog.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116989 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 21:00:00 +00:00
mscott%netscape.com
3fe14b0510 classic skin for the alert dialog.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116988 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 20:59:40 +00:00
mscott%netscape.com
218f723f40 Updating ALERT_SERVICE_BRANCH to be in synch with the trunk.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116943 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 02:50:05 +00:00
mscott%netscape.com
282fc2ff6b Updating ALERT_SERVICE_BRANHCH to be in synch with the trunk.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116940 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 02:12:35 +00:00
mscott%netscape.com
edfd631be9 updating
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116928 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 00:55:14 +00:00
(no author)
3c61b4556a This commit was manufactured by cvs2svn to create branch
'ALERT_SERVICE_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116927 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 00:34:18 +00:00
mscott%netscape.com
367e478e43 Allow the user to turn off the animated alert preference for new mail notification.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116917 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 23:27:25 +00:00
mscott%netscape.com
d0df836477 add pref for enabling / disabling mail biff alert notifications
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116914 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 23:14:06 +00:00
mscott%netscape.com
cf82e3dac3 add new alert icon.
Add some style rules to make the text blue in the alert and to center the icon better.


git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116908 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 22:48:20 +00:00
mscott%netscape.com
86429be7f9 New mail alert icon.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116907 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 22:47:38 +00:00
mscott%netscape.com
5876ce510a Use the new icon for the alert.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116906 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 22:46:59 +00:00
mscott%netscape.com
d9937a7919 Properly center smaller alert icon images.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116905 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 22:43:27 +00:00
mscott%netscape.com
c28762ea40 remove obsolete width pref
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116871 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 19:47:10 +00:00
mscott%netscape.com
293a25a28e increase the alert total open time to 3500 ms.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116870 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 19:46:54 +00:00
mscott%netscape.com
a6599291f9 Dynamically size the width of the alert based on the size of the incoming text.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 22:39:28 +00:00
mscott%netscape.com
9ef680360c removing some dump statements
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116416 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 19:53:10 +00:00
mscott%netscape.com
3926d23e55 set a min width and height on the alert icon
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116343 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 21:11:09 +00:00
mscott%netscape.com
1b9bffd8f4 remove an obsolete image src line.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116342 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 21:10:38 +00:00
mscott%netscape.com
aa2f61dcff Landing alert related changes.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116086 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 21:27:36 +00:00
mscott%netscape.com
c18ca5a7ca Adding alert service related files.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116079 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:59:51 +00:00
mscott%netscape.com
5e83b361f7 Adding alerts service files.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116077 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:56:23 +00:00
mscott%netscape.com
2a425e2e8c adding alert makefile
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116075 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:52:09 +00:00
mscott%netscape.com
0368f6be71 synching with the tip.
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116042 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 07:36:47 +00:00
mscott%netscape.com
3486261dc7 synch up with the tip
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116041 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 07:35:14 +00:00
mscott%netscape.com
b9641e3283 set the branch tag
git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116021 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 02:01:41 +00:00
(no author)
45a3d537f9 This commit was manufactured by cvs2svn to create branch
'ALERT_SERVICE_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/ALERT_SERVICE_BRANCH@116009 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 00:25:14 +00:00
cmanske%netscape.com
39ea3b99cc Fixed Browser preview in Composer, b=59497, r=brade, sr=kin, a=asa
git-svn-id: svn://10.0.0.236/trunk@115999 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 23:31:15 +00:00
racham%netscape.com
27a18709b5 Fixing bug 109997. Landing on the trunk (already landed on 099 branch). Fixing the Mailnews accountwizard's first page to display the radio item selection as expected. r=hewitt, sr=blake, a=asa
git-svn-id: svn://10.0.0.236/trunk@115997 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 23:04:19 +00:00
bzbarsky%mit.edu
bd50ec16c8 Show alt text in page info. Patch by db48x@yahoo.com (Daniel Brooks),
r=bzbarsky, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@115995 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:53:58 +00:00
av%netscape.com
be436b64ef Fixing build problems with this plugin sample, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@115993 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:50:48 +00:00
av%netscape.com
9f8c6c28ce Updating DevStudio project file for plugin sample, not part of the build
git-svn-id: svn://10.0.0.236/trunk@115992 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:49:05 +00:00
bzbarsky%mit.edu
20e1fc7409 Add a pref observer for the "hide tab bar with only one tab" pref. Bug
112699, patch by caillon@returnzero.com (Christopher Aillon),
r=bzbarsky, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@115991 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:48:41 +00:00
pavlov%netscape.com
a970af6da5 fixing 76177. r=cmanske sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@115990 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:45:55 +00:00
ducarroz%netscape.com
807988509b Fix for bug 83263. When checking if we can display an alternative part, we need to do a strict class search. R=varada, SR=bienvenu, A=asa
git-svn-id: svn://10.0.0.236/trunk@115989 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:38:42 +00:00
ducarroz%netscape.com
792f53e71f Fix for bug 68087. Don't generate a blank line after a <div>. R= akkana, SR=jst, A=asa
git-svn-id: svn://10.0.0.236/trunk@115988 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:33:33 +00:00
blakeross%telocity.com
da4f50af96 Download manager. Not part of build. a=asa
git-svn-id: svn://10.0.0.236/trunk@115987 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:33:00 +00:00
danm%netscape.com
864a511d11 re-enable parent of modal window before making it invisible. bug 122765 (reopened version) r=bryner,jaggernaut a=asa
git-svn-id: svn://10.0.0.236/trunk@115986 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:26:58 +00:00
naving%netscape.com
6d3a196e3e missed one file from last checkin
git-svn-id: svn://10.0.0.236/trunk@115985 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:24:50 +00:00
rbs%maths.uq.edu.au
2c670cd977 bug 128454 - lquote/rquote attributes are not honored in <ms>, r=roc, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@115984 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:24:35 +00:00
naving%netscape.com
c64ced63d8 107033 r=bienvenu sr=mscott a=asa Made the dbView hold a weak reference to searchSession object so that
it can match new hdrs before adding them to quick search view.


git-svn-id: svn://10.0.0.236/trunk@115983 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:23:06 +00:00
rbs%maths.uq.edu.au
2e58797523 bug 92896 - incorrect position of bullets next to child blocks if the font-size within the child block is different, r=dbaron, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@115982 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:22:24 +00:00
ssu%netscape.com
e801d86d86 checking in patch for yokoyama@netscape.com. fixes bug 93107 - Save Attachment dialogs title located in msgbase.dll. r=ssu, sr=mscott, a=asa
git-svn-id: svn://10.0.0.236/trunk@115981 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:17:22 +00:00
rginda%netscape.com
344465fc39 bug 128057, r=brendan, sr=shaver, a=asa
check for JS_GetPropertyDesc failure in JS_GetPropertyDescArray


git-svn-id: svn://10.0.0.236/trunk@115980 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:15:39 +00:00
oeschger%netscape.com
4fa3a782f7 minor rearrangement of the table of contents in Help, dispensation per bug 122806, r=cotter
git-svn-id: svn://10.0.0.236/trunk@115979 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:13:45 +00:00
cbiesinger%web.de
30e843bc8f bug 127252 patch partially by mstoltz r=bbaetz/me sr=darin a=asa
make about:config work again


git-svn-id: svn://10.0.0.236/trunk@115978 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:11:02 +00:00
cbiesinger%web.de
fefb97b01b bug 127419 r=rayw sr=jst a=asa
fix build warning in nsDefaultSOAPEncoder.cpp


git-svn-id: svn://10.0.0.236/trunk@115977 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:07:24 +00:00
cbiesinger%web.de
46fc58c873 bug 127532 r=db48x sr=alecf a=roc+moz
page info textboxes don't look like labels using native gtk widgets


git-svn-id: svn://10.0.0.236/trunk@115976 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:05:37 +00:00
rjesup%wgate.com
44621b8969 Bug 128939: sync xlib animation with gtk improvements from 125025 and
others.  Fixes a crasher due to animation size changing.  64-bit clean.
r=gisburn, sr=tor, a=asa


git-svn-id: svn://10.0.0.236/trunk@115975 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:05:23 +00:00
hwaara%chello.se
f6e9cc6ac0 #40761, "Make the filters UI accessible"
r=ssu, sr=sspitzer, a=asa


git-svn-id: svn://10.0.0.236/trunk@115974 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:03:47 +00:00
varada%netscape.com
89e7c1812f fix for bug 112714;making filter dialogs modal;r=naving;sr=dbienvenu;a=asa
git-svn-id: svn://10.0.0.236/trunk@115973 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:02:06 +00:00
leaf%mozilla.org
0cb2dcd84e Automated update
git-svn-id: svn://10.0.0.236/trunk@115972 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 21:56:53 +00:00
blakeross%telocity.com
088aa198db Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115971 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 21:56:50 +00:00
seawood%netscape.com
471e4f2c63 Put defines on separate lines to fix --enable-xpcom-lea bustage.
a=shaver


git-svn-id: svn://10.0.0.236/trunk@115969 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 21:51:16 +00:00
jpierre%netscape.com
813a48bf6b Fix for 129201 - allow parameter string to be retrieved in a PKCS#11 module built on top of ckfw
git-svn-id: svn://10.0.0.236/trunk@115968 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 21:41:35 +00:00
blakeross%telocity.com
a8a7919ed6 Download manager. Not part of build. a=asa
git-svn-id: svn://10.0.0.236/trunk@115966 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 20:59:10 +00:00
blakeross%telocity.com
957108dff1 Download manager. Not part of build. a=asa
git-svn-id: svn://10.0.0.236/trunk@115965 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 20:51:09 +00:00
blakeross%telocity.com
7ae7bdcccc Download manager. Not part of build. a=asa
git-svn-id: svn://10.0.0.236/trunk@115964 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 20:38:50 +00:00
leaf%mozilla.org
4dcda01e26 adding README.txt to pull
git-svn-id: svn://10.0.0.236/trunk@115963 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 20:24:49 +00:00
darin%netscape.com
ed8ed010cb backing out unintended changes -- fixes OS/2 bustage, b=124042
git-svn-id: svn://10.0.0.236/trunk@115961 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 19:03:32 +00:00
despotdaemon%netscape.com
0f371858b3 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@115960 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 17:54:10 +00:00
blizzard%redhat.com
40edf590ec Update mozilla.sh script to detect a wider variety of JVMs. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@115959 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 17:11:15 +00:00
dbaron%fas.harvard.edu
3bbeb5cb64 Really fix the bustage (hopefully). b=124042
git-svn-id: svn://10.0.0.236/trunk@115957 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 15:58:35 +00:00
bernd.mielke%snafu.de
4e818534f4 bug 122899 encapsulate debug code r=karnaze sr=attinasi a=roc+moz
bug 128229 pass stylechange reflow to table childrens r=karnaze sr=roc+moz a=asa


git-svn-id: svn://10.0.0.236/trunk@115956 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 15:56:32 +00:00
dbaron%fas.harvard.edu
7064a564ac Fix OS/2 bustage from darin's checkin. b=124042
git-svn-id: svn://10.0.0.236/trunk@115955 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 15:56:23 +00:00
bbaetz%student.usyd.edu.au
2a60f88162 Bug 129017 - perl error in apache log
r=gerv, justdave


git-svn-id: svn://10.0.0.236/trunk@115953 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 11:16:54 +00:00
darin%netscape.com
0c4cdf1906 fixes widget/src/os2 bustage
git-svn-id: svn://10.0.0.236/trunk@115952 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 11:02:30 +00:00
darin%netscape.com
54c9882aff break MRJ plugin to fix bustage -- will talk to beard tomorrow to resolve
problem.


git-svn-id: svn://10.0.0.236/trunk@115951 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 10:37:20 +00:00
mhammond%skippinet.com.au
ded7d2bc59 Integrate Linux init/term functions with Windows.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115950 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 10:19:27 +00:00
darin%netscape.com
6a28a5e882 fixing more MRJ build bustage for the mac.. resulting from my checkin for bug 124042
git-svn-id: svn://10.0.0.236/trunk@115948 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:53:09 +00:00
peterv%netscape.com
a488b9c029 Fix for bug 129135 (XMLSerializer is broken). r=heikki, sr=jst, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@115947 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:50:35 +00:00
leaf%mozilla.org
2b80c5ed0b fix PDBFILE definition and use for windows gmake builds, sr=cls, a=drivers
git-svn-id: svn://10.0.0.236/trunk@115946 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:50:34 +00:00
darin%netscape.com
0a6f86bc0a hopefully fixes OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@115945 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:42:39 +00:00
darin%netscape.com
ff68fadfec minor cleanup.. some unexpected and benign changes crept into the mac xml
project files.


git-svn-id: svn://10.0.0.236/trunk@115944 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:37:41 +00:00
darin%netscape.com
beca771403 fixes build bustage following the landing of my patch for bug 124042
git-svn-id: svn://10.0.0.236/trunk@115943 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:35:43 +00:00
darin%netscape.com
13aa0b3295 fixes some MRJ build bustage resulting from my checkin for bug 124042
git-svn-id: svn://10.0.0.236/trunk@115942 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:24:15 +00:00
seawood%netscape.com
9851bfde7a Use MOZILLA_DIR instead of topsrcdir so that --enable-xterm-updates works in the comm builds.
Bugscape #12347 r=bryner sr=darin


git-svn-id: svn://10.0.0.236/trunk@115941 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:04:02 +00:00
darin%netscape.com
4cd9a846e9 fixes SVG bustage related to my checkin for bug 124042
git-svn-id: svn://10.0.0.236/trunk@115940 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:03:38 +00:00
darin%netscape.com
fc7aaabd6d fix bustage resulting when MOZ_PERF_METRICS is defined
git-svn-id: svn://10.0.0.236/trunk@115939 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:00:05 +00:00
darin%netscape.com
d8f58724e7 pacify HPUX compiler
git-svn-id: svn://10.0.0.236/trunk@115938 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 08:41:25 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
pschwartau%netscape.com
d6d2d2537e Skip new test that uses the clone() function in SpiderMonkey's js.c file
git-svn-id: svn://10.0.0.236/trunk@115935 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 05:34:22 +00:00
pschwartau%netscape.com
48079dabad Initial add. Regression test for bug 127557.
git-svn-id: svn://10.0.0.236/trunk@115934 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 05:14:58 +00:00
brendan%mozilla.org
884ceb2a0e Not part of build, for the js testsuite only: add clone shell function to clone a function object (for 127557 regression testing, a=shaver).
git-svn-id: svn://10.0.0.236/trunk@115931 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 04:45:32 +00:00
badami%netscape.com
39264b68bf Transparent animated GIF displays incorrectly
bug=105804 r=pavlov sr=tor a=asa patch=nivedita@netscape.com


git-svn-id: svn://10.0.0.236/trunk@115930 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 04:41:35 +00:00
dougt%netscape.com
32fbf8f488 Make generic module support usable by component and plugin developers. This patch removes the dependency on nsHashtable. bug 108233. sr=alecf@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115929 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 04:22:27 +00:00
av%netscape.com
d9d7d97feb Fixing makefiles for the Plugin SDK to reflect new location of some header files, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@115928 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 04:06:36 +00:00
seawood%netscape.com
759f2423b1 Apply correct fix for loop problem & add shortcut detection for base ./mozilla case.
Bug #57866


git-svn-id: svn://10.0.0.236/trunk@115927 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:55:24 +00:00
av%netscape.com
2e601a2947 Threaded plugin sample code, not part of the build
git-svn-id: svn://10.0.0.236/trunk@115926 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:55:03 +00:00
av%netscape.com
75401be452 Readme file for the plugin sample code, not part of the build
git-svn-id: svn://10.0.0.236/trunk@115925 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:53:40 +00:00
av%netscape.com
482e8bd78a Threaded plugin sample code, not part of the build
git-svn-id: svn://10.0.0.236/trunk@115924 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:37:15 +00:00
blakeross%telocity.com
33faee2a61 Download manager. Not part of build. a=asa
git-svn-id: svn://10.0.0.236/trunk@115923 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:36:54 +00:00
timeless%mac.com
548b1ac6fd Bug 127270 ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr'
The problem was that InputTestConsumer's QI only listed nsIStreamListener even though
nsIStreamListener inherited from interface nsIRequestObserver.
This adds nsIRequestObserver to the QI.

patch by badami@netscape.com rs=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@115922 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:30:02 +00:00
timeless%mac.com
c6b3d5be1b bug 114166 final cleanup for nsDeque ( comments + whitespace only )
r=akkana sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@115921 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:21:17 +00:00
blakeross%telocity.com
56ec9679a0 Download manager. Not part of build. a=asa
git-svn-id: svn://10.0.0.236/trunk@115920 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:11:48 +00:00
jj%netscape.com
7a7d9d1e31 Bug 126768: updated installer's 'vers' 2 resource to 0.9.9+ (trunk)
git-svn-id: svn://10.0.0.236/trunk@115917 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 02:26:14 +00:00
bienvenu%netscape.com
21da9e2293 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@115915 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 02:16:38 +00:00
dsirnapalli%netscape.com
23078fbff6 Test case to test HTML Element <fieldset> without <legend>
git-svn-id: svn://10.0.0.236/trunk@115914 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 02:12:02 +00:00
dsirnapalli%netscape.com
343767e274 Test case to test HTML Element <fieldset> with <legend>
git-svn-id: svn://10.0.0.236/trunk@115913 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 02:11:20 +00:00
dsirnapalli%netscape.com
ac1356834f Library file.Contains methods useful for all the testcases.
git-svn-id: svn://10.0.0.236/trunk@115912 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 02:07:40 +00:00
dsirnapalli%netscape.com
cbc75c453c This file will be replace by accesslib.js
git-svn-id: svn://10.0.0.236/trunk@115911 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 02:03:38 +00:00
bienvenu%netscape.com
b6f6295e04 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@115910 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:53:00 +00:00
kin%netscape.com
a97cad95f6 Fix for bug 124485 (Long lists of folders/bookmarks after up/down arrow not reachable)
mozilla/layout/xul/base/src/nsMenuPopupFrame.cpp

    - Modified SyncViewWithFrame() to sync the frame's origin
      with the view, after the view is positioned.

  mozilla/layout/xul/base/src/nsSliderFrame.cpp

    - Traverse view hierarchy instead of the frame hierarchy
      when calculating the offset from the slider frame to
      the rootView. This fixes mouse tracking problems in
      the auto-complete widget's popup menu scrollbar when the
      popup menu frame and view are sync'd to the same position.

r=hyatt@netscape.com  sr=roc+moz@cs.cmu.edu  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@115909 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:52:06 +00:00
despotdaemon%netscape.com
449d62f723 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@115908 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:51:51 +00:00
despotdaemon%netscape.com
d622bbb81b Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@115907 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:50:08 +00:00
despotdaemon%netscape.com
975fab18ab Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@115906 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:48:32 +00:00
relyea%netscape.com
c42edc81c4 bug 125808 :
Reset the token name on token removal.
Check for token presence to reset the session handle.
Consolidate the NSS3 style TokenInit with the stan init so everything is in sync.
r=ddrinan


git-svn-id: svn://10.0.0.236/trunk@115905 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:44:50 +00:00
bienvenu%netscape.com
356be46c7f make clicking on a news or imap url load the folder/newsgroup r=naving, sr=sspitzer a=asa 112105
git-svn-id: svn://10.0.0.236/trunk@115904 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:44:07 +00:00
bienvenu%netscape.com
9bc13c9d4d make clicking on a news or imap url load the folder/newsgroup r=naving, sr=sspitzer a=asa 112105 also fix deleting current imap message to pseudo interrupt 103305"
git-svn-id: svn://10.0.0.236/trunk@115903 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:41:34 +00:00
bienvenu%netscape.com
f5b948c4a3 add copy folder location menu item r=naving, sr=sspitzer a=asa 112105
git-svn-id: svn://10.0.0.236/trunk@115901 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:29:56 +00:00
bienvenu%netscape.com
dbbaca3fdc fix ref count leak of msgdb when marking local msgs read r=naving, sr=sspitzer a=asa 128910
git-svn-id: svn://10.0.0.236/trunk@115899 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:24:13 +00:00
blakeross%telocity.com
a7f45cbbc0 128667 - launch windows app picker dialog if file has no association. r=law sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@115898 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:11:34 +00:00
cavin%netscape.com
74d223827d Fix for #119441. Recplaced pDst->Write() call with EscapeFromSpaceLine() when body text is > 8K. r=ducarroz, sr=sspitzer, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115896 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:07:53 +00:00
kmcclusk%netscape.com
8cc792af65 Sample the system clock only once out of every 200 tokens when in the low frequency parser interruption mode to improve page load time on large pages. bug 124697 r=harishd sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@115895 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:00:48 +00:00
sspitzer%netscape.com
8f0d4d308a fix for #73995. hide the print engine xul window when printing.
it really confuses users, who think maybe it's a print preview dialog.
this hiding piggy backs on the work of ducarroz and rods for bug #109081
also, fix the interCaps of the interface while I'm here.
thanks to rods for the initial patch.  r=ducarroz, sr=bienvenu, a=asa


git-svn-id: svn://10.0.0.236/trunk@115894 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:53:45 +00:00
bzbarsky%mit.edu
c86b17dd93 "Sync Xlib gfx with GTK+ gfx source." Bug 128748, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=timeless,
sr=attinazi, a=asa


git-svn-id: svn://10.0.0.236/trunk@115893 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:48:31 +00:00
av%netscape.com
e4e276a45d Threaded plugin sample code, not part of the build
git-svn-id: svn://10.0.0.236/trunk@115892 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:34:36 +00:00
blakeross%telocity.com
bd85994ddb Download manager. Not part of build. a=asa
git-svn-id: svn://10.0.0.236/trunk@115891 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:34:15 +00:00
blakeross%telocity.com
89a7434272 Download manager. Not part of build. a=asa
git-svn-id: svn://10.0.0.236/trunk@115890 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:17:32 +00:00
ducarroz%netscape.com
309350a2eb Fix for bug 113050. Patch submitted by Denis Antrushin <adu@sparc.spb.su>. Need to add every message url as attachment when forwarding messages. R=ducarroz, SR=bienvenu, A=asa
git-svn-id: svn://10.0.0.236/trunk@115888 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:14:23 +00:00
mhammond%skippinet.com.au
b74c4c76b4 Add clobber:: rule.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115887 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:07:22 +00:00
shanjian%netscape.com
209436a3b7 #127129 The above page is displayed many blank areas
When converting from unicode to GB2312GL, we need to clear 8bit. That is skipped
in patch for 101998. Add it back.
r=ftang, sr=alecf, a=asa


git-svn-id: svn://10.0.0.236/trunk@115885 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:01:35 +00:00
mhammond%skippinet.com.au
2d0f1e8673 Move Linux to the new loader system. This requires a shared library
version of Python (rather than the static lib generally built.)

The simplest way to get a shared library version is to install
ActivePython.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115884 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:01:12 +00:00
nhotta%netscape.com
aa1acbaf75 Adding a check after the conversion to check the consumed length, changed nsMsgI18N7bit_data_part,
bug 128908, r=ducarroz, sr=sspitzer, a=asa.


git-svn-id: svn://10.0.0.236/trunk@115882 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:57:01 +00:00
mhammond%skippinet.com.au
7455592a09 Use new module init/term functions for Linux.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115881 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:55:25 +00:00
bzbarsky%mit.edu
8064f3d51b Fix printing on linux if screen is 72dpi. Bug 103145, r=dcone,
sr=roc+moz, a=asa


git-svn-id: svn://10.0.0.236/trunk@115880 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:52:49 +00:00
mhammond%skippinet.com.au
0be147b295 Fix the makefile for the loader.
Not part of the build (a=drivers, though :)


git-svn-id: svn://10.0.0.236/trunk@115879 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:52:14 +00:00
rjc%netscape.com
c167d985d2 Fix bug # 128678: Mac OS X window toolbar widget regression. r=brade sr=hewitt a=asa
git-svn-id: svn://10.0.0.236/trunk@115878 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:49:39 +00:00
timeless%mac.com
7d2a89ccdf Bug 120282ÿjavascript error in metadata.js (Link Properties doesn't work)
patch by neil.marshall@sympatico.ca r=timeless sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@115877 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:34:53 +00:00
naving%netscape.com
e7204779bb 104484 r=bienvenu sr=smcott a=asa. Set the name of the non-ascii folder correctly
so that the sortKey doesn't mess-up.


git-svn-id: svn://10.0.0.236/trunk@115876 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:32:59 +00:00
heikki%netscape.com
b1a2c74e4e Bug 129109, abort() was partially implemented. r=harishd, sr=darin, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115875 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:30:09 +00:00
blakeross%telocity.com
7ed7837311 Download manager. Not part of build. a=asa
git-svn-id: svn://10.0.0.236/trunk@115874 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:23:53 +00:00
bzbarsky%mit.edu
6251eec470 Speed up text measurement inside <pre> (major win for view source). Bug
98118, r=shanjian, sr=roc+moz, a=asa


git-svn-id: svn://10.0.0.236/trunk@115873 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:23:09 +00:00
locka%iol.ie
0b6bc8a53a Properly fixup URLs containing http:// string in as form submit values. b=126181 r=bzbarsky@mit.edu sr=mscott@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115872 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:17:47 +00:00
bzbarsky%mit.edu
970eee3834 Make FindBackground not QI to nsIHTMLBodyElement -- this makes it much
faster.  Bug 129079, r=rjesup@wgate.com, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@115871 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:17:32 +00:00
ssu%netscape.com
374a98ef8e fixing bug 126609 - Labels pref page could need some cleanup. r=racham sr=mscott a=asa.
git-svn-id: svn://10.0.0.236/trunk@115868 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:13:32 +00:00
pinkerton%netscape.com
3a85aaa3ab first pass at basebrowser for macCFM. r=ccarlen/sr=sfraser/a=asa. bug 127341.
git-svn-id: svn://10.0.0.236/trunk@115865 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:12:45 +00:00
heikki%netscape.com
2b5f274a6e Bug 123953, crash when using XMLSerializer on 'orphaned' node. r=harishd, sr=vidur, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115861 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:52:45 +00:00
hwaara%chello.se
3d14baef0e #128663, "Exit" menuitem doesn't work.
r=bzbarsky, sr=hewitt, a=asa


git-svn-id: svn://10.0.0.236/trunk@115859 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:45:21 +00:00
locka%iol.ie
f5b9dd1387 Display an authorization prompt when shift-click to save password protected URIs. b=116279 r=brade@netscape.com sr=darin@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115858 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:45:20 +00:00
bzbarsky%mit.edu
8686403dcc Build simple mapi again. Bug 122725, patch by rdayal@netscape.com,
r=cathleen, sr=mscott, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115857 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:42:52 +00:00
bzbarsky%mit.edu
b9be6f3f0d Fix bug 57524, r=peterv, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@115856 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:39:40 +00:00
bzbarsky%mit.edu
392f726bc8 fix regression of bug 124741. r=law, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115853 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:35:56 +00:00
bzbarsky%mit.edu
c164f1d423 Fix compiler warnings. Bug 127592, r=hwaara, sr=shaver, a=asa
git-svn-id: svn://10.0.0.236/trunk@115851 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:33:54 +00:00
cavin%netscape.com
baccc58329 Fix for 128543. Convert server msg which contains key word "exceed max record" to a more user-friendly one. r=ducarroz, sr=mscott, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115850 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:33:00 +00:00
blakeross%telocity.com
842c743bf4 128969 - necessary dir/profile-related download manager changes. r=ccarlen sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@115849 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:30:28 +00:00
blakeross%telocity.com
2a228664fb 128669 - sidebar panels should use <browser> not <iframe> r=sgehnani sr=hewitt a=asa
git-svn-id: svn://10.0.0.236/trunk@115848 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:28:24 +00:00
blakeross%telocity.com
caad416afb Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115847 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:26:41 +00:00
blakeross%telocity.com
0eba97f2d5 Download manager. Not part of build. a=asa
git-svn-id: svn://10.0.0.236/trunk@115845 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:17:06 +00:00
relyea%netscape.com
fb3f17d7c5 Initialize result to SECSuccess before we return.
git-svn-id: svn://10.0.0.236/trunk@115843 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:14:44 +00:00
alecf%netscape.com
8987693613 fix for blocker bugt 57866 from kairo@kairo.at
sr=alecf, a=alecf (sheriff) to get the tree open


git-svn-id: svn://10.0.0.236/trunk@115841 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 19:19:04 +00:00
cbiesinger%web.de
8c163d43e8 bug 120850 r=neil@parkwaycc.co.uk sr=jag a=asa
truncate status bar urls in the middle instead of at the end


git-svn-id: svn://10.0.0.236/trunk@115840 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 19:08:09 +00:00
samuel%sieb.net
18dc83df05 Bug 128311 - can't drag links from chatzilla
r=rginda a=roc+moz
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@115837 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 18:13:41 +00:00
ian.mcgreer%sun.com
6275d4e963 missed part of last patch
git-svn-id: svn://10.0.0.236/trunk@115834 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 16:54:16 +00:00
ian.mcgreer%sun.com
546db633a3 bug 125112, don't alloc return array if there are no certs found
git-svn-id: svn://10.0.0.236/trunk@115831 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 16:08:53 +00:00
beard%netscape.com
9d0f870c8d Universal config file for Darwin.
git-svn-id: svn://10.0.0.236/trunk@115829 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 15:52:37 +00:00
wtc%netscape.com
3995ddd6d7 Bugzilla bug 128915: the first part of the previous change is not
necessary, so replace it with an assertion.  r=mcgreer.


git-svn-id: svn://10.0.0.236/trunk@115825 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 15:49:33 +00:00
karnaze%netscape.com
594dd0831d bug 43039 - allow col to get next col in different col group for border collapse calc. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@115824 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 15:23:28 +00:00
wtc%netscape.com
37739bf3ee Temporary workaround to make 'depend' do a 'clean' in NSS. This is for
the landing described in bug 128593.
Modified Files: Makefile.in security/manager/Makefile.in
	security/nss/makefile.win


git-svn-id: svn://10.0.0.236/trunk@115823 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 15:22:48 +00:00
beard%netscape.com
4c3bac27cf fix for bug #59686, a=asa@mozilla.org, r=rogerl, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@115821 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 15:09:05 +00:00
oeschger%netscape.com
a570ccd75e adding help buttons to cookie manager, bug=118834, r=morse, sr=alecf, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@115820 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 14:59:12 +00:00
mikep%oeone.com
86e8e64c75 Fixing bug 128823.
git-svn-id: svn://10.0.0.236/trunk@115819 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 14:52:40 +00:00
mikep%oeone.com
4291f1c62c Fixed bug 128828, calendar events were not in the right order.
git-svn-id: svn://10.0.0.236/trunk@115818 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 14:18:27 +00:00
brade%netscape.com
31a9a10375 use persist constants, set persist flags for no base tag mods, set linebreaks to crlf if we aren't saving (file scheme), set replace flag; bugs 125070 and 126672; r=adamlock, sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@115817 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 14:06:56 +00:00
mikep%oeone.com
b11bfd6fd7 Fixing bug 128822.
git-svn-id: svn://10.0.0.236/trunk@115816 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 14:03:26 +00:00
brade%netscape.com
e952c115b4 bug 124393; r=pink, sr=sfraser, a=asa; convert from ns_vk* to nsIDOMKeyEvent constants, use VK_HELP instead of VK_insert, tab cleanup
git-svn-id: svn://10.0.0.236/trunk@115815 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 14:00:13 +00:00
mikep%oeone.com
73f333fde8 Fixing bug 128821 and bug 128902.
git-svn-id: svn://10.0.0.236/trunk@115814 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 13:59:24 +00:00
rods%netscape.com
32f1457ac2 The does the following:
1) Fixes a minor problem in with which kind of PrintSettings object we are getting in browser.js
2) AddressBook now creates its own copy of the PrintSettings and passes it into the nsMsgPrintEngine
3) Mail now creates its own copy of the PrintSettings and passes it into the nsMsgPrintEngine
4) Add a PS arg to the MsgPrintEngine IDL/XUL/JS
r=ducarroz sr=spitzer a=asa


git-svn-id: svn://10.0.0.236/trunk@115813 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 12:52:37 +00:00
myk%mozilla.org
829c3195fd Fix for bug 129016: Corrects conditional operator.
Patch by Myk Melez <myk@mozilla.org>.
r=bbaetz x 2


git-svn-id: svn://10.0.0.236/trunk@115809 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 10:51:38 +00:00
seawood%netscape.com
dd14f825fd Resolve symlinks as necessary to allow run-mozilla.sh to be called correctly.
Bug #57866 r=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@115807 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 08:44:17 +00:00
seawood%netscape.com
86520ae750 Bump MOZILLA_VERSION to 0.9.9+
git-svn-id: svn://10.0.0.236/trunk@115806 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 08:34:10 +00:00
seawood%netscape.com
240e36124f Resolve symbols at link-time. Fixing linux & osx --enable-meta-components bustage.
Bug #128364 r=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@115805 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 08:10:54 +00:00
seawood%netscape.com
fc3818e9a4 Use -fPIC (or -KPIC) when using the compiler to link shared libraries.
Bug #128160 r=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@115804 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 08:08:41 +00:00
jband%netscape.com
8d3b264218 Replace NS_REINTERPRET_CAST with an NS_STATIC_CAST so that the wrong interface on the enumerator is not returned to callers. Fixes bug 128858. r=rginda sr=shaver a=dbaron (on trunk and 0.9.9 branch)
git-svn-id: svn://10.0.0.236/trunk@115803 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 08:07:17 +00:00
jband%netscape.com
69252ef472 remove stale DEBUG_jband block. rs=jband a=dbaron
git-svn-id: svn://10.0.0.236/trunk@115802 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 08:02:05 +00:00
shaver%mozilla.org
0913674a48 Bug 106864: xptcall support for the ARM platform, and mild jsnum.h arm-define
tweaks. Patches from Mark Crichton <crichton@gimp.org>, Russell King
<rmk@arm.linux.org>, Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>.
r=brendan on jsnum.h, sr=shaver, a=asa for trunk and branch.


git-svn-id: svn://10.0.0.236/trunk@115801 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 06:35:50 +00:00
dean_tessman%hotmail.com
1dce016ad7 bug 122931 - nsMenuFrame.cpp and nsMenuPopupFrame.cpp - is .Assign("") needed before GetAttr?
Removed a few Assign(NS_LITERAL_STRING("")) calls
r=varga, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@115800 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 06:35:22 +00:00
dean_tessman%hotmail.com
e27fdb2ae7 bug 126439 - Alt+F4 beeps in some window
only beep if the menu bar is active, instead of whenever a matching shortcut key isn't found
r=pink, sr=blake, a=asa


git-svn-id: svn://10.0.0.236/trunk@115799 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 06:28:49 +00:00
bzbarsky%mit.edu
0b13a489ca make the URI checker handle redirections correctly. Bug 128665,
r=bbaetz, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@115798 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 05:57:21 +00:00
bzbarsky%mit.edu
94dd36abc6 Ugh. Another try at the bustage...
git-svn-id: svn://10.0.0.236/trunk@115797 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 05:04:26 +00:00
bzbarsky%mit.edu
4ff0a278ea Better bustage fix
git-svn-id: svn://10.0.0.236/trunk@115795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 03:54:46 +00:00
heikki%netscape.com
c183c918a2 Attempting to fix Mac bustage.
git-svn-id: svn://10.0.0.236/trunk@115793 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 03:48:44 +00:00
naving%netscape.com
ae90796cb3 57440 r=bienvenu sr=sspitzer a=asa Make the default mail folders localizable.
git-svn-id: svn://10.0.0.236/trunk@115792 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 03:25:31 +00:00
bzbarsky%mit.edu
2eb36945dd Make sure we send start and stop notification so progress dialogs get
taken down. Bug 127375, r=brade, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@115791 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 03:23:20 +00:00
arougthopher%lizardland.net
87fe569783 Fix for Bug#128763
Implementation of SplashScreenObserver for BeOS

Removed the nsNativeAppSupportBeOS class, as it was not doing anything, and was interfering with the ability for nsAppRunner to check if nsSplashScreenBeOS implemented the IObserver interface, which it now does.

r=cls (seawood@netscape.com)
a=asa (on behalf of drivers) for checin to trunk


git-svn-id: svn://10.0.0.236/trunk@115790 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 03:16:23 +00:00
nisheeth%netscape.com
9872daecf4 Fix for bug 125465. r=jag, sr=jband, a=asa. Add AString, ACString, and AUTF8String support to XPCOM's variant data type. Also, add forward declarations of AString and ACString to nsrootidl.idl.
git-svn-id: svn://10.0.0.236/trunk@115789 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 02:22:02 +00:00
cltbld%netscape.com
2afa8c034c updating version string to 0.9.9+, kysmith checking in as cltbld
git-svn-id: svn://10.0.0.236/trunk@115788 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 02:12:56 +00:00
cltbld%netscape.com
3521650380 updating verison string to 0.9.9+, kysmith checking in as cltbld
git-svn-id: svn://10.0.0.236/trunk@115786 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 02:08:20 +00:00
alecf%netscape.com
1d87933ca2 fix mac pref migration bustage
git-svn-id: svn://10.0.0.236/trunk@115785 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 01:49:19 +00:00
alecf%netscape.com
299eed4101 *sigh*
fixing mac bustage


git-svn-id: svn://10.0.0.236/trunk@115784 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 01:48:01 +00:00
ducarroz%netscape.com
db1df18b6a Fix for bug 128887. Need to allocate an extra spot in the attachment list for the inline message itself. R=varada, SR=sspitzer, A=asa
git-svn-id: svn://10.0.0.236/trunk@115781 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 01:23:31 +00:00
alecf%netscape.com
ff5a46b4db one more xmlterm fix
git-svn-id: svn://10.0.0.236/trunk@115780 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 01:02:58 +00:00
alecf%netscape.com
9ad4829ba0 fix xmlterm bustage
git-svn-id: svn://10.0.0.236/trunk@115779 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 01:01:52 +00:00
ssu%netscape.com
74294097f4 fixing bug 119022 - Remove Select Flagged Messages menu item. r=racham sr=mscott a=asa
git-svn-id: svn://10.0.0.236/trunk@115778 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:55:50 +00:00
sfraser%netscape.com
9c1844d8ef Workaround fix for a stall on launch on dual CPU OS X machines, that is caused by a race condition entering the critical section. Bug 99561. r=wtc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@115777 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:54:27 +00:00
ssu%netscape.com
ee9b3af8ec checking patch for neil@parkwaycc.co.uk. fixes bug 82056 - Delete context menu option should be Undelete on deleted messages. r=ssu,timeless sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@115776 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:49:21 +00:00
smontagu%netscape.com
0d64fabaf3 Fix for bug 121654, "Browser hangs when viewing a Ja message w/o MIME header with folder charset set to Arabic (IBM-864)". r=mkaply, sr=kin, a=asa
git-svn-id: svn://10.0.0.236/trunk@115775 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:41:35 +00:00
alecf%netscape.com
73c4c0f1f8 fix the nmake bustage again
git-svn-id: svn://10.0.0.236/trunk@115774 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:39:25 +00:00
alecf%netscape.com
44bb02b969 fix windows nmake-only bustage
argh


git-svn-id: svn://10.0.0.236/trunk@115773 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:32:09 +00:00
alecf%netscape.com
455c4d4a53 one more attempt at bustage
git-svn-id: svn://10.0.0.236/trunk@115770 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:12:20 +00:00
cavin%netscape.com
0782aaaef5 Fix for #62084. Fixed 2 problems: (1)Parsing problem on the input records when data of the records spread into two buffers. (2)Buffer used to hold list data is too small. r=naving, sr=sspitzer, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115769 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:01:22 +00:00
alecf%netscape.com
c0f66ed4ef fix NSS bustage
git-svn-id: svn://10.0.0.236/trunk@115768 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:57:13 +00:00
racham%netscape.com
72f3a4d5bc Fixing bug 128187. Fixing js warning on variable redeclaraion. Patch by Stephen Walker. r=bhuvan, sr=sspitzer, a=asa
git-svn-id: svn://10.0.0.236/trunk@115765 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:52:16 +00:00
waldemar%netscape.com
a7f05811c3 More new semantics
git-svn-id: svn://10.0.0.236/trunk@115764 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:49:11 +00:00
waldemar%netscape.com
9973d07f16 Changed formatting of elt-of and unique-elt-of
git-svn-id: svn://10.0.0.236/trunk@115763 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:49:03 +00:00
waldemar%netscape.com
c214055773 Added unique-elt-of
git-svn-id: svn://10.0.0.236/trunk@115762 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:48:39 +00:00
racham%netscape.com
196d2c3384 Fixing bug 118840. Giving a proper look to the delete button on mousedown in Modern skin AddressBook. Patch by Stephen Walker. r=bhuvan, sr=hewitt, a=asa
git-svn-id: svn://10.0.0.236/trunk@115761 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:46:39 +00:00
cavin%netscape.com
d8dae82dd4 Fix for #73694. Parse and store date info from Eudora "From " lines and write out this date header for Eudora msgs which do not contain a "Date:" header. r=ducarroz, sr=sspitzer, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115760 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:40:16 +00:00
myk%mozilla.org
509c6a36ee Fix for bug 128784: Eliminates redundant function call in userprefs.cgi.
Patch by Myk Melez <myk@mozilla.org>
r=gerv x 2


git-svn-id: svn://10.0.0.236/trunk@115759 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:38:55 +00:00
bryner%netscape.com
e4202d7a3e Bug 128749 - fix shortcut keys when a select/outliner has focus. r=pinkerton, sr=blake, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115757 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:36:38 +00:00
bryner%netscape.com
15f5739ec9 Bug 128687 - include XBL form control files in embed.jar. This looks like a bigger change than it is because I'm also removing extra ^M's in embed-jar.mn. r=pinkerton, sr=shaver, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115756 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:33:23 +00:00
cavin%netscape.com
3517522f22 Fix for #100854. For imap folders, unescape the folder URIs and for local folders get rid of ".sbd" and then escape the URIs. r=ducarroz, sr=sspitzer, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115755 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:31:45 +00:00
ian.mcgreer%sun.com
a9a015ddaf bug 128915, prevent crash on empty S/MIME profiles
git-svn-id: svn://10.0.0.236/trunk@115752 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:19:20 +00:00
alecf%netscape.com
8755908f04 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa


git-svn-id: svn://10.0.0.236/trunk@115750 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:18:21 +00:00
radha%netscape.com
b17d04a4f2 Fix for bug # 123140. wyciwyg:// appears on urlbar for JS dynamic pages. r=mcafee, sr=alecf a=asa
git-svn-id: svn://10.0.0.236/trunk@115746 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:54:16 +00:00
radha%netscape.com
de9260d595 Fix for bug 123140. wyciwyg:// appears on urlbar for JS dynamic pages. r=mcafee, sr=alecf a=asa.
git-svn-id: svn://10.0.0.236/trunk@115745 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:53:18 +00:00
ducarroz%netscape.com
0c5698d9bf Fix for bug 109081. IsEnable/GetEnable should return true by default and not false. That will avoid the regression 128659 caused by my previous checking for 109081. R=bryner, SR=blizzard, A=blizzard
git-svn-id: svn://10.0.0.236/trunk@115744 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:50:11 +00:00
relyea%netscape.com
b05500f1e0 Fix token/cert interactions:
1) don't have certs disappear because we have empty tokens.
2) Make sure the NSSToken structure has up-to-date nicknames.


git-svn-id: svn://10.0.0.236/trunk@115743 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:39:28 +00:00
tor%cs.brown.edu
dcff08de8b Bug 128475 - print performance regression from 127430 checkin.
r=pavlov, sr=blizzard, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115742 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:36:16 +00:00
varga%utcru.sk
c941d6aacc Fix for 121336. sometimes selection in threadpane (and folderpane) not cleared when selecting a new message.
- sync painting is evil
r=bryner, sr=roc+moz, a=asa


git-svn-id: svn://10.0.0.236/trunk@115741 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:19:51 +00:00
bzbarsky%mit.edu
a009cfd31f Don't show bogus "save as text" option when doing "save link as". Bug
127912, r=law, sr=blake, a=asa


git-svn-id: svn://10.0.0.236/trunk@115740 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:12:14 +00:00
shanjian%netscape.com
33cc392ebb #125777 The default fonts for non-native system are incorrect
Check preference "font.name-list.*" when setting UI for font preference windows.
r=nhotta, sr=alecf, a=asa


git-svn-id: svn://10.0.0.236/trunk@115738 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 21:54:55 +00:00
shanjian%netscape.com
9a5ed94d7e Backout previous checkin. Previous check in is the patch for another bug. Sorry.
git-svn-id: svn://10.0.0.236/trunk@115737 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 21:51:22 +00:00
ian%hixie.ch
fb585f901e Quizbot module. b=124621, r=imajes
git-svn-id: svn://10.0.0.236/trunk@115736 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 21:44:54 +00:00
ian%hixie.ch
b0ca435145 Mozbot spams channels when it notices that tinderbox is down. This makes it shut up when it notices lots of changes. b=126063, r=imajes
git-svn-id: svn://10.0.0.236/trunk@115735 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 21:16:48 +00:00
shanjian%netscape.com
21da91d3b3 #125777 The default fonts for non-native system are incorrect
check preference setting font.name-list.* when setting default font in font preference UI.
r=nhotta, sr=alecf, a=asa


git-svn-id: svn://10.0.0.236/trunk@115734 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 21:06:25 +00:00
ian.mcgreer%sun.com
e82ef1f2a4 bug 125808, fix crash seen with Javi's db
git-svn-id: svn://10.0.0.236/trunk@115733 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 21:06:10 +00:00
cltbld%netscape.com
6d33096b28 updating to set user-agent to 0.9.9+, kysmith checking in as cltbld
git-svn-id: svn://10.0.0.236/trunk@115727 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 17:37:43 +00:00
ian.mcgreer%sun.com
0fd4de720c IMPLEMENT-->EXTERN for header file
git-svn-id: svn://10.0.0.236/trunk@115725 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 17:17:47 +00:00
ian.mcgreer%sun.com
c6c1bc65dc bug 125808, update cert token instances when caching smart card certs that are already cached
git-svn-id: svn://10.0.0.236/trunk@115724 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 17:13:54 +00:00
beard%netscape.com
e5ac95f0ec Needed for Mac OS X 10.1.3 / Darwin 5.3
git-svn-id: svn://10.0.0.236/trunk@115723 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 16:14:41 +00:00
karnaze%netscape.com
a32de30fd5 bug 120364 - remove framelist assertion; have table with height return correct desired height when row group splits. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@115722 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 15:48:56 +00:00
varga%utcru.sk
8149c8bc80 Fix for bug 116484. column picker in outliner: I have to click twice to show / hide columns.
r=varga, sr=sspitzer, a=asa, patch=neil


git-svn-id: svn://10.0.0.236/trunk@115719 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 15:13:40 +00:00
ducarroz%netscape.com
d9ee124943 Back out my previous checkin for bug 109081 because it cause bug 128659. R=n/a, SR=n/a, A=n/a
git-svn-id: svn://10.0.0.236/trunk@115718 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 14:44:31 +00:00
locka%iol.ie
529085615c NOT PART OF BUILD. ActiveX plugin. Treat PARAMs with "True"/"False" values as VT_BOOL properties.
git-svn-id: svn://10.0.0.236/trunk@115717 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 13:55:55 +00:00
peterv%netscape.com
9b34093905 Fixing bustage for standalone Transformiix build.
git-svn-id: svn://10.0.0.236/trunk@115716 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 13:35:54 +00:00
peterv%netscape.com
58d6918fd6 Fixing bustage for standalone Transformiix build.
git-svn-id: svn://10.0.0.236/trunk@115715 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 13:33:35 +00:00
rods%netscape.com
65023cbef8 1) This adds in a new layout atom for the SequenceFrame
2) Now checks all the SeqFrame's children (PageFrames) instead of just the first one
Bug 71609 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@115714 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 12:55:20 +00:00
bbaetz%student.usyd.edu.au
1f814ad3ce Fix typo in checkin for bug 107743.
git-svn-id: svn://10.0.0.236/trunk@115713 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 12:54:36 +00:00
badami%netscape.com
013dbec8be Pasted text from beginning of line always appends a newline
bug=75283 r=bratell@lysator.liu.se sr=jst a=asa patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@115712 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 10:47:19 +00:00
law%netscape.com
e2a6e67a74 Bug 122540; add new component to reset prefs from command line (last bit for mac build); r=dveditz, sr=hewitt, a=asa
git-svn-id: svn://10.0.0.236/trunk@115711 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 10:24:18 +00:00
badami%netscape.com
b21da840a7 Save As generates &apos; in attributes with single quotes
bug=120674 r=adamlock sr=jst a=asa patch=tmureja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@115710 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 10:06:59 +00:00
blakeross%telocity.com
eb8288419b Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115707 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 07:02:54 +00:00
blakeross%telocity.com
ac9c06750c Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115706 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 06:53:03 +00:00
dp%netscape.com
3277ea7abb Working with different flavours of title.
git-svn-id: svn://10.0.0.236/trunk@115705 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 06:51:32 +00:00
pschwartau%netscape.com
cdbfcb8846 Initial add. Regression test for bug 122076.
git-svn-id: svn://10.0.0.236/trunk@115703 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 04:11:47 +00:00
blakeross%telocity.com
bcd434bb05 Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115702 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 04:03:57 +00:00
blakeross%telocity.com
192e083099 Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115701 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 03:58:47 +00:00
shaver%mozilla.org
d20f3f5ea5 Missed a few references to the unioned members (more btek fixage).
git-svn-id: svn://10.0.0.236/trunk@115700 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 03:47:08 +00:00
shaver%mozilla.org
aa01255798 Rest of btek bustage fix (union is aggregate type, wants braces around
initializer).


git-svn-id: svn://10.0.0.236/trunk@115699 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 03:42:57 +00:00
shaver%mozilla.org
b5d7c30d5b Attempt to fix btek bustage by naming the union. a=tinderbox.
git-svn-id: svn://10.0.0.236/trunk@115698 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 03:37:18 +00:00
peterv%netscape.com
ff160c220d Bustage fix.
git-svn-id: svn://10.0.0.236/trunk@115697 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 03:08:17 +00:00
peterv%netscape.com
f1f88d6ea7 Bustage fix.
git-svn-id: svn://10.0.0.236/trunk@115696 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 02:58:03 +00:00
blakeross%telocity.com
0114c269f9 104094 - dragging link to home button results in blank/messed up dialog. r=pink sr=hewitt a=shaver
git-svn-id: svn://10.0.0.236/trunk@115695 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 02:53:51 +00:00
peterv%netscape.com
6aaceba52a Fix for bug 92377 (Build failure: dom/src/base/nsDOMClassInfo.cpp depends on extensions/xmlextras). r=shaver, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115694 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 02:25:08 +00:00
andreww%netscape.com
8ee37f1a4f bug 65995 - edit->properties should be context sensitive. r=hwaara, sr=sspitzer a=dbaron
git-svn-id: svn://10.0.0.236/trunk@115693 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 01:22:18 +00:00
curt%netscape.com
43dca94a2e Update Quick Launch dialog to spec.
(Bug #122683, r=ssu, sr=dveditz, a=dbaron)


git-svn-id: svn://10.0.0.236/trunk@115692 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 00:39:50 +00:00
curt%netscape.com
880634a0ce Required by quick launch dialog.
(Bug #122683, r=ssu, sr=dveditz, a=dbaron)


git-svn-id: svn://10.0.0.236/trunk@115691 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 00:36:18 +00:00
curt%netscape.com
b19cc226e6 Description updates.
(Bug 23975, r=jj, sr=dveditz, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@115689 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 00:03:14 +00:00
bryner%netscape.com
af01c27e5a Bug 128408 - XBL select widgets crash in embedding apps. Fixing the
select binding to load synchronously as it was intended to, and removing
usage of the outlinercols binding to ensure that the OutlinerColFrame is
constructed before the OutlinerBodyFrame.  r=varga, sr=shaver, a=roc.


git-svn-id: svn://10.0.0.236/trunk@115688 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 23:31:26 +00:00
blizzard%redhat.com
52fa0a2506 Fix bug #128685. Always use the local nspr instead of the one on the system. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@115687 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 22:41:36 +00:00
shaver%mozilla.org
035b12c4cf Bugs 128682 and 128416: dragging images that are within links causes drop
of relative image source URL, not absolute link target URL. r=bryner, sr=ben,
a=roc+moz.


git-svn-id: svn://10.0.0.236/trunk@115686 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 22:18:51 +00:00
bbaetz%student.usyd.edu.au
b503102b3d Bug 106377 - processmail rescanall should use lastdiffed
r=justdave, ddkilzer@theracingworld.com


git-svn-id: svn://10.0.0.236/trunk@115685 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 22:06:20 +00:00
blakeross%telocity.com
6917b74a2e 127349 - remove partial favicon support. r=hewitt sr=ben a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@115684 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 19:54:42 +00:00
bernd.mielke%snafu.de
610f6ff57d bug 118980 add some debug code to xul frames to be prepared when xbl controls
break table reflow r=karnaze sr=attinasi a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115683 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 19:53:56 +00:00
bzbarsky%mit.edu
6cd8bbc150 Implement getComputedStyle for text properties. Bug 126319, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi,
a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115682 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 19:44:41 +00:00
blakeross%telocity.com
dbc7acf404 117622 - urlbar search forgets edits. r=ben sr=hewitt a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@115681 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 19:43:30 +00:00
bzbarsky%mit.edu
9c7e23ae29 Fix crashes when printing with xprint. Bug 128551, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=db48x,
sr=sfraser, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115679 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 16:57:52 +00:00
nboyd%atg.com
fbff40cd74 Enter context if need be; JavaAdapters may have callbacks on threads unassociated
with contexts.


git-svn-id: svn://10.0.0.236/trunk@115678 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 16:16:07 +00:00
peterv%netscape.com
b37e8b5854 Fix for bug 127485 (Clean up soap in the mac buildscripts). sr=sfraser, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@115677 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 13:39:10 +00:00
andreas.otte%debitel.net
a2de7f9311 fix bug 127870 [Mozilla thinks it should contact
bla.com@findus.dhs.org] look for the last not the first @ in the
authority section to allow username/password including @, r=dougt,
sr=darin, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@115676 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 11:30:59 +00:00
peterv%netscape.com
2baa8d30af Fix for bug 127485 (Clean up soap in the mac buildscripts). sr=sfraser, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@115675 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 11:19:24 +00:00
peterv%netscape.com
4816045c3f Fix for bug 5794 ([MAC]Aliasing NGLayoutConfigInclude.h to MacConfigInclude.h is evil). sr=sfraser, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@115674 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 10:57:06 +00:00
mhammond%skippinet.com.au
8247777570 New makefiles for Unix/cygwin
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115673 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 10:46:02 +00:00
mhammond%skippinet.com.au
cb8bee44c1 Install tools into the tools directory!
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115672 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 10:44:34 +00:00
bryner%netscape.com
963700aadd Meant to check this in as part of bug 127189. Make the XBL select widget use sizetopopup="always". Not yet turned on.
git-svn-id: svn://10.0.0.236/trunk@115671 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 07:48:38 +00:00
mcafee%netscape.com
07afd54c5f This checkin is making the DomToTextConversionTest hang on sleestack, comet. Backing this out. r=jrgm
git-svn-id: svn://10.0.0.236/trunk@115670 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 07:44:57 +00:00
blakeross%telocity.com
2522cdd3e3 Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115669 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 06:50:04 +00:00
blakeross%telocity.com
e2ef0ce9e8 Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115668 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 06:39:49 +00:00
dveditz%netscape.com
402dfd533d fix zlib double-free crash (bug 126898) contributed by mjc@redhat.com, r=dveditz, sr=shaver, a=asa
git-svn-id: svn://10.0.0.236/trunk@115667 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 06:32:46 +00:00
wtc%netscape.com
7d59ac43e4 Bugzilla bug 128599: link libnss3.so with -R $ORIGIN on Solaris to help it
find libsoftokn3.so.  Fixed an outdated comment in softoken/config.mk.


git-svn-id: svn://10.0.0.236/trunk@115665 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 02:34:32 +00:00
wtc%netscape.com
52b48ed244 Bugzilla bug 112198: use the correct root certs module name for Darwin.
git-svn-id: svn://10.0.0.236/trunk@115664 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 02:29:31 +00:00
varada%netscape.com
4c13063475 fix for 122187 - statusbar hole in message compose window;r=ducarroz;sr=dbienvenu;a=asa
git-svn-id: svn://10.0.0.236/trunk@115663 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 01:48:43 +00:00
brendan%mozilla.org
76d47b021c Runaway recursion safety for Exception and js_ErrorToException.
The latter no longer calls the former via js_ConstructObject, to
minimize failure opportunities when converting an error into an
exception.  Also, the 'stack' property of exception objects
faithfully preserves Unicode in function names and decompiled
actual argument sources.

Also, fun_xdrObject was reversing property order when encoding;
fixed to maximize property tree compression gain.

Also^2, js_ConstructObject was not handling success+not-found
return from FindConstructor.

bug 127136, r=rginda, sr=shaver, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@115662 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 01:01:04 +00:00
stephend%netscape.com
f5fdf12415 Bug 128314. Change 'Newsgroup Messages' to 'Outgoing Newsgroup Messages' in Collected Address prefs. r=jglick/sspitzer, sr=bienvenu, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@115661 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 00:56:46 +00:00
dbaron%fas.harvard.edu
6ef2ae37f0 Fix typo in nsRuleNode::ClearCachedDataInSubtree so it only clears data associated with |aRule|. This fixes a crash since nsStyleContext::ClearStyleData didn't make the same mistake and clean up dangling pointers to the incorrectly deleted data. b=105619 r=bzbarsky sr=brendan a=shaver
git-svn-id: svn://10.0.0.236/trunk@115660 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 00:02:00 +00:00
dp%netscape.com
d16a2c3b7c bug 116023 Parser recycling buffers r=harishd, sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@115658 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 23:09:52 +00:00
dp%netscape.com
7f327f1aa9 bug 119631 nsSlidingString using a delete callback function r=dbaron@fas.harvard.edu, sr=jaggernaut, a=asa
git-svn-id: svn://10.0.0.236/trunk@115656 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 21:22:41 +00:00
ducarroz%netscape.com
8f20158796 Fix for bug 126766. Now that we have resolved all the known issues, we can safely turn on by default the recycled compose window. R=bienvenu, SR=sspitzer, A=asa
git-svn-id: svn://10.0.0.236/trunk@115655 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 21:13:10 +00:00
sicking%bigfoot.com
60ce101e44 Bug 70882. Support embedded XSLT stylesheets. Also fixes 97621.
r=peterv sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@115654 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 21:11:39 +00:00
ducarroz%netscape.com
20c3675c43 Fix for bug 109081. We need to disable the cached window when we hide it to prevent it to get the focus. R=rods, SR=sspitzer, A=asa
git-svn-id: svn://10.0.0.236/trunk@115653 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 21:10:30 +00:00
ducarroz%netscape.com
5c323b2bf0 FIx for bug 109081. Do not try to activate or set the focus on a disabled window. R=rods, SR=alecf, A=asa
git-svn-id: svn://10.0.0.236/trunk@115652 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 21:07:32 +00:00
sicking%bigfoot.com
00d0cd98ea Fix one *nix build bustage
git-svn-id: svn://10.0.0.236/trunk@115651 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 19:35:07 +00:00
sicking%bigfoot.com
370c15e2c8 Bug 122001. Implement txExpandedNameMap. Add QName parsing and some operators to txExpandedName.
r=peterv sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@115650 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 18:39:23 +00:00
blakeross%telocity.com
ff5acec16d 55686 - option-click doesn't save link on mac. r=sdagley sr=hewitt a=shaver
git-svn-id: svn://10.0.0.236/trunk@115649 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 18:02:25 +00:00
morse%netscape.com
441a3172dd bug 87388, cookie module to properly detect third-party cookies, r=dveditz, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@115645 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 16:06:44 +00:00
wtc%netscape.com
e77f26b222 Bugzilla bug 122261: removed an assertion on bad input. Bad input should
be reported by returning a failure status.  Thanks to erl@voxi.com
(Erland Lewin) for the bug report.  r=relyea,kaie.


git-svn-id: svn://10.0.0.236/trunk@115644 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 15:31:25 +00:00
peterv%netscape.com
cd677c6d65 Commiting new files for bug 122001. Checkin for sicking.
git-svn-id: svn://10.0.0.236/trunk@115640 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 10:42:48 +00:00
sicking%bigfoot.com
95be2734e2 Commiting new files for bug 122001
git-svn-id: svn://10.0.0.236/trunk@115638 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 09:35:20 +00:00
sicking%bigfoot.com
02e68e1d98 Bug 96478. Change the use of getAttributeNode and getAttribute to getAttr
r=peterv sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@115637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 09:19:54 +00:00
law%netscape.com
3bf5790c95 Smoketest blocker 128538; backing out fix for bug 125070 which caused that regression
git-svn-id: svn://10.0.0.236/trunk@115636 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 06:30:56 +00:00
morse%netscape.com
471c345a82 fix linux bustage
git-svn-id: svn://10.0.0.236/trunk@115634 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 03:05:48 +00:00
bbaetz%student.usyd.edu.au
88e73ded84 Backing out a bit I didn't mean to check in as part of bug 119657. Oops.
git-svn-id: svn://10.0.0.236/trunk@115633 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 02:44:51 +00:00
blakeross%telocity.com
67617b3e3e Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115632 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 02:32:55 +00:00
andreww%netscape.com
69846e6d74 Fixing timebomb dialogs - bug 125098, r=varada, sr=hewitt, a= roc+moz on behalf of drivers.
git-svn-id: svn://10.0.0.236/trunk@115631 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 02:08:37 +00:00
jpierre%netscape.com
104ab33335 Fix bug 128347 - add -string argument to pass strings to PKCS#11 modules upon addition
git-svn-id: svn://10.0.0.236/trunk@115630 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:56:27 +00:00
morse%netscape.com
1bd627dc7c bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
git-svn-id: svn://10.0.0.236/trunk@115629 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:49:30 +00:00
sspitzer%netscape.com
4ec04895f7 fix for #124995. get non us-ASCII searches to work from addressbook
quick search and advanced search.  r=dmose, sr=bienvenu, a=asa


git-svn-id: svn://10.0.0.236/trunk@115628 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:40:01 +00:00
sspitzer%netscape.com
f9bfe150f7 fix for #71937. remove dead code. r=racham,sr=bienvenu,a=bienvenu
git-svn-id: svn://10.0.0.236/trunk@115627 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:31:34 +00:00
rchen%netscape.com
2e9ea9efce Fix bug 86248 - Drop-down search text in address bar not localizable. r=rchen, sr=hewitt, a=asa (on behalf of drivers) for checkin to the 1.0 trunk
git-svn-id: svn://10.0.0.236/trunk@115626 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:31:00 +00:00
morse%netscape.com
c30bfac365 bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
git-svn-id: svn://10.0.0.236/trunk@115625 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:26:49 +00:00
sspitzer%netscape.com
4d3af7b911 fix for #111895. newsgroups not properly sorted by thread.
r=bienvenu,sr=sspitzer,a=asa.  thanks to Mark Hammond for the fix.


git-svn-id: svn://10.0.0.236/trunk@115624 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:20:32 +00:00
sspitzer%netscape.com
d33de75519 fix for #71952. fix assertions when printing ab cards. r=shliang, sr=bienvenu, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115623 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:18:38 +00:00
sspitzer%netscape.com
0e56cc4e71 fix for #71953. make the edit / new mailing list dialog modal (and centered.)
r=racham, sr=bienvenu, a=asa


git-svn-id: svn://10.0.0.236/trunk@115622 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:16:45 +00:00
sspitzer%netscape.com
e8fb2c3384 bulletproof fix for ab crasher
#127748.  r=racham,sr=bienvenu,a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115620 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:12:58 +00:00
sspitzer%netscape.com
c5a7516615 fix for bug #127299. fix tooltip in advanced search dialogs.
r=racham,sr=bienvenu,a=asa


git-svn-id: svn://10.0.0.236/trunk@115619 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:10:32 +00:00
oeschger%netscape.com
7d3627e07b updating UI in Cert Manager: 'Restore' button should say 'Import', a=asa/drivers for trunk, sr=alecf, r=ssaux, bug=114454
git-svn-id: svn://10.0.0.236/trunk@115618 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:08:25 +00:00
bzbarsky%mit.edu
4e577a0798 "Find nodes fail sometimes". Patch by caillon@returnzero.com
(Christopher Aillon), r=bzbarsky, sr=hewitt, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115617 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:07:10 +00:00
bzbarsky%mit.edu
2a1cd564be Don't throw an uncaught exception on cancel. Bug 91056, patch by
law@netscape.com, r=bzbarsky, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@115616 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:02:16 +00:00
yokoyama%netscape.com
1e9d342ebe Bug:127946
Add remaining accept-languages from Mozilla L10n projects
Files changed:
  language.properties
  languageNames.properties
/r=yokoyama, /a=asa


git-svn-id: svn://10.0.0.236/trunk@115615 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:58:27 +00:00
relyea%netscape.com
692cbbfaac Implement PQG Generate and Verify.
git-svn-id: svn://10.0.0.236/trunk@115614 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:53:11 +00:00
relyea%netscape.com
77f0b9ab02 Implement PKCS #11 2.11 DSA PQG Parameter generation.
git-svn-id: svn://10.0.0.236/trunk@115613 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:52:05 +00:00
relyea%netscape.com
c3fc5f0fb5 Make makepqg build dynamic.
Call the dynamic high-level functions to accomplish the generation.


git-svn-id: svn://10.0.0.236/trunk@115612 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:50:39 +00:00
bzbarsky%mit.edu
a4a11ae91d fix linux bustage. a=law (sheriff)
git-svn-id: svn://10.0.0.236/trunk@115610 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:44:05 +00:00
mcafee%netscape.com
721fea3535 Forgot more debugging stuff
git-svn-id: svn://10.0.0.236/trunk@115609 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:12:56 +00:00
cmanske%netscape.com
ab4f551df5 Fixed setting Save/Publish UI when loading file in Composer, b=127698, r=brade, sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@115608 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:09:00 +00:00
mcafee%netscape.com
568795168b Oops, remove debugging exit command
git-svn-id: svn://10.0.0.236/trunk@115606 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:05:54 +00:00
mcafee%netscape.com
490f3e947f Added PrintUsage. Broke up module/dir conversion into parts, so we have access to list of modules, list of directories.
git-svn-id: svn://10.0.0.236/trunk@115605 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:04:47 +00:00
radha%netscape.com
6fcdea4df3 Fix for bug # 124427. Make sure subframes get the proper loadType when it is loaded
from a onLoadHandler. r=adamlock sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@115604 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:56:48 +00:00
ftang%netscape.com
7bee9d2667 fix bug 126744 change the platform charset for simp chinese and korean to
GB18030 and x-windows-949
r=yokoyama/jsin sr=alecf a=alecf


git-svn-id: svn://10.0.0.236/trunk@115603 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:55:41 +00:00
ftang%netscape.com
0306556cc3 fix bug 126533. add minority script to GB18030-1 converter
r=katakai sr=kin a=asa


git-svn-id: svn://10.0.0.236/trunk@115602 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:53:53 +00:00
law%netscape.com
93ee0059c5 Bug 122540; build new component on win32/unix; r=dveditz, sr=hewitt, a=asa
git-svn-id: svn://10.0.0.236/trunk@115601 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:51:21 +00:00
dp%netscape.com
9fd5ab8a9b bug 127959 Increasing buckets from 6 to 9. Fixing free mismatch on gs->hold. r=pavlov, sr=alecf, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115599 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:47:50 +00:00
cmanske%netscape.com
36b644d370 Fixed toolbar in Classic theme for Composer, b=127425, r=neil@parkwaycc.co.uk, sr=sfraser, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@115598 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:46:23 +00:00
serge%netscape.com
13aec58b3b bug 127928 crash from talkback reports [@ nsPluginStreamListenerPeer::OnDataAvailable],r=peterl,sr=beard,a=asa
git-svn-id: svn://10.0.0.236/trunk@115597 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:44:17 +00:00
law%netscape.com
1d15e09d55 Bug 122540; add new component that implements a cmd line handler for -resetPref to allow installer to reset preferences on first startup; r=dveditz, sr=hewitt, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@115596 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:39:43 +00:00
ssu%netscape.com
dc70a490b5 checking in patch for yxia@netscape.com. fixes bug 99685 - Need to externalize the initial size of Offline and Diskspace window on account manager. r=ssu sr=sspitzer a=asa
git-svn-id: svn://10.0.0.236/trunk@115594 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:37:11 +00:00
brendan%mozilla.org
a72d288b1a Fix topcrash regression from bug 62164: keep track of duplicate kids below the root ply of the property tree, so we can fix up each dup's parent link (128258, r=shaver, sr=jband, a=asa).
git-svn-id: svn://10.0.0.236/trunk@115593 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:30:33 +00:00
brendan%mozilla.org
3d69a522d5 Fix call_enumerate to reflect compiler-created properties from function to its call object (127557, r=jband, sr=shaver, a=asa).
git-svn-id: svn://10.0.0.236/trunk@115592 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:26:09 +00:00
bzbarsky%mit.edu
6cc73ab3e6 Enable printing with XPrint's raster driver. Bug 127657, patch by
Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>, r=timeless,
sr=attinasi, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115591 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:25:03 +00:00
stephend%netscape.com
8701e27250 Bug 127881. View Menu: Messages: Threaded item should be removed. r=ssu@netscape.com, sr=bienvenu@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115590 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 22:42:29 +00:00
zach%zachlipton.com
9d9d7f0421 Fix for bug 127524: checksetup.pl fails with XML::Parser error
Patch by Zach Lipton (zach@zachlipton.com) and by Tobias Burnus
(burnus@gmx.de). r=justdave, r2=zach


git-svn-id: svn://10.0.0.236/trunk@115589 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 22:40:48 +00:00
mostafah%oeone.com
fef881bb92 Added ability to Snooze Alarms. Removed asserts to prevent crash on an erroneous calendar file
git-svn-id: svn://10.0.0.236/trunk@115588 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 22:07:45 +00:00
pschwartau%netscape.com
479c37d192 Skip new test that uses the Error.stack property of SpiderMonkey.
git-svn-id: svn://10.0.0.236/trunk@115587 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 21:58:23 +00:00
pschwartau%netscape.com
fb65be4af3 Initial add. Testing the Error.stack property of SpiderMonkey. This is an ECMA extension.
git-svn-id: svn://10.0.0.236/trunk@115586 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 21:50:18 +00:00
ian.mcgreer%sun.com
854e42c594 modify last patch to only take effect if the slot certs are not publicly readable, and to not update the token cert list more than once
git-svn-id: svn://10.0.0.236/trunk@115583 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 21:43:57 +00:00
mostafah%oeone.com
844a7715e3 Revised javascript test
git-svn-id: svn://10.0.0.236/trunk@115582 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 21:43:14 +00:00
mostafah%oeone.com
fe833d390b Removed unused header file
git-svn-id: svn://10.0.0.236/trunk@115581 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 21:41:27 +00:00
blakeross%telocity.com
c32accad45 Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115579 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 21:29:45 +00:00
blakeross%telocity.com
adc53c0103 Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115577 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 21:24:57 +00:00
blizzard%redhat.com
a15d7e5b23 Split nss and nspr out into their own packages. Doesn't affect the default build.
git-svn-id: svn://10.0.0.236/trunk@115574 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 17:34:50 +00:00
alecf%netscape.com
1d7f092dc2 move debug output to STDERR
git-svn-id: svn://10.0.0.236/trunk@115573 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 17:28:50 +00:00
ian.mcgreer%sun.com
d463321358 another fix for bug 125808, force update of cache after login/logout
git-svn-id: svn://10.0.0.236/trunk@115572 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 16:28:53 +00:00
wtc%netscape.com
b7c25d95a7 Bugzilla bug 112987: merged changes contributed by FreeBSD developer
Jeremy <reg@shale.csir.co.za>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@115571 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 16:08:12 +00:00
mkaply%us.ibm.com
27e272068d #62175
r=mkaply, sr=blizzard, a=shaver
Os/2 only - Do the right thing with regards to vertical fonts on DBCS


git-svn-id: svn://10.0.0.236/trunk@115570 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 14:16:23 +00:00
brade%netscape.com
cf51ffc0bc use persist constants, set persist flags for no base tag mods, set linebreaks to crlf if we aren't saving (file scheme); bug 125070 and ?; r=adamlock; sr=sfraser; a=roc
git-svn-id: svn://10.0.0.236/trunk@115569 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 14:11:36 +00:00
myk%mozilla.org
df5dcd1798 Fix for bug 99209: Display links on dependency tree page for modifying dependent bugs.
Patch by Myk Melez <myk@mozilla.org>.
r=kiko,bbaetz


git-svn-id: svn://10.0.0.236/trunk@115568 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 14:03:55 +00:00
myk%mozilla.org
e1a2bc2fe4 Fix for bug 128437: correctly display default values for new preferences on the "email preferences" tab.
Fix by Myk Melez <myk@mozilla.org>.
r=jake,justdave


git-svn-id: svn://10.0.0.236/trunk@115567 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 13:59:59 +00:00
myk%mozilla.org
e2311b3c25 Fix for bug 128422: Fixes serious tree horkage where everyone gets email on all changes regardless of email preferences.
Fix by Myk Melez <myk@mozilla.org>.
r=gerv@mozilla.org, waiting on second review but checking in now due to severity of bug.


git-svn-id: svn://10.0.0.236/trunk@115566 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 13:20:07 +00:00
badami%netscape.com
4de1fca0c2 Leaking nsCStringKey objects
bug 73308 r=valeski sr=shaver a=brendan patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@115565 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 09:28:55 +00:00
racham%netscape.com
adaa84d070 Fixing bug 125065. Fixing focus problems with new addressbook card. This fix allows the first field in the new card window to gain focus via setTimeout(). r=law, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@115564 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 08:32:16 +00:00
aaronl%netscape.com
909c8ae3f4 Bug 125295. Active Accessibility: HTML <button> element should be a leaf. r=jgaunt, sr=hewitt, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115563 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 07:27:33 +00:00
aaronl%netscape.com
db960d1dce Bug 127277. accValue incorrect return values. r=jgaunt, sr=hewitt, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115562 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 07:27:29 +00:00
justdave%syndicomm.com
c257f09d8a Fix for bug 112537: Missing bug summaries in dependencytree view w/ depth limit
Patch by Andreas Franke <afranke@ags.uni-sb.de>
r= bbaetz, gerv


git-svn-id: svn://10.0.0.236/trunk@115561 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 06:46:51 +00:00
mhammond%skippinet.com.au
0d1e5c8014 Better messages on common exceptions.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115560 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 06:27:54 +00:00
mhammond%skippinet.com.au
034a317c33 Catch a few common exceptions, and report them nicely - save the user
wading through screens of traceback information just to find they
spelt an interface name wrong.


git-svn-id: svn://10.0.0.236/trunk@115559 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 06:26:14 +00:00
mhammond%skippinet.com.au
e0534d95e1 Make the repr() of an xpcom object list more information, including
any interfaces supported.  Relies on class info, so doesn't work for
all objects.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@115558 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 06:24:38 +00:00
bbaetz%student.usyd.edu.au
a0bfcec93b Bug 127318 - push UserInGroup to templates
r=jake x 2


git-svn-id: svn://10.0.0.236/trunk@115557 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 06:01:12 +00:00
bbaetz%student.usyd.edu.au
64e009df7b Bug 119657 - template error checking
r=gerv, justdave


git-svn-id: svn://10.0.0.236/trunk@115556 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 05:57:43 +00:00
pavlov%netscape.com
7a9a29e46c fixing typo on return. should be NS_OK instead of PR_TRUE.
git-svn-id: svn://10.0.0.236/trunk@115555 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 05:40:43 +00:00
bbaetz%student.usyd.edu.au
86c9042fd1 Bug 107743 - post_bug.cgi doesn't properly validate parameters
r=gerv, justdave


git-svn-id: svn://10.0.0.236/trunk@115554 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 05:39:25 +00:00
brendan%mozilla.org
ceae945ef2 Fix GC_MARK_DEBUG #ifdef'd code (not part of default build; r=polarbear, sr=shaver, a=dbaron).
git-svn-id: svn://10.0.0.236/trunk@115553 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 05:22:26 +00:00
tingley%sundell.net
8fa9272d6f Checkin for timeless@bemail.org to fix bug 128223: don't assert if a child
datasource doesn't return an (empty) enumerator along with NS_RDF_NO_VALUE.
r=tingley, sr=darin, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115552 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 04:33:11 +00:00
bbaetz%student.usyd.edu.au
5fd1019b70 Bug 128234/128045 - http proxy was being tried even when the protocol
didn't allow it.
r=dougt, sr=darin, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@115551 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 03:51:26 +00:00
blakeross%telocity.com
f5dcb16a4d Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115550 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 03:37:55 +00:00
relyea%netscape.com
1daa551aa1 Don't go searching for the matching certs if they weren't on the token the
private key lived on.


git-svn-id: svn://10.0.0.236/trunk@115549 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 02:15:00 +00:00
relyea%netscape.com
2ce0acd912 When we free the clists, clear out our head pointer (don't keep pointing to
freed memory);


git-svn-id: svn://10.0.0.236/trunk@115548 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 02:13:42 +00:00
nelsonb%netscape.com
4d292871d6 Fix Usage message. Add missing \n to string.
git-svn-id: svn://10.0.0.236/trunk@115547 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 01:53:07 +00:00
leaf%mozilla.org
abf938de72 change for windows release build optimization, r=cls a=shaver
git-svn-id: svn://10.0.0.236/trunk@115545 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 01:01:42 +00:00
law%netscape.com
a446ec6523 Bug 113727; improved UI for Page Setup dialog; r=sgehani, sr=blake, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@115540 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:51:47 +00:00
law%netscape.com
694dd0619b Bug 126850; delay focusing of first dialog element till after onload (workaround for bug 103197); r=jag, sr=hewitt, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@115539 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:38:26 +00:00
jpierre%netscape.com
4c33c446dc Fix for 128355 - add SECMOD_AddNewModuleEx to take module parameters
git-svn-id: svn://10.0.0.236/trunk@115538 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:37:42 +00:00
law%netscape.com
522f17a6a3 Bug 127915; make textbox's html:input inherit tabindex; r=sgehani, sr=blake, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@115537 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:34:01 +00:00
law%netscape.com
93de6465b2 Bug 126583; add webbrowserpersist properties file to jar on Mac so download error message text is available; r=bzbarsky, sr=jag, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@115536 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:31:14 +00:00
bryner%netscape.com
57dc09386a One last .cvsignore fixup. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@115535 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:22:07 +00:00
bzbarsky%mit.edu
b2eb75e1c1 Make view-source a lot faster on bidi pages by breaking up the page into
multiple blocks.  Bug 86355, r=rbs, sr=jst, a=asa/shaver


git-svn-id: svn://10.0.0.236/trunk@115533 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:07:48 +00:00
dougt%netscape.com
6ed0398082 Disables NSGetFactory support from XPCOM. sr=shaver@mozilla.org, r=dp@netscape.com, a=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115532 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:06:35 +00:00
dp%netscape.com
c7d3cfd4eb (again) bug 127941 Fixing leak of bucket memory; memset to 0 only if zeroit is
set. r=dougt, sr&a=shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@115531 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:03:58 +00:00
bzbarsky%mit.edu
fb88c1c256 target="_new" blocking should not block "_self", "_content", etc. Bug
126003, r=akkana, sr=rpotts, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115530 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:02:46 +00:00
bzbarsky%mit.edu
ab8ef802d5 make "save as" offer the "web page, complete" option on ebay and on
other such pages where the server sends no content type.

Bug 128162, r=law, sr=jag, a=shaver.


git-svn-id: svn://10.0.0.236/trunk@115529 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:00:14 +00:00
bzbarsky%mit.edu
4c412642a0 Make us handle type:application/x-gunzip, encoding:gzip. Bug 128177,
r=bbaetz, sr=darin, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115528 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:54:58 +00:00
sgehani%netscape.com
d9f66c585b Hide print button, scaling widgets, and orientation widgets.
b=127699; r=law; sr=jag; a=asa


git-svn-id: svn://10.0.0.236/trunk@115527 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:54:27 +00:00
danm%netscape.com
8a71c22a7d basic implementation of new method nsIWidget::IsEnabled. bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115525 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:34:51 +00:00
danm%netscape.com
83a2d3351f filter mousedown and drag events depending on target window's enabled state. bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115524 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:27:20 +00:00
blakeross%telocity.com
1ba1069e60 Readding line inadvertantly removed when I checked in the fix for 53496. r=hewitt sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@115523 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:27:05 +00:00
danm%netscape.com
85686b425c implement new method topLevelWindowIsModal. bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115522 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:25:14 +00:00
danm%netscape.com
e86ba7ca20 add method topLevelWindowIsModal. bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115521 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:24:31 +00:00
danm%netscape.com
7e4cc26c7b implement new attribute nsIBaseWindow::enabled and inform the appshellservice of modal windows. bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115520 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:23:43 +00:00
danm%netscape.com
a4ebf6625d implement new attribute nsIBaseWindow::enabled. bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115519 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:22:55 +00:00
danm%netscape.com
0b57d4aa2f add new attribute "enabled". bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115518 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:19:04 +00:00
danm%netscape.com
640add85a6 implement new method nsIWidget::IsEnabled and gut ModalEventFilter. bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115517 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:16:16 +00:00
danm%netscape.com
9cc420a417 basic implementation of new method nsIWidget::IsEnabled. b ug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115516 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:10:04 +00:00
danm%netscape.com
eb210e0f11 add new method IsEnabled. bug 126786 r=hyatt,rginda,rods a=asa
git-svn-id: svn://10.0.0.236/trunk@115515 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:09:34 +00:00
morse%netscape.com
cd3608bd1c bug 126360, hide p3p choice if p3p is not installed, r=sgehani,sr=jag,a=asa
git-svn-id: svn://10.0.0.236/trunk@115514 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:00:19 +00:00
ian.mcgreer%sun.com
3711f08f77 bug 125808, refresh trust and slot pointers of cert after token removal/insertion
git-svn-id: svn://10.0.0.236/trunk@115513 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:55:30 +00:00
rbs%maths.uq.edu.au
2ebf6ced5f re-fix bug 125541 - Need sample MathML page for what's new in m0.9.9. Fixed weird stretchy integral sign due to platform differences in FillRect(). Improved wording of the message that alerts the user about missing MathML fonts and made the dialog non-modal, r=roc+moz, sr=attinasi, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115512 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:39:43 +00:00
ducarroz%netscape.com
9e23424495 Fix for bug 127877. Fully rewrite the function that build the attachment list. R=varada, SR=bienvenu, A=asa
git-svn-id: svn://10.0.0.236/trunk@115511 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:39:34 +00:00
bstell%ix.netcom.com
693a145d66 bug 127063, add TrueType support for MathML
r=rbs, sr=shaver, a=leaf, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115510 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:37:16 +00:00
kin%netscape.com
9915882306 Fix for bug 127211 (Events don't get to an IFRAME unless it is scrolled to the top of its parent)
Modified GetOriginToViewOffset() so that it stops traversing view's parent hierarchy if it runs across a frame with a different ViewManager.

r=kmcclusk@netscape.com  sr=roc+moz@cs.cmu.edu  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@115509 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:34:47 +00:00
kin%netscape.com
89fd8b91ad Fix for bug 127368 (Can't type in textfields in pages with an iframe and body with marginheight and marginwidth=0)
Modified HandleEvent() to prevent forwarding KeyEvents to views with a different ViewManager.

r=roc+moz@cs.cmu.edu  sr=sfraser@netscape.com  a=shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@115508 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:30:01 +00:00
radha%netscape.com
af3483a885 Fix for bug # 105299. Loop through all the subframes to make sure all url
changes are reloaded when going back and forward. r=adamlock. sr=alecf a=shaver


git-svn-id: svn://10.0.0.236/trunk@115507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:22:35 +00:00
pinkerton%netscape.com
ddc4e56e6d api for overriding aspects of content-area drag&drop. r=ccarlen/sr=sfraser/a=shaver. bug# 126069
git-svn-id: svn://10.0.0.236/trunk@115506 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:19:04 +00:00
relyea%netscape.com
a81db5e449 Fix PSM name problem.
Fix crash when trying to access/delete an non-existant object.


git-svn-id: svn://10.0.0.236/trunk@115505 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 21:30:13 +00:00
relyea%netscape.com
5aa10f8236 Load builtins even if we are openning the database read only.
git-svn-id: svn://10.0.0.236/trunk@115504 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 21:28:47 +00:00
ian.mcgreer%sun.com
ed3713311b bug 126653, intermediate cert should have valid CA trust
git-svn-id: svn://10.0.0.236/trunk@115503 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 19:41:51 +00:00
timeless%mac.com
0af279e6fb Bug 128120ÿPrinting fails after first invocation
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=blizzard a=suresh [sheriff]


git-svn-id: svn://10.0.0.236/trunk@115502 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 19:32:14 +00:00
rbs%maths.uq.edu.au
d99d81c2f3 backing out - got confused about the status of the tree...
git-svn-id: svn://10.0.0.236/trunk@115501 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 19:28:11 +00:00
rbs%maths.uq.edu.au
fde0bdcdaa bug 125541 - Need sample MathML page for what's new in m0.9.9. Fixed weird stretchy integral sign due to platform differences in FillRect(). Improved wording of the message that alerts the user about missing MathML fonts and made the dialog non-modal, r=roc+moz, sr=attinasi, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115500 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 19:11:02 +00:00
dp%netscape.com
c2fbab4ccf Backing out earlier change. Tree isn't open for checkin yet. Sorry.
git-svn-id: svn://10.0.0.236/trunk@115499 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 18:36:26 +00:00
dp%netscape.com
ad1315f3be bug 127941 Fixing leak of bucket memory; memset to 0 only if zeroit is
set. r=dougt, sr&a=shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@115498 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 18:30:48 +00:00
aaronl%netscape.com
99b8dde3e1 Backing out Bug 125295. (Smoktests not finished) Active Accessibility: HTML <button> element should be a leaf. r=jgaunt, sr=hewitt, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115497 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 18:18:42 +00:00
aaronl%netscape.com
7c7e7b9c1e Backing out Bug 127277. (Smoktests not finished) accValue incorrect return values. r=jgaunt, sr=hewitt, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115496 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 18:18:39 +00:00
aaronl%netscape.com
4b4d43644c Bug 125295. Active Accessibility: HTML <button> element should be a leaf. r=jgaunt, sr=hewitt, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115495 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 18:14:54 +00:00
aaronl%netscape.com
e63f7c5f2c Bug 127277. accValue incorrect return values. r=jgaunt, sr=hewitt, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115494 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 18:14:49 +00:00
ftang%netscape.com
3fa24b0448 fix bug 116882. r=nhotta sr=kin a=roc+moz
change the error handling behavior compatable to IE6.
display middle dot instead of ?for undefined character


git-svn-id: svn://10.0.0.236/trunk@115493 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 15:47:10 +00:00
seawood%netscape.com
0af0b9cffe Check for system version of freetype >= 2.0.8 for those of us building in objdirs.
Fix problem with sub-configures getting unnecessary additional options.
Bug #126919 r=bryner a=shaver


git-svn-id: svn://10.0.0.236/trunk@115492 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 15:43:17 +00:00
dcone%netscape.com
2bc4e3cbf3 b=37685 r=rods a=attinasi a=roc+moz. Put in substitute fonts for the pre. Use the correct metrics for
bold and italic fonts.  All this work is for Postscript on linux.


git-svn-id: svn://10.0.0.236/trunk@115491 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 14:48:16 +00:00
brade%netscape.com
6eec4a407f Calculate file extension based on existing extension (if it matches content type) before defaulting to primary extension (bug 125070). Don't do base tag modifications if flag is set (bug 127765). r=adamlock, sr=sfraser, r=roc
git-svn-id: svn://10.0.0.236/trunk@115490 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 14:12:57 +00:00
brade%netscape.com
0f6124893c add new flags; bug 125070, r=adamlock, sr=sfraser, a=roc
git-svn-id: svn://10.0.0.236/trunk@115489 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 14:09:07 +00:00
mcafee%netscape.com
f0d879b4c3 Adding mozilla/include to core build files.
git-svn-id: svn://10.0.0.236/trunk@115488 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 10:35:11 +00:00
mcafee%netscape.com
e608138d48 --enable-standalone-modules
git-svn-id: svn://10.0.0.236/trunk@115487 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 10:23:36 +00:00
mcafee%netscape.com
cfb03c182f first add
git-svn-id: svn://10.0.0.236/trunk@115486 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 08:11:51 +00:00
timeless%mac.com
0bebb95ceb Bug 127700 timelineservice initialization isn't well wrapped
r=bzbarsky sr=sspitzer a=shaver


git-svn-id: svn://10.0.0.236/trunk@115485 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 07:51:38 +00:00
bryner%netscape.com
25727f6104 Removing unused unix-dns.* files (bug 38061). r=alecf, sr=darin, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@115484 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 07:46:14 +00:00
mcafee%netscape.com
513b02ab47 Not part of build, part of future build mechanism. Fixing typo.
git-svn-id: svn://10.0.0.236/trunk@115483 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 07:44:07 +00:00
bryner%netscape.com
a50077091c bug 127189 - changing the sizetopopup attribute to have two valid "on" modes: "pref", which sets the preferred size to the popup size, and "always", which sets both the preferred and min size to the popup size. Converting all current users of sizetopopup=true to sizetopopup=pref. r=saari, sr=hyatt, s=shaver.
git-svn-id: svn://10.0.0.236/trunk@115482 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 07:28:39 +00:00
seawood%netscape.com
9c658700c1 Realigning ./configure --help output
git-svn-id: svn://10.0.0.236/trunk@115481 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 07:18:12 +00:00
seawood%netscape.com
e53617a1dc Aligning ./configure --help output.
git-svn-id: svn://10.0.0.236/trunk@115480 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 07:17:21 +00:00
leaf%mozilla.org
6e385fd8ea Automated update
git-svn-id: svn://10.0.0.236/trunk@115479 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 07:11:50 +00:00
seawood%netscape.com
37b88b6c8b Check for system version of freetype >= 2.0.8 for those of us building in objdirs.
Fix problem with sub-configures getting unnecessary additional options.
Bug #126919 r=bryner a=shaver


git-svn-id: svn://10.0.0.236/trunk@115478 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 07:00:59 +00:00
varga%utcru.sk
f9602bf1b6 Fix for 123109. crash when trying to view XBL Bindings in DOM Inspector.
- don't destroy outliner body frame for now
r=bryner, sr=hewitt, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115477 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 06:50:05 +00:00
matty%chariot.net.au
81f96700be Bug 117060 broke the tree, fixing the breakage.
git-svn-id: svn://10.0.0.236/trunk@115476 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 06:47:16 +00:00
hewitt%netscape.com
034250f695 90337 - urlbar not responsive to enter key, r=hyatt, sr=blake, a=roc
git-svn-id: svn://10.0.0.236/trunk@115475 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 06:18:00 +00:00
cathleen%netscape.com
cc630ddcfb backout nsCRT.h change. put back nsCRT::strlen(char* s). tree is burning out of control. I swear it builds on my machine! :-( Will need to evaluate and try later
git-svn-id: svn://10.0.0.236/trunk@115474 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 05:23:40 +00:00
cathleen%netscape.com
2de3f624f6 fix build bustage due to nsCRT::strlen(char* s) removed
git-svn-id: svn://10.0.0.236/trunk@115473 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 05:14:10 +00:00
cathleen%netscape.com
53c3ffa4c8 fix build bustage, due to nsCRT::strlen(char* s) removed
git-svn-id: svn://10.0.0.236/trunk@115472 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 05:00:18 +00:00
cathleen%netscape.com
99f53a6a0f fix bustage due to nsCRT::strlen(char* s) removed
git-svn-id: svn://10.0.0.236/trunk@115471 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 04:55:04 +00:00
peterlubczynski%netscape.com
2242c38798 Fix for topcrash attempting to paint a null frame, bug 110650 r=kmcclusk@netscape.com sr=beard
git-svn-id: svn://10.0.0.236/trunk@115470 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 04:54:50 +00:00
peterlubczynski%netscape.com
9dcf52c85b Fix for only opening initial streams for plugins if we can handle it internally. This fixes RealPlayer popping up as a helper application for rstp:// protocols bug 85539 r=av sr=darin
git-svn-id: svn://10.0.0.236/trunk@115469 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 04:47:08 +00:00
cathleen%netscape.com
102fd63c1f eliminate nsCRT::strlen for char* strings (final part), bug 124536 r=dp sr=brendan a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@115468 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 04:11:37 +00:00
mcafee%netscape.com
21b412d3f3 Not part of build. Adding stdin to argv list.
git-svn-id: svn://10.0.0.236/trunk@115466 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 02:24:57 +00:00
cmanske%netscape.com
ad9eb15021 Check for null mDocument in nsXULElement::DispatchEvent
git-svn-id: svn://10.0.0.236/trunk@115464 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 01:47:40 +00:00
ian.mcgreer%sun.com
2da9c0987b misdeclared function signature
git-svn-id: svn://10.0.0.236/trunk@115461 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 01:32:32 +00:00
mcafee%netscape.com
f190fa25b0 turned debug on by accident.
git-svn-id: svn://10.0.0.236/trunk@115460 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 00:41:21 +00:00
blakeross%telocity.com
3082e46795 91022 - searching in history doesn't work. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@115459 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 00:35:37 +00:00
seawood%netscape.com
4be5190aa4 Fix eternal loop caused by building on win32 & having dos-lineendings enabled.
r=bryner a=leaf


git-svn-id: svn://10.0.0.236/trunk@115458 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 00:24:25 +00:00
mstoltz%netscape.com
c4499c97cc Bug 127938 - chrome scripts should be exempt from the security check put in for
bug 105050, on access to the opener property when the opener is a mail window.
r=pavlov, sr=jst, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@115457 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 00:22:59 +00:00
gerv%gerv.net
011459ed64 Bug 117060 - templatise userprefs.cgi. We also get a nice new set of tabs and a properly-tabulated email prefs section.
git-svn-id: svn://10.0.0.236/trunk@115456 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 00:14:01 +00:00
bbaetz%student.usyd.edu.au
3ab0c59a74 Bug 127519 - error after change columns
r=afranke, dkl


git-svn-id: svn://10.0.0.236/trunk@115455 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 00:13:00 +00:00
dp%netscape.com
67ee301f6b Installing .pl scripts to bin directory
git-svn-id: svn://10.0.0.236/trunk@115454 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 00:06:36 +00:00
bryner%netscape.com
bfb475b6c9 Adding missing .cvsignore files. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@115453 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 23:53:14 +00:00
ian.mcgreer%sun.com
1e75bfc90c fix aix bustage
git-svn-id: svn://10.0.0.236/trunk@115450 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 23:17:12 +00:00
dp%netscape.com
289a9859cd Removed DEBUG statements.
git-svn-id: svn://10.0.0.236/trunk@115449 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 22:43:52 +00:00
dp%netscape.com
63eb66a2a3 Conforming to the new format of dump with regions and uncommited frees.
git-svn-id: svn://10.0.0.236/trunk@115448 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 22:43:16 +00:00
ian.mcgreer%sun.com
ee50e62257 bug 125808, smart card cache fixes
git-svn-id: svn://10.0.0.236/trunk@115447 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 22:41:56 +00:00
dp%netscape.com
a2411d6068 bug 127092 Fine tuning heap dump output to detect regions and
uncommitted free


git-svn-id: svn://10.0.0.236/trunk@115446 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 22:36:08 +00:00
ian.mcgreer%sun.com
185ed3d0f6 fix looking up a key on a token
git-svn-id: svn://10.0.0.236/trunk@115445 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 22:12:06 +00:00
bishakhabanerjee%netscape.com
1ce1f61b7f Bug 127785 - checked in cseawood's patch
git-svn-id: svn://10.0.0.236/trunk@115443 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 21:49:41 +00:00
rjc%netscape.com
4073594551 Fix bug # 127763: on Mac OS X, sheets shouldn't deactivate their parent window's frame. r=pink sr=sfraser a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@115442 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 21:40:32 +00:00
ian.mcgreer%sun.com
c8a065c248 partial fix for bug 125808, if the otken is not logged in when the cert cache loading is done, retry later
git-svn-id: svn://10.0.0.236/trunk@115441 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 21:36:19 +00:00
blakeross%telocity.com
dd9621d65e 127506 - typed urls don't appear in global history. r=hewitt sr=alecf a=asa
git-svn-id: svn://10.0.0.236/trunk@115440 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 21:27:23 +00:00
jdunn%netscape.com
5314fb0a2c fixing hp-ux tinderbox (commercial) bustage
r=bstell@netscape.com
a=shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@115439 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 21:19:24 +00:00
oeschger%netscape.com
2d6732e6d1 these syntax updates fell through the cracks of the Monday check-in for restoring context-sensitive help, r=andrew, security r=ssaux, sr=alecf, a=asa, bug=124902
git-svn-id: svn://10.0.0.236/trunk@115438 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 21:12:23 +00:00
mikep%oeone.com
8852fa5c75 Turning off safe saves always.
git-svn-id: svn://10.0.0.236/trunk@115437 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 21:04:07 +00:00
shrutiv%netscape.com
147f64f4c1 Changing page title
git-svn-id: svn://10.0.0.236/trunk@115436 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 19:56:41 +00:00
despotdaemon%netscape.com
c99b277334 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@115435 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 19:41:47 +00:00
wtc%netscape.com
df64ab2a97 Bugzilla bug 108021: removed unused variable 'validity'.
git-svn-id: svn://10.0.0.236/trunk@115434 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 19:39:26 +00:00
shrutiv%netscape.com
ee7e1ff729 Fix for bugscape bug 11923: Modify 'Specify platform information screen'
git-svn-id: svn://10.0.0.236/trunk@115433 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 19:32:48 +00:00
relyea%netscape.com
ace4e0564e remove LastUpdate time checks from Crl's when verifying certificates.
git-svn-id: svn://10.0.0.236/trunk@115432 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 18:56:24 +00:00
brade%netscape.com
f922d593e8 add vk_help constant; bug 124393; r=joki; sr=sfraser; a=roc
git-svn-id: svn://10.0.0.236/trunk@115431 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 18:44:48 +00:00
pschwartau%netscape.com
977eb67d39 Improved regexp reporting for Rhino by imitating SpiderMonkey's Array.toSource() method.
git-svn-id: svn://10.0.0.236/trunk@115430 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 18:36:46 +00:00
relyea%netscape.com
498b19f4ab Don't crash on when adding certs with null url's .
git-svn-id: svn://10.0.0.236/trunk@115429 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 16:59:33 +00:00
relyea%netscape.com
2fd301c4bb The KRL reserved handled should be different from the primordial CRL handle
so that CRL matching code will work correctly.


git-svn-id: svn://10.0.0.236/trunk@115428 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 16:57:45 +00:00
ftang%netscape.com
bfa7065961 fix bug 119047. r=nhotta a=asa sr=jst.
fix the ISO-2022-JP converter so it will return error code while it hit encoding error.


git-svn-id: svn://10.0.0.236/trunk@115427 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 15:56:22 +00:00
ftang%netscape.com
0e2f0b5e4e fix bug 117422. a=asa r=jkeiser sr=jst
make the fallback handling of unicode converter compatable with IE6.


git-svn-id: svn://10.0.0.236/trunk@115426 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 15:49:54 +00:00
rjesup%wgate.com
04ea03f366 Bug 94336: crash when viewing animated GIF with subsequent frame larger
than header.  r=pavlov, sr=tor, a=asa


git-svn-id: svn://10.0.0.236/trunk@115425 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 15:30:29 +00:00
oeschger%netscape.com
2352f5115a couple old links in toc->content, axel spotted um, r=oeschger, content bug is 122806
git-svn-id: svn://10.0.0.236/trunk@115424 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 15:19:51 +00:00
pinkerton%netscape.com
865e375f71 fix scrollwheel issues for os9. we can't rely on the mouse location from GetMouse() because of os hackery w/in the mouse drivers. just fake the mouse position local to the widget we're using. r=brade/sr=sfraser/a=shaver.
git-svn-id: svn://10.0.0.236/trunk@115423 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 14:57:48 +00:00
rods%netscape.com
5a450351db Fix up layout for RTL after areaframe jumbles frames.
Bug 118509 r=dcone sr=attinasi a=shaver


git-svn-id: svn://10.0.0.236/trunk@115421 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 13:03:00 +00:00
cbiesinger%web.de
f900c9c17f fixing bustage
git-svn-id: svn://10.0.0.236/trunk@115420 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 12:57:59 +00:00
cbiesinger%web.de
1face598cb bug 127252 r=gagan sr=darin a=asa
about:config should use redirector


git-svn-id: svn://10.0.0.236/trunk@115418 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 11:54:35 +00:00
rginda%netscape.com
571105f5e4 - venkman only -
part of bug 109652, "Venkman needs to profile" r=peterv,a=shaver
add profiling support to debugger front end


git-svn-id: svn://10.0.0.236/trunk@115417 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 10:14:32 +00:00
kaie%netscape.com
cc572f4f37 b=125259 r=rangansen sr=shaver a=asa
Edit CA dialog misshaped


git-svn-id: svn://10.0.0.236/trunk@115416 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 09:50:21 +00:00
rginda%netscape.com
741acbe78c part of bug 109652, "Venkman needs to profile" r=peterv,r=a=shaver
add profiling support.


git-svn-id: svn://10.0.0.236/trunk@115415 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 09:24:14 +00:00
rginda%netscape.com
af78329b48 part of bug 109652, "Venkman needs to profile"
sr=brendan, r=peterv, a=shaver
add JS_Now to the jsapi, and JS_GetScriptVersion to jsdbgapi


git-svn-id: svn://10.0.0.236/trunk@115414 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 09:17:21 +00:00
despotdaemon%netscape.com
fa97833f1a Pseudo-automatic update of changes made by john.marmion@ireland.sun.com.
git-svn-id: svn://10.0.0.236/trunk@115413 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 09:12:49 +00:00
mcafee%netscape.com
79d21ca38c backing out change that caused bloat tests to go orange. r=Brad,bbaetz
git-svn-id: svn://10.0.0.236/trunk@115412 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 08:11:49 +00:00
gerv%gerv.net
2aa120d0a6 Bug 126788 - templatise xml.cgi.
git-svn-id: svn://10.0.0.236/trunk@115411 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 08:01:50 +00:00
blizzard%redhat.com
369c443ee4 Not part of the default build. Remerge patches. Disable freetype.
git-svn-id: svn://10.0.0.236/trunk@115410 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 07:34:33 +00:00
bbaetz%student.usyd.edu.au
6340080d47 bug 127003 - crash when opening ftp site
r=dougt, sr=darin, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115409 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 06:19:06 +00:00
nelsonb%netscape.com
76f9a42d49 1. the sslSecurityInfo and sslGather structs are now part of the sslSocket
rather than being pointed to by the sslSocket.  This reduces the number
of malloc/free calls, and greatly reduces pointer fetches, and null
pointer checks.  sslGather and sslSecurityInfo are separately initialized.
2. SSL_ResetHandshake no longer deallocates and reallocates the sslSecurityInfo and all its subcomponents.
3. Many places that formerly did not check for memory allocation failures
now do check, and do the right thing when allocation failed.


git-svn-id: svn://10.0.0.236/trunk@115407 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 04:40:17 +00:00
varga%utcru.sk
c559d9bfe0 Fix for bug 123868. Drag in History drags entire outliner frame.
r=bryner,sr=blake,a=asa


git-svn-id: svn://10.0.0.236/trunk@115406 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 04:01:32 +00:00
dp%netscape.com
dd5e460b0a bug 127092 heap dumps for accurate heap measurement on MOZ_HeapDump
message r=blythe, sr=brendan, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115405 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 02:54:50 +00:00
naving%netscape.com
2f3145cf0a 113128 r=bienvenu sr=mscott a=roc+moz fix deleting/moving local folders on mac
git-svn-id: svn://10.0.0.236/trunk@115404 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 02:30:58 +00:00
dp%netscape.com
5f66144291 bug 127092 heap dumps for accurate heap measurement on MOZ_HeapDump
message r=blythe, sr=brendan, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115403 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 02:18:12 +00:00
dcone%netscape.com
48fe96650e b=127513 r=rods sr=attinasi a=shaver. Fixes windows 98 problems with the PatBlt.
git-svn-id: svn://10.0.0.236/trunk@115402 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 02:10:04 +00:00
wtc%netscape.com
118ad3c9f7 Bugzilla bug 127517: Darwin optimized build should use -O2. The patch is
contributed by Brian Ryner <bryner@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@115401 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:48:41 +00:00
rbs%maths.uq.edu.au
f59867d4df bug 127227 - rowspan and columnspan regressed in MathML mtable - a spill over from the landing of the table border collapsing code in bug 41262, r=karnaze, sr=attinasi, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115400 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:37:13 +00:00
rbs%maths.uq.edu.au
07186d47ad bug 126619 - fixups for the final metrics of certain MathML characters, and add transliteration for U+2212 the official Unicode minus sign (ongoing bug 119664), r=roc+moz, rs=attinasi/blizzard, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115399 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:35:27 +00:00
rbs%maths.uq.edu.au
c1929b9f84 fix crasher bug 110898 by doing a null check before deferencing a pointer that can be null in extreme situations where a font could not be realized, r=shanjian, sr=attinasi, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115398 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:33:11 +00:00
danm%netscape.com
e7b9cff695 patch some leaks of the widget object and stop the forever flashing titlebar problem. bugs 99140,116074 code=ere@atp.fi r=hyatt,me a=asa
git-svn-id: svn://10.0.0.236/trunk@115397 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:30:40 +00:00
sspitzer%netscape.com
e62e6a70bc checking in neil's patch code simplificaiton patch for #77687 before it bit rots again.
r=hwaara,sr=blake,sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@115396 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:11:30 +00:00
racham%netscape.com
c799026c85 Fixing bug 125060. Using setTimeout(), set the focus on the first element that can be focussed on a given wizardpage. Fixes mailnews account wizard problem. r=law, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@115393 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:44:35 +00:00
bzbarsky%mit.edu
b1cc9ed8d8 Decode by default when saving, except for types on a "ban list". Bugs
69306, 120033, 121001, r=law, sr=darin, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115392 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:43:46 +00:00
blakeross%telocity.com
048b0ea1fa 125181 - add pref to filter chrome:// errors in javascript console. r=ben sr=hewitt a=asa
git-svn-id: svn://10.0.0.236/trunk@115390 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:42:51 +00:00
mhammond%skippinet.com.au
750e632d11 Fix bug 98183: Threaded view auto-changes to unthreaded view.
When no messages exist on the server, still set our internal "threaded"
flag.

r=hwarra, sr=sspitzer, a=blizzard on behalf of drivers for 0.9.9


git-svn-id: svn://10.0.0.236/trunk@115389 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:40:23 +00:00
blakeross%telocity.com
f95a59f3df 53496 - no urlbar when using window.open and only 'location=yes'. r=hewitt sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@115388 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:40:11 +00:00
blakeross%telocity.com
ffa1f91d62 68109 - Use Default button in Add Bookmark dialog doesn't work. r=hewitt sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@115387 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:38:37 +00:00
dougt%netscape.com
83898a9eec 127093. adds nsID.h nsISupportsBase.h nscore.h to sdk. r=seawood, sr=alecf,rpotts, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115386 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:35:06 +00:00
blakeross%telocity.com
984dbd651c 113602 - readonly fields no longer updated once a character is typed. r=bz sr=hewitt a=asa
git-svn-id: svn://10.0.0.236/trunk@115385 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:34:59 +00:00
blakeross%telocity.com
34a29da01f 124316 - page proxy icon needs a tooltip. r=hewitt sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@115384 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:34:01 +00:00
pavlov%netscape.com
b95b10fb11 fixing multipartmixed image stuff. bug 42224. r=sfraser sr=darin a=shaver
git-svn-id: svn://10.0.0.236/trunk@115383 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:32:19 +00:00
despotdaemon%netscape.com
76df730fa8 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@115380 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 23:56:56 +00:00
despotdaemon%netscape.com
f676f2064e Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@115379 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 23:49:01 +00:00
ian%hixie.ch
d92656f385 The 'foo bugs' command should not be handled as a command, since it clashes with the 'help' command. Change it to a Baffled handler. b=115638, r=imajes
git-svn-id: svn://10.0.0.236/trunk@115378 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 22:54:02 +00:00
ian%hixie.ch
5eb1f5725e Empty lists are not saved. b=124661, r=imajes
git-svn-id: svn://10.0.0.236/trunk@115377 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 22:48:35 +00:00
blizzard%redhat.com
17d7a075a5 Oops, missed this file. Part of bug #126919.
git-svn-id: svn://10.0.0.236/trunk@115376 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 19:57:34 +00:00
leaf%mozilla.org
f5dd00cd56 Automated update
git-svn-id: svn://10.0.0.236/trunk@115375 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 18:41:49 +00:00
blizzard%redhat.com
99e158ca1d Part of bug #126919. Add configure glue to get Xft support building. r=cls, a=brendan
git-svn-id: svn://10.0.0.236/trunk@115373 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 17:28:48 +00:00
jake%acutex.net
b73e7e29c0 Bug 127841 - Adding processmail and syncshadowdb to the list of files that need the bonsaitools perl path changed in order to run from another perl location.
git-svn-id: svn://10.0.0.236/trunk@115372 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 16:23:59 +00:00
ian.mcgreer%sun.com
ba654ff84f bug 125796, make sure all CERTCertificates are destroyed as such, and that cache collisions when traversing are handled correctly (by destroying extra reference)
git-svn-id: svn://10.0.0.236/trunk@115371 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 16:21:48 +00:00
rods%netscape.com
3de996f11f Don't call these methods when the PO is not printable.
Bug 127639 r=dcone sr=attinas a=asa


git-svn-id: svn://10.0.0.236/trunk@115370 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 13:29:48 +00:00
seawood%netscape.com
6f1cc2c23d Add -lrt/-lposix4 to OS_LIBS on Solaris so that Purify doesn't complain about the missing library when instrumenting libnspr.
Bug #124493 r=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@115369 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 10:19:08 +00:00
seawood%netscape.com
1352d3b472 This patch:
* Changes MOZ_TRACE_MALLOC ifdefs to NS_TRACE_MALLOC ifdefs
* Links against the trace-malloc utils against libxpcom instead of just xpcomds
* Builds NSPR in debug mode on win32 if trace-malloc is enabled
* Adds a few "defined()" checks to diffbloatdump.pl so that it will work for
perl 5.6.1
* Adds a couple of checks for \r so that diffbloatdump.pl works on win32.

Bug #126915 r=bryner/dbaron a=asa


git-svn-id: svn://10.0.0.236/trunk@115368 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 09:58:45 +00:00
seawood%netscape.com
bb2192c805 Use -pthread as a linker flag instead of a compile flag for FreeBSD.
Thanks to Jeremy Lea <mailto:reg@shale.csir.co.za> for the patch.
Bug #112987 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@115367 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 09:57:01 +00:00
seawood%netscape.com
83a45e96da Create shared libraries using $(CC) for FreeBSD.
Use -pthread as a linker flag instead of a compile flag on FreeBSD.
Thanks to Jeremy Lea <reg@shale.csir.co.za> for the patch.
bug #125857 r=wtc/cls a=asa


git-svn-id: svn://10.0.0.236/trunk@115366 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 09:44:34 +00:00
seawood%netscape.com
abab10e532 Force the use of unix path separators by using File::Spec::Unix->canonpath instead of File::Spec->canonpath.
Thanks to Gervase Markham <gerv@mozilla.org> for the patch.
Bug #127072 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@115365 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 09:29:58 +00:00
seawood%netscape.com
c046046c39 This patch:
* Changes MOZ_TRACE_MALLOC ifdefs to NS_TRACE_MALLOC ifdefs
* Links against the trace-malloc utils against libxpcom instead of just xpcomds
* Builds NSPR in debug mode on win32 if trace-malloc is enabled
* Adds a few "defined()" checks to diffbloatdump.pl so that it will work for
perl 5.6.1
* Adds a couple of checks for \r so that diffbloatdump.pl works on win32.

Bug #126915 r=bryner/dbaron a=asa


git-svn-id: svn://10.0.0.236/trunk@115364 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 09:26:10 +00:00
leaf%mozilla.org
d884ad6b15 Automated update
git-svn-id: svn://10.0.0.236/trunk@115363 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 08:41:54 +00:00
seawood%netscape.com
3c3985ebaa So much for the auto-update
git-svn-id: svn://10.0.0.236/trunk@115362 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 08:41:24 +00:00
seawood%netscape.com
b5d4403fd5 Fix eternal fast-update failure if security fails once.
Thanks to Randell Jesup <rjesup@wgate.com> for the patch.
Bug #127358 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@115361 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 08:35:38 +00:00
seawood%netscape.com
f873cedc37 Apply patches from FreeBSD's Ports system.
Thanks to Jeremy Lea <reg@shale.csir.co.za> for the patch.
Bug #112987 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@115360 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 07:59:00 +00:00
bzbarsky%mit.edu
f5b7b272dd Don't create multiple XPrint or PostScript device contexts -- the
contexts share globals and are careless... Bug 127627, patch by Roland
Mainz <Roland.Mainz@informatik.med.uni-giessen.de>, r=bryner,rods,
sr=jag, a=asa.


git-svn-id: svn://10.0.0.236/trunk@115359 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 07:02:31 +00:00
bbaetz%student.usyd.edu.au
54006577b8 Bug 97729 - uploaders need to be able to obsolete their own attachments
r=jake, justdave


git-svn-id: svn://10.0.0.236/trunk@115358 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 06:13:35 +00:00
mstoltz%netscape.com
7eb98a9eb6 partially backing out my last change - weird dependency problem
git-svn-id: svn://10.0.0.236/trunk@115357 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 05:28:26 +00:00
mstoltz%netscape.com
66acb67330 32571, present confirmation dialog before allowing scripts to close windows.
105050, pass null window.opener when opener is a mail window.
both r=heikki, sr=jst, a=asa.
Backed out previously because of tinderbox problem, which should be fixed now.


git-svn-id: svn://10.0.0.236/trunk@115356 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 04:50:21 +00:00
nicolson%netscape.com
fdae976915 Initial checkin of the keystore code. It's not complete yet, but
I want others to be able to see it and comment on it.


git-svn-id: svn://10.0.0.236/trunk@115355 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 04:19:33 +00:00
bzbarsky%mit.edu
1fbf4a7ca5 Um... backing this out, will reland when tree is actually green.
git-svn-id: svn://10.0.0.236/trunk@115354 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 04:07:53 +00:00
bzbarsky%mit.edu
74a0cb1096 Don't create multiple XPrint or PostScript device contexts -- the
contexts share globals and are careless... Bug 127627, patch by Roland
Mainz <Roland.Mainz@informatik.med.uni-giessen.de>, r=bryner,rods,
sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@115353 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 04:05:05 +00:00
badami%netscape.com
56d8b2b84a Memory leak of 3 bytes from 1 block allocated in nsHttpResponseHead::ParseStatusLine
bug 126104 r=gagan sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@115352 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 03:55:59 +00:00
rods%netscape.com
486ccdc851 Moves toolbar showing code into try block instead of after catch.
Bug 127335 r=sgehani sr=alexf a=asa


git-svn-id: svn://10.0.0.236/trunk@115351 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 03:33:27 +00:00
rods%netscape.com
3f1aeb458d disable user-input for Print Preview
Bug 120745 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@115350 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 03:30:51 +00:00
sfraser%netscape.com
361e4a97df Fix build warnings. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@115349 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 03:01:27 +00:00
sfraser%netscape.com
d13290489f Fixing Mac bustage; add a bunch of casts between PRUnichar* and jschar* (why isn't jschar a wchar_t?). r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@115348 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 03:01:03 +00:00
relyea%netscape.com
e2ffd199c0 When using global params, noCertDB implies noKeyDB as well bug 127312
git-svn-id: svn://10.0.0.236/trunk@115347 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 02:28:21 +00:00
seawood%netscape.com
db28d958d0 Use SDK_XPIDLSRCS to generate .xpt too.
Should fix tinderbox orange & crash on startup.
Bug #127093 r=dougt


git-svn-id: svn://10.0.0.236/trunk@115346 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 02:10:10 +00:00
relyea%netscape.com
99db5dd573 CRL issues: 1) return url when finding and importing CRL's.
2) fix CERT_ImportCRL so it actually works.

NOTE: Calls of SEC_NewCrl() should verify the signature on the CRL before
importing!.


git-svn-id: svn://10.0.0.236/trunk@115345 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 02:02:53 +00:00
nisheeth%netscape.com
c01441892a Fix for bug 84186. r=dbradley, jag. sr=jband. Added support for CStrings, UTF8String, and AStrings to XPIDL. Also added the -t cmd line flag to XPIDL and XPTLINK that allows us to generate output for a specific XPT version. The XPT version number is being upped from 1.1 to 1.2 with this checkin.
git-svn-id: svn://10.0.0.236/trunk@115344 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 01:41:42 +00:00
oeschger%netscape.com
8599fca924 restore context-sensitive help to ui: new help file to include and updated syntax, bug=124902, a=asa/drivers, sr=alecf, r=andreww, r=ssaux for security ui
git-svn-id: svn://10.0.0.236/trunk@115343 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 01:14:09 +00:00
oeschger%netscape.com
73f5df54c0 restore context-sensitive help to ui: new help file to include and updated syntax, bug=124902, a=asa/drivers, sr=alecf, r=andreww
git-svn-id: svn://10.0.0.236/trunk@115342 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 01:13:17 +00:00
morse%netscape.com
10505804fb bug 118699, cookies being returned out of order, c=verdun, r=morse, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@115341 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 01:01:40 +00:00
karnaze%netscape.com
18d5826f1c bug 126742 - correct typo, setting the correct offset. sr=attinasi, r=alexsavulov, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115340 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:43:12 +00:00
hyatt%netscape.com
1f4a0fa159 Always use 0 0 as the mouse wheel coords. It's way faster and doesn't bog you down with stupid getframeforpoint calcs. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115339 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:42:32 +00:00
relyea%netscape.com
eb8490a832 Bug 125728 truncate utf8 correctly in the pkcs11 string.
git-svn-id: svn://10.0.0.236/trunk@115338 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:33:42 +00:00
relyea%netscape.com
6977d8c974 Changes to allow protected pin path to work in applications that code for it.
git-svn-id: svn://10.0.0.236/trunk@115337 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:28:50 +00:00
nelsonb%netscape.com
2b8a7de572 Change ssl_GetPeerInfo to no longer assume that an address is IPV6 if
it's not IPv4.  Fixes a bug on systems that don't support IPV6, but
do support other address families.


git-svn-id: svn://10.0.0.236/trunk@115336 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:28:15 +00:00
karnaze%netscape.com
6770b82ba7 bug 127040 - paint backgrounds in correct order when there are collapsed borders. sr=kin, r=dbaron, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115335 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:27:42 +00:00
attinasi%netscape.com
a83bd3ab92 Safety checks, in case the normalFont cannot be realized (due to system font exhaustion). b=117736 r=rbs sr=shaver a=asa
git-svn-id: svn://10.0.0.236/trunk@115334 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:13:49 +00:00
bzbarsky%mit.edu
300dcaff19 Make <li> and <caption> use the dir and lang attrs correctly. Bug
125506, r=dbaron, sr=attinasi, a=asa


git-svn-id: svn://10.0.0.236/trunk@115333 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:04:00 +00:00
bzbarsky%mit.edu
1831493a20 Make "File > New Navigator Window" work in viewsource. Bug 122145,
patch by Doron Rosenberg <doronr@naboonline.com>, r=bzbarsky, sr=alecf,
a=asa


git-svn-id: svn://10.0.0.236/trunk@115330 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 23:42:15 +00:00
bzbarsky%mit.edu
e5bc07f502 Add UI for browser.block.target_new_window (used to be named
browser.target_new_blocked).  Bug 78037, patch by  Jonas Jorgensen
<jonasj@jonasj.dk>, r=bzbarsky, sr=alecf, a=asa


git-svn-id: svn://10.0.0.236/trunk@115329 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 23:38:02 +00:00
bzbarsky%mit.edu
624fcf1f96 Only do extra drawing to de-uglify ellipses for small ellipse sizes.
Bug 91816, patch by Roland Mainz
<Roland.Mainz@informatik.med.uni-giessen.de>, r=bzbarsky, sr=attinasi,
a=shaver


git-svn-id: svn://10.0.0.236/trunk@115327 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 23:22:50 +00:00
dougt%netscape.com
ffacd7bc78 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa
git-svn-id: svn://10.0.0.236/trunk@115326 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 23:20:01 +00:00
bzbarsky%mit.edu
2d59fcc183 Alternate sheets should be able to import other alternate sheets with no
trouble.  Bug 52105, r=dbaron, sr=attinasi, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115324 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:26:26 +00:00
bzbarsky%mit.edu
da76abe8f6 Make <body> backgrounds draw in XHTML as XML. Bug 127374, r=dbaron,
sr=attinasi, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115323 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:18:26 +00:00
pinkerton%netscape.com
b227c84c1e implement NS_THEME_TOOLBAR_SEPARATOR, also patch outliner to support it. r=bryner,smfr/sr=blake/a=shaver. bug#127722
git-svn-id: svn://10.0.0.236/trunk@115322 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:14:55 +00:00
pinkerton%netscape.com
e7701eccba fix problem with dragging urls to the desktop on win32. the drag flags weren't correctly set. r=brade/sr=sfraser/a=shaver. bug: 127703
git-svn-id: svn://10.0.0.236/trunk@115321 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:12:48 +00:00
kestes%walrus.com
7ef4d61e74 update
git-svn-id: svn://10.0.0.236/trunk@115320 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 19:35:54 +00:00
kestes%walrus.com
61a5347fab store a count of the number of build errors, this is now displayed with the build.
Patch submitted by: Adam Di Carlo <adam@onshore-devel.com>


git-svn-id: svn://10.0.0.236/trunk@115319 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 19:34:41 +00:00
kestes%walrus.com
e83acfc477 java script fixes, Patch submitted by: Adam Di Carlo <adam@onshore-devel.com>
git-svn-id: svn://10.0.0.236/trunk@115318 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 19:32:42 +00:00
kestes%walrus.com
e5a858c429 add new summary type: jspanel Patch submitted by: Adam Di Carlo <adam@onshore-devel.com>
git-svn-id: svn://10.0.0.236/trunk@115317 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 19:31:23 +00:00
kestes%walrus.com
525910d346 fix typo. Patch submitted by: Adam Di Carlo <adam@onshore-devel.com>
git-svn-id: svn://10.0.0.236/trunk@115316 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 19:30:14 +00:00
kestes%walrus.com
213adbd40a report the number of errors for this build. Patch submitted by: Adam Di Carlo <adam@onshore-devel.com>
git-svn-id: svn://10.0.0.236/trunk@115315 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 19:29:25 +00:00
jkeiser%netscape.com
04268ce076 bug 125124 (frame resize on unload crasher), r=alexsavulov@netscape.com, sr=attinasi@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115314 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 19:23:48 +00:00
brade%netscape.com
788df1798a only return NS_BASE_STREAM_WOULD_BLOCK when write is in progress (send NS_OK when we're done writing); (bug 121314; r=adamlock; sr=darin; a=shaver)
git-svn-id: svn://10.0.0.236/trunk@115313 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 18:49:16 +00:00
brade%netscape.com
03fed263e0 force stream closure when for uploading (bug 121314; r=adamlock; sr=darin; a=shaver)
git-svn-id: svn://10.0.0.236/trunk@115312 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 18:47:47 +00:00
ian%hixie.ch
cf66fbb40b Make channelOpMasks be able to op via nickname by implementing normal hostmask syntax. b=73433, r=Jake. Add slightly more friendly syntax to ask to be opped. b=72961, r=kerz.
git-svn-id: svn://10.0.0.236/trunk@115311 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 16:48:28 +00:00
ian%hixie.ch
9c32550d39 Implement Infobot functionality as a bot module. b=123692, r=timeless
git-svn-id: svn://10.0.0.236/trunk@115310 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 15:49:23 +00:00
karnaze%netscape.com
a1c3edffaf bug 124041 - prevent infinite splitting of images due to 0 avail height. sr=attinasi, r=alexsavulov, a=asa
git-svn-id: svn://10.0.0.236/trunk@115309 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 14:42:12 +00:00
blizzard%redhat.com
819c9ffa7a Private copy of freetype for use with Xft. Not part of the default pull or build.
git-svn-id: svn://10.0.0.236/trunk@115306 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 06:59:14 +00:00
blizzard%redhat.com
71b65d1299 Add copy of expat 1.95.2 for use with Xft. Not part of the default pull or build.
git-svn-id: svn://10.0.0.236/trunk@115305 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 06:53:13 +00:00
blizzard%redhat.com
c4ea5d30b9 Check in Xft code for further work. Not part of the default build or pull.
git-svn-id: svn://10.0.0.236/trunk@115304 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 06:48:18 +00:00
tor%cs.brown.edu
75bf5d9198 Bug 127430 - delete client image copy. r=pavlov, sr=blizzard, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@115301 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 23:42:32 +00:00
igor%mir2.org
8970e0cb2c Use ClassFileWriter.toByteArray to get class file bytes in place of calling ClassFileWriter with ByteArrayStream argument
git-svn-id: svn://10.0.0.236/trunk@115300 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 19:18:44 +00:00
igor%mir2.org
00c87cda17 1. Added toByteArray to get class file as a byte array. Implementation first calculates the resulting array size to minimize number of allocations.
2. Set DEBUG to true to activate usage checks


git-svn-id: svn://10.0.0.236/trunk@115299 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 19:15:19 +00:00
gerv%gerv.net
fcf9b38601 Bug 127507 - one too many blank lines in each comment.
git-svn-id: svn://10.0.0.236/trunk@115296 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 09:28:21 +00:00
gerv%gerv.net
609239a780 Bug 126791 - templatise relogin.cgi
git-svn-id: svn://10.0.0.236/trunk@115295 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 08:54:14 +00:00
gerv%gerv.net
7fa7a3a60b Bug 110711 - various query.cgi/tmpl problems. This patch resolves all known issues.
git-svn-id: svn://10.0.0.236/trunk@115294 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 08:25:00 +00:00
bstell%ix.netcom.com
4f98f59229 bug 127283, I missed a changed requested by super-reviewer before the a=
git-svn-id: svn://10.0.0.236/trunk@115293 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 07:03:17 +00:00
bbaetz%student.usyd.edu.au
4e7b4452ad bug 97496 - release notes update. Mention deprecated features.
git-svn-id: svn://10.0.0.236/trunk@115292 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 05:00:19 +00:00
dcone%netscape.com
7302984c86 bug=122996 r=karnaze sr=attinasi a=asa Fixes a windows98 tiling quirk with PatBlt.
git-svn-id: svn://10.0.0.236/trunk@115291 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 04:18:09 +00:00
hyatt%netscape.com
20b13988e5 Obscure the cursor during wheel scrolling.
git-svn-id: svn://10.0.0.236/trunk@115290 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 02:56:07 +00:00
brendan%mozilla.org
64c95321b5 Fix stale comment about duplicate formal params (a=drivers, comment-only followup to 62164's big patch).
git-svn-id: svn://10.0.0.236/trunk@115288 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 00:26:57 +00:00
bstell%ix.netcom.com
b2580b197b bug 127307, add TrueType converters to Linux/Unix for MathML
checkin for ftang, r=mkaply, sr=brendan, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@115287 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 00:26:54 +00:00
bstell%ix.netcom.com
507100437f bug 127283, fix hang in TrueType MathML
r=ftang, sr=brendan, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@115286 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 00:22:16 +00:00
bstell%ix.netcom.com
f33d85b532 bug 126979, fix solaris bustage
sr=brendan


git-svn-id: svn://10.0.0.236/trunk@115285 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 00:17:30 +00:00
leaf%mozilla.org
9f65b801b0 Automated update
git-svn-id: svn://10.0.0.236/trunk@115283 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 21:56:54 +00:00
bstell%ix.netcom.com
e28dda9706 bug 126387, use FreeType2 lib version 2.0.3 (AKA: 6.1.0) in addition
to 2.0.4 (AKA: 7.0.1) and up
r=ftang, sr=alecf, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@115282 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 21:48:50 +00:00
blakeross%telocity.com
8be217703a Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115281 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 21:35:41 +00:00
blakeross%telocity.com
aa3d6ab3c8 Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115280 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 21:15:08 +00:00
bzbarsky%mit.edu
606f32d468 Make "save as" succeed even without a mime info. Bug 127333, r=law,
sr=jag, a=brendan


git-svn-id: svn://10.0.0.236/trunk@115279 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 21:07:50 +00:00
bzbarsky%mit.edu
700e28a74a Make cache prefs use &brandShortName; instead of "Mozilla". Bug 127025,
patch by Jonas Jorgensen <jonasj@jonasj.dk>, r=bzbarsky, sr=jag, a=brendan


git-svn-id: svn://10.0.0.236/trunk@115278 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 21:05:43 +00:00
cbiesinger%web.de
6889b4fa22 Bug 126303 patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi a=roc+moz
Remove the DOM dependendecies from gfx/src/xprint/


git-svn-id: svn://10.0.0.236/trunk@115277 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 15:32:03 +00:00
hidday%geocities.com
cb447f80d2 Bug 16605: text node child-adding functions throw wrong exception.
Modified nsGenericDOMDataNode::ReplaceChild() to throw
HIERARCHY_REQUEST_ERR instead of NOT_FOUND_ERR, per the spec.
sr=jst@netscape.com a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@115276 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 10:51:50 +00:00
brendan%mozilla.org
1dd9667d80 Sync these mirrored sources with their primaries at js/src/jsdhash.[ch] (see bug 62164, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@115275 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 10:04:29 +00:00
bryner%netscape.com
0b3d0b4c69 Backing out my checkin for bug 127189 -- it caused a regression.
git-svn-id: svn://10.0.0.236/trunk@115274 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 07:18:23 +00:00
cmanske%netscape.com
2f6c26846e Fix selection of image on click, b=123727, r=brade, sr=kin, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@115273 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 06:54:41 +00:00
brendan%mozilla.org
57c47d6829 Comment change only, quick followup to last humongous checkin.
git-svn-id: svn://10.0.0.236/trunk@115272 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 04:44:40 +00:00
wtc%netscape.com
94bb41db11 Removed the temporary depend->clean hack for NSS 3.4 update.
Modified Files:
	Makefile.in security/manager/Makefile.in
	security/nss/makefile.win


git-svn-id: svn://10.0.0.236/trunk@115268 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 04:41:30 +00:00
dprice%netscape.com
bb303fcebc 99670 r=dprice sr=mscott a=dbaron patch by dveditz
Install.addDirectory() now reports correct error


git-svn-id: svn://10.0.0.236/trunk@115267 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 03:57:25 +00:00
brendan%mozilla.org
f780c9a84e Major footprint/perf win: share property state using a tree whose root represents empty scopes, and whose non-root nodes represent scopes with properties added in order from the root to that node; to use double hashing to map these tree-paths for per-scope property lookup; and avoid locking where possible through immutability and mostly-benign&rare race tolerance (62164, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@115266 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 03:49:27 +00:00
bryner%netscape.com
68356dd711 Bug 127189 - make sizetopopup=true set the min size as well as the preferred size. r=jag, sr=hyatt, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@115265 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 03:42:48 +00:00
blakeross%telocity.com
fe94eccd9f Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115264 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 03:15:26 +00:00
morse%netscape.com
11017f9fe8 attachments in hotmail don't work, r=sgehani, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115263 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 03:10:54 +00:00
blakeross%telocity.com
1c0be6f544 Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115262 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 03:06:57 +00:00
blakeross%telocity.com
49a8ae4205 Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115261 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 02:34:27 +00:00
pschwartau%netscape.com
df0d298536 Adding two more cases to test. Improving readability.
git-svn-id: svn://10.0.0.236/trunk@115260 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 01:14:51 +00:00
akkana%netscape.com
25812279fc 126651,126909: Fix some glitches in the find algorithm. r=cmanske sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@115259 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 01:12:26 +00:00
tor%cs.brown.edu
47117364a9 Fix cement bustage.
git-svn-id: svn://10.0.0.236/trunk@115258 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 00:47:15 +00:00
pete%alphanumerica.com
c9ec997b94 b=118639, r=bbaetz, sr=darin, a=asa
inadvertantly removed a needed nsMemory::Free when cleaning up leaks in this file.

--pete


git-svn-id: svn://10.0.0.236/trunk@115257 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 00:41:52 +00:00
blakeross%telocity.com
0bfd43ba9b Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115255 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 00:07:16 +00:00
tor%cs.brown.edu
d170406692 Bug 121015 - nsImageGTK server side scaling. r=pavlov, sr=blizzard, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115254 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 23:58:25 +00:00
bbaetz%student.usyd.edu.au
b9916651eb Bug 106756 - fix vertical alignment for html directory viewer
r=basic, sr=sfraser, a=asa


git-svn-id: svn://10.0.0.236/trunk@115253 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 23:55:25 +00:00
bryner%netscape.com
3734ecabbd Removing obsolete header xp_file.h. r=cls, sr=alecf, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@115252 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 23:42:07 +00:00
rayw%netscape.com
26058dd19f Complete deployment of soap by adding xmlsoap.xlt to the installers.
r=dveditz, sr=vidur, a=dbaron for 0.9.9  See bug 107796.

This is a one-line addition to each of five non-embedded packages (3 platforms,
static and non-static).


git-svn-id: svn://10.0.0.236/trunk@115247 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 23:17:12 +00:00
naving%netscape.com
7de5ca9696 101485 r=sspitzer sr=bienvenu a=asa Fix crash on filing messages from search
upon File | Quit pass valid msgWindow so that we can stop the running news
url.


git-svn-id: svn://10.0.0.236/trunk@115246 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 23:11:12 +00:00
bnesse%netscape.com
894fd136de [not part of the build] Lets try again... without destroying the resource fork this time. version -> 1.0b1
git-svn-id: svn://10.0.0.236/trunk@115245 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 22:44:31 +00:00
dp%netscape.com
d5d7780d4d modified regexp for free and used blocks
git-svn-id: svn://10.0.0.236/trunk@115244 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 22:23:16 +00:00
dp%netscape.com
b34cb4f263 first version
git-svn-id: svn://10.0.0.236/trunk@115243 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 22:22:50 +00:00
ftang%netscape.com
7d3bdc4d21 fix bug 107731. r=ftang sr=alecf a=shaver
add some more language names and region name to the property file


git-svn-id: svn://10.0.0.236/trunk@115242 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 22:14:18 +00:00
ftang%netscape.com
24f2000319 fix bug 107731. r=ftang sr=alecf a=shaver
turn on some language list


git-svn-id: svn://10.0.0.236/trunk@115241 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 22:11:11 +00:00
oeschger%netscape.com
3d8eb7ab21 update to Help table of contents. Changed all references from Netscape
to Mozilla, got rid of the extraneous glossary section at bottom, and
cleaned up a little. Claiming hermetic, approval-less impunity per
bug 122806, r=cotter


git-svn-id: svn://10.0.0.236/trunk@115240 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 22:05:01 +00:00
ftang%netscape.com
f3f8c4c531 fix bug 113380. use en-US, en instead of "en-US" as the default english accept language
r=yokoyama@netscape.com sr=alecf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@115239 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 22:00:24 +00:00
kestes%walrus.com
524aef24b9 better checking of input parameters.
Add option "index-only".
document major functions.


git-svn-id: svn://10.0.0.236/trunk@115238 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 21:41:37 +00:00
wtc%netscape.com
ba96145cb0 Temporary hack for the NSS 3.4 update (BeOS port, etc.) Will remove
tomorrow.
Modified files: Makefile.in security/manager/Makefile.in
                security/nss/makefile.win


git-svn-id: svn://10.0.0.236/trunk@115237 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 21:26:29 +00:00
bnesse%netscape.com
25dc57767d [not part of build] Updated change information.
git-svn-id: svn://10.0.0.236/trunk@115236 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 20:15:27 +00:00
bnesse%netscape.com
191e5fd3c7 [not part of build] Bumped all version number references to 1.0b1.
git-svn-id: svn://10.0.0.236/trunk@115235 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 20:14:40 +00:00
bnesse%netscape.com
9dcec09a9d [not part of build] Fix for bug 127085. Unescape file paths before trying to use them. r=sdagley, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@115234 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 20:13:31 +00:00
mitchf%netscape.com
839d16d4e3 Removed reference to CCK in desktop icon resource. Fixes bug 12085
git-svn-id: svn://10.0.0.236/trunk@115233 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 19:24:26 +00:00
nboyd%atg.com
dd8e3dd5a8 Missed one codepath in previous fix for 126722. This should complete the fix.
git-svn-id: svn://10.0.0.236/trunk@115232 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 17:40:32 +00:00
timeless%mac.com
30eddece55 Bug 66035 Image urls are copied with text selection
patch by rossi@telnet.at r=hixie sr=jst a=shaver


git-svn-id: svn://10.0.0.236/trunk@115231 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 16:39:35 +00:00
mkaply%us.ibm.com
4a27c314c5 More OS/2 SOAP bustage - PR_CALLBACK, false
git-svn-id: svn://10.0.0.236/trunk@115230 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 16:24:58 +00:00
cmanske%netscape.com
c2d408eb56 Fixed dataloss after changing default publish site, b=126835, r=andreww, sr=kin, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@115229 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 15:40:25 +00:00
badami%netscape.com
6a74635a48 Intermittent "connection refused" errors [@ nsHttpHandler::GetConnection_Locked]
Pop oldest idle connection when a new one is created and maxConnections is exceeded.
bug 91429 r=bbaetz sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@115228 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 14:02:40 +00:00
rods%netscape.com
6d75523e55 Fix comparison for pref defined fonts names
Bug 126920 r=rods sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@115227 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 13:12:12 +00:00
timeless%mac.com
e139578d94 Bug 123794 urlbar not properly updated when leaving www.libertarian.org [frames]
patch by neil@parkwaycc.co.uk r=timeless sr=jag a=asa


git-svn-id: svn://10.0.0.236/trunk@115226 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 12:11:04 +00:00
timeless%mac.com
15674e14d6 Bug 126667 ../../../../dist/include/content/nsCSSDeclaration.h:657: warning: comparison is always true due to limited range of data type
r=bbaetz,pink sr=alecf a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115225 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 11:58:22 +00:00
leaf%mozilla.org
59360e1209 Automated update
git-svn-id: svn://10.0.0.236/trunk@115223 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 11:11:57 +00:00
locka%iol.ie
1359074487 Add "documentation" rule to rules.mk. This generates HTML documentation from h/idl files using doxygen. b=112214 r=seawood@netscape.com sr=rpotts@netscape.com a=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@115222 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 11:11:24 +00:00
locka%iol.ie
c34b666ccc NOT PART OF BUILD. Allow plugin to read name/value PARAMs when embedded by an OBJECT tag. b=126492
git-svn-id: svn://10.0.0.236/trunk@115221 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 11:08:55 +00:00
rayw%netscape.com
bac653e3fe Trying the safer version of the bustage fix. Last reviewed by jst, but
that version busted, I think this cannot fail.


git-svn-id: svn://10.0.0.236/trunk@115220 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 11:02:19 +00:00
rayw%netscape.com
cac7132437 Reverting ineffective patch.
Busted another build.


git-svn-id: svn://10.0.0.236/trunk@115219 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 10:48:07 +00:00
rayw%netscape.com
475853fda0 This is an attempt to fix bustage on OS/2. It was some coded added to
satisfy Mac, which busted OS/2. sr=jst.  Bug #127199.


git-svn-id: svn://10.0.0.236/trunk@115218 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 10:08:02 +00:00
seawood%netscape.com
a5df41d59b Use blocking sockets for SSL connections since BeOS does not have support for nonblocking sockets.
Bug #70217 r=wtc a=shaver


git-svn-id: svn://10.0.0.236/trunk@115217 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 09:30:31 +00:00
hyatt%netscape.com
c2264aba71 Increase the # of scroll ines on mouse wheel to match IE. COcoa not part of build.
git-svn-id: svn://10.0.0.236/trunk@115216 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 09:22:56 +00:00
hyatt%netscape.com
3aaf92852a Implement key events in cocoa. Rough, but works. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115215 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 08:48:25 +00:00
hyatt%netscape.com
1f0f0acd24 Implement key events in cocoa. Rough, but works. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115214 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 08:44:16 +00:00
samuel%sieb.net
56d6c62c2a Bug 126109 - fixing regression from previous patch
r=rginda a=asa
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@115213 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 07:12:48 +00:00
samuel%sieb.net
e548a55553 incrementing version number
r=rginda a=asa
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@115212 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 07:09:32 +00:00
seawood%netscape.com
49f9b7a928 For nonblocking connections, wait for socket io if errno == EINTR, not EINPROGRESS.
Thanks to Paul Ashford <arougthopher@lizardland.net> for the patch.
Bug #70217 r=cls a=shaver


git-svn-id: svn://10.0.0.236/trunk@115211 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 06:43:31 +00:00
dcone%netscape.com
57f590a5d8 b=127042 Fix background printing.. print preview image loading. r=pavlov sr=kin a=dbaron
git-svn-id: svn://10.0.0.236/trunk@115210 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 05:41:27 +00:00
sfraser%netscape.com
c005a882ed Fix bad XML. No other changes.
git-svn-id: svn://10.0.0.236/trunk@115209 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 05:14:55 +00:00
sdagley%netscape.com
8da02c62a5 Fix #91807 - increase stack size to 512K for Mac builds. r=saari,sr=sfraser,a=asa
git-svn-id: svn://10.0.0.236/trunk@115208 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 05:07:21 +00:00
wtc%netscape.com
52f5bfd019 Bugzilla bug 70217: ported NSS to BeOS. The patch is contributed by
Christopher Seawood <seawood@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@115206 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 04:23:30 +00:00
bbaetz%student.usyd.edu.au
991787f749 Bug 114118 - ftp does not automatically forget incorrect passwords
r=dougt, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@115205 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 03:27:29 +00:00
mcafee%netscape.com
baf641fd27 Remove spaces to facilitate parsing this file.
git-svn-id: svn://10.0.0.236/trunk@115204 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 03:26:38 +00:00
blakeross%telocity.com
fcf0585ead Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115203 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 03:23:10 +00:00
sfraser%netscape.com
570fe50853 Fix malformed XML; no other changes. One more instance.
git-svn-id: svn://10.0.0.236/trunk@115202 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 03:13:42 +00:00
sfraser%netscape.com
fba080d11c Fix malformed XML; no other changes.
git-svn-id: svn://10.0.0.236/trunk@115201 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 03:12:35 +00:00
rods%netscape.com
6f25ce2529 Changing return codes from NOT_IMPL to NS_OK, these methods are no-ops on
platforms that don't implement them
Bug 126803 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@115200 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 03:11:17 +00:00
rayw%netscape.com
11169260e5 Bustage fix. PRBool instead of bool, making OS2 red, fix to go green.
git-svn-id: svn://10.0.0.236/trunk@115199 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 03:09:21 +00:00
blythe%netscape.com
2ad120d98c Fix bug 127069.
Reclaim .75 MB of VM on Win32.
r=dp sr=brendan a=shaver


git-svn-id: svn://10.0.0.236/trunk@115198 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 02:55:08 +00:00
wtc%netscape.com
e24f45ee3e Bugzilla bug 30746: fixed the problem of the previous NT primordial thread
fix in native threads only mode.


git-svn-id: svn://10.0.0.236/trunk@115197 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 02:52:28 +00:00
blakeross%telocity.com
4f5a33dbb4 Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115196 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 02:43:47 +00:00
cotter%netscape.com
4cf2f1ba8c ongoing help content updates per 122806, r=oeschger; fixed broken glossary link.
git-svn-id: svn://10.0.0.236/trunk@115193 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 02:21:09 +00:00
attinasi%netscape.com
91eac9645b Fixed big problem trying to change the position property on an absolutely positioned element, was leaving dangling placeholder frame. b=118415, r=kmcclusk, sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@115192 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 02:17:18 +00:00
bzbarsky%mit.edu
ad69eae88a Removing unused files from old about: implementation. Bug 123580,
r=leaf, rs=brendan, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115191 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 02:09:49 +00:00
hyatt%netscape.com
6eef150651 Make cocoa support mouse moves. Yay. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115190 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 01:58:21 +00:00
blakeross%telocity.com
83651adfff Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115189 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 01:54:27 +00:00
rods%netscape.com
5a52cfb5d7 Get the rect of the PageContentFrame and using it. Also, painting BG
after the container and only when we are suppose to be painting the BG
Bug 126824 r=dcone sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@115188 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 01:45:05 +00:00
peterv%netscape.com
05758c84bd Bustage fix. Library, not Shared Library.
git-svn-id: svn://10.0.0.236/trunk@115187 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 01:30:21 +00:00
tor%cs.brown.edu
7285ce9e01 Bug 111037 - don't look inside png info_ptr. r=pavlov, sr=blizzard, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115186 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 01:29:55 +00:00
blakeross%telocity.com
5a31def979 Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115184 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 00:42:57 +00:00
bzbarsky%mit.edu
655caf10cf Correctly set X display on plugins. Bug 116924, patch by Sergi
<sep@sparc.spb.su>, r=serge, sr=beard, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115183 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 00:28:44 +00:00
bzbarsky%mit.edu
0876fd184e Fix parsing of some edge cases of background shorthand. Bug 124193,
r=pierre, sr=attinasi, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115182 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 00:25:57 +00:00
naving%netscape.com
dd0987d239 127059 r=racham sr=sspitzer a=asa Make msgNavigation from standalone msg window work again
git-svn-id: svn://10.0.0.236/trunk@115181 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:58:11 +00:00
blakeross%telocity.com
c5d3293b1d Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115180 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:42:56 +00:00
jfrancis%netscape.com
c1625dfb30 fix for 113310: Adding/Removing href attribute on <a> node does not update appearance; r=peterv; sr=jst; a=roc+moz; checked in by jfrancis on behalf of dglazman
git-svn-id: svn://10.0.0.236/trunk@115179 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:21:17 +00:00
mcafee%netscape.com
d3dcd235ef Adding debug matrix size function, for comparing tty and file-based runs.
git-svn-id: svn://10.0.0.236/trunk@115178 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:20:00 +00:00
mscott%netscape.com
947746f3e4 Bug #126981 --> make HTML anchors work again by reversing the logic on an if clause.
r=sspitzer
sr=alecf
a=shaver


git-svn-id: svn://10.0.0.236/trunk@115177 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:16:57 +00:00
shanjian%netscape.com
4f9223fb98 #122081 Universalchardet leaks memory
The fix for the nsCharSetProber class declaration, plus fix for
nsUniversalDetector methods, which may cause another leak when the object is
reused after Reset().

Patch proposed by Takayuki Tamura
r=shanjian, sr/a=brendan


git-svn-id: svn://10.0.0.236/trunk@115176 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:16:51 +00:00
peterv%netscape.com
657aa472d1 This, completely closes bug 107795.
r=heikki, sr=vidur, sr=jband, a=shaver.

This eliminates the MOZ_SOAP defining and checking from the makefiles, from one .cpp file for conditional compiles, and from .html documentation and tests (.html is only significant to human readers).

This enables SOAP in the default build, and has been tested on all clean builds.


git-svn-id: svn://10.0.0.236/trunk@115175 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:16:49 +00:00
rayw%netscape.com
cf263a055c This, with the one-liner Peter checks in, completely closes bug 107795.
r=heikki, sr=vidur, sr=jband, a=shaver.

This eliminates the MOZ_SOAP defining and checking from the makefiles,
from one .cpp file for conditional compiles, and from .html documentation
and tests (.html is only significant to human readers).

this enables SOAP in the default build, and has been tested on all
clean builds.


git-svn-id: svn://10.0.0.236/trunk@115174 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:15:08 +00:00
pinkerton%netscape.com
fc183b1c37 fix scrollwheel issues. make sure we reset origin before calling GlobalToLocal() and xlate local mouse coord into widget-relative coords for gecko. r=bryner/sr=sfraser/a=shaver. bug#125570
git-svn-id: svn://10.0.0.236/trunk@115173 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:09:13 +00:00
blakeross%telocity.com
0a7ad5616f Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115172 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 22:59:21 +00:00
dbragg%netscape.com
1f7574cebc Fixing bug 126679. Added a closing parenthesis that should
have been there in the first place.  r=tao, sr=alecf, a=asa


git-svn-id: svn://10.0.0.236/trunk@115171 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 22:58:47 +00:00
ian.mcgreer%sun.com
202313e65b bug 125359, by default the ASN.1 en/decoder should treat all numbers as signed. But many source/target items desire unsigned integers (specifically, bignums in the crypto stuff), so implement an siUnsignedInteger type which notifies the en/decoder to handle the conversion.
r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@115170 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 22:41:44 +00:00
dp%netscape.com
a8e41a657c first version
git-svn-id: svn://10.0.0.236/trunk@115169 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 22:24:18 +00:00
sgehani%netscape.com
6d0d8441b6 Excluded panels should be removed from view; select the newly included panel.
b=126703; a=loan


git-svn-id: svn://10.0.0.236/trunk@115168 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 22:15:40 +00:00
nelsonb%netscape.com
4b069d41b2 Fix warning on Windows builds. Bug 104541.
git-svn-id: svn://10.0.0.236/trunk@115167 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 21:23:14 +00:00
jfrancis%netscape.com
4206e67ceb fixes blocker 126558; r=brade,jrancis, sr=alecf, a=rods;
thanks to kin for cleaning up my "replace all" accident


git-svn-id: svn://10.0.0.236/trunk@115166 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 20:50:35 +00:00
hyatt%netscape.com
3b53957b04 Make sure port state is properly saved and restored. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115165 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 20:17:51 +00:00
rogerl%netscape.com
b222174cab Added regexp path.
git-svn-id: svn://10.0.0.236/trunk@115163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 18:21:38 +00:00
rogerl%netscape.com
deda8b4f83 Missing newline at EOF
git-svn-id: svn://10.0.0.236/trunk@115162 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 18:15:40 +00:00
rogerl%netscape.com
7ad4b4026a Fixing gcc errors.
git-svn-id: svn://10.0.0.236/trunk@115161 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 18:14:56 +00:00
rogerl%netscape.com
e2b4c181a8 Fixed include path for regexp
git-svn-id: svn://10.0.0.236/trunk@115160 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 18:07:44 +00:00
rogerl%netscape.com
c17d2e5a82 Sweeping changes arising from moving unary operator table to context etc.
git-svn-id: svn://10.0.0.236/trunk@115159 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 18:06:35 +00:00
jaggernaut%netscape.com
4d91459de3 Get rid of assertion at startup. This block shouldn't have been moved by my checkin for bug 959.
git-svn-id: svn://10.0.0.236/trunk@115158 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 17:57:25 +00:00
varga%utcru.sk
1f4bcbb88a Fix for bug 125687. An assertion fix.
- check for negative row index
r=bryner, sr=hyatt, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115157 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 17:07:33 +00:00
nboyd%atg.com
ad685a20c2 Fix bug 126722
git-svn-id: svn://10.0.0.236/trunk@115156 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 15:53:50 +00:00
peterv%netscape.com
6dfd260a5f Interface got renamed as part of bug 119382, rename in implementation too. Bustage fix for WSDL. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@115155 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 14:29:21 +00:00
peterv%netscape.com
5c98780877 Interface got renamed as part of bug 119382, rename in implementation too. Bustage fix for iiextras. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@115154 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 14:28:52 +00:00
peterv%netscape.com
db50f2fb18 First part of fix for bug 107795 (Enable SOAP in default builds). SOAP is still off after this check-in. sr=sfraser, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@115153 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 14:15:55 +00:00
cbiesinger%web.de
e169bde736 bug 124117 r=pavlov sr=tor a=shaver
Fix build warnings in the GIF Decoder


git-svn-id: svn://10.0.0.236/trunk@115152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 14:08:25 +00:00
jaggernaut%netscape.com
b202b509c0 Bug 959: add support for accesskeys to XUL. r=hewitt, r=attinasi for changes to layout/html, sr=hyatt, a=asa
git-svn-id: svn://10.0.0.236/trunk@115151 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 13:39:39 +00:00
rods%netscape.com
46c42a9045 We were sending Progress notification from the destructor of the PrintData.
I have done the following:
1) Removed unneeded nsresult arg from OnEndPrinting
2) Removed unneeded calls to OnEndPrinting before the deletion of PrintData objs
3) The destructor of PrintData now only calls OnEndPrinting if onStartPrinting  was called first, meaning printing notification was actually started.
Bug 126427 r=dcone sr=attinasi a=roc


git-svn-id: svn://10.0.0.236/trunk@115150 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 13:23:11 +00:00
hidday%geocities.com
f7e9f57834 Bug 93649, document.plugins should map to document.embeds for NS4
compatibility. r=bzbarsky@mit.edu sr=jst@netscape.com a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115149 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 12:21:15 +00:00
hidday%geocities.com
5a011ce9dc Bug 93649, document.plugins should map to document.embeds for NS4
compatibility. r=bzbarsky@mit.edu, sr=jst@netscape.com, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115148 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 12:15:34 +00:00
mcafee%netscape.com
d74c74f523 more edit room for sheriff, status
git-svn-id: svn://10.0.0.236/trunk@115147 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 07:02:09 +00:00
mcafee%netscape.com
4d733f2193 Move <br> tag hack from status.pl into showbuilds.cgi to unclutter the status text area.
git-svn-id: svn://10.0.0.236/trunk@115146 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 06:57:16 +00:00
jst%netscape.com
55595210ae Checking in Stuart Ballard's <sballard@netreach.net> fix for bug 123379. Link toolbar doesn't support <link rev='...'>. r=bzbarsky@mit.edu, sr=jst@netscape.com, a=roc+moz@cs.cmu.edu.
git-svn-id: svn://10.0.0.236/trunk@115145 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 06:54:56 +00:00
bernd.mielke%snafu.de
764a1f1e58 patch by fantasai - removing standard table background painting as our old quirks mode background
painting is now more CSS2 compliant (the w3c published a errata) bug 4510
r=karnaze sr=attinasi a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115144 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 05:36:16 +00:00
dougt%netscape.com
26cb682311 Fixes 126881. LDAP DataSource Component fails to load because Components.interfaces.nsIComponenRegistrar is misspelled. r=stephend@netscape.com a=dbaron
git-svn-id: svn://10.0.0.236/trunk@115143 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 04:30:54 +00:00
mcafee%netscape.com
d6be3b1b48 Adding security dom.allow_scripts_to_close_window pref so mstoltz can land his checkin without sinking the layout test. r=mstoltz,jrgm
git-svn-id: svn://10.0.0.236/trunk@115142 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 04:16:41 +00:00
sspitzer%netscape.com
7dc274e489 checking in navings fix for regression bug #126874. search comes up with empty
criteria, and can't delete from stand alone message window.
r/sr=sspitzer,bienvenu, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@115141 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 03:57:35 +00:00
arougthopher%lizardland.net
c5d18ad8c1 Fix for Bug#69707
BeOS implementation of nsLocalFile::Launch and nsLocalFile::Reveal

r=cls (seawood@netscape.com)
a=asa (asa@mozilla.org) on behalf of drivers


git-svn-id: svn://10.0.0.236/trunk@115140 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 03:33:42 +00:00
dougt%netscape.com
b6a548fad4 Fixing bustage. Don't listen to strdup folks. There should be fear of invoking the wrath of the Mac!
git-svn-id: svn://10.0.0.236/trunk@115139 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 03:29:59 +00:00
kin%netscape.com
c972b3fe60 Fix for bug 124485 (Long lists of folders/bookmarks after up/down arrow not reachable)
Modified GetOriginToViewOffset() so that it returns an offset of (0,0) when the
contained view returned by GetView() is not a descendant of the frame's parent
view, as is the case with scrolling popup menus.

r=kmcclusk@netscape.com  sr=roc+moz@cs.cmu.edu  a=roc+moz@cs.cmu.edu


git-svn-id: svn://10.0.0.236/trunk@115138 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 03:03:31 +00:00
hyatt%netscape.com
a36014d49b Fix the rendering context leak on painting in Cocoa. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115137 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 02:24:18 +00:00
blakeross%telocity.com
c63eada302 Download Manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115136 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 02:21:48 +00:00
dougt%netscape.com
cd81e6219e Fixes 122523. Avoid stat call when opening file. This should be a minor performance win on windows. r=dp, sr=dveditz, sr=darin, a=roc+moz for 0.9.9
git-svn-id: svn://10.0.0.236/trunk@115135 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 02:18:33 +00:00
peterlubczynski%netscape.com
a25dbbd889 Making applets and objects monolithic containers to fix problem in bug 108363 where not all params make it to the plugin. Patch by adu@sparc.spb.su r=peterl sr=attinasi a=roc+moz (and for last checkin too)
git-svn-id: svn://10.0.0.236/trunk@115134 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 02:05:21 +00:00
blakeross%telocity.com
2b1570a032 Download Manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115133 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 02:04:18 +00:00
peterlubczynski%netscape.com
33aef81219 Implementing nsHTMLObjectElement::GetContentDocument, patch by adu@sparc.spb.su bug 36240 r=peterl sr=jst
git-svn-id: svn://10.0.0.236/trunk@115132 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 02:01:12 +00:00
rjesup%wgate.com
4e11e651a1 Bug 125025: Offscreen animations use lots of CPU. This is the DrawToImage
patch.  r=saari, sr=brendan, a=moz+roc


git-svn-id: svn://10.0.0.236/trunk@115131 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 01:52:38 +00:00
blakeross%telocity.com
b45ed9fd8c Download Manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@115130 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 01:49:52 +00:00
naving%netscape.com
511518616e 120076 r=bienvenu sr=mscott a=roc+moz. Undo delete for local msgs should
also update popstate.dat. also fixing one js error from last checkin.


git-svn-id: svn://10.0.0.236/trunk@115129 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 01:37:36 +00:00
dbaron%fas.harvard.edu
b1582a7dc4 Fix regression that prevented 'font-size' from applying to list numbers. b=110360 sr=attinasi r=karnaze a=roc
git-svn-id: svn://10.0.0.236/trunk@115128 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 01:36:16 +00:00
nicolson%netscape.com
7ab3c4014b fixes to make it work better on windows.
git-svn-id: svn://10.0.0.236/trunk@115127 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 01:23:12 +00:00
ben%netscape.com
18d411fe5d fix 126764, bookmarks context menus don't show due to accidentally removed js files
revert changes to this file from last night.
r=jkeiser, sr=blake, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115126 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 00:53:20 +00:00
naving%netscape.com
b06065c41d 100991 r=bienvenu sr=mscott a=roc+moz. Select the folder and the message (if any) after renaming a folder.
git-svn-id: svn://10.0.0.236/trunk@115125 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 00:16:57 +00:00
leaf%mozilla.org
68f39806b3 fix for infinitely looping windows gmake depend builds, code from cls, r=leaf, a=roc
git-svn-id: svn://10.0.0.236/trunk@115124 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 00:15:10 +00:00
wtc%netscape.com
a07081d36e Fixed misspelling.
git-svn-id: svn://10.0.0.236/trunk@115123 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 00:06:14 +00:00
smontagu%netscape.com
5ee130d40e Corrections to makefile. Bug 126674; r=cls; a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@115122 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 00:01:32 +00:00
wtc%netscape.com
5ec3d3684a Bugzilla bug 125149: prevent the session ID count component of the session
ID from overflowing and corrupting the slot index component.  Do a lookup
in the session hash table to make sure the session id is not in use before
adding it to the table.  r=relyea.
Modified files: pkcs11.c pkcs11i.h


git-svn-id: svn://10.0.0.236/trunk@115121 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 23:59:35 +00:00
wtc%netscape.com
34ff13e6c2 nscSlotHashTable is not protected by a lock, so we need to use
PL_HashTableLookupConst to do the lookups.  r=mcgreer.  This bug is
discussed in bug 125149 but is not the main topic of that bug.


git-svn-id: svn://10.0.0.236/trunk@115120 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 23:53:45 +00:00
shrutiv%netscape.com
d9a0bd6bca Undoing portion of the last change
git-svn-id: svn://10.0.0.236/trunk@115119 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 23:45:34 +00:00
kin%netscape.com
7f79330aa2 Fix for blocker bug 126770 (Undo/Redo doesn't work in Text widgets, Composer, and Mail)
mozilla/editor/txmgr/src/nsTransactionManager.cpp
  mozilla/editor/txmgr/src/nsTransactionStack.cpp

    - nsTransactionStack::Peek() was intended to return NULL for
      an empty stack so I changed timeless' change for bug 114166
      to return NS_OK and init the return value to zero.

    - timeless also changed the behavior of nsDeque::End(), it no
      longer returns an interator that is one past the end. So
      nsTransactionStack::Peek() had to call CurrentItem() instead
      of operator--.

    - I also backed out the changes made to nsTransactionManager.cpp
      cause they are unnecessary with the changes made to
      nsTransactionStack::Peek() above.

r=timeless@bemail.org  sr=hyatt@netscape.com  a=leaf@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@115118 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 23:22:31 +00:00
shliang%netscape.com
0b600e8c11 bug 115673 - mail/news icons - doing this over again. r=andreww/sr=hewitt/a=brendan
git-svn-id: svn://10.0.0.236/trunk@115117 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 22:40:14 +00:00
pinkerton%netscape.com
3e6b411297 fix crash where we could dereference a null reference. shuffle some code around to ensure that can't happen anymore. r=ben/sr=blake/a=thesteve for smoketest blocker bug 126770
git-svn-id: svn://10.0.0.236/trunk@115116 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 21:51:25 +00:00
sgehani%netscape.com
9556798310 Actually making included tabs display when toggled on.
b=126703; r=dougt,morse; a=thesteve


git-svn-id: svn://10.0.0.236/trunk@115115 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 21:31:00 +00:00
jake%acutex.net
28e563b3a0 Bug 126029 - HTML in checkin comments wasn't being escaped properly for use in the pop-ups.
r=caillon


git-svn-id: svn://10.0.0.236/trunk@115114 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 21:17:04 +00:00
law%netscape.com
8e8830682b Fix for smoketest blocker bug 126687; adding new progress dialog component to package lists
git-svn-id: svn://10.0.0.236/trunk@115113 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 21:12:37 +00:00
ben%netscape.com
7260d4e2be blocker 126704 - can't load history items. removing some unnecessary code.
git-svn-id: svn://10.0.0.236/trunk@115112 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 20:55:28 +00:00
pschwartau%netscape.com
801d9342df Initial add.
git-svn-id: svn://10.0.0.236/trunk@115110 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 19:07:08 +00:00
sspitzer%netscape.com
a4177155b3 fix for #126677. dates not showing up in thread pane
or message pane on windows.  r/sr=bienvenu, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@115109 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 18:24:47 +00:00
kirk.erickson%sun.com
994e815065 Added tokenIDCount, and tokenHashTable to comments about objectLock.
git-svn-id: svn://10.0.0.236/trunk@115108 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 18:05:52 +00:00
timeless%mac.com
a73ac4fc75 HPUX rightly insists that class a{a::a(){}} isn't the right way to declare a constructor
fixed to class a{a(){}}.  I can't believe that msvc and gcc didn't mind what I did.


git-svn-id: svn://10.0.0.236/trunk@115106 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 14:29:12 +00:00
mkaply%us.ibm.com
c1b38beab8 Fix HPUX bustage - some compilers don't like a comma on the last enum
git-svn-id: svn://10.0.0.236/trunk@115105 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 13:48:50 +00:00
sspitzer%netscape.com
b5d66d0be8 fix for #121639. get forward as attachment to work for news again.
while I'm at it, some code cleanup.  note, this fix also makes it so
we use the news cache when copying messages, which is a perf win.
most of this r=naving, all of it r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@115104 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 08:23:05 +00:00
law%netscape.com
5d2c4d7fcc Bug 27609; use new progress dialog so errors are handled properly; r=bzbarsky, sr=ben
git-svn-id: svn://10.0.0.236/trunk@115103 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 08:03:21 +00:00
seawood%netscape.com
16201999e4 Updating search path (again). Fixing tinderbox bustage from bug 120845
git-svn-id: svn://10.0.0.236/trunk@115102 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 08:00:58 +00:00
law%netscape.com
e16d1d46e6 Bug 27609; change exthandler to use new progress dialog and properly report i/o errors; r=bzbarsky, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@115101 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 08:00:29 +00:00
law%netscape.com
23f94daf82 Bug 27609; make webbrowserpersist work properly with new progress dialog and report errors better; r=adamlock, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@115100 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:57:33 +00:00
law%netscape.com
fe6b53739a Bug 27609; final changes for new progress dialog, r=ben, sr=jag
git-svn-id: svn://10.0.0.236/trunk@115099 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:54:37 +00:00
jst%netscape.com
0604f64bed Checking in Boris Zbarsky's <bzbarsky@mit.edu> fix for bug 117269. Making mozilla not invent silly file extensions when saving files. r=law@netscape.com, rs=jaggernaut@netscape.com, jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@115098 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:50:52 +00:00
law%netscape.com
660ab2c0e8 Bug 27609; last piece of build puzzle for new progress dialog; r=bryner, sr=jag
git-svn-id: svn://10.0.0.236/trunk@115097 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:50:02 +00:00
seawood%netscape.com
e56f01c063 Fixing more win32 gmake bustage
git-svn-id: svn://10.0.0.236/trunk@115096 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:49:43 +00:00
law%netscape.com
99cfff7b38 Bug 27609; add new progress dialog to win32/linux builds; r=bryner, sr=jag
git-svn-id: svn://10.0.0.236/trunk@115095 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:48:15 +00:00
pavlov%netscape.com
ee5bd6103b bug 125713 sr=brendan
git-svn-id: svn://10.0.0.236/trunk@115094 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:44:35 +00:00
law%netscape.com
2175432b2c Bug 27609; mac build system changes to build new progress dialog; r=sdagley, sr=jag
git-svn-id: svn://10.0.0.236/trunk@115093 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:31:09 +00:00
sgehani%netscape.com
7f7ad8c6a7 Fix language navigation up/down button edge cases.
b=120382; r=law; sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@115092 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:27:13 +00:00
joki%netscape.com
d9bb857aa4 Fix for bug 56240, reset selection and mouse capture states when mousedown/mouseup sequence processes abnormally. r:saari, sr:js
git-svn-id: svn://10.0.0.236/trunk@115091 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:23:35 +00:00
joki%netscape.com
b8a3a15c26 Fix for bug 56240, reset selection and mouse capture states when mousedown/mouseup sequence processes abnormally. r:saari, sr:jst
git-svn-id: svn://10.0.0.236/trunk@115090 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:22:55 +00:00
taka%netscape.com
c2e9120f96 Re-write RFC-2047 encoder. bug 73403 12699 37088 98675 102610 104447 119079, r=nhotta, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@115089 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:18:11 +00:00
seawood%netscape.com
bef20ca9df Updating REQUIRES.
Fixing win32 gmake tinderbox bustage


git-svn-id: svn://10.0.0.236/trunk@115088 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:18:05 +00:00
sgehani%netscape.com
51f944fe8d Land tab overflow implementation.
b=126095; r=morse; sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@115087 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:17:45 +00:00
aaronl%netscape.com
dfc7d25ee2 Bug 115686. F4 to open menulist popups. Incorrect of original checkin, checking it in correctly. r=blake, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@115086 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:14:13 +00:00
seawood%netscape.com
15e6f7d32c Use PR_TRUE instead of true.
Fixing OS/2 & AIX tinderbox bustage


git-svn-id: svn://10.0.0.236/trunk@115085 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:13:29 +00:00
seawood%netscape.com
6b84c9d933 Do platform checks for postscript printing support (MOZ_ENABLE_POSTSCRIPT) in configure instead of makefiles.
Bug #126102 r=bryner


git-svn-id: svn://10.0.0.236/trunk@115084 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:08:02 +00:00
shliang%netscape.com
97cfb7b78f bug 115673 - new mailnews offline icons - r=andreww, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@115083 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:04:47 +00:00
jband%netscape.com
bded77e04f fix bug 126333. reduce shutdown leakage by releaseing Components object members. r=dbradley sr=alecf
git-svn-id: svn://10.0.0.236/trunk@115082 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:03:27 +00:00
shliang%netscape.com
9868ccda10 bug 89706 - new progressmeter for classic - image by wjbell@belletc.net - r=shuehan, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@115081 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:01:27 +00:00
shliang%netscape.com
9518ab89ff bug 120635 - disabled editable menulists are different size - r=andreww, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@115080 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:59:24 +00:00
shliang%netscape.com
e210348deb bug 119385 - some modern images are needlessly transparent - r=andreww, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@115079 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:58:08 +00:00
seawood%netscape.com
3eac8bb56c Remove unneeded dirs from xpcom standalone build.
Go Alecf!


git-svn-id: svn://10.0.0.236/trunk@115078 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:56:15 +00:00
shliang%netscape.com
95ae5532b2 bug 116905 - classic respin icon not displayed - patch by joonas@cc.hut.fi - r=shuehan, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@115077 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:56:10 +00:00
shliang%netscape.com
d7c0f29fa6 bug 117084 - fields in wallet viewer are too narrow - r=andreww, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@115076 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:52:30 +00:00
shliang%netscape.com
b1ebf33381 bug 112273 - inconsisten chrome url in classic's global/contents.rdf - r=andreww, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@115075 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:50:55 +00:00
shliang%netscape.com
1ce87fe994 bug 122492 - addressing widget text not centered - r=bhuvan, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@115074 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:48:44 +00:00
shliang%netscape.com
f0eca83c67 bug 45173 - make mailing list address entry dialog use addressing widget - r=hewitt/bhuvan, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@115073 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:46:11 +00:00
rginda%netscape.com
ca0ebf3fe6 - venkman only -
add fbreak command to source view context menu


git-svn-id: svn://10.0.0.236/trunk@115072 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:45:47 +00:00
seawood%netscape.com
9d92a7c416 Moved npapi.h & npupp.h to modules/plugin/base/public. Removing old copies
Bug #120845 r=bryner


git-svn-id: svn://10.0.0.236/trunk@115071 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:41:42 +00:00
cathleen%netscape.com
6a0e426e6c eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@115070 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:38:38 +00:00
shliang%netscape.com
094e13d6fb bugs 116451, 109908 - changing mail list and map it button display in addressbook card view pane - r=bhuvan, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@115069 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:34:00 +00:00
shliang%netscape.com
62082bc91f bugs 118878, 118882, 118885, 118891, 95699 - addressbook printing - r=bhuvan, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@115068 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:30:03 +00:00
seawood%netscape.com
77d4083faf Allow distributors to set specific builddate by setting MOZ_BUILD_DATE in the env.
Thanks to Christopher Blizzard <blizzard@redhat.com> for the patch.
Bug #123391 r=cls,blizzard


git-svn-id: svn://10.0.0.236/trunk@115067 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:21:10 +00:00
sgehani%netscape.com
dc2420a155 Landing print preview toolbar and UI.
b=111235; r=law; sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@115066 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:19:39 +00:00
samuel%sieb.net
33c49ab860 Bug 120153 - make /part always close the correct tab
r=rginda
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@115065 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:19:08 +00:00
samuel%sieb.net
ff7c89d6f9 Bug 126418 - add '{' and '}' to not be included in channel links
r=rginda
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@115064 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:16:42 +00:00
jkeiser%netscape.com
949db40184 C++ wrapper for PLDHashTable (bug 125489), r=alecf@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115063 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:08:53 +00:00
seawood%netscape.com
e2640f450e Link xpcom after unicharutil so that symbols are resolved in the proper order on Irix.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@115062 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:06:54 +00:00
jkeiser%netscape.com
7becb2bb13 Tabbing out of dropdown does not reset selected item (bug 100188), r=rods@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@115061 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:59:46 +00:00
seawood%netscape.com
e0bb3d1c56 Adding missing file to win32 gmake build.
Fixing tinderbox bustage


git-svn-id: svn://10.0.0.236/trunk@115060 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:59:02 +00:00
rginda%netscape.com
bb1f1d2087 - venkman only -
Adds a "Windows" child to the project view, which tracks all open windows.  Script tags and sub-windows are displayed as children of windows.  Users can now visit files even if they aren't loaded by the js engine.  Clicking on the margin of a line in a file which is not currently loaded by the engine sets a future breakpoint.  See also bug 110312.

find-url command exposed to the console.

fixed strict warning in the command-manager.


git-svn-id: svn://10.0.0.236/trunk@115059 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:58:39 +00:00
dcone%netscape.com
d781bc3674 bug=100324 r=dcone sr=attinasi. Checkin for ftang. Measure the cyrillic characters.
git-svn-id: svn://10.0.0.236/trunk@115058 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:55:52 +00:00
seawood%netscape.com
a240366484 Move old 4x plugin headers from mozilla/include to mozilla/modules/plugin/base/p
ublic/ .
Bug #120845 r=bryner


git-svn-id: svn://10.0.0.236/trunk@115057 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:52:55 +00:00
timeless%mac.com
235d655099 Bug 121922 JavaScript strict warning, cleanup of contentAreaClick
patch by caillon@returnzero.com r=walk84 sr=jag


git-svn-id: svn://10.0.0.236/trunk@115056 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:52:37 +00:00
jkeiser%netscape.com
7922aa5330 mNoNameLookupTable rename (bug 123302), r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@115055 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:51:28 +00:00
jst%netscape.com
4d29697e83 Fixing bug 111529. Optimizing out unnecessary QI calls from nsScriptSecurityManager::GetObjectPrincipal() and doing some other minor cleanups and speedups. r=nisheeth@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@115054 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:51:05 +00:00
rginda%netscape.com
2baaf83b8f bug 126365, "add options and private support to jsdIContext", sr=jst, r=jband
add jsdIContext::options and ::privateData attributes


git-svn-id: svn://10.0.0.236/trunk@115053 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:45:57 +00:00
jkeiser%netscape.com
c899834350 Mac crashing on submit input type=image (bug 126268), r=sicking@bigfoot.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115052 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:45:18 +00:00
seawood%netscape.com
2345629aa3 Move old 4x plugin headers from mozilla/include to mozilla/modules/plugin/base/public/ .
Bug #120845 r=bryner


git-svn-id: svn://10.0.0.236/trunk@115051 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:44:43 +00:00
rogerl%netscape.com
00f1179b87 r=thesteve, sr=brendan, bug @119909 - crashing RegExp with > 10 backrefs.
git-svn-id: svn://10.0.0.236/trunk@115050 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:43:26 +00:00
rjc%netscape.com
8934664f7b Fix bug # 125158: force focus on Mac OS X sheets. code from saari, r=bryner sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@115049 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:42:24 +00:00
law%netscape.com
5b4ec5ba97 Bug 106082; Adds code to select item in Explorer window for Reveal(); r=sgehani, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@115048 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:41:34 +00:00
arougthopher%lizardland.net
a2127abd9a Fix for Bug#125132
foreign characters not displayed properly in justified text

Still iterates one character at a time, but can handle utf-8 chars now.

r=arougthopher@lizardland.net


git-svn-id: svn://10.0.0.236/trunk@115047 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:38:13 +00:00
arougthopher%lizardland.net
102230db45 Fix for Bug#125898
Fix for "tearing" of page while scrolling

r=mozilla@switkin.com


git-svn-id: svn://10.0.0.236/trunk@115046 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:34:02 +00:00
hewitt%netscape.com
924e9b3a0b case issue in file name
git-svn-id: svn://10.0.0.236/trunk@115045 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:49:47 +00:00
hewitt%netscape.com
7aecf8e469 another missing file, is my brain missing as well?
git-svn-id: svn://10.0.0.236/trunk@115044 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:45:22 +00:00
ben%netscape.com
b93135a58a updating nsIBookmarksService caller
git-svn-id: svn://10.0.0.236/trunk@115043 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:35:57 +00:00
ben%netscape.com
c22b40c1b3 114142 - uniform twisty & click behaviour. ensure correct style is used. r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@115042 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:33:43 +00:00
ben%netscape.com
7562360869 114142 - uniform twisty & click behaviour. ensure correct style is used. r=blake, sr=hyatt
required part of files landed previously, otherwise css files will be missing!


git-svn-id: svn://10.0.0.236/trunk@115041 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:33:08 +00:00
ben%netscape.com
42d570bddc update nsIBookmarksService client to use new method name
git-svn-id: svn://10.0.0.236/trunk@115040 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:25:40 +00:00
dbaron%fas.harvard.edu
7a3c8b04cb Fix extraneous whitespace in the makefile that was causing bustage (since $(srcdir)/file ended up with a space in the middle. b=120201
git-svn-id: svn://10.0.0.236/trunk@115039 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:20:14 +00:00
ben%netscape.com
e696ddd4bb update makefile to include appropriate shell lib.
r=rjc sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@115038 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:19:55 +00:00
ben%netscape.com
55bf179df4 Updating call sites of bookmarks-service methods to use new method names.
r=rjc, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@115037 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:18:07 +00:00
ben%netscape.com
df77c10637 Fix for 106326 - better handling of IE favorites. Adding support for one-time import of
IE favorites in addition to dynamic root which is now off by default.
Also update the nsIBookmarkService API to support IDL naming conventions, and enhance API
with utility methods requested and required by clients.
r=rjc, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@115036 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:16:36 +00:00
sfraser%netscape.com
db09c7f87f Adding nsITimerScriptable.idl to the XML project for sgehani.
git-svn-id: svn://10.0.0.236/trunk@115035 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:09:44 +00:00
rjc%netscape.com
2e50022ce0 Fix bug # 125361: bookmarks issue. r=tingley sr=ben
git-svn-id: svn://10.0.0.236/trunk@115034 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:08:01 +00:00
ben%netscape.com
ae47ccc704 Fix for 106326 - better handling of IE favorites. Adding support for one-time import of
IE favorites in addition to dynamic root which is now off by default.
r=rjc, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@115033 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:06:57 +00:00
blakeross%telocity.com
cb84d51fca 66321 - prevent arrow key toggling in radiobuttons from bubbling. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@115032 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:06:23 +00:00
hewitt%netscape.com
d03e46b2bf missed requires on unix
git-svn-id: svn://10.0.0.236/trunk@115031 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:01:36 +00:00
sgehani%netscape.com
ede69d0b9a Land update notifications.
b=120201; r=law,pavlov; sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@115030 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:01:34 +00:00
badami%netscape.com
0ba82820c6 Rolling back fix for bug 73308.
Seems to be causing regression 126311.


git-svn-id: svn://10.0.0.236/trunk@115029 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:01:22 +00:00
dbaron%fas.harvard.edu
6df13f8120 No newline at end of file will probably break some compilers (and it causes warnings on gcc).
git-svn-id: svn://10.0.0.236/trunk@115028 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:57:04 +00:00
hewitt%netscape.com
00cc82b2a7 whoops, didn't intend to check this in
git-svn-id: svn://10.0.0.236/trunk@115027 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:53:33 +00:00
dbaron%fas.harvard.edu
a6fa9e39c3 No newline at end of file could be dangerous -- I'm not sure. So preventing potential bustage.
git-svn-id: svn://10.0.0.236/trunk@115026 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:53:30 +00:00
hewitt%netscape.com
1597fc0a9c 68136 - Mozilla should have a Full-screen mode, r=ben, sr=jst/jag
git-svn-id: svn://10.0.0.236/trunk@115025 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:50:48 +00:00
ducarroz%netscape.com
a1dc44a2de Fix for bug 93439. Better algorithm to extract attachment of embedded messages. Also use subject of the message as attachment name if needed. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@115024 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:45:45 +00:00
dbaron%fas.harvard.edu
1be77ac75f Fix bustage from hewitt's checkin by exporting nsIFullScreen.idl. b=68136
git-svn-id: svn://10.0.0.236/trunk@115023 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:42:42 +00:00
ducarroz%netscape.com
40a6834d93 Fix for bug 112625. When decomposing a message into files, we need to parse children of a multipart/alternative part. R=cavin, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@115022 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:39:55 +00:00
hewitt%netscape.com
3a936c3077 68136 - Mozilla should have a Full-screen mode, r=ben, sr=jst/jag
git-svn-id: svn://10.0.0.236/trunk@115021 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:33:52 +00:00
peterlubczynski%netscape.com
58ba5b055e Fixing keyboard event bustage for Mac plugins bug 110190 r=sdagley sr=beard
git-svn-id: svn://10.0.0.236/trunk@115020 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:23:50 +00:00
sicking%bigfoot.com
e51968e5eb change the xbl-syntax <... inherits=".."> to <... xbl:inherits="..">
b=119317 r=jkeiser sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@115019 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:21:26 +00:00
rods%netscape.com
41c01215ce It will no longer layout document with a zero width or height
Bug 114139 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@115018 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:21:25 +00:00
joki%netscape.com
d4bd380211 Fix 36573, send text field change event through nsPresShell central dispatch method in order to correctly set target property. r:saari, sr:jst
git-svn-id: svn://10.0.0.236/trunk@115017 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:20:33 +00:00
dbaron%fas.harvard.edu
4281b39a7d Some compilers (like gcc 3.0.3, at least) don't like a main that returns void, so make it return int. Fixing bustage. r=timeless
git-svn-id: svn://10.0.0.236/trunk@115016 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:20:04 +00:00
rods%netscape.com
d45c6e25f1 1) Makes sure that when a PrintSettings is created it is initialized from the
default printer.
2) Mail now uses the nsIWebBrowserPrint interface to create the PrintSettings
object it caches and uses
3) Editor now creates and caches a PrintSettings object.
Bug 123554 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@115015 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:18:33 +00:00
joki%netscape.com
91468521dd Fix for 104310, prevent recursive firing of onselect event. r:saari, sr:jst
git-svn-id: svn://10.0.0.236/trunk@115014 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:18:14 +00:00
dbragg%netscape.com
ecdd4eb6af Updating the localeVersion to 0.9.9. Fixes bug 126240. r=tao, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@115013 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:18:10 +00:00
harishd%netscape.com
28bce6046e Regression - Make EXPECTED TAG error message localizable. b=126452, r=harishd, sr=jst. ** Patch provided by heikki@netscape.com **
git-svn-id: svn://10.0.0.236/trunk@115012 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:16:14 +00:00
shrutiv%netscape.com
a733e80e45 Including cfg file for Mac customization
git-svn-id: svn://10.0.0.236/trunk@115011 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:13:31 +00:00
mscott%netscape.com
bb3d09156a Bug #11926, psuedo is spelled pseudo. Correct the spelling error on my pref.
rs=sspitzer


git-svn-id: svn://10.0.0.236/trunk@115010 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:11:27 +00:00
nhotta%netscape.com
2f7b56270c Changed the conversion from UTF-8 to UCS2 to use uconv which can handle stream input,
bug 118664, r=ducarroz, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@115009 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:10:19 +00:00
timeless%mac.com
e4beb05e73 Bug 114166 Test app for nsDeque
rs=alecf


git-svn-id: svn://10.0.0.236/trunk@115008 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:09:40 +00:00
timeless%mac.com
29beedeb0d Bug 114166 rewrite nsDeque
r=akkana sr=alecf
rs=alecf for TestDeque.cpp


git-svn-id: svn://10.0.0.236/trunk@115007 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:08:32 +00:00
naving%netscape.com
dd327121f2 114960 r=racham sr=mscott. Select the search text upon issuing search from search bar(quick search)
git-svn-id: svn://10.0.0.236/trunk@115006 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:06:30 +00:00
varada%netscape.com
0e09d6450f fix for 86116-autospellcheck doesnt work all the time;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@115005 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:06:08 +00:00
varada%netscape.com
adb8072aaf fix for 105838;choosing right identity;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@115004 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:05:53 +00:00
nhotta%netscape.com
c69aaa6d4d Changed to use the service for nsIMimeConverter, bug 123699, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@115003 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:05:46 +00:00
dbragg%netscape.com
e062d3a804 Fix for blocker bug 126507. The fix for 91721 required the removal of the drop-down
box in the Pref/Appearance.  I removed the drop down code but not the code that calls
it when the OK button is pressed.  This fix corrects that. r=sgehani, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@115002 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:05:24 +00:00
nhotta%netscape.com
be5ac9d0a7 Changed the conversion from UTF-8 to UCS2 to use uconv which can handle stream input,
bug 118664, r=ducarroz, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@115001 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:04:40 +00:00
nhotta%netscape.com
552b14c1fd Changed to use the non nsString version of nsITextTransform::Change which saves the allocation for nsString, plus clean up,
bug 125077, r=ducarroz, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@115000 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:04:24 +00:00
bbaetz%student.usyd.edu.au
869ebcd121 The mac doesn't have strdup?? Using nsCRT::strdup instead, like the rest
of the file.


git-svn-id: svn://10.0.0.236/trunk@114999 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:37:47 +00:00
hewitt%netscape.com
d65be682b1 121955 - implement checkbox listitems, r=hyatt, sr=blake
git-svn-id: svn://10.0.0.236/trunk@114998 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:20:27 +00:00
hewitt%netscape.com
43735b115e 110165 - Crash scrolling in addressing widget, r=hyatt, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@114997 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:19:08 +00:00
cmanske%netscape.com
04c3580b8b Update to Composer Publishing UI, b=88208, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@114996 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:17:46 +00:00
pinkerton%netscape.com
1bdf0dd8ca don't bail on bg drawing when moz-appearance is set on a root. r=bryner/sr=hyatt. bug#119736
git-svn-id: svn://10.0.0.236/trunk@114995 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:14:18 +00:00
bbaetz%student.usyd.edu.au
bb2690755b Bug 110760 - directory listings shouldn't reuly on libappcomps.
Also fixes bug 102826 & related issues.
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@114994 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:14:17 +00:00
pinkerton%netscape.com
df549a9260 cleanup bg theme brush and fix things for dialog bg to draw. r=bryner/sr=hyatt. bug#119736
git-svn-id: svn://10.0.0.236/trunk@114993 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:14:04 +00:00
dbaron%fas.harvard.edu
57bd9db886 Fix IRIX bustage. We can't use C++ comments in headers included by C files.
git-svn-id: svn://10.0.0.236/trunk@114992 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 02:04:10 +00:00
alecf%netscape.com
d93d2484e1 argh, fix more mac bustage, I think this is the end of it.. Sorry, I hadn't re-exported my .xml files
git-svn-id: svn://10.0.0.236/trunk@114991 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 01:43:45 +00:00
hyatt%netscape.com
f178aa40ac Scrolling ROCKS in Cocoa now. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@114989 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 01:09:25 +00:00
hyatt%netscape.com
33a0508bfc Scrolling ROCKS in Cocoa now. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@114988 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 01:07:39 +00:00
alecf%netscape.com
c076eca201 add unicharutil static lib
git-svn-id: svn://10.0.0.236/trunk@114983 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 00:48:08 +00:00
alecf%netscape.com
bd7d7c1bf1 argh, add requires for non-gmake win32
git-svn-id: svn://10.0.0.236/trunk@114982 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 00:43:01 +00:00
smontagu%netscape.com
4ca6dc62ac Linux bustage
git-svn-id: svn://10.0.0.236/trunk@114981 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 00:25:06 +00:00
blakeross%telocity.com
b49318adc9 Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@114980 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 00:15:14 +00:00
blakeross%telocity.com
475b54447d Download manager. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@114979 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 00:11:23 +00:00
smontagu%netscape.com
f446513d7d Yet another attempt to unbust tinderbox
git-svn-id: svn://10.0.0.236/trunk@114978 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 00:05:34 +00:00
alecf%netscape.com
fda1c3b05c add unicharutil static libs
git-svn-id: svn://10.0.0.236/trunk@114977 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 23:47:11 +00:00
smontagu%netscape.com
d8d40875b4 Another bustage fix
git-svn-id: svn://10.0.0.236/trunk@114976 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 23:35:00 +00:00
gerv%gerv.net
3b38357cf3 Bug 117515 - describekeywords.cgi templatisation.
git-svn-id: svn://10.0.0.236/trunk@114975 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 23:32:07 +00:00
gerv%gerv.net
c777c794ee Bug 115369 - templatise long_list.cgi.
git-svn-id: svn://10.0.0.236/trunk@114974 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 23:22:24 +00:00
roc+%cs.cmu.edu
b87aae1f18 Bug 91516. FIXING BUSTAGE AGAIN
git-svn-id: svn://10.0.0.236/trunk@114973 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 23:19:11 +00:00
locka%iol.ie
bc1c25f6fb Treat NOFRAMES content as CDATA during serialisation to prevent entity subsitution. b=122077 r=harishd@netscape.com sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114972 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:50:16 +00:00
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
timeless%mac.com
ee97348478 Bug 125078 Implement InitPrintSettingsFromPrinter for GTK+/Xlib
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114969 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:47:35 +00:00
ducarroz%netscape.com
18647eee0a Temporary back up my fix for bug 112625 to verify is not the cause of the MLK reported in bug 12364
git-svn-id: svn://10.0.0.236/trunk@114968 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:47:31 +00:00
bienvenu%netscape.com
c409a89b6c fix imap label setting on server to unset any possible other labels rs=sspitzer 126144
git-svn-id: svn://10.0.0.236/trunk@114967 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:47:13 +00:00
bienvenu%netscape.com
095543d2f8 fix downloading of news msgs when going offline if you automatically download msgs rs=sspitzer 126342
git-svn-id: svn://10.0.0.236/trunk@114966 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:39:33 +00:00
ian%hixie.ch
908e34841f Improve help info. Change the command syntax to not clash with the Infobot module. Made the -- and ++ commands slightly more discriminating. Fixed an error in an error message (how long till ' loses its special meaning... grr...). Made people drop off the list when they hit zero. Made the individual karma report give the position of the person in the list. Fixed a logic errer in the private stats code. b=123713, r=kerz
git-svn-id: svn://10.0.0.236/trunk@114965 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:34:49 +00:00
roc+%cs.cmu.edu
5d7bbba33d Fixing bustage. Bug 91516.
git-svn-id: svn://10.0.0.236/trunk@114964 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:26:50 +00:00
beard%netscape.com
ce56b8fc88 [not part of build] bumped version to 1.0d8.
git-svn-id: svn://10.0.0.236/trunk@114962 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:24:34 +00:00
bryner%netscape.com
a58dd42daf fixing 152 compiler warnings (bug 126336). r=glazman, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@114961 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:19:44 +00:00
akkana%netscape.com
27123eb55d 97157: turn off debug messages
git-svn-id: svn://10.0.0.236/trunk@114960 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:18:34 +00:00
brade%netscape.com
a46ca5d7d2 fix to use NS_LITERAL_STRING; bug 26384 r=cmanske sr=kin
git-svn-id: svn://10.0.0.236/trunk@114959 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:14:57 +00:00
brade%netscape.com
e401944c63 check if src/dest are equals and don't rewrite file; fix NS_LITERAL_STRING; bug 124625 (r=adamlock; sr=darin)
git-svn-id: svn://10.0.0.236/trunk@114958 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:11:59 +00:00
jake%acutex.net
56781266ab Bug 126487 - Edit attachment as comment was causing an immediate submit instead of letting you edit it in newer Mozilla builds.
r= bbaetz x2


git-svn-id: svn://10.0.0.236/trunk@114957 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:01:33 +00:00
smontagu%netscape.com
c8e7c886e0 Fix tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@114956 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:55:58 +00:00
smontagu%netscape.com
1e6ecfd307 Fix tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@114955 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:44:16 +00:00
ian%hixie.ch
c3fd01caee Stop private messages to the bot from being logged. b=123956, r=kerz. Rename the default command from uris to links. b=72957, r=kerz.
git-svn-id: svn://10.0.0.236/trunk@114954 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:42:04 +00:00
ian%hixie.ch
96d388d9f9 Minor changes to what commands are accepted to make it friendlier. b=72961, r=kerz
git-svn-id: svn://10.0.0.236/trunk@114953 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:37:20 +00:00
roc+%cs.cmu.edu
d392c57939 Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114952 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:33:26 +00:00
ian%hixie.ch
707f822bde Add the custom library files to the list of files to check for changes. This will make upgrading mozbot easier. r=kerz
git-svn-id: svn://10.0.0.236/trunk@114951 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:33:23 +00:00
sspitzer%netscape.com
44df1f1fa9 fix for #121868. crashers problems when we fail to generate collation keys.
this happens to us on OS X, it seems.  patch by nhotta.  r/sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@114950 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:24:31 +00:00
blakeross%telocity.com
46dd45e3ec The rest of the fix for 77935 that I forgot last night. r=hewitt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114949 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:23:34 +00:00
roc+%cs.cmu.edu
c8545dff04 Bug 91516. Safeguard view traversal in nsObjectFrame so it doesn't walk out the current document. r=peterl,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114948 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:22:23 +00:00
sspitzer%netscape.com
83b9b630e2 fix for #124430. hide sidebar in addressbook by default. r/sr=bienvenu, a=bnesse
git-svn-id: svn://10.0.0.236/trunk@114947 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:20:30 +00:00
cbiesinger%web.de
41e3a777e3 bug 126059 r=timeless sr=alecf
disable menu stuff for images (like Search in Page, Text Zoom, etc.)


git-svn-id: svn://10.0.0.236/trunk@114946 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:19:42 +00:00
samuel%sieb.net
ef05b65cfb Bug 92933 - correct tab selection
r=rginda
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@114945 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:07:34 +00:00
seawood%netscape.com
efc862c6ef Updating REQUIRES.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@114944 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 20:55:54 +00:00
jake%acutex.net
0b97d4fccf Bug 118774 - The keyword field wasn't showing up because have_keywords wasn't being properly set before passing it on to the template.
Patch by Jeff Lawson <jlawson@bovine.net>
r= jake, justdave


git-svn-id: svn://10.0.0.236/trunk@114943 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 20:50:18 +00:00
smontagu%netscape.com
d0afe74092 Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114942 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 20:41:32 +00:00
brade%netscape.com
2fa52a2da9 fix mac build bustage
git-svn-id: svn://10.0.0.236/trunk@114941 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 18:27:25 +00:00
cathleen%netscape.com
28c9878e85 back out this nsCRT::strlen to strlen change, look for better solution later
git-svn-id: svn://10.0.0.236/trunk@114940 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 17:27:11 +00:00
cathleen%netscape.com
6f09324ed7 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114939 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 16:01:45 +00:00
hidday%geocities.com
699ab5e44e Bug 97587: can't create image maps from the DOM.
We were trying to add the image map to the wrong
document. r=sicking@bigfoot.com sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@114938 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 16:00:33 +00:00
karnaze%netscape.com
430941b018 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
cmanske%netscape.com
f915ef807f Fix another dialog focus racing bug - table properties, b=126049, r=rcassin@supernova.org, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@114936 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:09:41 +00:00
ian%hixie.ch
24837172c9 Correct minor typo ('retieve' to 'retrieve'). r=ispell
git-svn-id: svn://10.0.0.236/trunk@114935 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:04:55 +00:00
wtc%netscape.com
0a7f3ffdbb Bugzilla bug 124952: removed the "depend->clean" hack for NSS 3.4 landing.
Modified files: Makefile.in security/manager/Makefile.in
security/nss/makefile.win


git-svn-id: svn://10.0.0.236/trunk@114934 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:03:07 +00:00
cmanske%netscape.com
329ee294f0 1st draft of publish icon added to Composer toolbar and CSS to use it, b=125128, r=glazman, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@114933 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:01:47 +00:00
dbradley%netscape.com
4c972e2fbe Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114932 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 14:48:00 +00:00
jdunn%netscape.com
93a46ee258 adding xptc files for HP-UX 11.20 support of IPF (ia64 platform).
r=jband@netscape.com
r=cls@seawood.org
# 126293


git-svn-id: svn://10.0.0.236/trunk@114928 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 12:28:21 +00:00
blizzard%redhat.com
2e152ec52a Bug #125495. Get irc building again in the rpms. Get these patches working again. Doesn't affect the default build.
git-svn-id: svn://10.0.0.236/trunk@114927 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 12:16:50 +00:00
jfrancis%netscape.com
b38a95dde6 fixes:
117418: warnings in nsWSRunObject.cpp
98286: splitting paragraphs broken
101041: block transformations could grab too much beyon selection
82813: whitespace handling code needs to do right thing with preformatted text
99545 &
103677: new blocks not always pre-populated with br
41336: better handling of mailcites when splitting or deleting them or portions of them

partial fix for:
46474: creating new blocks kills style settings

r=fm, sr=kin


git-svn-id: svn://10.0.0.236/trunk@114926 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 12:02:09 +00:00
rods%netscape.com
c3c6dd1adf Makes sure the prefs aren't set if the pref values don't exist
Bug 124139 r=rods sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114925 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:59:27 +00:00
jfrancis%netscape.com
31165ba709 fixes:
117418: warnings in nsWSRunObject.cpp
98286: splitting paragraphs broken
101041: block transformations could grab too much beyon selection
82813: whitespace handling code needs to do right thing with preformatted text
99545 &
103677: new blocks not always pre-populated with br
41336: better handling of mailcites when splitting or deleting them or portions of them

partial fix for:
46474: creating new blocks kills style settings

r=fm, sr=kin


git-svn-id: svn://10.0.0.236/trunk@114924 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:52:50 +00:00
rods%netscape.com
221670b5c2 1) In DocumentViewer: I did rearrange some of the data members for PrintData
and PrintObject and their initialization order
2) In DocumentViewer: Implemented the shrink to fit feature by calc'ing the
ratios in the first reflow and then reflowing a second time to shrink them
3) In nsPageFrame: This is somewhat unrelated to this bug, but I found where
continuing frame content was being parented to the PageFrame instead of the
PageContentFrame.
4) Although at this time I am not using DumpFrames for debugging I may want to
switch back to it while debugging at anytime.
Bug 100967 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114923 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:49:27 +00:00
dbradley%netscape.com
11a6c0c0fe Bug 121938 - XPCWrappedJS::GetNewORUsed does not look for inherited interfaces when matching interfaces. r=jband, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114922 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:24:21 +00:00
bstell%ix.netcom.com
b7194ebab6 better fix for the linux bustage
git-svn-id: svn://10.0.0.236/trunk@114921 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:02:23 +00:00
bstell%ix.netcom.com
4ed5035aa4 bug 116155, add code to measure/render using a common X font interface
r=pavlov@netscape.com, sr=jaggernaut@netscape.com


git-svn-id: svn://10.0.0.236/trunk@114920 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:00:24 +00:00
hewitt%netscape.com
ab49f36890 41526 - implement 'Set As Wallpaper' on windows, r=pavlov, sr=blake
git-svn-id: svn://10.0.0.236/trunk@114919 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 10:40:42 +00:00
bbaetz%student.usyd.edu.au
c68b7c8980 OK, lets try this, then.
Build bustage fix.


git-svn-id: svn://10.0.0.236/trunk@114918 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 10:24:09 +00:00
badami%netscape.com
8331526176 [serializer]nested lists don't convert to plain text properly.
bug 95224 patch=tmutreja@netscape.com r=akkana sr=jst


git-svn-id: svn://10.0.0.236/trunk@114917 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 10:23:24 +00:00
seawood%netscape.com
e4d434e2ba Move build logic for static builds into separate .mk so that it doesn't have to be duplicated across Makefiles. Use slightly more generic name for _getModuleInfo function so that it can be used for multiple binaries.
Bug #88038 r=bryner


git-svn-id: svn://10.0.0.236/trunk@114916 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 10:01:05 +00:00
bstell%ix.netcom.com
758d860008 fix HP bustage
git-svn-id: svn://10.0.0.236/trunk@114915 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 09:51:56 +00:00
bstell%ix.netcom.com
2b1244ccf3 fix tree bustage
git-svn-id: svn://10.0.0.236/trunk@114914 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 09:32:54 +00:00
bbaetz%student.usyd.edu.au
8a64e4f492 Fix for mac bustage (side effect of bug 102980). This should hopefully fix
it - I don't have a mac.
rs=shaver


git-svn-id: svn://10.0.0.236/trunk@114913 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 09:20:45 +00:00
gordon%netscape.com
dd2dbeef82 Fix bug 102921 "Mozilla crashes when Cache in profile dir points
to nonexistent directory". Change to fail nsDiskCacheDevice::Init()
if mCacheDirectory is nsnull.  sr=darin.


git-svn-id: svn://10.0.0.236/trunk@114912 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 09:08:09 +00:00
bstell%ix.netcom.com
a9d7de11b5 bug 116151, add files for FreeType / TrueType font support
r=shanjian@netscape.com, sr=mcafee@netscape.com (delegate for mscott@netscape.com)


git-svn-id: svn://10.0.0.236/trunk@114911 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 08:53:50 +00:00
bstell%ix.netcom.com
26c9bf542d bug 116153, add TrueType support for MathML (GetBoundingBox)
requested during sr= by rbs@maths.uq.edu.au (delegate for brendan@mozilla.org)


git-svn-id: svn://10.0.0.236/trunk@114910 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 08:51:40 +00:00
bstell%ix.netcom.com
350129e0b1 bug 116153, add TrueType language group info to the X font language group
table. Read TrueType prefs.
r=katakai@japan.sun.com, sr=jaggernaut@netscape.com


git-svn-id: svn://10.0.0.236/trunk@114909 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 08:49:29 +00:00
cathleen%netscape.com
b8cedf8e73 eliminate nsCRT::strlen for char* strings (part 3), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114908 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 08:42:48 +00:00
hewitt%netscape.com
3bc0bfe8c3 41526 - implement 'Set As Wallpaper' on windows, r=pavlov, sr=blake
git-svn-id: svn://10.0.0.236/trunk@114907 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 08:12:22 +00:00
bstell%ix.netcom.com
0bac2c0150 bug 116155, add alpha blending routines for FreeType2/TrueType (performance)
Code to to measure/render text using a common font interface.
r=pavlov@netscape.com, sr=jaggernaut@netscape.com


git-svn-id: svn://10.0.0.236/trunk@114906 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:47:06 +00:00
cathleen%netscape.com
44c62ad490 eliminate nsCRT::strlen for char* strings (part 2), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114905 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:43:41 +00:00
cathleen%netscape.com
c93312040a eliminate nsCRT::strlen for char* strings (part 1), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114904 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:36:56 +00:00
rbs%maths.uq.edu.au
ee6ecf963a Initialize variables - regression/left-over from bug 96870 that caused me to spent cycles chasing a non-existent bug elsewhere, carrying forward r=rods, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114903 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:30:58 +00:00
rbs%maths.uq.edu.au
2cf5c952c3 Add entry for the official Unicode minus sign
git-svn-id: svn://10.0.0.236/trunk@114902 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:24:19 +00:00
bstell%ix.netcom.com
6e89beffd6 bug 116153, add default prefs for TrueType display
r=katakai@japan.sun.com, sr=rbs@maths.uq.edu.au/brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@114901 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:16:48 +00:00
bstell%ix.netcom.com
4885d00b22 bug 116154, scan fonts to generate/save/read font summaries since getting
the valid glyph list is so expensive. Code to map TrueType fonts so the
mos X font selection code cand find them by name and/or language-group
r=smontagu@netscape.com, sr=rbs@maths.uq.edu.au/brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@114900 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:14:10 +00:00
bbaetz%student.usyd.edu.au
fd7671f948 Bug 44995 - support socks proxies in mailnews
r=mscott, sr=darin


git-svn-id: svn://10.0.0.236/trunk@114899 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:07:23 +00:00
bnesse%netscape.com
c2f0ad7960 Backing this out again... I'm beginning to hate this patch.
git-svn-id: svn://10.0.0.236/trunk@114898 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 06:29:41 +00:00
gordon%netscape.com
65f1aed4fd Fixing optimized mac bustage.
git-svn-id: svn://10.0.0.236/trunk@114897 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 06:17:10 +00:00
dveditz%netscape.com
7b150042ea Fix Install.addDirectory register under a predictable key (bug 125984);
remove dead cruft and whitespace r=sgehani sr=mscott


git-svn-id: svn://10.0.0.236/trunk@114896 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:58:24 +00:00
bnesse%netscape.com
ca7c6cfe6b Fix for bug 98476. Add safe save and redundant backup support for preferences. r=sfraser, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@114895 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:55:08 +00:00
bnesse%netscape.com
1efd2d9c93 Bug 98476. Gracefully handle error returned from saving of preferences file. r=sfraser, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@114894 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:52:32 +00:00
endico%mozilla.org
a34966fb87 Change the default time bomb url to http://mozilla.org/time-bomb.html bug 126348 r=blake, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@114893 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:50:17 +00:00
seawood%netscape.com
8a3c032b4f Oops. Forgot that LIBS_DIR already set -L. Fixing dec1 bustage
git-svn-id: svn://10.0.0.236/trunk@114892 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:38:41 +00:00
stephend%netscape.com
e6e451f8f3 Fix bug 125606 and bug 126355. Clear out the textfield on refresh (bug 125606) and on switching servers (bug 126355). r=suresh@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114891 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:38:33 +00:00
gordon%netscape.com
740ec7cd6c Fix bug 108046 "DNSService Shutdown uses getService; suggest registering WeakPtr". r=dougt, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@114890 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:38:03 +00:00
gordon%netscape.com
8be697d4bf Fix bug 122682 "browser hangs temporarily if switched offline while DNS thread in in GetHostByName". r=gagan, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@114889 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:36:27 +00:00
gordon%netscape.com
956986a72e Fix bug 107766 "DeactivateEntry: bad cache entry state when quitting". The cache entry state is legitimate on shutdown. Change NS_WARNING to NS_ASSERTION that doesn't fire on shutdown. r=gagan, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@114888 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:32:18 +00:00
ducarroz%netscape.com
ec382db561 Fix for bug 112625. When decomosing a message to file, we need to parse children of a multipart/alternative part. R=cavin, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@114887 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:32:06 +00:00
cmanske%netscape.com
3ce9957582 Fixed focus problems and ability to remove background image, b=115858, r=neil@parkwaycc.co.uk, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114886 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:29:57 +00:00
gordon%netscape.com
1999bf0431 Fix bug 116562 "Flash movie is not loaded if disk cache is disabled". Return error from SetCachePolicy() if storage is not currently enabled for policy. r=gagan, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@114885 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:29:49 +00:00
gordon%netscape.com
0877fc9773 Fix bug 97097 "nsIDNSService::Resolve does not use the dns cache". r=gagan, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@114884 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:28:20 +00:00
gordon%netscape.com
50c69be4a2 Fixing optimized mac bustage.
git-svn-id: svn://10.0.0.236/trunk@114883 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 05:00:29 +00:00
mcafee%netscape.com
60dc31b4b8 Backing out mstoltz. r=dbaron,jrgm
git-svn-id: svn://10.0.0.236/trunk@114882 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 04:06:53 +00:00
shanjian%netscape.com
5c89a47ef8 #117522 gfx/src/nsCompressedCharMap.cpp doesn't build: too many Ls in nsCompressedCharMap.h
r=bstell, sr=brendan
(thanks to timp@clarityconnect.com for test and verify the patch.)


git-svn-id: svn://10.0.0.236/trunk@114881 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 03:29:43 +00:00
shanjian%netscape.com
1e5c3a8000 #119970 Add uk_UA.KOI8-U locale to unixcharset.properties
Thanks to Joe Marcus Clarke for preparing the patch.
r=shanjian, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114880 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 03:24:30 +00:00
dcone%netscape.com
b9645ce2ce b=122996 r=kmclusky sr=attinasi. Use patblt for windows background tiling
git-svn-id: svn://10.0.0.236/trunk@114879 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 03:10:42 +00:00
blakeross%telocity.com
0bcb639fd0 87970 - selecting entry from location bar history should move entry to top. r=jag sr=shaver
git-svn-id: svn://10.0.0.236/trunk@114878 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 03:07:43 +00:00
dbaron%fas.harvard.edu
0e1090c7d8 Fix Windows bustage. b=79091
git-svn-id: svn://10.0.0.236/trunk@114877 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 03:06:00 +00:00
seawood%netscape.com
0950ea9ade Set NSS_LIBS in config.mk. Use "-L<dir> -l<blah>" to link instead of paths to actual shared libraries on unix platforms.
r=rjesup@wgate.com,wtc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@114876 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 03:00:08 +00:00
sfraser%netscape.com
d3500d94c5 Fix bug 94127 -- crash in AppleEvent handling. Fix parameter order. r=pinkerton, sr=blake
git-svn-id: svn://10.0.0.236/trunk@114875 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:57:01 +00:00
aaronl%netscape.com
deb837ffc3 Bug 103284. Was reopened for URL bar regression where down arrow was no longer navigating list. r=blake, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114874 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:47:31 +00:00
blakeross%telocity.com
19e88b48ad 78749 - only show history folders that contain entries.
77935 - make autocomplete from global history optional.

126320 - invalid typed urls should be hidden and expire quickly.

126127 - custom keyword with :// doesn't work.

r=hewitt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114873 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:47:08 +00:00
bzbarsky%mit.edu
d9113378ce Leave rules with empty decl blocks in the sheet so they're picked up by
the DOM.  Bug 112854, r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114872 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:27:38 +00:00
akkana%netscape.com
bdcaf886f7 80805: new find (pref'ed out by default), r=cmanske
git-svn-id: svn://10.0.0.236/trunk@114871 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:24:14 +00:00
akkana%netscape.com
583ab047e8 80805: new editor find dialog (not used by default), files that got missed in a previous checkin. r=cmanske sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114870 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:17:43 +00:00
dbaron%fas.harvard.edu
cdf4582e1f nsDependentSingleFragmentSubstring shouldn't pretend to have a flat buffer, since it's only guaranteed to be single fragment, not null-terminated. b=122727 sr=jag r=alecf
git-svn-id: svn://10.0.0.236/trunk@114869 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:17:09 +00:00
dbaron%fas.harvard.edu
84d82a83f8 Fix the interaction of text zoom with the sizing code for generic fonts. b=125963 r=rbs sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114868 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:11:57 +00:00
dbaron%fas.harvard.edu
1cc61e485b Create a small service in the content library to allow inspector to avoid bad link-time dependencies on CSS code. b=79091 r=attinasi,beard sr=shaver
git-svn-id: svn://10.0.0.236/trunk@114867 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:09:06 +00:00
akkana%netscape.com
1623070ca0 80805: old patch, should have been checked in earlier. r=cmanske sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114866 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:06:41 +00:00
nelsonb%netscape.com
655e93d84c Fix two logic errors reported as warnings on windows. Bug 110187
git-svn-id: svn://10.0.0.236/trunk@114865 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:06:25 +00:00
sfraser%netscape.com
6b89ad1ce9 Fix debug-only code that validates the drawing state, to take the SIOUX window into account. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@114864 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:04:46 +00:00
oeschger%netscape.com
d9424d750c removing references to instant messenger in table of contents, plus fixing some typos in the ids of the topics, bug=122806, r=rudman
git-svn-id: svn://10.0.0.236/trunk@114863 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:01:41 +00:00
harishd%netscape.com
47d396b630 Crasher - Expat parser's XML_ParseBuffer wasn't aware of the BLOCKING mechansim and hence failed to update the buffer position ( bufferPtr ). The fix would update bufferPtr such that when the expat parser gets upblocked we'd resume from the point we stopped. b=123475, r=rbs@maths.uq.edu.au, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114862 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:01:18 +00:00
pschwartau%netscape.com
2204d3ea68 Skipping new testcase until bug 126317 is fixed.
git-svn-id: svn://10.0.0.236/trunk@114861 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:53:39 +00:00
rjesup%wgate.com
a2ec5e88f6 Bug 125025: Animations use a lot of CPU, even when not visible. r=pavlov,
sr=brendan.  Heavily optimizes all the bit-twiddling in mask generation
which was 1/2 of where the CPU time was going.


git-svn-id: svn://10.0.0.236/trunk@114860 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:48:33 +00:00
yokoyama%netscape.com
c32eda13b3 Bug 126231
We didn't want to change the contract between gfx and FontPackageProxy.
but we moved the call fontEnum->HaveFontFor(aFontPackID, &have) from /gfx to /intl/locale
We need to strip the "lang:" from aFontPackID.
/r=ftang;/sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114859 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:48:15 +00:00
sfraser%netscape.com
2645fbe684 Fix for bug 121951 -- make PR_Poll on Mac work with layered file descriptors. r=wtc, r=gordon
git-svn-id: svn://10.0.0.236/trunk@114858 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:43:15 +00:00
sfraser%netscape.com
f71e860cc9 Fix for bug 121952 -- make PR_ConnectContinue work on Mac, re-enabling non-blocking connects. r=wtc. Also bring forward some code changes to build with CodeWarrior Pro 7 (UPP stuff).
git-svn-id: svn://10.0.0.236/trunk@114856 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:26:30 +00:00
peterlubczynski%netscape.com
deabb03ed0 Unload pluign libraries asynchronously to prevent crash with native context menus 104236 r=av sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@114855 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:26:17 +00:00
sfraser%netscape.com
c068f535fe Fix for bug 121952 -- make PR_ConnectContinue work on Mac, re-enabling non-blocking connects. r=wtc
git-svn-id: svn://10.0.0.236/trunk@114854 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:10:06 +00:00
mstoltz%netscape.com
ebb6dc6f70 Bug 105050 - return null window.opener to scripts if opener is a mail window.
Bug 32571 - Prompt user before allowing scripts to close windows if opener is null.
both r=heikki, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@114853 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:09:45 +00:00
alecf%netscape.com
c1f1eaac87 argh, add nsStorageStream back to the build - I didn't mean to check this in
(I had tested on the mac, but checked in from windows)


git-svn-id: svn://10.0.0.236/trunk@114852 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 00:30:01 +00:00
alecf%netscape.com
0f776c56ca attempt to fix mac bustage while I wait on my mac build
git-svn-id: svn://10.0.0.236/trunk@114851 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 00:13:29 +00:00
brendan%mozilla.org
d8e62cd414 Fix bad old js_ValueToInt32 to have an int-jsval fast path, to avoid f.p. inaccuracy (126159, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@114850 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 00:02:29 +00:00
pschwartau%netscape.com
65d13a8893 Adding more cases and improving comments.
git-svn-id: svn://10.0.0.236/trunk@114848 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:59:15 +00:00
jband%netscape.com
1c7ae7ac8d bug 123770. extend xpconnect to use dynamic 'additional' interface info managers to support dynamic type info. Also, abstract out the Components.interfaces object and make the items use a bit less memory. r=dbradley sr=vidur
git-svn-id: svn://10.0.0.236/trunk@114847 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:47:30 +00:00
ftang%netscape.com
ddcd03d7f5 fix bug 90583. r=yokoyama sr=alecf
ignore the invalid position of the cursor so the input method
candidate window won't block the view of the current cursor.


git-svn-id: svn://10.0.0.236/trunk@114846 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:46:51 +00:00
wtc%netscape.com
b4e07815b5 Bugzilla bug 97485: added a stub for pr_FindSymbolInProg for Darwin.
git-svn-id: svn://10.0.0.236/trunk@114844 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:45:10 +00:00
brendan%mozilla.org
4df920fc3b Followup fix for ECMA-262 15.10.6.2 step 6, plus warning fixes (76717, r/sr=shaver&jband).
git-svn-id: svn://10.0.0.236/trunk@114843 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:43:28 +00:00
rayw%netscape.com
eb30dee02f Added conditional in makefiles and build module to enable or disable
MOZ_WSP.  This was only done inside of the MOZ_SOAP defines.  Tested
build with and without SOAP define.  This permits SOAP to be built
without web service proxies.  Related to bug 107795, but needed
whether or not SOAP becomes part of default build.

sr=vidur.  SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114842 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:38:07 +00:00
dbragg%netscape.com
1d38a01a11 Fix for bug 91721. This part of the fix removes the language selection drop down
from the main Pref/Appearance menu.  It's now with content pack selection in the
language/Content selection section as a list box.
r=tao, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114840 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:31:15 +00:00
akkana%netscape.com
3bd4da6536 97157: New find on by default for browser. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@114839 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:30:56 +00:00
pschwartau%netscape.com
dc8a6d8602 Fixing a typo in the comments
git-svn-id: svn://10.0.0.236/trunk@114838 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:29:54 +00:00
akkana%netscape.com
1748e30579 126232: Fix some problems in new find. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@114837 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:28:32 +00:00
dbragg%netscape.com
5059e09837 Fix for bug 91721. This part of the fix is in the View menu. Instead of bringing
up the little submenu it now brings up the Preferences dialog for content and language
packs.  This makes the UI more consistent for selecting and downloading these packs.
r=tao, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114836 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:28:26 +00:00
dbragg%netscape.com
2830e9c169 More fix for bug 91721. The contents-region.rdf and contents.rdf files are used
to evaluate whether a language or content pack is obsolete.  If so they display
(needs update) next to the pack and prevent the user from selecting it. The dtd
files are used for the same purpose.
r=tao, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114835 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:24:40 +00:00
seawood%netscape.com
789a127d29 Removing unneeded LIBS setting. LIBS isn't used to link libraries.
git-svn-id: svn://10.0.0.236/trunk@114834 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:19:49 +00:00
law%netscape.com
cd9d637fde Bug 27609; changes to progress window title; NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@114833 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:19:20 +00:00
shrutiv%netscape.com
fa2841c3f1 Maintaining consistency for Mac OS 9 and Mac OS X 9 and Mac OS X 9 and Mac OS X 9 and Mac OS X 9 and Mac OS X 9 and Mac OS X 9 and Mac OS X 9 and Mac OS X 9 and Mac OS X names
git-svn-id: svn://10.0.0.236/trunk@114832 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:19:02 +00:00
dbragg%netscape.com
c21adc031f Fix for bug 91721. The UI changed to use list boxes for both content packs
and language packs. This is more consistant and approved by UE group.  Obsolete
packs are now displayed with (needs update) next to them and are unselectable
by the user.  This is done using a rule in the pref-contentpacks.xul file.
r=tao, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@114831 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:18:46 +00:00
cavin%netscape.com
8616cabb4f Fix for #125131. Fixed a few problems: (1) msg count in the summary message off by one. (2) msgs in 1st subfolder not imported. (3) msgs in Drafts folder not imported correctly. (4) folders not imported should be posted to summary message. (5) attachment names of imported msgs are randomly generated. r=ducarroz, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@114830 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:18:19 +00:00
rbs%maths.uq.edu.au
612caf8375 bug 124619: initializations to silence the compiler
git-svn-id: svn://10.0.0.236/trunk@114829 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:16:33 +00:00
andreww%netscape.com
6d4b365143 bugzilla bugs 125526 r=marlon sr=hewitt: fixing classic nav images, new image from gregvalure@yahoo.com; 123666 r=andreww sr=hewitt: another classic nav image fix from joonas@cc.hut.fi
git-svn-id: svn://10.0.0.236/trunk@114828 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:13:50 +00:00
wtc%netscape.com
8f23a91622 Bugzilla bug 30746: fixed the deadlock problem of the previous fix for this
bug on Windows if NSPR is initialized by the DllMain function of a DLL.
Modified files: prmwait.c prucpu.c


git-svn-id: svn://10.0.0.236/trunk@114827 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:08:48 +00:00
kmcclusk%netscape.com
16a29eb1ea check for null mOffScreenSurface in CopyOffscreenBits to fix topcrasher. bug 70424 r=pavlov sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114826 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:05:35 +00:00
gordon%netscape.com
693fa87f55 Fix bug 122499 "about:cache thinks expiration time of '0' means 'no expiration'". Changed 'no expiration' value to 0xFFFFFFFF. r=gagan, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@114825 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:05:16 +00:00
alecf%netscape.com
eff2f0d65b oops, back out this change, wasn't supposed to land
git-svn-id: svn://10.0.0.236/trunk@114824 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:00:11 +00:00
dp%netscape.com
a5ce086c1e bug 125641 Adding id r=dougt sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114823 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:59:58 +00:00
dbragg%netscape.com
4fc17247ef Fix for bug 125820. Removed problem wildcard copy from windows packages files and
made explicit calls to addDirectory in the regus.jst file.  This is done to rename
the searchplugins directory to Search Plugins on the Mac. r=sgehani, sr=dveditz.


git-svn-id: svn://10.0.0.236/trunk@114822 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:59:20 +00:00
blakeross%telocity.com
3f8e7b6069 120838 - fix most of the 'theme switching doesn't work from prefs' bugs. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114821 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:58:54 +00:00
alecf%netscape.com
057eaef9e2 remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
r=jag, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114820 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:57:47 +00:00
timeless%mac.com
c0e0ef41ce Bug 125778 Implement getComputedStyle() for {min|max}-{height|width} properties
patch by caillon@returnzero.com r=bzbarsky sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114819 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:54:15 +00:00
peterv%netscape.com
fc30c42b73 Fix for bug 126214 (peterv broke XSLT system-property function). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@114818 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:52:54 +00:00
rbs%maths.uq.edu.au
9c3fae6fd7 Fixup to make sure that recursive child chars are initialized with mOperator from their parent. Also added bogus initializations requested in bug 124619 to silence the compiler
git-svn-id: svn://10.0.0.236/trunk@114817 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:52:15 +00:00
samuel%sieb.net
e60ecfce9b Bug 122347 - fix non-http links
r=rginda
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@114816 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:50:59 +00:00
timeless%mac.com
70fef0f981 Bug 125735 Sidebar.getInterfaces should return the list of interfaces it supports
r=sgehani sr=jag


git-svn-id: svn://10.0.0.236/trunk@114815 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:47:25 +00:00
pinkerton%netscape.com
beaefa90ef tweak attribute checking for xbl form control checkboxes. patch by bryner. r=pink/sr=hyatt. bug#124483
git-svn-id: svn://10.0.0.236/trunk@114814 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:43:19 +00:00
bryner%netscape.com
dab926fb61 Fixing a compiler warning (bug 125949). r=bzbarsky, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@114813 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:42:37 +00:00
pinkerton%netscape.com
01a14f6fd6 Rollup popups before dragging a window. patch by ajfeldman@brown.edu. r=pink/sr=sfraser. bug# 99987
git-svn-id: svn://10.0.0.236/trunk@114812 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:41:59 +00:00
pschwartau%netscape.com
57d2891003 Initial add.
git-svn-id: svn://10.0.0.236/trunk@114811 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:03:46 +00:00
bnesse%netscape.com
8dc9425371 [not part of build] Installation documentation update.
git-svn-id: svn://10.0.0.236/trunk@114810 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 21:53:27 +00:00
cltbld%netscape.com
9442b10401 backing out changes per McAfee's request - kysmith
git-svn-id: svn://10.0.0.236/trunk@114809 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 19:25:48 +00:00
rayw%netscape.com
0b52cd743b More edits, fixes, beautification, links, TOC.
This is documentation, and not part of any build.


git-svn-id: svn://10.0.0.236/trunk@114806 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 18:44:16 +00:00
nboyd%atg.com
c73c521f6c Fix more broken links.
git-svn-id: svn://10.0.0.236/trunk@114805 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 16:25:26 +00:00
karnaze%netscape.com
14130fefa0 bug 124985 - nsCSSFrameConstructor - let the form frame have its original parent. nsTableFrame - don't reflow foreign frames. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@114804 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:57:19 +00:00
peterv%netscape.com
c0355eba6a Keep SOAP building on Mac. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@114803 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:55:05 +00:00
peterv%netscape.com
075241850f Keep SOAP building on Mac (Need to cast the NS_LITERAL_STRING to const nsAString& to make it compile on CW on Mac). Not part of the build.
<jag> Forte sucks.


git-svn-id: svn://10.0.0.236/trunk@114802 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:54:39 +00:00
kaie%netscape.com
46ecb3be02 b=115010 Implement "Message Security Info" when reading S/Mime messages.
(includes b=115209 Only care for outermost signing/encryption level)
r=javi/ducarroz sr=mscott


git-svn-id: svn://10.0.0.236/trunk@114801 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:36:30 +00:00
pinkerton%netscape.com
8bbd0881bc fix gcc scoping problem.
git-svn-id: svn://10.0.0.236/trunk@114800 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:35:25 +00:00
brade%netscape.com
473e783afe remove nsIDiskDocument.idl; bug 102033, r=akkana, sr=smfr
git-svn-id: svn://10.0.0.236/trunk@114799 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:26:14 +00:00
jaggernaut%netscape.com
98780c47ba Bug 123794: urlbar not properly updated when leaving www.libertarian.org [frames]. r=hewitt, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114798 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:23:12 +00:00
neeti%netscape.com
527d475452 fix for bug 119220 - Occurances of uninitialized variables being used before being set, r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@114797 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:22:56 +00:00
nboyd%atg.com
2a09e3e01f Fix broken link.
git-svn-id: svn://10.0.0.236/trunk@114796 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:20:39 +00:00
rayw%netscape.com
70ab7629d2 More edits and beautification.
SOAP, and especially this document, is not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@114795 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 14:44:56 +00:00
timeless%mac.com
540443268d nebiros bustage [Error: Different types for "?:" (nsAString and void).] -- fix attempt #1
git-svn-id: svn://10.0.0.236/trunk@114794 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 14:20:00 +00:00
kaie%netscape.com
e0498fea57 b=125553 fix wrong string usage
r=javi rs=blizzard


git-svn-id: svn://10.0.0.236/trunk@114793 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 13:15:56 +00:00
badami%netscape.com
fa461c8fe9 Pasted text from beginning of line always appends a newline
bug 75283 patch=tmutreja@netscape.com r=akkana sr=jst


git-svn-id: svn://10.0.0.236/trunk@114792 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 12:29:02 +00:00
cbiesinger%web.de
bfb2992079 checking in patch for bug 122144 again because the backout had no visible impact on Txul times.
git-svn-id: svn://10.0.0.236/trunk@114791 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 12:14:52 +00:00
glazman%netscape.com
bf33b04993 alignment problems + removal of useless DIVs when realigning the selection; b=102547, r=jfrancis,sr=kin
git-svn-id: svn://10.0.0.236/trunk@114790 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:49:15 +00:00
badami%netscape.com
a6de6cd010 [serializer]Using blockquote screws up composer's pretty-print.
bug 93276 patch=tmutreja@netscape.com r=akkana sr=jst


git-svn-id: svn://10.0.0.236/trunk@114789 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:33:15 +00:00
badami%netscape.com
57672d7802 HTML serializer doesn't use the base uri for generating absolute url's
bug 80081 patch=tmutreja@netscape.com r=akkana sr=jst


git-svn-id: svn://10.0.0.236/trunk@114788 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:30:27 +00:00
badami%netscape.com
66897d1108 Emoticons can't be copied as originally drawn
bug 57098 patch=tmutreja@netscape.com r=ben.bucksch@beonex.com sr=jst


git-svn-id: svn://10.0.0.236/trunk@114787 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:25:43 +00:00
badami%netscape.com
d02969f676 Composer won't break long tags
bug 103207 patch=tmutreja@netscape.com r=akkana sr=jst


git-svn-id: svn://10.0.0.236/trunk@114786 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:22:17 +00:00
glazman%netscape.com
81a7731014 bad test of collapsed selection, had side effect on setting background color; b=121903, r=jfrancis, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@114785 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:06:07 +00:00
mjudge%netscape.com
a19cfe5c57 new editor funcionality in embedding only. mfc test embed only
git-svn-id: svn://10.0.0.236/trunk@114784 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 09:57:08 +00:00
mjudge%netscape.com
b5586e12f0 small change for STATE_STrIng to STATE_ATTRIBUTE only embedding will notice.
git-svn-id: svn://10.0.0.236/trunk@114783 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 09:55:58 +00:00
jgaunt%netscape.com
8bf7696929 this would break too
git-svn-id: svn://10.0.0.236/trunk@114782 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 08:48:29 +00:00
jgaunt%netscape.com
dbe191ec15 DAMN, more bustage fixage
git-svn-id: svn://10.0.0.236/trunk@114781 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 08:46:08 +00:00
jgaunt%netscape.com
562957293e bustage fix
git-svn-id: svn://10.0.0.236/trunk@114780 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 08:12:27 +00:00
bryner%netscape.com
897209b0a8 - Use the focused attribute for radio containers, not :focus
- Add tooltip support
- Fix dropdown arrow sizing, hopefully

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@114779 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 07:51:35 +00:00
badami%netscape.com
ab6750dcd1 Leaking nsCStringKey objects
Bug 73308 patch=tmutreja@netscape.com r=gagan sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114778 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 07:46:08 +00:00
jgaunt%netscape.com
0ae4261046 bug 109223 - XUL listbox Accessibility support r=aaronl sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114777 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 07:35:10 +00:00
samuel%sieb.net
e25b630e69 Bug 123604 - make all commands lowercase after they are entered
r=rginda
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@114774 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 07:05:14 +00:00
sspitzer%netscape.com
625c4a735e fix for #120502. bad problems replying to and cancelling news posts with # in the message id.
r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@114773 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 06:20:46 +00:00
samuel%sieb.net
9329a4002f Bug 126109 - remove space from ctcp commands that have no parameters
r=rginda
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@114772 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 06:13:33 +00:00
samuel%sieb.net
cd5cfb7a21 Bug 126094 - fix chatzilla's issues with apostrophes
r=rginda
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@114771 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 06:11:07 +00:00
blakeross%telocity.com
837719b147 56647 - autocomplete menu has improper tooltip. r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114770 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 06:05:16 +00:00
rginda%netscape.com
7fcc0197d4 bug 123118, insert overlay elements with no id into the root of the target document.
sr=brendan, r=jst


git-svn-id: svn://10.0.0.236/trunk@114767 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 05:39:48 +00:00
bbaetz%student.usyd.edu.au
ac0812f472 Bug 109600 - PAC script breaks chatzilla
Bug 71565 - socks proxy doesn't work with chatzilla

Chatzilla's urls need to be standardurls, not simpleuris

r=rginda, chatzilla only


git-svn-id: svn://10.0.0.236/trunk@114766 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 03:53:08 +00:00
rayw%netscape.com
81dd7bbf15 I found three small but important errors in type identification processes.
Two of them involve the missing classes Struct and AnySimpleType, which I
have been able to fake out.  The third involves the identification of the
type of the array.  When identifying the type of a variant, interface means
that it contains a struct.  but I was using the same method to identify the
type of an array, where interface always means you don't know the type (since
variants show up as interfaces in this case and even nested arrays are
variants).

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114765 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 03:46:45 +00:00
sspitzer%netscape.com
63da40c526 fix for #125986, add accelerator text for "mark thread as read" in
Mark toolbar dropdown.  fix bug mhammond@skippinet.com.au (Mark Hammond).
r=hwaara, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@114764 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 03:39:16 +00:00
blakeross%telocity.com
994b8ecb36 124615 - mailnews start page textbox should have autocomplete. r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114762 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 02:53:17 +00:00
rayw%netscape.com
8ca972219b More fixes to docs.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114759 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 00:40:50 +00:00
blakeross%telocity.com
a8e8c6b036 118572 - extended delete functions don't work with login:password urls. r=ben sr=hewitt
95462 - uncaught exceptions in nsOutlinerController.js. r/sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@114758 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 00:35:38 +00:00
rayw%netscape.com
37b02d7cfc Yet another much-improved version of the SOAP documentation.
SOAP is not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@114757 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 00:17:09 +00:00
brendan%mozilla.org
dd2c45762c Digital filter for adaptive timeout adjustment, needs trunk baking, makes things better so far (117061, r=pavlov, sr=jst).
git-svn-id: svn://10.0.0.236/trunk@114756 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 00:10:55 +00:00
dbaron%fas.harvard.edu
aacb407b7a Correct spelling of nsIDragDropHandler.idl and thus fix bustage.
git-svn-id: svn://10.0.0.236/trunk@114755 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 23:58:17 +00:00
blakeross%telocity.com
deddbbf75d 126058 - right mouse down on outliner item while context menu is open doesn't select new item. Allow the right mouse button down event to be dispatched when rolling up context menus. r=pink sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114754 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 23:47:09 +00:00
cbiesinger%web.de
7ec80078ac backing out patch for bug 122144 because Txul is 1% up
a=shaver


git-svn-id: svn://10.0.0.236/trunk@114753 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 22:26:05 +00:00
seawood%netscape.com
590c18dc31 Explicitly use <STDIN> instead of <> as some newer ports of perl seem to have problems with <>.
Bug #122412


git-svn-id: svn://10.0.0.236/trunk@114752 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 21:08:44 +00:00
pinkerton%netscape.com
075ef24b69 typo, fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@114751 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 20:01:11 +00:00
cbiesinger%web.de
f7c0ebb989 fix strict warning introduced with 122144
r=timeless sr=blake


git-svn-id: svn://10.0.0.236/trunk@114750 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 20:00:56 +00:00
pinkerton%netscape.com
d9e2457288 use -moz-appearance for listbox. rs=hyatt bug#115744.
git-svn-id: svn://10.0.0.236/trunk@114749 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:54:57 +00:00
pinkerton%netscape.com
40b27bb40e don't show tree headers in autocomplete when using moz-appearance. r=pink/sr=blake. bug# 123028
git-svn-id: svn://10.0.0.236/trunk@114748 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:51:59 +00:00
pinkerton%netscape.com
833c81c424 give textfields minimum height. fix bg color on tooltips. bug#122689, r=brade/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@114747 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:45:54 +00:00
pinkerton%netscape.com
ab96532bac oops, forgot to check this in a while back. rs=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114746 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:41:17 +00:00
pinkerton%netscape.com
89decb1f37 pulling content-area drag&drop out of JS and into C++ so it is available to embedding. Now built-in to <browser> tag. r=brade/sr=ben. bug#45605
git-svn-id: svn://10.0.0.236/trunk@114745 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:32:08 +00:00
pinkerton%netscape.com
bc67898b0b new files for embedding dnd impl. r=brade/sr=ben. bug#45605
git-svn-id: svn://10.0.0.236/trunk@114744 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:28:13 +00:00
cbiesinger%web.de
aceb9cf07c bug 122144 r=timeless sr=blake
disable 'Translate' menu item for images


git-svn-id: svn://10.0.0.236/trunk@114743 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:25:24 +00:00
bienvenu%netscape.com
167a36d625 fix crash in nsMsgDatabase::Uint32ToRowCellColumn 124283 rs=sspitzer (and whitespace fixes)
git-svn-id: svn://10.0.0.236/trunk@114742 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:23:48 +00:00
ian%hixie.ch
fee916c743 Make Personal Toolbar tooltips also contain the URI of the link. b=105485, r=blake, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@114741 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:14:08 +00:00
hyatt%netscape.com
b43a10eb2a Implement mouse wheel support in Cocoa. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@114740 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:09:07 +00:00
rayw%netscape.com
82dad72e79 More edits and enhancements of the SOAP API documentation...
SOAP is not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@114739 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 18:08:26 +00:00
sspitzer%netscape.com
8b9b94159d fix for #126023, sending mail with an "other_header" won't work.
r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@114738 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 17:17:33 +00:00
cbiesinger%web.de
dd68bb8e4c bug 125977 r=hwaara sr=blake
"Enable Javascript for Mail & Newsgroups" placed wrongly in preference


git-svn-id: svn://10.0.0.236/trunk@114737 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 16:51:03 +00:00
leaf%mozilla.org
8158d5bfb4 Automated update
git-svn-id: svn://10.0.0.236/trunk@114736 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 15:41:58 +00:00
tor%cs.brown.edu
98278b1663 Bug 125837 - mIntrinsicSize setup missing pixel->twip conversion.
r=pavlov, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@114735 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 15:31:24 +00:00
tor%cs.brown.edu
bac4de7e4a Bug 123613 - mng subimage composite reading dest alpha from wrong
location, bump required libmng to 1.0.4. r=pavlov,cls; sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@114734 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 15:29:18 +00:00
seawood%netscape.com
21d5932fc5 Reorder $chromelist assignment to avoid bogus call to File::Spec->canonpath() and excessive warnings.
Bug #125588


git-svn-id: svn://10.0.0.236/trunk@114733 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 12:25:49 +00:00
seawood%netscape.com
4efd2f9438 cat $(MDDEPEND_FILES) since < only redirects the first file. Use <STDIN> instead of <> to clear up potential ambigiousness. r=bryner
git-svn-id: svn://10.0.0.236/trunk@114732 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 11:20:51 +00:00
seawood%netscape.com
212bd9164b Fixing bustage on linkers that follow a strict -L usage (WS7)
git-svn-id: svn://10.0.0.236/trunk@114731 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 10:59:11 +00:00
leaf%mozilla.org
0b05579809 Automated update
git-svn-id: svn://10.0.0.236/trunk@114730 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 10:41:58 +00:00
cbiesinger%web.de
c61d62d410 bug 109442 r=cls
extensions/ctl/src/* hardcodes -lgmodule


git-svn-id: svn://10.0.0.236/trunk@114729 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 10:32:48 +00:00
cbiesinger%web.de
0771c16208 bug 125667 r=ftang sr=blizzard
"Thai [th]" not in "Language of Web Contents" list


git-svn-id: svn://10.0.0.236/trunk@114728 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 10:24:01 +00:00
cbiesinger%web.de
cf7bc09284 bug 125848 r=bryner sr=blake
Mnemonic  for Exit Mozilla in Quick Launch should be X not E


git-svn-id: svn://10.0.0.236/trunk@114727 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 10:16:39 +00:00
mozilla.BenB%bucksch.org
a72534e093 125881: Has() must return true for existing properties (the key exists), which
have a 0 value.
r=dougt, sr=jband


git-svn-id: svn://10.0.0.236/trunk@114726 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 10:11:25 +00:00
dveditz%netscape.com
0eeb9a3030 compareVersion() returns NOT_FOUND rather than comparing as if a missing
component had a version of 0.0.0.0. Removed some dead code. r=sgehani sr= mscott


git-svn-id: svn://10.0.0.236/trunk@114725 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 09:55:19 +00:00
dveditz%netscape.com
aa0af4b14a Don't strip arguments from URL used to fetch .xpi, bug 116512 r=dprice sr=mscott
git-svn-id: svn://10.0.0.236/trunk@114724 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 09:45:22 +00:00
justdave%syndicomm.com
b74c77bfa4 Fix for bug 125516: the recent fix for emails truncating when a period occurred on a line by itself broke Exim because it
needs the -t and -i as separate parameters instead of stacked (the original patch had -ti)
Patch by Tobias Burnus <burnus@gmx.de>
r= justdave, gerv


git-svn-id: svn://10.0.0.236/trunk@114723 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 08:22:31 +00:00
bryner%netscape.com
d09b3a5ffb bug 125859 - GetCellWidth() doesn't take into account indentation if we haven't painted yet. r=pavlov, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114722 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 05:56:48 +00:00
curt%netscape.com
53a0d1c6fe Component descriptions updates.
git-svn-id: svn://10.0.0.236/trunk@114721 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 05:27:32 +00:00
matty%chariot.net.au
1f6bdf2bf2 Bug 97496: Release notes cleanup (checkin without review OK for prerelease notes). Add 2.14.1 issues from branch. Make outstanding issues more obvious. Add dependency requirements section. Still need to add most of the actual 2.16 notes.
git-svn-id: svn://10.0.0.236/trunk@114720 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 04:25:51 +00:00
bienvenu%netscape.com
643d24f7a1 backout most recent mork changes to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@114719 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 03:11:14 +00:00
syd%netscape.com
9f5f9240e6 Fixes for following Linux installer bugs:
http://bugzilla.mozilla.org/show_bug.cgi?id=93240 -- installer window too
narrow for license text
http://bugzilla.mozilla.org/show_bug.cgi?id=98201 -- cancel button does not
respond
http://bugzilla.mozilla.org/show_bug.cgi?id=108282 -- crasher, calling gtk+
function with NULL argument
http://bugzilla.mozilla.org/show_bug.cgi?id=113997 -- mozilla installer
eats 100% CPU


git-svn-id: svn://10.0.0.236/trunk@114718 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 03:02:44 +00:00
bienvenu%netscape.com
c99fe54e3a fix more mork build warnings rs=sspitzer
git-svn-id: svn://10.0.0.236/trunk@114717 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 02:30:05 +00:00
dbaron%fas.harvard.edu
0feda16c3c Fix one more comment that uses "inherit" incorrectly.
git-svn-id: svn://10.0.0.236/trunk@114716 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 02:03:07 +00:00
jkeiser%netscape.com
56673c63ab Bug 125950, form submission crashing, r=bzbarsky@mit.edu, sr=brendan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114715 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 01:57:07 +00:00
dbaron%fas.harvard.edu
5ef0589c9c Restore optimization of getting data from parent context only when there is actually inheritance (except correctly this time), to prevent unnecessary struct computation and creation. Rename nsRuleNode::mInheritBits to mDependentBits. Use none bits (and thus prevent struct recomputation and copying) in the case where explicit inheritance overrides a non-inherited specified value, but still only for inherited structs. Other minor cleanup. b=113098 sr=hyatt r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@114714 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 01:53:40 +00:00
sgehani%netscape.com
2376592f1d Don't show a cancel button since cancel doesn't do anything.
Temporary fix for b=40898; r=morse; sr=blake


git-svn-id: svn://10.0.0.236/trunk@114713 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 01:53:34 +00:00
dbaron%fas.harvard.edu
20a351f8f5 Back out rather than double.
git-svn-id: svn://10.0.0.236/trunk@114712 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 01:46:55 +00:00
sgehani%netscape.com
3a6eaa05a8 Make context menu search item open results in a new window.
b=122162; r=morse; sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@114711 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 00:26:54 +00:00
bnesse%netscape.com
85d89ecb4f Backing out the BE portion of my checkin to attempt to clear up the orange.
git-svn-id: svn://10.0.0.236/trunk@114710 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 00:23:36 +00:00
bnesse%netscape.com
09b9f2d34e Backing out the FE portion of my changes to try and clear up the orange.
git-svn-id: svn://10.0.0.236/trunk@114709 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 23:28:39 +00:00
bienvenu%netscape.com
de976acd14 fix build warnings rs=sspitzer
git-svn-id: svn://10.0.0.236/trunk@114708 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 22:46:31 +00:00
rayw%netscape.com
56d97799b2 Checking in first stab at SOAP API documentation.
This file is not presently built, and SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114707 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 21:57:58 +00:00
bnesse%netscape.com
4a286ef616 [not part of build] Fix for bug 125129. Increase buffer size for conversion of status strings from unicode to UTF-8 before passing them on to the browser. r=sdagley, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@114706 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 21:32:58 +00:00
bnesse%netscape.com
ae718269e8 Fix for bug 125129. Convert status strings to UTF-8 before passing them on to the browser. r=sdagley, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@114705 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 21:28:17 +00:00
bnesse%netscape.com
d45f1774d0 Fix for bug 98476. Add safe save & redundant backup support for prefs.js. r=sfraser, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@114704 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 21:18:38 +00:00
bnesse%netscape.com
09406f293d New files for bug 98476. Add safe save & redundant backup support for prefs.js. r=sfraser, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@114703 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 21:15:28 +00:00
bstell%ix.netcom.com
ddd38ff67f fix OS/2 bustage for bug 116149
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@114702 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 20:04:30 +00:00
dbaron%fas.harvard.edu
6f3d0f1b34 Speed up nsCRT::HashCode(const PRUnichar*) by renaming the version that does UCS-2 to UTF-8 conversion to nsCRT::HashCodeAsUTF8. r=jag sr=jst b=120363
git-svn-id: svn://10.0.0.236/trunk@114701 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 19:50:32 +00:00
dbaron%fas.harvard.edu
3129840cf0 Allow makefile to work on platforms other than Windows (although still don't use it).
git-svn-id: svn://10.0.0.236/trunk@114700 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 18:21:43 +00:00
dbaron%fas.harvard.edu
e3e3be3de3 Fix bustage, really (I hope).
git-svn-id: svn://10.0.0.236/trunk@114699 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 18:08:16 +00:00
dbaron%fas.harvard.edu
22d24cb393 Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@114698 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 17:07:31 +00:00
dbaron%fas.harvard.edu
5ed6553b0d Make debugging |List| functions |#ifdef DEBUG|. b=122817 r=glazman sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114697 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:50:45 +00:00
dbaron%fas.harvard.edu
c40418b528 Removing files long since replaced by nsCaseConversionImp2.{h,cpp}. b=125776 r=ftang sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114696 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:33:23 +00:00
dbaron%fas.harvard.edu
152311587f Fix invalid optimization that prevented style changes on inline elements that caused a reflow from applying to more than the first line. b=98783 r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@114695 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:31:49 +00:00
dbaron%fas.harvard.edu
d5b6a2cebe Change the implementation of text zoom so that the zooming happens in the style system. This causes 'em' and similar units to be zoomed as well. Also scale physical / pixel 'line-height' values. b=41847 r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@114694 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:24:25 +00:00
dbaron%fas.harvard.edu
ac6b721449 Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
bzbarsky%mit.edu
ddfc778b27 Make text/plain view-source use the view-source parser. Bug 124753,
r=harishd, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@114692 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 15:51:02 +00:00
cbiesinger%web.de
ffe7bd2072 bug 125716 r=bzbarsky sr=attinasi patch by caillon@returnzero.com
Implement getComputedStyle() for 'overflow' property


git-svn-id: svn://10.0.0.236/trunk@114691 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 13:16:10 +00:00
ian%hixie.ch
609c63819b Renaming INSTALL.UNIX to INSTALL.UNIX.CHROOT-JAIL. b=125872, r=imajes
git-svn-id: svn://10.0.0.236/trunk@114690 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 12:47:01 +00:00
cbiesinger%web.de
e3729478ae bug 125653 r=timeless sr=alecf
Changes window._content.location.href=foo to loadURI(foo)


git-svn-id: svn://10.0.0.236/trunk@114689 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 12:26:33 +00:00
rayw%netscape.com
2c5c9121b8 Added check for null schema type being passed in. Also made the type
not specified where it was AnyType or could be trivially derived from
the element name and namespaceURI being used.

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114688 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 12:25:11 +00:00
bernd.mielke%snafu.de
6fc51fa7e7 adding regression test not part of the build
git-svn-id: svn://10.0.0.236/trunk@114687 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 11:30:57 +00:00
bryner%netscape.com
ac7e6017f4 Attempting to fix some depend build issues on win32 by passing the list of files via stdin instead of on the command line. r=cls
git-svn-id: svn://10.0.0.236/trunk@114686 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 11:21:57 +00:00
rginda%netscape.com
65a73e1ef6 - venkman only -
add ending quotes to format strings which might otherwise end in quotes.


git-svn-id: svn://10.0.0.236/trunk@114685 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 11:03:05 +00:00
rginda%netscape.com
8e0bb5176f - venkman only -
move the sort test into it's own function.


git-svn-id: svn://10.0.0.236/trunk@114684 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 11:02:23 +00:00
rginda%netscape.com
8c2399d877 - venkman only -
add dumpscripts command to list all js files on the current window.


git-svn-id: svn://10.0.0.236/trunk@114683 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 11:01:06 +00:00
rginda%netscape.com
97401f0c18 - venkman only -
if (0) out the targetWindow stuff until window modality/enable stuff is sorted out.


git-svn-id: svn://10.0.0.236/trunk@114682 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 11:00:34 +00:00
rginda%netscape.com
02aacf2f31 bug 124717, need to wrap JSVAL_NULL for eval result, instead of just returning it unwrapped.
git-svn-id: svn://10.0.0.236/trunk@114681 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 10:53:52 +00:00
bryner%netscape.com
bf1a53ad74 Prefer do_GetAtom to dont_AddRef(NS_NewAtom(...)). Also, tweak the borders on checkbox/radio buttons and containers a bit. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@114680 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 10:43:59 +00:00
bstell%ix.netcom.com
95d4e1d394 bug 116151: interface to the FreeType2 library
r=shanjian@netscape.com, sr=mscott@netscape.com (delegated to mcafee@netscape.com)


git-svn-id: svn://10.0.0.236/trunk@114679 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 08:45:05 +00:00
bratell%lysator.liu.se
5398b032d2 Bug 124686 - move the current region instead of replacing it with a new when setTo is called. This is slightly faster. r=kmcclusk@netscape.com sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114678 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 08:25:41 +00:00
bstell%ix.netcom.com
94b2eecd42 bug 116149: simple name-value pair DB
r=yokoyama@netscape.com, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@114677 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 08:11:25 +00:00
bstell%ix.netcom.com
1de0acf64d simple name-value pair DB
r=yokoyama@netscape.com, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@114676 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 08:07:44 +00:00
rayw%netscape.com
2094e0931d Last issues for SOAP review by Heikki and others.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114675 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 08:01:15 +00:00
wtc%netscape.com
913eaca8b9 Bugzilla bug 124981: Enable IPv6 support for FreeBSD. This patch is
contributed by Munechika Sumikawa <sumikawa@ebina.hitachi.co.jp>.


git-svn-id: svn://10.0.0.236/trunk@114673 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 07:12:55 +00:00
mcafee%netscape.com
2c8a528665 tinderbox example
git-svn-id: svn://10.0.0.236/trunk@114672 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 06:21:52 +00:00
bernd.mielke%snafu.de
26bd706ce7 wider use of GetEffectiveColCount bug 100034 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114671 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 06:03:36 +00:00
akkana%netscape.com
b9887b7961 124484: fix link to the bug form. Fix from jmd (mozilla@turbogeek.org), r=gerv and me
git-svn-id: svn://10.0.0.236/trunk@114670 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 05:46:35 +00:00
peterlubczynski%netscape.com
f5a0f630c6 Fix derefing null pointer during print preview of java.sun.com bug 125396 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114669 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 05:12:45 +00:00
peterlubczynski%netscape.com
96046e257b Made a dummy document to hold our url and pass back to the instance owner in order to fix bug 121033 in NP_FULL mode, NPP_GetURLNotify() does not resolve relative URLs correctly r=av sr=beard
git-svn-id: svn://10.0.0.236/trunk@114668 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 05:07:47 +00:00
ducarroz%netscape.com
3aa36d0520 Fix for bug 125720. Don't need to use appledouble encoding when there is no resource fork. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@114667 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 04:32:41 +00:00
ducarroz%netscape.com
4d5aaddc36 Fix for bug 125620. In case of an appledouble related part, we need to generate an url which point to the data part child. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@114666 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 04:30:29 +00:00
akkana%netscape.com
3c79d47137 more 123087 -- find API rewrite, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@114665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 04:26:49 +00:00
akkana%netscape.com
c4d91d0aeb 123087: Redesign Find API, rewrite new find algorithm.
Not yet enabled by default; needs testing.  r=brade sr=kin.


git-svn-id: svn://10.0.0.236/trunk@114664 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 04:17:07 +00:00
naving%netscape.com
374de22dfc 125503 r=bienvenu sr=mscott If the internet connection is lost make sure that we truncate any half downloaded
msg and commit the db so that if it comes back again in the same session we are still able to download messages


git-svn-id: svn://10.0.0.236/trunk@114663 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 04:04:26 +00:00
naving%netscape.com
3e7d183b2e fixing whitespace from last checkin
git-svn-id: svn://10.0.0.236/trunk@114662 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 03:36:57 +00:00
blakeross%telocity.com
7a1bd360f3 89389 - save as link should alert user if page doesn't exist (and not save the link). r=bz sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114661 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 03:31:59 +00:00
aaronl%netscape.com
d9575605b1 Fixing bustage. --disable-accessibility is broken
git-svn-id: svn://10.0.0.236/trunk@114660 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 03:23:18 +00:00
naving%netscape.com
5c4077a05e 109761 r=bienvenu sr=sspitzer Suppress RDF/Outliner notifications when creating new INBOX, will happen on migrating imap accts or creating new imap accts, confuses outliner, ends up showing 2 INBOX es.
git-svn-id: svn://10.0.0.236/trunk@114659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 03:11:03 +00:00
racham%netscape.com
6ca42a6702 Fixing bugzilla bugs 110000, 124806 and bugscape bugs 12052, 12094. Fix to bug 110000 rearranges hewitt's checked in patch to avoid getting Finish button on the first page of wizard for news account also. Fix to bug 124806 keeps the account type selected by the user intact as user revisits the first page of the wizard. Fix to bugscape bug 12052 resolves the regression by prefilling the activated user's email address in the identity page. Fix to bugscape bug 12094 flushes ISP data as user revisits the first page of wizard so that incomplete email addresses can be caught for regular accounts. r=ssu,bhuvan sr=mscott
git-svn-id: svn://10.0.0.236/trunk@114658 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 03:07:18 +00:00
justdave%syndicomm.com
18d1efd0f7 Fixing typo in previous checkin.
git-svn-id: svn://10.0.0.236/trunk@114657 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 03:04:36 +00:00
justdave%syndicomm.com
8e87b38c01 Fix for bug 125835: Removing an old sarcastic comment from the localconfig generation routine so that it doesn't imply that
using a password is bad.
Patch by James Cox <james@awpimajes.com>
r= justdave x 2


git-svn-id: svn://10.0.0.236/trunk@114656 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:59:25 +00:00
wtc%netscape.com
5f32ec59fc Bugzilla bug 125730: fixed OpenVMS build breakage. Thanks to Colin Blakes
<colin@theblakes.com> for the patch.
odified Files: sslmutex.c sslmutex.h sslsnce.c


git-svn-id: svn://10.0.0.236/trunk@114654 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:52:07 +00:00
rbs%maths.uq.edu.au
d7f37a4594 Fix bug 125404 - hang on certain mathml pages. The table code relies on the display propertyto build its frames and things went out of sync when just using MathML tag names without the display associations in mathml.css. r=karnaze, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114653 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:48:10 +00:00
seawood%netscape.com
3ae029c918 Make chromelist.txt use the same paths that appear in tarballs.
Thanks to Gerv Markham <gerv@mozilla.org> for the patch.
Bug #125588 r=cls


git-svn-id: svn://10.0.0.236/trunk@114652 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:46:41 +00:00
blakeross%telocity.com
4672f0ae97 118644 - alt+down arrow opens dropdown in wrong position. r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114651 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:38:12 +00:00
shrutiv%netscape.com
03c0377948 Fix for bugscape 11987: UI wording for Mac installer screen
git-svn-id: svn://10.0.0.236/trunk@114650 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:33:18 +00:00
cmanske%netscape.com
8be1372cc3 Prevent scope error when using timeout with setfocus in textbox, fix by neil@parkwaycc.co.uk, b=125346, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@114649 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:27:29 +00:00
seawood%netscape.com
ed6721da35 Add "fast RAM semaphore" support.
Thanks to Mike Kaply <mkaply@us.ibm.com> for the patch.
Bug #125123 r=wtc


git-svn-id: svn://10.0.0.236/trunk@114648 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:25:51 +00:00
cmanske%netscape.com
628b736830 Don't try to show empty name on Composer caption, b=121684, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114647 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:24:04 +00:00
jkeiser%netscape.com
b4f613523b And this is the rest of the story (bug 120682). Mac bustage from lack of full checkin.
git-svn-id: svn://10.0.0.236/trunk@114646 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:19:02 +00:00
seawood%netscape.com
df9ad11280 Fix problem of "invisible" helper apps on OS/2.
Thanks to Mike Kaply <mkaply@us.ibm.com> for the patch.
Bug #125183 r=wtc


git-svn-id: svn://10.0.0.236/trunk@114645 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:17:58 +00:00
yokoyama%netscape.com
705ddb7aa7 Bug 119927:
Forgot to checkin for unix


git-svn-id: svn://10.0.0.236/trunk@114644 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:15:22 +00:00
ssu%netscape.com
cc99141ddd fixing bug - 104982 - Uninstaller code needs to broadcast message that default mail/browser client has been changed/reset. r=curt, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@114643 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:49:51 +00:00
aaronl%netscape.com
c9bc0b393e Bug 50255. Some Ctrl key sequences don't generate the correct event in Windows. Patch from bernie5412@hotmail.com. r=rods,dveditz, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114642 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:44:54 +00:00
hewitt%netscape.com
d52ef51e98 11000 - wizard finish button apperas on first page when stepping back, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@114641 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:44:41 +00:00
srilatha%netscape.com
ebce73e93a Fix for bug # 118262. Disable delete button when a card from LDAP directory is selected
r/sr= sspitzer@netscape.com


git-svn-id: svn://10.0.0.236/trunk@114640 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:41:17 +00:00
bienvenu%netscape.com
f664a91f2a fix pressing stop after delting imap message while reading it not to leave trash in busy state, by always dooming queued urls if earlier urls fail and don't send invalid store commands to imap servers that don't support user defined keywords 125736 r=naving, sr=sspitzer 125548
git-svn-id: svn://10.0.0.236/trunk@114639 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:40:33 +00:00
yokoyama%netscape.com
8317d4a7e0 Bug 119927:
Instead of using the static variable in /gfx to maintain the state
of font download (eg. static BOOL gCheckJAFont = PR_FALSE;),
we use a nsFontPackageService::FontPackageHandled() API to allow
resetting of the font download.
/r=ftang; /sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114638 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:39:56 +00:00
bienvenu%netscape.com
806521a530 fix pressing stop after delting imap message while reading it not to leave trash in busy state, by always dooming queued urls if earlier urls fail r=naving, sr=sspitzer 125548
git-svn-id: svn://10.0.0.236/trunk@114637 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:39:33 +00:00
harishd%netscape.com
e951f0eacd Fixing hang - If misplaced table content turns out to be skipped content then we need to make sure that the rest of the table content belongs to the skipped content until we reach the matching end-skipped-content-tag. b=124788, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114636 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:36:50 +00:00
bienvenu%netscape.com
fddd101b7f fix problem loading messages after deleting message when trash folder is busy, r=naving, sr=sspitzer 125554
git-svn-id: svn://10.0.0.236/trunk@114635 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:36:26 +00:00
aaronl%netscape.com
1a47678bfb Bug 115686: support F4 in dropdowns - XUL <menulist>, HTML combobox and URL bar. r=dean_tessman, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114634 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:35:09 +00:00
naving%netscape.com
dcd9f80f80 123015 r/sr=sspitzer. Make sure that we call Save..Selection() and RestoreSelection() in pairs, otherwise
all selection events will be suppressed.


git-svn-id: svn://10.0.0.236/trunk@114633 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:34:50 +00:00
bienvenu%netscape.com
4c86bf2d42 whitespace fixes, no bug
git-svn-id: svn://10.0.0.236/trunk@114632 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:34:48 +00:00
aaronl%netscape.com
424f513e6a Active Accessibility: support HTML tags <fieldset> and <legend>. r=jgaunt, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114631 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:34:42 +00:00
bienvenu%netscape.com
fd8ed7509f always call SetUrlState when urls are aborted r=naving, sr=sspitzer 125548
git-svn-id: svn://10.0.0.236/trunk@114630 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:33:43 +00:00
bienvenu%netscape.com
a432a42cb4 add error code for aborting urls r=naving, sr=sspitzer 125548
git-svn-id: svn://10.0.0.236/trunk@114629 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:32:03 +00:00
law%netscape.com
a799fbf226 Bug 27609; new unix makefile stuff (from bryner); NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@114628 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:31:41 +00:00
morse%netscape.com
3437826da3 bug 119812, js error in cookie manager dialog, r=sgehani, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114627 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:30:04 +00:00
ian%hixie.ch
27c6b2fa52 Implement wwwtitle and correct a logic error in the comment and message text of wwwdoctype. r=zach, b=72953
git-svn-id: svn://10.0.0.236/trunk@114626 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:25:40 +00:00
ftang%netscape.com
6f95840709 fix bug 118670 r=smontagu sr=sfraser, add persian fallback
git-svn-id: svn://10.0.0.236/trunk@114625 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:24:57 +00:00
rjc%netscape.com
0b2b0678b9 Fix bug # 125801: find rdf service. r=bryner sr=ben
git-svn-id: svn://10.0.0.236/trunk@114624 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:23:44 +00:00
sspitzer%netscape.com
4d37ad7449 fix for #125816. remove unused code. no one does the #NewDirectory command.
r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@114623 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:23:17 +00:00
serge%netscape.com
20257fd053 fix for 123974 [viewpoint] 404 file not found errors are passed back to the plugin incorrectly; r=av, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114622 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:23:16 +00:00
law%netscape.com
1ba4423e5c Bug 27609; new nsIProgressDialog implementation; NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@114621 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:22:44 +00:00
jkeiser%netscape.com
8b0ed05ba8 Form submission performance / maintability improvements (bug 120682) r=alexsavulov,r=sicking,sr=jst
git-svn-id: svn://10.0.0.236/trunk@114620 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:19:24 +00:00
sspitzer%netscape.com
17c1c09c53 fix for 97310. problems with offline sync and the imap delete model on solaris and mac.
fix by bienvenu, r/sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@114619 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:19:08 +00:00
sgehani%netscape.com
9a4b3ca294 Make cancel button show even when progress text (%ge complete) is
dynamically shown.
b=124203; r=morse; sr=alecf
(original patch by Andreas Premstaller <andreas.premstaller@uibk.ac.at>)


git-svn-id: svn://10.0.0.236/trunk@114618 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:18:22 +00:00
danm%netscape.com
fb1b4319a0 window scrollbar chrome attribute is no longer cached locally. bug 111524 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@114617 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:16:00 +00:00
danm%netscape.com
8f9244cc3a reimplement window scrollbar chrome attribute. oh and revert the damn nonstandard indentation tbogard snuck in in rev 1.5. bug 111524 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@114616 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:15:57 +00:00
danm%netscape.com
09bc815c72 reimplement window scrollbar chrome attribute. bug 111524 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@114615 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:15:52 +00:00
relyea%netscape.com
3bf2f19204 Use timers to determine whether or not to do the smart card present checks
or not.

bob


git-svn-id: svn://10.0.0.236/trunk@114614 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 00:29:37 +00:00
jpierre%netscape.com
8aac793dd1 Fix OS/2 standalone NSS build which got broken after the fix for 104541
git-svn-id: svn://10.0.0.236/trunk@114613 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 00:10:24 +00:00
wtc%netscape.com
88629b5fca Bugzilla bug 112198: use the -dylib_file ld option to link the ssl3 and
smime3 dylibs and the NSS tools so that they can find the indirectly
referenced libsoftokn3.dylib.  Define and export DYLD_LIBRARY_PATH.  The
patch is contributed by Brian Ryner <bryner@netscape.com>. r=wtc,beard.
Modified Files:
	coreconf/Darwin.mk nss/cmd/platlibs.mk nss/lib/smime/config.mk
	nss/lib/ssl/config.mk nss/tests/common/init.sh


git-svn-id: svn://10.0.0.236/trunk@114612 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 23:38:47 +00:00
seawood%netscape.com
f203fb9a01 Propagate MOZ_ENABLE_POSTSCRIPT so that unix printing works again.
bug #125800 a=antitux


git-svn-id: svn://10.0.0.236/trunk@114611 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 23:25:57 +00:00
nelsonb%netscape.com
d58ebedbc4 Change most coreconf and NSS makefiles to use OS_TARGET (which can
be overridden via an environment variable) rather than OS_ARCH.
This is a precursor to more flexibility in cross-platform builds.
Bug 104541.


git-svn-id: svn://10.0.0.236/trunk@114608 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 22:54:08 +00:00
wtc%netscape.com
68e3ff3855 Bugzilla bug 125790: free the nickName and passwd strings
git-svn-id: svn://10.0.0.236/trunk@114607 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 21:53:25 +00:00
ian.mcgreer%sun.com
6c190a7dc1 clean up certs & keys for purify
git-svn-id: svn://10.0.0.236/trunk@114606 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 20:50:47 +00:00
timeless%mac.com
65e3c226c7 Bug 125739 BeOS gfx build failure
patch by brunis@lpg.fi r=timeless


git-svn-id: svn://10.0.0.236/trunk@114605 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 19:37:55 +00:00
relyea%netscape.com
ee5c92c39f Fix missing certs from the listing of all the certs in tokens with large cert caches (larger than 32).
git-svn-id: svn://10.0.0.236/trunk@114603 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 17:37:58 +00:00
alecf%netscape.com
ead663f30f *sigh*
fix "ctl" bustage, whatever the heck that is


git-svn-id: svn://10.0.0.236/trunk@114602 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 16:19:45 +00:00
rayw%netscape.com
d0139a5eab A bunch of minor fixes from Heikki's reviews. Passes my tests.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114601 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 15:54:20 +00:00
alecf%netscape.com
e8e8eefb91 argh! mathml wasn't building on my windows box.. who knew?!
git-svn-id: svn://10.0.0.236/trunk@114600 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 15:15:33 +00:00
alecf%netscape.com
d45ec7f015 oops, forgot to land this file..
git-svn-id: svn://10.0.0.236/trunk@114599 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 15:12:23 +00:00
alecf%netscape.com
d20c13a8dc bug 125055 - move uconv registration to table-based list of converters
shrinks dll and speeds up access
r=yokoyama, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@114598 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 15:03:39 +00:00
dcone%netscape.com
8944f478a1 b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
git-svn-id: svn://10.0.0.236/trunk@114597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:48:12 +00:00
dbaron%fas.harvard.edu
6b51b3040b Attempt to add nsICookieConsent.idl correctly this time, although mac builds will still need kicking. b=113143
git-svn-id: svn://10.0.0.236/trunk@114596 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:39:55 +00:00
rbs%maths.uq.edu.au
a490d83518 [MathML only] fix weirdness in the edge case of an empty <mfenced></mfenced>
git-svn-id: svn://10.0.0.236/trunk@114595 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:39:50 +00:00
brade%netscape.com
e09f4b6c69 don't adjust links/image locations if saving locally and starting with about:blank; bug #121980, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@114594 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:36:07 +00:00
timeless%mac.com
b094a79b89 Bug 125530 Build failure in print code
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114593 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:26:16 +00:00
timeless%mac.com
58ede4c24c Bug 102551 Close tab does nothing if wait too much between opening the menu and clicking close
patch by neil@parkwaycc.co.uk r=bzbarsky sr=jag


git-svn-id: svn://10.0.0.236/trunk@114592 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:18:14 +00:00
jdunn%netscape.com
4514549d4b fixing AIX bustage. The variable mNotice can't be const. It was
fixed once (rev 1.7) but was mistakenly made const again.
r=Roland.Mainz@informatik.med.uni-giessen.de
# 125341


git-svn-id: svn://10.0.0.236/trunk@114591 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 13:19:15 +00:00
roc+%cs.cmu.edu
61724752a4 Bug 124713. Fix transparency flag when clipping a view that grew bigger than its frame. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114590 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 13:15:45 +00:00
roc+%cs.cmu.edu
a1398fd8fe Bug 123755. Fix Gtk crasher when drawing surface cannot be locked. r=pavlov,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114589 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 13:14:32 +00:00
blakeross%telocity.com
5a286a8892 Backing out fix which caused sidebar problem. r=sgehani sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114588 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 12:33:30 +00:00
rayw%netscape.com
4ea3385c3f Minor whitespace sdjustments.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114587 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 12:30:43 +00:00
blakeross%telocity.com
bdd53275c4 87949 - drag from chrome widget over content area shows tooltip. r=dean sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114586 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 12:26:42 +00:00
rayw%netscape.com
ab202f8fef Changed type of uri attribute in verifySource header to anyURI.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114585 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 12:17:17 +00:00
rayw%netscape.com
3f3d8fdcb5 Attempts to patch-up incomplete type hierarchy in nsISchema.h, lack
of inheritance among builtins, and lack of AnySimpleType.  Commented
lines will have to eventually be reenabled when AnySimpleType is
produced.

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114584 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 12:10:03 +00:00
rayw%netscape.com
355e33e08c Standardize use of Truncate.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114583 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 11:35:09 +00:00
rayw%netscape.com
fa3c418ee9 Whitespace fixes.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114582 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 11:02:43 +00:00
rayw%netscape.com
d8f342cb2c Whitespace fixes.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114581 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 10:48:16 +00:00
rayw%netscape.com
6d8ad54abc Added whitespace in front of comments.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114580 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 10:25:28 +00:00
locka%iol.ie
04856595c2 Fix for real and potential crashes in prompt impl when out params are nsnull. b=124025 r=chak
git-svn-id: svn://10.0.0.236/trunk@114579 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 10:21:39 +00:00
jshin%mailaps.org
9965dab7c4 Add CS Styles for Ethiopian/Eritrean Languages (per
info. presented at http://www.ethiopic.org/Collation/OrderedLists.html
by yacob@geez.org).
bug 102252, r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@114578 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 09:21:08 +00:00
pschwartau%netscape.com
37a12a3213 Hard-coding the expected value for Error.length in Rhino vs. SpiderMonkey
git-svn-id: svn://10.0.0.236/trunk@114577 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 06:31:41 +00:00
dean_tessman%hotmail.com
8d106f2a2a Bug 124323 - Active window indicator in Tasks menu should be the same as in Go menu
This changes the Go menu to use radio menu items instead of checks.
r=timeless, sr=blake


git-svn-id: svn://10.0.0.236/trunk@114576 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 06:21:48 +00:00
badami%netscape.com
2d4a2e72bc Backing out fix for bug 91429
Seems to be triggerring bug 125405
Going back to version 1.47 of nsHttpHandler.cpp


git-svn-id: svn://10.0.0.236/trunk@114575 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 06:13:28 +00:00
cmanske%netscape.com
80166e4a8a Update for publishing UI, b=88208, r=brade, sr=ben
git-svn-id: svn://10.0.0.236/trunk@114574 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 06:07:40 +00:00
mkaply%us.ibm.com
836cd5c8df OS/2 bustage - this is defined in nsStrShared.h
git-svn-id: svn://10.0.0.236/trunk@114573 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 05:22:42 +00:00
dean_tessman%hotmail.com
5eba13b7a1 Bug 100760
Find Again should display Find dialog if no find string is specified
Change to findUtils.js to make it so.
r/sr=blake


git-svn-id: svn://10.0.0.236/trunk@114572 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 03:58:43 +00:00
morse%netscape.com
dcfe535ae6 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@114571 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 03:56:08 +00:00
dean_tessman%hotmail.com
2db802dff3 Bug 53029 - Menu highlight by ALT key should be cleared by next key event
Windows-specific changes to match behavior when a key is pressed that is not a valid access key.
r=pink, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@114570 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 03:53:26 +00:00
jband%netscape.com
8ed52839ab fix bug 125430. Unbust Components.returnCode by not setting the JSPROP_READONLY bit on the read/write property. r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@114569 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 03:33:37 +00:00
dbradley%netscape.com
fdd1846921 Bug 121526 - Need to expose the security info pointer from the nsIXPConnectWrappedNative interface. r=jst, sr=jband
git-svn-id: svn://10.0.0.236/trunk@114568 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 03:11:15 +00:00
morse%netscape.com
2afc9150ce bug 113143, cookie module to call compact-policy parser, r=sgehani,harishd, sr=jag
git-svn-id: svn://10.0.0.236/trunk@114567 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 03:01:32 +00:00
dprice%netscape.com
faec2f03d1 60910 R=gagan SR=dveditz
remove a redundant download request


git-svn-id: svn://10.0.0.236/trunk@114566 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 02:55:43 +00:00
rbs%maths.uq.edu.au
7476da1396 Extend the support of MathML styling attributes to the root <math> element itself
git-svn-id: svn://10.0.0.236/trunk@114565 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 02:44:53 +00:00
relyea%netscape.com
c1bf43920f Implement SEC_NicknameConflicts().
git-svn-id: svn://10.0.0.236/trunk@114564 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:57:08 +00:00
vidur%netscape.com
6301300f47 Made anyType be the base of array. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@114563 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:54:49 +00:00
javi%netscape.com
dcafbec72f Fix crash when looking up cert by nickname when the token on which
the cert is located is not plugged in.

Bug 125611


git-svn-id: svn://10.0.0.236/trunk@114562 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:50:28 +00:00
sgehani%netscape.com
df537cff7a Make debug XUL boxes first item in pref pane.
r=stephend; sr=blake; checking in for timeless


git-svn-id: svn://10.0.0.236/trunk@114561 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:20:53 +00:00
vidur%netscape.com
5398952125 Reverted to having a cannonical namespace for schema and SOAP builtin types rather than maintaining two sets of each. For arrays with unspecified xsi:arrayType, the dimension is now 0.
git-svn-id: svn://10.0.0.236/trunk@114560 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:17:27 +00:00
vidur%netscape.com
bc90a54455 Remove linux warnings. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@114559 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:15:51 +00:00
vidur%netscape.com
861df3465d Correctly deal with nsIVariant in type conversion. This is not part of the default build
git-svn-id: svn://10.0.0.236/trunk@114558 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:14:27 +00:00
sgehani%netscape.com
08ce078c01 "Mozilla Mail" should read "Mail & Newsgroups" in Appearance pref pane.
b=119790; r=bhuvan; sr=blake


git-svn-id: svn://10.0.0.236/trunk@114557 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:13:44 +00:00
nhotta%netscape.com
c08ff7d56f In addition to the last change, include the comments of the second super-reviewer,
contributed by jshin@pantheon.yale.edu,
bug 102623, r=ducarroz, nhotta, sr=bienvenu,sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@114556 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:13:05 +00:00
ian.mcgreer%sun.com
1523cf5acd bug 125263, race condition destroying temp certs
git-svn-id: svn://10.0.0.236/trunk@114555 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:10:07 +00:00
timeless%mac.com
18aaee49b0 Bug 125601 ABS()-->PR_ABS() && PR_ABS()-cleanup
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@114554 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:01:06 +00:00
sgehani%netscape.com
f50a76509b Make bugzilla sherlok plugin search by term rather than assigned_to.
b=83052; r=sgehani; checking in for Mike Young <youngfam@nni.com>


git-svn-id: svn://10.0.0.236/trunk@114553 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:52:31 +00:00
nhotta%netscape.com
ffef5431d8 Changed to use lang instead of font-family for message display,
contributed by jshin@pantheon.yale.edu,
bug 102623, r=ducarroz, nhotta, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@114552 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:46:08 +00:00
shanjian%netscape.com
4aa0daeaaf #119377 NS crashes if use universal Charset detector on in frame
Added some range verification when calculating order.
r=nhotta, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114551 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:38:23 +00:00
alecf%netscape.com
f5bfc799ad bug 63025 - stop testing some stuff that I'm ripping out of xpcom
git-svn-id: svn://10.0.0.236/trunk@114550 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:27:32 +00:00
alecf%netscape.com
75ee95af3f bug 63025 - stop exporting nsFileSpecImpl as nobody is calling the constructor
r=dougt, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114549 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:20:49 +00:00
alecf%netscape.com
010ad5486d bug 63025 - remove nsFileSpecStreaming, as nobody is using it
r=dougt, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114548 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:19:33 +00:00
alecf%netscape.com
23b43b15c4 bug 63025 - remove only consumer of nsSimpleCharString and nsPersistentFileDescriptor from build
r=dougt, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114547 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:18:34 +00:00
nhotta%netscape.com
7c37414040 Changed a comparison part to check the key is cached, fixed an incorrect length passing for memcmp,
changed to store a length of the cached string,
bug 121281, r=ftang, sr=sfraser.


git-svn-id: svn://10.0.0.236/trunk@114546 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:15:32 +00:00
alecf%netscape.com
e4337ac76b part of fix to bug 63025 - stop exporting nsLocalFile on windows, because it's not imported by anyone
r=dougt, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114545 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:14:20 +00:00
danm%netscape.com
9a0a1314f6 defer SetTextboxFocus in Startup. hack to make bug 103197 appear fixed. code=saari,me r=brendan
git-svn-id: svn://10.0.0.236/trunk@114544 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:09:10 +00:00
colin%theblakes.com
7a32b48116 Fix OpenVMS build breakage. b=125587. r=roland. sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114543 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:00:49 +00:00
timeless%mac.com
180dc76794 Bug 80625 Please implement --disable-postscript
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114542 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:57:30 +00:00
harishd%netscape.com
d16035663a Regression - Add CDATA section support for RDF. b=124463, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114541 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:52:17 +00:00
harishd%netscape.com
1a9e99d353 Make sure to flush the tokenizer stack after tokenizing SCRIPT content. Note: This checkin also includes code clean up. b=104856, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114540 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:45:20 +00:00
pavlov%netscape.com
1fe130f902 Fixing bug 84654. r=bryner sr=sfraser. image blocking should not block backgrounds if you use it
git-svn-id: svn://10.0.0.236/trunk@114539 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:31:54 +00:00
alecf%netscape.com
5a78793da8 re-land fix for bug 107575, moving nsStr static routines into a private class/namespace
git-svn-id: svn://10.0.0.236/trunk@114538 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:23:55 +00:00
harishd%netscape.com
d4204329ee ** Patch provided by dougt ** Create parser-service category.b=107087, r=harishd, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114537 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:18:28 +00:00
rods%netscape.com
1d1f95e7c0 1) Enables the PageSeq frame to specify the "gap" of gray space around
it in Print Preview
2) It now positions the page in the window with the gray "gap" showing.
3) factors out code for calc'ing the number of pages
4) Adds the methods to get the number of page while in PP
Bug 125151 r=sgehanisr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114536 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:18:09 +00:00
mstoltz%netscape.com
e206b014b9 Bug 116227 - added prefs to stop scripts in mail messages from moving or resizing
the mail window. r=adamlock, sr=jst


git-svn-id: svn://10.0.0.236/trunk@114535 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:14:53 +00:00
alecf%netscape.com
a959243ac9 oops, back myself out - forward declared enums don't work on linux!
git-svn-id: svn://10.0.0.236/trunk@114534 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:14:50 +00:00
alecf%netscape.com
6326ee9424 make all static nsStr:: members private, so they are not exported, and so the linker can cull them out
r=dbaron, sr=blake, jag
bug 125093


git-svn-id: svn://10.0.0.236/trunk@114533 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:08:38 +00:00
rayw%netscape.com
5271edd456 Added error reporting mechanism, and called it in quite a few places. Also
eliminated use of multiple SOAP encoding URIs, and now only rely on the 1.2
with aliasing that can output 1.1.

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114532 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:00:58 +00:00
leaf%mozilla.org
a50149cf9e Automated update
git-svn-id: svn://10.0.0.236/trunk@114531 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:57:02 +00:00
seawood%netscape.com
6166352177 Fixing win32 gmake trace-malloc bustage
git-svn-id: svn://10.0.0.236/trunk@114530 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:56:03 +00:00
leaf%mozilla.org
3cf31cd3ff enable postscript printing, bug 80625. r=cls, sr=leaf, code from gisburn
git-svn-id: svn://10.0.0.236/trunk@114529 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:45:04 +00:00
rginda%netscape.com
b5e27846e1 fix uninitialized return value in jsd_IsStackFrameNative
git-svn-id: svn://10.0.0.236/trunk@114528 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:39:09 +00:00
dbragg%netscape.com
2689a47385 Making the windows region pack installer tolerant of the Mac platform.
Changed the searchplugins folder name to Search Plugins when the install
is run on a Mac.  r=tao, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@114527 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:38:31 +00:00
ducarroz%netscape.com
134a374d43 Fix for bug 125316. Don't overwite the current url's query part when adding others query. R=cavin, SR=sspitzer
git-svn-id: svn://10.0.0.236/trunk@114526 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:34:47 +00:00
smeredith%netscape.com
11e8bf019e Rework how the pref editor writes to output files.
git-svn-id: svn://10.0.0.236/trunk@114525 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:31:23 +00:00
stephend%netscape.com
146e73d680 Bug 95016. File | Sent Message is non-sensical. r=jglick@netscape.com, rs=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114524 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:18:04 +00:00
nhotta%netscape.com
2f1758952f Added a mapping method to take PRUnichar* as an input string, bug 125077, r=ftang, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@114523 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:16:16 +00:00
morse%netscape.com
43905c7fcf bug 120731, remove js error, c=gemal, r=morse, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114522 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:15:39 +00:00
dougt%netscape.com
8d45b9ba58 I give up. Backing out these changes
git-svn-id: svn://10.0.0.236/trunk@114521 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:07:15 +00:00
dougt%netscape.com
e80bbe75f5 Fixes bug 122523. Avoid stat call when opening file. r=dp@netscape.com, sr=dveditz@netscape.com. This is the second attempt to land this patch. On two of the linux clobber builds, we would crash at startup. I think i fixed this by protecting against a bad mLineBuffer ptr.
git-svn-id: svn://10.0.0.236/trunk@114520 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 20:46:10 +00:00
pschwartau%netscape.com
ae04d41a52 Adding a comment.
git-svn-id: svn://10.0.0.236/trunk@114519 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 20:42:44 +00:00
pschwartau%netscape.com
e89cafd183 Add skip for new RegExp performance test. Bug 125562 (Rhino), bug 85721 (SpiderMonkey).
git-svn-id: svn://10.0.0.236/trunk@114518 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 20:37:40 +00:00
seawood%netscape.com
989ae6d9c4 Fix link order since MOZ_GTK_LDFLAGS contains a -rdynamic which conflicts with -Bsymbolic.
Bug #125530


git-svn-id: svn://10.0.0.236/trunk@114516 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 19:23:38 +00:00
rogerl%netscape.com
d6007c572e Fixed expected output from case 1. (sr=pschwartau)
git-svn-id: svn://10.0.0.236/trunk@114515 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 19:21:13 +00:00
pschwartau%netscape.com
0700eab060 Correcting an error
git-svn-id: svn://10.0.0.236/trunk@114514 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 19:11:15 +00:00
pschwartau%netscape.com
fffd3d319c Initial add. Regression test for bug 85721.
git-svn-id: svn://10.0.0.236/trunk@114513 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 19:06:59 +00:00
seawood%netscape.com
5496399de5 -Bsymbolic + egcs/binutils2.9.x requires that symbols be resolved at link time. Fixing tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@114512 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 18:30:21 +00:00
rods%netscape.com
9804c3be09 Forgot to add this method
git-svn-id: svn://10.0.0.236/trunk@114511 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 18:29:38 +00:00
ian.mcgreer%sun.com
358f1a0a6a make listing of certs finish cleanly under purify
git-svn-id: svn://10.0.0.236/trunk@114510 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 18:02:30 +00:00
wtc%netscape.com
8d1678576d Bug 114748: now that NSS uses the same LIB_PREFIX as the Mozilla client,
removed the obsolete NSS_LIB_PREFIX. r=cls.  The patch was originally
contributed by Javier Pedemonte <pedemont@us.ibm.com>.
Modified Files:
	config/config.mk security/manager/Makefile.in
	security/manager/ssl/src/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@114509 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 15:29:22 +00:00
wtc%netscape.com
30fa280d76 Bug 122712: renamed cert_DecodeGeneralName as CERT_DecodeGeneralName.
git-svn-id: svn://10.0.0.236/trunk@114508 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 15:25:17 +00:00
karnaze%netscape.com
055c809419 bug 125426 - terminate xul style data when writing regression data. sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@114507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 14:54:06 +00:00
locka%iol.ie
048dee9aab Add readme.html to embedding dist b=125356 r=chak sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@114506 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 13:38:01 +00:00
rayw%netscape.com
f2b54c8910 Changed license header on SOAP files.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114505 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 13:36:34 +00:00
rayw%netscape.com
0cc38f1628 Fixed IDL files to not use mozilla-specific types where possible.
Also identified and entered a placeholder solution for variants not being
able to represent an empty array.  also made primenumber test use
verifyheader.

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114504 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 13:08:25 +00:00
rbs%maths.uq.edu.au
27e6f13d75 Add support for MathML styling attributes (e.g., color, fontsize, etc) by creating an internal attribute stylesheet on the fly, and populating it by mapping attributes to CSS rules as frames get created. This is a work-around to bug 69409 which is is not scheduled to be addressed by the Gecko team anytime soon. Also Cleaned-up the debug rules in mathml.css and removed the (in)famous red color of <mi>
git-svn-id: svn://10.0.0.236/trunk@114503 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 12:26:43 +00:00
curt%netscape.com
d36b2c48b7 Changing error MessageBox to a warning (Attention) - Bug 119530.
git-svn-id: svn://10.0.0.236/trunk@114502 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 09:52:54 +00:00
curt%netscape.com
f932249c3a Changing error MessageBox to a warning (Attention). Bug #119530
git-svn-id: svn://10.0.0.236/trunk@114501 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 09:51:08 +00:00
stephend%netscape.com
a8b401eb33 Bug 109500. Memory leak of 52 bytes in grid code. Patch by Brian Ryner (bryner@netscape.com). r=bryner@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@114500 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 09:44:17 +00:00
bryner%netscape.com
c309e98277 bug 122036 - make space and ctrl+space work as expected. Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@114499 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 09:29:00 +00:00
sspitzer%netscape.com
2b95036759 fix for #86980. when printing, we always print ASCII header names,
instead of the localized versions.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@114498 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 08:52:31 +00:00
rginda%netscape.com
a35891e81f - venkman only -
make venkman use the new "native frames" option checked in as part of bug 124474.
add min-height to all outliners to avoid bug 121583.
copy childData to scriptRecList in scriptsView.getContext, instead of copying the array one element at a time.


git-svn-id: svn://10.0.0.236/trunk@114497 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 08:34:27 +00:00
rginda%netscape.com
5f8367e018 bug 124474, "add native frame support to jsd"
sr=shaver, r=jband
add JSD_IsStackFrameNative, IsStackFrameDebugger, and IsStackFrameConstructing
add similar attributes to jsdIStackFrame
tweak return values in jsds_FilterHook
don't include dummy stack frames in threadstates

bug 110387, "Crash on exiting venkman"
check to see if the debugger was turned off before going through with an unPause.


git-svn-id: svn://10.0.0.236/trunk@114496 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:57:30 +00:00
rginda%netscape.com
3902d6df27 bug 124474, "JS_IsNativeFrame should return !fp->script"
also includes typo fix from bug 124474
sr=shaver, r=jband


git-svn-id: svn://10.0.0.236/trunk@114495 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:52:02 +00:00
sspitzer%netscape.com
26517908e7 fix for #125354. fix dialog text, per the spec. r=jglick, rs=bienvenu
git-svn-id: svn://10.0.0.236/trunk@114494 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:27:21 +00:00
brendan%mozilla.org
86e25935ba Construct error objects to consolidate their default property setting; this entails adding JS_ConstructObjectWithArguments (123177, r=rginda, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@114493 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:25:34 +00:00
jaggernaut%netscape.com
aceedfa29f Bug 38380: CSS hover not set when <a onmouseover="... return true;">. Fix regression caused by bug 99009. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114492 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:24:40 +00:00
kaie%netscape.com
25b555d7c3 b=99083 Polish cert display if field common name (CN) is not present
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114491 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:21:33 +00:00
bryner%netscape.com
d5a29ff661 bug 124951 - checkbox size should be specified with min-width and min-height, for native theme overriding. r=kerz, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@114490 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:06:00 +00:00
bryner%netscape.com
3d45989abb Bug 124817 -- leaking splash screen pixmap on startup. r=pavlov, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@114489 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 06:44:30 +00:00
jband%netscape.com
2e6edd2049 reorder members to avoid wasted space due to struct member alignment rules. This will generally save one machine word per XPTMethodDescriptor (and we make a bunch of those). bug 120005. r=dbradley, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@114488 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 06:28:13 +00:00
jband%netscape.com
76ebd6b5a4 avoid memcpy call when only copying one (PRUnichar) char. bug 109562. r=jag sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114487 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 06:22:53 +00:00
law%netscape.com
b313f7893f Bug 50514; properly detect when right-clicking on a background image; r=bzbarsky, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@114486 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 06:05:16 +00:00
jband%netscape.com
c3462e03e5 add regression test for bug 125430. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@114485 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 06:01:54 +00:00
bryner%netscape.com
05857104bf Bug 124258 - radio buttons and checkboxes not sizing wide enough for their labels. Make sure the pref size we return for the image isn't smaller than the min size specified in CSS. r=pinkerton, rs=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114484 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 05:51:47 +00:00
leaf%mozilla.org
626655134c Automated update
git-svn-id: svn://10.0.0.236/trunk@114483 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 04:42:00 +00:00
timeless%mac.com
aed7a1a9e4 Bug 124484 restructuring Nav QA menu.
patch by jmd@pobox.com r=gerv rs=blake


git-svn-id: svn://10.0.0.236/trunk@114482 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 04:41:06 +00:00
zach%zachlipton.com
5ab1d5892a Fixing tinderbox bustage. Maybe I need to get more sleep before I commit.
git-svn-id: svn://10.0.0.236/trunk@114481 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 04:37:30 +00:00
zach%zachlipton.com
11f8961b68 Was missing an indent from my last fix, fixing it. No r= needed
git-svn-id: svn://10.0.0.236/trunk@114480 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 04:34:56 +00:00
seawood%netscape.com
3dcfb2627c Bumping MOZILLA_VERSION to 0.9.8+
git-svn-id: svn://10.0.0.236/trunk@114479 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 04:33:59 +00:00
seawood%netscape.com
d6041abff8 Use -Wl,-Bsymbolic when linking components on Linux to avoid problems when linking against external libraries with the same global symbols.
Bug #76710 r=namachi


git-svn-id: svn://10.0.0.236/trunk@114478 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 04:32:11 +00:00
zach%zachlipton.com
52eb4e183d Fix for bug 97290: checksetup.pl should report about errors in localconfig
r=kiko x2


git-svn-id: svn://10.0.0.236/trunk@114477 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 04:27:50 +00:00
jst%netscape.com
5f93f9345d Fixing bug 109487. UMR in nsHTMLInputElement::HandleDOMEvent(). r=peterv@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@114476 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 04:23:48 +00:00
jkeiser%netscape.com
d07f07501f Make <button type=submit> submit again (bug 125351). r=alexsavulov@netscape.com, sr=shaver@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114475 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 04:17:11 +00:00
sfraser%netscape.com
c0346e1280 Fix crash on exit if NS_InitXPCOM2 failed (happens when running in a read-only dir if no component registry exists). Bug 104954. r=dp, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@114474 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 03:26:19 +00:00
bbaetz%student.usyd.edu.au
ee8f97679e Bug 107552 - backend for resuming ftp downloads
r=dougt, sr=darin, mac build patches by zach


git-svn-id: svn://10.0.0.236/trunk@114473 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 03:10:19 +00:00
hyatt%netscape.com
84d08ef50f Refining the event loop for cocoa plevents. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@114472 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 02:55:52 +00:00
wtc%netscape.com
0d23fb9c84 Bugzilla bug 122712: renamed cert_DecodeGeneralName to
CERT_DecodeGeneralName because we export this function from nss.def.
(The cert_ prefix suggests an internal function.)
Modified Files:
	lib/certdb/genname.c lib/certdb/genname.h lib/certdb/xconst.c
	lib/nss/nss.def


git-svn-id: svn://10.0.0.236/trunk@114471 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 02:53:20 +00:00
hyatt%netscape.com
6306f00510 Make cocoa as fast as macho. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@114470 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 02:36:19 +00:00
wtc%netscape.com
0ecadf23c7 Bugzilla bug 123938: renamed cert_EncodeGeneralName to
CERT_EncodeGeneralName.  Export CERT_EncodeGeneralName and
CERT_FindKeyUsageExtension from nss.def.  Have cmmfrec.c include
nssrenam.h to get __CERT_NewTempCertificate.
Modified Files:
	lib/certdb/genname.c lib/certdb/genname.h lib/certdb/xconst.c
	lib/crmf/cmmfchal.c lib/crmf/cmmfrec.c lib/nss/nss.def


git-svn-id: svn://10.0.0.236/trunk@114469 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 02:25:21 +00:00
cmanske%netscape.com
2f0384cd32 Expand things done within the 'try {}' in onAccept of Image Properties dialog, b=96477, work by neil@parkwaycc.co.uk, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@114468 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 02:13:28 +00:00
nboyd%atg.com
d518e725e0 Add skips for new tests.
git-svn-id: svn://10.0.0.236/trunk@114467 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 02:05:38 +00:00
blakeross%telocity.com
f67a71c1b3 122303 - right clicks originating on xul elts shouldn't show context menu. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114466 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 01:36:58 +00:00
bienvenu%netscape.com
0c2dc79bd1 fix linux build bustage
git-svn-id: svn://10.0.0.236/trunk@114465 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 01:35:21 +00:00
rbs%maths.uq.edu.au
0fd922f942 Add the forgotten ucvmath to allmakefiles.sh
git-svn-id: svn://10.0.0.236/trunk@114464 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 01:33:17 +00:00
bbaetz%student.usyd.edu.au
1edd210910 Bug 110013 - templatize describecomponents.cgi
r=gerv, afranke


git-svn-id: svn://10.0.0.236/trunk@114463 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 01:25:25 +00:00
relyea%netscape.com
a81513d4cf Fix UMR in the session info structure.
git-svn-id: svn://10.0.0.236/trunk@114461 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 01:12:51 +00:00
bienvenu%netscape.com
923075c872 store labels on the imap server r=naving, sr=sspitzer 114379
git-svn-id: svn://10.0.0.236/trunk@114460 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 01:07:19 +00:00
bienvenu%netscape.com
93ff9a85af store labels on the imap server r=naving, sr=sspitzer 114379 show shared imap folders with special icon 28756 r=naving, sr=sspitzer fix subscribe/unsubscribe to utf7 imap folders r=naving, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@114459 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 01:05:37 +00:00
yokoyama%netscape.com
3820be4c49 Bug 125061
Adding gb_2312 to charsetalias.properties file
/r=nhotta


git-svn-id: svn://10.0.0.236/trunk@114458 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:59:46 +00:00
rayw%netscape.com
36cb618c2c Fixes on arrays, re: bug 121934. Lots of changed needed to permit arrays
to control the types of their children via the information received
from the schema.  But the two critical lines actually getting the
information on the child types from the schema are commented out, because
there are problems with dual hierarchies of schema types that make it
not work as well as it should -- also inability to determine whether
the schema actually specified a type or just gave a nice default.

This also includes fixes to leaks and other problems discovered reviewing
the array code.  This is the first code capable of inferring and encoding
a multi-dimensional array from the nested arrays of JS, where the array
type dictates.  All my tests still work.

SOAP is not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@114457 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:53:46 +00:00
morse%netscape.com
6e5a5a63e0 bugs 115800, 121311, 121685 -- various problems related to cookie expiration, r=sgehani, sr=alecg
git-svn-id: svn://10.0.0.236/trunk@114456 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:53:19 +00:00
rginda%netscape.com
afa0b149aa bug 123118, getElementsByTagName("script") doesn't work for XUL windows
sr=hyatt, r=jst
insert a nsXULPrototypeElement before the nsXULPrototypeScript in the proto-docu
ment, so that we can get to it in the final content model.


git-svn-id: svn://10.0.0.236/trunk@114455 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:40:55 +00:00
sgehani%netscape.com
a64fbb7774 Fixing bug 125189. r=morse; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114454 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:40:52 +00:00
sgehani%netscape.com
3cdee8a490 Make it possible to persist the disk and memory cache capacity prefs again.
Also, if the user doesn't have a disk cache parent folder chosen, show and
set the default which is the profile directory.
b=125189; r=morse; sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@114453 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:38:44 +00:00
attinasi%netscape.com
773c19b934 Prevent crash by checking for null frameManager before deref. in UnsuppressAndInvalidate. r=alexsavulov sr=hyatt b=121822
git-svn-id: svn://10.0.0.236/trunk@114451 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:15:40 +00:00
bryner%netscape.com
5ad5f00454 Slight tweak to scrollbar thumb painting to paint as prelight as you are dragging. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@114450 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:13:10 +00:00
dbradley%netscape.com
4541c66d72 Bug 124251 - Fix for some DOMStrings leaking when using -mail. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114449 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:12:44 +00:00
bbaetz%student.usyd.edu.au
9a08053469 Bug 103726 - ftp directory listings not reflecting file changes on reload
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@114448 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:09:37 +00:00
bryner%netscape.com
f16c8107c5 Bug 124963 - Table becomes excessively wide with XBL checkboxes. r=jag, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114447 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:08:08 +00:00
jpierre%netscape.com
de4794f2ad Fix for 125373 - crash in crlutil
git-svn-id: svn://10.0.0.236/trunk@114446 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:06:52 +00:00
cavin%netscape.com
11100e5a79 Fix for bugscape 10163. Disallowed saving sent msgs to folders in AOL accounts. r=ducarroz, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@114445 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 23:55:45 +00:00
blakeross%telocity.com
7dd901b407 55293 - pages in history don't expire after x days while mozilla is running. r=hewitt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114444 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 23:53:59 +00:00
blakeross%telocity.com
9eb92f7071 123667 - case where open web location open button can incorrectly remain disabled. r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114443 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 23:40:06 +00:00
smeredith%netscape.com
e9d6489ec1 Remote admin changes.
git-svn-id: svn://10.0.0.236/trunk@114442 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 23:30:41 +00:00
hyatt%netscape.com
72fb740f5a Speeding up cocoa by increasing the frequency of the timer. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@114441 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 23:04:38 +00:00
blakeross%telocity.com
e43c1bf5cb 112282 - navigate back/fwd stops working in some cases. This is just a safety patch. r=radha sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114440 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 23:02:27 +00:00
blakeross%telocity.com
012b5bee00 59816 - clear history button should be disabled if all entries have been deleted (redux). r=ben sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114439 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 22:38:13 +00:00
varada%netscape.com
db7857c882 fix for regression 31549;show account name in dropdown from list;sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114438 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 22:31:25 +00:00
blakeross%telocity.com
c035e9299f 99243 - invalid history pref entry is reset to 0, not previous value. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114437 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 22:28:50 +00:00
blakeross%telocity.com
8527b4210c 112208 - Autocomplete doesn't match against redirected urls (like amazon.com, hotmail.com). r=hewitt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114435 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 22:07:31 +00:00
rjc%netscape.com
0ac8554787 Fix bug # 12532: menu addition. Patch from pbelle123, r=rjc sr=ben
git-svn-id: svn://10.0.0.236/trunk@114434 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 21:46:00 +00:00
locka%iol.ie
15beb1d045 Calculate document content type rather than assume text/html. b=118251 r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@114433 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 21:45:02 +00:00
mjudge%netscape.com
09b2352881 check for null to not crash is good. 115350 thanks to Shataro
git-svn-id: svn://10.0.0.236/trunk@114432 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 21:40:46 +00:00
nhotta%netscape.com
01cdf251f0 Changed QuotingOutputStreamListener to pass charset and charsetoverride to the constructor,
also added MimeConverter to the class because it is used in multiple places,
bug 115869, r=ducarroz, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@114431 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 21:36:17 +00:00
morse%netscape.com
4dd1089efb bug 121161, enhanced p3p cookie management, r=sgehani, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114430 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 21:11:21 +00:00
ian.mcgreer%sun.com
025e636383 bug 125165, don't crash when the softoken fails to return attributes for a cert object
git-svn-id: svn://10.0.0.236/trunk@114429 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 21:09:15 +00:00
bienvenu%netscape.com
08ac6b4ae8 don't allow failure to logon to stop going offline process r=naving, sr=sspitzer 115405
git-svn-id: svn://10.0.0.236/trunk@114428 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:54:39 +00:00
sspitzer%netscape.com
8e52360527 how did I forget this? thanks to peterv@netscape.com for pointing this out.
rs=no one


git-svn-id: svn://10.0.0.236/trunk@114427 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:52:54 +00:00
ssu%netscape.com
314c2a9c2d fixing bug 102561 - Copy Link Address doesn't work in standalone msg window. r=bhuvan, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@114426 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:49:26 +00:00
bienvenu%netscape.com
61f6206ff4 don't check inboxes of imap servers with no folders configured for offline use when going offline, don't make errors stop going offline process, r=naving, sr=sspitzer 103047
git-svn-id: svn://10.0.0.236/trunk@114425 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:49:10 +00:00
neeti%netscape.com
911a154626 fix for bug 122438 - ConvertContractIDKeyToString(...) optimization, r=dougt,sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114424 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:34:14 +00:00
bienvenu%netscape.com
e9def99fb8 get imap shared folders to display shared folder icon 28756 r=naving, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@114423 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:25:05 +00:00
jake%acutex.net
727481fd7b Don't worry about the auto-generated Makefile's
git-svn-id: svn://10.0.0.236/trunk@114421 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:20:18 +00:00
bienvenu%netscape.com
fb8c245e11 fix 102782 downloaad newsgroups for offline newsgroups when we offer to download msgs when going offline r/sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@114420 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:18:31 +00:00
bernd.mielke%snafu.de
1c56c63b81 the arguments to this function can be null-pointers, bug 124986 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114419 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:07:56 +00:00
wtc%netscape.com
8b23e2ee5b Bug 122433: checked in a workaround, which disables global optimization on ntio.c
git-svn-id: svn://10.0.0.236/trunk@114418 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:06:47 +00:00
bernd.mielke%snafu.de
f7c0d9ae76 avoid EndDocument and AbortDocument + nasty dialogs during printing regression tests
bug 125053 r=karnaze,rods sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114417 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:01:42 +00:00
peterlubczynski%netscape.com
86bd7aa33b Backing out patch in bug 38484
git-svn-id: svn://10.0.0.236/trunk@114416 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:00:12 +00:00
sspitzer%netscape.com
0408a6e7a0 fix for #125305. disable "Properties" button after the "Clear" button is hit.
r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@114415 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 19:58:32 +00:00
hyatt%netscape.com
008a93b001 Make iframes and framesets do proper paint suppression as well. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@114414 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 19:57:10 +00:00
wtc%netscape.com
3791cf5f6f Deleted unused declaration of _pr_primordialCPU
git-svn-id: svn://10.0.0.236/trunk@114413 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 19:55:19 +00:00
sspitzer%netscape.com
46fc3561bd fix for #125292. fix advanced addressbook search dialog title.
r=jglick, rs=bienvenu


git-svn-id: svn://10.0.0.236/trunk@114412 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 19:53:07 +00:00
blakeross%telocity.com
de9689a31b Fix a minor typo in my checkin from 02/11. r & sr = hewitt
git-svn-id: svn://10.0.0.236/trunk@114411 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 19:52:37 +00:00
jake%acutex.net
1b0baad92a Update the test to use the same basic format as the handling code from globals.pl
git-svn-id: svn://10.0.0.236/trunk@114406 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 19:24:05 +00:00
rayw%netscape.com
5316554c5b This is the patch related to bug 71394, needing security checks in SOAP.
Also, substituted 8 spaces for tabs in some SOAP files.  Also updated
soap test files to either request UniversalBrowserRead or use verifySource.

r=mstoltz
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114405 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 19:13:41 +00:00
mikep%oeone.com
dcfc963e67 Renaming file from .txt to .ics
git-svn-id: svn://10.0.0.236/trunk@114404 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 18:55:15 +00:00
justdave%syndicomm.com
0981d9555c Backing out checkin for bug 115369, it's busted on Perl 5.00503.
git-svn-id: svn://10.0.0.236/trunk@114403 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 17:25:02 +00:00
ian.mcgreer%sun.com
6074d9f973 bug 125263, the subject lists in the temp store are actual hash entries, thus any attempt to extract certs from them must be done within the store's lock.
git-svn-id: svn://10.0.0.236/trunk@114401 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 16:58:05 +00:00
alecf%netscape.com
03197e7fd2 add lots more class-reporting capabilities
git-svn-id: svn://10.0.0.236/trunk@114399 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 16:39:56 +00:00
bienvenu%netscape.com
166cf4ab77 add imap shared attribute so we can display special folder pane icon r=naving, sr=mscott 28756
git-svn-id: svn://10.0.0.236/trunk@114398 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 15:49:15 +00:00
justdave%syndicomm.com
75bc7b09ce Fixing tinderbox bustage from previous checkin.
Name "main::legal_keywords" used only once


git-svn-id: svn://10.0.0.236/trunk@114397 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 15:49:06 +00:00
timeless%mac.com
7f8bba8468 Bug 124835 Tabbed browser doesn't use pref variables correctly
patch by neil@parkwaycc.co.uk r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114396 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 15:45:25 +00:00
justdave%syndicomm.com
551166c6d8 Fix for bug 115369: Templatization of long_list.cgi
Patch by Gervase Markham <gerv@mozilla.org>
r= bbaetz, dkl


git-svn-id: svn://10.0.0.236/trunk@114395 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 15:34:36 +00:00
rods%netscape.com
35a8170b30 forgot to check these in
git-svn-id: svn://10.0.0.236/trunk@114394 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 15:19:38 +00:00
rods%netscape.com
3fd4c30b0c fix bustage
git-svn-id: svn://10.0.0.236/trunk@114393 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 15:09:33 +00:00
ccarlen%netscape.com
5d9e5de380 Bug 115334 - removing .mcp files that are obsolete since conversion to XML. r=jj/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114392 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 15:01:37 +00:00
justdave%syndicomm.com
ae543c8a25 Adding jb2bz.py to contrib (bug 124869).
Conversion script to import bugs from Jitterbug into Bugzilla contributed by Tom Emerson <tree@basistech.com>


git-svn-id: svn://10.0.0.236/trunk@114391 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 14:59:30 +00:00
jake%acutex.net
7dbccc55a3 Bug 121105 - type="application/x-javascript" confuses IE, so we should use the new $::script_type variable added in bug 123339.
r= kiko


git-svn-id: svn://10.0.0.236/trunk@114390 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 14:19:07 +00:00
rods%netscape.com
1a9f705818 1) On windows and OS/2 it implements IDL attr of "defaultPrinterName" (like Bug 118152)
2) Stubs this out on al other platforms
3) On Windows implmenets new method "InitPrintSettingsFromPrinter" which sets certain key values from the native devmode into the print settings
4) Stubs this out on all other platforms
5) It also cleans up the nsDeviceContextSpecWin interface a little bit:
   It now has a single GetDevMode method that must be paired with a UnlockDevMode  method.
6) It moved GetDataFromPrinter into the public interface
7) Created a simple helper function for getting the default printer name.
Bug 123554 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114389 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 13:58:41 +00:00
ian%hixie.ch
3c71ea2b99 Adding Stocks contributor.
git-svn-id: svn://10.0.0.236/trunk@114388 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 13:48:19 +00:00
mkaply%us.ibm.com
98e393ae55 OS/2 bustage - callback needs to be in header
git-svn-id: svn://10.0.0.236/trunk@114387 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 13:30:06 +00:00
bryner%netscape.com
79bcc86bfa Bug 123477 - implement HTML button in XBL. r=jkeiser, sr=hyatt. Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@114386 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 10:47:18 +00:00
sspitzer%netscape.com
ef228c243f fix warning, add new line to end of file. rs=no one
git-svn-id: svn://10.0.0.236/trunk@114385 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 09:37:54 +00:00
sspitzer%netscape.com
dd10841dd7 don't list screen name as one of the possible search attributes for local
addressbook searches.  it doesn't work (so what's the point)
and to get it to work, I really need to implement generic column searching so
the ns build can search on _AimScreenName.  rs=bienvenu


git-svn-id: svn://10.0.0.236/trunk@114384 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 09:33:36 +00:00
sspitzer%netscape.com
adb417255e fix for #83023. implement "advanced directory" search, re-using
the existing search code.  r/sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@114383 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 08:01:04 +00:00
seawood%netscape.com
1265717118 Add msgbaseutil to link list.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@114382 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 07:36:12 +00:00
badami%netscape.com
bd0c4f0b0e HTTP authentication stores rejected user/pass combos in password manager
bug 91968 patch=Nivedita@netscape.com r=morse sr=darin


git-svn-id: svn://10.0.0.236/trunk@114381 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 07:25:37 +00:00
badami%netscape.com
dc2eee5464 91429; Restrict open connections to max connections
bug 91429 r=bbaetz sr=darin


git-svn-id: svn://10.0.0.236/trunk@114380 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 05:34:08 +00:00
rdayal%netscape.com
67d7f402b1 Fix for bug # 123596 to removes the mishaving duplicate pref for default mail client.
Also fixes bug #s 122377 and 120134.
r=ducarroz, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@114379 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 05:03:44 +00:00
rdayal%netscape.com
8a9d3597d0 Fix for bug # 123596, removes the mishaving duplicate pref for default mail client.
Also fixes bug #s 122377 and 120134.
r=ducarroz, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@114378 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 05:01:54 +00:00
mstoltz%netscape.com
904896ca95 Bug 119646 - Rewrite of the security manager policy database for improved
performance. r=jst, sr=jband.


git-svn-id: svn://10.0.0.236/trunk@114377 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 04:20:46 +00:00
dean_tessman%hotmail.com
37652babe4 Bug 12201 - Access keys on commands don't work in submenus
r=varga sr=blake


git-svn-id: svn://10.0.0.236/trunk@114376 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 04:14:26 +00:00
peterlubczynski%netscape.com
15ed53df07 Fix for native context menu for plug-in doesn't close mozilla context menu for browser bug 38484 r=saari sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114375 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 03:52:55 +00:00
bzbarsky%mit.edu
5b528517dc De-uglify bullets on some X servers. Bug 91816, patch by Shaji
<nvshaji@netscape.net>, r=pavlov, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114374 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 03:32:00 +00:00
bbaetz%student.usyd.edu.au
f293093002 Bug 99024 - add .cvsignore for template/.htaccess
r=justdave x2


git-svn-id: svn://10.0.0.236/trunk@114373 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 03:15:10 +00:00
nboyd%atg.com
d9c6ed0fb7 Fix build problem in batik:
[javac] Compiling 1427 source files to /data/gump/xml-batik/classes
 [javac] /data/gump/xml-batik/sources/org/apache/batik/script/rhino/EventTargetWrapper.java:81:
coerceType(java.lang.Class,java.lang.Object,boolean)
in org.mozilla.javascript.NativeJavaObject cannot be applied to
(java.lang.Class,java.lang.Object)


git-svn-id: svn://10.0.0.236/trunk@114372 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 03:07:31 +00:00
bbaetz%student.usyd.edu.au
5bd31d7e20 Bug 97471 - The assignee and qa contact should always be able to see their
bugs
r=justdave, afranke


git-svn-id: svn://10.0.0.236/trunk@114371 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 03:05:15 +00:00
law%netscape.com
345b378aa0 Bug 113936; tailor WinXP start menu so Mozilla's Preferences are used instead of opening IE's; r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@114370 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 02:57:29 +00:00
shrutiv%netscape.com
5a6b1bf870 Fix for bugscape 12043: Ability to create customized Mac OSX builds
of N6.1+ (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@114369 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 02:35:24 +00:00
bbaetz%student.usyd.edu.au
8018723bcc Bug 100094 - use generic template handling code
r=mattyt, afranke


git-svn-id: svn://10.0.0.236/trunk@114368 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 02:27:24 +00:00
relyea%netscape.com
ce50f8dca2 Bug 120651: Memory leaks in PK11_GetCertList.
1) Fix leaks in error paths (bfind.c -- found by inspection).
2) Don't allocate hash table data out of the arena. PL_Hash grows and shrinks
the hash buckets as necessary. In arenas they will just grow.
3) Don't allocate temparary locks out of the global instance arena pool.


git-svn-id: svn://10.0.0.236/trunk@114367 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 02:26:47 +00:00
ian%hixie.ch
63124db3fa Fixing regression introduced by the CTCP patch: long lines no longer get wrapped. Also includes minor cleanup. r=kerz
git-svn-id: svn://10.0.0.236/trunk@114366 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 02:20:01 +00:00
av%netscape.com
6f3cc2ec32 Fixing 124936 -- refresh loop with dup plugins, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114365 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 02:18:57 +00:00
hyatt%netscape.com
75e0933dc1 Add a SetFocus impl.
git-svn-id: svn://10.0.0.236/trunk@114364 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 02:09:13 +00:00
wtc%netscape.com
0d757b6279 Removed an unreachable break statement.
git-svn-id: svn://10.0.0.236/trunk@114363 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:58:17 +00:00
chak%netscape.com
797ae82416 Fix for #123981 - Add missing editor functionality to MfcEmbed
r=adamlock, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@114362 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:49:48 +00:00
kaie%netscape.com
d9cad6688a b=125097 Typo in error string identifier NoSenderEncryptionCert
r=ssaux


git-svn-id: svn://10.0.0.236/trunk@114361 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:48:55 +00:00
naving%netscape.com
e29598f241 107598 r=racham sr=bienvenu. Imap folder creation is first done on server then on client so we need to
notify filterEditor window that we are done with folder creation and then we can set the folder picker
to new folder. Added SetBusyCursor for this action. Also remove alert code from imap and local and use
existing "ThrowAlertMsg" in base.


git-svn-id: svn://10.0.0.236/trunk@114360 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:46:37 +00:00
jpierre%netscape.com
26c1e6d023 Fix for 125143 - allow modutil to report PKCS#11 library load failure errors
git-svn-id: svn://10.0.0.236/trunk@114359 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:43:10 +00:00
igor%mir2.org
285c1ecdc7 Making final for performance reasons
git-svn-id: svn://10.0.0.236/trunk@114358 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:41:11 +00:00
justdave%syndicomm.com
92bd7a7a44 Fix for bug 99024: checksetup was not giving proper permissions to the contents of the template directory. This patch also
adds an .htaccess file that blocks access to the template folder by the web server.
Patch by Dave Miller <justdave@syndicomm.com>
r= zach x 2


git-svn-id: svn://10.0.0.236/trunk@114357 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:35:28 +00:00
ftang%netscape.com
5a1610c5ee add stress test script for gb18030
not part of the build


git-svn-id: svn://10.0.0.236/trunk@114356 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:32:54 +00:00
ftang%netscape.com
bc8aec8751 fix bug 101998. Add surrogate conversion
r=shanjian sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114355 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:31:54 +00:00
nhotta%netscape.com
804aae36fb Backout my last change because it fails to handle ASCII cases.
git-svn-id: svn://10.0.0.236/trunk@114354 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:26:17 +00:00
hyatt%netscape.com
bb82481683 Fix cocoa makefile bustage. r=bryner, sr=ben
git-svn-id: svn://10.0.0.236/trunk@114353 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:21:34 +00:00
ian%hixie.ch
128e046038 Added support for running mozbot on multi-homed boxes (requires Net::IRC 0.71). b=93186 r=kiko
git-svn-id: svn://10.0.0.236/trunk@114350 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 00:49:37 +00:00
ian%hixie.ch
8849568641 Inital implementation of Stock Quote module. Code/Review by both zach and Hixie. b=70874
git-svn-id: svn://10.0.0.236/trunk@114349 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 00:42:57 +00:00
rjc%netscape.com
8fd1b10cda Fix bug # 125122: Synthetic bmk type issue. r/sr=ben
git-svn-id: svn://10.0.0.236/trunk@114348 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 00:37:38 +00:00
racham%netscape.com
43aa8dc0c0 Fixing bug 124500. Place the View menu item in the right place. r=bhuvan
git-svn-id: svn://10.0.0.236/trunk@114346 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 00:25:06 +00:00
racham%netscape.com
8366f81e6e Fixing bug 125029. Make account wizard to use a label for title from dtd file. r=bhuvan
git-svn-id: svn://10.0.0.236/trunk@114345 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 00:19:14 +00:00
bryner%netscape.com
4de3549733 Bug 124482 - nsNativeThemeWin needs to check _moz-input-checked attribute for HTML/XBL checkboxes. r=blake, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114344 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 00:15:45 +00:00
racham%netscape.com
9d4ee26ea9 Fixing bug 80296. This fix allows user to new messages for all authenticated accountswith a single click. This command canbe triggered from GetAllNewMessages item of GetMsg button drop marker, File|GetNewMessagesFor or shortcut Ctrl+Shift+T. r=morse, mscott sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114343 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 00:15:08 +00:00
racham%netscape.com
74949c1b3f Fixing bug 80296. This fix allows user to new messages for all authenticated accounts with a single cilck. This command canbe triggered from GetAllNewMessages item of GetMsg button drop marker, File|GetNewMessagesFor or shortcut Ctrl+Shift+T. r=morse, mscott sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114342 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 00:14:28 +00:00
samuel%sieb.net
c7498c424d Bug 115305 - clean up utils.js
r=rginda
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@114341 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 00:11:57 +00:00
rginda%netscape.com
40601fda94 - venkman only -
Bug 124488, "Venkman not stopping at breakpoints"
s/glob/globalObject/ on system filters.


git-svn-id: svn://10.0.0.236/trunk@114340 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 00:02:55 +00:00
samuel%sieb.net
dec5b65a35 Bug 122495 - added method to set authentication for xml-rpc
r=rginda
sr=darin


git-svn-id: svn://10.0.0.236/trunk@114338 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:57:12 +00:00
alecf%netscape.com
299de9017c expand the unused-class stuff
git-svn-id: svn://10.0.0.236/trunk@114337 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:57:07 +00:00
danm%netscape.com
137e3b76bc reorder parent activation on destroy to fix stacked dialog focus regression. bug 122765 r=bryner,hyatt
git-svn-id: svn://10.0.0.236/trunk@114336 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:55:54 +00:00
blakeross%telocity.com
2190fa07e4 This was part of my earlier patch. I forgot to check it in.
git-svn-id: svn://10.0.0.236/trunk@114333 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:43:41 +00:00
jaggernaut%netscape.com
a08898ebe7 Bug 107669: tab buttons do not resize themselves correctly [with large screen size]. Patch by Smaug <smaug@jippii.fi>. r=bryner, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@114332 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:43:36 +00:00
heikki%netscape.com
a6522c08fa Bug 123090, give Mozilla the capability to be registered as the default handler for XHTML documents on Windows. r=law, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@114331 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:38:08 +00:00
nhotta%netscape.com
cd3327dcab Changed to use default charset for forward inline, if there no charset specified,
contibuted by adu@sparc.spb.su, bug 66098, r=nhotta, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@114329 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:20:58 +00:00
kaie%netscape.com
9e38649c04 b=124241 Remove all fixed size attributes from XUL
r=rangansen sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@114328 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:16:07 +00:00
cmanske%netscape.com
c228395ca2 Fixed comma mistake in checkin for bug 99620, r=glazman, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@114327 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:12:22 +00:00
alecf%netscape.com
096e4220b5 add usage, classes that need trimming, etc...
git-svn-id: svn://10.0.0.236/trunk@114326 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:01:06 +00:00
gerv%gerv.net
e3bb80e737 Moving JS to beginning of file to avoid IE warnings.
git-svn-id: svn://10.0.0.236/trunk@114325 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:55:25 +00:00
timeless%mac.com
46bdc43de8 Bug 120916 PostScript/Xprint module revamp
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless rs=attinasi


git-svn-id: svn://10.0.0.236/trunk@114324 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:53:36 +00:00
wtc%netscape.com
e173fb6511 Bugzilla bug 125102: six files in mozilla/security/nss/lib/ckfw/builtins
got renamed.


git-svn-id: svn://10.0.0.236/trunk@114323 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:51:09 +00:00
rjc%netscape.com
88dc687deb Fix bug # 12459: nsWindowMediator optimizations (put it on a diet). r=tingley, verbal sr=ben
git-svn-id: svn://10.0.0.236/trunk@114322 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:48:44 +00:00
mscott%netscape.com
cc052028b5 Bug #122500 --> make sure the mail window comes to the front of all apps even if it's
minimized if the user double clicks the mail icon. Make sure the double click
works on optimized bits by using a static string for "mail:3pane"

r=bhuvan
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@114321 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:29:39 +00:00
av%netscape.com
6719dde129 Fixing 121072 -- to show plugin name in bad plugin dialog, r=serge, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114320 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:25:40 +00:00
nhotta%netscape.com
ee0503272a Changed QuotingOutputStreamListener to pass charset and charsetoverride to the constructor,
also added MimeConverter to the class because it is used in multiple places,
bug 115869, r=ducarroz, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@114318 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:21:11 +00:00
nhotta%netscape.com
280d4368f1 Changed to use a default charset for non forward case if we cannot find a charset in the header or the override is set.
Also removed unnecessary conversion to UTF-8,
bug 117956, r=ducarroz, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@114317 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:18:56 +00:00
timeless%mac.com
4f476e4d5a Bug 120916 PostScript/Xprint module revamp
BeOS const fix for Bewildered tinderbox


git-svn-id: svn://10.0.0.236/trunk@114316 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:18:00 +00:00
nhotta%netscape.com
cb0e078684 Changed the key length estimation function to create an actualy key if possible then cache the result to be
used in the key creation function,
bug 121281, r=ftang, sr=sfraser.


git-svn-id: svn://10.0.0.236/trunk@114315 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:17:19 +00:00
mkaply%us.ibm.com
0326eb80dd 117258 from nsLocalFileWin put into OS/2 to fix trap
git-svn-id: svn://10.0.0.236/trunk@114314 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:14:32 +00:00
cavin%netscape.com
74f5baf12f Fix for #89235. Rewrote main portion of ImportMailbox() to use global util function EscapeFromSpaceLine() to handle "From " lines. r=ducarroz, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@114313 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:52:08 +00:00
naving%netscape.com
e47ae4ec2f 114960 r=bhuvan sr=mscott. Select the search string when the focus is on the search input field.
git-svn-id: svn://10.0.0.236/trunk@114311 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:48:29 +00:00
naving%netscape.com
59bc04acfa 122713 r=ssu sr=mscott. fixing 'w'- watchThread to not interfere with quick search.
git-svn-id: svn://10.0.0.236/trunk@114310 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:37:12 +00:00
hidday%geocities.com
f7f2557e73 Bug 64931 and bug 70551: new macros to implement attributes
with a default value for HTML elements. Converted table*
elements to use these new macros. More to follow.
r=sicking@bigfoot.com sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@114309 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:35:45 +00:00
jake%acutex.net
84a0813cd4 Fix for bug 123339 - More enhancements for the cvsgraph.cgi module (give it popups very similar to cvsblame.cgi).
r= kiko


git-svn-id: svn://10.0.0.236/trunk@114308 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:34:04 +00:00
mscott%netscape.com
342613c641 Bug #123104 --> clear out the number of new messages when a folder no longer
has new messages.
r=naving
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@114307 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:31:16 +00:00
timeless%mac.com
8590a615f3 Bug 124970 Who indents oddly because we aren't using LDAP
r=mcafee


git-svn-id: svn://10.0.0.236/trunk@114306 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:30:25 +00:00
bryner%netscape.com
eac3dce5fc Use -moz-appearance: menulist-textfield for the textfield in the autocomplete (bug 124964). This should allow it to draw the focus ring. r=ben, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@114305 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:28:23 +00:00
alecf%netscape.com
83ac6a3dcc progress towards fixing 123041 - stop making copies of entities names and values as we retrieve them out of various entity tables
also, a few uses of NS_LITERAL_STRING, removal of long-since-unused nsHTMLContentSinkStream
r/sr=sfraser, sr=jag, r=harishd


git-svn-id: svn://10.0.0.236/trunk@114304 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:17:53 +00:00
bzbarsky%mit.edu
e27ee398e4 Get rid of extra leading slashes appearing in unix paths. Bug 124873,
r=petejc@optonline.net, sr=brendan.


git-svn-id: svn://10.0.0.236/trunk@114303 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:05:56 +00:00
blakeross%telocity.com
99107e3775 81061 - implement folder deletion in history.
73927 - use batch deleting for history (a speedup of 30000% for a few hundred items!).

63292 - session additions to global history are lost on a crash.

112308 - 2M history.dat file adds 30% to startup time.

96753 - changing history grouping doesn't update open sidebar panels.

98776 - support context menus on folders in global history.

124665 - can't clear global history after startup if you don't have a homepage.

93233 - with large history, clear history appears to hang.

92613 - shouldn't store chrome uris in global history.

59816 - clear history button should be disabled if history is empty; add count attr to nsIBrowserHistory.

104231 - last typed web location remains after clearing all history.

r=ben sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114302 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 20:59:43 +00:00
darin%netscape.com
3868c99196 fixes bug 103757 "'headerless' http for ad banner does not load"
r=bbaetz,badami sr=mscott


git-svn-id: svn://10.0.0.236/trunk@114301 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 20:24:53 +00:00
shrutiv%netscape.com
edf16f7c55 Fix for bugscape 11996: CCK fails to create custom Linux tar file for
another config (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@114300 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 20:10:02 +00:00
shrutiv%netscape.com
e645de2511 Fix for bugscape 11996: CCK fails to create custom Linux tar file
for another config (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@114299 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 20:08:21 +00:00
dbragg%netscape.com
73c3d16911 Fixing typo in checkin for bug 91984 that broke search. r=sgehani.
git-svn-id: svn://10.0.0.236/trunk@114298 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 20:06:27 +00:00
shrutiv%netscape.com
b2262d8d71 Fix for bugscape 12068: CD Autorun screen shouldn't be displayed for
Linux C11n (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@114297 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 20:04:06 +00:00
timeless%mac.com
a54e42c25e Bug 120916 PostScript/Xprint module revamp
by Roland.Mainz@informatik.med.uni-giessen.de
r=rods, r=dcone, rs=attinasi


git-svn-id: svn://10.0.0.236/trunk@114296 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 19:58:37 +00:00
despotdaemon%netscape.com
63f8d353c8 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@114295 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 19:48:56 +00:00
ssu%netscape.com
119385f04e checking in patch for mhammond@skippinet.com.au. fixing bug 75027 - Accelerator for Mark Thread as Read. r=ssu, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@114294 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 19:43:04 +00:00
shrutiv%netscape.com
9252c69847 Fix for bugscape 12043: Ability to create customized Mac OSX builds of
N6.1+ (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@114293 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 19:13:15 +00:00
rogerl%netscape.com
8da67ce019 Fixing bug #103351 - using undefined as RegExp value for String.replace.
r=khanson, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114292 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 19:12:42 +00:00
sonja.mirtitsch%sun.com
7ebaecf2e1 fixed returncode after modification in error.h
git-svn-id: svn://10.0.0.236/trunk@114289 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 18:34:35 +00:00
karnaze%netscape.com
39bb012a64 Denis Antrushin's patch to check for pseudo parent before adding to list. sr=attinasi, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@114288 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:57:49 +00:00
brade%netscape.com
30ced9962c fix type in color conversion (bug 124459)
git-svn-id: svn://10.0.0.236/trunk@114287 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:52:40 +00:00
brade%netscape.com
27dcfda3fd don't adjust links/image locations if saving locally or saving with a new name in same location (only if save as to different location or remote saving); bug #121980, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@114286 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:48:25 +00:00
ccarlen%netscape.com
0db9b3dc65 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114285 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:41:41 +00:00
rods%netscape.com
745a4ea21f Override if the computed size is zero
Bug 121461 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114284 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:24:37 +00:00
wtc%netscape.com
45d429508d Bugzilla bug 112198: on Mac OS X (Darwin), we need to run 'ranlib' on a
static library after renaming it.  This is not necessary but harmless on
other platforms.  The patch is contributed by Javier Pedemonte
<pedemonte@alimni.utexas.net>.  r=wtc,cls.


git-svn-id: svn://10.0.0.236/trunk@114283 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:21:26 +00:00
ian%hixie.ch
c89869ebe2 Remove brackets around grep(). b=111831 r=timeless
git-svn-id: svn://10.0.0.236/trunk@114282 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:03:11 +00:00
ian%hixie.ch
82301ff431 * Implement !seen command
* Implement a few new greeting types (e.g. wb)
b=72943 r=timeless

* Implement CTCP Ping and Source responses
b=72956 r=timeless

* Remove brackets around grep() in Greeting.bm
b=111831 r=timeless


git-svn-id: svn://10.0.0.236/trunk@114281 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 14:59:29 +00:00
ian%hixie.ch
cb20d07ab8 * Implement CTCP Ping, Version and Source as BotModule Event
* Added ctcpSend(), ctcpReply() APIs
* Implemented CTCP Version in the general module
* Updated devel docs
b=117625 r=Jake

* Remove brackets around grep() in mozbot.pl
b=111831 r=Jake


git-svn-id: svn://10.0.0.236/trunk@114280 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 14:51:59 +00:00
nboyd%atg.com
dfb329185b Add new Context method "toType" to convert to a specified Java type
git-svn-id: svn://10.0.0.236/trunk@114279 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 14:30:27 +00:00
nboyd%atg.com
58eb99d8c8 Fix 124900
git-svn-id: svn://10.0.0.236/trunk@114278 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 14:29:30 +00:00
rods%netscape.com
5a09a37f4c Clip was being incorrectly set set as Replace instead of Intersect
Bug 84138 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114277 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 13:35:59 +00:00
rods%netscape.com
4d135d7b9b 1) It moves the BeginDocument to a earlier place in the call change
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi


git-svn-id: svn://10.0.0.236/trunk@114276 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 13:33:39 +00:00
locka%iol.ie
a014343caa NOT PART OF BUILD. Readme file for embedding dist
git-svn-id: svn://10.0.0.236/trunk@114275 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 13:14:37 +00:00
bryner%netscape.com
867957680a Oops, fixing native theme bustage. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@114274 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 11:35:04 +00:00
badami%netscape.com
08652ea14f Add port to auth prompt only if it was mentioned on the URL
bug 95350 r=morse sr=darin


git-svn-id: svn://10.0.0.236/trunk@114273 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 10:53:15 +00:00
hyatt%netscape.com
9433b4d3fe Paint suppression lives! Making cocoa widgets properly show/hide and work with paint suppression.
git-svn-id: svn://10.0.0.236/trunk@114269 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 08:30:01 +00:00
brendan%mozilla.org
f0455a28be Hack special frame flags into fp when compiling under JS_Evaluate*InStackFrame, so useless expressions don't get optimized away (92087, r=rginda, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@114268 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 07:44:48 +00:00
bryner%netscape.com
cf529000b4 Oops, I meant to remove this unneeded pack=end before checking in, per jag's comments.
git-svn-id: svn://10.0.0.236/trunk@114267 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 07:24:20 +00:00
bryner%netscape.com
1fb6aae399 Bug 39036 - add a checkbox to allow showing hidden files (dot files). r=ben, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@114266 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 07:21:22 +00:00
timeless%mac.com
091db61993 Bug 124190 this #define in nsPluginsDirUnix.cpp is unused: PLUGIN_PATH "MOZ_PLUGIN_PATH"
r=bryner sr=jst


git-svn-id: svn://10.0.0.236/trunk@114265 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:58:51 +00:00
pavlov%netscape.com
ecb315a058 checking in fix for bug 86508 for nivedita@netscape.com. r=pavlov sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@114264 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:37:45 +00:00
pavlov%netscape.com
6dec57cc40 checking in bug 78114 for nivedita@netscape.com r=pavlov sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@114263 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:32:10 +00:00
seawood%netscape.com
cc8202f123 Fixing win32 gmake bustage.
git-svn-id: svn://10.0.0.236/trunk@114262 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:24:00 +00:00
talisman%anamorphic.com
56088bbd3c Checkin of changes from Brandon Wiley related to mbox storage and how Grendel was numbering messages. Changes tested and good. jrg
git-svn-id: svn://10.0.0.236/trunk@114261 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:22:41 +00:00
talisman%anamorphic.com
5e57f110f4 Initial checkin of contribution from Brandon Wiley. jrg
git-svn-id: svn://10.0.0.236/trunk@114260 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:21:23 +00:00
talisman%anamorphic.com
ffffa118ba Fix classpath for run target to include pop3.jar. jrg
git-svn-id: svn://10.0.0.236/trunk@114259 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:18:10 +00:00
rbs%maths.uq.edu.au
65b18dd380 fix inverted order of resetting variables
git-svn-id: svn://10.0.0.236/trunk@114258 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:18:04 +00:00
pavlov%netscape.com
dffaaade2e Bug 111037. Patch from nivedita@netscape.com. r=pavlov sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@114257 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:16:15 +00:00
ducarroz%netscape.com
8e747e4825 Fix Mac Bustage
git-svn-id: svn://10.0.0.236/trunk@114256 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 05:36:54 +00:00
ducarroz%netscape.com
a4083ed36b Fix bustage (again).
git-svn-id: svn://10.0.0.236/trunk@114255 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 05:17:18 +00:00
shanjian%netscape.com
8ee3e3b90f #120348 crash in macro CCMAP_HAS_CHAR_EXT
rewrite CCMAP_HAS_CHAR_EXT macro
r=ftang, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114254 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 05:01:42 +00:00
shanjian%netscape.com
0e2c9fb47e Reverse my last checkin because the comment is not there. (cvs ci does not
allow me abort, while I copy-n-paste, it accidentally copied a carriage return.)


git-svn-id: svn://10.0.0.236/trunk@114253 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:59:15 +00:00
shanjian%netscape.com
0f1ccfb152 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@114252 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:54:24 +00:00
shanjian%netscape.com
f63f53a314 #116030 provide a way to identify langGroup/rang for a unicode char
Add some checking code to figure out the range of a unicode char, and use this
piece of information to guide preference font searching.
r=rbs, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114251 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:51:41 +00:00
ducarroz%netscape.com
ab1766e393 Fix bustage on Unix system.
git-svn-id: svn://10.0.0.236/trunk@114250 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:34:36 +00:00
badami%netscape.com
80ac1e74bd fall back on nsILoadGroup when nsIChannel has no nsIPrompt.
Bug 72111; r=bbaetz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@114249 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:27:31 +00:00
jpierre%netscape.com
9d6c410b11 Reset NSPR error text before adding the module to make sure we aren't getting some previous error
git-svn-id: svn://10.0.0.236/trunk@114248 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:25:15 +00:00
bryner%netscape.com
57d81850aa Fix the focused state for textfields. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@114247 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:21:16 +00:00
timeless%mac.com
5be877f2d4 Bug 124744 remove nsIPtr
r=bryner sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114246 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:12:50 +00:00
jpierre%netscape.com
8b6f524f9d Make modutil display a more detailed error when a PKCS#11 module fails to load. This is done by checking the NSPR error text that is set by PR_LoadLibrary failures deep in SECMOD_AddNewModule
git-svn-id: svn://10.0.0.236/trunk@114245 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:09:21 +00:00
ducarroz%netscape.com
8acba62b90 Fix for bug 100591. We need to replace illegal characters in file name before trying to use it during a file save. R=cavin, law, SR=alecf, mscott
git-svn-id: svn://10.0.0.236/trunk@114244 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:57:39 +00:00
bzbarsky%mit.edu
1ebda7a0d2 Opening the "Advanced" dialog and cancelling it should not change the
helper app dialog contents.  Bug 124723, r=law, sr=jag


git-svn-id: svn://10.0.0.236/trunk@114243 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:52:03 +00:00
roc+%cs.cmu.edu
6e50de9fe3 Bug 96832. Reorganize event handling in the view manager to use the display list code. This means we take account of z-index properly. r=kmcclusk,sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114242 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:46:35 +00:00
ducarroz%netscape.com
0b8f838199 Fix for bug 123032. Check for null pointers before using them. R=rdayal, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@114241 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:45:33 +00:00
timeless%mac.com
67f8bc3ace Bug 124698 don't CallQueryInterface(mDocShell = 0, &mWebShell)
r=bzbarsky,adamlock sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114240 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:45:22 +00:00
badami%netscape.com
dc12fa8aff htp:://<blah> should lead to an invalid URL. bug 110880; r=andreas.otte@debitel.net; sr=darin.
git-svn-id: svn://10.0.0.236/trunk@114239 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:36:02 +00:00
timeless%mac.com
30f1ba30c9 Bug 124895 Improper definition of NS_PROMPTSERVICE_CID
r=danm sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114238 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:32:14 +00:00
bzbarsky%mit.edu
bb7de755f9 Make it possible to save files of types for which we have mimeinfos but
no extensions.  Bug 68801, r=law, sr=jag


git-svn-id: svn://10.0.0.236/trunk@114236 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:22:39 +00:00
jfrancis%netscape.com
ad449c34e0 fix for bug 106855: Down arrow key at last empty line of textarea moves caret to end of line above. checked in on behalf of skamio@netscape.net. r=jfrancis; sr=kin
git-svn-id: svn://10.0.0.236/trunk@114235 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:16:11 +00:00
sfraser%netscape.com
db9f7a2020 Debug-only changes for better paint/invalidate debugging on Mac. Moved some code around, so the diff looks bigger than it is. Bug 120167, r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@114232 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:07:08 +00:00
wtc%netscape.com
f4a5b96f33 Bugzilla bug 114748: deleted unnecessary EXTRA_LIBS augmentation. The
zlib and jar libs are already added to EXTRA_LIBS by ../platlibs.mk.


git-svn-id: svn://10.0.0.236/trunk@114231 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:01:03 +00:00
pschwartau%netscape.com
20590dcc68 Initial add. Testing functions with duplicate formal parameter names.
git-svn-id: svn://10.0.0.236/trunk@114229 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:35:05 +00:00
relyea%netscape.com
db650156c5 Load all slots into the trust domain, even if the tokens are empty.
Fix problems with the token caching code when tokens are removed.


git-svn-id: svn://10.0.0.236/trunk@114228 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:33:41 +00:00
sfraser%netscape.com
61f5de4022 Fix for bug 122012 -- make sure we use the correct WIndowRef for offsetting the event coords, so that moving the mouse over a background window does not mess up scrolling or autoselect. r=pinkerton, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@114227 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:29:32 +00:00
sfraser%netscape.com
ca608478f7 Part of fix for bug 122012 -- add a StOriginSetter utility class. Also fix some trivial comment and spacing issues. r=pinkerton, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114226 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:25:43 +00:00
ssu%netscape.com
a76f7c9832 fixing bug 95844 - Cannot select To: drop-down with keyboard because focus is not visible there. r=bhuvan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@114225 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:25:33 +00:00
sfraser%netscape.com
9422faf1cf Fix bug 124517 -- double delete caused by making more than one nsMacMemoryCushion object (one for each event loop). This should fix a ton of random crashes on Mac. r=pinkerton, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114224 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:22:23 +00:00
heikki%netscape.com
c7242c0060 Bug 110464, don't load external entities for standalone documents (minor perf optimization). Patch from henris@clinet.fi. r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@114223 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:02:44 +00:00
mhammond%skippinet.com.au
57c5eaeb0d Fix bug 123768 - Unsubscribing while headers downloading hangs.
r=hwaara/sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@114222 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:55:04 +00:00
bzbarsky%mit.edu
dc38245c49 Fix crash in treewalker when walking out of root element. Bug 124784,
r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@114221 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:51:40 +00:00
rjc%netscape.com
e7f418c618 Fix bug # 124743: RDF SEQs. r=tingley sr=ben
git-svn-id: svn://10.0.0.236/trunk@114220 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:49:56 +00:00
bzbarsky%mit.edu
b720991101 Make the "You can't read this dir" error appear in the filepicker
window, not as an alert.  Bug 123869, r=bryner, sr=jag


git-svn-id: svn://10.0.0.236/trunk@114219 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:45:52 +00:00
bryner%netscape.com
cb41e9c364 adding new theme constant, NS_THEME_DROPDOWN_TEXTFIELD. bug 124560, r=bzbarsky/pinkerton, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114218 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:44:36 +00:00
akkana%netscape.com
121bf8a09b 80805: check in new find/replace files. r=cmanske sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114217 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:44:07 +00:00
bzbarsky%mit.edu
48921c8911 Make "save link as" work in the context menu on files in the XUL
dirviewer.  Bug 124762, r=bbaetz, sr=jag.


git-svn-id: svn://10.0.0.236/trunk@114216 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:41:22 +00:00
ian.mcgreer%sun.com
0c3606cd66 bug 124082, don't change trust of existing CA certs during PKCS#12 import
git-svn-id: svn://10.0.0.236/trunk@114215 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:38:16 +00:00
stephend%netscape.com
ef4a8382c2 Bug 124854. Typo in this DTD file 'prnit' to 'print' r=me. Patch by Giacomo Magnini <prometeo@flashnet.it> sr=blake
git-svn-id: svn://10.0.0.236/trunk@114214 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:38:12 +00:00
dbragg%netscape.com
1e0ff22b84 Moving the default search engine name from the language pack into the content (aka region) pack.
Fixes bug 91984. r=tao, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114213 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:37:45 +00:00
naving%netscape.com
07f9aaf479 115950 r=racham sr=bienvenu. fix next msg selection for imap multiple deletes(imap-delete model). Also clear
msg pane on multiple msg selection


git-svn-id: svn://10.0.0.236/trunk@114208 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 23:31:49 +00:00
blakeross%telocity.com
269f63ff52 112520 - accept originating images radio gets stuck on. r=morse sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114207 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 23:12:38 +00:00
ian.mcgreer%sun.com
db557442e8 bug 124446, thread safety issues with static oid hashtable.
r=wtc


git-svn-id: svn://10.0.0.236/trunk@114206 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 23:12:00 +00:00
cmanske%netscape.com
9e9465a447 New string needed as part of fix to b=96477, fix by neil@parkwaycc.co.uk, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@114205 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 23:09:48 +00:00
av%netscape.com
b96821a2a8 Fixing bug 119621 -- plugins refreshed only every other time, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114204 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 23:09:38 +00:00
kestes%walrus.com
7e504a3c7f parsing of arguments was buggy. I did not get the arguments into the script.
git-svn-id: svn://10.0.0.236/trunk@114203 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 23:08:44 +00:00
pschwartau%netscape.com
dbf1a65b08 Added two new cases to the test.
git-svn-id: svn://10.0.0.236/trunk@114202 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 23:02:32 +00:00
blakeross%telocity.com
50ea7634dc 123504 - menuitem/tooltip conflict. r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114201 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 22:56:47 +00:00
ian.mcgreer%sun.com
0fd707f56a NSSCryptoContext_ImportCertificate cannot inform the caller that the cert already exists as a temp cert, is is necessary to work around this in CERT_NewTempCertificate by doing a lookup on the cert after it was imported.
r=relyea


git-svn-id: svn://10.0.0.236/trunk@114198 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 22:12:01 +00:00
pschwartau%netscape.com
de47204d26 Improving readability of summary.
git-svn-id: svn://10.0.0.236/trunk@114197 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 22:04:16 +00:00
kirk.erickson%sun.com
513f733351 Commented SlotStr with information what what locks protect what.
git-svn-id: svn://10.0.0.236/trunk@114193 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 20:14:05 +00:00
pschwartau%netscape.com
8375518720 Fixing a typo.
git-svn-id: svn://10.0.0.236/trunk@114192 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 20:13:59 +00:00
pschwartau%netscape.com
9107236078 Initial add. Testing functions with duplicate formal parameter names.
git-svn-id: svn://10.0.0.236/trunk@114191 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 19:39:12 +00:00
despotdaemon%netscape.com
d46daeab9b Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@114190 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 19:29:01 +00:00
despotdaemon%netscape.com
b0e4c9a9a1 Pseudo-automatic update of changes made by bzbarsky@mit.edu.
git-svn-id: svn://10.0.0.236/trunk@114189 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 18:44:22 +00:00
despotdaemon%netscape.com
723fcb91d6 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@114188 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 18:39:45 +00:00
despotdaemon%netscape.com
c24b8e51cc Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@114187 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 18:23:53 +00:00
rbs%maths.uq.edu.au
09abea3ccc Backing out to at least leave the tree usable for those who might pull - bug 124570' mathml-css.pl
git-svn-id: svn://10.0.0.236/trunk@114186 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 09:23:41 +00:00
nelsonb%netscape.com
d2efb641d7 Make NSS 3.4 build as part of mozilla on OS/2. Bug 114748.
Patch supplied by Javier Pedemonte.


git-svn-id: svn://10.0.0.236/trunk@114184 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 05:48:37 +00:00
bryner%netscape.com
e8f845e6a5 Re-applying blake's checkin for bug 112071 - timebomb not working. r=hewitt, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@114183 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 05:29:32 +00:00
bryner%netscape.com
eb2d7ed8af testing startup performance impact of blake's checkin for bug 112071. a=endico.
git-svn-id: svn://10.0.0.236/trunk@114182 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 04:40:35 +00:00
igor%mir2.org
22b17f25a3 cosmetics: end-of-line whitespace removal
git-svn-id: svn://10.0.0.236/trunk@114181 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 01:33:23 +00:00
igor%mir2.org
1e2ff3541f tabs -> spaces
git-svn-id: svn://10.0.0.236/trunk@114180 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 00:02:14 +00:00
rbs%maths.uq.edu.au
a38960c8b4 Disable mathml.css to see if Ts goes down - attempt to unlook the smoketest blocker bug 124570 - 1.5% increase in Ts time
git-svn-id: svn://10.0.0.236/trunk@114177 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 23:02:24 +00:00
seawood%netscape.com
25502ad396 Add workaround for missing addrlen in PRNetAddr & BONE failing getsockopt.
Thanks to Paul Ashford <arougthopher@lizardland.net> for the patch.
Bug #122364 r=wtc


git-svn-id: svn://10.0.0.236/trunk@114172 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 21:37:07 +00:00
jkeiser%netscape.com
bf246b179c Make input type=file not submit form (bug 124749). r=bzbarsky@mit.edu, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114171 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 21:21:51 +00:00
igor%mir2.org
80394faf09 Avoid unnecessary calls to Context.getContext() by passing Context directly as an argument
git-svn-id: svn://10.0.0.236/trunk@114170 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 21:10:35 +00:00
igor%mir2.org
1cf75d9d93 Always use try/finally to wrap Context.exit
git-svn-id: svn://10.0.0.236/trunk@114169 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 21:09:42 +00:00
seawood%netscape.com
e741ba59e2 Add support for inheritable fds on BeOS.
Bug #96331 r=arougthopher@lizardland.net


git-svn-id: svn://10.0.0.236/trunk@114168 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 20:55:14 +00:00
seawood%netscape.com
49000ef072 Implement MD process functions for BeOS.
Bug #96331 r=arougthopher@lizardland.net


git-svn-id: svn://10.0.0.236/trunk@114167 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 20:52:29 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
endico%mozilla.org
e6ccf8ec15 re-applying danm's changes after finding out they weren't cause for startup time regression. bug 124570. (patches originally from bugs 107937 and 77020)
git-svn-id: svn://10.0.0.236/trunk@114162 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 07:12:16 +00:00
depstein%netscape.com
2347dd46cf updated PurgeHistory() method with PR_TRUE boolean
git-svn-id: svn://10.0.0.236/trunk@114161 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 06:24:45 +00:00
wtc%netscape.com
f0eee2f5b8 Bugzilla bug 112198: On Darwin we must link libnssckbi.dylib with -bundle
so that we can load it correctly.  Thanks to Brian Ryner for the patch.


git-svn-id: svn://10.0.0.236/trunk@114159 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 06:18:17 +00:00
wtc%netscape.com
52d63759fb Bugzilla bug 112198: Port NSS to Mac OS X (Darwin). The patch is
contributed by Javier Pedemonte <pedemonte@alumni.utexas.net>.
Modified Files:
	coreconf/config.mk coreconf/nsinstall/nsinstall.c
	coreconf/nsinstall/pathsub.c nss/lib/freebl/unix_rand.c
	nss/lib/ssl/unix_err.c


git-svn-id: svn://10.0.0.236/trunk@114158 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 05:24:49 +00:00
arougthopher%lizardland.net
03c2f76643 Fix for Bug#124519
Transapent infromation was not being displayed properly, due to the fact that it was being removed by the Optimise() function.  This was ok, until Optimise was actually being called, which it is now, becuase of the checkin for bug 104999.
r=mozilla@switkin.com


git-svn-id: svn://10.0.0.236/trunk@114157 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 03:03:51 +00:00
endico%mozilla.org
7d044e2718 backing out danm's feb8 14:34 checkin to track down Ts regression. bug 124570
git-svn-id: svn://10.0.0.236/trunk@114156 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 01:29:46 +00:00
mkaply%us.ibm.com
8931172cc4 OS/2 bustage - use LIB_PREFIX, not lib
git-svn-id: svn://10.0.0.236/trunk@114155 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 00:12:06 +00:00
blakeross%telocity.com
7466c7e2ec Backing out to see if performance regression is fixed. a=endico
git-svn-id: svn://10.0.0.236/trunk@114154 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 00:00:06 +00:00
cbiesinger%web.de
640bb8ab65 Fix for blocker bug 124578, "Mailnews is dead (shows only busy cursor)"
Checking in for hidday@geocities.com, r=bzbarsky sr=bienvenu a=endico


git-svn-id: svn://10.0.0.236/trunk@114153 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 22:11:23 +00:00
bzbarsky%mit.edu
ffecf7f104 Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu
a8d03c78ee Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114147 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 19:00:56 +00:00
bzbarsky%mit.edu
2ab4074373 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.


git-svn-id: svn://10.0.0.236/trunk@114146 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 16:10:51 +00:00
mkaply%us.ibm.com
d0ee3a21c9 Try to get Os/2 building again with mathml
git-svn-id: svn://10.0.0.236/trunk@114145 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 16:03:46 +00:00
seawood%netscape.com
86697eb2dd Add stub implementations MathML's GetBoundingMetrics() so that builds work again.
Thanks to Paul Ashford <arougthopher@lizardland.net> for the patch.
Bug #124543 r=mozilla@switkin.com
Fixing tinderbox bustage


git-svn-id: svn://10.0.0.236/trunk@114144 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 09:46:54 +00:00
hyatt%netscape.com
cfbd749463 Remove overeager null argument check, since the serialization code clearly allows a null arg. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@114143 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 08:48:14 +00:00
rbs%maths.uq.edu.au
26f29f52f1 Oops, I had forgotten again to include the ucvmath module for the mathfont encoding tables - bug 109826
git-svn-id: svn://10.0.0.236/trunk@114142 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 07:47:26 +00:00
dp%netscape.com
fb32d75884 bug 123728 & bug 123729 heap compaction and resident size trimming
sr=brendan@mozilla.org, r=blythe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@114141 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 07:01:11 +00:00
brendan%mozilla.org
8f250bac4f Add exception object stack property, string valued; clean up NULL/VOID mixup, missing OOM test, etc. (123177, r=rginda, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@114140 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 06:28:58 +00:00
mkaply%us.ibm.com
d3f8d4228b OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@114139 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 06:02:44 +00:00
blakeross%telocity.com
e9fd1da0be Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@114138 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 05:52:38 +00:00
blakeross%telocity.com
0ea30b3664 Remove mistakenly added line...
git-svn-id: svn://10.0.0.236/trunk@114137 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 05:40:11 +00:00
varga%utcru.sk
f80b4baaa6 Fix for bug 94654. outliner: don't draw image if column is too narrow
r=bryner, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@114135 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 04:52:24 +00:00
blakeross%telocity.com
afc882489e Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@114134 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 04:32:08 +00:00
varga%utcru.sk
f666ebd03a Fix for bugs:
91154 - threadpane / outliner autoscroll when clicking on last visible row
103243 - xul file picker: Ctrl+click moves focus ring, but not highlight
r=bryner, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@114133 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 04:17:23 +00:00
blakeross%telocity.com
1f58d5009f 110540 - remove useless tabbed browser pref. r/sr=ben
git-svn-id: svn://10.0.0.236/trunk@114132 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 04:13:21 +00:00
blakeross%telocity.com
83055ee984 57505 - remove useless 'show images' menuitem. r/sr=ben
git-svn-id: svn://10.0.0.236/trunk@114131 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 04:09:13 +00:00
blakeross%telocity.com
0b855e8083 Fixing bustage (this never should have gone in).
git-svn-id: svn://10.0.0.236/trunk@114130 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 03:45:37 +00:00
jst%netscape.com
394a60c60e Checking in Fabian Guisset's <hidday@geocities.com> fix for bug 30529. Implement window.minimize(), .maximize() and .restore() for chrome windows, and split chrome specific window methods/attributes into its own nsIDOMChromeWindow interface. r=heikki@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114129 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 03:36:55 +00:00
wtc%netscape.com
6894dfce28 Define DARWIN instead of XP_MACOSX.
git-svn-id: svn://10.0.0.236/trunk@114128 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 03:26:51 +00:00
jst%netscape.com
235e5bb5ba Adding nsIDOMChromeWindow.idl to the build, part of Fabian's fix for bug 30529. r=heikki@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114127 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 03:22:24 +00:00
blakeross%telocity.com
75a80a724e 112071 - timebomb not working. r=hewitt sr=ben
git-svn-id: svn://10.0.0.236/trunk@114126 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 03:18:53 +00:00
jst%netscape.com
027545e75b Adding nsIDOMChromeWindow.idl to the build, part of Fabian's fix for bug 30529. r=heikki@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114125 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 03:16:57 +00:00
cathleen%netscape.com
b90145ef09 fix windows installer for static build, bug 124525 r=dp sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114124 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 03:06:00 +00:00
jst%netscape.com
d9eff4d98e Removing a nasty shortcut that I left in when fixing bug 116834. r=rginda@netscape.com, sr=blaker@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114123 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:48:31 +00:00
shliang%netscape.com
04b3517127 bugs 116110 and 116111 - modern splitters are too thick and should highlight on mousedown. r=andreww sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@114122 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:38:03 +00:00
wtc%netscape.com
148b4dad29 Bugzilla bug 112198: added Darwin.mk. This file is contributed by
Javier Pedemonte <pedemonte@alumni.utexas.net>, based on the NSPR file.


git-svn-id: svn://10.0.0.236/trunk@114120 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:21:27 +00:00
jst%netscape.com
7d4a1f9fee Fixing bug 121861. Removing dead code from nsHTMLImageElement::SetSrc(). r=bzbarsky@mit.edu, sr=dveditz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114119 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:21:16 +00:00
jband%netscape.com
9c4cd6d4ff get rid of IsArray. Add onError. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@114118 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:18:47 +00:00
jst%netscape.com
95350ecfce Checking in Fabian Guisset's <hidday@geocities.com> fix for bug 95476. Making objectElement.tabIndex not always return -1. r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114117 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:18:22 +00:00
jband%netscape.com
f70b76c8fe updated tests. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@114116 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:17:32 +00:00
cotter%netscape.com
abccdb9fc1 Ongoing privady & security help content updates per 122806; Cert Mgr updates, r=oeschger.
git-svn-id: svn://10.0.0.236/trunk@114113 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:14:43 +00:00
jst%netscape.com
99ebd21d9a Backing out v1.130 of this file since it caused crasher bug 120237. rs=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114112 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 01:49:25 +00:00
blakeross%telocity.com
4e6746e7d5 86237 - pressing esc wihle dragging throws exception. r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114111 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 01:45:10 +00:00
jst%netscape.com
35a3a33c39 Fixing bug 118194. Make sure we don't leave dangling document pointers in the content tree when the document goes away. r=bzbarsky@mit.edu, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114110 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 01:42:44 +00:00
blakeross%telocity.com
2bb3142e83 78023 - js error in nsTransferable.js r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114108 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 01:37:27 +00:00
naving%netscape.com
d8ec014001 28129 sr=bienvenu. make the stop button work to stop copying msgs between imap folders and also when
copying local msgs to imap.


git-svn-id: svn://10.0.0.236/trunk@114107 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 01:36:22 +00:00
mcafee%netscape.com
1acc724b93 Forgot to update toplevel_modules for --file case. Other minor comment changes, whitespace.
git-svn-id: svn://10.0.0.236/trunk@114106 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 01:24:29 +00:00
aaronl%netscape.com
95b19cc420 Bug 121116. Pref wording change: make the accessibility functionality to block background images explicit in the pref wording. r=jgaunt, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@114105 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 01:08:00 +00:00
alecf%netscape.com
af7553f54b initial checkin - perl script which finds unused or little used exports from a dll
git-svn-id: svn://10.0.0.236/trunk@114104 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 00:54:15 +00:00
pschwartau%netscape.com
8ab6c8954d Added five new cases to test number values between uint32 upper-bound and long upper-bound.
git-svn-id: svn://10.0.0.236/trunk@114101 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 00:18:12 +00:00
javi%netscape.com
93c2902cb0 Give fragment names to the 2 targets. Will help with Talkback.
git-svn-id: svn://10.0.0.236/trunk@114100 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 00:15:57 +00:00
sgehani%netscape.com
c8f477088f Remove obsolete _elementID.
b=86780


git-svn-id: svn://10.0.0.236/trunk@114099 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 00:15:30 +00:00
brendan%mozilla.org
0556848e64 Remove bad old regexp object locking across huge, deadlock-prone, so-not-critical sections (123930, r=rogerl, sr=jband&shaver).
git-svn-id: svn://10.0.0.236/trunk@114098 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 00:14:31 +00:00
danm%netscape.com
e42ee63091 make dialogs mistakenly opened as non-dialogs be opened as dialogs. got that? necessary for bug 77020 r=ben,jag
git-svn-id: svn://10.0.0.236/trunk@114097 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 00:12:11 +00:00
danm%netscape.com
a9d7b04b1e generally give windows a 'minimize' widget. bug 77020 r=ben,jag
git-svn-id: svn://10.0.0.236/trunk@114096 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 00:10:05 +00:00
brendan%mozilla.org
e6452400a0 Fix recently-uncovered ECMA violation: lastIndex must use double storage (124339, r=rogerl, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@114095 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:59:49 +00:00
leaf%mozilla.org
27aa25dce9 Automated update
git-svn-id: svn://10.0.0.236/trunk@114094 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:57:06 +00:00
hyatt%netscape.com
8b2fa72987 Giving XBL a helper func for sync loads of XML docs. r=danm, sr=ben
git-svn-id: svn://10.0.0.236/trunk@114093 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:56:32 +00:00
bryner%netscape.com
bbc692806c Bug 124298 - moving form submit/reset event firing into the content node. r=jkeiser, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114092 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:50:51 +00:00
bzbarsky%mit.edu
56ee4b3e12 Make the URL bar work even when we can't open the history database. Bug
84766, r=timeless, sr=hewitt.


git-svn-id: svn://10.0.0.236/trunk@114088 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:48:24 +00:00
rbs%maths.uq.edu.au
f8e34ca396 Another try at --enable-mathml with a patch from bbaetz
git-svn-id: svn://10.0.0.236/trunk@114087 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:46:37 +00:00
bzbarsky%mit.edu
935007ecaa Make sure we never set a timer for before "now" when given a positive
delay.  Bug 124103, r=pavlov, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114086 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:45:26 +00:00
naving%netscape.com
d8e36399db 122713. sr=jst convert localName to lower case (needed for html elements)
git-svn-id: svn://10.0.0.236/trunk@114085 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:39:47 +00:00
darin%netscape.com
815b675702 fixes bug 116798 "Opening IMAP mail hangs Mail program (and Mozilla)"
patch=adu@sparc.spb.su r/sr=bienvenu,darin


git-svn-id: svn://10.0.0.236/trunk@114084 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:29:12 +00:00
pschwartau%netscape.com
d025bb17d5 Improving readability.
git-svn-id: svn://10.0.0.236/trunk@114083 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:22:59 +00:00
bzbarsky%mit.edu
68f9dc5cd8 Make sure to escape bookmark folder names before writing them out to the
file.  Bug 65098, patch by Hugh Kennedy <kennedyh@engin.umich.edu>,
r=bzbarsky, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114082 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:21:47 +00:00
bzbarsky%mit.edu
ec01351fa8 Make scrollbar thumbs for selects size correctly in GTK builds. Bug
45731, patch by Michiel van Leeuwen <hmvleeuwen@altavista.com>,
r=blizzard, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114081 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:16:43 +00:00
darin%netscape.com
bc98de6be3 fixes bug 96705 "[zope] authentication should invalidate cache" and
bug 103402 "HTTP authentication allows view of first page if previously
authenticated" r=gagan sr=mscott


git-svn-id: svn://10.0.0.236/trunk@114080 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:13:36 +00:00
andreww%netscape.com
4017a0c26b bug 123444 r/sr=rginda Chatzilla missing some mnemonics
git-svn-id: svn://10.0.0.236/trunk@114079 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:12:36 +00:00
bryner%netscape.com
2d2136cbf6 Fixing bustage on Sun WS6 update 2, it apparently doesn't like the forward declaration of gfxIImageFrame just before it's defined. r=seawood, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@114078 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:59:53 +00:00
varga%utcru.sk
7221c00cf9 Fix bad comment.
git-svn-id: svn://10.0.0.236/trunk@114077 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:51:24 +00:00
dp%netscape.com
3e795945ae bug 123988 Optimizing timers out when there are no allocations held r=dougt,sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114076 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:50:40 +00:00
rbs%maths.uq.edu.au
4568af87c6 Replace the XXX comments dating back from bug 45010 with a long lasting fix
git-svn-id: svn://10.0.0.236/trunk@114075 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:48:38 +00:00
blakeross%telocity.com
b8c69467be 67387 - need mnemonics for history delete menuitems. r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114074 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:46:28 +00:00
radha%netscape.com
2bd74e926a Fox for bug # 109485. Meta refresh works differently than otehr browsers. r=valeski. sr=jaggernaut.
git-svn-id: svn://10.0.0.236/trunk@114073 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:46:09 +00:00
pete%alphanumerica.com
71cc044475 bug=118639, sr=darin, r=dougt
fixed various leaks, expanded tabs and some style cleanup

--pete


git-svn-id: svn://10.0.0.236/trunk@114072 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:42:48 +00:00
cmanske%netscape.com
bdc0a5b51a Add checkbox to remove link border and simplify anchor/heading selection when choosing link (b=96477, fix by neil@parkwaycc.co.uk, r=cmanske, sr=kin); improved 'Constrain' checkbox logic in image dialogs (b=58133, r=neil@parkwaycc.co.uk, sr=kin)
git-svn-id: svn://10.0.0.236/trunk@114071 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:40:59 +00:00
mstoltz%netscape.com
57f2d0a530 Bug 122317 - make document.write and document.writeln callable cross-host.
sr=jst, r=fabian


git-svn-id: svn://10.0.0.236/trunk@114070 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:40:36 +00:00
naving%netscape.com
76d191a076 49868 r=ducarroz sr=mscott. Throw alert out of disk space if we cannot download pop3 messages because
of insufficient disk space.


git-svn-id: svn://10.0.0.236/trunk@114069 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:39:15 +00:00
varga%utcru.sk
530d5a669e Fix for bugs:
121241 - Misplaced insertion line for outliner DND
120976 - Drop feedback needs some polishing
r=pink, sr=hyatt
Thanks for reviews and testing by zach.

- added new atom "dragSession"
- renamed atom "drop" to "dropOn"
- added new pseudo class -moz-outliner-drop-feedback
- added new paint method PaintDropFeedback()
- drop feedback in between rows is now painted at the same position for both orientations.


git-svn-id: svn://10.0.0.236/trunk@114067 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:35:18 +00:00
danm%netscape.com
afb0987891 reset sizemode to normal when window is sized using the mouse. bug 107937 r=ben,jag
git-svn-id: svn://10.0.0.236/trunk@114066 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:35:15 +00:00
ssu%netscape.com
cd39a843ee fixing bug 120634 - Typing numbers in sidebar (IM password) affects label colors in Mail. r=naving sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@114065 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:34:50 +00:00
naving%netscape.com
d59197d02a 108110 r=racham sr=mscott Hiding quick search box will take you out of search view
git-svn-id: svn://10.0.0.236/trunk@114064 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:34:40 +00:00
danm%netscape.com
6d9d31210f persist sizemode more often, and particularly after a size change. bug 107937 r=ben,jag
git-svn-id: svn://10.0.0.236/trunk@114063 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:34:15 +00:00
radha%netscape.com
37db922500 Fix for bug # 122904, 123936. r=mcafee. sr=alecf. Uninitialised variables and reorder of member initialisers.
git-svn-id: svn://10.0.0.236/trunk@114061 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:32:58 +00:00
oeschger%netscape.com
5a715dc708 some help 'content' and label changes, with dispensation per 122806, r=cotter@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114060 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:32:14 +00:00
rjc%netscape.com
33846715b3 Fix bug # 124322: bookmark optimizations (cut down on # of assertions for common node types, and make scheduler far more lightweight.) r=pavlov sr=ben
git-svn-id: svn://10.0.0.236/trunk@114059 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:31:02 +00:00
blakeross%telocity.com
a74295c7dd 60245 - no tooltips for "title" attribute in sidebar. r=sgehani sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114058 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:30:17 +00:00
naving%netscape.com
e5174f8169 122713 r=ssu sr=mscott. change ".localName" to compare with lowercase - fixes
shortcut interference with quick search and sidebar.


git-svn-id: svn://10.0.0.236/trunk@114057 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:29:26 +00:00
ian.mcgreer%sun.com
efbebe51d0 localize the adding of cert references to one function to save an iteration, add two NULL pointer checks
git-svn-id: svn://10.0.0.236/trunk@114049 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 21:47:05 +00:00
pschwartau%netscape.com
d3d6cf815f Improving readability.
git-svn-id: svn://10.0.0.236/trunk@114048 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 21:42:55 +00:00
bnesse%netscape.com
76ef1c6503 Cleanup path stuff to fix build. a=lpham.
git-svn-id: svn://10.0.0.236/trunk@114047 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 20:38:26 +00:00
wtc%netscape.com
675ad3d2ce Accidentally deleted PK11_GetSymKeyNickname in my previous checkin.
git-svn-id: svn://10.0.0.236/trunk@114046 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 19:50:07 +00:00
wtc%netscape.com
1b612ca6aa Checked in Jamie's patches for
bug 124232: export SECKEY_DestroyPublicKeyLis; and
bug 124233: add new function PK11_GetNextSymKey.
Also fixed two problems in nss.def.
Modified files: nss/nss.def pk11wrap/pk11func.h pk11wrap/pk11skey.c


git-svn-id: svn://10.0.0.236/trunk@114045 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 19:42:40 +00:00
seawood%netscape.com
133ae214a8 Backing out fix for win32 gmake static bustage until we figure out how to resolve bug 114748 for OS/2. Should fix current OS/2 bustage.
git-svn-id: svn://10.0.0.236/trunk@114044 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 19:17:37 +00:00
jkeiser%netscape.com
b15f0f5201 bug 110800 - fire onChange when losing dropdown focus. r=rods@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114043 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 18:35:48 +00:00
jkeiser%netscape.com
bce3b6a176 Bug 121317 - use bitfields in nsHTMLInputElement, r=bryner@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114042 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 18:23:47 +00:00
ian.mcgreer%sun.com
50781d61b7 as with the cache, a search by cert DER should crack the DER into issuer and serial, then index the hash directly, as opposed to iteration
git-svn-id: svn://10.0.0.236/trunk@114040 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 16:26:07 +00:00
brade%netscape.com
70dbba7b56 remove nsIDiskDocument usage (instead use nsIWebBrowserPersist); bug 102033, r=glazman, sr=kin
git-svn-id: svn://10.0.0.236/trunk@114037 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:50:49 +00:00
cmanske%netscape.com
dcbc2f387d Fixed getting caption align attribute, b=96842, r=glazman, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@114035 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:38:11 +00:00
cmanske%netscape.com
6fab7741ca Put colors in color list in alphabetical order, b=99620, sr=glazman, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@114034 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:35:21 +00:00
cmanske%netscape.com
b77e33bd30 Support 'internal-gopher-' as a scheme, b=122613, r=glazman, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@114033 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:32:25 +00:00
ccarlen%netscape.com
afa85c393a Bug 113538 - embedding depends on wallet. Removing obsolete files. r=morse/sr=darin
git-svn-id: svn://10.0.0.236/trunk@114032 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:24:03 +00:00
ian.mcgreer%sun.com
554c4ef86a bug 124268, usage statement for dump chain option
git-svn-id: svn://10.0.0.236/trunk@114031 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:22:54 +00:00
ccarlen%netscape.com
40cd3fb27c Bug 113538 - embedding depends on wallet. Rename nsISingleSignonPrompt to nsIAuthPromptWrapper and into embedding. r=morse/sr=darin
git-svn-id: svn://10.0.0.236/trunk@114030 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:21:26 +00:00
kin%netscape.com
0dc3512422 Fix for bug 124209 (Deleting selection in plain text reply compose causes hang)
and bug 124375 (composer / editor hang when delete blank lines)

Allow start/end points to be set to empty text nodes to prevent
infinite loop.

r=glazman@netscape.com  sr=sfraser@netscape.com,shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@114029 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:20:19 +00:00
ian.mcgreer%sun.com
2eec8de598 bug 124189, signtool hangs
git-svn-id: svn://10.0.0.236/trunk@114028 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:13:13 +00:00
brade%netscape.com
6a04b88f7e enable upload saving, use PRPackedBool (bug 120659; r=adamlock, sr=darin)
git-svn-id: svn://10.0.0.236/trunk@114026 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 14:40:51 +00:00
brade%netscape.com
e98fc4c70d support upload saving, remove remaining diskDocument usage (bug 120659; r=adamlock, sr=darin)
git-svn-id: svn://10.0.0.236/trunk@114025 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 14:40:35 +00:00
leaf%mozilla.org
0bd19dfe21 Automated update
git-svn-id: svn://10.0.0.236/trunk@114024 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 12:59:42 +00:00
rbs%maths.uq.edu.au
078cbd8f87 --disable-mathml on Linux to investigate the redness
git-svn-id: svn://10.0.0.236/trunk@114023 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 12:49:46 +00:00
peterv%netscape.com
3cefd2851d Fix CLOBBER_IDL_PROJECTS (broken after the conversion to XML projects). r=smfr.
git-svn-id: svn://10.0.0.236/trunk@114022 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 11:34:27 +00:00
peterv%netscape.com
b1c3df0cf1 Fix importNode, need to set the document before notifying. Bug 124358. r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@114021 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 11:28:15 +00:00
bbaetz%student.usyd.edu.au
76c31e4bbd Correct date on logincookies schema change.
git-svn-id: svn://10.0.0.236/trunk@114020 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 11:16:05 +00:00
leaf%mozilla.org
ea989f3753 Automated update
git-svn-id: svn://10.0.0.236/trunk@114019 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 11:12:05 +00:00
peterv%netscape.com
93b7e20a57 Keep MathML building on Mac. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@114018 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 11:02:37 +00:00
rbs%maths.uq.edu.au
591f3fd688 Complete bug 109826 - turn on MathML in default builds (Windows & Linux), r=cls, a=endico on behalf of staff@mozilla.org, a=shaver on behalf of drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@114017 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 10:59:12 +00:00
seawood%netscape.com
39342b013d This has quite literally given me a headache
git-svn-id: svn://10.0.0.236/trunk@114016 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 10:07:35 +00:00
seawood%netscape.com
9fc10c94d3 Blindly add xpcom:glue to search path to fix bustage. Bug #120474
git-svn-id: svn://10.0.0.236/trunk@114015 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 09:24:12 +00:00
seawood%netscape.com
51e0b71376 Quick fix for OS/2 bustage. NSS appears to have LIB_PREFIX fixed
git-svn-id: svn://10.0.0.236/trunk@114014 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 08:41:26 +00:00
rbs%maths.uq.edu.au
b6f1a4d404 bug 109826 - turn on MathML in default builds (Windows & Linux), r=cls, a=endico on behalf of staff@mozilla.org, a=shaver on behalf of drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@114013 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 08:32:32 +00:00
seawood%netscape.com
3df2ef69fd Use @ so that regchrome commands aren't echoed.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #124328 r=cls


git-svn-id: svn://10.0.0.236/trunk@114012 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 08:30:30 +00:00
seawood%netscape.com
891eda7906 Update manifest files in attempt to quell mac bustage.
Bug #120474


git-svn-id: svn://10.0.0.236/trunk@114011 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 08:04:34 +00:00
bryner%netscape.com
366a135ebd Adding missing licenses.
git-svn-id: svn://10.0.0.236/trunk@114010 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 07:56:08 +00:00
bryner%netscape.com
bdc0f07de5 New files for XBL-ified HTML button widget. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@114009 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 07:38:56 +00:00
bryner%netscape.com
c603c01966 - Hooked up toolbar background painting
- Return the correct border sizes for most widgets
- Code/style cleanup

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@114008 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 07:33:57 +00:00
seawood%netscape.com
eb1307c4bd These files have been moved into xpcom/glue
Bug #120474 r=dougt


git-svn-id: svn://10.0.0.236/trunk@114007 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 07:22:47 +00:00
seawood%netscape.com
379dadb57c Move nsDebug.* & nsWeakReference.* into xpcom glue lib.
Bug #120474 r=dougt


git-svn-id: svn://10.0.0.236/trunk@114006 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 06:35:15 +00:00
nisheeth%netscape.com
282e7b1f73 Fix bug 124069. r=pavlov@netscape.com, sr=tor@acm.org. Removed scaling and 8 bit alpha blending code from DrawToImage().
git-svn-id: svn://10.0.0.236/trunk@114005 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 06:32:56 +00:00
wtc%netscape.com
55b619707d Added SunOS5.10.mk for Solaris 10.
git-svn-id: svn://10.0.0.236/trunk@114004 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 06:15:24 +00:00
seawood%netscape.com
3985e6a1d7 OS/2 & Win32 non-gcc builds require that you link against their import library instead of directly against a shared library. Fixing static build bustage.
Use the centralized NSS_LIBS rather than explicitly writing out each NSS lib when linking.


git-svn-id: svn://10.0.0.236/trunk@114003 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 06:04:05 +00:00
dougt%netscape.com
c31c87c869 Oversight not making nsISupportsWeakReference also frozen. bug 48726, r=dougt, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114002 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 05:23:06 +00:00
sspitzer%netscape.com
682a21503d fix for #123013, fix "View | Sort By" menu item issues in the 3 pane
and addressbook.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@114001 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 05:17:23 +00:00
waldemar%netscape.com
4092d9aecb More new semantics
git-svn-id: svn://10.0.0.236/trunk@114000 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 04:06:29 +00:00
waldemar%netscape.com
2d396b05ac Added support for set-field and type-diff
git-svn-id: svn://10.0.0.236/trunk@113999 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 04:05:44 +00:00
morse%netscape.com
2ea3973e07 bug 124024, remove 21ms regression introduced by checkin for 121161, r=dp, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113998 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:57:35 +00:00
rbs%maths.uq.edu.au
c5be0f4f32 since bad end of lines cause troubles on some platforms, extend the little perl magic for dos2unix to dos2{unix or mac} so that the conditional addition of mathml.css to the ua.css works reliably everywhere
git-svn-id: svn://10.0.0.236/trunk@113997 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:34:57 +00:00
cmanske%netscape.com
f2c26ad672 Fixed missing scrollbar in HTML source view, b=124001, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@113996 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:33:57 +00:00
arougthopher%lizardland.net
ec13ac7506 Fix for Bug#122121 - BeOS gfx implementation extremely slow
This fix does the folllowing:
- creating and destroying BBitmaps every time you blit
- copying platform independent bits into BBitmaps every time you blit
- using B_OP_ALPHA even when no alpha channel is present
- excessive locking when drawing (currently twice around every primitive)
- excessive calls to Sync() resulting in a huge slowdown (particularly when tiling)
- unneeded drawing of BBitmap data in DrawToImage()
- Added DrawNoLock() method used by DrawTile() calls, to prevent locking and
synchronizing with the server on each iteration
- Fixed several warnings
- Massive code cleanup and commenting
- Rewrote CreateImage() completely since only the 24 -> 32 bit case matters.
Removed non-working cruft related to B_CMAP8 BBitmaps, and optimized code to
work better on systems without write-combining.
- Removed unused member variables
- Reordered member variables for better packing and initialized them in order
- Removed code in DrawToImage() which was updating the BBitmap unnecessarily
- Implemented memory saving feature in Optimize() for when its starts getting
used again

r=arougthopher@lizardland.net
r=mozilla@switkin.com


git-svn-id: svn://10.0.0.236/trunk@113995 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:33:09 +00:00
justdave%syndicomm.com
f58b298f38 Fix for bug 97966: Changing the product in the query page would remove your component, version, and milestone selections, even if the other product used the same ones, or you were selecting an additional product without unselecting the first one.
Patch by Christian Reis <kiko@async.com.br>
r= caillon, justdave


git-svn-id: svn://10.0.0.236/trunk@113993 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:31:10 +00:00
naving%netscape.com
6415b17bef 59694. sr=bievenu. Add the capability to toggle imap deletes using
delete button when the delete model is imap-delete model. Also
update undo/redo to reflect such toggling.


git-svn-id: svn://10.0.0.236/trunk@113992 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:30:20 +00:00
arougthopher%lizardland.net
c3a6b2ba9d Fix for Bug#63640
An implementation of different mouse cursors for BeOS.

r=mozilla@switkin.com


git-svn-id: svn://10.0.0.236/trunk@113991 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:26:58 +00:00
despotdaemon%netscape.com
69ceec003e Pseudo-automatic update of changes made by badami@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@113990 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:22:13 +00:00
wtc%netscape.com
6a055b3707 Bugzilla bug 124318: do not link with -lsoftokn3 explicitly. Use the
-rpath-link linker option on Linux to find libsoftokn3.so.


git-svn-id: svn://10.0.0.236/trunk@113989 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:15:40 +00:00
sspitzer%netscape.com
fdf12c11be fix for #124320. js error when you do "File | New Message" or hit the compose
button from addressbook, and no cards are selected. r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@113988 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:13:25 +00:00
harishd%netscape.com
9f02a6e17e Added newlines to eof
git-svn-id: svn://10.0.0.236/trunk@113987 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:59:30 +00:00
harishd%netscape.com
0fc32c612d P3P - compact policy support. b=104894, r=dp, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@113986 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:52:11 +00:00
ian.mcgreer%sun.com
a79c662939 bug 124309, fix various issues with the cache/temp store and thread safety. Is one line different than the patch on the bug, the one line seemed to fix the reported crash.
git-svn-id: svn://10.0.0.236/trunk@113985 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:51:41 +00:00
brendan%mozilla.org
78f1745c51 Make regexp.lastIndex threadsafe by multiplexing it by thread-id in each r.e. (76717, r=rogerl, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@113983 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:46:03 +00:00
kaie%netscape.com
309aaa6f2b b=123964 PSM missing in Mac OS X nightly
r=jj sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@113982 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:43:35 +00:00
naving%netscape.com
2a7a3c87e2 124295 sr=bienvenu move msgHdr out of imapThread to ui thread - fixes
assertion on copying local msgs to imap.


git-svn-id: svn://10.0.0.236/trunk@113979 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:15:10 +00:00
sonja.mirtitsch%sun.com
95fbad9556 script to clean up old tinderbox QA
git-svn-id: svn://10.0.0.236/trunk@113978 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:12:21 +00:00
bienvenu%netscape.com
d60b324714 add support for xmailboxinfo for doing imap sharing admin urls r=naving, sr=sspitzer 123093 and 124011
git-svn-id: svn://10.0.0.236/trunk@113977 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:05:28 +00:00
brendan%mozilla.org
8fd556f620 Avoid all gc <> obj-lock deadlocks by letting the gc run lock-free, safe since all requests are suspended or ended when the gc runs (114712, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@113976 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:55:30 +00:00
smontagu%netscape.com
ae087f9b4c Fix for freeze in JS console. bug 123380. r=mkaply, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@113975 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:53:59 +00:00
sonja.mirtitsch%sun.com
4153a38edf QAstatus file now made at the right place (global Exit()) and putting
killed info in as well
partial fix for 122632 r=wtc


git-svn-id: svn://10.0.0.236/trunk@113974 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:50:26 +00:00
oeschger%netscape.com
5baec0071b rdfification of help system per bug 124273, sr=waterson, r=hewitt, r=oeschger, authors=pwilson@gorge.net and oeschger
git-svn-id: svn://10.0.0.236/trunk@113973 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:45:36 +00:00
morse%netscape.com
585de5a8a6 bug 124065, add pref to ignore autocomplete, c=thieleke, r=morse, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@113971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:36:56 +00:00
jst%netscape.com
42bf577957 Fixing bug 124252. Calling Init() from nsImageDocument::StartDocumentLoad() is pointless, Init() has already been called and any subsequent calls do nothing (but assert). r=jkeiser@iname.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113970 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:36:28 +00:00
sgehani%netscape.com
27d8716c57 Eliminate debug pref: show about box as modal.
b=86780; r=morse; sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113969 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:25:05 +00:00
bishakhabanerjee%netscape.com
897849a2c9 Patch for bug 119368: SECU_PrintError prints decimal error code now if
unknown error


git-svn-id: svn://10.0.0.236/trunk@113968 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:20:04 +00:00
gordon%netscape.com
1ca5e99dd0 Checkin patch for diego@biurrun.de for bug 46490 "User selected Cache directory UI" r=sgehani, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@113967 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:15:25 +00:00
cathleen%netscape.com
184587ade7 eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113965 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:11:33 +00:00
racham%netscape.com
5fe5ac17ad Fixing bug 124100. Fixing regression where clicking on Cancel is closing the mailnews account wizard. A boolean indicating whether or to close the wizard is returned to handle user actions properly. r/sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@113964 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:09:23 +00:00
ducarroz%netscape.com
af78480fde Fix for bug 122815 (part 2). We don't need to manggle the file name of the temp file, just use the default one. R=cavin, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@113963 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:07:20 +00:00
rginda%netscape.com
a2ecfff1f8 bug 124076, "nsJSProtocolHandler.cpp doesn't set filename", sr=shaver, r=jband
compile javascript: urls with an appropriate filename/line number


git-svn-id: svn://10.0.0.236/trunk@113962 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:06:25 +00:00
despotdaemon%netscape.com
b148212c96 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@113961 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:05:50 +00:00
despotdaemon%netscape.com
40c3bede63 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@113960 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:01:38 +00:00
danm%netscape.com
6a157faf91 stifle infinite focus/activation recursion. bug 124299 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@113959 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:01:21 +00:00
ducarroz%netscape.com
fb25e83cb8 Fix for bug 117030. gContentChanged wasn't always set when needed. SR=hewitt
git-svn-id: svn://10.0.0.236/trunk@113958 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:00:52 +00:00
rbs%maths.uq.edu.au
bd68ffc1b2 Updated comments
git-svn-id: svn://10.0.0.236/trunk@113957 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:58:15 +00:00
rbs%maths.uq.edu.au
d1ca5d58ef Opted to move a functionality to the specialized class where it belongs
git-svn-id: svn://10.0.0.236/trunk@113956 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:57:39 +00:00
srilatha%netscape.com
7c0f05c66a Fix for bug 120423. Enable and disable Addressbook commands when directory is selected
r=racham@netscape.com, sr=sspitzer@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113955 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:55:54 +00:00
rbs%maths.uq.edu.au
2ee0b2741d By definition <mi> renders in italic type when its textual content consists of a single char, and in normal type when it consists of mutiple chars. This is a fix to re-resolve the style data properly when the text content (and its length) get changed back and forth dynamically
git-svn-id: svn://10.0.0.236/trunk@113954 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:53:19 +00:00
sonja.mirtitsch%sun.com
7b61b41c04 removed compiler workshop 5 marker bug# 124256 r=nelsonb
git-svn-id: svn://10.0.0.236/trunk@113953 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:43:18 +00:00
rbs%maths.uq.edu.au
41512e7db8 s/gInvariantChar/gInvariantCharArray/g and avoid an unnecessary string copy in LookupInvariantChar()
git-svn-id: svn://10.0.0.236/trunk@113952 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:42:32 +00:00
rginda%netscape.com
9cd2662734 - venkman only -
add "open-dialog" command, bug 124158


git-svn-id: svn://10.0.0.236/trunk@113949 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:22:42 +00:00
radha%netscape.com
85b4b54d3b Fix for bug 90224. Send nsISHistoryListener notifications for Reload. r=mcafee, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@113948 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:20:26 +00:00
hewitt%netscape.com
c5f235e3a0 123448 - tooltips with window title shouldn't appear for xul docs in navigator, r=blake, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113947 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:16:51 +00:00
hewitt%netscape.com
c0db06bd51 123216 - no caret in password dialogs, patch=jag, r=bryner, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@113946 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:16:02 +00:00
bzbarsky%mit.edu
2dc1647f57 Use the URI Checker to get headers for Save As. Bug 118719,
r=law,akkana,cmanske, sr=darin


git-svn-id: svn://10.0.0.236/trunk@113945 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:10:55 +00:00
relyea%netscape.com
303be3228e Bug 120651: Stop up memory leaks in the built-in token. We are slowly leaking
memory in arenas by allocating temporary objects out of permanment arenas.

Also rename file sin the builtins directory that conflict with it's parent.

xxxxx.c -> bxxxx.c except instance.c becomes binst.c


git-svn-id: svn://10.0.0.236/trunk@113944 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:10:07 +00:00
timeless%mac.com
2a5982e23d Bug 121792ÿUser can see content of password and hidden fields in page info, and this option cannot be turned off
patch by db48x@yahoo.com r=caillon@returnzero.com sr=jag


git-svn-id: svn://10.0.0.236/trunk@113943 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:08:56 +00:00
bzbarsky%mit.edu
0ba6b35b40 The type attr is only _sometimes_ case-sensitive for <li>. Bug 124167,
r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@113942 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:05:17 +00:00
timeless%mac.com
092ea531fa Bug 33601ÿfixing warnings about switch(enumVar){case onlyOne: {}}
adds a default case. also removing an else after return.

r=roc+moz@cs.cmu.edu sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113941 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:05:16 +00:00
cmanske%netscape.com
a10fb80645 Fix crash in message composer because of stranded Insert Character dialog, b=117791, r=duccaroz, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@113938 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 23:46:55 +00:00
cmanske%netscape.com
7f12e199b8 Supply 'EditorCleanup()' method for mail composer to use to fix bug 117791, r=brade, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@113937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 23:44:32 +00:00
colin%theblakes.com
13f1959927 Add sdeckanji for OpenVMS. b=122203. r=yokoyama
git-svn-id: svn://10.0.0.236/trunk@113934 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 23:23:33 +00:00
serge%netscape.com
b3697a262f fix #123791; Installing Shockwave crashes Mozilla; r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@113933 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 23:22:39 +00:00
mkaply%us.ibm.com
f997ac8282 #123023
r=timeless
Fix various syntactical errors in HTML files.


git-svn-id: svn://10.0.0.236/trunk@113925 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 23:13:42 +00:00
sgehani%netscape.com
544b778d65 Remove button in Smart Browsing pref pane should be context disabled.
b=119768; r=morse; sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@113924 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 23:07:14 +00:00
dbragg%netscape.com
d2c549dcec Moving platform-specific files to the platform-specific jar files. Fixes bug 94242. r=tao, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@113922 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 23:05:18 +00:00
bnesse%netscape.com
9618fca643 Remove unused files as per bug 122997. r=sfraser, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@113921 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 23:05:13 +00:00
bnesse%netscape.com
05e67c1a55 Fix for bug 122997. Repair the 4.x MRJ plugin build. r=sfraser, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@113920 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 23:03:22 +00:00
dbragg%netscape.com
f03a7d71ed Moving platform-specific files to platform-specific jar files. Fixes bug 94242. r=tao, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@113919 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:54:31 +00:00
bnesse%netscape.com
216c17fb25 Fix for bug 120390. Use PL_strncasecmp rather than PL_strcasecmp to check for java mimetype. Patch by, and checking in for, Igor Nekrestyanov, r=bnesse, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@113918 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:52:21 +00:00
dbragg%netscape.com
34a4f66b9b Moving these platform specific files to the platform-specific jar files. Fixes bug 94242. r=tao, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@113917 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:52:20 +00:00
harishd%netscape.com
6a5685c90c remove existing p3p support
git-svn-id: svn://10.0.0.236/trunk@113916 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:51:17 +00:00
sgehani%netscape.com
065f41717e Add reload and stop sidebar tab header context menu items.
b=41445; r=morse; sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113915 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:42:57 +00:00
kin%netscape.com
9d69384546 Fix for bug 83650 (textarea control has problems with caret positioning at end)
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).

  - Added new utility method GetOriginToViewOffset().

  - Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
    and nsContainerFrame::GetFrameForPointUsing() to factor in the
    offset from GetOriginToViewOffset() to insure that the point
    used is always transformed into the correct coordinate system.

Files modified:

    mozilla/layout/base/public/nsIFrame.h
    mozilla/layout/html/base/src/nsContainerFrame.cpp
    mozilla/layout/html/base/src/nsFrame.cpp
    mozilla/layout/html/base/src/nsFrame.h
    mozilla/layout/html/base/src/nsPresShell.cpp
    mozilla/layout/xul/base/src/nsBoxFrame.cpp

r=kmcclusk@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113914 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:39:15 +00:00
hwaara%chello.se
af3ba622f8 #124156, wrong icon was displayed for news messages with attachments.
r=alecf, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@113913 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:38:19 +00:00
cbiesinger%web.de
e153d1cd6c bug 62199 r=bzbarsky sr=blake
JS Strict warning in tasksOverlay.js


git-svn-id: svn://10.0.0.236/trunk@113912 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:36:37 +00:00
mkaply%us.ibm.com
f28afa0a45 #121944
r=pedemont, sr=blizzard
OS/2 only - don't handle WM_ACTIVATE in DealWithPopups


git-svn-id: svn://10.0.0.236/trunk@113911 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:35:37 +00:00
ian.mcgreer%sun.com
73e7836ead bug 124268, -P is used twice
git-svn-id: svn://10.0.0.236/trunk@113910 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:28:04 +00:00
locka%iol.ie
7423106514 Embedding package manifest fallout from nss 3.4 landing. b=123918 r=adamlock sr=attinasi a=karnaze
git-svn-id: svn://10.0.0.236/trunk@113908 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 21:50:19 +00:00
despotdaemon%netscape.com
91afe398dd Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@113904 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 18:09:08 +00:00
nboyd%atg.com
2394f41311 * Avoid creating a ClassNameHelper when turning caching off.
* When turning debug generation on, don't change opt level from -1 to 0.


git-svn-id: svn://10.0.0.236/trunk@113903 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 17:54:57 +00:00
ccarlen%netscape.com
6f93d64def New file for bug 113538 - embedding depends on wallet. Not yet part of build. r=morse@netscape.com/sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113902 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 15:56:35 +00:00
ian.mcgreer%sun.com
0c1df9e9f5 This is a revision of the patch shown in bug 122907. It should fix the leakage seen with client auth. It is needed either way, as NSS 3.3 always checked for pre-existing temp certs before creating a new one.
git-svn-id: svn://10.0.0.236/trunk@113901 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 14:58:05 +00:00
timeless%mac.com
b054da113d Bug 52037 w/ w95osr2 and beyond you can get freediskspace for a full path (eg UNC Paths).
The code will use the Ex API if available.
With this change the function should get the correct freespace numbers for submounts and junction points (introduced in w2k).

r=dougt sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@113899 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 14:46:10 +00:00
ccarlen%netscape.com
c25ad8803f Bug 96525 - Delay loading of strres dll when setting profile. r=tao@netscape.com/sr=alecf@betscape.com
git-svn-id: svn://10.0.0.236/trunk@113898 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 14:41:36 +00:00
brade%netscape.com
e772d6b508 optimization (don't call writer with 0 bytes); bug 122221; r=akkana, sr=darin
git-svn-id: svn://10.0.0.236/trunk@113897 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 14:19:32 +00:00
rayw%netscape.com
b5fc0f285e Changes to the way schema information is interpreted: First, acknowledging
that both complex types and simple restriction types may have base types,
and secondly acknowledging that complex types may have simple content models.

SOAP is not a part of the default build.


git-svn-id: svn://10.0.0.236/trunk@113896 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 11:40:40 +00:00
colin%theblakes.com
0764d35ae7 Null plugin.soname.list for OpenVMS. b=112579. r=serge
git-svn-id: svn://10.0.0.236/trunk@113895 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 11:13:53 +00:00
axel%pike.org
6fc7cbd714 bug 120055, new SomeDOMElement() should throw exception. If your object supports creation from scratch, supply an external constructor to DOMCI. Added static nsDOMClassInfo::ThrowJSException to throw js exception for an nsresult. r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@113894 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 10:50:42 +00:00
cbiesinger%web.de
8ab62326d6 bug 102838 r=walk84@yahoo.com sr=hewitt@netscape.com
Fix strict warning in dialog.xml


git-svn-id: svn://10.0.0.236/trunk@113893 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 09:45:07 +00:00
ian%hixie.ch
be9b893e79 Fixes a copy-paste error in the help line. r=timeless; b=123708
git-svn-id: svn://10.0.0.236/trunk@113892 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 08:36:23 +00:00
ian%hixie.ch
085da4328c Lets the invite command accept the more natural syntax 'invite user in #channel' rather than just 'invite user channel'. r=zach; b=72949
git-svn-id: svn://10.0.0.236/trunk@113891 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 08:33:17 +00:00
rginda%netscape.com
7416000e86 - venkman only -
add parameter list for "dumptree" command


git-svn-id: svn://10.0.0.236/trunk@113890 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 07:30:23 +00:00
rginda%netscape.com
46167ed75a - venkman only -
print command name on failure, not "[Object object]"


git-svn-id: svn://10.0.0.236/trunk@113889 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 07:29:37 +00:00
rginda%netscape.com
0926fd18cc - venkman only -
add "dumptree" command.
change glob to globalObject in filter objects.


git-svn-id: svn://10.0.0.236/trunk@113888 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 07:29:01 +00:00
rginda%netscape.com
0a6e30c242 - venkman only -
fix issues with removing children from unparented records.
added (and commented out) some common debug dumps.
added debug functions tov_formatRecord/formatBranch


git-svn-id: svn://10.0.0.236/trunk@113887 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 07:27:22 +00:00
rginda%netscape.com
47c5aed731 - venkman only -
fix bogus parse code.  Old code had problems when the last argument before an optional was missing.


git-svn-id: svn://10.0.0.236/trunk@113886 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 07:25:14 +00:00
bryner%netscape.com
4d8a5ad2c4 Working around an apparent layout bug. Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@113885 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 07:18:13 +00:00
law%netscape.com
4da3176e22 More updates. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@113884 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 06:52:58 +00:00
stephend%netscape.com
f495fcbe23 Bug 123189. JS strict warning. (redeclaration). Patch by Stephen Walker <walk84@yahoo.com> r=stephend@netscape.com, sr=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113883 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 06:48:06 +00:00
dcone%netscape.com
738a9f3963 b=118889 r=rods sr=sfraser Fixed app. so printSettings dialogs will work
git-svn-id: svn://10.0.0.236/trunk@113882 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 05:32:59 +00:00
bbaetz%student.usyd.edu.au
49904b6528 Bug 122913 - make sure that we fire OnStart even when there was no data
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@113881 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:54:55 +00:00
jfrancis%netscape.com
15acb56766 duh
git-svn-id: svn://10.0.0.236/trunk@113880 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:44:21 +00:00
rbs%maths.uq.edu.au
976682cd75 [MathML only - candidate version for 0.9x] * Hooked robust support for advanced dynamic updates via JavaScript and the DOM across the entire MathML module (with particular attention to the numerous presentational attributes that MathML has). * Eliminated some functions (or folded their functionality into recently added APIs). * Reviewed the module as a whole and simplified several chunks of code owing to the benefit of hindsight now. * Added/reviewed the documentation in anticipation of the freezing of Mozilla 1.0, to improve the understanding of people that may read the archived code and learn from it under the appropriate context of this time. * Reviewed the XXX comments and addressed those that could be addressable in this timeframe. * Some renamings (e.g., ReLayout -> ReLayoutChildren to avoid ambiguities as to who does what in terms of the terminology used when referring to the frame hierarchy).
git-svn-id: svn://10.0.0.236/trunk@113879 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:38:08 +00:00
jband%netscape.com
e868bbf596 fix array support. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@113878 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:37:24 +00:00
jband%netscape.com
916d323e21 fix windows bustage - not part of default build
git-svn-id: svn://10.0.0.236/trunk@113877 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:10:04 +00:00
andreww%netscape.com
b2440569bf bugzilla 123412 r=bryner sr=hewitt - adding support for wrap attribute in multiline textboxes.
git-svn-id: svn://10.0.0.236/trunk@113876 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:02:48 +00:00
jband%netscape.com
861c094c94 update of test. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@113875 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:57:33 +00:00
jband%netscape.com
dd43bcc3ce initial checkin of test. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@113874 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:56:45 +00:00
jfrancis%netscape.com
d69842f478 fixes:
* 113691 : Composer freezes when removing multiple ol or ul tags.
    * 113290 : Freezes when deleting some formatted text.
    * 112144 : Attempt to reply to mail freezes entire Mozilla.
    * 103685 : Caret disappears after deleting a blockquote w/ paragraph style.
    * 121282 : Pressing enter causes caret to jump from end of <p> to the<h1>.
    * 117418 : rewrote some code in nsWSRunObject.cpp: fixed warnings in GetWSNodes().
    * 114911 : can't join two lists using delete key.
    * 120000 : Indent list inside table causes table to split.
r=fm;sr=kin


git-svn-id: svn://10.0.0.236/trunk@113873 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:56:20 +00:00
dougt%netscape.com
8872942681 Backing out my file io changes to see if that fixes some of the unix orangeness.
git-svn-id: svn://10.0.0.236/trunk@113872 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:51:34 +00:00
syd%netscape.com
c32f2286d8 Miscellanous fixes for Linux installer, including 53244, 107803, 122916, 122918.
r=sgehani, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@113871 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:44:26 +00:00
naving%netscape.com
6117863e13 105266 r/sr=bienvenu. Increase the size of buffer when msg lines are very
long > 16384 chars. this will enable us to move/copy such messages between
local folders and from local to imap.


git-svn-id: svn://10.0.0.236/trunk@113870 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:23:56 +00:00
law%netscape.com
3834a7790a Updates to new progress dialog code; NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@113869 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:22:27 +00:00
bbaetz%student.usyd.edu.au
5c9fea6043 Fix typo in TestUpload.cpp, and add it to the Makefile.in (removing a
duplicate entry at the same time)

r=dougt, tests only


git-svn-id: svn://10.0.0.236/trunk@113867 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:13:30 +00:00
wtc%netscape.com
2ceb928784 Bugzilla bug 117479: define the PR_ABS macro only if it is not defined.
The patch is contributed by Roland.Mainz@informatik.med.uni-giessen.de.
r=wtc. sr=brendan.


git-svn-id: svn://10.0.0.236/trunk@113866 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:08:39 +00:00
rayw%netscape.com
06f4cfd1d3 Added code to properly decode multi-dimensional arrays as nested arrays
in XPCOM.  Unfortunately, there is no way to test this because Apache
SOAP servers do not seem to produce them in any simple configuration
because Java does not support multidimensional arrays.  I will be writing
code to test this later as I add support for encoding multi-dimensional
arrays, as specified by a schema type, which I can then decode without
actually sending / receiving a message, but I need to put this fix back
now.  At least I didn't break decoding of single-dimensional arrays.

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@113865 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:02:59 +00:00
darin%netscape.com
16465f5221 2nd attempt at fixing bug 86917 "socket transport should try all ip addresses
returned by DNS service" r=gordon sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@113862 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 02:26:46 +00:00
rbs%maths.uq.edu.au
f3685307f8 Add a flag to distinguish a real infix operator from its 'isolated' form, e.g., as in x^{+}
git-svn-id: svn://10.0.0.236/trunk@113861 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 02:12:46 +00:00
wtc%netscape.com
920a4207ed Bugzilla bug 119376: initialize a local variable to eliminate a compiler
warning.


git-svn-id: svn://10.0.0.236/trunk@113860 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 01:57:48 +00:00
darin%netscape.com
fa020f757d fixes pending XP_WIN bustage
git-svn-id: svn://10.0.0.236/trunk@113858 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 01:18:48 +00:00
darin%netscape.com
583ec3e45c fixes pending XP_UNIX bustage
git-svn-id: svn://10.0.0.236/trunk@113857 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 01:17:38 +00:00
stephend%netscape.com
a3cbdee050 Bug 123915. Properties textfield for folders/newsgroups is too small. r=jglick@netscape.com/sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113856 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 01:09:14 +00:00
wtc%netscape.com
c2cd29e367 Bugzilla bug 119376: fixed the uninitialized variable 'rv' in
rsa_PrivateKeyOp.


git-svn-id: svn://10.0.0.236/trunk@113855 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 01:00:31 +00:00
rginda%netscape.com
1da965c1f6 bug 121039, "Need a way to unwrap jsdIValues", r=jband, sr=jst
adds jsdIValue::getWrappedValue() and jsdIService::wrapValue() methods to provid
e js scripts a way to convert between jsdIValues and "real" js values.
Also includes fix to not call breakpoint hook while paused, and changes jsdIFilt
er::glob attribute to jsdIFilter::globalObject, to match jsdIContext::globalObject


git-svn-id: svn://10.0.0.236/trunk@113854 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:59:55 +00:00
relyea%netscape.com
04a97fd3e2 Identify certs that have no trust as CA's if they have the right settings
git-svn-id: svn://10.0.0.236/trunk@113853 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:50:47 +00:00
ducarroz%netscape.com
5ff0923d4c Fix for bug 122815. We should truncate correctly long file name. And we should set the mac type/creator base on the content-type while saving an attachment. R=sfraser, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@113852 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:42:09 +00:00
sgehani%netscape.com
07d1029089 Resurrect stop button in tabs.
b=77738; r=morse; sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113850 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:29:46 +00:00
heikki%netscape.com
e015e1f82d Bug 98788, document.load() needs to do better reset on the document before starting to load new content. Also fixed a couple of bogus comments and unneeded document reset in document creation. r=mstoltz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@113849 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:24:09 +00:00
heikki%netscape.com
a6b20a9719 Bug 123499, enable arbitrary HTTP commands via XMLHttpRequest. Patch from matthew@mjwilson.demon.co.uk, r=heikki, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@113848 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:19:04 +00:00
sfraser%netscape.com
929edac5f1 Fix #include file case so that Mac builds on UFS volumes work. Bug 116709. r=tigger.
git-svn-id: svn://10.0.0.236/trunk@113845 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:03:06 +00:00
sfraser%netscape.com
26c11a40ff Fix #include file case, so that Mac builds on UFS volumes work. r=gracie
git-svn-id: svn://10.0.0.236/trunk@113844 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:01:43 +00:00
yokoyama%netscape.com
a1a6b8f97a Bug 112767
Performance: Check Profile name for ASCII before
calling the unicode converter.
r=ccarlen;/sr=brendan


git-svn-id: svn://10.0.0.236/trunk@113843 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 23:58:10 +00:00
ian.mcgreer%sun.com
5f330b97de another misused arena
git-svn-id: svn://10.0.0.236/trunk@113840 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 23:11:08 +00:00
alecf%netscape.com
7634aa9246 dependency update
git-svn-id: svn://10.0.0.236/trunk@113838 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:52:53 +00:00
sspitzer%netscape.com
55a5796776 fix for #83091 (show LDAP autocomplete directories in addressbook).
and some code cleanup, and code bloat removal (see nsAbUtils.cpp)
r=dmose, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@113837 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:50:26 +00:00
dougt%netscape.com
e6b62201c9 fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@113836 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:49:00 +00:00
alecf%netscape.com
8fac3559db dependency update
git-svn-id: svn://10.0.0.236/trunk@113833 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:19:07 +00:00
radha%netscape.com
433c46abe4 Fix for bug 119914. nsDocShell::LoadURi() does not properly map certain load flags in nsIWebNavigation. r= adamlock. sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@113832 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:16:31 +00:00
vidur%netscape.com
6773197e51 More feedback during test. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@113831 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:10:39 +00:00
vidur%netscape.com
00a70b9855 Support for both schema namespaces. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@113830 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:09:22 +00:00
vidur%netscape.com
e0dcd8874f Support for string and wstring types. Array handling fixes and simplification. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@113829 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:07:53 +00:00
vidur%netscape.com
d17ccbdf54 Sharing of builtin types across loaders. Complex types now know when they are array and expose their array type and dimension. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@113828 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:06:10 +00:00
morse%netscape.com
7022c68c2c bug 121161, enhancements to p3p cookie management, r=sgehani, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@113827 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 21:55:16 +00:00
law%netscape.com
14aa915ee2 New files for proper progress dialog component; needed for fix for bugs 27609, et al. NOT BUILT YET
git-svn-id: svn://10.0.0.236/trunk@113826 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 21:53:30 +00:00
blakeross%telocity.com
ce821c0cfb 95894 - turbo icon is horked. r=law sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@113825 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 21:38:54 +00:00
cavin%netscape.com
d9705139f2 Fix for bugscape #3867. Added code to use xaol-move cmd, instead of copy and store (flag) cmds, for "delete msg" operations on webmail servers. r=naving, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@113824 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 21:12:21 +00:00
bzbarsky%mit.edu
4265df0559 Ditch the history dropdown (which is nearly useless) in the XP
filepicker.  Convert it to an ancestor list instead.  Big 121354,
r=bryner, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113823 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 21:10:01 +00:00
bzbarsky%mit.edu
faf6e2389b Make image/x-icon show ICON in title bar, not X-ICON. Bug 42093,
r=sicking, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113822 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 21:05:52 +00:00
cavin%netscape.com
02836defb4 Fix for #82276. Allow Eudora cards with no email address to be imported. Also allow import of additional address fields. r=ducarroz, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@113821 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 21:01:21 +00:00
rbs%maths.uq.edu.au
7e5f90f9e9 Add a helper function to lookup all the forms under which an operator is listed in the Operator Dictionary
git-svn-id: svn://10.0.0.236/trunk@113820 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:48:35 +00:00
dougt%netscape.com
408ba7a40c Fix for 103518. Call module destructor function *after* destroying factories. submitted by Henry.Jia@sun.com, r=dp/dougt, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@113819 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:47:37 +00:00
dougt%netscape.com
1569da98b1 backing out. not part of 122523 bug fix
git-svn-id: svn://10.0.0.236/trunk@113818 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:42:02 +00:00
dougt%netscape.com
9cf73ec70e Optimization which gathers stat() info when opening a file. bug 122523, r=dp@netscape.com, sr=dveditz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113817 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:40:40 +00:00
dougt%netscape.com
1b9ba42e78 Optimization which does not stat() the file prior to opening it. bug 122523, r=dp@netscape.com, sr=dveditz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113816 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:39:56 +00:00
kaie%netscape.com
ab58030ec3 b=122961 Fix sending encrypted mail
r=relyea sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113815 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:38:58 +00:00
bryner%netscape.com
34a98801ab Reducing the top and bottom margin on the page proxy icon by one pixel to give the URL bar a more natural height. Bug 121784, r=hixie, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@113814 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:37:02 +00:00
ian.mcgreer%sun.com
65ffc39744 Don't waste time searching on tokens for trust of a temp cert. It can only be found in the temp store.
git-svn-id: svn://10.0.0.236/trunk@113813 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:18:18 +00:00
ian.mcgreer%sun.com
35a34cf0b2 cleanup shutdown leak
git-svn-id: svn://10.0.0.236/trunk@113812 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 19:58:54 +00:00
shrutiv%netscape.com
702543d325 Fix for bugzilla 116974: Remove obsolete variables in wizard's 'Show
Config info' dialog (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@113811 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 19:54:47 +00:00
ian.mcgreer%sun.com
71c9e8cff5 PK11_VerifyRecover leaks a slot reference, this fixes it.
r=relyea


git-svn-id: svn://10.0.0.236/trunk@113810 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 19:21:20 +00:00
brade%netscape.com
09b7996aed remove bogus '=' (sr=kin; a=leaf)
git-svn-id: svn://10.0.0.236/trunk@113808 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 18:19:39 +00:00
leaf%mozilla.org
4ef1cfdf50 Automated update
git-svn-id: svn://10.0.0.236/trunk@113807 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 17:42:07 +00:00
seawood%netscape.com
ba3e75b758 Comment change to force reconfigure due to broken toplevel Makefile
git-svn-id: svn://10.0.0.236/trunk@113805 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 17:39:04 +00:00
wtc%netscape.com
42e21abf6f Fix the NSS 3.4 landing temporary workaround. The security/manager
directory exists only if MOZ_PSM is defined.


git-svn-id: svn://10.0.0.236/trunk@113804 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 17:21:01 +00:00
cbiesinger%web.de
33992ef475 bug 123219 r=cls patch by netdemonz@yahoo.com
-Warning about not installing in cygwin dir
-a pause at the end in case run from explorer


git-svn-id: svn://10.0.0.236/trunk@113803 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 16:32:19 +00:00
seawood%netscape.com
973ed77e6a Link against the import lib on win32 and not the dll itself.
git-svn-id: svn://10.0.0.236/trunk@113801 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 16:27:01 +00:00
wtc%netscape.com
3527b9968e Fix the previous checkin. Makefile rule commands must start with a TAB.
git-svn-id: svn://10.0.0.236/trunk@113800 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 16:06:36 +00:00
pinkerton%netscape.com
482c07a5d2 Create PkgInfo file for mach-o in the contents dir so the finder
recognizes it as a package. r=cls, rs=hyatt. bug 123751.


git-svn-id: svn://10.0.0.236/trunk@113799 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 15:54:44 +00:00
kaie%netscape.com
5b4c6ac726 Trying to fix Linux depend bustage, related to NSS 3.4 landing (bug 116334). Temporary fix to activate a hack in NSS.
Fix from wtc@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@113798 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 15:50:57 +00:00
pinkerton%netscape.com
46d542dcc5 ifdef-fu for mach-o. rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@113797 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 15:42:06 +00:00
hwaara%chello.se
b82dbf0f7c #123347, "Remove #if 0-ed nsPrintfCString::GetReadableFragment()",
#123354, "Remove nsAFlatString.cpp and nsDependentString.cpp"

r/sr=jag, shaver


git-svn-id: svn://10.0.0.236/trunk@113796 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 15:39:52 +00:00
hwaara%chello.se
d0d2d8922a #109598, "tasks overlays should use insertbefore, insertafter instead of position"
#81237, "IRC Chat has bizarre menu position",

Patches by nnooiissee@yahoo.com

r=andreww, sr=jst


git-svn-id: svn://10.0.0.236/trunk@113795 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 15:29:39 +00:00
brade%netscape.com
5b4bf44091 cleanup, fix JS warnings, add GetPromptService function (bug 28792, r=cmanske, sr=hewitt)
git-svn-id: svn://10.0.0.236/trunk@113794 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 14:48:03 +00:00
brade%netscape.com
950474cfd0 remove JS warning (r=cmanske, sr=hewitt)
git-svn-id: svn://10.0.0.236/trunk@113793 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 14:46:23 +00:00
brade%netscape.com
7d436c5b50 extend save/publish listener, clean up code for save/publish (bug 28792, r=cmanske, sr=hewitt)
git-svn-id: svn://10.0.0.236/trunk@113792 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 14:45:30 +00:00
brade%netscape.com
b92836badb add password/prompt strings (bug 28792, r=cmanske, sr=hewitt)
git-svn-id: svn://10.0.0.236/trunk@113791 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 14:42:38 +00:00
mkaply%us.ibm.com
69583b5d19 Someone can yell at me later if this was a totally stupid thing to do - Fixing OS/2 bustage - I need OS/2 building so we can watch the NSS_3_4 landing
git-svn-id: svn://10.0.0.236/trunk@113790 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 14:39:42 +00:00
wtc%netscape.com
5aed530d4b Bugzilla bug 120003: support OpenUNIX 8 build. Thanks to Hiram Clawson
<hiramc@caldera.com> for contributing the patch.
Modified file: config.mk
Added file: OpenUNIX.mk


git-svn-id: svn://10.0.0.236/trunk@113789 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 14:29:38 +00:00
colinp%oeone.com
61cfb7bedc fix for bug 121995 - Mozilla icon in toolbar stretched and not working
git-svn-id: svn://10.0.0.236/trunk@113788 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 14:17:59 +00:00
colinp%oeone.com
4f933a9713 changed the title of the title from Internet Appliance Application - Calendar Event to now be the actual title of the dialog (either New Event or Edit Event -- or calendar event by default). Removed the top two lines of the dialog, the first which had the title preiously, and the second was a tips line.
git-svn-id: svn://10.0.0.236/trunk@113787 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 14:16:07 +00:00
rods%netscape.com
8a3ca9ae51 Wrong patch checked in, print and file radios will now work correctly.
Bug 122530 r=dcone sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@113786 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:58:48 +00:00
kaie%netscape.com
8fb3ebdd31 Checkin related to NSS 3.4 landing. Temporarily causing Unix depend builds to clean NSS, making those builds work. This
patch will be removed shortly after landing. A similar patch for Windows is inside NSS.


git-svn-id: svn://10.0.0.236/trunk@113785 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:40:18 +00:00
kaie%netscape.com
87d8f6db3b b=116334 NSS 3.4 landing
r=cls/wtc sr=kin/simon


git-svn-id: svn://10.0.0.236/trunk@113784 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:31:07 +00:00
rods%netscape.com
412b45015d More streamline approach to discovering if there is at least one printer.
And if the printer name is not set, then it gets the default printer and uses
that. instead.
This fixes remembering the last printer that was used and it also
enables you to to set the printer name and print silently (instead of silent
always having to use the default printer)
Bug 123335 sr=hyatt r=dcone


git-svn-id: svn://10.0.0.236/trunk@113783 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:04:47 +00:00
rods%netscape.com
3d41362944 This fixes remembering the last printer that was used and it also
enables you to to set the printer name and print silently (instead of silent
always having to use the default printer)
Bug 123335 sr=hyatt r=dcone


git-svn-id: svn://10.0.0.236/trunk@113782 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:02:42 +00:00
peterv%netscape.com
3b43adac3d Export svg.dtd and mathml.dtd to res/dtd. Bug 122710. r=rbs, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@113781 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:02:21 +00:00
rods%netscape.com
0becf7fc3f Fix minor issue with scanf
Bug 123335 sr=hyatt r=dcone


git-svn-id: svn://10.0.0.236/trunk@113780 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:01:37 +00:00
peterv%netscape.com
c09ff9312b Keep SOAP compiling on Mac. Not part of the build, rs=vidur.
git-svn-id: svn://10.0.0.236/trunk@113779 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 12:56:31 +00:00
seawood%netscape.com
000ad81e8f Fixing win32 gmake bustage
git-svn-id: svn://10.0.0.236/trunk@113778 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 09:38:23 +00:00
bryner%netscape.com
69a3764afb Fixing a dependency problem that was happening in win32 gmake builds outside of the srcdir. r=cls.
git-svn-id: svn://10.0.0.236/trunk@113777 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 09:14:39 +00:00
darin%netscape.com
e1db58bee2 fixes bug 113959 "canceling a cached page load blows away the cache entry"
r=gagan, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@113776 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 08:41:16 +00:00
bryner%netscape.com
93152c8461 Updates to XBL checkbox widget. Hopefully this will fix some of the problems with native theme drawing. Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@113775 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 08:24:26 +00:00
racham%netscape.com
6f0059cab8 Fixing bug 101873. Setting proper margin to the name field so that it aligns properly with email address item in the new <wizard/>. r=ducarroz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@113774 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 08:21:43 +00:00
racham%netscape.com
06ea465787 Fixing bug 101873. Adapting new <wizard/> for mailnews accountwizard. This fix introduces accessiblity via proper key handling and provides platform specific appearance. r=ducarroz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@113773 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 08:18:17 +00:00
brendan%mozilla.org
70118ca998 Quick followup to last checkin -- warning fixes (d'oh!)
git-svn-id: svn://10.0.0.236/trunk@113772 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 07:56:29 +00:00
brendan%mozilla.org
31cf9fbeb3 Fix call and new expression parsenode beginning line number, where the arglist is on another line from the function or constructor, to avoid a bogus assertion in UPDATE_LINENO_NOTES, which is now replaced by better comments and an avoided gratuitous store to cg->currentLine (123371, r=rginda, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@113771 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 07:39:20 +00:00
darin%netscape.com
2b59ca520f fixes bug 54349 "stylesheet do not load when in another HTTP auth realm
(sometimes)" patch=badami@netscape.com, r/sr=rpotts,darin


git-svn-id: svn://10.0.0.236/trunk@113770 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 07:26:26 +00:00
darin%netscape.com
fd9f46c728 fixes bug 110399 "Expiration date not set if http 'Date:' header missing"
patch=badami@netscape.com, r/sr=rpotts,darin


git-svn-id: svn://10.0.0.236/trunk@113769 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 07:18:14 +00:00
brendan%mozilla.org
94f945ff94 Fix failure to check for JS_InitClass failure, reported by Eric Brueggemann <eric_brueggemann@yahoo.com>, r=shaver, sr=mozbot.
git-svn-id: svn://10.0.0.236/trunk@113768 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 07:01:37 +00:00
sspitzer%netscape.com
1d003deace commit card to database when notifying the save listener, if there are any save listeners.
we need to do this because the save listeners might have added / modified some values.
see bugscape bug #11851.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@113767 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 06:26:28 +00:00
sonja.mirtitsch%sun.com
0dc347971b changing the way to figure out if selfserv is still present from ps to
kill -0 so we might be able to debug the disapearing selfserv problem
better


git-svn-id: svn://10.0.0.236/trunk@113766 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 05:34:16 +00:00
chak%netscape.com
795df4cada Fix for #123570 - Rearrange the editor embedding code in MfcEmbed
r=adamlock, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113762 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 05:13:44 +00:00
jst%netscape.com
75c2f9acde Fixing bug 123003. Adding support for window.atob() and window.btoa(). r=bzbarsky@mit.edu, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113761 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 04:37:26 +00:00
justdave%syndicomm.com
d8baf36515 Fix for bug 122897: Comments entered on the bug form are now added to the bug before it is closed and moved when moving a bug
to another Bugzilla install.
Patch by Dave Miller <justdave@syndicomm.com>
r= timeless, bbaetz


git-svn-id: svn://10.0.0.236/trunk@113760 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 04:34:10 +00:00
sonja.mirtitsch%sun.com
45202711e5 start of fix for 122632 to avoid overflows
git-svn-id: svn://10.0.0.236/trunk@113758 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 04:02:46 +00:00
bienvenu%netscape.com
82d66c38b1 r=naving, sr=sspitzer 123427 remove offline store when news folder unsubscribed
git-svn-id: svn://10.0.0.236/trunk@113757 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:59:01 +00:00
bienvenu%netscape.com
36ce2007fb fix delete of multiple imap messages while offline from copying whole offline store to offline trash store r=naving, sr=sspitzer 123427 and remove offline store when folder deleted/trash emptied
git-svn-id: svn://10.0.0.236/trunk@113756 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:57:36 +00:00
bienvenu%netscape.com
2ff344f6da add assertion to catch imap move/copy across imap servers r=naving, sr=sspitzer 123721
git-svn-id: svn://10.0.0.236/trunk@113755 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:56:22 +00:00
bienvenu%netscape.com
720f5c494b fix failure to play back offline imap deletes with the delete immediately delete model r=naving sr=sspitzer 93710
git-svn-id: svn://10.0.0.236/trunk@113754 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:54:56 +00:00
bienvenu%netscape.com
57b3ed8663 fix playback of imap move/copy across imap servers r=naving, sr=sspitzer 123721
git-svn-id: svn://10.0.0.236/trunk@113753 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:54:11 +00:00
bienvenu%netscape.com
b9a95421d2 fix potential crash in address book r=naving, sr=sspitzer 111703
git-svn-id: svn://10.0.0.236/trunk@113752 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:52:37 +00:00
bienvenu%netscape.com
534b89774e fix potential crash reading e-mail messages r=naving, sr=sspitzer 111703
git-svn-id: svn://10.0.0.236/trunk@113751 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:51:57 +00:00
danm%netscape.com
65b198cffd during window creation, fetch the referring URL from the caller's document only if the document already exists. bug 36016 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@113750 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:51:14 +00:00
bryner%netscape.com
bcd760ecc6 bug 123671 - make sure to register forms package (content and skin). r=jag, sr=dveditz.
git-svn-id: svn://10.0.0.236/trunk@113749 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:48:59 +00:00
danm%netscape.com
05dc1ac4bb new method GetExtantDocument. bug 36016 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@113748 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:48:20 +00:00
sspitzer%netscape.com
12be03323e fix for #116449. when we delete addressbooks, we leave behind .position cruft.
r=srilatha, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@113747 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:47:49 +00:00
bryner%netscape.com
0d3b6c94cc bug 123645 - make sure not to paint the list-style-image for a nsImageBoxFrame if we're using -moz-appearance and a native theme is available. r=blake, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@113746 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:46:07 +00:00
sspitzer%netscape.com
db4d5e9e72 patch for #94641. the bug is still open, but this pref should be
defined as it was in 4.x (in all.js). rs=bienvenu


git-svn-id: svn://10.0.0.236/trunk@113745 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:45:51 +00:00
bzbarsky%mit.edu
d6aa6839e7 Show the image type in the URL bar for image documents. Bug 42093,
r=timeless, sr=jag.


git-svn-id: svn://10.0.0.236/trunk@113744 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:40:18 +00:00
bzbarsky%mit.edu
84bf45c17f Make parts of multipart streams expose content-disposition. Bug 123043,
r=law, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@113743 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:39:04 +00:00
bzbarsky%mit.edu
c33a4dabe3 Fix helper apps not starting when the filename in the url is empty.
Also turn off caching of mime infos since we have no way to invalidate
this cache yet.  Bug 121644, r=law, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@113742 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:35:31 +00:00
justdave%syndicomm.com
c4c291a120 Fix for bug 119005: The instructions in editgroups.cgi incorrectly state that you can't use spaces in a group name. You in
fact can.
Patch by Christian Reis <kiko@async.com.br>
r= bbaetz x 2


git-svn-id: svn://10.0.0.236/trunk@113741 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 02:54:08 +00:00
sonja.mirtitsch%sun.com
aa9b84f0e9 calling the selfserv now with -y to get the certs at the end, adjusted clients and wait times
git-svn-id: svn://10.0.0.236/trunk@113740 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 02:51:59 +00:00
justdave%syndicomm.com
686d81fb26 Fix for bug 117055: Emails were being truncated if they contained a line with nothing but a period on them. We now pass -i to
sendmail and its clones to tell it to ignore periods (since we close the pipe when we're done, rather than signalling it with
a period).  Has been tested with sendmail and postfix.
Patch by Dave Miller <justdave@syndicomm.com>
r= afranke, bugzilla@bkor.dhs.org, jake


git-svn-id: svn://10.0.0.236/trunk@113739 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 02:47:00 +00:00
relyea%netscape.com
d7d46c347b Fix memory leak in hash table keys. Hash tables stay around forever.
keys go into and out of the table. the old code allocated the keys from
the hash table's arena, so they would grow without bounds. Now the keys
are allocated from the heap, and get freed when they are expunged from the
table.


git-svn-id: svn://10.0.0.236/trunk@113738 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 02:42:08 +00:00
wtc%netscape.com
bab3530e7f Bugzilla bug 119340: write the "selfserv: received SIGTERM" message to
standard output (fd 1) instead of standard error (fd 2) because the test
script writes its output to standard output (with the echo command).


git-svn-id: svn://10.0.0.236/trunk@113735 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 01:38:06 +00:00
sonja.mirtitsch%sun.com
f23d8010bb debugging info for the intermittant multiple recipient problem on linux
git-svn-id: svn://10.0.0.236/trunk@113731 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 01:15:51 +00:00
rpotts%netscape.com
53031d8f57 reverting to rev 1.115 to fix blocker bug #123572
git-svn-id: svn://10.0.0.236/trunk@113730 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 00:28:51 +00:00
ian.mcgreer%sun.com
528032c847 fixes for bugs 123479 and 123081 (possibly others). break up arena usage in hash table entries for the temp store and cert cache.
git-svn-id: svn://10.0.0.236/trunk@113727 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 23:55:43 +00:00
wtc%netscape.com
dfc55d137a Bugzilla bug 121523: checked in Kirk Erickson's session lock fix.
Modified Files:
	lib/pk11wrap/pk11slot.c lib/softoken/pkcs11.c
	lib/softoken/pkcs11i.h lib/softoken/pkcs11u.c


git-svn-id: svn://10.0.0.236/trunk@113726 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 23:41:36 +00:00
locka%iol.ie
a12f04ff44 Fix Linux crash on nsnull pointer as part of blocker 123572 r=danm a=radha sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@113723 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 23:26:51 +00:00
sfraser%netscape.com
96cd209587 Fix include order so that we get traceback tables in Mac OS X milestone builds. r=leaf
git-svn-id: svn://10.0.0.236/trunk@113722 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 23:09:32 +00:00
ian.mcgreer%sun.com
6bdc28b0d8 place where iterator was not freed
git-svn-id: svn://10.0.0.236/trunk@113721 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 22:32:38 +00:00
jpierre%netscape.com
101faf53fc Fix for 122907 - patch to disable arena free lists with environment variable
git-svn-id: svn://10.0.0.236/trunk@113720 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 22:20:43 +00:00
ian.mcgreer%sun.com
bfcd9cb632 some of the output in bug 123081 shows potential leaks around iterators, since the iterator is explicitly freed allocate it in its own block to avoid this
git-svn-id: svn://10.0.0.236/trunk@113719 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 22:08:12 +00:00
sspitzer%netscape.com
01eedb53a2 fix for assertions caused by checkin for #115289
remove all fancy string foo.  r=bzbarsky, sr=sfraser, a=radha


git-svn-id: svn://10.0.0.236/trunk@113714 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 20:27:10 +00:00
mcafee%netscape.com
239378145b Alloc label doesn't have a B, it is just a count not bytes. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@113710 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 18:52:49 +00:00
bienvenu%netscape.com
4e9d850b2f fix imap subscribe ui not to allow subscription to no select/namespace folders r=sspitzer, sr=mscott 9572
git-svn-id: svn://10.0.0.236/trunk@113709 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 15:54:14 +00:00
locka%iol.ie
fd8b3f0b62 Make webbrowserpersist create directories on demand rather than all the time. b=120376 r=brade@netscape.com sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113708 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 15:30:26 +00:00
axel%pike.org
026441d1ea Bustage fix for sicking
git-svn-id: svn://10.0.0.236/trunk@113705 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 15:24:52 +00:00
glazman%netscape.com
f05f35f548 Adding noCSS flag to nsHTMLEditor; b=bugscape11956, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@113704 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 15:16:14 +00:00
sicking%bigfoot.com
6265d66757 Speed up NodeSets by always keeping them in document order. Only sort when we get nodes in random order (such as for id()) or when merging NodeSets.
This removes the need for the sortByDocumentOrder function.

b=85893 r=Pike rs=jag


git-svn-id: svn://10.0.0.236/trunk@113703 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 14:22:34 +00:00
22737 changed files with 5471042 additions and 72385 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."

383
mozilla/Makefile.in Normal file
View File

@@ -0,0 +1,383 @@
#
# 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_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_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_EXTENSIONS
tier_9_dirs += extensions
endif
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_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/ldap
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
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/ldap $@
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/ldap export
$(MAKE) -C directory/c-sdk/ldap install
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

9
mozilla/README.txt Normal file
View File

@@ -0,0 +1,9 @@
======================================================
Mozilla Read Me
======================================================
This is a placeholder file which should be replaced with readme information
for each release.

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,46 @@
#
# 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)
EXPORTS = \
$(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(nsAWritableString& _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, nsAWritableString& _retval);
NS_IMETHOD AppendLabelFor(nsIContent *aLookNode, nsAReadableString *aId, nsAWritableString *aLabel);
NS_IMETHOD GetHTMLAccName(nsAWritableString& _retval);
NS_IMETHOD GetXULAccName(nsAWritableString& _retval);
NS_IMETHOD AppendFlatStringFromSubtree(nsIContent *aContent, nsAWritableString *aFlatString);
NS_IMETHOD AppendFlatStringFromContentNode(nsIContent *aContent, nsAWritableString *aFlatString);
NS_IMETHOD AppendStringWithSpaces(nsAWritableString *aFlatString, nsAReadableString& 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 nsAReadableString& aKey, nsAWritableString& 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, nsAWritableString& _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(nsAWritableString& _retval)
{
return NS_OK;
}
/** no name*/
NS_IMETHODIMP nsContainerAccessible::GetAccName(nsAWritableString& _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(nsAWritableString& _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, nsAWritableString& _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, nsAWritableString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString& _retval);
NS_IMETHOD GetAccName(nsAWritableString& _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, nsAWritableString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString& _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(nsAWritableString& _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, nsAWritableString& _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(nsAWritableString& _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, nsAWritableString& _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(nsAWritableString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccValue (); */
NS_IMETHODIMP nsGenericAccessible::GetAccValue(nsAWritableString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setAccName (in wstring name); */
NS_IMETHODIMP nsGenericAccessible::SetAccName(const nsAReadableString& name)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccDescription (); */
NS_IMETHODIMP nsGenericAccessible::GetAccDescription(nsAWritableString& _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, nsAWritableString& _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(nsAWritableString& _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,686 @@
/* -*- 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(nsAWritableString& 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(nsAWritableString& 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);
}
}
}
NS_ASSERTION(mWebProgress, "Could not get nsIWebProgress for nsRootAccessible");
mWebProgress->AddProgressListener(this);
}
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(mPresShell, 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 (selectControl && optionTargetNode &&
NS_SUCCEEDED(mAccService->GetAccessibleFor(optionTargetNode, getter_AddRefs(accessible)))) {
FireAccessibleFocusEvent(accessible, optionTargetNode);
}
else
FireAccessibleFocusEvent(accessible, targetNode);
}
else if (eventType.EqualsIgnoreCase("change")) {
if (optionTargetNode) { // Set to current option only for HTML selects
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_SELECTION, accessible);
if (NS_SUCCEEDED(mAccService->GetAccessibleFor(optionTargetNode, getter_AddRefs(accessible))))
FireAccessibleFocusEvent(accessible, optionTargetNode);
}
else
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(nsAWritableString& aURL)
{
return nsDocAccessibleMixin::GetURL(aURL);
}
NS_IMETHODIMP nsRootAccessible::GetTitle(nsAWritableString& aTitle)
{
return nsDocAccessibleMixin::GetTitle(aTitle);
}
NS_IMETHODIMP nsRootAccessible::GetMimeType(nsAWritableString& aMimeType)
{
return nsDocAccessibleMixin::GetMimeType(aMimeType);
}
NS_IMETHODIMP nsRootAccessible::GetDocType(nsAWritableString& aDocType)
{
return nsDocAccessibleMixin::GetDocType(aDocType);
}
NS_IMETHODIMP nsRootAccessible::GetNameSpaceURIForID(PRInt16 aNameSpaceID, nsAWritableString& aNameSpaceURI)
{
return nsDocAccessibleMixin::GetNameSpaceURIForID(aNameSpaceID, aNameSpaceURI);
}
NS_IMETHODIMP nsRootAccessible::GetDocument(nsIDocument **doc)
{
return nsDocAccessibleMixin::GetDocument(doc);
}
NS_IMETHODIMP nsRootAccessible::OnStateChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRInt32 aStateFlags, PRUint32 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)
{
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)
{
return NS_OK;
}
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
NS_IMETHODIMP nsRootAccessible::OnSecurityChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRInt32 state)
{
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(nsAWritableString& 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(nsAWritableString& 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(nsAWritableString& aMimeType)
{
nsCOMPtr<nsIDOMNSDocument> domnsDocument(do_QueryInterface(mDocument));
if (domnsDocument) {
return domnsDocument->GetContentType(aMimeType);
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetDocType(nsAWritableString& 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, nsAWritableString& 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(nsAWritableString& aAccName);
NS_IMETHOD GetAccValue(nsAWritableString& 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,694 @@
/* -*- 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 "nsIDOMHTMLSelectElement.h"
#include "nsIFrame.h"
#include "nsIListControlFrame.h"
#include "nsISelectControlFrame.h"
#include "nsLayoutAtoms.h"
#include "nsRootAccessible.h"
#include "nsSelectAccessible.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)
{
mParent = aParent;
}
/** click us! */
NS_IMETHODIMP nsSelectOptionAccessible::GetAccActionName(PRUint8 index, nsAWritableString& _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(nsAWritableString& _retval)
{
nsCOMPtr<nsIContent> content (do_QueryInterface(mDOMNode));
if (!content) {
return NS_ERROR_FAILURE;
}
nsAutoString option;
nsresult rv = AppendFlatStringFromSubtree(content, &option);
if (NS_SUCCEEDED(rv)) {
// Temp var needed until CompressWhitespace built for nsAWritableString
option.CompressWhitespace();
_retval.Assign(option);
}
return rv;
}
/** ------------------------------------------------------ */
/** 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(nsAWritableString& _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(nsAWritableString& _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, nsAWritableString& _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, nsAWritableString& _retval);
NS_IMETHOD GetAccName(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAWritableString& _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(nsAWritableString & _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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString & _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString& _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(nsAWritableString& _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,445 @@
/* -*- 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 "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, nsAWritableString& _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, nsAWritableString& _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 == 0) {
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(nsAWritableString& _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, nsAWritableString& _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<nsIDOMHTMLInputElement> inputElement(do_QueryInterface(mDOMNode));
if ( inputElement )
{
inputElement->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(nsAWritableString& _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 nsAWritableString
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(nsAWritableString& _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(nsAWritableString& _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, nsAWritableString& _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(nsAWritableString& _retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAWritableString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
};
class nsHTML4ButtonAccessible : public nsLeafAccessible
{
public:
nsHTML4ButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAWritableString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
};
class nsHTMLTextFieldAccessible : public nsFormControlAccessible
{
public:
nsHTMLTextFieldAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& aAccName)
{
return GetTitle(aAccName);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccValue(nsAWritableString& 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(nsAWritableString& aURL)
{
return nsDocAccessibleMixin::GetURL(aURL);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetTitle(nsAWritableString& aTitle)
{
return nsDocAccessibleMixin::GetTitle(aTitle);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetMimeType(nsAWritableString& aMimeType)
{
return nsDocAccessibleMixin::GetMimeType(aMimeType);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetDocType(nsAWritableString& aDocType)
{
return nsDocAccessibleMixin::GetDocType(aDocType);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetNameSpaceURIForID(PRInt16 aNameSpaceID, nsAWritableString& 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(nsAWritableString& aAccName);
NS_IMETHOD GetAccValue(nsAWritableString& 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(nsAWritableString& _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 nsAWritableString
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(nsAWritableString& _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(nsAWritableString& _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 nsAWritableString
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(nsAWritableString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
#endif

View File

@@ -0,0 +1,587 @@
/* -*- 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 "nsIDOMHTMLSelectElement.h"
#include "nsIListControlFrame.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 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 First child of the DOM node and creates and returns
* a nsHTMLSelectOptionAccessible.
*/
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
nsCOMPtr<nsIDOMNode> first;
mDOMNode->GetFirstChild(getter_AddRefs(first));
*_retval = new nsHTMLSelectOptionAccessible(this, first, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/** ----- nsHTMLSelectOptionAccessible ----- */
/** Default Constructor */
nsHTMLSelectOptionAccessible::nsHTMLSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsSelectOptionAccessible(aParent, aDOMNode, aShell)
{
}
/**
* Gets the next sibling of the DOM node and creates and returns
* a nsHTMLSelectOptionAccessible.
*/
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
nsCOMPtr<nsIDOMNode> next;
mDOMNode->GetNextSibling(getter_AddRefs(next));
if (next) {
*_retval = new nsHTMLSelectOptionAccessible(mParent, next, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
}
return NS_OK;
}
/**
* Gets the previous sibling of the DOM node and creates and returns
* a nsHTMLSelectOptionAccessible.
*/
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
nsCOMPtr<nsIDOMNode> prev;
mDOMNode->GetPreviousSibling(getter_AddRefs(prev));
if (prev) {
*_retval = new nsHTMLSelectOptionAccessible(mParent, prev, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
}
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;
mParent->AccGetDOMNode(getter_AddRefs(parentNode));
// find out if we are the focused node
GetFocusedOptionNode(mPresShell, 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(nsIWeakReference *aPresShell,
nsIDOMNode *aListNode,
nsCOMPtr<nsIDOMNode>& aFocusedOptionNode)
{
NS_ASSERTION(aListNode, "Called GetFocusedOptionNode without a valid list node");
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(aPresShell));
if (!shell)
return NS_ERROR_FAILURE;
nsIFrame *frame = nsnull;
nsCOMPtr<nsIContent> content(do_QueryInterface(aListNode));
shell->GetPrimaryFrameFor(content, &frame);
nsCOMPtr<nsIListControlFrame> listFrame(do_QueryInterface(frame));
if (!listFrame)
return NS_ERROR_FAILURE;
// Get what's focused by asking frame for "selected item".
PRInt32 focusedOptionIndex = 0;
nsresult rv = listFrame->GetSelectedIndex(&focusedOptionIndex);
nsCOMPtr<nsIDOMHTMLCollection> options;
// Get options
if (NS_SUCCEEDED(rv)) {
nsCOMPtr<nsIDOMHTMLSelectElement> selectElement(do_QueryInterface(aListNode));
NS_ASSERTION(selectElement, "No select element where it should be");
rv = selectElement->GetOptions(getter_AddRefs(options));
}
// 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;
}
/** ------------------------------------------------------ */
/** 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(nsAWritableString& _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(nsAWritableString& _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,209 @@
/* -*- 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 GetAccFirstChild(nsIAccessible **_retval);
};
/*
* 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(nsIWeakReference *aPresShell, nsIDOMNode *aListNode, nsCOMPtr<nsIDOMNode>& aFocusedOptionNode);
};
/** ------------------------------------------------------ */
/** 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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& 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(nsAWritableString& 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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _retval)
{
_retval.Assign(NS_LITERAL_STRING(""));
return NS_OK;
}
NS_IMETHODIMP nsXULColorPickerTileAccessible::GetAccValue(nsAWritableString& _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(nsAWritableString& _retval);
NS_IMETHOD GetAccValue(nsAWritableString& _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(nsAWritableString& 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, nsAWritableString& _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, nsAWritableString& 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, nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& aResult);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAWritableString& _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, nsAWritableString& _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, nsAWritableString& _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(nsAWritableString& _retval);
};
class nsXULProgressMeterAccessible : public nsAccessible
{
public:
nsXULProgressMeterAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString &_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,277 @@
/* -*- 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"
#include "nsIDOMXULMenuBarElement.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!");
nsCOMPtr<nsIDOMNode> parentNode;
mDOMNode->GetParentNode(getter_AddRefs(parentNode));
if (parentNode) {
nsCOMPtr<nsIDOMElement> currentItem;
nsCOMPtr<nsIDOMXULPopupElement> popupEl = do_QueryInterface(parentNode);
if (popupEl)
popupEl->GetActiveItem(getter_AddRefs(currentItem));
else {
nsCOMPtr<nsIDOMXULMenuBarElement> menubar = do_QueryInterface(parentNode);
if (menubar)
menubar->GetActiveMenu(getter_AddRefs(currentItem));
}
if (currentItem == element)
*_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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
class nsXULMenupopupAccessible : public nsAccessible
{
public:
nsXULMenupopupAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
class nsXULMenubarAccessible : public nsAccessible
{
public:
nsXULMenubarAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _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, nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _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(nsAWritableString& _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

1230
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

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

File diff suppressed because it is too large Load Diff

1424
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